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
52decc01
Commit
52decc01
authored
Sep 12, 2017
by
Oliver Bock
Browse files
Naively plugged in Bruce's equations (for iota=0 and psi=0) and adjusted y-axis accordingly
parent
36e46c3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/pulsaranimationwidget.cpp
View file @
52decc01
...
...
@@ -573,9 +573,9 @@ void PulsarAnimationWidget::resetCameraPosition(const double angleH, const doubl
void
PulsarAnimationWidget
::
updatePulseProfile
()
{
for
(
int
x
=
0
;
x
<
360
*
PERIODS
;
++
x
)
{
m_curveLHO
[
x
]
=
sin
(
x
*
deg2rad
);
m_curveLLO
[
x
]
=
cos
(
x
*
deg2rad
);
m_curveVirgo
[
x
]
=
0
;
m_curveLHO
[
x
]
=
2.960124
*
sin
(
x
*
deg2rad
)
+
-
0.494787
*
cos
(
x
*
deg2rad
);
m_curveLLO
[
x
]
=
-
3.533299
*
sin
(
x
*
deg2rad
)
+
-
0.414445
*
cos
(
x
*
deg2rad
);
m_curveVirgo
[
x
]
=
-
0.984298
*
sin
(
x
*
deg2rad
)
+
0.695593
*
cos
(
x
*
deg2rad
)
;
}
// propagate new profile
...
...
src/pulsescopewidget.cpp
View file @
52decc01
...
...
@@ -50,7 +50,7 @@ PulseScopeWidget::PulseScopeWidget(QWidget *parent) : QGraphicsView(parent),
}
m_scopeSizeH
=
360.0
*
PERIODS
;
m_scopeSizeV
=
2
.0
;
m_scopeSizeV
=
10
.0
;
m_pathLHO
=
NULL
;
m_pathLLO
=
NULL
;
...
...
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