diff --git a/gstlal-burst/bin/gstlal_feature_extractor b/gstlal-burst/bin/gstlal_feature_extractor index d1083bdf337cc8382c615c6c8cb0b24e870831a1..b5444719090bfdbc4fba65cbcefff7d5fb71ed2c 100755 --- a/gstlal-burst/bin/gstlal_feature_extractor +++ b/gstlal-burst/bin/gstlal_feature_extractor @@ -418,7 +418,7 @@ for subset_id, channel_subset in enumerate(data_source_info.channel_subsets, 1): head[channel] = pipeparts.mklatency(pipeline, head[channel], name=utils.latency_name('beforewhitening', 2, channel)) # whiten auxiliary channel data - for rate, thishead in multirate_datasource.mkwhitened_multirate_src(pipeline, head[channel], rates, samp_rate, instrument, channel_name = channel, width=32, nxydump_segment=options.nxydump_segment).items(): + for rate, thishead in multirate_datasource.mkwhitened_multirate_src(pipeline, head[channel], rates, samp_rate, instrument, channel_name = channel, width=32, nxydump_segment=options.nxydump_segment, psd_fft_length=options.psd_fft_length).items(): if options.latency_output: thishead = pipeparts.mklatency(pipeline, thishead, name=utils.latency_name('afterwhitening', 3, channel, rate)) diff --git a/gstlal-burst/python/fxtools/feature_extractor.py b/gstlal-burst/python/fxtools/feature_extractor.py index f6414342516e7614dd67845d26e9fdf10150fa1f..e82e073481b553f4cc24ad17e1300afd91c06c36 100644 --- a/gstlal-burst/python/fxtools/feature_extractor.py +++ b/gstlal-burst/python/fxtools/feature_extractor.py @@ -506,6 +506,7 @@ def append_options(parser): parser.add_option_group(group) group = optparse.OptionGroup(parser, "Program Behavior") + group.add_option("--psd-fft-length", metavar = "seconds", default = 32, type = "int", help = "The length of the FFT used to used to whiten the data (default is 32 s).") group.add_option("--local-frame-caching", action = "store_true", help = "Pre-reads frame data and stores to local filespace.") group.add_option("--disable-web-service", action = "store_true", help = "If set, disables web service that allows monitoring of PSDS of aux channels.") group.add_option("-v", "--verbose", action = "store_true", help = "Be verbose.")