pylhc / omc3

Python 3 codes for beam optics measurements and corrections in circular particle accelerators

Home Page:https://pylhc.github.io/omc3/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Missing columns in coupling dataframes

fsoubelet opened this issue · comments

Documentation

  • Yes

Operating System

all

Python Version

all

Package Version

0.2.2

Bug Description

In the correction modules, the filtering expects the coupling dataframes (f1001.tfs and f1010.tfs) to have DELTA* and ERRDELTA* columns, where the * is either REAL or IMAG.

At the moment, these columns are not created during coupling calculation, which fails the correction.
They should be added.

Steps to Reproduce

Trying to run the coupling server test script (https://gitlab.cern.ch/coupling/lhc-coupling-analysis-service/-/blob/master/lhc_coupling_analysis_test.py) with 0.2.2.

Relevant output

No response

Possible Fix Implementation

Let's create the columns before writing the coupling dataframes to disk.