Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gstlal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Duncan Macleod
gstlal
Commits
64ff2007
Commit
64ff2007
authored
5 years ago
by
Cody Messick
Browse files
Options
Downloads
Patches
Plain Diff
itacac: make comment style consistent
parent
9c894712
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-inspiral/gst/lal/gstlal_itacac.c
+3
-3
3 additions, 3 deletions
gstlal-inspiral/gst/lal/gstlal_itacac.c
with
3 additions
and
3 deletions
gstlal-inspiral/gst/lal/gstlal_itacac.c
+
3
−
3
View file @
64ff2007
...
...
@@ -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"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment