Commit 64ff2007 authored by Cody Messick's avatar Cody Messick

itacac: make comment style consistent

parent 9c894712
......@@ -665,12 +665,12 @@ static void generate_triggers(GSTLALItacac *itacac, GSTLALItacacPad *itacacpad,
g_assert(autocorrelation_length(itacacpad) & 1); // must be odd
if(itacac->peak_type == GSTLAL_PEAK_DOUBLE_COMPLEX) {
/* extract data around peak for chisq calculation */
// extract data around peak for chisq calculation
gstlal_double_complex_series_around_peak(this_maxdata, (double complex *) itacacpad->data->data + peak_finding_start * this_maxdata->channels, (double complex *) this_snr_mat, this_maxdata->pad);
gstlal_autocorrelation_chi2((double *) this_chi2, (double complex *) this_snr_mat, autocorrelation_length(itacacpad), -((int) autocorrelation_length(itacacpad)) / 2, itacacpad->snr_thresh, itacacpad->autocorrelation_matrix, itacacpad->autocorrelation_mask, itacacpad->autocorrelation_norm);
} else if(itacac->peak_type == GSTLAL_PEAK_COMPLEX) {
/* extract data around peak for chisq calculation */
// extract data around peak for chisq calculation
gstlal_float_complex_series_around_peak(this_maxdata, (float complex *) itacacpad->data->data + peak_finding_start * this_maxdata->channels, (float complex *) this_snr_mat, this_maxdata->pad);
gstlal_autocorrelation_chi2_float((float *) this_chi2, (float complex *) this_snr_mat, autocorrelation_length(itacacpad), -((int) autocorrelation_length(itacacpad)) / 2, itacacpad->snr_thresh, itacacpad->autocorrelation_matrix, itacacpad->autocorrelation_mask, itacacpad->autocorrelation_norm);
} else
......@@ -1392,7 +1392,7 @@ static void gstlal_itacac_pad_class_init(GSTLALItacacPadClass *klass)
"autocorrelation",
"Autocorrelation",
"Array of autocorrelation samples.",
/* FIXME: should be complex */
// FIXME: should be complex
g_param_spec_double(
"sample",
"Sample",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment