Open aakepley opened 7 years ago
Amanda will flesh out strategy. Jialu (@JialLi) has done some work. Also need to involve David Frayer.
Run this as a PR model
Based on talk with Erik: I need to take the logs, parse them, figure out what scans are flux calibration scans, and then fit a Gaussian to them to get eta_mb. I have the Gaussian fitting code in fit_peak. Need to add the driver code and clean things up a bit.
Need to compare with David's manual fits.
I've put together some code to do the flux calibration at /home/scratch/akepley/gbt_hcn/degas/dcr_test/peak_fit.py. You'll also need caldb.py in same directory.
I've run this all the way through and it works and delivers appropriate values for the eta_a and eta_mb. Some things that might be improved: