Sophie

Sophie

distrib > Fedora > 15 > x86_64 > by-pkgid > 967d2ab22510ea682c2fd6fd5faeacb3 > files > 236

munipack-1.2.10-2.fc15.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
<html><head>
<link rel="stylesheet" type="text/css" href="cmunipack.css">
<title>timebat</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body><div class="main_head"><p class="head"><a href="index.html">C-Munipack 1.2</a> / <a href="node046.html">Command line tools</a> / <a href="node052.html">Toolkit reference</a></p><h1>timebat</h1></div><p>utility for time correction</p><h3>Synopsis</h3><p class="synopsis">timebat [ <i>options</i> ] <i>time-corr</i> <i>input-files</i> ...</p>
<h3>Description</h3><p>The <a href="timebat.html"><tt>timebat</tt></a> 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.</p><p>The source frames must be in the FITS format. The output file is in the FITS format too.</p><h3>Input files</h3><p>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.</p><p>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 <b>-i</b> option to instruct the program to read the file.</p><h3>Output files</h3><p>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:</p><p>The <b>-o</b> 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 file	indented by leading zeros to the same number of decimal places as the number of the question marks.</p><p>By means of the <b>-i</b> option, you can modify the initial value of a counter.</p><p>On request, the program can write a list of output files to a text file, use the <b>-g</b> option to specify a file name.</p><h3>Options</h3><p>Options are used to provide extra information to customize the execution of a command. They are specified as command arguments.</p><p>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.</p><p>Whenever there is a conflict between a configuration file parameter and an option of the same meaning, the option always take precedence.</p><dl><dt><b>-i</b>, <b>--read-dirfile</b> <i>filepath</i></dt><dd><p>read list of input files from specified file; see the Files section for details.</p></dd><dt><b>-g</b>, <b>--make-dirfile</b> <i>filepath</i></dt><dd><p>save list of output files to specified file, existing content of the file will be overwritten; see the Files section for details.</p></dd><dt><b>-o</b>, <b>--output-mask</b> <i>mask</i></dt><dd><p>set output file mask (default=<tt>tout????.fts</tt>), see the Files section for details.</p></dd><dt><b>-c</b>, <b>--counter</b> <i>value</i></dt><dd><p>set initial counter value (default=1), see the Files section for details.</p></dd><dt><b>-h</b>, <b>--help</b></dt><dd><p>print list of command-line parameters</p></dd><dt><b>-q</b>, <b>--quiet</b></dt><dd><p>quiet mode; suppress all messages</p></dd><dt><b>--version</b></dt><dd><p>print software version string</p></dd><dt><b>--licence</b></dt><dd><p>print software licence</p></dd><dt><b>--verbose</b></dt><dd><p>verbose mode; print debug messages</p></dd></dl><h3>Examples</h3><p><tt>timebat -oout.fts 43.512 in.fts</tt></p><p>The command shifts time of observation of CCD frame stored in the file <tt>in.fts</tt> by 43 seconds and 512 miliseconds to the future. The output is written to file <tt>out.fts</tt>.</p><h3>Exit status</h3><p>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.</p></body></html>