You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a default should be determined for betatron tune, with option to select an other tune monitor. tune_monitor = control_mode.get_betatron_tune_monitor("BETATRON_TUNE") should be tune_monitor = control_mode.get_betatron_tune_monitor() and give default configuration.
control_mode.tune.get() # should work but does not when not called before
tune correction should tell what are the quadrupoles used by the tune monitor (add as properties).
Need that the measurement tool like TuneCorrection provide a direct access to the used magnets (not only names). sr.design.tune.quad_array as a property.
Complete docstrings, also for properties.
Tune Response matrix, once it is computed, store it somewhere and write it in the pyaml configuration
The tune monitor and correction objects make sense. May be need more clarification in the examples
Be able to change the defualts that are in the configuration via the call in the scripts. For example change the default tune monitor. (tune_correction = control_mode.get_tune_tuning(tune_monitor=BETATRON_TUNE_SPARE) with BETATRON_TUNE_SPARE defined in the config file)
General pyAML feedback
Would be nice to have a "Restore feature" with some history. Hold the delta tune correction and quadrupoles values in a short buffer history
measurements should handle excluded/disabled/frozen magnets ? Frozen magnet boolean field like in MML
All properties in config yaml files should be lowercase (chromaticity)
SOLEIL to share automated config from lattice (add as example)
for every tuning tools: defaults in config, add timeouts and settle times, units
docstrings should contain units (Chromaticity measurement)
make sure all methods exposed to users have a numpy format doc string (as chosen in the past) (may be AI could help)
one single example for Tune, ORM, etc.. and several config files (minimal) to show the same example works for many machines.
General accml feedback
nice thing is that value comes with timestamp and (even better with units). In epics timestamp is always available from the device. Start and end of measurement in datetime format
accml is missing string representation of objects.
accml has nice measurement progress bars
accml example are rather difficult and obscure. harder to follow. Although we also has some difficulty with pyAML one.
in accml is state_cache a measurement history?
difficult to find configuration file in accml. it is in accml_lib
accml configuration and user interface are quite far from the user interface specification document. For example all config files are spars and it is not trivial to find to which lattice the configuration refers to
accml has implented timeout and settle_time in configuration layer
configuration should not include dynamic information such as magnets strengths.
configuration should not be python code
pySC interface
user never sees pySC (good feature)
pySC in very much tighly linked with pyAML (could be bad)
config files of examples should be in the specific example folder
lattice_names key in ORM object is not clear. may be an unusefull
orm is not an object to correct, no load. But could be added in future for optics correction
need to do sr.design.get_magnets(orm.vcor_array) a short cut could be usefull
Measurement standards
We propose a series of generic measurement functions/methods which can be customized and completed with callback functions.
It could be implemented in a TemplateMeasurement class with measurements steps.
initial data loading
metadata
global data + measurement specific data
timestamps for each data piece
initial state / final state and going back
should save a file and not keep things in memory
could use the metadata from general measurement
could be a specific item for the measurement where only what is changed is written
watch for feedback running
need of a Watcher class which look in the CS for flags like the FOFB one
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Feedback for pyAML
tune_monitor = control_mode.get_betatron_tune_monitor("BETATRON_TUNE")should betune_monitor = control_mode.get_betatron_tune_monitor()and give default configuration.sr.design.tune.quad_arrayas a property.The tune monitor and correction objects make sense. May be need more clarification in the examples
Be able to change the defualts that are in the configuration via the call in the scripts. For example change the default tune monitor. (
tune_correction = control_mode.get_tune_tuning(tune_monitor=BETATRON_TUNE_SPARE)with BETATRON_TUNE_SPARE defined in the config file)General pyAML feedback
General accml feedback
pySC interface
Measurement standards
We propose a series of generic measurement functions/methods which can be customized and completed with callback functions.
It could be implemented in a TemplateMeasurement class with measurements steps.
In this working group, all of us agree that there is no need for specific or complex measurement engine.
All reactions