bilby.gw.detector.calibration.write_calibration_file
- bilby.gw.detector.calibration.write_calibration_file(filename, frequency_array, calibration_draws, calibration_parameter_draws=None)[source]
Function to write the generated response curves to file
- Parameters:
- filename: str
Location and filename to save the file
- frequency_array: array-like
The frequency values where the calibration response was calculated
- calibration_draws: array-like
Array which contains the calibration responses as a function of the frequency array specified. Shape is (number_of_response_curves x len(frequency_array))
- calibration_parameter_draws: data_frame
Parameters used to generate the random draws of the calibration response curves