accml_lib.custom.bessyii package

Submodules

accml_lib.custom.bessyii.bessyii_pyat_lattice module

accml_lib.custom.bessyii.bessyii_pyat_lattice.bessyii_pyat_lattice(filename, energy=1718500000.0)[source]
Return type:

Lattice

Parameters:
accml_lib.custom.bessyii.bessyii_pyat_lattice.bessyii_pyat_lattice_from_dics(seq, energy=1718500000.0)[source]
Parameters:

energy (float)

accml_lib.custom.bessyii.facility_specific_constants module

class accml_lib.custom.bessyii.facility_specific_constants.Config(n_elements)[source]

Bases: object

Parameters:

n_elements (int)

n_elements: int
class accml_lib.custom.bessyii.facility_specific_constants.Ringparameters(freq, brho, energy)[source]

Bases: object

Parameters:
brho: float
energy: float
freq: float

accml_lib.custom.bessyii.liasion_translator_setup module

class accml_lib.custom.bessyii.liasion_translator_setup.TuneConversion(to)[source]

Bases: object

forward(inp)[source]
Return type:

Tune

Parameters:

inp (Tune)

inverse(inp)[source]
Return type:

Tune

Parameters:

inp (Tune)

accml_lib.custom.bessyii.liasion_translator_setup.build_managers(config_dir)[source]

A first poor mans implementation of liaison manager and Translation service for accml_lib

Todo

Which info is already in database and better obtained from database?

Return type:

(YellowPagesBase, LiaisonManagerBase, TranslatorServiceBase)

Parameters:

config_dir (Path)

accml_lib.custom.bessyii.liasion_translator_setup.load_managers()[source]
Return type:

(YellowPagesBase, LiaisonManagerBase, TranslatorServiceBase)

Todo

appropriate to separate caching from loading?

accml_lib.custom.bessyii.pyat_simulator_backend module

accml_lib.custom.bessyii.pyat_simulator_backend.create_simulator_backend(acc)[source]
accml_lib.custom.bessyii.pyat_simulator_backend.simulator_backend(filename)[source]
Return type:

BackendRW

Parameters:

filename (str)

accml_lib.custom.bessyii.set_command_rewriter module

accml_lib.custom.bessyii.setup module

Module contents