next up previous contents index
Next: FIT Language Internal Help Up: TABLE Previous: TABLE   Contents   Index


TABLE /MATH

        TABLE /MATH Expression1 [... ExpressionN]

    Instead of storing the spectrum (channels) for each entry in the current
    index,  you  can use any Sic mathematical formula (e.g. involving some R
    buffer variables).

    The following functions are also predefined (see e.g. HELP FUNCTION SDTV
    for details):
        STDV(dummy)   integrated area (K.Km/s)
        TPEAK(dummy)  peak temperature (K)
        VPEAK(dummy)  velocity at peak (Km/s)
        TDV(v1,v2)    integrated area (K.Km/s) between velocities V1 and V2
        TPEAKV(v1,v2) peak temperature (K) between velocities V1 and V2
        VPEAKV(v1,v2) velocity at peak (Km/s) between velocities V1 and V2

    For  example,  to  create a table containing the integrated area of each
    spectra, you can use:
        TABLE Filename /MATH STDV(0)

    To create a table of the RMS of each spectrum measured  during  BASElin-
    ing, use:
        TABLE Filename /MATH R%HEAD%BAS%SIGFI

    And  to create a table of the area, position, and width of the line fit-
    ted with the command MINIMIZE for all the spectra, use:
        TABLE Filename /MATH R%HEAD%GAU%RESULT[1] R%HEAD%GAU%RESULT[2] -
          R%HEAD%GAU%RESULT[3]

    Once used in XY_MAP, these tables will  result  in  maps  of  integrated
    area, RMS, line width, etc.



Gildas manager 2024-03-28