lucabaldini / pyxpe

Python utilities for the X-ray Polarimetry Explorers
GNU General Public License v3.0
0 stars 0 forks source link

define MOLAR_VOLUME temperature for simulation #9

Open csgro opened 8 years ago

csgro commented 8 years ago

This quantity is used for density calculation. Original value is set to 22414. which is valid at 0C (and gives density in g/cm3, related to issue #5). According to https://en.wikipedia.org/wiki/Molar_volume (or a basic physics text book) the formula is 0.082057338[L atm K-1 mol-1]*(273.15 + T)[K]/1[atm] with T the right temperature.

So the right value for e.g. 25C is 24465.395, and for 20C is 24055.1