spice-herald / RQpy

This repository provides helpful tools for DM search analysis using detectors studied by the Pyle Group.
GNU General Public License v3.0
4 stars 3 forks source link

Add a DM rate plotting class #93

Closed slwatkins closed 5 years ago

slwatkins commented 5 years ago

I've added the class rqpy.RatePlot for plotting expected dR/dE curves as well as the spectra of inputted data. This class-based method allows the user to add arbitrary numbers of datasets and dRdE curves to the same plot.

I've also added a base class for making plots in RQpy called RQpyPlot to the _core_plotting.py file. It's used by RatePlot and could potentially be useful for future plotting functions.

Resolves #85.