spedas/gui/utilities/
spd_ui_interpolate.pro
NAME: spd_ui_interpolate PURPOSE: Interpolates over x-axis of active data and adds new data to loaded data object. Intended to be called from spd_ui_dproc. CALLING SEQUENCE: spd_ui_interpolate, result, loadedData, historywin, statusbar INPUT: loadedData: Loaded data object. historywin: History window reference. statusbar: Status bar reference. guiid: If set and valid, will make user queries part of GUI widget hierarchy. result: Anonymous structure returned by spd_ui_interpol_options: { num: Number of points for the result when not matching. cad: Cadence of the result when using that option match: Flag indicating to interpolate to another variable's abcissa. matchto: Group name of variable to match to. extrap: Flags for extrapolation type: [none, last value, NaN] suffix: Suffix to create new data group with. limit: Flag indicating time limits. trange: Time range array containing desired time limits. type: Flags for interpolation type: [linear,quadratic,lsquadratic,spline] ntype: Flag to use number or cadence (0,1 respectively) ok: (not used) Indicates spd_ui_interpol_options was successful } HISTORY:
Routines
Routines from spd_ui_interpolate.pro
result = spd_ui_nearestneighbor(v, x, u)
result = spd_ui_interpolate_vec_mxn(v, x, u, nearest_neighbor=nearest_neighbor, _extra=_extra)
spd_ui_interpolate, result, in_vars, loadedData, historywin, statusbar, fail=fail, guiid=guiid, _extra=_extra, replay=replay, overwrite_selections=overwrite_selections, cadence_selections=cadence_selections
Routine details
top source spd_ui_interpolate_vec_mxn
result = spd_ui_interpolate_vec_mxn(v, x, u, nearest_neighbor=nearest_neighbor, _extra=_extra)
Parameters
- v
- x
- u
Keywords
- nearest_neighbor
- _extra
top source spd_ui_interpolate
spd_ui_interpolate, result, in_vars, loadedData, historywin, statusbar, fail=fail, guiid=guiid, _extra=_extra, replay=replay, overwrite_selections=overwrite_selections, cadence_selections=cadence_selections
Parameters
- result
- in_vars
- loadedData
- historywin
- statusbar
Keywords
- fail
- guiid
- _extra
- replay
- overwrite_selections
- cadence_selections
File attributes
Modification date: | Thu Feb 13 16:41:46 2014 |
Lines: | 300 |