Skip to content

Commit 4ca727d

Browse files
added half life
1 parent 383703a commit 4ca727d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

libra_toolbox/neutron_detection/activation_foils/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class CheckSource:
77
intensity: list
88
activity_date: datetime.date
99
activity: float
10+
half_life: float
1011

1112
def __init__(
1213
self,
@@ -15,12 +16,14 @@ def __init__(
1516
intensity: list,
1617
activity_date: datetime.date,
1718
activity: float,
19+
half_life: float,
1820
):
1921
self.nuclide = nuclide
2022
self.energy = energy
2123
self.intensity = intensity
2224
self.activity_date = activity_date
2325
self.activity = activity
26+
self.half_life = half_life
2427

2528

2629
class ActivationFoil:

libra_toolbox/neutron_detection/activation_foils/calibration.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
intensity=[0.329, 0.0716, 0.1834, 0.6205, 0.0894],
1111
activity_date=datetime.date(2014, 3, 19),
1212
activity=1 * uCi_to_Bq,
13+
half_life=10.551 * 365.25 * 24 * 3600,
1314
)
1415

1516
check_source_co60 = CheckSource(
@@ -18,25 +19,29 @@
1819
intensity=[0.9985, 0.999826],
1920
activity_date=datetime.date(2014, 3, 19),
2021
activity=0.872 * uCi_to_Bq,
22+
half_life=1925.28 * 24 * 3600,
2123
)
2224
check_source_na22 = CheckSource(
2325
nuclide="Na22",
2426
energy=[511, 1274.537],
2527
intensity=[1.80, 0.9994],
2628
activity_date=datetime.date(2014, 3, 19),
2729
activity=5 * uCi_to_Bq,
30+
half_life=2.6018 * 365.25 * 24 * 3600,
2831
)
2932
check_source_cs137 = CheckSource(
3033
nuclide="Cs137",
3134
energy=[661.657],
3235
intensity=[0.851],
3336
activity_date=datetime.date(2014, 3, 19),
3437
activity=4.66 * uCi_to_Bq,
38+
half_life=30.08 * 365.25 * 24 * 3600,
3539
)
3640
check_source_mn54 = CheckSource(
3741
nuclide="Mn54",
3842
energy=[834.848],
3943
intensity=[0.99976],
4044
activity_date=datetime.date(2016, 5, 2),
4145
activity=6.27 * uCi_to_Bq,
46+
half_life=312.20 * 24 * 3600,
4247
)

0 commit comments

Comments
 (0)