softpaws 1.0.0__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.
Files changed (114) hide show
  1. softpaws/__init__.py +31 -0
  2. softpaws/_paper/__init__.py +5 -0
  3. softpaws/_paper/reduced.py +749 -0
  4. softpaws/_paper/site_fit.py +1231 -0
  5. softpaws/comparison/__init__.py +83 -0
  6. softpaws/comparison/event_energy.py +527 -0
  7. softpaws/comparison/events.py +253 -0
  8. softpaws/comparison/feldman_cousins.py +174 -0
  9. softpaws/comparison/likelihood.py +448 -0
  10. softpaws/comparison/posterior.py +409 -0
  11. softpaws/comparison/rates.py +505 -0
  12. softpaws/comparison/reco_likelihood.py +950 -0
  13. softpaws/constants.py +510 -0
  14. softpaws/data/__init__.py +81 -0
  15. softpaws/data/atmospheric/mceq_numu_south_pole.npz +0 -0
  16. softpaws/data/bounds/icecube_14year_track_sensitivity_e2.csv +49 -0
  17. softpaws/data/bounds/icecubegen2_dm_lines.csv +66 -0
  18. softpaws/data/coefficients/proposal_muon_rock.csv +118 -0
  19. softpaws/data/coefficients/proposal_muon_water.csv +118 -0
  20. softpaws/data/container.py +188 -0
  21. softpaws/data/geofiles/icecube.geo +5164 -0
  22. softpaws/data/hese.py +235 -0
  23. softpaws/data/icecube/flavor2510_fig1.csv +432 -0
  24. softpaws/data/icecube.py +364 -0
  25. softpaws/data/km3net/arca21_aeff_brighttrack_allflavour_skyavg.csv +68 -0
  26. softpaws/data/km3net/arca_trigger_level_eff.csv +107 -0
  27. softpaws/data/km3net/km3net_angle_dependent.csv +64 -0
  28. softpaws/data/km3net/uhe_release/README.md +12 -0
  29. softpaws/data/km3net/uhe_release/flux_constraints/README.md +13 -0
  30. softpaws/data/km3net/uhe_release/flux_constraints/icecube_segmentedfit_glashow.json +1 -0
  31. softpaws/data/km3net/uhe_release/flux_constraints/icecube_segmentedfit_hese.json +1 -0
  32. softpaws/data/km3net/uhe_release/flux_constraints/icecube_segmentedfit_nst.json +1 -0
  33. softpaws/data/km3net/uhe_release/flux_constraints/icecube_spl_bestfit.json +1 -0
  34. softpaws/data/km3net/uhe_release/flux_constraints/icecube_spl_hese_contour1sigma.json +1 -0
  35. softpaws/data/km3net/uhe_release/flux_constraints/icecube_spl_nst_contour1sigma.json +1 -0
  36. softpaws/data/km3net/uhe_release/flux_constraints/limits_differential_antares.json +1 -0
  37. softpaws/data/km3net/uhe_release/flux_constraints/limits_differential_auger.json +1 -0
  38. softpaws/data/km3net/uhe_release/flux_constraints/limits_differential_icecube-ehe.json +1 -0
  39. softpaws/data/km3net/uhe_release/flux_models/README.md +28 -0
  40. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_Aloisio+[1505.04020].json +1 -0
  41. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_Berat+[2402.04759].json +1 -0
  42. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_Boncioli+[1808.07481].json +1 -0
  43. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_Condorelli+[2209.08593].json +1 -0
  44. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_Ehlert+[2304.07321].json +1 -0
  45. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_Muzio+[2209.08068].json +1 -0
  46. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_Muzio+[2303.04170].json +1 -0
  47. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_PAO+[2211.02857].json +1 -0
  48. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_Winter+[1901.03338].json +1 -0
  49. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_Zhang+[1812.10289].json +1 -0
  50. softpaws/data/km3net/uhe_release/flux_models/cosmogenic_band.json +1 -0
  51. softpaws/data/km3net/uhe_release/flux_models/source_Boncioli+[1808.07481]_LL-GRB.json +1 -0
  52. softpaws/data/km3net/uhe_release/flux_models/source_Fang+[1311.2044].json +1 -0
  53. softpaws/data/km3net/uhe_release/flux_models/source_Rodrigues+[2003.08392v3].json +1 -0
  54. softpaws/data/km3net/uhe_release/flux_models/source_Rodrigues+[2307.13024]_Sample_BLLacs.json +1 -0
  55. softpaws/data/km3net/uhe_release/flux_models/source_Rodrigues+[2307.13024]_Sample_SFRQ.json +1 -0
  56. softpaws/data/km3net/uhe_release/flux_models/source_Tamborra+[1504.00107v2]_LL-GRB.json +1 -0
  57. softpaws/data/km3net/uhe_release/flux_models/source_Tamborra+[1504.00107v2]_s-GRB.json +1 -0
  58. softpaws/data/km3net/uhe_release/flux_models/source_Winter+[2205.11538v3]_TDE.json +1 -0
  59. softpaws/data/km3net/uhe_release/flux_models/source_band.json +1 -0
  60. softpaws/data/loader.py +363 -0
  61. softpaws/data/paths.py +86 -0
  62. softpaws/data/pone/pone_0_30.csv +58 -0
  63. softpaws/data/pone/pone_120_150.csv +54 -0
  64. softpaws/data/pone/pone_150_180.csv +72 -0
  65. softpaws/data/pone/pone_30_60.csv +55 -0
  66. softpaws/data/pone/pone_60_90.csv +59 -0
  67. softpaws/data/pone/pone_90_120.csv +53 -0
  68. softpaws/data/pone/pone_allsky.csv +47 -0
  69. softpaws/data/published.py +419 -0
  70. softpaws/data/schema.py +47 -0
  71. softpaws/data/standards.json +65 -0
  72. softpaws/data/trident/trident_-0.2_0.2.csv +84 -0
  73. softpaws/data/trident/trident_-1_-0.2.csv +82 -0
  74. softpaws/data/trident/trident_0.2_1.0.csv +81 -0
  75. softpaws/data/trident/trident_2025_fig3a_log10aeff_m2.csv +13 -0
  76. softpaws/data/xsec/BGR18/numu_xsec.csv +56 -0
  77. softpaws/data/xsec/BGR18/numu_xsec_nc.csv +49 -0
  78. softpaws/data/xsec/BGR18_nubar/numu_xsec.csv +65 -0
  79. softpaws/data/xsec/BGR18_nubar/numu_xsec_nc.csv +58 -0
  80. softpaws/detectors/__init__.py +51 -0
  81. softpaws/detectors/optics.py +200 -0
  82. softpaws/detectors/sites.py +409 -0
  83. softpaws/fluxes/__init__.py +56 -0
  84. softpaws/fluxes/astrophysical.py +237 -0
  85. softpaws/fluxes/atmospheric.py +320 -0
  86. softpaws/py.typed +0 -0
  87. softpaws/response/__init__.py +193 -0
  88. softpaws/response/declination.py +1008 -0
  89. softpaws/response/effective_area.py +852 -0
  90. softpaws/response/first_principles.py +818 -0
  91. softpaws/response/irfs.py +437 -0
  92. softpaws/response/light_reach.py +658 -0
  93. softpaws/response/published.py +213 -0
  94. softpaws/response/sensitivity.py +827 -0
  95. softpaws/response/soft_volume.py +1271 -0
  96. softpaws/standards.py +173 -0
  97. softpaws/transport/__init__.py +94 -0
  98. softpaws/transport/attenuation.py +473 -0
  99. softpaws/transport/coefficients.py +769 -0
  100. softpaws/transport/cross_section.py +304 -0
  101. softpaws/transport/cutoff_source.py +156 -0
  102. softpaws/transport/earth.py +301 -0
  103. softpaws/transport/eigenvalue.py +706 -0
  104. softpaws/transport/loss_distribution.py +613 -0
  105. softpaws/transport/loss_ensemble.py +332 -0
  106. softpaws/transport/muon_range.py +1121 -0
  107. softpaws/transport/soft_volume.py +1088 -0
  108. softpaws/transport/source.py +160 -0
  109. softpaws/transport/tau.py +335 -0
  110. softpaws-1.0.0.dist-info/METADATA +185 -0
  111. softpaws-1.0.0.dist-info/RECORD +114 -0
  112. softpaws-1.0.0.dist-info/WHEEL +5 -0
  113. softpaws-1.0.0.dist-info/licenses/LICENSE +674 -0
  114. softpaws-1.0.0.dist-info/top_level.txt +1 -0
softpaws/__init__.py ADDED
@@ -0,0 +1,31 @@
1
+ """softpaws — a first-principles forward model for UHE neutrino telescopes.
2
+
3
+ Implements the analytic muon transport of Meighen-Berger, *Estimating
4
+ High-Energy Neutrino Effective Areas from Muon Propagation* (2026). The locally
5
+ scale-invariant collision operator is diagonalized by power laws, so a muon's
6
+ whole loss history collapses to a single transport exponent ``Phi(s)``, which
7
+ then serves as a first-passage generator for the range of the muon and for the
8
+ detector response built on it. The result is benchmarked against the published
9
+ effective areas of IceCube, KM3NeT/ARCA, P-ONE and TRIDENT, against IceCube's
10
+ own instrument response functions (effective area + smearing matrix), and
11
+ against IceCube data.
12
+
13
+ Modules
14
+ -------
15
+ constants
16
+ Units (the code computes in GeV, cm, s and rad), physical constants and defaults.
17
+ data
18
+ Load the IceCube releases and the published curves of the other detectors.
19
+ detectors
20
+ Published geometry, medium, and optics for each site.
21
+ fluxes
22
+ Power laws, the published IceCube fits, and the atmospheric background.
23
+ transport
24
+ The loss kernel, the transport exponent, ranges, Earth, and the tau channel.
25
+ response
26
+ Forward models mapping a neutrino flux to an effective area or event rate.
27
+ comparison
28
+ Likelihoods, the event benchmark, and single-track energy reconstruction.
29
+ """
30
+
31
+ __version__ = "1.0.0"
@@ -0,0 +1,5 @@
1
+ """Code that reproduces the method paper's fits. Private: not part of the API.
2
+
3
+ The paper's scripts in ``scripts/2026_muon_transport/`` use it. Users read
4
+ the fitted values from :mod:`softpaws.standards` instead of running a fit.
5
+ """