Midas 001> CREATE/CRULE susi_ost BIAS |
.. The Table Editor is invoked .. |
Midas 002> READ/DESCR susi_ost.tbl BIAS |
:IDENT.EQ."*BIAS*".AND.:EXPTIME.LE.1 |
---|
Midas 003> CREATE/CRULE susi_ost FF |
.. The Table Editor is invoked .. |
Midas 004> READ/DESCR susi_ost.tbl FF |
:IDENT.EQ."FF*" |
Midas 005> CREATE/CRULE susi_ost SCI |
.. The Table Editor is invoked .. |
Midas 006> READ/DESCR susi_ost.tbl SCI |
:IDENT.NE."*BIAS*".AND.:IDENT.NE."*FF*" |
Midas 007> CLASSIFY/IMAGE susi_ost BIAS EXPTYPE BIAS |
Midas 008> CLASSIFY/IMAGE susi_ost FF EXPTYPE FF |
Midas 009> CLASSIFY/IMAGE susi_ost SCI EXPTYPE SCI |
Midas 010> CREATE/CRULE susi_ost OPATH |
.. The Table Editor is invoked .. |
Midas 011> READ/DESCR susi_ost.tbl OPATH |
:FILTER_NO.EQ."#*".AND.:FILTER_TYPE.EQ."FILTER*" |
Midas 012> CLASSIFY/IMAGE susi_ost OPATH OPATH FILT_&1 |
Suppose you have created the classification rule WFIB for flagging all
exposures obtained in the blue arm of EMMI using the wide-field imaging mode.
Now you want to flag these exposures with a character string containing the
filter number that has been used.
The corresponding descriptor WFIB of the OST may in natural language be:
``frame exposed in the blue arm using any filter and no grating"
The translated selected criterion looks as follows:
:FILTB_ID.EQ."*".AND.:FILTB_TYP.EQ."FILTER*".AND.:GRATB_ID.EQ.""The command
/IMAGE ntt WFIB :OPATH FB&1will flag all files in the OST ntt which satisfy this selection criterion and will store in the column :OPATH the character string obtained by appending the contents of column :FILTB_ID to the string FB. The classification given in the column :OPATH is obviously more convenient to use than the original selection criteria.