firecrown icon indicating copy to clipboard operation
firecrown copied to clipboard

Passing higher precision settings from CCL

Open elisachisari opened this issue 2 years ago • 3 comments

We would like to make firecrown take higher precision settings for CCL; e.g., https://ccl.readthedocs.io/en/latest/source/notation_and_other_cosmological_conventions.html. How can those be passed smoothly to firecrown?

elisachisari avatar Oct 18 '23 09:10 elisachisari

This seems related to #55

elisachisari avatar Oct 18 '23 09:10 elisachisari

In the current setup, you can modify these parameters by adjusting the corresponding pyccl class properties within likelihood factory function. This ensures that each time Firecrown creates a new pyccl instance, it will have the necessary tuning. @damonge, can you confirm if this approach is correct or if there's something I might be missing?

For @elisachisari's issue, we could include an example in the factory function of one of our examples to demonstrate how to adjust these precision parameters. Would this solution address your issue?

vitenti avatar Oct 20 '23 13:10 vitenti

Yes, could we please include that?

elisachisari avatar Dec 07 '23 16:12 elisachisari

Hello @elisachisari , we are planning to put an interface in CCLFactory to allow the user control all variables in Controlling Splines and Numerical Accuracy. That way, the user can control the way the many instances of CCL used in an analysis are made.

vitenti avatar Feb 28 '25 20:02 vitenti