Skip to content

Commit fbe0782

Browse files
jsafferpre-commit-ci[bot]kjmeagher
authored
Fixing the 4-component version of GST (#58)
* Correct the 4-component parameterization of GST The original GST paper (http://doi.org/10.1007/s11467-013-0319-7) gives a parameterization of the CR flux in several populations based on p, He, C, O and Fe mass groups (Table 3). I see that this doesn't match the 5-component model that is used in some working groups (that's why I didn't touch the 5-component model) but for the 4-component version it would be appropriate to use the correct Z values and combine C and O. * Update GST_IT Updating the 4-component GST model to the 4-population version, having C and O combined with the correct Z and Fe combined with the super heavy component * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Rename new flux model `GlobalFitGST4Comp` to keep _IT model the same * Apply suggestion from @kjmeagher --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kevin Meagher <11620178+kjmeagher@users.noreply.github.com>
1 parent 6cd8cca commit fbe0782

5 files changed

Lines changed: 36 additions & 592 deletions

File tree

src/simweights/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"GenieSurface",
2929
"GenieWeighter",
3030
"GlobalFitGST",
31+
"GlobalFitGST4Comp",
3132
"GlobalFitGST_IT",
3233
"GlobalSplineFit",
3334
"GlobalSplineFit5Comp",
@@ -57,6 +58,7 @@
5758
GaisserH4a_IT,
5859
GaisserHillas,
5960
GlobalFitGST,
61+
GlobalFitGST4Comp,
6062
GlobalFitGST_IT,
6163
GlobalSplineFit,
6264
GlobalSplineFit5Comp,

src/simweights/_fluxes.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,39 @@ class GlobalFitGST_IT(CosmicRayFlux):
346346
)
347347

348348

349+
class GlobalFitGST4Comp(CosmicRayFlux):
350+
r"""GlobalFitGST4Comp (4 populations) for four components [p, He, O, Fe].
351+
352+
The Oxygen group is the sum of Carbon and Oxygen groups.
353+
The Iron group is the sum of Iron, Tellurium and Mercury groups.
354+
Provided by J. Saffer.
355+
"""
356+
357+
pdgids = PDGID_4COMP
358+
_funcs = (
359+
lambda E: (
360+
0.7000 * E**-2.66 * exp(-E / 1.2e5)
361+
+ 0.0150 * E**-2.4 * exp(-E / 4e6)
362+
+ 0.0012 * E**-2.4 * exp(-E / 1.5e9)
363+
+ 0.00012 * E**-2.4 * exp(-E / 40e9)
364+
),
365+
lambda E: 0.3200 * E**-2.58 * exp(-E / 1.2e5 / 2) + 0.0065 * E**-2.3 * exp(-E / 4e6 / 2),
366+
lambda E: (
367+
0.0100 * E**-2.40 * exp(-E / 1.2e5 / 6)
368+
+ 0.0006 * E**-2.3 * exp(-E / 4e6 / 6)
369+
+ 0.0130 * E**-2.40 * exp(-E / 1.2e5 / 8)
370+
+ 0.0007 * E**-2.3 * exp(-E / 4e6 / 8)
371+
),
372+
lambda E: (
373+
0.0060 * E**-2.30 * exp(-E / 1.2e5 / 26)
374+
+ 0.00021 * E**-2.2 * exp(-E / 4e6 / 26)
375+
+ 0.0000011 * E**-2.2 * exp(-E / 1.5e9 / 26)
376+
+ 0.00001 * E**-2.2 * exp(-E / 4e6 / 52)
377+
+ 0.000053 * E**-2.2 * exp(-E / 4e6 / 80)
378+
),
379+
)
380+
381+
349382
class GlobalSplineFitBase(CosmicRayFlux):
350383
r"""Data-driven spline fit of the cosmic ray spectrum by Dembinski et. al. \ [#GSFDembinski]_.
351384

0 commit comments

Comments
 (0)