aboutsummaryrefslogtreecommitdiff
path: root/src/test-charge.c
AgeCommit message (Collapse)Author
2019-03-16add GPLv3 licensetlatorre
2018-11-28update sno_charge.ctlatorre
This commit adds lots of comments to sno_charge.c and makes a couple of other changes: - use interp1d() instead of the GSL interpolation routines - increase MAX_PE to 100 I increased MAX_PE because I determined that it had a rather large impact on the likelihood function for 500 MeV electrons. This unfortunately slows down the initialization by a lot. I think I could speed this up by convolving the single PE charge distribution with a gaussian *before* convolving the charge distributions to compute the charge distributions for multiple PE.
2018-09-18add free_charge() to free memory used to interpolate the charge distributionstlatorre
2018-08-14move everything to src directorytlatorre