Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
pulsatingscience
Commits
7335f019
Commit
7335f019
authored
Sep 13, 2017
by
Oliver Bock
Browse files
Propagate full parameter set
parent
26f1593d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plotdata.h
View file @
7335f019
...
...
@@ -19,9 +19,9 @@ public:
QVector
<
double
>
m_dataLLO
;
QVector
<
double
>
m_dataVirgo
;
double
m_
A
mpLHO
;
double
m_
A
mpLLO
;
double
m_
A
mpVirgo
;
double
m_
a
mpLHO
;
double
m_
a
mpLLO
;
double
m_
a
mpVirgo
;
double
m_phiLHO
;
double
m_phiLLO
;
...
...
src/pulsaranimationwidget.cpp
View file @
7335f019
...
...
@@ -577,14 +577,28 @@ void PulsarAnimationWidget::updatePulseProfile()
in
.
orientation
[
1
]
=
m_LHOAngle
;
in
.
orientation
[
2
]
=
m_VirgoAngle
;
// get actual detector data
get_antenna
(
&
out
,
&
in
);
// populate plot data object
for
(
int
x
=
0
;
x
<
360
*
PERIODS
;
++
x
)
{
m_plotData
.
m_dataLLO
[
x
]
=
out
.
amp
[
0
]
*
sin
((
x
+
out
.
phase
[
0
])
*
deg2rad
);
// + out.dt[0];
m_plotData
.
m_dataLHO
[
x
]
=
out
.
amp
[
1
]
*
sin
((
x
+
out
.
phase
[
1
])
*
deg2rad
);
// + out.dt[1];
m_plotData
.
m_dataVirgo
[
x
]
=
out
.
amp
[
2
]
*
sin
((
x
+
out
.
phase
[
2
])
*
deg2rad
);
// + out.dt[2];
}
// propagate new profile
m_plotData
.
m_ampLLO
=
out
.
amp
[
0
];
m_plotData
.
m_ampLHO
=
out
.
amp
[
1
];
m_plotData
.
m_ampVirgo
=
out
.
amp
[
2
];
m_plotData
.
m_phiLLO
=
out
.
phase
[
0
];
m_plotData
.
m_phiLHO
=
out
.
phase
[
1
];
m_plotData
.
m_phiVirgo
=
out
.
phase
[
2
];
m_plotData
.
m_dtLLO
=
out
.
dt
[
0
];
m_plotData
.
m_dtLHO
=
out
.
dt
[
1
];
m_plotData
.
m_dtVirgo
=
out
.
dt
[
2
];
// propagate new plot data
emit
pulseProfileUpdated
(
m_plotData
);
}
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