Table of Contents
ccddump - dump contents of an image to other format
ccddump
in=image ou=dump [parameter = value ...]
ccddump dumps the contents
of an image file on a user selected format. A number of formats are available,
and costumization is easy.
ccddump was used for a local test, but may find
useful applications, and was as such kept in the distribution set.
The
following parameters are recognized in any order if the keyword is also
given:
- in=image-file
- input file name, in image(5NEMO)
format. [no default].
- out=dump-file
- output file, will be in one of the selected dump formats (see
below) [no default]
- type=output-type-string
- Dump option type. Currently available
are float, double, and byte. Such dumps are straight dumps in the local
system format, with an option to byte swap (see swap= below). [default:
float].
- range=low:high
- Range of input map used in output map. This option
is only active when the output format is some fixed length integer type.
When option is left blank, the min and max value from the image header
is used. [default: blank]
- mode=mode-string
- Output mode, rows first or columns
first. [default: row]
- swap=bool
- Swap the bytes? [default: false].
- scale=
- Output scaling type in case fixed length integers are used.
- gamma=
- Gamma
scaling factor for scale=gamma
- b=
- Softening for scale=asinh
- sm=t|f
- Use the
CH sm file_type? . You will need the directive
file_type CH
in your ~/.sm file. [default: false].
ccdfits(1NEMO)
, ccdprint(1NEMO)
,
image(5NEMO)
, tsf(1NEMO)
Peter Teuben
~/src/pjt/image ccddump.c ccddump.1
30-Jul-89 V1.0: Created PJT
28-mar-07 V1.2 sm output option PJT
9-jan-12 V1.3 3D option, scale= added PJT
10-jan-12 V2.0 option= -> type= PJT
Table of Contents