1 Language
              ANALYSE\ Command Language Summary
    (+ indicates a NEW command and - an obsolete command)

     COMMENT            Manipulate the COMMENT section of spectra
    -CUBE file [fnct]   Obsolete. Replaced by TABLE and MAP\XY_MAP
     DIVIDE             Divide R spectrum by T spectrum
     DRAW               Call the cursor or plot comments
     FILL begin end     Fill from begin to end with noise, blank, etc.
     FFT                Compute and edit Fourier Transform of R or P
     GREG [name]        Make a TABLE or formatted file from current scan
    -GRID               Obsolete. Replaced by TABLE and MAP\XY_MAP
    +LMV                Convert a data cube into a set of spectra
     MAP [M|W]          Plot a map of spectra (or only their location)
     MEMORIZE Arg       Memorize the current observation
     MODEL Var          Generate a CLASS spectrum from a 1D variable
     NOISE [S [NEW]]    Generate gaussian noise
     PRINT [Arg]        Print values in a formatted file, or a table
     POPUP              Zoom a spectrum from a STAMP or MAP plot
     REDUCE             Reduce a SKYDIP
     RESAMPLE Arg       Resample a spectrum on a specified grid
     RETRIEVE Arg       Retrieve an observation from the memories
     SMOOTH [Arg...]    Smooth the spectrum in R
     STAMP              Display all spectra in index on one plot
     STRIP File         Create an image for Position-Velocity plots
    +TABLE              Build a GILDAS table from the current index
1 COMMENT
         ANALYSE\COMMENT [READ|WRITE|APPEND|EDIT|DELETE] ["comment"]

    This  command READs, WRITEs or DELETEs an existing comment section (max.
    length: 1020 characters) of the current R buffer.
      READ      display the comment section
      WRITE     write (or append) the input comment given between
                double quotes.
      EDIT      write a comment given interactively
      DELETE    delete and reset the comment section
      APPEND    Obsolescent
1 CUBE
        ANALYSE\CUBE Filename [MATH_EXPRESSION] [/CHANNEL Cmin Cmax]  [/STEP
    Stepx Stepy]

    Obsolete. Replaced by ANALYSE\TABLE and MAP\XY_MAP
1 DIVIDE
         ANALYSE\DIVIDE Threshold

    This  command  divides  the spectrum in R by the spectrum in T, which is
    left unchanged. The two spectra must be on the same velocity scale  (Use
    command  RESAMPLE  to do so). Threshold is a value to avoid zero divide.
    The output spectrum is blanked for channels where abs(T) < Threshold.
1 DRAW
         ANALYSE\DRAW [Action [Parameters]]

    This command executes the specified drawing action, or calls the graphic
    cursor  and  uses  the returned character from the cursor to execute the
    corresponding action. The mnemonic for the cursor characters are :
           F for "FILL" To interpolate a bad channel
           K for "KILL" To flag a bad channel
           L for "LOWER" To flag line identifications, ...
           M for "MASK" To show active masks
           T for "TEXT" To annotate your spectrum
           U for "UPPER" Similar to LOWER
           W for "WINDOW" To show current line windows
    any other to display the channel number, frequency, velocity and antenna
    temperature at the cursor position.  The explicit form does not call the
    cursor and can be used in procedures.
2 FILL
         ANALYSE\DRAW FILL Nchan

    Interpolates the value of the specified bad channel  using  the  nearest
    valid  channels.  Channel Nchan must be blanked before.  In cursor mode,
    the channel number is retrieved from the cursor position.
2 KILL
         ANALYSE\DRAW KILL Nchan

    Deletes the specified channel, i.e. attributes the blanking value to it.
    In  cursor  mode,  the channel number is retrieved from the cursor posi-
    tion.
2 LOWER
         ANALYSE\DRAW LOWER value "text" [angle]

    Draws a vertical line with label "text" (written vertically by  default,
    or with orientation 'angle' in degree) at abscissa 'value' in lower axis
    unit. The line length is adjusted to approach closely the spectrum value
    at the corresponding abscissa.
2 MASK
         ANALYSE\DRAW MASK [level]

    Plots the active masks, with bars at the mask positions and Y=Level (De-
    fault 0).
2 MOLECULE
         ANALYSE\DRAW MOLECULE frequency name [angle]

    Display a molecule name at the  given  frequency  (irrespective  of  the
    units  from  the SET UNIT command), with a given orientation (angle, de-
    fault 90). The name lies on the lower X-axis.

          frequency     Frequency in MHz of the line
          name          String giving the name to be written
          angle         Orientation, in degree, with respect to X-axis
2 UPPER
         ANALYSE\DRAW UPPER Value "text" [angle]

    Draws a vertical line with label "text" (written vertically by  default,
    or  with  orientation 'angle' in degree) at abscissa Value in upper axis
    unit. The line length is adjusted to approach closely the spectrum value
    at the corresponding abscissa.
2 TEXT
         ANALYSE\DRAW TEXT X Y "text" I

    Writes  (horizontally) the string "text" at plot position (X,Y) in paper
    units, with the centering code I for the string.
2 WINDOW
        ANALYSE\DRAW WINDOW [Yup] [Ylow]]

    Plots the current line windows, with bars. Ylow and  Yup  refer  to  the
    bottom and upper levels of the bars.
1 FFT
        ANALYSE\FFT [/REMOVE [wmin wmax]]
                    [[s1 e1] [s2 e2] ... [s10 e10] /KILL]
                    [/INDEX] [/OBS] [/NOCURS]

    FFT  computes a Fourier Transform and plots it. It acts either on a sin-
    gle spectrum (from the R buffer) or on the INDEX. The  default  behavior
    is  defined with SET ACTION, but can always be ignored with /OBS or /IN-
    DEX. Identically, the option /NOCURS overrides the default cursor. /KILL
    allows  to  linearly  interpolate the fourier transform, either interac-
    tively or by supplying values. The /REMOVE  option  indicates  that  the
    fourier transform is to be computed from a spectrum linearly interpolat-
    ed in some intervals (specified or taken from the last fitted profiles).
    R and T observations are unaffected.
2 /KILL
        FFT [[s1 e1] [s2 e2] ... [s10 e10] /KILL]

    Perform  a  linear  interpolation  (on  real and imaginary parts) on the
    fourier transform. The intervals are defined interactively (if no  value
    supplied  and  the  cursor  is available) or not (if values in MHz-1 are
    supplied).
2 /REMOVE
        ANALYSE\FFT /REMOVE [wmin wmax]
    If no value supplied, the sum of existing fits of the current method  is
    subtracted  before  computing  the  Fourier transform. If an interval is
    supplied, linearly interpolate between wmin and wmax.
1 FILL
        ANALYSE\FILL s1 e1 [[s2 e2] ...]  [/INTER]  [/NOISE  [rms]]  [/BLANK
    [bval]]

    Performs the specified action in the interval(s) specified with starting
    and ending values (in current units).

    /INTER
        Makes a linear interpolation. When combined  with  /NOISE  [rms],  a
        Gaussian noise is added to the linear interpoltion.
    /NOISE [rms]
        Fill  in  the  interval(s) with a Gaussian noise of a given rms. The
        rms defaults to the one computed in the BASE section. If  this  sec-
        tion is absent, it is computed from Tsys, resolution and integration
        time in the GENERAL section. If one of these values  is  null  (e.g.
        spectrum  was  generated  by the command MODEL), an error is raised.
        This option can be combined with /INTER.
    /BLANK [bval]
        Fill in with blank value unless bval is specified.
1 GREG
        ANALYSE\GREG Name [/FORMATTED]  [/READ [X n] [Y m]

    Writes in file Name the contents of current scan as a GILDAS  table,  or
    as a formatted file if the /FORMATTED option is present.

    If the /READ option is present, performs the reverse operation: load the
    file content in the current scan. Only available  for  formatted  files;
    the  equivalent capability for GILDAS tables is available through a com-
    bination of DEFINE IMAGE and MODEL.

    For the table, the information stored is :
        1. Intensity
        2. Channel number
        3. Velocity
        4. Offset frequency
        5. Rest frequency
        6. Image frequency
        7. Fitted profiles if any - fit(i),i=0,nline - in column 7+i
    The output table can be put later in a formatted way using  GILDAS  task
    LIST in you need.

    The table may be used as input to GreG to produce fancy plots, or by the
    GILDAS software for other applications. In particular, SIC variables can
    be used to subtract any of the fits from the spectrum to produce residu-
    als if needed.  For plots, note that you  can  produce  essentially  the
    same within CLASS, except under very special circumstances, and moreover
    that only CLASS can handle the different X-unit simultaneously.

    For the formatted list, less information is written (and it takes longer
    to write it of course) :
        1. Current X unit in column 1
        2. Intensity in column 2
        3. Fitted profiles - (fit(i),i=0,nline) - in column 3+i

        For the /READ option, columns are X 1 Y 2 by default but can be
        changed. If X 0 is given as zero, then only Y is read and X is
        filled with channel numbers. Only very coarse header information
        is filled in. A lot of complementary header editing will often
        be needed.
1 GRID
        ANALYSE\GRID [Filename] [NEW|APPEND] [MATH_EXPRESSION]
        [/CHANNEL [C|V|F|I] min max]
        [/IMAGE [BEAM beam] [LAM nx rx vx ix] [BETA ny ry vy iy] [LIKE temp-
    file]]
        [/PLOT [where]]

       Obsolete. Replaced by ANALYSE\TABLE and MAP\XY_MAP
1 LMV
        ANALYSE\LMV Filename [/SCAN LAMDBA|BETA] [/STEP DLAMBDA [DBETA]]

    Read the spectra cube stored in input Filename and convert it in  a  set
    of  spectra  automatically  written in the currently opened output file.
    The spectra cube can be ordered in LMV, VLM, LVM, etc... FITS files  are
    automatically converted.

    By  default, the command sorts the spectra to mimic the scanning path of
    a telescope along the lambda direction, shifted on beta for  each  scan.
    Each  constant beta row has a unique SCAN number. The sorting can be ro-
    tated by 90 degree by using the /SCAN BETA option.

    Fully blanked spectra in the input cube are ignored. If the cube spatial
    axes are largely oversampled, the /STEP option allows the user to select
    1 spectrum every DLAMBDA (resp. DBETA) in the  LAMBDA  direction  (resp.
    BETA). If DBETA is omitted, it defaults to DLAMBDA. The default value of
    DLAMBDA and DBETA (if the /STEP option is not invoked) is 1, implying  a
    conversion of the whole cube.

    User should take care that many parameters of the CLASS spectrum headers
    have no meaning here. They are left to their default values.
1 MAP
        ANALYSE\MAP [Match|Where|Keep] [/CELL Size_X [Size_Y]] [/GRID] [/NO-
    LABEL] [/NUMBER]

    Makes  a  map  of  spectra or display the true locations of the spectra.
    Offset limits are automatically computed, and it adjusts the size  of  a
    spectrum  depending  in  the current box size. If not in WHERE-mode, the
    only constraint of MAP in this mode is that the X and Y limits  must  be
    fixed so that the spectra share a common scale.

    MATCH
        To  force  matching the X to Y ratio, which is otherwise adjusted so
        as to make the largest possible drawing.  The options  control  pre-
        sentation details.

    WHERE
        Only displays the spectra locations with crosses (the marker can not
        be modified). Can be combined with MATCH. Global variables  idx%loff
        and  idx%boff  contains offsets positions of all entries of the cur-
        rent index, and may also be used,  with  GREG1\  commands  (g\limit,
        g\box, g\point), to display the spectra locations. In this case, the
        marker can be modified (g\set marker).

    KEEP
        Will not recompute the grid. Uses the last grid. Can be  useful  for
        online display.

    The actual graphic output is delayed until the end of the index has been
    reached. This process may be slow on some  inplementations  and  graphic
    terminals  when  the  number of spectra is large. The MAP command can be
    interrupted by typing Control-C.
2 /GRID
        ANALYSE\MAP/GRID

    A grid is plotted to separate the spectra.
2 /CELL
        ANALYSE\MAP/CELL Size_X [Size_Y]

    If the option /CELL is given, the cell size of the grid is taken  to  be
    Size_X  by Size_Y (default Size_X) current angular units. Spectra always
    fill the cells.
2 /NOLABEL
        ANALYSE\MAP/NOLABEL

    If the option /NOLABEL is present, the coordinates are not  written  but
    ticks  are  still  present.  Tick can be suppressed by specifying a tick
    size of zero in command SET TICK.
2 /NUMBER
        ANALYSE\MAP/NUMBER

    If the option /NUMBER is present, the observation number is written  for
    each spectrum in the upper left corner.
1 MEMORIZE
        ANALYSE\MEMORIZE [Name]
        ANALYSE\MEMORIZE Name|* /DELETE

    If a Name is specified, put a copy of the current observation in a "mem-
    ory" called Name (limited to 12 characters). The observation  can  later
    be  retrieved  using command RETRIEVE. If no Name is specified, list the
    currently defined memories. Up to 100 memories can be defined at a time.

    MEMORIZE  Name  /DELETE  can  be used to delete one "memory" area. Use a
    wildcard (*) to delete all memories.
1 MODEL
        ANALYSE\MODEL Y_Variable [X_Variable] [/BLANK Bval] [/REGULAR  [Xref
    Xval  RestFreq]]  [/FREQUENCY  LineName RestFreq] [/XAXIS Xref Xval Xinc
    Unit]

    Generates a CLASS spectrum from a 1D SIC  variable.  Note  that  the  1D
    variable  can be (and frequently is) a subset of a higher dimensionality
    variable. This command is typically used either to generate  test  data,
    or  more  frequently  to  transfer data from a GILDAS image (or cube) to
    CLASS.

    A second variable, if present, is interpreted as an  associated  X  axis
    scale for a presumably non linear or irregularly sampled frequency axis,
    as can occur for non resampled data from AOS backends (or optical  spec-
    tra).  Please  note  however that non linear axes are a largely untested
    feature in CLASS, you should avoid this solution when possible.

    There are three (exclusive) ways to define the X axis: provide a  X  ar-
    ray,  /XAXIS  option, /REGULAR option (see below). The model header will
    have a minimal values set. On the other hand, if none of these three  is
    used,  the command will copy RX and header from the previous R buffer in
    memory.

    /BLANK Bval
        Allow the user to provide the blanking value. Default is -1000.

    /REGULAR [Xref Xval RestFreq]
        Indicate that data are regularly spaced along the X axis. If no ref-
        erence pixel and value at reference are supplied, default values are
        set to respectively half the channel number and to the  velocity  in
        the nearest channel.

    /FREQUENCY LineName RestFreq
        Indicate line name and the rest frequency. Default rest frequency is
        3.10^5 MHz.

    /XAXIS Xref Xval Xinc Unit
        Define the X axis with its reference channel (Xref),  its  value  at
        reference  channel  (Xval),  and  the  increment per channel (Xinc).
        Units are km/s or MHz if Unit is VELOCITY or FREQUENCY respectively.
        If Unit is FREQUENCY, Xval is expected to be the rest frequency.
1 NOISE
        ANALYSE\NOISE [S [NEW]]

    Generates  and draws a spectrum with only gaussian noise of rms S, to be
    compared with actual receiver noise.

    S defaults to the rms computed in the BASE section of the current  spec-
    trum.  If  this  section is absent, it is computed from Tsys, resolution
    and integration time in the GENERAL section. If one of these  values  is
    null  (e.g.  spectrum  was  generated by the command MODEL), an error is
    raised.

    If the argument NEW is present, the spectrum is not plotted  but  the  R
    buffer is copied in T, and the generated noise put into the R buffer.
1 POPUP
        ANALYSE\POPUP Number
      or
        ANALYSE\POPUP OffX OffY

    POPUP  Number  will display a separate window containing a complete plot
    of an observation specified by number, if it has  been  previously  dis-
    played by a command STAMP or MAP.

    POPUP  OffX  OffY  will  display a separate window containing a complete
    plot of an observation with offsets matching OffX and  OffY,  which  has
    been  previously  displayed  by a command MAP. If more than one observa-
    tions have the same offsets, only the first one will be displayed.

    In both cases, POPUP assumes that the index has not been modified  since
    the last STAMP or MAP command.

    POP with argument will active the cursor to select interactively th eob-
    servation to be displayed. Point the cursor to its spectrum in  the  MAP
    or  STAMP  display and press P or click the mouse second button. Use the
    third button or E to exit the cursor mode. The first button or  any  key
    will display the offsets or observation number.
1 PRINT
        ANALYSE\PRINT [Arg] [/OUTPUT File] [/TABLE File]

    PRINT  enables  one to list some parameters in a GreG compatible format.
    Arg is an optional argument to precise what to print :

      FIT       Results of profile fits in current method

        The information written is (1) the number of lines fitted,  (2)  the
        observation  number,  (3,4)  the  offsets  in  current  angle units,
        (5,6,...) fit results of the current method in the same order as  in
        DISPLAY command. For the Gauss Method, this order is: (5) Line Area,
        (6) its incertainty (7) Position (8) incert. (9) Width (10)  incert.
        (11) Intensity (12) Base RMS (13) Line RMS.

      AREA               Integrated area computed by BASE

        The  information  written  is  (1) the observation number, (2,3) the
        offsets in current angle units, (4,5) Area and rms noise.

      AREA v1 v2 v3 ...       Area in velocity ranges

        Area in velocity ranges v1 to v2 and v2 to v3, ... etc.  The  infor-
        mation  written  is (1) the observation number, (2,3) the offsets in
        current angle units, (4,5,...) the areas.

      CHANNEL List              List of channels

        The list in the same format as the FOR-NEXT loop. Up to 15  channels
        at a time may be listed. The information written is (1) the observa-
        tion number, (2,3) the offsets in current angle units, (4,5,...) the
        channels value.

      MOMENT m1 m2 ...       Moments of the observations

        The  moments (area, mean velocity, width) are computed in the inter-
        vals [m1,m2] [m3,m4] etc... Current unit is used.   The  information
        written  is (1) the observation number, (2,3) the offsets in current
        angle units, (4,5,6) area, position, width, (7,8,9) etc...

      POINTING           Pointing fit results

        Results of CONTINUUM method fit are printed in a format  adapted  to
        pointing  constants  measurements.  The information written is (1,2)
        The observation and scan number, (3)  a  code  for  scan  direction,
        (4,5)  Azimuth  and  Elevation  in degrees, (6) Time in hours, (7,8)
        Collimation and error along drift direction, (9,10) the antenna num-
        ber and station code, (11,12) Width and error, (13,14) Intensity and
        rms noise, (15) Source name.

      FLUX               Flux measurements results

        Results of CONTINUUM method fits printed in a format adapted to flux
        measurements.  The  information written is (1,2) The observation and
        scan number, (3) a code for scan direction, (4,5) Azimuth and Eleva-
        tion  in  degrees, (6) Time in hours, (7,8) Position and error along
        drift direction, (9) the antenna number, (10,11)  Width  and  error,
        (12,13) Intensity and rms noise, (14) Image gain ratio, (15,16) Sig-
        nal and Image frequencies, (17) Source name, (18) Observing date.

    /OUTPUT File
      Write the results in a formatted file named File  instead  of  on  the
      screen. The file is suited for later processing by GreG, in particular
      for contour maps.

    /TABLE File
      Write the results in a table named File. This table can  also  be  ac-
      cessed by GreG, in a much faster (50 times) way than a formatted file.
      Tables can also handle many more columns  than  formatted  files,  and
      they  are not limited in precision by the formatting. Mathematical op-
      erations can be done directly on the table columns.  However  the  FIT
      results cannot be written to a table.
1 REDUCE
        ANALYSE\REDUCE

    This  command  reduces a SKYDIP observation, by fitting the sky emission
    using atmospheric parameters written in the  observation,  and  displays
    the results : Water vapor content and Telescope Forward Efficiency
1 RESAMPLE
        ANALYSE\RESAMPLE Nx Xref Xval Xinc Unit [Shape] [Width] [/[NO]FFT]

    This  command  resamples a given spectrum on a specified X axis in given
    unit. The arguments are:
      Nx    the number of channels desired,
      Xref  the new reference channel,
      Xval  the value at the reference channel. Changing the reference  fre-
            quency  or velocity has non trivial effects on the axis. Use '='
            when possible (see below), else change the value with caution,
      Xinc  the new channel separation. In case of FREQUENCY resampling, the
            resolution  is expected to be given in the restf frame. However,
            RESAMPLE does not modify the current frame of the spectrum (i.e.
            the  Doppler  factor  is left unchanged), so the input frequency
            resolution will be corrected to the current frame.
      Unit  either VELOCITY or FREQUENCY to indicate the units used for Xval
            and Xinc.
      Shape (optional)  a  keyword for the frequency response of the synthe-
            sized channels (see subtopic for details). By default the  shape
            of  the  output  channels  is the same as the shape of the input
            channels.
      Width (optional) the width of the output  channels  in  units  of  the
            channel separation. The default (and minimum value) is 1.

    Using  an equal sign '=' for any of these arguments indicates to use the
    same value as before. Using a wildcard '*' will choose an automatic  de-
    fault:
      Nx    is set such as the last input and output channels are aligned,
      Xref  is set such as the first input and output channels are aligned,
      Xval  the reference frequency and velocity are left unchanged (same as
            =)
      Xinc  same as =
      Shape same as =
      Width same as =

    /NOFFT is the default behavior. In this case, the output spectrum  is  a
    subset  of  the original one if their axes are aligned to a given preci-
    sion. If not, the spectrum is resampled by direct interpolation. In this
    mode  the  exact channel separation requested will be used. The counter-
    part to this technique is that correlation is introduced  between  adja-
    cent  channels  and thus affects the noise intensity (e.g. it is divided
    by sqrt(2) if the axis is shifted by half a channel).

    The Width parameter is used to provide an oversampled output spectrum if
    needed.
2 /FFT
        RESAMPLE /FFT

    The  resampling  is  done  in  the delay domain and the data are Fourier
    transformed.  The Fourier transform is divided by the transform  of  the
    input  channel  shape,  then extrapolated by zeroes (if interpolation in
    the frequency domain is required), multiplied by the  transform  of  the
    desired channel shape, and finally transformed back to frequency domain.
    The output channel separation usually needs to be slightly  rounded  (to
    enable use of the FFT, the input spectrum must contain a round number of
    output channels).
2 SHAPE

    Four keywords are used to describe the frequency response of the synthe-
    sized channels:
    - TBOX  means  a  rectangular  function  in the delay domain, as for un-
            smoothed correlator channels (sin(pi.x)/(pi.x) in the  frequency
            domain)
    - TPAR  means  a parabolic function in the delay domain, as for smoothed
            correlator channels (smoothing function used at Plateau de Bure)
    - FBOX means a rectangular function in the frequency domain (as for fil-
            terbank channels)
    - FTRIANGLE means a triangular function in the frequency domain (as  for
            filterbank channels, Hanning smoothed)

    The  shape of the input channels is derived from the backend number read
    in the telescope name for IRAM-30m  spectra:  TBOX  for  autocorrelator,
    FBOX for other (filter) backends. Otherwise, rectangular filter channels
    are assumed.
1 RETRIEVE
        ANALYSE\RETRIEVE Name

    Retrieve the observation in memory "Name" and copy it in the R  observa-
    tion.
1 SMOOTH
        ANALYSE\SMOOTH [Arg...]

    SMOOTH  copies R into T, then degrades the frequency/velocity resolution
    of R. The arguments are used to specify the method :
      - HANNING (default)
        The new spectrum has twice less channels and twice less  resolution.

      - AUTO
        Uses a cross-validation smoothing with automatic choice of smoothing
        parameter.  To be used with caution. Noise in adjacent channels must
        be  independant,  otherwise  the  algorithm flatly refuses to do any
        smoothing at all  (but  needs  a  long  computing  time  to  realise
        that...).

      - GAUSS Width
        Convolves  (by multiplication in the Fourier plane) by a gaussian of
        specified width in current units.

      - BOX Ncan
        Averages Ncan adjacent channels to produce a spectrum with Ncan less
        resolution and channels.

      - NOISE Flux Nc
        For  each channel, sums at most Nc neighbouring channels until a to-
        tal flux Flux is reached in the sum.  Then  attributes  the  average
        value (sum divided by number of channels added) to the channel. This
        smoothing is non-uniform, strictly positive, and has an obvious ten-
        dency to produce wings...
1 STAMP
        ANALYSE\STAMP NX [NY] [/LABEL SCAN|NUMBER|SOURCE|LINE [...] ]

    This command is intended to have a quick look at all the observations in
    the index.  It makes a plot of all the observations in  the  index,  ar-
    ranged  in a "map" of NX by NY observations. (If the index contains many
    observations, they will be very small, hence the name of  the  command).
    The command does not require that X and Y scales be fixed.

    Command POPUP allows a selective zooming of any observation displayed by
    command STAMP.

2 /LABEL
        ANALYSE\STAMP NX [NY] /LABEL SCAN|NUMBER|SOURCE|LINE [...]

    The option /LABEL  writes the required additional information (scan num-
    ber, observation number, source or line name) in some part of the box to
    help identification. Several additional informations can  be  displayed.
    number of each observation in the upper left part of its box.

1 STRIP
        ANALYSE\STRIP File

    STRIP  creates  a  GILDAS 2-D image which can be used later by GILDAS to
    produce Velocity-Position plots using command RGMAP. STRIP works on  the
    current  index, and checks that it defines a true strip along one of the
    main directions. That means you should have build the current index with
    FIND  /OFFSET  Value  *  or FIND /OFFSET * Value.  The current X unit is
    used. The name of the output file must be given.

    To produce a strip along another direction than X or Y, change the  off-
    sets  of  your spectra using command MODIFY OFFSETS, and write the modi-
    fied spectra in a new output file.

    STRIP can also produce a GILDAS 2-D image from a set of parallel contin-
    uum  drifts.  The  drifts  must  have  the  same steps, and be regularly
    spaced.  The index must define a coherent map.

    PV cuts might also be done easily in GREG from a GILDAS  table  or  cube
    with more versatility.
1 TABLE

        ANALYSE\TABLE Filename [OLD|NEW] [/MATH Expression1 ... ExpressionN]
    [/RANGE rmin rmax unit] [/RESAMPLE Nc Ref Val Inc Unit [Shape]  [Width]]
    [/FFT] [/FREQUENCY name rest-freq] [/NOCHECK [SOURCE|POSITION|LINE|SPEC-
    TROSCOPY]]

    Build a GILDAS table from current index entries. No  gridding  is  done.
    This  table  may be then regridded on a Regular Grid to build a datacube
    for further use in GREG.

      OLD     Append to table 'filename'
      NEW     Create a new table

      /MATH
        Compute one or more mathematical expressions instead  of  storing  a
        spectrum.  See subtopic FUNCTIONS for a list of available functions.

      /RANGE
        By default, the whole X axis is stored in the GILDAS table. A  range
        can be imposed, in which case the unit must be specified.

      /RESAMPLE
        By default, the spectra are resampled, on-the-fly while building the
        TABLE, on the first spectrum X axis. This option allows  to  enforce
        that  resampling  is done on the given X axis. See HELP RESAMPLE for
        possible uses and caveats.

      /FFT
        To specify that resampling is done in time domain.

      /FREQUENCY
        To change the line name and/or the rest frequency.

      /NOCHECK
        By default, the consistency of the index is checked against  SOURCE,
        POSITION, LINE and SPECTROSCOPY parameters (see LAS\CONSISTENCY) be-
        fore building the table. If the SPECTROSCOPY section appears  incon-
        sistent,  the spectra are resampled on-the-fly on the first spectrum
        X axis. Other sources of inconsistency are not recoverable  and  the
        table  is  not  built. This option without keyword allows to disable
        all consistency checks. With keyword(s), disable  the  corresponding
        checks.

    Warnings:
       1.  /MATH, /RANGE and /RESAMPLE are exclusive
       2.  Continuum data not supported
2 FUNCTIONS

      You can use any Sic mathematical formula (e.g. involving some R buffer
    variables). The following functions are also predefined:

    STDV(dummy)   returns the integrated area (K.Km/s) of the current  spec-
                  trum
    TPEAK(dummy)  returns the Peak temperature (K) of the current spectrum
    VPEAK(dummy)  returns  the  Velocity at Peak (Km/s) of the current spec-
                  trum
    TDV(v1,v2)    returns the integrated area (K.Km/s) of the current  spec-
                  trum between velocities V1 and V2
    TPEAKV(v1,v2) returns  the  Peak temperature (K) of the current spectrum
                  between velocities V1 and V2
    VPEAKV(v1,v2) returns the Velocity at Peak (Km/s) of the  current  spec-
                  trum between velocities V1 and V2

    To create a table containing the integrated area of your spectra, type:
        TABLE Filename /MATH STDV(0)
1 ENDOFHELP






























































