Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
gstlal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
gstlal
Commits
d18d8591
Commit
d18d8591
authored
Mar 22, 2019
by
chad.hanna
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gstlal_inspiral_svd_bank_pipe: handle clipping edge cases the same as offline
parent
b18ca978
Pipeline
#54488
passed with stages
in 29 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gstlal-inspiral/bin/gstlal_inspiral_svd_bank_pipe
gstlal-inspiral/bin/gstlal_inspiral_svd_bank_pipe
+4
-0
No files found.
gstlal-inspiral/bin/gstlal_inspiral_svd_bank_pipe
View file @
d18d8591
...
...
@@ -158,6 +158,10 @@ for i, f in enumerate(groups):
# handle the edges by not clipping so you retain the template bank as intended.
clipleft
=
[
options
.
overlap
/
2
]
*
len
(
f
)
# overlap must be even
clipright
=
[
options
.
overlap
/
2
]
*
len
(
f
)
# overlap must be even
if
i
==
0
:
clipleft
[
0
]
=
0
if
i
==
len
(
groups
)
-
1
:
clipright
[
-
1
]
=
0
bank_ids
=
range
(
bank_ids
[
-
1
]
+
1
,
bank_ids
[
-
1
]
+
1
+
len
(
f
))
svd_bank_name
=
dagparts
.
T050017_filename
(
ifo
,
"GSTLAL_SVD_BANK_%d"
%
i
,
(
0
,
0
),
".xml.gz"
,
path
=
svdJob
.
output_path
)
svd_bank_name
=
os
.
path
.
join
(
os
.
getcwd
(),
svd_bank_name
)
...
...
Chad Hanna
@chad-hanna
mentioned in commit
b0ba36a4
·
Mar 23, 2019
mentioned in commit
b0ba36a4
mentioned in commit b0ba36a41ca1ec400aa34edaeae63cbabfa5a312
Toggle commit list
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