Opened 9 years ago

Closed 5 years ago

#1399 closed enhancement (duplicate)

[MuonGun] Implement unbiased generation

Reported by: Jakob van Santen Owned by: Juan Carlos Díaz Vélez
Priority: normal Milestone: Long-Term Future
Component: combo simulation Keywords:
Cc:

Description

Coincident background injection requires truly unbiased generation. Currently this is not directly supported; the closest you can get is drawing energies from a spectrum that is close to the natural spectrum. Add a rejection sampling (or similar) scheme to draw bundle energies directly from the parameterized flux.

Change History (15)

comment:1 Changed 8 years ago by Jakob van Santen

In 148890/IceCube:

Work in progress from a few months ago to implement natural-rate sampling (see
#1399). Things done so far:

  • Correct implementation of MUPAGE parameterizations. It turns out that the energy units were wrong. Durr.
  • Tentative implementation of joint sampling from the energy/radius distribution. For BMSS (MUPAGE) this is direct; for the spline distributions it uses an indepencence Metropolis-Hastings sampler with BMSS as the proposal distribution.

The latter is unsatisifying, as the sampler is not guaranteed to converge to
the stationary distribution, nor is the correlation between the samples known.
The obvious approach of sampling first from the unconditional radial
distribution (i.e. integrated over all energies) does not work in general,
because the parameterized radial distibution does not match the integral of the
joint distribution everywhere (they were fit separately). Straight rejection
sampling is also not great, since the location of the maximum is not generally
known, nor can one guarantee that the surface is either strictly log-concave or
log-convex. More thought (or perhaps acceptance of general slowness) is needed.

comment:2 Changed 8 years ago by Jakob van Santen

In 148992/IceCube:

Implement sampling from joint radius/energy distribution via affine-invariant
ensemble MCMC (cribbed from emcee). Next step is to work up an injector that
knows how to use natural-rate bundles. See #1399.

comment:3 Changed 7 years ago by Jakob van Santen

Natural rate sampling is now implemented in branches/unbiased-generation. Now someone needs to test whether it produces sane-looking data.

comment:4 Changed 7 years ago by Juan Carlos Díaz Vélez

This is awesome! I will test.

comment:5 Changed 7 years ago by Jakob van Santen

  • Milestone changed from IceSim 5.1 to June 2017
  • Status changed from new to accepted

comment:6 Changed 6 years ago by Alex Olivas

Testing this might be a natural candidate for the Strike Team post-Stockholm.

comment:7 Changed 6 years ago by Alex Olivas

  • Milestone changed from July 2017 to Winter Solstice 2018

comment:8 Changed 5 years ago by Jakob van Santen

  • Owner changed from jvansanten to juancarlos
  • Status changed from accepted to assigned

This still needs to be compared to CORSIKA-based coincident background generation.

comment:9 Changed 5 years ago by Alex Olivas

  • Milestone changed from Vernal Equinox 2019 to Autumnal Equinox 2019

comment:10 Changed 5 years ago by Alex Olivas

Apparently this in on the trunk already and Juan Carlos is going to generate a set of unbiased MuonGun? samples. Once that's done we'll close this as fixed and open another tracking ticket for the comparisons, which will likely take special care and be a longer term project.

comment:11 Changed 5 years ago by Jakob van Santen

Comparisons have been attempted in the past, but they were hampered by poorly chosen generator settings. Since you can't easily generate CORSIKA that only produces a specific range of muon energies at depth, the MuonGun? simulation needs to cover the full muon energy range of the parameterization. Likewise, since MuonGun? integrates over a fixed primary composition, the CORSIKA set you compare to needs to cover the full range of primary energies that contribute to the muon flux at depth.

comment:12 Changed 5 years ago by Alex Olivas

It's time to start thinking about the next milestone. Going to try something new, since waiting until the code sprints to attack tickets hasn't provided the results we were hoping for.

If you're the owner of this ticket, please acknowledge you're at least receiving email updates by 'accept'ing this ticket in 3 easy steps.

1) Click "Modify Ticket"
2) Click "accept"
3) Click "Submit changes"

comment:13 Changed 5 years ago by Alex Olivas

To the owner of this ticket. Signal you're aware if this ticket, by 'accept'ing it.

comment:14 Changed 5 years ago by Alex Olivas

  • Milestone changed from Autumnal Equinox 2019 to Long-Term Future

comment:15 Changed 5 years ago by Alex Olivas

  • Resolution set to duplicate
  • Status changed from assigned to closed

Moved to smartsheets.

Note: See TracTickets for help on using tickets.