# sic

a gildas working group software

20-oct-2015

sic
sympathetic interpretor of commands
sympathique interpréteur de commandes
language SIC version 9.3
language GUI version 1.2
language VECTOR version 4.0
language TASK version 3.0
language ADJUST version 2.0

Note: this is the on-line version of the SIC Manual. A PDF version is also available.

The GILDAS working group is a collaborative project of the Observatoire de Grenoble (1,3) and IRAM (2), and comprises: F. Badia, D. Broguière, G. Buisson, L. Desbats, G. Duvert, T. Forveille, R.Gras, S. Guilloteau, R. Lucas, R. Neri and P. Valiron.

(1) Laboratoire d'Astrophysique
Observatoire de Grenoble
BP 53 X
414 Rue de la Piscine
F-38402 Saint Martin d'Hères CEDEX

(2) Institut de Radio Astronomie Millimétrique
300 Rue de la Piscine
F-38406 Saint Martin d'Hères

(3) CEPHAG
Observatoire de Grenoble
F-38402 Saint Martin d'Hères CEDEX

Contributions from and invaluable discussions with J. Cernicharo, P. Begou, S. Delahaye, A. Dutrey, C. Kahane, P. Monger, J.L. Monin and all GILDAS users are gratefully acknowledged.

- Contents
- Introduction
- The SIC Monitor
  - Basic Features
    - Syntax
    - The Prompt
    - The on-line HELP
    - The Stack
    - Line Editing Facility
    - The Log File
    - Symbols
  - Variables and Expressions
    - Definitions and Assignments
    - Functions and Operators
    - Vector Operations
    - Implicit Loops
    - Conditional Assignment
    - Size casting
    - GILDAS Images
    - GILDAS Headers
    - Structures
    - Character Variables and Implicit Formatting
    - Initializing variables from external files
  - SIC as a programming language
    - Procedures (or Command Files)
    - Loops
    - Structured Programming and Logical Expressions
    - Execution Level
    - Error Recovery
  - The GUI (“Graphics-User-Interface”) Mode
    - Detached menus
    - Assigning variables in “Window” mode
    - Actions and Buttons in “Window” mode
    - Help file structure
  - Interacting with the Operating System
    - File Operations
    - SYSTEM Command: Unix-like operating system
  - Customizing
    - Logical Names
    - User Defined Commands
    - Initialization File
    - The SIC Command
- Running Tasks
  - Window Mode
  - Query Mode
  - EDIT Mode
  - Specifying the .init File
  - Errors and Aborting
  - Log Files
  - Synchronizing Jobs
  - Obtaining Explanations: HELP RUN TaskName Command
- SIC Programming Manual
- SIC Language Internal Help
  - Language
  - ACCEPT
    - ACCEPT /ARRAY
    - ACCEPT /BINARY
    - ACCEPT /COLUMN
    - ACCEPT /FORMAT
    - ACCEPT /LINE
    - ACCEPT Excel
  - BEGIN
  - BREAK
  - COMPUTE
    - COMPUTE DATE
    - COMPUTE FILESIZE
    - COMPUTE DIMOF
    - COMPUTE FFT
    - COMPUTE FOURT
    - COMPUTE GATHER
    - COMPUTE GAG_DATE
    - COMPUTE HISTOGRAM
    - COMPUTE IS_A_SIC_VAR
    - COMPUTE LINES
    - COMPUTE LOCATION
    - COMPUTE RANKORDER
    - COMPUTE INTEGRAL
    - COMPUTE DERIVATIVE
    - COMPUTE BTEST
  - CONTINUE
  - DATETIME
    - DATETIME /FROM
    - DATETIME /TO
  - DEFINE
    - DEFINE ALIAS
    - DEFINE CHARACTER
    - DEFINE COMMAND
    - DEFINE DOUBLE
    - DEFINE FITS
    - DEFINE FUNCTION
    - DEFINE HEADER
    - DEFINE IMAGE
    - DEFINE INTEGER
    - DEFINE LANGUAGE
    - DEFINE LOGICAL
    - DEFINE REAL
    - DEFINE STRUCTURE
    - DEFINE TABLE
    - DEFINE UVTABLE
    - DEFINE /GLOBAL
    - DEFINE /LIKE
    - DEFINE /TRIM
  - DELETE
  - DIFF
  - EDIT
  - ELSE
  - END
  - EXECUTE
  - EXAMINE
    - EXAMINE /SAVE
  - EXIT
  - FOR
    - FOR Indexed
    - FOR /IN
    - FOR /WHILE
  - HELP
  - IF
  - IMPORT
  - LET
    - LET Free_Syntax
    - LET GUI_Widget
    - LET Structure
    - LET /CHOICE
    - LET /FILE
    - LET /FORMAT
    - LET /FORMULA
    - LET /INDEX
    - LET /LOWER
    - LET /NEW
    - LET /PROMPT
    - LET /RANGE
    - LET /REPLACE
    - LET /RESIZE
    - LET /SEXAGESIMAL
    - LET /STATUS
    - LET /UPPER
    - LET /WHERE
  - MESSAGE
  - MFIT
    - MFIT /EPSILON
    - MFIT /METHOD
    - MFIT /QUIET
    - MFIT /START
    - MFIT /STEP
  - MODIFY
  - NEXT
  - ON
    - ON ERROR
  - PARSE
  - PAUSE
  - PYTHON
  - QUIT
  - RETURN
  - SAY
    - SAY /FORMAT
    - SAY /NOADVANCE
  - SIC
    - SIC FileSystem
    - SIC Procedure
    - SIC Customize
    - SIC Command
    - SIC Miscellaneous
    - SIC APPEND
    - SIC BEEP
    - SIC CPU
    - SIC DATE
    - SIC DEBUG
    - SIC COPY
    - SIC DELAY
    - SIC DELETE
    - SIC DIRECTORY
    - SIC EDIT
    - SIC ERROR
    - SIC EXPAND
    - SIC EXTENSION
    - SIC FIND
    - SIC FLUSH
    - SIC GREP
    - SIC HELP
    - SIC INTEGER
    - SIC LANGUAGE
    - SIC LOCK
    - SIC LOGICAL
    - SIC MACRO
    - SIC MEMORY
    - SIC MESSAGE
    - SIC /COLOR
    - SIC MKDIR
    - SIC MODIFIED
    - SIC OUTPUT
    - SIC PARALLEL
    - SIC PARSE
    - SIC PRECISION
    - SIC PRIORITY
    - SIC RANDOM_SEED
    - SIC RENAME
    - SIC SAVE
    - SIC SEARCH
    - SIC SYNTAX
    - SIC SYSTEM
    - SIC TIMER
    - SIC USER
    - SIC UVT_VERSION
    - SIC VERIFY
    - SIC VERSION
    - SIC WAIT
    - SIC WHICH
    - SIC WINDOW
  - SORT
  - SYMBOL
  - SYSTEM
  - TIMER
  - TYPE
  - @
    - @ ARGUMENTS
- GUI Language Internal Help
  - Language
  - BUTTON
  - END
  - GO
  - MENU
  - SUBMENU
  - PANEL
  - WAIT
  - URI
- VECTOR Language Internal Help
  - Language
  - FITS
    - FITS FROM
    - FITS TO
    - FITS /BITS
    - FITS /STYLE
  - HEADER
    - HEADER /TELESCOPE
  - RUN
  - SPY
  - SUBMIT
  - TRANSPOSE
- TASK Language Internal Help
  - Language
  - CHARACTER
  - FILE
  - GO
  - INTEGER
  - LOGICAL
  - MORE
  - REAL
  - VALUES
  - WRITE
- ADJUST Language Internal Help
  - Language
  - ADJUST
    - ADJUST Example
    - ADJUST /EPSILON
    - ADJUST /METHOD
    - ADJUST /START
    - ADJUST /STEP
    - ADJUST /PARAMETER
    - ADJUST /QUIET
    - ADJUST /WEIGHTS
    - ADJUST /BOUNDS
  - EMCEE
    - EMCEE Caution
    - EMCEE Credits
    - EMCEE Example
    - EMCEE /BEGIN
    - EMCEE /BOUNDS
    - EMCEE /LENGTH
    - EMCEE /PARAMETERS
    - EMCEE /ROOT_NAME
    - EMCEE /START
    - EMCEE /STEP
    - EMCEE /WALKERS
  - ESHOW
    - ESHOW AUTOCORR
    - ESHOW CHAINS
    - ESHOW ERRORS
    - ESHOW RESULTS
    - ESHOW TRIANGLES
    - ESHOW /BURN
    - ESHOW /SPLIT
- SIC Error Messages and Recovery Procedures
  - A through C
  - D
  - E
  - F
  - G
  - H
  - I
  - J trough L
  - M
  - O through R
  - S
  - T
  - U through Z
- Task demonstration
  - demo
  - EXAMPLE
  - PRIMES
- Index
- About this document ...