From ab6c7ff6d351574030835243835ffc1596cd0a61 Mon Sep 17 00:00:00 2001 From: Shenyang Shi Date: Fri, 28 Jul 2023 08:35:57 -0500 Subject: [PATCH 1/3] Add photoionizations --- xedocs/schemas/corrections/__init__.py | 1 + .../schemas/corrections/photoionization_strength.py | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 xedocs/schemas/corrections/photoionization_strength.py diff --git a/xedocs/schemas/corrections/__init__.py b/xedocs/schemas/corrections/__init__.py index 452eb8f..9429f3c 100644 --- a/xedocs/schemas/corrections/__init__.py +++ b/xedocs/schemas/corrections/__init__.py @@ -21,3 +21,4 @@ from .bayes_model import * from .som_network import * from .hotspot_veto_cut import * +from .photoionizations import * diff --git a/xedocs/schemas/corrections/photoionization_strength.py b/xedocs/schemas/corrections/photoionization_strength.py new file mode 100644 index 0000000..c0790a6 --- /dev/null +++ b/xedocs/schemas/corrections/photoionization_strength.py @@ -0,0 +1,11 @@ +""" +# Photoionization strengths +https://xe1t-wiki.lngs.infn.it/doku.php?id=xenon:xenonnt_sr1:photoionization_origin +""" + +from .base_corrections import TimeSampledCorrection + + +class PhotoionizationStrength(TimeSampledCorrection): + _ALIAS = "photoionization_strength" + value: float From 3ba5a8db84872ccb23c4f682dda1a01b122054ad Mon Sep 17 00:00:00 2001 From: Shenyang Shi Date: Fri, 28 Jul 2023 08:38:07 -0500 Subject: [PATCH 2/3] Change init --- xedocs/schemas/corrections/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xedocs/schemas/corrections/__init__.py b/xedocs/schemas/corrections/__init__.py index 9429f3c..c398893 100644 --- a/xedocs/schemas/corrections/__init__.py +++ b/xedocs/schemas/corrections/__init__.py @@ -21,4 +21,4 @@ from .bayes_model import * from .som_network import * from .hotspot_veto_cut import * -from .photoionizations import * +from .photoionization_strength import * From 1f1f86a87f9bc5726bce2e6aca5ff092e6a089c5 Mon Sep 17 00:00:00 2001 From: Yossi Mosbacher Date: Fri, 28 Jul 2023 17:25:48 +0300 Subject: [PATCH 3/3] Update xedocs/schemas/corrections/photoionization_strength.py --- xedocs/schemas/corrections/photoionization_strength.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xedocs/schemas/corrections/photoionization_strength.py b/xedocs/schemas/corrections/photoionization_strength.py index c0790a6..8166187 100644 --- a/xedocs/schemas/corrections/photoionization_strength.py +++ b/xedocs/schemas/corrections/photoionization_strength.py @@ -7,5 +7,5 @@ class PhotoionizationStrength(TimeSampledCorrection): - _ALIAS = "photoionization_strength" + _ALIAS = "photoionization_strengths" value: float