Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 79aa700fb313c8058f07224ec56386c7 > files > 884

munipack-2.0.8-2.mga4.x86_64.rpm



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>munimatch (command) &mdash; C-Munipack 2.0.8 documentation</title>
    
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '2.0.8',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="C-Munipack 2.0.8 documentation" href="index.html" />
    <link rel="up" title="Toolkit reference" href="toolkit_reference.html" />
    <link rel="next" title="muniphot (command)" href="muniphot_command.html" />
    <link rel="prev" title="munilist (command)" href="munilist_command.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="muniphot_command.html" title="muniphot (command)"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="munilist_command.html" title="munilist (command)"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">C-Munipack 2.0.8 documentation</a> &raquo;</li>
          <li><a href="command_line_tools.html" >Command line tools</a> &raquo;</li>
          <li><a href="toolkit_reference.html" accesskey="U">Toolkit reference</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <span class="target" id="index-0"></span><div class="section" id="munimatch-command">
<h1>munimatch (command)<a class="headerlink" href="#munimatch-command" title="Permalink to this headline">¶</a></h1>
<p>utility for finding matching photometry files</p>
<div class="section" id="synopsis">
<h2>Synopsis<a class="headerlink" href="#synopsis" title="Permalink to this headline">¶</a></h2>
<p>munimatch [ options ] <em>reference-file</em> <em>input-files</em> ...</p>
</div>
<div class="section" id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
<p>The <strong class="command">munimatch</strong> command finds corresponding stars in two photometry files.
One file is referred to as a reference file, the second one is called source file. The output of the matching
process is the photometry file, which the stars from source file is written in, but their order is changed,
so corresponding stars are on the same indexes in output and reference files. Instead of a reference file,
which is usually one frame from a sequence being processed, a catalog file in XML format can be used.</p>
<p>The source and output files have to be in photometry file format. The reference file should be in
photometry or catalog file format, optionally. If a set of files is processed, then the reference
file is common for all sources.</p>
</div>
<div class="section" id="input-files">
<span id="munimatch-input-files"></span><h2>Input files<a class="headerlink" href="#input-files" title="Permalink to this headline">¶</a></h2>
<p>Names of input files can be specified directly on a command-line as command arguments; it is allowed to use the
usual wild-card 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 wild-card notation here. Use the -i option to instruct the program to read the file.</p>
</div>
<div class="section" id="output-files">
<span id="munimatch-output-files"></span><h2>Output files<a class="headerlink" href="#output-files" title="Permalink to this headline">¶</a></h2>
<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 -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 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 -i 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 -g option
to specify a file name.</p>
</div>
<div class="section" id="options">
<h2>Options<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2>
<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 class="option">
<dt id="cmdoption-munimatch-s">
<tt class="descname">-s</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--set</tt><tt class="descclassname"> &lt;name=value&gt;</tt><a class="headerlink" href="#cmdoption-munimatch-s" title="Permalink to this definition">¶</a></dt>
<dd><p>set value of configuration parameter</p>
</dd></dl>

<dl class="option">
<dt id="cmdoption-munimatch-i">
<tt class="descname">-i</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--read-dirfile</tt><tt class="descclassname"> &lt;filepath&gt;</tt><a class="headerlink" href="#cmdoption-munimatch-i" title="Permalink to this definition">¶</a></dt>
<dd><p>read list of input files from specified file; see the <a class="reference internal" href="#munimatch-input-files"><em>Input files</em></a> section for details.</p>
</dd></dl>

<dl class="option">
<dt id="cmdoption-munimatch-g">
<tt class="descname">-g</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--make-dirfile</tt><tt class="descclassname"> &lt;filepath&gt;</tt><a class="headerlink" href="#cmdoption-munimatch-g" title="Permalink to this definition">¶</a></dt>
<dd><p>save list of output files to specified file, existing content of the file will be overwritten;
see the <a class="reference internal" href="#munimatch-output-files"><em>Output files</em></a> section for details.</p>
</dd></dl>

<dl class="option">
<dt id="cmdoption-munimatch-o">
<tt class="descname">-o</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--output-mask</tt><tt class="descclassname"> &lt;mask&gt;</tt><a class="headerlink" href="#cmdoption-munimatch-o" title="Permalink to this definition">¶</a></dt>
<dd><p>set output file mask (default=:file:<cite>%.mat</cite>), see the <a class="reference internal" href="#munimatch-output-files"><em>Output files</em></a> section for details.</p>
</dd></dl>

<dl class="option">
<dt id="cmdoption-munimatch-c">
<tt class="descname">-c</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--counter</tt><tt class="descclassname"> &lt;value&gt;</tt><a class="headerlink" href="#cmdoption-munimatch-c" title="Permalink to this definition">¶</a></dt>
<dd><p>set initial counter value (default=1), see the <a class="reference internal" href="#munimatch-output-files"><em>Output files</em></a> section for details.</p>
</dd></dl>

<dl class="option">
<dt id="cmdoption-munimatch-p">
<tt class="descname">-p</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--configuration-file</tt><tt class="descclassname"> &lt;filepath&gt;</tt><a class="headerlink" href="#cmdoption-munimatch-p" title="Permalink to this definition">¶</a></dt>
<dd><p>read parameters from given configuration file. See the <a class="reference internal" href="#munimatch-configuration-file"><em>Configuration file</em></a> section for
details.</p>
</dd></dl>

<dl class="option">
<dt id="cmdoption-munimatch-h">
<tt class="descname">-h</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--help</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-munimatch-h" title="Permalink to this definition">¶</a></dt>
<dd><p>print list of command-line parameters</p>
</dd></dl>

<dl class="option">
<dt id="cmdoption-munimatch-q">
<tt class="descname">-q</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--quiet</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-munimatch-q" title="Permalink to this definition">¶</a></dt>
<dd><p>quiet mode; suppress all messages</p>
</dd></dl>

<dl class="option">
<dt id="cmdoption-munimatch--version">
<tt class="descname">--version</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-munimatch--version" title="Permalink to this definition">¶</a></dt>
<dd><p>print software version string</p>
</dd></dl>

<dl class="option">
<dt id="cmdoption-munimatch--licence">
<tt class="descname">--licence</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-munimatch--licence" title="Permalink to this definition">¶</a></dt>
<dd><p>print software licence</p>
</dd></dl>

<dl class="option">
<dt id="cmdoption-munimatch--verbose">
<tt class="descname">--verbose</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-munimatch--verbose" title="Permalink to this definition">¶</a></dt>
<dd><p>verbose mode; print debug messages</p>
</dd></dl>

</div>
<div class="section" id="configuration-file">
<span id="munimatch-configuration-file"></span><h2>Configuration file<a class="headerlink" href="#configuration-file" title="Permalink to this headline">¶</a></h2>
<p>Configuration files are used to set the input parameters to the process that is going to be executed by a command.
Use the -p option to instruct the program to read the file before other command-line options are processed.</p>
<p>The configuration file consists of a set of parameters stored in a text file. Each parameter is stored on a separate
line in the following form: name = value, all other lines are silently ignored. Parameter names are case-sensitive.</p>
<dl class="confval">
<dt id="confval-max_stars=value">
<tt class="descname">max_stars =  value</tt><a class="headerlink" href="#confval-max_stars=value" title="Permalink to this definition">¶</a></dt>
<dd><p>Max. number of input stars</p>
</dd></dl>

<dl class="confval">
<dt id="confval-vertices=value">
<tt class="descname">vertices =  value</tt><a class="headerlink" href="#confval-vertices=value" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of polygon vertices</p>
</dd></dl>

<dl class="confval">
<dt id="confval-clip_thresh=value">
<tt class="descname">clip_thresh =  value</tt><a class="headerlink" href="#confval-clip_thresh=value" title="Permalink to this definition">¶</a></dt>
<dd><p>Clipping threshold</p>
</dd></dl>

<dl class="confval">
<dt id="confval-sp_fields=value">
<tt class="descname">sp_fields =  value</tt><a class="headerlink" href="#confval-sp_fields=value" title="Permalink to this definition">¶</a></dt>
<dd><p>Matching method</p>
</dd></dl>

<dl class="confval">
<dt id="confval-sp_maxoffset=value">
<tt class="descname">sp_maxoffset =  value</tt><a class="headerlink" href="#confval-sp_maxoffset=value" title="Permalink to this definition">¶</a></dt>
<dd><p>Max. offset for sparse fields</p>
</dd></dl>

</div>
<div class="section" id="examples">
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
<div class="highlight-python"><pre>munimatch -oout.mat ref.pht in.pht</pre>
</div>
<p>The command matches file <tt class="file docutils literal"><span class="pre">in.pht</span></tt> as a source file and <tt class="file docutils literal"><span class="pre">ref.pht</span></tt>
as reference file and the writes output to <tt class="file docutils literal"><span class="pre">out.mat</span></tt>.</p>
</div>
<div class="section" id="exit-status">
<h2>Exit status<a class="headerlink" href="#exit-status" title="Permalink to this headline">¶</a></h2>
<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>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">munimatch (command)</a><ul>
<li><a class="reference internal" href="#synopsis">Synopsis</a></li>
<li><a class="reference internal" href="#description">Description</a></li>
<li><a class="reference internal" href="#input-files">Input files</a></li>
<li><a class="reference internal" href="#output-files">Output files</a></li>
<li><a class="reference internal" href="#options">Options</a></li>
<li><a class="reference internal" href="#configuration-file">Configuration file</a></li>
<li><a class="reference internal" href="#examples">Examples</a></li>
<li><a class="reference internal" href="#exit-status">Exit status</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="munilist_command.html"
                        title="previous chapter">munilist (command)</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="muniphot_command.html"
                        title="next chapter">muniphot (command)</a></p>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="muniphot_command.html" title="muniphot (command)"
             >next</a> |</li>
        <li class="right" >
          <a href="munilist_command.html" title="munilist (command)"
             >previous</a> |</li>
        <li><a href="index.html">C-Munipack 2.0.8 documentation</a> &raquo;</li>
          <li><a href="command_line_tools.html" >Command line tools</a> &raquo;</li>
          <li><a href="toolkit_reference.html" >Toolkit reference</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2012, David Motl.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>