Coder Social home page Coder Social logo

teobresums_bilby's Introduction

eobresum_bilby

Thin wrapper around the 'eccentric' branch of https://bitbucket.org/eob_ihes/teobresums/src/master/ which allows compatibility with Bilby https://git.ligo.org/lscsoft/bilby.

The functions defined are:

eccentric_binary_black_hole_eob_resum_nonspinning satisfies the interface for a frequency_domain_source_model used by Bilby's waveform generators. Takes extra keyword arguments of 'TimeDomain' or 'FrequencyDomain', and any keyword arguments used by EOBResum, e.g. ode_abstol, ode_reltol, use_mode_lm

eccentric_binary_black_hole_eob_resum_aligned_spin The same function which allows aligned spins.

native_frequency_domain Uses the frequency domain model provided by EOBResum NOT RECOMMENDED, doesn't seem to produce correct waveforms.

fourier_transform_time_domain Uses time domain model provided by EOBResum and fourier transforms the result before returning to Bilby.

time_domain_eob_resum: Produces time domain EOBResum waveforms.

Example:

kwargs = {'ode_abstol': 1e-10, 
          'ode_reltol': 1e-9, 
          'use_mode_lm': [1] #(2,2) mode
          }

hp, hx = time_domain_eob_resum(dt = 2048., minimum_frequency=15, mass_1=30., mass_2=30, eccentricity=0.1, luminosity_distance=500, theta_jn = 0., phase=0., 
                              chi_1 = 0.1, chi_2 = -0.2, **kwargs)

teobresums_bilby's People

Contributors

osheamonn avatar md-arif-shaikh 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.