next up previous
Next: LID Up: WEEDS Language Internal Help Previous: LFIND


LGET

        [WEEDS\]LGET [LINEINDEX] [/INDEX]

    Get a line from the line index. The commands checks if the line frequen-
    cy is covered by the current scan. If yes, the scan frequency  is  modi-
    fied  so  that the rest frequency corresponds to the line frequency. The
    command works in a similar fashion than GET: for example LGET F will get
    the  first  line in the line list, LGET N will get the next one, etc. It
    is especially useful when one want  to  search  for  lines  of  a  given
    species.  For example, one can list all methanol lines in the 3 mm band,
    ordered by increasing upper level energy, with:

    LAS> LLIST "CH3OH, vt=0,1" 80000 110000 /SORTBY e

    and then examine each of the line candidates with:

    LAS> LGET F
    LAS> LPLOT
    LAS> LGET N
    LAS> LPLOT
    LAS> ...

    Options:

      /INDEX      search for the line in all scans of the  scan  index.   If
                  this option is set, LGET begins by searching for the first
                  scan in scan index (from the last FIND command) that  cov-
                  ers  the  line  frequency.  It is useful when working with
                  line surveys that consists in several scans, each covering
                  a different frequency band.

    Arguments:
        LINEINDEX the line index. It can be either:

                  1) One of the following letters:
                     "f"   get the first line of the index
                     "l"   get the last line of the index
                     "p"   get the previous line in the index
                     "n"   get the next line of the index

                  2) An integer


Gildas manager 2014-07-01