cellpy.readers.instruments.configurations
#
Very simple implementation of a plugin-like infrastructure
Submodules#
Package Contents#
Classes#
Dataclass to store sub-model specific parameters. |
Functions#
|
Register a python module (.py file) and return it. |
Register a module (.yml file) and return it. |
Attributes#
- register_configuration_from_module(name: str = 'one', module: str = 'maccor_txt_one', _module_path=None, _m=None) ModelParameters [source]#
Register a python module (.py file) and return it.
This function will dynamically import the given module from the cellpy.readers.instruments.configurations module and return it.
- Returns:
ModelParameters
- register_local_configuration_from_yaml_file(instrument) ModelParameters [source]#
Register a module (.yml file) and return it.
This function will dynamically import the given module from the cellpy.readers.instruments.configurations module and return it.
- Returns:
ModelParameters