<tt class="descclassname">pNbody.ic.</tt><tt class="descname">dl2</tt><big>(</big><em>n</em>, <em>a</em>, <em>b</em>, <em>c</em>, <em>eps</em>, <em>rmax</em>, <em>name='dl2.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.dl2" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an Nbody object that contains n particules distributed as</p>
<p>rho = (1.-eps*(r/rmax)**2)</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.dl2_mr">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">dl2_mr</tt><big>(</big><em>r</em>, <em>args</em><big>)</big><a class="headerlink" href="#pNbody.ic.dl2_mr" title="Permalink to this definition">¶</a></dt>
<dd><p>Mass in the radius r for the distribution</p>
<p>rho = (1.-eps*(r/rmax)**2)</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.expd">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">expd</tt><big>(</big><em>n</em>, <em>Hr</em>, <em>Hz</em>, <em>Rmax</em>, <em>Zmax</em>, <em>irand=1</em>, <em>name='expd.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.expd" title="Permalink to this definition">¶</a></dt>
<dd><p>Exonential disk</p>
<p>rho = 1/(1+(r/rc)**2)</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.expd_mr">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">expd_mr</tt><big>(</big><em>r</em>, <em>args</em><big>)</big><a class="headerlink" href="#pNbody.ic.expd_mr" title="Permalink to this definition">¶</a></dt>
<dd><p>Mass in the radius r for the distribution</p>
<p>Sigma = epx(-r)</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.generic2c">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">generic2c</tt><big>(</big><em>n</em>, <em>rs</em>, <em>a</em>, <em>b</em>, <em>Rmax</em>, <em>dR</em>, <em>Rs=None</em>, <em>name='nfwg.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.generic2c" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an Nbody object that contains n particules following
an nfw modifed profile.</p>
<p>rho = 1/( (r/rs)**a * (1+r/rs)**(b-a) )</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.generic_Mr">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">generic_Mr</tt><big>(</big><em>n</em>, <em>rmax</em>, <em>R=None</em>, <em>Mr=None</em>, <em>name='sphere_Mr.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.generic_Mr" title="Permalink to this definition">¶</a></dt>
<dd><p>Distribute particles in order to reproduce M(R) given by Mr</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.generic_Mx">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">generic_Mx</tt><big>(</big><em>n</em>, <em>xmax</em>, <em>x=None</em>, <em>Mx=None</em>, <em>name='box_Mx.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.generic_Mx" title="Permalink to this definition">¶</a></dt>
<dd><p>Distribute particles in a box. The density in x is defined in order to reproduce M(x) given by Mx</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.generic_alpha">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">generic_alpha</tt><big>(</big><em>n</em>, <em>a</em>, <em>e</em>, <em>rmax</em>, <em>irand=1</em>, <em>fct=None</em>, <em>name='generic_alpha.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.generic_alpha" title="Permalink to this definition">¶</a></dt>
<dd><p>Generic alpha distribution : rho ~ (r+e)^a</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.hernquist">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">hernquist</tt><big>(</big><em>n</em>, <em>rs</em>, <em>Rmax</em>, <em>dR</em>, <em>Rs=None</em>, <em>name='hernquist.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.hernquist" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an Nbody object that contains n particules following
a hernquist modifed profile.</p>
<p>rho = 1/( (r/rs) * (1+r/rs)**3 )</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.homodisk">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">homodisk</tt><big>(</big><em>n</em>, <em>a</em>, <em>b</em>, <em>dz</em>, <em>name='homodisk.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.homodisk" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an Nbody object that contains n particules distributed
in an homogeneous oval of radius a and b, and of thickness dz.</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.homosphere">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">homosphere</tt><big>(</big><em>n</em>, <em>a</em>, <em>b</em>, <em>c</em>, <em>name='homosphere.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.homosphere" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an Nbody object that contains n particules distributed
in an homogeneous triaxial sphere of axis a,b,c.</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.invert">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">invert</tt><big>(</big><em>x</em>, <em>rmin</em>, <em>rmax</em>, <em>fct</em>, <em>args</em>, <em>eps=1e-10</em><big>)</big><a class="headerlink" href="#pNbody.ic.invert" title="Permalink to this definition">¶</a></dt>
<dd><p>return vector r that corresponds to
fct(r,args)=x
This routine uses a simple bissector algorithm</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.isothm">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">isothm</tt><big>(</big><em>n</em>, <em>rc</em>, <em>rmax</em>, <em>name='isothm.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.isothm" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an Nbody object that contains n particules distributed as</p>
<p>rho = 1/(1+r/rc)**2</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.isothm_mr">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">isothm_mr</tt><big>(</big><em>r</em>, <em>args</em><big>)</big><a class="headerlink" href="#pNbody.ic.isothm_mr" title="Permalink to this definition">¶</a></dt>
<dd><p>Mass in the radius r for the distribution</p>
<p>rho = 1/(1+r/rc)**2</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.kuzmin">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">kuzmin</tt><big>(</big><em>n</em>, <em>eps</em>, <em>dz</em>, <em>name='kuzmin.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.kuzmin" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an Nbody object that contains n particules distributed
in a kuzmin (infinitely thin) disk</p>
<p>rho = eps*M/(2*pi*(R**2+eps**2)**(3/2))</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.miyamoto_nagai">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">miyamoto_nagai</tt><big>(</big><em>n</em>, <em>a</em>, <em>b</em>, <em>Rmax</em>, <em>Zmax</em>, <em>irand=1</em>, <em>fct=None</em>, <em>fRmax=0</em>, <em>name='miyamoto.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.miyamoto_nagai" title="Permalink to this definition">¶</a></dt>
<dd><p>Miyamoto Nagai distribution</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.nfw">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">nfw</tt><big>(</big><em>n</em>, <em>rs</em>, <em>Rmax</em>, <em>dR</em>, <em>Rs=None</em>, <em>name='nfw.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.nfw" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an Nbody object that contains n particules following
an nfw profile.</p>
<p>rho = 1/[ (r/rs)(1+r/rs)^2 ]</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.nfw_mr">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">nfw_mr</tt><big>(</big><em>r</em>, <em>args</em><big>)</big><a class="headerlink" href="#pNbody.ic.nfw_mr" title="Permalink to this definition">¶</a></dt>
<dd><p>Mass in the radius r for the nfw distribution</p>
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">pisothm</tt><big>(</big><em>n</em>, <em>rc</em>, <em>rmax</em>, <em>rmin=0</em>, <em>name='pisothm.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.pisothm" title="Permalink to this definition">¶</a></dt>
<dd><p>Pseudo-isothermal sphere
Mass in the radius r for the distribution</p>
<p>rho = 1/(1+(r/rc)**2)</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.pisothm_mr">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">pisothm_mr</tt><big>(</big><em>r</em>, <em>args</em><big>)</big><a class="headerlink" href="#pNbody.ic.pisothm_mr" title="Permalink to this definition">¶</a></dt>
<dd><p>Mass in the radius r for the distribution</p>
<p>rho = 1/(1+(r/rc)**2)</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.plummer">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">plummer</tt><big>(</big><em>n</em>, <em>a</em>, <em>b</em>, <em>c</em>, <em>eps</em>, <em>rmax</em>, <em>M=1.0</em>, <em>vel='no'</em>, <em>name='plummer.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.plummer" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an Nbody object that contains n particules distributed
in a triaxial plummer model of axis a,b,c and core radius eps
and max radius of rmax.</p>
<p>rho = (1.+(r/eps)**2)**(-5/2)</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.ic.shell">
<tt class="descclassname">pNbody.ic.</tt><tt class="descname">shell</tt><big>(</big><em>n</em>, <em>r</em>, <em>name='cell.dat'</em>, <em>ftype='binary'</em>, <em>verbose=False</em><big>)</big><a class="headerlink" href="#pNbody.ic.shell" title="Permalink to this definition">¶</a></dt>