Resolve "Consistency of constants between bilby and lalsuite"
1 unresolved thread
Closes #224 (closed)
Edited by Gregory Ashton
Merge request reports
Activity
changed milestone to %0.3.6
added Bug label
added 1 commit
- 0337f5ac - Update constants to the astropy constants and add tests
added 1 commit
- 95b139fa - Update the changelog and the likelihood values for tests
mentioned in commit ba927837
13 13 14 14 logger = logging.getLogger('bilby') 15 15 16 # Constants 17 16 18 speed_of_light = 299792458.0 # speed of light in m/s 19 parsec = 3.085677581 * 1e16 20 solar_mass = 1.98855 * 1e30 21 radius_of_earth = 6371 * 1e3 # metres 17 # Constants: values taken from astropy v3.0.4 18 speed_of_light = 299792458.0 # m/s @gregory.ashton perhaps change these to ALL CAPS?
Please register or sign in to reply