-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Please describe the use case that requires this feature.
Needed to run (subclasses of) the FlatFieldSPENominalNectarCAMCalibrationTool when defining the option to display plots using traitlets.config.
Describe the solution you'd like
Right now, display is passed as a kwarg to the SPEalgorithm component; see also user_scripts/ggrolleron/gain_SPEfit_computation.py. I suggest to define display as a configurable trait of the SPEalgorithm component. That way, we can also pass this option as e.g. config["FlatFieldSPENominalNectarCAMCalibrationTool"].display = False.
Additional context
Note that SPEalgorithm already contains a method with the name display, so need to be careful with names.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request