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.
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 theconvtoadcbins
attribute.