Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GstLAL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
lscsoft
GstLAL
Commits
c98edad6
Commit
c98edad6
authored
15 years ago
by
kipp
Browse files
Options
Downloads
Patches
Plain Diff
remove instrument dictionary from DetectorData
parent
65d24460
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
src/utilities/lloid_gui
+1
-3
1 addition, 3 deletions
src/utilities/lloid_gui
with
1 addition
and
3 deletions
src/utilities/lloid_gui
+
1
−
3
View file @
c98edad6
...
...
@@ -98,7 +98,6 @@ class Banks(list):
class
DetectorData
(
object
):
def
__init__
(
self
,
start
,
end
,
block_size
=
16384
*
16
*
8
):
self
.
instrument
=
{}
self
.
frame_cache
=
{}
self
.
channel
=
{}
self
.
psd
=
{}
...
...
@@ -108,7 +107,6 @@ class DetectorData(object):
self
.
end
=
end
self
.
block_size
=
block_size
def
add_detector
(
self
,
instrument
,
frame_cache
,
channel
,
psd
,
template_bank_file_name
,
injection_file
=
None
):
self
.
instrument
[
instrument
]
=
instrument
self
.
frame_cache
[
instrument
]
=
frame_cache
self
.
channel
[
instrument
]
=
channel
self
.
psd
[
instrument
]
=
psd
...
...
@@ -326,7 +324,7 @@ class LLOID(object):
self
.
pipeline
.
add
(
self
.
framesrc
[
det
])
self
.
framesrc
[
det
].
set_property
(
"
blocksize
"
,
self
.
detectors
.
block_size
)
self
.
framesrc
[
det
].
set_property
(
"
location
"
,
self
.
detectors
.
frame_cache
[
det
])
self
.
framesrc
[
det
].
set_property
(
"
instrument
"
,
self
.
detectors
.
instrument
[
det
]
)
self
.
framesrc
[
det
].
set_property
(
"
instrument
"
,
det
)
self
.
framesrc
[
det
].
set_property
(
"
channel-name
"
,
self
.
detectors
.
channel
[
det
])
self
.
framesrc
[
det
].
set_property
(
"
start-time-gps-ns
"
,
self
.
detectors
.
start
)
self
.
framesrc
[
det
].
set_property
(
"
stop-time-gps-ns
"
,
self
.
detectors
.
end
)
...
...
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