This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
com:readspec [2013/06/04 16:19] phil created |
com:readspec [2016/05/10 13:59] (current) phil |
||
---|---|---|---|
Line 3: | Line 3: | ||
READSPEC,<SpecFile>,<numLines>,<Line1> … <LineN> | READSPEC,<SpecFile>,<numLines>,<Line1> … <LineN> | ||
- | This command allows the user to read a spectrum file from the command line instead of using the graphical interface | + | Reads a spectrum file into a line object for plotting. |
- | SpecFile – Full path of the spectrum file to be read | + | * SpecFile – Full path of the spectrum file to be read |
- | numLines – number of lines to be read from the file | + | * numLines – number of data columns to be read from the file |
- | Line - Line Reference Number for each line to be read | + | * Line - Line Reference Number for each line object to be read |
+ | |||
+ | **NOTE:** Line objects in ACS SASSI are read from the columns in a data file. For TFI, TFI, TFD, and RS files, the frequency column should not be counted in the <numLines> argument. For example, an RS file has a column for frequency and a column for acceleration. In this case, <numLines> is 1 because there is only one column of data to be read into a line object for plotting. |