02.02.2014 Views

SPEX User's Manual - SRON

SPEX User's Manual - SRON

SPEX User's Manual - SRON

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.8 Distance: set the source distance 21<br />

Abbrevation<br />

spex<br />

m<br />

au<br />

ly<br />

pc<br />

kpc<br />

mpc<br />

z<br />

cz<br />

Table 2.3: <strong>SPEX</strong> distance units<br />

Unit<br />

internal <strong>SPEX</strong> units of 10 22 m (this is the default)<br />

meter<br />

Astronomical Unit, 1.49597892 10 11 m<br />

lightyear, 9.46073047 10 15 m<br />

parsec, 3.085678 10 16 m<br />

kpc, kiloparsec, 3.085678 10 19 m<br />

Mpc, Megaparsec, 3.085678 10 22 m<br />

redshift units for the given cosmological parameters<br />

recession velocity in km/s for the given cosmological parameters<br />

The default unit of 10 22 m is internally used in all calculations in <strong>SPEX</strong>. The reason is that with<br />

this scaling all calculations ranging from solar flares to clusters of galaxies can be done with<br />

single precision arithmetic, without causing underflow or overflow. For the last two units (z and<br />

cz), it is necessary to specify a cosmological model. Currently this model is simply described by<br />

H 0 , Ω m (matter density), Ω Λ (cosmological constant related density), and Ω r (radiation density).<br />

At startup, the values are:<br />

H 0 : 70 km/s/Mpc ,<br />

Ω m : 0.3 ,<br />

Ω Λ : 0.7 ,<br />

Ω r : 0.0<br />

i.e. a flat model with cosmological constant. However, the user can specify other values of the<br />

cosmological parameters. Note that the distance is in this case the luminosity distance.<br />

Note that the previous defaults for <strong>SPEX</strong> (H 0 = 50, q 0 = 0.5) can be obtained by putting<br />

H 0 = 50, Ω m = 1, Ω Λ = 0 and Ω r = 0.<br />

Warning: when H 0 or any of the Ω is changed, the luminosity distance will not change, but the<br />

equivalent redshift of the source is adjusted. For example, setting the distance first to z=1 with<br />

the default H 0 =70 km/s/Mpc results into a distance of 2.03910 26 m. When H 0 is then changed<br />

to 100 km/s/Mpc, the distance is still 2.16810 26 m, but the redshift is adjusted to 1.3342.<br />

Warning: In the output also the light travel time is given. This should not be confused with<br />

the (luminosity) distance in light years, which is simply calculated from the luminosity distance<br />

in m!<br />

Syntax<br />

The following syntax rules apply to setting the distance:<br />

distance [sector #i:] #r [#a] - set the distance to the value #r in the unit #a. This optional<br />

distance unit may be omittted. In that case it is assumed that the distance unit is the default<br />

<strong>SPEX</strong> unit of 10 22 m. The distance is set for the sky sector range #i:. When the optional sector<br />

range is omitted, the distance is set for all sectors.<br />

distance show - displays the distance in various units for all sectors.<br />

distance h0 #r - sets the Hubble constant H 0 to the value #r.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!