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
3b4c0c81
Commit
3b4c0c81
authored
6 years ago
by
Patrick Godwin
Browse files
Options
Downloads
Patches
Plain Diff
gstlal_fake_frames: fix issue with crash using psd coloring with particular gps ranges
parent
fdbcd52b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal/bin/gstlal_fake_frames
+3
-1
3 additions, 1 deletion
gstlal/bin/gstlal_fake_frames
with
3 additions
and
1 deletion
gstlal/bin/gstlal_fake_frames
+
3
−
1
View file @
3b4c0c81
...
...
@@ -260,6 +260,8 @@ mainloop = GObject.MainLoop()
handler
=
simplehandler
.
Handler
(
mainloop
,
pipeline
)
## 1) Set the pipeline head to basic input from datasource.mkbasicsrc()
# FIXME: fake source causes problems when making large buffers, so block_size needs to be overwritten
gw_data_source
.
block_size
=
8
*
options
.
sample_rate
head
,
_
,
_
=
datasource
.
mkbasicsrc
(
pipeline
,
gw_data_source
,
instrument
,
verbose
=
options
.
verbose
)
## 2) Set the pipeline head to be verbose with pipeparts.mkprogressreport()
...
...
@@ -310,7 +312,7 @@ if options.color_psd:
fir_matrix
,
latency
,
measured_sample_rate
=
FIRKernel
.
psd_to_linear_phase_whitening_fir_kernel
(
rpsd
,
invert
=
False
)
## 7) Set the pipeline head to a pipeparts.mkfirbank() recoloring filter
head
=
pipeparts
.
mkfirbank
(
pipeline
,
head
,
latency
=
latency
,
fir_matrix
=
[
fir_matrix
],
block_stride
=
32
*
options
.
sample_rate
)
head
=
pipeparts
.
mkfirbank
(
pipeline
,
head
,
latency
=
latency
,
fir_matrix
=
[
fir_matrix
],
block_stride
=
1
*
options
.
sample_rate
)
## Set the tags for the output data
...
...
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