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
Merge requests
!508
gwistat updates
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
gwistat updates
gwistat-updates
into
master
Overview
0
Commits
2
Pipelines
2
Changes
1
Merged
Rebecca Ewing
requested to merge
gwistat-updates
into
master
1 year ago
Overview
0
Commits
2
Pipelines
2
Changes
1
Expand
make some updates to
gw_ifo_stat
program used for gwistat at online.ligo.org:
reduce time between storing data
add logic to write data immediately upon state change
fix the bits used to account for differences between KAGRA and HLV
0
0
Merge request reports
Viewing commit
5c372bcf
Prev
Next
Show latest version
1 file
+
9
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
5c372bcf
gstlal_ifo_stat: use 0th bit for KAGRA, 0th and 1st bit for HLV
· 5c372bcf
Rebecca Ewing
authored
1 year ago
gstlal-ugly/bin/gstlal_ifo_stat
+
9
−
1
Options
@@ -81,7 +81,15 @@ class IFOStatusTracker(object):
time
,
bit
=
s
.
getvalue
().
split
(
'
\n
'
)[
0
].
split
()
bit
=
int
(
bit
)
time
=
float
(
time
)
state
=
1
if
(
bit
&
0b1
==
0b1
)
else
0
## FIXME hacky
if
ifo
==
"
K1
"
:
# only check 0th bit
state
=
1
if
(
bit
&
0b1
==
0b1
)
else
0
else
:
# for HLV check 0th and 1st bit
state
=
1
if
(
bit
&
0b11
==
0b11
)
else
0
statechange
=
False
## track duration
Loading