Skip to content

Convert calibration prior envelopes to CalibrationDict object

Charlie Hoy requested to merge calibration_prior into master

The purpose of this MR is to fix an issue that @leila.haegel raised offline. The calibration prior envelopes f.priors["calibration"][label] are now CalibrationDict objects which means that errors such as:

>>> f.priors["calibration"]["C01:IMRPhenomPv3HM"].detectors
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'dict' object has no attribute 'detectors'

Are no longer raised.

Merge request reports

Loading