mirror of
https://github.com/pim-n/pg-rad
synced 2026-04-24 21:18:10 +02:00
fix typos / PEP8
This commit is contained in:
@ -152,7 +152,7 @@ def calculate_counts_along_path(
|
|||||||
cps, detector, landscape.point_sources[0].isotope.E
|
cps, detector, landscape.point_sources[0].isotope.E
|
||||||
)
|
)
|
||||||
|
|
||||||
cps_with_bg = cps# + bkg
|
cps_with_bg = cps + bkg
|
||||||
# reshape so each segment is on a row
|
# reshape so each segment is on a row
|
||||||
cps_per_seg = cps_with_bg.reshape(num_segments, points_per_segment)
|
cps_per_seg = cps_with_bg.reshape(num_segments, points_per_segment)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user