|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide getscan.pro
getscan |
procedure getscan, scan, [useflag=boolean or string], [skipflag=boolean or string] |
Gets the data associated with a given scan number. In general this procedure is used on data that have already been calibrated and written o a new data file. To retrieve scans from a raw data file, as produced by the 'sdfits' program on the GBT, use getfs, gettp, getnod, or one of the other procedures that does both retrieval and calibration.
This is shorthand for get,scan=scan with optional use of useflag or skipflag. See the documentation for get for more information. If there is more than one record that has the requested scan number, only the first is saved to the primary data container. This is discussed in more detail in the documentation for get.
filein,'my_processed_data.fits' getscan,101 copy, 0, 10 getscan,102 oshow, 10 getscan,103,/skipflag ; ignore all flags
Parameters | |
scan |
The scan number of the record to be retrieved |