Skip to content
Snippets Groups Projects
Commit 913fd169 authored by kipp's avatar kipp
Browse files

Add DEFAULT_MEDIAN_SAMPLES definition.

parent 79310910
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,7 @@
#define DEFAULT_ZERO_PAD_SECONDS 2.0
#define DEFAULT_FFT_LENGTH_SECONDS 8.0
#define DEFAULT_AVERAGE_SAMPLES 16
#define DEFAULT_MEDIAN_SAMPLES 13
#define DEFAULT_PSDMODE GSTLAL_PSDMODE_INITIAL_LIGO_SRD
......@@ -1070,7 +1071,7 @@ static void instance_init(GTypeInstance * object, gpointer class)
element->window = NULL;
element->fwdplan = NULL;
element->revplan = NULL;
element->psd_regressor = XLALPSDRegressorNew(DEFAULT_AVERAGE_SAMPLES, 1);
element->psd_regressor = XLALPSDRegressorNew(DEFAULT_AVERAGE_SAMPLES, DEFAULT_MEDIAN_SAMPLES);
element->psd = NULL;
element->tail = NULL;
element->xml_filename = NULL;
......
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