Skip to content

Commit

Permalink
Fixed key in phases writing
Browse files Browse the repository at this point in the history
  • Loading branch information
fscarlier committed Aug 17, 2023
1 parent f5ddf68 commit 2675c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omc3/harpy/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _write_bad_bpms(output_path_without_suffix, plane, bad_bpms_with_reasons):

def _write_spectrum(output_path_without_suffix, plane, spectra):
tfs.write(f"{output_path_without_suffix}{FILE_AMPS_EXT.format(plane=plane.lower())}", spectra["COEFFS"].abs().T)
tfs.write(f"{output_path_without_suffix}{FILE_PHASES_EXT.format(plane=plane.lower())}", spectra["PHASES"].angle().T)
tfs.write(f"{output_path_without_suffix}{FILE_PHASES_EXT.format(plane=plane.lower())}", spectra["COEFFS"].angle().T)
tfs.write(f"{output_path_without_suffix}{FILE_FREQS_EXT.format(plane=plane.lower())}", spectra["FREQS"].T)


Expand Down

0 comments on commit 2675c2e

Please sign in to comment.