mirror of
https://github.com/pim-n/pg-rad
synced 2026-05-14 09:08:10 +02:00
Add flip direction. Change mean to Trapezoidal rule for integration along path. Scale count rate properly with acquisition time
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user