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,7 +42,8 @@ class SimulationEngine:
def _calculate_count_rate_along_path(self) -> CountRateOutput:
arc_length, phi = calculate_fluence_along_path(
self.landscape,
self.detector
self.detector,
acquisition_time=self.runtime_spec.acquisition_time
)
return CountRateOutput(arc_length, phi)