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
At the moment, it is possible to configure STIPS operation in one of two ways:
Create or copy a stips_config.yaml file, set the values you want, and point STIPS to the file
When creating a SceneModule, an ObservationModule, an AstroImage (etc.), provide keyword arguments named after the
configuration parameters.
In terms of configuration, STIPS operates according to the following priority:
keywords supplied when creating a class
stips_config.yaml file in the directory in which STIPS is being run
stips_config.yaml file pointed to by the environment variable "stips_config"
stips_config.yaml file in the stips_data directory
stips_config.yaml file kept inside STIPS in stips.data
I don't think there's anything wrong with either these ways of specifying configurations, or with this order of priorities, but in developing STIPS v2 I've consistently run into problems with (e.g.) a configuration parameter set in creating an ObservationModule that doesn't propagate to the detector(s) created by that module. As such, it would probably be overall easier and more consistent if STIPS did something like Pandeia, and actually had a "configuration" module/class that set its values based on the above methods, and that could be passed to, and referenced by, sub-parts of STIPS as they're created. This would also, potentially, allow for configuration values to be better transmitted to (e.g.) parallel creation processes run within an AstroImage, and allow for individual functions (e.g. add_catalogue, add_error, etc.) to include changed parameters that would apply to these specific functions.
This is probably a big enough change to be a point release rather than a patch release.
The text was updated successfully, but these errors were encountered:
At the moment, it is possible to configure STIPS operation in one of two ways:
configuration parameters.
In terms of configuration, STIPS operates according to the following priority:
I don't think there's anything wrong with either these ways of specifying configurations, or with this order of priorities, but in developing STIPS v2 I've consistently run into problems with (e.g.) a configuration parameter set in creating an ObservationModule that doesn't propagate to the detector(s) created by that module. As such, it would probably be overall easier and more consistent if STIPS did something like Pandeia, and actually had a "configuration" module/class that set its values based on the above methods, and that could be passed to, and referenced by, sub-parts of STIPS as they're created. This would also, potentially, allow for configuration values to be better transmitted to (e.g.) parallel creation processes run within an AstroImage, and allow for individual functions (e.g. add_catalogue, add_error, etc.) to include changed parameters that would apply to these specific functions.
This is probably a big enough change to be a point release rather than a patch release.
The text was updated successfully, but these errors were encountered: