SMART IDEA Stored Data Sets
(This page is adapted from the ISAP WWW page "GUI Buttons"
with all relevant acknowledgements.)
|
The Store button displays a seperate window headed "Stored Data Sets".
This shows a list of currently loaded data sets.
Each has a clickable button next to it. Click on the button to select a data set.
Above the list are two buttons :
- Cancel - closes the window.
- Choose and Apply Function - displays a drop-down menu with 10 options :
- MAKE PRIME - make this data the PRIME (current working) data set.
- DELETE - delete this data set. (ie. free up some memory in IDL.)
(It also displays a check message "Are you sure?" before deleting.)
- WRITE TO DISK IN - a drop-down menu with 3 options.
This allows the relevant data set to be exported out of the SMART IDEA window and stored.
Please note that data is saved in the IRS format.
(See
Data Structures?.)
However two extra data tags (fields) are added : sky:0.0, skye:0.0 (sky spectrum, error in sky spectrum)
so the full structure is :
data={wave:0.0, flux:0.0, stdev:0.0, det:0l, line:0l, sdir:0l, scnt:0l, sky:0.0, skye:0.0, status:0l, flag:0l}
The options are :
- FITS table file format : Writes the data out in a FITS table file.
- ASCII Format :
- Write the header + All the data : Writes the header and then all the data tags in multi-column format in a flat ASCII text file.
- Write the header + wave flux stdev and flag data : Writes the header and then the wave, flux, stdev and flag tags ONLY
in multi-column formatin a flat ASCII text file.
- ISAP-XDR Format : Writes out an IDL structure containing the AAR (your data) as an IDL save set, suffix ".xdr".
Please note: The stored data can be restored within IDL with the "restore" procedure. If this is used the data is returned in a structure called "memstor".
memstor={data_flag:data_flag,aar:aar,name:name} where DATA_FLAG INT 1 AAR STRUCT -> Array(1)
ie. AAR in standard IDEA IDL format. NAME STRING 'AAA' name of the data set.
The "memstor" format is the ONLY IDL ".xdr" which the SMART IDEA window can directly read in
with the "READ - AAR XDR" button/option on the main GUI.
- Merge with Prime Data Set -
This will merge the AAR with the PRIME AAR. The header is taken from the PRIME AAR.
- Use as Reference Data Set - Makes the whole AAR the REFERENCE AAR.
(This is the same function as "Make Reference" on the IDEA Applications) window.
- Change Units: This displays the IDEA Function Units Conversion window.
- Change Name: This allows you to change the name of the AAR. Clicking displays a text entry window.
Enter new name and click "OK", ("Cancel" to cancel).
- Show Header: This displays the AAR header in a pop-up window. To continue processing your
AAR in the GUI you must exit this window by clicking on the "Quit" button.
- Show Info: Displays a pop-up window with information about the AAR structure. ("Quit" to continue processing.)
- Plot Using DISPAAR: Plots the AAR in a separate pop-up window. You do not have to cancel this
pop-up window in order to continue processing your PRIME AAR.
|