|
Developer Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide get_calib_data.pro
get_calib_data |
function get_calib_data(info, ifnum, plnum, fdnum, sampler[, count], [intnum=integer], [useflag=boolean or string], [skipflag=boolean or string], [/twofeeds], [sig_state=integer], [wcalpos=string], [subref=integer]) |
Used by the calibration routines to actually fetch the necessary data. This is not meant to be called directly by the user. Error messages generated here are displayed using the prefix from the calling routine. It is expected that some argument checking will have happened prior to this function being called. The only checks done here are that the requested data (ifnum, plnum, fdnum, and intnum) are consistent with the given scan info.
The returned values are the array of data containers found in the current line data source that satisfy the request using the provided scan info structure to indentify the scan.
If there is a problem, the returned value is -1 and count is 0.
Parameters | |
info |
The scan_info structure that describes the scan. Use find_scan_info to get this scan_info. |
ifnum |
The IF number to fetch |
plnum |
The polarization number to fetch. |
fdnum |
The feed number to fetch. Ignored when twofeeds is set. |
sampler |
The sampler name, an alternative to ifnum, plnum and fdnum. This is used (and the others are ignored) when it is not empty. |
count |
The number of data containers returned. This is 0 when there is a problem. |