Skip to content

Conversation

@rbuckley-png
Copy link

@rbuckley-png rbuckley-png commented Dec 10, 2025

Functionality to process calibration files for 10 turn BDots.
Script to call in the command line. It looks for all folders in your directory starting with "Cxx". It will plot mag vs freq, phase vs freq, and effective area vs freq and save them as png files. It calculates effective area by applying a linear fit to the mag vs freq plot and prints these values in the terminal. The script also gives effective area calculated at each frequency point saved as a .csv file.

Usage: In the terminal navigate to the directory where your raw calibration files are located
Paste the script into the directory
Call the script for the probe of interest "python nAcalc.py Cxx"
It will output the effective area for each axis and save the other outputs in a folder named "Cxx_Results"

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.

1 participant