<spanid="the-param-module"></span><h1>the param module<aclass="headerlink"href="#module-pNbody.param"title="Permalink to this headline">¶</a></h1>
<dlclass="class">
<dtid="pNbody.param.Params">
<emclass="property">class </em><ttclass="descclassname">pNbody.param.</tt><ttclass="descname">Params</tt><big>(</big><em>filename</em>, <em>master</em><big>)</big><aclass="headerlink"href="#pNbody.param.Params"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get</tt><big>(</big><em>name</em><big>)</big><aclass="headerlink"href="#pNbody.param.Params.get"title="Permalink to this definition">¶</a></dt>
<dd><p>return the value of a parameter</p>
</dd></dl>
<dlclass="method">
<dtid="pNbody.param.Params.get_dic">
<ttclass="descname">get_dic</tt><big>(</big><big>)</big><aclass="headerlink"href="#pNbody.param.Params.get_dic"title="Permalink to this definition">¶</a></dt>
<dd><p>return values of parameters in a dictionary</p>
</dd></dl>
<dlclass="method">
<dtid="pNbody.param.Params.get_string">
<ttclass="descname">get_string</tt><big>(</big><em>name</em><big>)</big><aclass="headerlink"href="#pNbody.param.Params.get_string"title="Permalink to this definition">¶</a></dt>
<dd><p>return the value of a parameter in a string</p>
</dd></dl>
<dlclass="method">
<dtid="pNbody.param.Params.get_type">
<ttclass="descname">get_type</tt><big>(</big><em>name</em><big>)</big><aclass="headerlink"href="#pNbody.param.Params.get_type"title="Permalink to this definition">¶</a></dt>
<dd><p>return the type of a parameter</p>
</dd></dl>
<dlclass="method">
<dtid="pNbody.param.Params.lists">
<ttclass="descname">lists</tt><big>(</big><big>)</big><aclass="headerlink"href="#pNbody.param.Params.lists"title="Permalink to this definition">¶</a></dt>
<dd><p>print the list of the content of the class</p>
</dd></dl>
<dlclass="method">
<dtid="pNbody.param.Params.save">
<ttclass="descname">save</tt><big>(</big><em>filename=None</em><big>)</big><aclass="headerlink"href="#pNbody.param.Params.save"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><aclass="headerlink"href="#pNbody.param.Params.set"title="Permalink to this definition">¶</a></dt>
<dd><p>set the value of a parameter</p>
</dd></dl>
</dd></dl>
<dlclass="function">
<dtid="pNbody.param.read_ascii_value">
<ttclass="descclassname">pNbody.param.</tt><ttclass="descname">read_ascii_value</tt><big>(</big><em>value</em>, <em>tpe</em>, <em>name</em><big>)</big><aclass="headerlink"href="#pNbody.param.read_ascii_value"title="Permalink to this definition">¶</a></dt>
<dd><p>from a name and type, return
an object corresponding to the value given</p>
</dd></dl>
<dlclass="function">
<dtid="pNbody.param.write_ascii_value">
<ttclass="descclassname">pNbody.param.</tt><ttclass="descname">write_ascii_value</tt><big>(</big><em>value</em>, <em>tpe</em>, <em>name</em><big>)</big><aclass="headerlink"href="#pNbody.param.write_ascii_value"title="Permalink to this definition">¶</a></dt>