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 conversion to ADC bins from arbitrary FPGA units #100

Closed slwatkins closed 5 years ago

slwatkins commented 5 years ago

I added to the trigger simulation a hidden method for calculating the conversion factor from the FPGA units to ADC bins, which is useful for comparing the FPGA filter to offline optimum filters. This factor is calculated when the rqpy.sim.TrigSim class is initialized, which is then saved as the convtoadcbins attribute.