|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide setfind.pro
setfind |
Set a selection parameter to be used later by find
This sets one of the fields in the structure used by FIND. There is one field for each of the possible selection parameters (use listcols to see a list of the available search parameters). A single value can be entered as can a range of values. Or, a single string can be used here in which case that string is saved as is to be used by SELECT inside of FIND. See the discussion on "Find" in the User's Guide for selection syntax examples. This routine can be used to either replace the current selection parameter value with another (the default behavior) or it can be used to append more information to the current selection parameter value.
See listfind to show the current value of any of the possible selection parameters used by FIND.
clearfind can be used to unset selection parameters used by FIND.
setfind ; a list of parameters is shown, you type one ; then you are asked for a value, no quotes necessary setfind,'scan' ; you are asked for one value, the SCAN ; selection criteria is set to that value setfind,'samp','A1' ; sets SAMPLER (min-match) to 'A1' setfind,'int',1,3 ; integrations 1 through 3 setfind,'int',4,/append ; oops, forgot about 4 setfind,'int','1:3,4' ; equivalent to the previous 2 setfind,'restfreq',1420.4e9 ; single precision floating point setfind,'restfreq',1420.4058d9 ; double precisionNote that nothing happens until you use find