slaclab / lcls-tools

Python tools for LCLS: post processing data, PV handling, pulling archive settings, etc.
Apache License 2.0
2 stars 21 forks source link

Add analysis functions for emittance measurement scan data #197

Open dylanmkennedy opened 3 weeks ago

dylanmkennedy commented 3 weeks ago

Add emittance/ folder to data_analysis, containing functions for computing emittance and bmag from quadrupole measurement scan data. emittance/analysis.py contains top-level functions for users to analyze quad scan data, while emittance/beam_dynamics.py contains lower-level functions for tasks such as building quadrupole transport matrices, twiss parameter propagation, and beam matrix reconstruction through nonlinear fitting.

dylanmkennedy commented 2 days ago

I've made the requested changes.