This little project was initially started in my Analysis
repository, and so for a full history of the commit history you can check out this link.
The project eventually evolved beyond the point where it was still reasonable to keep it as a sub-folder in a bigger repo.
What this does is it uses MCEq to get neutrino fluxes at IceCube given a set of sterile oscillation parameters. Then, we use differential fluxes from NUSQuIDS to get differential fluxes for energy deposited vs true energy vs neutrino zenith angle. These then are combined with reconstruction data from the 7yrs Cascades paper to get a 4D array of fluxes:
- True Event Energy
- Reconstructed Energy
- True cos(zenith) angle of event
- Reconstructed cos(Zenith) angle of event
Then, we can take a tuple of reconstructed event params (energy, cos(Zenith)) and do a binlinear interpolation of the 2D slice (true E, true cz) around solved points in that 4D lattice. That yields a 2D array of likely truth values: their relative values indicating relative likelihoods of getting some truth value given reconstructed ones.
We also make just do a straight up convolution to get fluxes in reconstruction space. This is what we really like.
The sensitivity folder has all my code for a sensitivity analysis I'm working on. It'll be documented here once the paper is out
What do each of the files do, at a glance?
- config.json : a JSON-formatted text file providing configuration for the run
- cross_section_test : this just holds some macros for accessing nusquids cross section functions. It also keeps the cross sections in an object
- deporeco : handles the probabilities for reconstructing an energy given a deposited energy
- deposit : does the work for taking the neutrino fluxes and building that true E vs. depo E array
- nus_utils : more nusquids utilities
- raw_fluxes : generates the true neutrino fluxes at the atmosphere and at the detector using MCEq and nuSQuIDS
- reconstruct : makes the 4D lattice discussed in the Inroduction
- sensitivity : right now this just makes some plots, more to come soon
- tau_funcs: focuses on the weirder tau-energy-deposition probabilities
- utils: a bunch of cool utility functions!
Note: I haven't tested this in Python2 and have no intentions of supporting Python2. I'm pretty sure PyQt5 and some class decorators work differently in Python2, so odds are things won't work right. If you are still using Python2... why?
Use Python>3.6
These aren't realated, I'm just trying to keep track of these links for my own sake.