Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
e50679c
Change to schema instead of configmodel for quadrupole connected clas…
TeresiaOlsson Apr 23, 2026
e51ae66
Refactor config models for arrays.
TeresiaOlsson May 5, 2026
a5116d1
Refactor BPM config models.
TeresiaOlsson May 5, 2026
a0c640e
Refactor config modules for curves and matrices.
TeresiaOlsson May 5, 2026
a931493
Refactor config models for diagnostics.
TeresiaOlsson May 5, 2026
afee235
Refactor config modules for RF.
TeresiaOlsson May 5, 2026
ffa50cd
Refactor config models for lattice.
TeresiaOlsson May 5, 2026
af678a7
Refactoring of magnet config models.
TeresiaOlsson May 5, 2026
ecdc505
Modifications of lattice element linker config model.
TeresiaOlsson May 5, 2026
d73d4b6
Refactor tuning tools config models.
TeresiaOlsson May 5, 2026
609ac1f
Moved __pyaml_repr__ to a separate module since is a generic utility …
TeresiaOlsson May 7, 2026
575a421
Cleanup of the element module.
TeresiaOlsson May 7, 2026
ef19ade
Cleanup TuneMonitor.
TeresiaOlsson May 8, 2026
02786ab
Cleanup of attributes for RF.
TeresiaOlsson May 8, 2026
d1f3af8
Refactor accelerator config model.
TeresiaOlsson May 11, 2026
f4e55aa
Add schema for controlsystem.
TeresiaOlsson May 11, 2026
5e4aaa6
Add first implementation of schema registry.
TeresiaOlsson May 11, 2026
ef74bd5
First implementation of schema registry.
TeresiaOlsson May 13, 2026
b65922b
Modifications to the schema registry to handle legacy yaml files.
TeresiaOlsson May 15, 2026
51cb4d8
Add functionality to convert from old yaml file format to new one.
TeresiaOlsson May 15, 2026
ab6a632
Update the legacy registry.
TeresiaOlsson May 15, 2026
d8b80fa
Modifications to get validation to work including dependencies from b…
TeresiaOlsson May 15, 2026
8a06071
All BESSY2 examples can be validated.
TeresiaOlsson May 15, 2026
4832e61
Starting to update tests to new format.
TeresiaOlsson May 18, 2026
91ba0df
Cleanup of the schema registry + add docstrings.
TeresiaOlsson May 18, 2026
42205d1
Started to added tests for the schema registry.
TeresiaOlsson May 18, 2026
4e7cac4
Remove __setitem__ and make a separate update method instead.
TeresiaOlsson May 20, 2026
0bb0e36
Change get method in schema registry to always return None if missing.
TeresiaOlsson May 20, 2026
b30ebd6
Update configuration init.
TeresiaOlsson May 20, 2026
e46c045
Update configuration init.
TeresiaOlsson May 20, 2026
9fbfdcc
Adding tests for schema registry.
TeresiaOlsson May 20, 2026
38f8545
Move modules related to validation into own subpackage.
TeresiaOlsson May 21, 2026
d0835f0
Refactor schema validation into own class.
TeresiaOlsson May 21, 2026
1b4a04a
Add SchemaValidator to configuration init.
TeresiaOlsson May 21, 2026
d3935d2
Add notebook example for validation.
TeresiaOlsson May 21, 2026
ed86629
Add a json schema generator.
TeresiaOlsson May 22, 2026
6cf9449
Add tests for schema generator.
TeresiaOlsson May 22, 2026
edf2281
Change order of fields in the AcceleratorSchema to render better in t…
TeresiaOlsson May 22, 2026
7e6d219
Add example for json schema generation.
TeresiaOlsson May 22, 2026
f4949a1
Move validation subpackage one level up.
TeresiaOlsson May 26, 2026
68d96aa
Update validation examples.
TeresiaOlsson May 26, 2026
ce23c7a
Update validation examples.
TeresiaOlsson May 26, 2026
8b4a71d
Update descriptions for array schema.
TeresiaOlsson May 26, 2026
9a71b2a
Fix wrong schema for Tango control system.
TeresiaOlsson May 27, 2026
e3c4dd3
Change configurationschemas from validation_alias to alias.
TeresiaOlsson May 27, 2026
2a265e3
Change simple magnets to all use magnetschema.
TeresiaOlsson May 27, 2026
be42520
Fix errors in SimulatorSchema.
TeresiaOlsson May 27, 2026
0d6a61b
Separate schemas for BPMSimpleModel and BPMTiltOffsetModel.
TeresiaOlsson May 27, 2026
c7bb750
Change so acceleratorschema has empty lists instead of None.
TeresiaOlsson May 27, 2026
32595b7
Changes to the schema generator to include possible class strings as …
TeresiaOlsson May 27, 2026
001e065
Use anyOf instead of oneOf in all schemas.
TeresiaOlsson May 27, 2026
5f7f5d2
Add json schema.
TeresiaOlsson May 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions examples/BESSY2_example/BESSY2Chroma_new_format.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
class_path: pyaml.accelerator.Accelerator
facility: BESSY2
machine: sr
energy: 1.7e9
simulators:
- class_path: pyaml.lattice.simulator.Simulator
lattice: bessy2_standard_user.mat
name: design
controls:
- class_path: pyaml_cs_oa.controlsystem.OphydAsyncControlSystem
prefix: 'pons:'
name: live
data_folder: /data/store
devices:
- class_path: pyaml.diagnostics.tune_monitor.BetatronTuneMonitor
name: BETATRON_TUNE
tune_h:
class_path: pyaml_cs_oa.epicsR.EpicsR
read_pvname: beam:twiss:x:tune
unit: ''
tune_v:
class_path: pyaml_cs_oa.epicsR.EpicsR
read_pvname: beam:twiss:y:tune
unit: ''
- class_path: pyaml.tuning_tools.chromaticity_monitor.ChomaticityMonitor
name: KSI
betatron_tune_name: BETATRON_TUNE
rf_plant_name: RF
fit_order: 2
n_avg_meas: 1
n_step: 5
sleep_between_meas: 2
sleep_between_step: 2
e_delta: 1e-3
max_e_delta: 1e-3
- class_path: pyaml.rf.rf_plant.RFPlant
name: RF
masterclock:
class_path: pyaml_cs_oa.epicsW.EpicsW
write_pvname: MCLKHX251C:freq
unit: KHz
Loading