accml_lib.core.config package

Subpackages

Submodules

accml_lib.core.config.config_service module

class accml_lib.core.config.config_service.ConfigService(magnet_path, pc_path)[source]

Bases: object

TODO: the init is FileRepository specific, expand it to db in the next step

Parameters:
  • magnet_path (str)

  • pc_path (str)

get_magnets()[source]
get_power_converter(id)[source]
get_quadrupoles()[source]
Return type:

list[MagneticObject]

load()[source]

accml_lib.core.config.utils module

accml_lib.core.config.utils.full_data_path(path)[source]
Parameters:

path (Path)

Module contents