⚠️🐛 Bug Summary
Currently, the input of CLASSNonLinearPerturbations is given by
def __init__(
self,
background: Background,
linearperturbations: Optional[object],
redshifts: np.ndarray,
nonlinear_model: Optional[str] = None,
hmcode_version: Optional[str] = None,
):
which does not allow for the passing of the log10TAGN parameter, unlike in CAMBNonLinearPerturbations or HMemuNonLinearPerturbations.
🔗 Optional: Additional Context
Proposed solution:
Change the input of CLASSNonLinearPerturbations to match the others:
def __init__(
self,
background: Background,
linearperturbations: Optional[object],
redshifts: np.ndarray,
nonlinear_model: Optional[str] = None,
log10TAGN: Optional[float] = None,
):
and change the lines 477-478 to:
if log10TAGN is not None:
self.interface_args["CLASSparams"]["hmcode_version"] = "2020_baryonic_feedback"
self.interface_args["CLASSparams"]["log10T_heat_hmcode"] = log10TAGN
Currently, the input of CLASSNonLinearPerturbations is given by
which does not allow for the passing of the
log10TAGNparameter, unlike in CAMBNonLinearPerturbations or HMemuNonLinearPerturbations.🔗 Optional: Additional Context
Proposed solution:
Change the input of CLASSNonLinearPerturbations to match the others:
and change the lines 477-478 to: