|
Developer Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox/io cntm_index__define.pro
INDEX_FILE | +-cntm_index
Child class of INDEX_FILE, contains special functionality for dealing with continuum data. This mostly entails the translation of sdfits data into contents of the index file. See UML for all IO Classes, or INDEX UML for just index classes. This class is responsible for establishing the correct class for managing the row section of the index file, the translation between sdfits and index rows, and provides the search gateway.
Fields inherited from INDEX_FILE: | ||||||||||||||||||||||||
|
Routine Summary 9 routines |
procedure cntm_index__define | |
Child class of INDEX_FILE, contains special functionality for dealing with continuum data. |
function CNTM_INDEX::init(_EXTRA=_EXTRA) | |
function CNTM_INDEX::get_row_info_strct() | private |
Returns the specail structure needed for continuum data |
function CNTM_INDEX::search_index([start][, finish], SEARCH=SEARCH, [INDEX=long], [PROJECT=string], [FILE=string], [EXTENSION=long], [START_ROWS=long], [NUM_ROWS=long], [STRIDE=long], [SOURCE=string], [PROCEDURE=string], [SCAN=long ], [SUBSCAN=long ], [E2ESCAN=long ], [POLARIZATION=string], [IFNUM=long ], [SIG=string], [CAL=string], NSAVE=NSAVE) | |
This method searches the rows in the index file using the optional keywords. |
procedure CNTM_INDEX::update_file_with_scan, first_row, proj, file_name, ext, start_row, n_data, samplers, sigs, cals, pols | |
Appends row info to an index file, given a group of rows from sdfits files. |
function CNTM_INDEX::parse_scan_info(first_row, proj, file_name, ext, start_row, n_data, unique_samplers, sigs, cals, sampler_pols) | private |
Takes in information about a continuum scan, and converts that to several rows in the index file. |
function CNTM_INDEX::check_file_properties(file_name[, expanded], [/verbose]) | private |
Checks basic file properties to see if they agree with what the index file has listed. |
function CNTM_INDEX::get_scan_info(scan_number) | |
Returns a structure that contains info about the scan number given, such as scan number, procedure name, number of integrations, ifs, etc. |
procedure CNTM_INDEX::get_file_properties_in_index, file_name, extensions, num_rows | private |
Finds the number and sizes of extensions for a file listed in the index file, according to the index file. |
Routine Details |
cntm_index__define |
procedure cntm_index__define |
Child class of INDEX_FILE, contains special functionality for dealing with continuum data. This mostly entails the translation of sdfits data into contents of the index file. See UML for all IO Classes, or INDEX UML for just index classes. This class is responsible for establishing the correct class for managing the row section of the index file, the translation between sdfits and index rows, and provides the search gateway.
CNTM_INDEX::init |
function CNTM_INDEX::init(_EXTRA=_EXTRA) |
Keywords | |
_EXTRA |
. |
CNTM_INDEX::get_row_info_strct | private |
function CNTM_INDEX::get_row_info_strct() |
Returns the specail structure needed for continuum data
CNTM_INDEX::search_index |
function CNTM_INDEX::search_index([start][, finish], SEARCH=SEARCH, [INDEX=long], [PROJECT=string], [FILE=string], [EXTENSION=long], [START_ROWS=long], [NUM_ROWS=long], [STRIDE=long], [SOURCE=string], [PROCEDURE=string], [SCAN=long ], [SUBSCAN=long ], [E2ESCAN=long ], [POLARIZATION=string], [IFNUM=long ], [SIG=string], [CAL=string], NSAVE=NSAVE) |
This method searches the rows in the index file using the optional keywords. Not using any keywords returns all rows. Use of more then one keyword is like using an AND.
Parameters | |
start |
where to start the range to search in |
finish |
where to stop the range to search in |
CNTM_INDEX::update_file_with_scan |
procedure CNTM_INDEX::update_file_with_scan, first_row, proj, file_name, ext, start_row, n_data, samplers, sigs, cals, pols |
Appends row info to an index file, given a group of rows from sdfits files. Used for first loading in an sdfits file
CNTM_INDEX::parse_scan_info | private |
function CNTM_INDEX::parse_scan_info(first_row, proj, file_name, ext, start_row, n_data, unique_samplers, sigs, cals, sampler_pols) |
Takes in information about a continuum scan, and converts that to several rows in the index file. A single scan may have several continua (or rows in index) depending on the switching type, receiver type, etc...
CNTM_INDEX::check_file_properties | private |
function CNTM_INDEX::check_file_properties(file_name[, expanded], [/verbose]) |
Checks basic file properties to see if they agree with what the index file has listed.
Parameters | |
file_name |
sdfits file to check |
expanded |
has this file been expanded since its listing in the index file? |
Keywords | |
verbose |
print out details of errors? |
CNTM_INDEX::get_scan_info |
function CNTM_INDEX::get_scan_info(scan_number) |
Returns a structure that contains info about the scan number given, such as scan number, procedure name, number of integrations, ifs, etc..
Parameters | |
scan_number |
scan number information is queried for |
CNTM_INDEX::get_file_properties_in_index | private |
procedure CNTM_INDEX::get_file_properties_in_index, file_name, extensions, num_rows |
Finds the number and sizes of extensions for a file listed in the index file, according to the index file.