Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Autres versions - même langue

Version: 372265 (fedora - 01/12/10)

Section: 1 (Commandes utilisateur)


timebat - utility for time correction


timebat [ options ] time-corr input-files ...


The timebat command applies time correction to a set of source frames. It means, that it adds given amount of time to the times of observation. The program does not touch neither the image data nor other parameters in header.

The source frames must be in the FITS format. The output file is in the FITS format too.


Names of input files can be specified directly on a command-line as command arguments; it is allowed to use the usual wildcard notation. In case the input files are placed outside the working directory, you have to specify the proper path relative to the current working directory.

Alternatively, you can also prepare a list of input file names in a text file, each input file on a separate line. It is not allowed to use the wildcard notation here. Use the -i option to instruct the program to read the file.


By default, output files are stored to the current working directory. Their names are derived from the command name followed by a sequential number starting by 1. Command options allows a caller to modify the default naming of output files:

The -o option sets the format string; it may contain a path where the files shall be stored to. Special meaning has a sequence of question marks, it is replaced by the ordinal number of a fileindented by leading zeros to the same number of decimal places as the number of the question marks.

By means of the -i option, you can modify the initial value of a counter.

On request, the program can write a list of output files to a text file, use the -g option to specify a file name.


Options are used to provide extra information to customize the execution of a command. They are specified as command arguments.

Each option has a full form starting with two dashes and an optional short form starting with one dash only. Options are case-sensitive. It is allowed to merge two or more successive short options together. Some options require a value; in this case a value is taken from a subsequent argument. When a full form is used, an option and its value can also be separated by an equal sign. When a short form is used, its value can immediately follow the option.

Whenever there is a conflict between a configuration file parameter and an option of the same meaning, the option always take precedence.

-i, --read-dirfile filepath
read list of input files from specified file; see the Files section for details.
-g, --make-dirfile filepath
save list of output files to specified file, existing content of the file will be overwritten; see the Files section for details.
-o, --output-mask mask
set output file mask (default=tout????.fts), see the Files section for details.
-c, --counter value
set initial counter value (default=1), see the Files section for details.
-h, --help
print list of command-line parameters
-q, --quiet
quiet mode; suppress all messages
print software version string
print software licence
verbose mode; print debug messages


timebat -oout.fts 43.512 in.fts
The command shifts time of observation of CCD frame stored in the file in.fts by 43 seconds and 512 miliseconds to the future. The output is written to file out.fts.


The command returns a zero exit status if it succeeds to process all specified files. Otherwise, it will stop immediately when an error occurs and a nonzero error code is returned.



David Motl,


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.


cmunipack(3), muniwin(1), meanbias(1), meandark(1), autoflat(1), biasbat(1), darkbat(1), flatbat(1), airmass(1), helcor(1), kombine(1), konve(1), muniphot(1), munimatch(1), munilist(1)
Il est plus difficile de bien faire l'amour que de bien faire la guerre.
-+- Anne, dite Ninon de Lenclos -+-