Commit 48335462 authored by Oliver Bock's avatar Oliver Bock

Correcting for proper time delay

parent 59856162
......@@ -623,7 +623,7 @@ void PulsarAnimationWidget::updatePulseProfile()
// prepare parameters (e.g. convert to radians where necessary)
const double i = deg2rad * m_pulsarSpinAxisInclination;
const double y = deg2rad * m_pulsarMagneticAxisInclination;
double phiOrb = deg2rad * m_orbitRotationAngle;
double phiOrb = deg2rad * (m_orbitRotationAngle + 90.0);
const double deltaPhiRot = deg2rad * 1.0;
const double deltaPhiOrb = deg2rad * deltaPhiRot * m_orbitRotationDelta / m_pulsarRotationDelta;
const double rp = m_pulsarSemiMajorAxis;
......
Markdown is supported
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