firecrown.likelihood.supernova
Supernova statistic support.
Attributes
Classes
A statistic representing the distance modulus for a single supernova. |
Module Contents
- firecrown.likelihood.supernova.SNIA_DEFAULT_M = -19.2
- class firecrown.likelihood.supernova.Supernova(sacc_tracer)[source]
Bases:
firecrown.likelihood.statistic.Statistic
A statistic representing the distance modulus for a single supernova.
This statistic that applies an additive shift M to a supernova’s distance modulus.
- Parameters:
sacc_tracer (str)
- sacc_tracer
- data_vector: None | firecrown.data_types.DataVector = None
- a: None | numpy.typing.NDArray[numpy.float64] = None
- M
- read(sacc_data)[source]
Read the data for this statistic from the SACC file.
- Parameters:
sacc_data (sacc.Sacc) – The data in the sacc format.
- Return type:
None