Commit 52decc01 authored by Oliver Bock's avatar Oliver Bock
Browse files

Naively plugged in Bruce's equations (for iota=0 and psi=0) and adjusted y-axis accordingly

parent 36e46c3a
......@@ -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
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment