Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
lscsoft
gstlal
Commits
b18ca978
Commit
b18ca978
authored
Mar 21, 2019
by
chad.hanna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gstlal_itacac.c: actually set the snr threshold when computing chisq...
parent
4ee635f9
Pipeline
#54385
passed with stages
in 29 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gstlal-inspiral/gst/lal/gstlal_itacac.c
gstlal-inspiral/gst/lal/gstlal_itacac.c
+2
-2
No files found.
gstlal-inspiral/gst/lal/gstlal_itacac.c
View file @
b18ca978
...
...
@@ -774,12 +774,12 @@ static void generate_triggers(GSTLALItacac *itacac, GSTLALItacacPad *itacacpad,
if
(
itacac
->
peak_type
==
GSTLAL_PEAK_DOUBLE_COMPLEX
)
{
/* 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
,
0
.
0
,
itacacpad
->
autocorrelation_matrix
,
itacacpad
->
autocorrelation_mask
,
itacacpad
->
autocorrelation_norm
);
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 */
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
,
0
.
0
,
itacacpad
->
autocorrelation_matrix
,
itacacpad
->
autocorrelation_mask
,
itacacpad
->
autocorrelation_norm
);
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
g_assert_not_reached
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment