1biasbat(1) C-Munipack 1.2 biasbat(1)
2
3
4
6 biasbat - utility for bias correction
7
9 biasbat [ options ] bias-file input-files ...
10
12 The biasbat command applies bias correction to a set of source frames.
13 The bias correction is applied in advanced calibration scheme only,
14 please refer to documentation about the calibration of CCD frames.
15
16 The source frames and the bias frame must be in the FITS format and of
17 same dimensions. The output file is written in the FITS format too.
18
20 Names of input files can be specified directly on a command-line as
21 command arguments; it is allowed to use the usual wildcard notation. In
22 case the input files are placed outside the working directory, you have
23 to specify the proper path relative to the current working directory.
24
25 Alternatively, you can also prepare a list of input file names in a
26 text file, each input file on a separate line. It is not allowed to use
27 the wildcard notation here. Use the -i option to instruct the program
28 to read the file.
29
31 By default, output files are stored to the current working directory.
32 Their names are derived from the command name followed by a sequential
33 number starting by 1. Command options allows a caller to modify the
34 default naming of output files:
35
36 The -o option sets the format string; it may contain a path where the
37 files shall be stored to. Special meaning has a sequence of question
38 marks, it is replaced by the ordinal number of a file indented by
39 leading zeros to the same number of decimal places as the number of the
40 question marks.
41
42 By means of the -i option, you can modify the initial value of a
43 counter.
44
45 On request, the program can write a list of output files to a text
46 file, use the -g option to specify a file name.
47
49 Options are used to provide extra information to customize the execu‐
50 tion of a command. They are specified as command arguments.
51
52 Each option has a full form starting with two dashes and an optional
53 short form starting with one dash only. Options are case-sensitive. It
54 is allowed to merge two or more successive short options together. Some
55 options require a value; in this case a value is taken from a subse‐
56 quent argument. When a full form is used, an option and its value can
57 also be separated by an equal sign. When a short form is used, its
58 value can immediately follow the option.
59
60 Whenever there is a conflict between a configuration file parameter and
61 an option of the same meaning, the option always take precedence.
62
63 -i, --read-dirfile filepath
64 read list of input files from specified file; see the Files sec‐
65 tion for details.
66
67 -g, --make-dirfile filepath
68 save list of output files to specified file, existing content of
69 the file will be overwritten; see the Files section for details.
70
71 -o, --output-mask mask
72 set output file mask (default=bout????.fts), see the Files sec‐
73 tion for details.
74
75 -c, --counter value
76 set initial counter value (default=1), see the Files section for
77 details.
78
79 -h, --help
80 print list of command-line parameters
81
82 -q, --quiet
83 quiet mode; suppress all messages
84
85 --version
86 print software version string
87
88 --licence
89 print software licence
90
91 --verbose
92 verbose mode; print debug messages
93
95 biasbat -oout.fts bias.fts in.fts
96 The command applies the bias correction to the input file in.fts
97 using the file bias.fts as a correction frame. The output is
98 written to the output file out.fts.
99
101 The command returns a zero exit status if it succeeds to process all
102 specified files. Otherwise, it will stop immediately when an error
103 occurs and a nonzero error code is returned.
104
106 http://c-munipack.sourceforge.net/
107
109 David Motl, dmotl@volny.cz
110
112 This program is free software; you can redistribute it and/or modify it
113 under the terms of the GNU General Public License version 2 as pub‐
114 lished by the Free Software Foundation.
115
116 This program is distributed in the hope that it will be useful, but
117 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
118 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
119 Public License for more details.
120
122 cmunipack(3), muniwin(1), meanbias(1), meandark(1), autoflat(1), dark‐
123 bat(1), flatbat(1), timebat(1), airmass(1), helcor(1), kombine(1),
124 konve(1), muniphot(1), munimatch(1), munilist(1)
125
126
127
128version 1.2.10 May 16, 2010 biasbat(1)