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

fix log basis

parent 4486cb6e
No related branches found
No related tags found
1 merge request!113Add calibration
......@@ -406,8 +406,8 @@ def calibration_prior_from_envelope(envelope_file, minimum_frequency,
amplitude_sigma = (calibration_data[4] - calibration_data[2]) / 2
phase_sigma = (calibration_data[5] - calibration_data[3]) / 2
nodes = np.logspace(np.log(minimum_frequency), np.log(maximum_frequency),
n_nodes)
nodes = np.logspace(np.log10(minimum_frequency),
np.log10(maximum_frequency), n_nodes)
amplitude_mean_nodes =\
UnivariateSpline(frequency_array, amplitude_median)(nodes)
......
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