Skip to content
Snippets Groups Projects
Commit b955f020 authored by Colm Talbot's avatar Colm Talbot
Browse files

add source file to prior file

parent c83c9f2d
No related branches found
No related tags found
1 merge request!113Add calibration
Pipeline #
......@@ -443,6 +443,8 @@ def calibration_prior_from_envelope(envelope_file, minimum_frequency,
phase_sigma_nodes = UnivariateSpline(frequency_array, phase_sigma)(nodes)
with open('{}_calibration.prior'.format(label), 'w') as ff:
ff.write("# calibration spline points and prior ")
ff.write("generated from {}\n".format(os.path.abspath(envelope_file)))
for ii in range(n_nodes):
name = "recalib_{}_amplitude_{}".format(label, ii)
latex_label = "$A^{}_{}$".format(label, ii)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment