bilby.gw.detector.calibration.Recalibrate
- class bilby.gw.detector.calibration.Recalibrate(prefix='recalib_')[source]
Bases:
object
- __init__(prefix='recalib_')[source]
Base calibration object. This applies no transformation
- Parameters:
- prefix: str
Prefix on parameters relating to the calibration.
- __call__(*args, **kwargs)
Call self as a function.
Methods
__init__
([prefix])Base calibration object.
get_calibration_factor
(frequency_array, **params)Apply calibration model
set_calibration_parameters
(**params)Attributes
name
- get_calibration_factor(frequency_array, **params)[source]
Apply calibration model
This method should be overwritten by subclasses
- Parameters:
- frequency_array: array-like
The frequency values to calculate the calibration factor for.
- paramsdict
Dictionary of sampling parameters which includes calibration parameters.
- Returns:
- calibration_factorarray-like
The factor to multiply the strain by.