|
Developer Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide find_scan_info.pro
find_scan_info |
function find_scan_info(scan, [timestamp=string], [instance=integer], [file=string]) |
Find a scan info from the current line filein matching the given scan, file, timestamp, and instance values. The matching scan_info is returned. See scan_info for more information on the returned structure.
This is used by all of the standard calibration routines to get the scan_info for the requested scan. It is encapsulated here to make it easy to adapt and understand those calibration routines. If there was a problem, the return value will not be structure (it will be -1). Because this is designed to be called from another routine, any error messages are displayed using the prefix appropriate to the calling routine.
Parameters | |
scan |
Scan number to get information on. This must be provided unless timestamp is provided. |