21cmfast / 21cmFAST

Official repository for 21cmFAST: a code for generating fast simulations of the cosmological 21cm signal
MIT License
58 stars 37 forks source link

[Feature Req.] Allow the user to set default settings which remain after session is closed #85

Open andreimesinger opened 4 years ago

andreimesinger commented 4 years ago

Is your feature request related to a problem? Please describe.

Current defaults are very "physics lite", which is ok maybe for the typical (observational) user, but users wanting more realistic calculations should have the default settings of, e.g. Park et al.

Describe the solution you'd like

Provide alternate default configurations, like a "quick and easy" one, and a "physically realistic" one. Allow the user to save their configurations so that they are default whenever they open an new session.

Describe alternatives you've considered

Additional context

JulianBMunoz commented 4 years ago

That's a neat idea. I'd also add a cosmic-dawn default setting, which does not need to do 2LPT (either regular or hi-res), since that doesn't matter for z>10, but instead defaults to using minihaloes, LW feedback, and relative velocities, all of which matter for cosmic dawn.