|
19 | 19 | ) |
20 | 20 | from murfey.util import authorised_requests, capture_post, get_machine_config_client |
21 | 21 | from murfey.util.mdoc import get_block, get_global_data, get_num_blocks |
22 | | -from murfey.util.tomo import midpoint |
23 | 22 |
|
24 | 23 | logger = logging.getLogger("murfey.client.contexts.tomo") |
25 | 24 |
|
@@ -68,7 +67,6 @@ class TomographyContext(Context): |
68 | 67 | ProcessingParameter( |
69 | 68 | "dose_per_frame", "Dose Per Frame (e- / Angstrom^2 / frame)", default=1 |
70 | 69 | ), |
71 | | - ProcessingParameter("manual_tilt_offset", "Tilt Offset", default=0), |
72 | 70 | ProcessingParameter("gain_ref", "Gain Reference"), |
73 | 71 | ProcessingParameter("eer_fractionation", "EER Fractionation", default=20), |
74 | 72 | ] |
@@ -566,7 +564,6 @@ def gather_metadata( |
566 | 564 | if environment |
567 | 565 | else None |
568 | 566 | ) |
569 | | - metadata["manual_tilt_offset"] = 0 |
570 | 567 | metadata["source"] = str(self._basepath) |
571 | 568 | except KeyError: |
572 | 569 | return OrderedDict({}) |
@@ -627,9 +624,6 @@ def gather_metadata( |
627 | 624 | if environment |
628 | 625 | else None |
629 | 626 | ) |
630 | | - mdoc_metadata["manual_tilt_offset"] = -midpoint( |
631 | | - [float(b["TiltAngle"]) for b in blocks] |
632 | | - ) |
633 | 627 | mdoc_metadata["source"] = str(self._basepath) |
634 | 628 | mdoc_metadata["tag"] = str(self._basepath) |
635 | 629 | mdoc_metadata["tilt_series_tag"] = metadata_file.stem |
|
0 commit comments