|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./contrib sdd__define.pro
This is a class for reading data from a unipops SDD file and turning that into a gbtidl data container. It is probably not ideal for end users who will most likely find the conversion script, uni2sdfits, more useful. That script uses this class to convert a unipops data file into an sdfits file that gbtidl can read directly.
The SCAN field in the original unipops data is converted to SCAN_NUMBER and PROCSEQN in the data container.
Unipops data doesn't have any polarization information in it. All data containers are set to have polarization="I".
if_number, polarization_num and feed_num are al set to 0 in the converted data container.
This only works for spectral line data. It will likely not work for 12-m OTF data.
This works for recent 12m data, which reverses the byte ordering from the original big-endian SDD format.
Contributed By: Bob Garwood, NRAO-CV
Routine Summary 6 routines |
function SDD::init(file_name) | |
This is a class for reading data from a unipops SDD file and turning that into a gbtidl data container. |
function SDD::GET_UNISCAN(loc) | |
Get a scan into a structure, preserves all information in the original. |
function SDD::getdc(loc) | |
Get the scan at location into a gbtidl data container. |
function SDD::getindx(loc) | |
Get the index record at the given location |
function SDD::nscans() | |
How many indicies are used |
function SDD::indexUsed(loc) | |
Is a particular index in use (nbytes > 0) |
Routine Details |
SDD::init |
function SDD::init(file_name) |
This is a class for reading data from a unipops SDD file and turning that into a gbtidl data container. See Appendix G of the UniPOPS cookbook for a detailed description of the data format of an SDD file.
Parameters | |
file_name |
. |
SDD::GET_UNISCAN |
function SDD::GET_UNISCAN(loc) |
Get a scan into a structure, preserves all information in the original.
Parameters | |
loc |
The index location to fetch. |
SDD::getdc |
function SDD::getdc(loc) |
Get the scan at location into a gbtidl data container.
Parameters | |
loc |
The index location to fetch. |
SDD::getindx |
function SDD::getindx(loc) |
Get the index record at the given location
Parameters | |
loc |
The index location to fetch. |
SDD::nscans |
function SDD::nscans() |
How many indicies are used
SDD::indexUsed |
function SDD::indexUsed(loc) |
Is a particular index in use (nbytes > 0)
Parameters | |
loc |
The index location to check. |