spedas/gui/utilities/
loaddata.pro
NAME: LOADDATA PURPOSE: The purpose of this function is to read a selection of standard data sets that are found in the normal IDL distribution in the subdirectory $IDL_DIR/examples/data. At least 17 data sets are available in all categories of data. The user selects one of the possible data sets with the mouse. CATEGORY: File I/O. AUTHOR: FANNING SOFTWARE CONSULTING David Fanning, Ph.D. 1645 Sheely Drive Fort Collins, CO 80526 USA Phone: 970-221-0438 E-mail: davidf@dfanning.com Coyote's Guide to IDL Programming: http://www.dfanning.com/ CALLING SEQUENCE: If calling from the IDL command line: data = LoadData() If calling from within a widget program: data = LoadData(Cancel=cancelled, Group_Leader=event.top) If you know which data set you want, you can load it directly: data = LoadData(7) OPTIONAL INPUTS: selection : The number of the data selection. Values start at 1, and go up to the number of data sets available (currently 17). KEYWORD PARAMETERS: CANCEL : An output keyword that is 1 of the use clicked the CANCEL button and 0 otherwise. data = Loaddata(Cancel=cancelled) IF cancelled THEN RETURN GROUP_LEADER: The group leader of the widget. This keyword is required if you wish LOADDATA to be a modal widget program. (Which you *always* do when calling it from a widget program.) IMAGES: Set this keyword if you only want to select 2D image data sets. Note that the selection number does *not* change just because fewer data sets are available in the selection widget. COMMON BLOCKS: None. SIDE EFFECTS: None. RESTRICTIONS: None. EXAMPLE: To load the world elevation data set: image = LoadData(7) MODIFICATION HISTORY: Written by: David W. Fanning, 5 March 1999. Added some additonal random data capability. 29 April 99. DWF Added IMAGES keyword. 31 March 2000. DWF. Fixed a problem with the CANCEL button. 25 Oct 2002. DWF. Added new JPEG, DICOM, TIFF, and PGN images. 30 Oct 2002. DWF. Modified old program units to work with IDL strict arrays. 29 June 2003. DWF
Routines
Routines from loaddata.pro
result = smooth2(i, w, help=help)
result = makez(nx, ny, w, seed=seed, lastseed=lastseed, periodic=periodic, help=help)
result = makey(n, w, seed=seed, lastseed=lastseed, periodic=periodic, help=help)
result = LoadData_ReadData(number)
LoadData_CenterTLB, tlb
LOADDATA_CANCEL, event
LOADDATA_EVENT, event
result = LOADDATA(number, CANCEL=CANCEL, Group_Leader=Group_Leader, Images=Images)
Routine details
top source makez
result = makez(nx, ny, w, seed=seed, lastseed=lastseed, periodic=periodic, help=help)
Parameters
- nx
- ny
- w
Keywords
- seed
- lastseed
- periodic
- help
File attributes
Modification date: | Thu Feb 13 16:41:47 2014 |
Lines: | 354 |