Next: SCUCLIP - Simple sigma clipping for each bolometer
Up: Complete routine descriptions
Previous: SCUBA2MEM - Calculate bolometer positions as tangent plane offsets
SCUCAT
- Concatenate photometry datasets for further processing
- Description:
- This routine reads in a list of user specified files and concatenates
their data, variance and quality arrays so that KAPPA routines like
stats and kstest can analyse a complete set of photometry
observations. scucat can be configured so that either all
data are concatenated into one file regardless of bolometer
(METHOD=catall) or data for each bolometer is kept separate
(METHOD=separate). In the latter case, if
a file contained data for H7 and H9 then two output
files would be created (e.g. test_h7 and test_h9 - if the OUT parameter
was set to `test') and for each new bolometer a new file is created
(existing files are overwritten) and data is appended to these files
when more data for these bolometers is supplied.
- Usage:
- scucat out in
- Parameters:
-
-
BOL = CHAR (Read)
-
If the input file is an NDF (and not an HDS container as
expected) then this parameter should be given to tell the software
the bolometer that should be associated with this data.
-
IN = NDF (Read)
-
The input dataset(s). This parameter is requested repeatedly
until a NULL (!) value is given. The input dataset can either
be output from scuphot or an NDF file. A comma-separated list
of files is allowed. A text file containing a list of files
can be specified using the up-carat symbol (
) in
front of the text file name.
-
LOOP = LOGICAL (Read)
-
Turns the looping on (default is true) or off (false)
-
METHOD = CHAR (Read)
-
Governs whether data from different bolometers are combined
regardless (CATALL) or written to separate files (SEPARATE).
Default is `SEPARATE'. The choice of this parameter governs
the behaviour of the OUT parameter.
-
MSG_FILTER = CHAR (Read)
-
Message filter level. Allowed values are QUIET, NORM and VERB.
Default is NORM. There are no verbose messages.
-
OUT = CHAR (Write)
-
If METHOD=separate this parameter governs the root name of
the output NDF (i.e.
OUT
_bol). If METHOD=catall this
parameter can be used to specify the actual output file name.
- Examples:
-
- scucat test phot
- This routine will copy the data from phot to test_
bol
,
reducing multiple bolometers to individual files.
If the input set contained data
for bolometer H7 the output file will be test_h7.sdf.
The program will then ask for another data set.
- scucat test ext_long noloop
- This will copy all the data from ext_long.sdf to test_
bol
.sdf
and will then exit without asking further questions.
- scucat outfile 'file1,file2,file3' noloop method=separate
- Concatenate the data from file1, file2 and file3 into output
files containing the rootname of `outfile'.
- scucat outfile in=
input.lis noloop method=catall
- This will copy all the data contained in the files listed in
input.lis and write it to a file called
outfile.sdf.
- Notes:
- SCUCAT can process output data from scuphot (e.g. file.sdf as an
HDS container containing NDF files with the names
bol
_peak) or
NDF files.
- If given an NDF the data array is vectorized so that the output
is 1-dimensional regardless of the shape of the input file.
- This task can also be used to simplify further processing of the
photometry data even if no data is to be concatenated (in this case
the task would be identical to the KAPPA task ndfcopy).
-
Related Applications
- SURF: scuphot;
KAPPA: ndfcopy, kstest
- Implementation Status:
- NDF sections can not be used
- All input pixels are propagated to the output file
- See the GRP documentation [34] for
more information on
specifying multiple input files for the 'IN' parameter.
Next: SCUCLIP - Simple sigma clipping for each bolometer
Up: Complete routine descriptions
Previous: SCUBA2MEM - Calculate bolometer positions as tangent plane offsets
SURF -- SCUBA User Reduction Facility
Starlink User Note 216
T. Jenness, J. F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
3 April 2003
E-mail:ussc@star.rl.ac.uk
Copyright © 1997-2000,2003 Particle Physics and Astronomy Research Council