Page MenuHomec4science

Default_configurations.html
No OneTemporary

File Metadata

Created
Wed, Oct 2, 08:14

Default_configurations.html

<!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>Default configuration &mdash; pNbody v4 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: '4',
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="pNbody v4 documentation" href="../index.html" />
<link rel="up" title="Installation" href="Installation.html" />
<link rel="next" title="Default parameters" href="Default_parameters.html" />
<link rel="prev" title="Check the installation" href="Test_the_installation.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="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../np-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="Default_parameters.html" title="Default parameters"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="Test_the_installation.html" title="Check the installation"
accesskey="P">previous</a> |</li>
<li><a href="../index.html">pNbody v4 documentation</a> &raquo;</li>
<li><a href="Installation.html" accesskey="U">Installation</a> &raquo;</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="default-configuration">
<h1>Default configuration<a class="headerlink" href="#default-configuration" title="Permalink to this headline"></a></h1>
<p><strong>pNbody</strong> uses a set of parameters files, color tables and formats files.
These files are provided by the installation and are by default stored in
the directory <tt class="docutils literal"><span class="pre">site-packages/pNbody/config</span></tt>.
To display where these files are taken from, you can use the command:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">pNbody_show</span><span class="o">-</span><span class="n">path</span>
</pre></div>
</div>
<p>It is recommanded that the user uses its own configuration files. To be automatically
recongnized by <strong>pNbody</strong>, the latter must be in the user <tt class="docutils literal"><span class="pre">~/.pNbody</span></tt> directory.
<strong>pNbody</strong> provides a simple command to copy all parameters in this directory. Simply
type:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">pNbody_copy</span><span class="o">-</span><span class="n">defaultconfig</span>
</pre></div>
</div>
<p>and check the values of the new paths:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">pNbody_show</span><span class="o">-</span><span class="n">path</span>
</pre></div>
</div>
<p>You can now freely modify the files contains in the configuratio directory.</p>
<p>By default, the content of the configuration directory is:</p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="11%" />
<col width="67%" />
</colgroup>
<thead valign="bottom">
<tr><th class="head">name</th>
<th class="head">type</th>
<th class="head">Content</th>
</tr>
</thead>
<tbody valign="top">
<tr><td>defaultparameters</td>
<td>file</td>
<td>the default graphical parameters used by <strong>pNbody</strong></td>
</tr>
<tr><td>unitsparameters</td>
<td>file</td>
<td>the default units parameters used by <strong>pNbody</strong></td>
</tr>
<tr><td>formats</td>
<td>directory</td>
<td>specific class definition files used to read different file formats</td>
</tr>
<tr><td>rgb_tables</td>
<td>directory</td>
<td>color tables</td>
</tr>
<tr><td>plugins</td>
<td>directory</td>
<td>optional plugins</td>
</tr>
<tr><td>opt</td>
<td>directory</td>
<td>optional files</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../index.html">
<img class="logo" src="../_static/icon-small.jpg" alt="Logo"/>
</a></p>
<h4>Previous topic</h4>
<p class="topless"><a href="Test_the_installation.html"
title="previous chapter">Check the installation</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="Default_parameters.html"
title="next chapter">Default parameters</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/rst/Default_configurations.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<input type="text" name="q" size="18" />
<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="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../np-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="Default_parameters.html" title="Default parameters"
>next</a> |</li>
<li class="right" >
<a href="Test_the_installation.html" title="Check the installation"
>previous</a> |</li>
<li><a href="../index.html">pNbody v4 documentation</a> &raquo;</li>
<li><a href="Installation.html" >Installation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2011, Yves Revaz.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.4.
</div>
</body>
</html>

Event Timeline