Skip to content
Snippets Groups Projects
Commit c613d249 authored by Aaron Viets's avatar Aaron Viets
Browse files

lal_adaptivefirfilt: Don't over-normalize filters

parent 43ff5802
No related branches found
No related tags found
No related merge requests found
......@@ -334,8 +334,8 @@ static gboolean update_padded_filter(complex double *padded_model, gint64 padded
/* Make sure the Nyquist component is real */
padded_model[padded_model_length - 1] = creal(padded_model[padded_model_length - 1]);
/* Take the inverse Fourier transform */
double *padded_filter_temp = gstlal_irfft_double(padded_model, padded_model_length, (guint *) &padded_filter_length, NULL, 0, NULL, TRUE, 0, NULL, 0, NULL, NULL, 0, NULL, 0, NULL, NULL, NULL, FALSE);
/* Take the inverse Fourier transform. Don't normalize, since that is already included in the gain. */
double *padded_filter_temp = gstlal_irfft_double(padded_model, padded_model_length, (guint *) &padded_filter_length, NULL, 0, NULL, FALSE, 0, NULL, 0, NULL, NULL, 0, NULL, 0, NULL, NULL, NULL, FALSE);
/* Check if the filter has sain values in it */
gboolean success = TRUE;
......
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