LALSimulation  5.4.0.1-ec27e42
lalsimulation.nrfits.nrfits.NRFits Class Reference

Detailed Description

Base class for Numerical Relativity fits such as remnant BH mass, spin, etc.

Vijay Varma, 2019.

Base class to evaluate NR fits.

For each new fit, you need to do the following:

  1. Add a new derived class for this class in a separate file and add the new class to fits_collection in eval_fits.py.
  2. override _get_fit_params() and _eval_fit() in the new derived class.
  3. Add the new filename to Makefile.am

See NRSur7dq4Remnant.py for an example.

Definition at line 19 of file nrfits.py.

Inherits object.

Inherited by lalsimulation.nrfits.NRSur3dq8Remnant.NRSur3dq8Remnant, and lalsimulation.nrfits.NRSur7dq4Remnant.NRSur7dq4Remnant.

Public Member Functions

def __call__ (self, m1, m2, chiA_vec, chiB_vec, f_ref, fit_types_list, extra_params_dict)
 Evaluates all fits given in fit_types_list and returns them as a dictionary. More...
 

Member Function Documentation

◆ __call__()

def lalsimulation.nrfits.nrfits.NRFits.__call__ (   self,
  m1,
  m2,
  chiA_vec,
  chiB_vec,
  f_ref,
  fit_types_list,
  extra_params_dict 
)

Evaluates all fits given in fit_types_list and returns them as a dictionary.

See eval_fits.eval_nrfit() for the definitions of the arguments of this function.

Definition at line 52 of file nrfits.py.