Skip to content

Commit

Permalink
Rits export. Use 0.1 as placeholder for transmission errors
Browse files Browse the repository at this point in the history
  • Loading branch information
samtygier-stfc committed Nov 22, 2023
1 parent 37fcd86 commit ab79dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mantidimaging/gui/windows/spectrum_viewer/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def save_rits(self, path: Path, normalized: bool) -> None:
# RITS expects ToF in μs
tof *= 1e6

transmission_error = np.zeros_like(tof)
transmission_error = np.full_like(tof, 0.1)
if normalized:
if self._normalise_stack is None:
raise RuntimeError("No normalisation stack selected")
Expand Down

0 comments on commit ab79dcf

Please sign in to comment.