Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79122378
Default_parameters.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Aug 24, 21:02
Size
9 KB
Mime Type
text/html
Expires
Mon, Aug 26, 21:02 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20153572
Attached To
rPNBODY pNbody
Default_parameters.html
View Options
<!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 parameters
—
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=
"Examples"
href=
"Examples.html"
/>
<link
rel=
"prev"
title=
"Default configuration"
href=
"Default_configurations.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=
"Examples.html"
title=
"Examples"
accesskey=
"N"
>
next
</a>
|
</li>
<li
class=
"right"
>
<a
href=
"Default_configurations.html"
title=
"Default configuration"
accesskey=
"P"
>
previous
</a>
|
</li>
<li><a
href=
"../index.html"
>
pNbody v4 documentation
</a>
»
</li>
<li><a
href=
"Installation.html"
accesskey=
"U"
>
Installation
</a>
»
</li>
</ul>
</div>
<div
class=
"document"
>
<div
class=
"documentwrapper"
>
<div
class=
"bodywrapper"
>
<div
class=
"body"
>
<div
class=
"section"
id=
"default-parameters"
>
<h1>
Default parameters
<a
class=
"headerlink"
href=
"#default-parameters"
title=
"Permalink to this headline"
>
¶
</a></h1>
<p>
To see what default parameters
<strong>
pNbody
</strong>
uses, type:
</p>
<div
class=
"highlight-python"
><div
class=
"highlight"
><pre><span
class=
"n"
>
pNbody_show
</span><span
class=
"o"
>
-
</span><span
class=
"n"
>
parameters
</span>
</pre></div>
</div>
<p>
The script returns the parameters taken from the files
<em>
defaultparameters
</em>
and
<em>
unitsparameters
</em>
.
Their current values are displayed:
</p>
<div
class=
"highlight-python"
><pre>
parameters in /home/leo/local/lib/python2.6/site-packages/pNbody/config/defaultparameters
----------------------------------------------------------------------------------------------------
name meaning value (type)
----------------------------------------------------------------------------------------------------
obs : observer = None (ArrayObs)
xp : observing position = None (List)
x0 : position of observer = None (List)
alpha : angle of the head = None (Float)
view : view = xz (String)
r_obs : dist. to the observer = 201732.223771 (Float)
clip : clip planes = (100866.11188556443, 403464.44754225772) (Tuple)
cut : cut clip planes = no (String)
eye : name of the eye = None (String)
dist_eye : distance between eyes = -0.0005 (Float)
foc : focal = 300.0 (Float)
persp : perspective = off (String)
shape : shape of the image = (512, 512) (Tuple)
size : pysical size = (6000, 6000) (Tuple)
frsp : frsp = 0.0 (Float)
space : space = pos (String)
mode : mode = m (String)
rendering : rendering mode = map (String)
filter_name : name of the filter = None (String)
filter_opts : filter options = [10, 10, 2, 2] (List)
scale : scale = log (String)
cd : cd = 0.0 (Float)
mn : mn = 0.0 (Float)
mx : mx = 0.0 (Float)
l_n : number of levels = 15 (Int)
l_min : min level = 0.0 (Float)
l_max : max level = 0.0 (Float)
l_kx : l_kx = 10 (Int)
l_ky : l_ky = 10 (Int)
l_color : level color = 0 (Int)
l_crush : crush background = no (String)
b_weight : box line weight = 0 (Int)
b_xopts : x axis options = None (Tuple)
b_yopts : y axis options = None (Tuple)
b_color : line color = 255 (Int)
parameters in /home/leo/local/lib/python2.6/site-packages/pNbody/config/unitsparameters
----------------------------------------------------------------------------------------------------
name meaning value (type)
----------------------------------------------------------------------------------------------------
xi : hydrogen mass fraction = 0.76 (Float)
ionisation : ionisation flag = 1 (Int)
metalicity : metalicity index = 4 (Int)
Nsph : number of sph neighbors = 50 (Int)
gamma : adiabatic index = 1.66666666667 (Float)
coolingfile : Cooling file = ~/.Nbody/cooling.dat (String)
HubbleParam : HubbleParam = 1.0 (Float)
UnitLength_in_cm : UnitLength in cm = 3.085e+21 (Float)
UnitMass_in_g : UnitMass in g = 4.435693e+44 (Float)
UnitVelocity_in_cm_per_s : UnitVelocity in cm per s = 97824708.2699 (Float)
</pre>
</div>
</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=
"Default_configurations.html"
title=
"previous chapter"
>
Default configuration
</a></p>
<h4>
Next topic
</h4>
<p
class=
"topless"
><a
href=
"Examples.html"
title=
"next chapter"
>
Examples
</a></p>
<h3>
This Page
</h3>
<ul
class=
"this-page-menu"
>
<li><a
href=
"../_sources/rst/Default_parameters.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=
"Examples.html"
title=
"Examples"
>
next
</a>
|
</li>
<li
class=
"right"
>
<a
href=
"Default_configurations.html"
title=
"Default configuration"
>
previous
</a>
|
</li>
<li><a
href=
"../index.html"
>
pNbody v4 documentation
</a>
»
</li>
<li><a
href=
"Installation.html"
>
Installation
</a>
»
</li>
</ul>
</div>
<div
class=
"footer"
>
©
Copyright 2011, Yves Revaz.
Created using
<a
href=
"http://sphinx.pocoo.org/"
>
Sphinx
</a>
1.0.4.
</div>
</body>
</html>
Event Timeline
Log In to Comment