Skip to content

Commit

Permalink
Update src/mx_bluesky/I24/serial/fixed_target/i24ssx_Chip_Manager_py3…
Browse files Browse the repository at this point in the history
…v1.py

Co-authored-by: Tom Willemsen <tomwillemsen1995@gmail.com>
  • Loading branch information
noemifrisina and Tom-Willemsen committed Jun 21, 2023
1 parent ac2a852 commit 58c4b40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ def fiducial(point: int, param_path: Path | str = PARAM_FILE_PATH_FT):
logger.info("%s MTR2\t%1.4f\t%i\t%i\t%1.4f" % (name, rbv_2, raw_2, mtr2_dir, f_y))
logger.info("%s MTR3\t%1.4f\t%i\t%i\t%1.4f" % (name, rbv_3, raw_3, mtr3_dir, f_y))

with open(param_path / f"fiducial_{point}txt", "w") as f:
with open(param_path / f"fiducial_{point}.txt", "w") as f:
f.write("MTR\tRBV\tRAW\tCorr\tf_value\n")
f.write("MTR1\t%1.4f\t%i\t%i\t%1.4f\n" % (rbv_1, raw_1, mtr1_dir, f_x))
f.write("MTR2\t%1.4f\t%i\t%i\t%1.4f\n" % (rbv_2, raw_2, mtr2_dir, f_y))
Expand Down

0 comments on commit 58c4b40

Please sign in to comment.