Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM_annihilation_efficiency parameter not working #606

Open
ash2223 opened this issue Nov 21, 2024 · 3 comments
Open

DM_annihilation_efficiency parameter not working #606

ash2223 opened this issue Nov 21, 2024 · 3 comments

Comments

@ash2223
Copy link

ash2223 commented Nov 21, 2024

Hello!

I'm trying to adjust the DM_annihilation_efficiency parameter in v3.1.0 of class, solely by changing the value of this parameter in the explanatory.ini file from 0 to 1e-7. This causes an error:

Screen Shot 2024-11-20 at 7 27 32 PM

I've tried using v3.2.0 and v3.2.3 of class instead, to no avail. Wondering if anyone else is having this issue? Any help would be greatly appreciated.

-Adam

@jcolinhill
Copy link

Perhaps it is a units issue? Does v2.9 yield sensible output?

@ash2223
Copy link
Author

ash2223 commented Nov 25, 2024

Hi Colin!! Actually you’re right—it does seem that the parameter needs to be scaled down by 9e16 (c^2). I became confused by the input instructions though because the max for this parameter is set to be 1e-4, when really it should be around 1e-20 as it crashes for anything higher. Thank you so much!! (I’ll be starting these chains now haha)

-Adam

@jcolinhill
Copy link

sounds good -- perhaps this is a place where the CLASS example.ini could use an update/clarification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants