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
66dfdc9c
Commit
66dfdc9c
authored
6 years ago
by
Madeline Wade
Browse files
Options
Downloads
Patches
Plain Diff
Changes to a few plotting scripts for testing
parent
8834ed8e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gstlal-calibration/tests/check_calibration/ASD_comparison_plots
+0
-1
0 additions, 1 deletion
...-calibration/tests/check_calibration/ASD_comparison_plots
gstlal-calibration/tests/check_calibration/response_function.py
+4
-4
4 additions, 4 deletions
...-calibration/tests/check_calibration/response_function.py
with
4 additions
and
5 deletions
gstlal-calibration/tests/check_calibration/ASD_comparison_plots
+
0
−
1
View file @
66dfdc9c
...
...
@@ -6,7 +6,6 @@ from gwpy.timeseries import TimeSeriesDict
from
gwpy.timeseries
import
TimeSeries
import
glob
from
math
import
pi
from
gwpy.plotter
import
BodePlot
import
numpy
from
optparse
import
OptionParser
,
Option
...
...
This diff is collapsed.
Click to expand it.
gstlal-calibration/tests/check_calibration/response_function.py
+
4
−
4
View file @
66dfdc9c
...
...
@@ -4,7 +4,7 @@
##########################################################
import
matplotlib
as
mpl
;
mpl
.
use
(
'
Agg
'
)
from
gwpy.plot
ter
import
BodePlot
from
gwpy.plot
import
BodePlot
from
gwpy.timeseries
import
TimeSeriesDict
from
gwpy.timeseries
import
TimeSeries
from
gwpy.frequencyseries
import
FrequencySeries
...
...
@@ -154,7 +154,7 @@ if options.analyze_calcs_hoft:
plot
.
add_frequencyseries
(
CALCS_tf
,
dB
=
False
,
color
=
'
#4ba6ff
'
,
linewidth
=
2
)
if
options
.
analyze_additional_hoft
:
plot
.
add_frequencyseries
(
additional_hoft_tf
*
3995.1
,
dB
=
False
,
color
=
"
#94ded7
"
,
linewidth
=
2
)
plot
.
add_legend
([
r
'
Reference model response function
'
,
r
'
h(t) derived response function
'
],
loc
=
'
upper right
'
,
fontsize
=
'
x-small
'
)
#
plot.add_legend([r'Reference model response function', r'h(t) derived response function'], loc='upper right', fontsize='x-small')
# FIXME: Figure out how to make the legend and title appropriate and flexible
plot
.
maxes
.
set_yscale
(
'
log
'
)
plot
.
paxes
.
set_yscale
(
"
linear
"
)
...
...
@@ -172,7 +172,7 @@ if options.analyze_calcs_hoft:
plot
.
add_frequencyseries
(
ratio_CALCS
,
dB
=
False
,
color
=
'
#4ba6ff
'
,
linewidth
=
2
)
if
options
.
analyze_additional_hoft
:
plot
.
add_frequencyseries
(
ratio_additional_hoft
*
3995.1
,
dB
=
False
,
color
=
"
#94ded7
"
,
linewidth
=
2
)
plot
.
add_legend
([
r
'
h(t) derived response / Reference model response
'
],
loc
=
'
upper right
'
,
fontsize
=
'
small
'
)
#
plot.add_legend([r'h(t) derived response / Reference model response'], loc='upper right', fontsize='small')
plot
.
maxes
.
set_yscale
(
'
linear
'
)
plot
.
paxes
.
set_yscale
(
'
linear
'
)
plot
.
maxes
.
set_ylim
(
0
,
5
)
...
...
@@ -183,7 +183,7 @@ if options.analyze_calcs_hoft:
plot
.
add_frequencyseries
(
ratio_CALCS
,
dB
=
False
,
color
=
'
#4ba6ff
'
,
linewidth
=
2
)
if
options
.
analyze_additional_hoft
:
plot
.
add_frequencyseries
(
ratio_additional_hoft
*
3995.1
,
dB
=
False
,
color
=
"
#94ded7
"
,
linewidth
=
2
)
plot
.
add_legend
([
r
'
h(t) derived response / Reference model response
'
],
loc
=
'
upper right
'
,
fontsize
=
'
small
'
)
#
plot.add_legend([r'h(t) derived response / Reference model response'], loc='upper right', fontsize='small')
plot
.
maxes
.
set_yscale
(
'
linear
'
)
plot
.
paxes
.
set_yscale
(
'
linear
'
)
plot
.
maxes
.
set_ylim
(.
9
,
1.1
)
...
...
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