-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Copy link
Labels
APIHow users interact with the softwareHow users interact with the softwaredocumentationImprovements or additions to documentationImprovements or additions to documentationeffectsRelated to a ScopeSim effectRelated to a ScopeSim effect
Description
skycalc has many parameters that can be used to tune the conditions under which the atmospheric spectra are to be computed. However, the Scopesim effect SkycalcTERCurve does not expose these parameters in a user-friendly way. They can be set when the effect is instantiated individually (this is tested to a limited extent in test_SkycalcTERCurve.py). They can also be set in a yaml file, although Armazones.yaml does not actually do that. There is, as far as I can tell, no way to change the parameters in the UserCommands or in the effect once the OpticalTrain has been built. This would be useful to study the influence of atmospheric conditions on the data.
- The easiest way to do it might be an
.update(**kwargs)method, which accepts skycalc parameters and triggers a new query to the skycalc server. Validating the kwargs might be a bit tricky. - In
UserCommandsit may or may not be possible to accept the parameters in the!ATMOcategory. Do they need to be predefined somewhere? - The docstring of
SkycalcTERCurveshould have a list of accepted skycalc parameters, or point to the appropriate skycalc documentation.
There's some relation to #804 .
Sub-issues
Metadata
Metadata
Assignees
Labels
APIHow users interact with the softwareHow users interact with the softwaredocumentationImprovements or additions to documentationImprovements or additions to documentationeffectsRelated to a ScopeSim effectRelated to a ScopeSim effect
Type
Projects
Status
✅ Done
Status
✅ Implemented