pylhc/optics_functions

Problem with Dqmin calculation

Closed this issue · 1 comments

It seems that the method persson, persson_alt do not work. I think the problem is coming from the fact that the coupling data frame does not contain phase advance and S location. Maybe the easiest is just to copy them to that DF?

Josch showed that this can be solved with solved with:
df_twiss[["F1001", "F1010"]] = coupling_via_cmatrix(df_twiss, output=['rdts'])