|
Developer Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox/io sdfits__define.pro
FITS | +-sdfits
This class has all the same functionality as its superclass FITS, but contains specail handling for known characteristics of sdfits files, for example what columns to expect in an extension.
Fields inherited from FITS: | ||||||||||||||||||||
|
Routine Summary 16 routines |
procedure sdfits__define | |
This class has all the same functionality as its superclass FITS, but contains specail handling for known characteristics of sdfits files, for example what columns to expect in an extension. |
function SDFITS::get_sdfits_version_number() | |
Returns the sdfits program version used to create this file |
function SDFITS::get_sdfits_version() | |
Returns the sdfits program version used to create this file |
procedure SDFITS::create_sdfits_file, file_name | |
Creates a new blank fits file, with primary header info tagged for Green Bank |
function SDFITS::get_extension_data_size(extension) | |
Retrives the size of the DATA column in given extension |
function SDFITS::get_last_extension_data_size() | private |
Retrieves the size of the DATA column for the last extension |
function SDFITS::get_virtual_columns(header, non_virtual_list) | private |
Retrives the keywords from a header that do not define the columns of the extension |
function SDFITS::string_in_list(str, list) | private |
Deprecated. |
function SDFITS::get_and_eval_rows(missing, virtuals, row_nums, [ext=long], [/all_rows], no_data=no_data) | |
Retrieves rows from an sdfits file, and finds what columsn are missing, and what the important keywords are in the header |
function SDFITS::get_missing_columns(present) | |
Finds what the missing columns are in a list of columns found in an sdfits file |
function SDFITS::get_expected_col_names() | |
Retrives the names of columns expected to be found in an sdfits file |
function SDFITS::check_sdfits_properties(file_name=file_name, verbose=verbose) | |
Checks sdfits file of this object (or of keyword) to see if it meets certain criteria: does it exist? does it have more then one extension? Is the last extension binary and of type 'SINGLE DISH'? keyword file_name {in}{optional}{type=string} file to check keword verbose {in}{optional}{type=boolean} print details when error found? |
function SDFITS::exclude_data(rowStruct) | |
Takes in a structure representing an sdfits row, and returns the same structure, minus the DATA field |
function SDFITS::mrdfits_exclude_data(file_name, ext, hdr) | |
Reads in sdfits file in chunks, and avoids the DATA column, thus saving memory and increasing performance. |
function SDFITS::get_sdfits_row_sizes() | private |
Returns sizes needed for ASCII columns in sdfits. |
function SDFITS::define_sdfits_row(data_points) | |
Defines an anonymous structure that mirrors a row in an sdfits file, version 1. |
Routine Details |
sdfits__define |
procedure sdfits__define |
This class has all the same functionality as its superclass FITS, but contains specail handling for known characteristics of sdfits files, for example what columns to expect in an extension.
SDFITS::get_sdfits_version_number |
function SDFITS::get_sdfits_version_number() |
Returns the sdfits program version used to create this file
SDFITS::get_sdfits_version |
function SDFITS::get_sdfits_version() |
Returns the sdfits program version used to create this file
SDFITS::create_sdfits_file |
procedure SDFITS::create_sdfits_file, file_name |
Creates a new blank fits file, with primary header info tagged for Green Bank
Parameters | |
file_name |
full path name of fits file to create |
SDFITS::get_extension_data_size |
function SDFITS::get_extension_data_size(extension) |
Retrives the size of the DATA column in given extension
Parameters | |
extension |
extension number (1-based) for which data column length is needed @ returns length of DATA column for given extension |
SDFITS::get_last_extension_data_size | private |
function SDFITS::get_last_extension_data_size() |
Retrieves the size of the DATA column for the last extension
SDFITS::get_virtual_columns | private |
function SDFITS::get_virtual_columns(header, non_virtual_list) |
Retrives the keywords from a header that do not define the columns of the extension
Parameters | |
header |
string array of extension header keyword-value pairs |
non_virtual_list |
list of keywords that DO NOT describe columsn, but should NOT be included as virtials |
SDFITS::string_in_list | private |
Deprecated.
Parameters | |
str |
. |
list |
. |
SDFITS::get_and_eval_rows |
function SDFITS::get_and_eval_rows(missing, virtuals, row_nums, [ext=long], [/all_rows], no_data=no_data) |
Retrieves rows from an sdfits file, and finds what columsn are missing, and what the important keywords are in the header
Parameters | |
missing |
string array of columns found to be missing |
virtuals |
keyword-value pairs in header that dont describe columns |
row_nums |
row numbers to read |
Keywords | |
ext |
extension number to read from |
all_rows |
read all rows from extension? |
no_data |
. |
SDFITS::get_missing_columns |
function SDFITS::get_missing_columns(present) |
Finds what the missing columns are in a list of columns found in an sdfits file
Parameters | |
present |
list of columns present in sdfits extension |
SDFITS::get_expected_col_names |
function SDFITS::get_expected_col_names() |
Retrives the names of columns expected to be found in an sdfits file
SDFITS::check_sdfits_properties |
function SDFITS::check_sdfits_properties(file_name=file_name, verbose=verbose) |
Checks sdfits file of this object (or of keyword) to see if it meets certain criteria: does it exist? does it have more then one extension? Is the last extension binary and of type 'SINGLE DISH'? keyword file_name {in}{optional}{type=string} file to check keword verbose {in}{optional}{type=boolean} print details when error found?
Keywords | |
file_name |
. |
verbose |
. |
SDFITS::exclude_data |
function SDFITS::exclude_data(rowStruct) |
Takes in a structure representing an sdfits row, and returns the same structure, minus the DATA field
Parameters | |
rowStruct |
. |
SDFITS::mrdfits_exclude_data |
Reads in sdfits file in chunks, and avoids the DATA column, thus saving memory and increasing performance. For use when reading in entire sdfits file just for header information (i.e. index file creation).
SDFITS::get_sdfits_row_sizes | private |
function SDFITS::get_sdfits_row_sizes() |
Returns sizes needed for ASCII columns in sdfits. Problems: this exists here AND in IO_SDFITS_WRITER.
SDFITS::define_sdfits_row |
function SDFITS::define_sdfits_row(data_points) |
Defines an anonymous structure that mirrors a row in an sdfits file, version 1.2. Must be anonymos so that the DATA columns length can be defined at run-time. Problems: this exists here AND in IO_SDFITS_WRITER
Parameters | |
data_points |
length of DATA column |