Skip to content
Snippets Groups Projects

Resolve "parameterized eos sampling"

Merged Matthew Carney requested to merge matthew.carney/bilby:369-eos-sampling into master
Compare and Show latest version
2 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
4
@@ -19,11 +19,11 @@ try:
MSUN_SI = const.M_sun.si.value
# Stores conversions from geometerized to cgs or si unit systems
conversion_dict = {'p': {'cgs': C_CGS ** 4. / G_CGS, 'si': C_SI ** 4. / G_SI, 'geom': 1.},
'e': {'cgs': C_CGS ** 4. / G_CGS, 'si': C_SI ** 4. / G_SI, 'geom': 1.},
'rho': {'cgs': C_CGS ** 2. / G_CGS, 'si': C_SI ** 2. / G_SI, 'geom': 1.},
conversion_dict = {'p': {'cgs': C_SI ** 4. / G_SI * 10., 'si': C_SI ** 4. / G_SI, 'geom': 1.},
'e': {'cgs': C_SI ** 4. / G_SI * 10., 'si': C_SI ** 4. / G_SI, 'geom': 1.},
'rho': {'cgs': C_SI ** 2. / G_SI / 1000., 'si': C_SI ** 2. / G_SI, 'geom': 1.},
'h': {'dimensionless': 1.},
'm': {'g': C_CGS ** 2. / G_CGS, 'kg': C_SI ** 2. / G_SI, 'geom': 1.,
'm': {'g': C_SI ** 2. / G_SI * 1000, 'kg': C_SI ** 2. / G_SI, 'geom': 1.,
'm_sol': C_SI ** 2. / G_SI / MSUN_SI},
'r': {'cm': 100., 'm': 1., 'km': .001},
'l': {'geom': 1.}}
Loading