Configuration¶
-
class
hcipy.config.
Configuration
¶ Bases:
object
A configuration object that describes the current configuration status of the package.
Methods Summary
reset
()Reset the configuration to the default configuration.
update
(b)Update the configuration with the configuration b, as a dictionary.
Methods Documentation
-
reset
()¶ Reset the configuration to the default configuration.
This default configuration consists of the default parameters in hcipy/data/default_config.yaml, which can be overridden by a configuration file in ~/.hcipy/hcipy_config.yaml. This can in turn be overridden by a configuration file named hcipy_config.yaml located in the current working directory.
-
update
(b)¶ Update the configuration with the configuration b, as a dictionary.
- Parameters
- bdict
A dictionary containing the values to update in the configuration.
-