projects/themis/spedas_plugin/
spd_ui_part_getspec_options.pro
Routines
Routines from spd_ui_part_getspec_options.pro
result = spd_ui_part_getspec_check_num(num)
spd_ui_part_getspec_reset_widget, state, uname
spd_ui_part_getspec_sens_fac, top_id
spd_ui_part_getspec_sens_erange, top_id
result = spd_ui_part_getspec_check_input(state, uname, namestring, min=min, max=max, value=value)
Purpose: Helper function to check if strings from user input contain valid numbers.
spd_ui_part_getspec_set_value, state, uname
spd_ui_part_getspec_set_values, state, error=error
spd_ui_part_getspec_set_defaults, state
spd_ui_part_getspec_apply, state, error=error
spd_ui_part_getspec_options_event, event
spd_ui_part_getspec_options, tab_id, loadedData, historyWin, statusBar, treecopy, trObj, callSequence, loadTree=loadTree, timeWidget=timeWidget
NAME: spd_ui_part_getspec_optionsPURPOSE: A interface to thm_part_products.pro for creating and loading SPEDAS energy/ angular particle spectra into the GUI.
Routine details
top source spd_ui_part_getspec_reset_widget
spd_ui_part_getspec_reset_widget, state, uname
Parameters
- state
- uname
top source spd_ui_part_getspec_sens_erange
spd_ui_part_getspec_sens_erange, top_id
Parameters
- top_id
top source spd_ui_part_getspec_check_input
result = spd_ui_part_getspec_check_input(state, uname, namestring, min=min, max=max, value=value)
Purpose: Helper function to check if strings from user input contain valid numbers. -returns 1 if widget contains a valid number, 0 otherwise -if the input is invalid or out of range then a pop-up message will be generated to notify the user Arguments: state: state data structure uname: uname of the widget to check namestring: string used to indentify quantity in the error message, e.g "phi min", "maximum energy" Keywords (optional): min: the minimum valid value for the quantity in question max: the maximum valid value for the quantity in question value: set to names keyword to return the numeric value of the widget
Parameters
- state
- uname
- namestring
Keywords
- min
- max
- value
top source spd_ui_part_getspec_set_value
spd_ui_part_getspec_set_value, state, uname
Parameters
- state
- uname
top source spd_ui_part_getspec_set_values
spd_ui_part_getspec_set_values, state, error=error
Parameters
- state
Keywords
- error
top source spd_ui_part_getspec_set_defaults
spd_ui_part_getspec_set_defaults, state
Parameters
- state
top source spd_ui_part_getspec_apply
spd_ui_part_getspec_apply, state, error=error
Parameters
- state
Keywords
- error
top source spd_ui_part_getspec_options_event
spd_ui_part_getspec_options_event, event
Parameters
- event
top source spd_ui_part_getspec_options
spd_ui_part_getspec_options, tab_id, loadedData, historyWin, statusBar, treecopy, trObj, callSequence, loadTree=loadTree, timeWidget=timeWidget
NAME: spd_ui_part_getspec_options PURPOSE: A interface to thm_part_products.pro for creating and loading SPEDAS energy/ angular particle spectra into the GUI. Intended to be called from SPD_UI_INIT_LOAD_WINDOW.PRO using the SPEDAS load API. CALLING SEQUENCE: spd_ui_part_getspec_options, tab_id, loadedData, historyWin, statusBar, $ treecopy, trObj, callSequence, $ loadTree=loadTree, $ timeWidget=timeid INPUT: tab_id: The widget id of the tab. loadedData: The loadedData object. historyWin: The history window object. statusText: The status bar object for the main Load window. treeCopyPtr: Pointer variable to a copy of the load widget tree. trObj: The GUI timerange object. callSequence: Reference to GUI call sequence object OUTPUT: loadTree = The Load widget tree. timeWidget = The time widget object. NOTES: HISTORY: 5-jan-2009, jmm, jimm@ssl.berkeley.edu 14-jan-2009, jmm, added statusbar object 15-jan-2009, jmm, added external_state, so that the active data widget on the dproc panel can be updated. 23-jan-2009, jmm, deletes tplot variables created during processing, correctly updates active data 13-may-2009, bck, moved code from Data Processing window to Load window 16-jul-2012, aaf, rewrote error checking on input values to match the behavior of other GUI windows ??-sept-2013, aaf, modified to use new spectrogram code 01-jul-2014, aaf, now conforms to standard SPEDAS load API $LastChangedBy: aaflores $ $LastChangedDate: 2014-11-25 18:56:53 -0800 (Tue, 25 Nov 2014) $ $LastChangedRevision: 16305 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/themis/spedas_plugin/spd_ui_part_getspec_options.pro $
Parameters
- tab_id
- loadedData
- historyWin
- statusBar
- treecopy
- trObj
- callSequence
Keywords
- loadTree
- timeWidget
File attributes
Modification date: | Tue Dec 2 03:43:02 2014 |
Lines: | 612 |