lnls-fac / apsuite

Accelerator Physics suite
MIT License
1 stars 2 forks source link

Add Pynel vertical dispersion analysis #241

Open VitorSouzaLNLS opened 1 year ago

VitorSouzaLNLS commented 1 year ago

Pynel package for vertical dispersion analysis

The pynel package has 2 main objects: Base and Button. These objects have properties that study and analysis of vertical dispersion function of the SIRIUS storage ring and its signatures associated to magnets and misalignment and rotation errors.

Object Button

The Button object basically associates one kind of error (transversal misalignment or rotations) to one magnet of the SIRIUS ring and store the vertical dispersion signature caused by the magnet and the error choosen.

The creation

The creation of a Button follows 2 possible ways.

About the arguments

About the properties

Object Base

The Base object generate Buttons and construct a VDRM matrix (Vertical Dispersion Response Matrix) of the signatures of the buttons. Base objects can be use to easily creates sets of specified kind of magnets or errors or sectors and study with more detail the behavior of the Vertical Dispersion in these combinations.

The creation

The creation of a Base follows 2 possible ways.

About the arguments

About the properties

The "fitting" module

The fitting module contain functions to fit vertical dispertion (like real data collected in the machine) in pymodels models. Obs.: this module is outdated (~ september 19, 2023). The functions shouldnt work as expected.

The "misc_functions"/"functions" module

Contain functions to work with Base and Buttons objects and deal with vertical dispertion fittings and analysis.

The "std_si_Data" module

Contain saved data of the Standard SIRIUS model.

xresende commented 5 months ago

@VitorSouzaLNLS , why is it again that you replaced ADD_FUNCTIONS by SET_FUNCTIONS? what if we want to extract signatures from a model with errors?