Coder Social home page Coder Social logo

pauleaster / postmerger_pe Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.63 MB

Starter files for parameter estimation of BNS postmerger remnants using Bilby

Python 99.55% Shell 0.45%
binary-neutron-stars postmerger-remnant parameter-estimation bilby bayesian-inference general-relativity equation-of-state hot-equation-of-state

postmerger_pe's Introduction

Postmerger PE code

To make this work you need to use Bilby version 0.5.6

pip install bilby==0.5.6

You also need to download the numerical-relativity simulation files that you want from:

https://core-gitlfs.tpi.uni-jena.de/core_database/

For instance, the code listed here used the SLy THC:0036:R03 simulation listed here:

https://core-gitlfs.tpi.uni-jena.de/core_database/THC_0036/-/tree/master/R03

and place the THC:0036:R03.tar file in the ./NRtars directory.

Also a dependency, tables, does not work with python 3.9 onwards. I have tested this with python 3.7.2.

Example script to run the python file is example_run.sh.

deltat0searchx10 sets the time delay, in units of 0.1ms, for the start of the waveform model after the merger time. For example if deltat0searchx10 = 10, then the waveform model won't start until 1ms after the merger time. Usually this is set to 0.

hfmaxfreqscale should usually be set to 0.5. When the frequency peaks are sorted by amplitude, the amplitude is usually measured as |H(f)|sqrt(f). Changing this value from 0.5 will result in |H(f)| * (f ** hfmaxfreqscale).

snr sets the postmerger snr.

Other default values are stored in the configuration file: nrexinspiral_2msstart.conf and any value can be overriden in the command line as shown in example_run.sh.

See https://arxiv.org/abs/2006.04396 for more details.

postmerger_pe's People

Contributors

pauleaster avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.