You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dkirkby showed me examples from DESI where units are specified for everything including in the configuration files.
It looked very useful/powerful. We could consider this too. Doing it early would be better as it would get harder and harder to do as more gets added to the program. David may point to examples.
The text was updated successfully, but these errors were encountered:
Another astropy technology that is useful to leverage for flexible configuration is astropy.table, which allows you to accept tabular config data in any format they support (FITS, HDF5, various ASCII formats).
These are the defaults. You can modify them three ways:
Copy and edit the yaml file.
Use an API to modify config data in memory after reading the yaml file.
Modify attributes of the simulation objects created after the config phase.
Only a restricted subset of config parameters can be changed via the last method, in order to simplify the object initialization logic and prevent expensive re-initialization operations.
@dkirkby showed me examples from DESI where units are specified for everything including in the configuration files.
It looked very useful/powerful. We could consider this too. Doing it early would be better as it would get harder and harder to do as more gets added to the program. David may point to examples.
The text was updated successfully, but these errors were encountered: