Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to automate data collection for arbitrary drive waveform #1

Merged
merged 10 commits into from
Aug 6, 2024

Conversation

ange1a-j14
Copy link
Collaborator

acquire_automatic.py is the program for automatic data collection, with options to toggle whether to plot data for each shot and whether to store data. One function handles running one shot, so the code is easily customizable for either solely collecting a customizable amount of data, or for debugging single shots.
acquire_continuous.py was the initial program used to get RP wave generation & scope trace collection through code working. The final version is the code used to retake calibration data using both the RP to drive the speaker with pure sine waves and measure PD response.
util.py contains useful functions for generating waveforms, converting from voltage to displacement or velocity, and writing data to an h5py file.
calibration_rp.ipynb contains the calibration fit on the data collected using acquire_continuous.py.

Copy link
Owner

@npeard npeard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No obvious changes needed

@npeard npeard merged commit 8696486 into main Aug 6, 2024
1 check failed
@npeard npeard deleted the working branch August 6, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants