xedocs 0.2.29__py3-none-any.whl → 0.2.30__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
xedocs/__init__.py CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  __author__ = """Yossi Mosbacher"""
4
4
  __email__ = "joe.mosbacher@gmail.com"
5
- __version__ = "0.2.29"
5
+ __version__ = "0.2.30"
6
6
 
7
7
 
8
8
  import logging
@@ -25,3 +25,4 @@ from .s1_pattern_maps import *
25
25
  from .z_bias import *
26
26
  from .cs2_aft_corrections import *
27
27
  from .se_gain_partition import *
28
+ from .test_correction import *
@@ -8,6 +8,7 @@ See description in the Team C overview page [here](https://xe1t-wiki.lngs.infn.i
8
8
 
9
9
  Mostly following the "OFF PMTs" list [here](https://xe1t-wiki.lngs.infn.it/doku.php?id=xenon:xenonnt:dsg:pmt:gains:pmtsoff)
10
10
 
11
+ More information on the flow model can be found [here](https://xe1t-wiki.lngs.infn.it/doku.php?id=xenon:xenonnt:svetter:conditional_norm_flow_posrec_principle)
11
12
 
12
13
  """
13
14
 
@@ -23,7 +24,7 @@ class PosRecModel(BaseResourceReference):
23
24
  _ALIAS = "posrec_models"
24
25
  fmt = "binary"
25
26
 
26
- kind: Literal["cnn", "gcn", "mlp", "s1_cnn"] = rframe.Index()
27
+ kind: Literal["cnn", "gcn", "mlp", "s1_cnn", "flow"] = rframe.Index()
27
28
 
28
29
  value: str
29
30
 
@@ -0,0 +1,18 @@
1
+ # This will be a correction designed for testing purposes.
2
+ # This SHOULD NOT be used in production.
3
+
4
+ import rframe
5
+
6
+ from ..base_corrections import TimeSampledCorrection
7
+ from ...constants import DETECTOR
8
+
9
+ class TestCorrection(TimeSampledCorrection):
10
+ _ALIAS = "test_corrections"
11
+
12
+ # Correction identical to PMT gains.
13
+ # Used for testing
14
+
15
+ detector: DETECTOR = rframe.Index()
16
+ pmt: int = rframe.Index(ge=0)
17
+
18
+ value: float
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xedocs
3
- Version: 0.2.29
3
+ Version: 0.2.30
4
4
  Summary: Top-level package for xedocs.
5
5
  Home-page: https://github.com/XENONnT/xedocs
6
6
  Author: Yossi Mosbacher
@@ -22,7 +22,7 @@ Requires-Dist: click
22
22
  Requires-Dist: parse (>=1.19.1,<2.0.0)
23
23
  Requires-Dist: pymongo ; extra == "db"
24
24
  Requires-Dist: pyyaml (>=6.0,<7.0)
25
- Requires-Dist: rframe (>=0.2.20,<0.3.0)
25
+ Requires-Dist: rframe (>=0.2.21,<0.3.0)
26
26
  Requires-Dist: rich
27
27
  Requires-Dist: tinydb (>=4.7.0,<5.0.0)
28
28
  Requires-Dist: tqdm (>=4.64.1,<5.0.0)
@@ -1,4 +1,4 @@
1
- xedocs/__init__.py,sha256=3Z4kY2xhOZp2SWhuNw6aqCtkqnf38YgIUcYiTraIF6s,1054
1
+ xedocs/__init__.py,sha256=SelutKPFb_f0zZGKHqJe4_1j7CQKDv3nvvRuFz-hqqA,1054
2
2
  xedocs/_settings.py,sha256=_Fjj5XJBHBrN6N1Dqs_JzovbEcF6--5BGnAggK1ksck,4199
3
3
  xedocs/_straxen_plugin.py,sha256=bxKWkVDNCS0Mah_GGNEvE8TCk-ibrY8xJbO0UMvfajM,1904
4
4
  xedocs/cli.py,sha256=1oZXa4Iqs-ANRTABZP8K6e3oSIatKnJNhQ1DZ4rsNrc,3493
@@ -31,7 +31,7 @@ xedocs/schemas/context_lineage.py,sha256=B3zFt0TpQ3wQuG5H-rRMju0IRQkkg7sTD2SuV5N
31
31
  xedocs/schemas/corrections/__init__.py,sha256=QpQBY_UNdiodc_zPbE1O6wR1SWIaAnyNze7acYj2MwE,94
32
32
  xedocs/schemas/corrections/base_corrections.py,sha256=ryH16ypLec9Pp2AXI1RImeaZOfxOih-1blbnKedy_Us,11179
33
33
  xedocs/schemas/corrections/base_references.py,sha256=hloxM80EfDoxv3qwyjC8KqsCxeq5iWQzrz5LthsOpR4,3473
34
- xedocs/schemas/corrections/implementations/__init__.py,sha256=pqRohpcoxEL8Qe-CxMMZzqgXjoNRyj5LBLSB3zAXWdQ,821
34
+ xedocs/schemas/corrections/implementations/__init__.py,sha256=ard_Slp-lPwchOdFbqdo4ItUSWfePtCmbosgpIGYaDY,852
35
35
  xedocs/schemas/corrections/implementations/avg_se_gain.py,sha256=cL-pioHMxh0XmkcfgHS48v3ZbwJdu4bIJlV_3Z40cm4,492
36
36
  xedocs/schemas/corrections/implementations/baseline_samples_nv.py,sha256=4AaQyLaH95Nixq93xe7A86lZua8tylVBoYgq3xbwq_I,474
37
37
  xedocs/schemas/corrections/implementations/bayes_model.py,sha256=GatQ0DxzNWcveckun0vRfQ76RECAIqEO6eZgBxwlowA,235
@@ -48,7 +48,7 @@ xedocs/schemas/corrections/implementations/hotspot_veto_cut.py,sha256=eBfDLeJteA
48
48
  xedocs/schemas/corrections/implementations/lone_hits.py,sha256=HYspFe5Am-RwTmznpeszJTtdH16vEy6S0fCLtT0NIlQ,1159
49
49
  xedocs/schemas/corrections/implementations/photoionization_strength.py,sha256=ONllBdag6kgKEXdyuP6fnFH-BICWQUNgNu5HNXSyXY0,288
50
50
  xedocs/schemas/corrections/implementations/pmt_area_to_pe.py,sha256=270jqtXqkzx_5AnqMRgdYW2Ba8EUYPJZ6ymMr7eplxI,1109
51
- xedocs/schemas/corrections/implementations/position_reconstruction.py,sha256=h_m-fRLGu_C1Vq2gS71rNcmkaf8pLyXJyTqDgoXw03E,1355
51
+ xedocs/schemas/corrections/implementations/position_reconstruction.py,sha256=lGeUms-qQ4zh-qXzmLGeUwo3IYyZY27z4lZiwPVSEvo,1523
52
52
  xedocs/schemas/corrections/implementations/relative_light_yield.py,sha256=0kavAjWiV-VKb3b5Me-k7N62SJUrFLiYpg0b6SjwSn4,590
53
53
  xedocs/schemas/corrections/implementations/s1_aft_xyz.py,sha256=QKSAlUSuLkNdNaJcokSZXxfigO9hSNEoauJxjK0Tsew,459
54
54
  xedocs/schemas/corrections/implementations/s1_pattern_maps.py,sha256=Ff0nnadGpamX0t3SVP66vOMT77iWdSd_u4l171dMuIU,231
@@ -58,6 +58,7 @@ xedocs/schemas/corrections/implementations/s2_xy.py,sha256=-MoHFzsj5JSS1sWpec_4A
58
58
  xedocs/schemas/corrections/implementations/se_gain_partition.py,sha256=mj4mxuVVlcau9TtnW1-0u1gvXEec77674Z5D7emw5-c,796
59
59
  xedocs/schemas/corrections/implementations/se_gains.py,sha256=48ZQFQer1h-IAnsFDXf0Zt1q127Z-S7G8zB3K5pWS7I,1145
60
60
  xedocs/schemas/corrections/implementations/som_network.py,sha256=mgPXh0_kmffvxma-19pDoZA8oKwEx9QCraSIxUI5t4w,381
61
+ xedocs/schemas/corrections/implementations/test_correction.py,sha256=sEV1F06AW9GcNKghZ5QDahQh7SqryJe5apsjL-lfjfo,439
61
62
  xedocs/schemas/corrections/implementations/z_bias.py,sha256=GeOOnVMx60E7I2WaldEXlvl7RD0l2DR5vbTwX1HSoOI,332
62
63
  xedocs/schemas/detector_numbers.py,sha256=ebj6Os4L1xrweeHPe6qZcoHOzN2JCIR_2QyCEnrSD_U,547
63
64
  xedocs/schemas/fax.py,sha256=LGjVIQX6KbGyaKJIDbPOBuhmoobodBRfEUFVPQ3ds1c,599
@@ -80,8 +81,8 @@ xedocs/utils.py,sha256=3OmrYetj83uhy0x5GHzk-_z_vSQeFR50X_9R51B3oWg,8398
80
81
  xedocs/widgets.py,sha256=l2pgQaWqycZQF5pF6eEeLuHdqjVBkJ8OB-o-mcivMl4,28810
81
82
  xedocs/xedocs.py,sha256=Dk-ld5X6qB6hrp40svDkJX_9K0MKkZTxal-fLVQpIz8,6949
82
83
  xedocs/xenon_config.py,sha256=QQlg2icofZWq_UAh5kDSuViai0uP_3ClozNNv6mpx3s,2674
83
- xedocs-0.2.29.dist-info/AUTHORS.rst,sha256=7XNtvXT_irnC5nzau-Al_VVmmhk8EgW811pPs8OXgBo,164
84
- xedocs-0.2.29.dist-info/METADATA,sha256=FMGYa8nVVW8-pfUSgUD1tqRm6VIqNwlB6z6x-AFusZc,5864
85
- xedocs-0.2.29.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
86
- xedocs-0.2.29.dist-info/entry_points.txt,sha256=AfKuejqaCB-nA4rYbuWtMcR0d-t4nNzrM3s8V_e7YSk,92
87
- xedocs-0.2.29.dist-info/RECORD,,
84
+ xedocs-0.2.30.dist-info/AUTHORS.rst,sha256=7XNtvXT_irnC5nzau-Al_VVmmhk8EgW811pPs8OXgBo,164
85
+ xedocs-0.2.30.dist-info/METADATA,sha256=sysopXtjAMyGhfygg94cEBf6bVfIYLRyCcUtmWnmysw,5864
86
+ xedocs-0.2.30.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
87
+ xedocs-0.2.30.dist-info/entry_points.txt,sha256=AfKuejqaCB-nA4rYbuWtMcR0d-t4nNzrM3s8V_e7YSk,92
88
+ xedocs-0.2.30.dist-info/RECORD,,