pueoAnalysisTools
Loading...
Searching...
No Matches
calibration.py File Reference

main() shows how to minimize() the objective function() for antenna phase center calibration. More...

Go to the source code of this file.

Functions

pl.DataFrame generate_antenna_phase_center_pairs_with_placeholders (Path qrh_dot_dat)
 Creates antenna pairs with placeholder integers as antenna phase centers.
 
[int] __get_all_run_numbers (Path pueo_mc_data)
 A temporary helper function of load_dataset_and_measure_time_delays()
 
pl.DataFrame load_dataset_and_measure_time_delays (ROOT.pueo.Dataset dataset, pl.DataFrame phase_center_pairs)
 Uses SciPy's correlate() to "measure" the delays of waveforms between antenna pairs.
 
pl.DataFrame _scipy_cross_correlate_all_pairs_for_one_event (pl.DataFrame phase_center_pairs, pl.DataFrame waveforms)
 A helper function of load_dataset_and_measure_time_delays()
 
 retrieve_relevant_antennas_from_all_pairs (pl.DataFrame phase_center_pairs)
 Retrieves the (unique) antennas, given a bunch of antenna pairs.
 
int objective_function (pl.Series phase_center_guess, pl.Series phase_center_placeholders, pl.DataFrame pulser_directions_and_measured_time_delays, str axis)
 Computes the expected time delays and compares them with the measured time delays, designed to be run by SciPy's minimizer.
 
 _plot_calibration_result (str axis, pl.DataFrame before, np.ndarray after)
 

Detailed Description

main() shows how to minimize() the objective function() for antenna phase center calibration.

Definition in file calibration.py.