xedocs 0.2.40__tar.gz → 0.2.44__tar.gz

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.
Files changed (93) hide show
  1. {xedocs-0.2.40 → xedocs-0.2.44}/PKG-INFO +4 -3
  2. {xedocs-0.2.40 → xedocs-0.2.44}/pyproject.toml +2 -2
  3. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/__init__.py +1 -1
  4. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/constants.py +2 -0
  5. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/__init__.py +2 -0
  6. xedocs-0.2.44/xedocs/schemas/corrections/implementations/peak_reconstruction_bias.py +21 -0
  7. xedocs-0.2.44/xedocs/schemas/corrections/implementations/relative_charge_yield.py +20 -0
  8. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/operations_reports/detector_operations.py +5 -3
  9. {xedocs-0.2.40 → xedocs-0.2.44}/AUTHORS.rst +0 -0
  10. {xedocs-0.2.40 → xedocs-0.2.44}/README.rst +0 -0
  11. {xedocs-0.2.40 → xedocs-0.2.44}/tests/__init__.py +0 -0
  12. {xedocs-0.2.40 → xedocs-0.2.44}/tests/test_corrections.py +0 -0
  13. {xedocs-0.2.40 → xedocs-0.2.44}/tests/test_xedocs.py +0 -0
  14. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/_settings.py +0 -0
  15. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/_straxen_plugin.py +0 -0
  16. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/cli.py +0 -0
  17. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/clock.py +0 -0
  18. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/data_locations/__init__.py +0 -0
  19. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/data_locations/api.py +0 -0
  20. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/data_locations/corrections_repo.py +0 -0
  21. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/data_locations/data_folder.py +0 -0
  22. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/data_locations/github.py +0 -0
  23. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/data_locations/mongodb.py +0 -0
  24. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/databases.py +0 -0
  25. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/dispatchers.py +0 -0
  26. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/entrypoints.py +0 -0
  27. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/json_records.py +0 -0
  28. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/regex_dispatcher.py +0 -0
  29. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/__init__.py +0 -0
  30. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/analysis/__init__.py +0 -0
  31. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/analysis/base_analysis.py +0 -0
  32. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/analysis/processing_requests.py +0 -0
  33. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/base_schemas.py +0 -0
  34. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/calibrations/__init__.py +0 -0
  35. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/calibrations/base_calibrations.py +0 -0
  36. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/calibrations/diffused_calibration.py +0 -0
  37. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/calibrations/ibelt_calibrations.py +0 -0
  38. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/calibrations/sources.py +0 -0
  39. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/calibrations/utube_calibrations.py +0 -0
  40. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/context_config.py +0 -0
  41. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/context_lineage.py +0 -0
  42. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/__init__.py +0 -0
  43. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/base_corrections.py +0 -0
  44. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/base_references.py +0 -0
  45. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/avg_se_gain.py +0 -0
  46. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/baseline_samples_nv.py +0 -0
  47. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/bayes_model.py +0 -0
  48. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/cs2_aft_corrections.py +0 -0
  49. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/electron_diffusion_cte.py +0 -0
  50. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/electron_drift.py +0 -0
  51. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/electron_lifetime.py +0 -0
  52. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/extraction_efficiency.py +0 -0
  53. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/field_distortion.py +0 -0
  54. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/field_simulation.py +0 -0
  55. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/global_versions.py +0 -0
  56. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/hit_thresholds.py +0 -0
  57. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/hotspot_veto_cut.py +0 -0
  58. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/lone_hits.py +0 -0
  59. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/photoionization_strength.py +0 -0
  60. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/pmt_area_to_pe.py +0 -0
  61. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/position_reconstruction.py +0 -0
  62. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/relative_light_yield.py +0 -0
  63. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/s1_aft_xyz.py +0 -0
  64. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/s1_pattern_maps.py +0 -0
  65. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/s1_xyz.py +0 -0
  66. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/s2_pattern_maps.py +0 -0
  67. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/s2_xy.py +0 -0
  68. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/se_gain_partition.py +0 -0
  69. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/se_gains.py +0 -0
  70. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/som_network.py +0 -0
  71. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/test_correction.py +0 -0
  72. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/corrections/implementations/z_bias.py +0 -0
  73. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/detector_numbers.py +0 -0
  74. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/fax.py +0 -0
  75. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/historian_reader.py +0 -0
  76. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/operations_reports/__init__.py +0 -0
  77. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/operations_reports/abnormal_rates.py +0 -0
  78. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/operations_reports/anode_ramp.py +0 -0
  79. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/operations_reports/anode_washing.py +0 -0
  80. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/operations_reports/base_report.py +0 -0
  81. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/operations_reports/hotspot.py +0 -0
  82. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/plugin_lineages.py +0 -0
  83. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/pmt_data/__init__.py +0 -0
  84. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/pmt_data/base_pmt_data.py +0 -0
  85. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/pmt_data/gain_calculation.py +0 -0
  86. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/pmt_data/pmt_installs.py +0 -0
  87. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/pmt_data/pmts.py +0 -0
  88. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/pmt_data/voltage_changes.py +0 -0
  89. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/schemas/pmt_data/voltage_settings.py +0 -0
  90. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/utils.py +0 -0
  91. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/widgets.py +0 -0
  92. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/xedocs.py +0 -0
  93. {xedocs-0.2.40 → xedocs-0.2.44}/xedocs/xenon_config.py +0 -0
@@ -1,7 +1,8 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: xedocs
3
- Version: 0.2.40
3
+ Version: 0.2.44
4
4
  Summary: Top-level package for xedocs.
5
+ License-File: AUTHORS.rst
5
6
  Author: Yossi Mosbacher
6
7
  Author-email: joe.mosbacher@gmail.com
7
8
  Requires-Python: >=3.9,<3.13
@@ -20,7 +21,7 @@ Requires-Dist: click
20
21
  Requires-Dist: parse (>=1.20.2,<2.0.0)
21
22
  Requires-Dist: pymongo ; extra == "db"
22
23
  Requires-Dist: pyyaml (>=6.0,<7.0)
23
- Requires-Dist: rframe (>=0.2.23,<0.3.0)
24
+ Requires-Dist: rframe (>=0.2.25,<0.3.0)
24
25
  Requires-Dist: rich
25
26
  Requires-Dist: tinydb (>=4.8.2,<5.0.0)
26
27
  Requires-Dist: tqdm (>=4.67.1,<5.0.0)
@@ -1,7 +1,7 @@
1
1
  [tool]
2
2
  [tool.poetry]
3
3
  name = "xedocs"
4
- version = "0.2.40"
4
+ version = "0.2.44"
5
5
  homepage = "https://github.com/XENONnT/xedocs"
6
6
  description = "Top-level package for xedocs."
7
7
  authors = ["Yossi Mosbacher <joe.mosbacher@gmail.com>"]
@@ -23,7 +23,7 @@ packages = [
23
23
  python = ">=3.9,<3.13"
24
24
  click = "*"
25
25
  rich = "*"
26
- rframe = "^0.2.23"
26
+ rframe = "^0.2.25"
27
27
  pymongo = {version = "*", optional = true}
28
28
  appdirs = "^1.4.4"
29
29
  tinydb = "^4.8.2"
@@ -2,7 +2,7 @@
2
2
 
3
3
  __author__ = """Yossi Mosbacher"""
4
4
  __email__ = "joe.mosbacher@gmail.com"
5
- __version__ = "0.2.40"
5
+ __version__ = "0.2.44"
6
6
 
7
7
 
8
8
  import logging
@@ -22,3 +22,5 @@ DIFFUSED_SOURCE = Literal["rn-220", "rn-222", "kr-83m", "ar-37",]
22
22
  DETECTOR = Literal["tpc", "neutron_veto", "muon_veto", "tpc_he"]
23
23
 
24
24
  PARTITION = Literal["all_tpc", "ab", "cd"]
25
+
26
+ SIGNAL = Literal["s1", "s2"]
@@ -14,6 +14,7 @@ from .se_gains import *
14
14
  from .electron_diffusion_cte import *
15
15
  from .baseline_samples_nv import *
16
16
  from .relative_light_yield import *
17
+ from .relative_charge_yield import *
17
18
  from .s1_aft_xyz import *
18
19
  from .avg_se_gain import *
19
20
  from .bayes_model import *
@@ -26,3 +27,4 @@ from .z_bias import *
26
27
  from .cs2_aft_corrections import *
27
28
  from .se_gain_partition import *
28
29
  from .test_correction import *
30
+ from .peak_reconstruction_bias import *
@@ -0,0 +1,21 @@
1
+ """
2
+ Peak Reconstruction Bias
3
+
4
+ Atul Prajapati, Carlo Fuselli, Chiara Di Donato
5
+
6
+ https://xe1t-wiki.lngs.infn.it/doku.php?id=xenon:xennont:peak_reconstruction_bias_sr2
7
+ Description: We know that there are multiple effects that introduce a bias in the reconstructed area. We estimate this bias with simulations produced with fuse. We compare the raw area that is the input, with the reconstrcuted area. We observe that effects like thresholds, afterpulses (AP) and noise introduce an energy dependent bias of the order of 2-3%. We want to provide a correction for the S1 and S2 areas to take these effects into account. Note that photo-ionisation also induces a similar bias, but this topic is not addressed in this notes (for now).
8
+
9
+ """
10
+ import rframe
11
+
12
+ from ..base_references import BaseResourceReference
13
+ from ...constants import SIGNAL
14
+
15
+ class PeakReconstructionBias(BaseResourceReference):
16
+ _ALIAS = "peak_reconstruction_bias"
17
+ fmt = "json"
18
+
19
+ signal: SIGNAL = rframe.Index()
20
+
21
+ value: str
@@ -0,0 +1,20 @@
1
+ """
2
+ # Correction: Relative charge yield
3
+ # What is it correction: Corrected areas (cS2)
4
+
5
+ # Description: Correction done to the area of cS2s in our detector. The relative charge yield corresponds to the number of electrons released by an interaction per energy. This correction helps us convert from the number of electrons observed in an S2 event to an energy.
6
+
7
+ # Latest wiki reference: https://xe1t-wiki.lngs.infn.it/doku.php?id=caio:analysis:sr2:v18.5_relative_cy_map
8
+
9
+ """
10
+
11
+
12
+ import rframe
13
+
14
+ from ..base_corrections import TimeSampledCorrection
15
+
16
+
17
+ class RelativeChargeYield(TimeSampledCorrection):
18
+
19
+ _ALIAS = "relative_charge_yield"
20
+ value: float
@@ -6,6 +6,8 @@ class DetectorOperations(BaseOperationsReport):
6
6
 
7
7
  _ALIAS="detector_operations"
8
8
 
9
- system:Literal["CRY", "PUR", "LXePUR", "RSX", "RSX_2", "DST", "RAD", "DAQ"]
10
- subject: str
11
-
9
+ #system:Literal["CRY", "PUR", "LXePUR", "RSX", "RSX_2", "DST", "RAD", "DAQ"]
10
+ system: str = ""
11
+ label: str = ""
12
+ details: str = ""
13
+ link: str = ""
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes