brinckmann / montepython_public

Public repository for the Monte Python Code
MIT License
93 stars 77 forks source link

Precision settings #297

Closed stefanmarinus closed 9 months ago

stefanmarinus commented 1 year ago

Can precision settings as e.g. "perturb_integration_stepsize" be changed within the .ini file? Where can the standard internal precision settings of montepython be found?

brinckmann commented 1 year ago

Hi Stefan,

Any parameter in CLASS can be passed as a cosmo argument in the param file, e..g in this case data.cosmo_argumeents['perturbations_integration_stepsize'] = 0.5

I'm not sure what you mean by standard internal precision settings of montepython? Do you mean the CLASS precision settings? The default values are set in CLASS in your_class_directory/include/precisions.h not in MontePython, but can be changed from MontePython in the aforementioned way, similar to how you can change them in an ini file.

Best, Thejs