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 option to autoresample DIDV data when processing IV/DIDV sweeps #180

Closed slwatkins closed 2 years ago

slwatkins commented 2 years ago

When DIDV data needs to be autoresampled such that an arbitrary number of signal generator periods can fit into a integer number of samples, the IV/dIdV analysis pipeline will fail, as the option to autoresample doesn't exist for the pipeline.

This PR adds the option to autoresample didv data via autoresample_didv, and it also ensures that the new digitization rate after the auto resampling is saved.

slwatkins commented 2 years ago

Good point, updated that part of the docstring.