Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add data-driven SPE distributions for each channel (fax) (#595)
* Add spe_distribution.csv which contains pdf for sample channel. Modify simulation.py to pull from this distribution for the gains rather than truncated gaussian * Small fixes * Add spe_distribution.csv to Simulation.py and update the way the file is loaded using the utils.py intstead of hardcoding * make it work (almost) * Modify pdf of spe distribution so that the mean is equal to one. * Small changes, think it works now? * Add a space to comment in simulation.py * Add SPE distributions for each channel * Add SPE distributions for each channel * Small text changes in comments * Explicitly set SPE distribution to 0 for off PMTs * Change ch->channel in simulation.get_gains() * fix style issue * further style issue
- Loading branch information