Add flip direction. Change mean to Trapezoidal rule for integration along path. Scale count rate properly with acquisition time

This commit is contained in:
Pim Nelissen
2026-03-10 20:44:18 +01:00
parent b882f20358
commit b82196e431
8 changed files with 137 additions and 52 deletions

View File

@ -42,6 +42,7 @@ class Path:
def __init__(
self,
coord_list: Sequence[tuple[float, float]],
opposite_direction: bool,
z: float = 0.,
z_box: float = 50.
):
@ -74,6 +75,8 @@ class Path:
]
self.z = z
self.opposite_direction = opposite_direction
self.size = (
np.ceil(max(self.x_list)),
np.ceil(max(self.y_list)),