diff --git a/source/MulensModel/trajectory.py b/source/MulensModel/trajectory.py index ef316b22..cfa629c7 100644 --- a/source/MulensModel/trajectory.py +++ b/source/MulensModel/trajectory.py @@ -220,12 +220,11 @@ def _calculate_delta_N_E(self): raise NotImplementedError( "The topocentric parallax effect not implemented yet") - def _project_delta(self, delta=None): + def _project_delta(self): """ Project N and E parallax offset vector onto the tau, beta plane. """ - if delta is None: - delta = self.parallax_delta_N_E + delta = self.parallax_delta_N_E delta_tau = (delta['N'] * self.parameters.pi_E_N + delta['E'] * self.parameters.pi_E_E) @@ -233,13 +232,6 @@ def _project_delta(self, delta=None): delta['E'] * self.parameters.pi_E_N) return [delta_tau, delta_beta] - def _annual_parallax_trajectory(self): - """calculate annual parallax component of trajectory""" - - # Calculate the parallax offsets - delta_annual = self._get_delta_annual() - return self._project_delta(delta_annual) - def _get_delta_annual(self): """ calculates projected Earth positions required by annual parallax @@ -284,11 +276,6 @@ def _get_delta_annual(self): Trajectory._get_delta_annual_last = out return out - def _satellite_parallax_trajectory(self): - """calculate satellite parallax component of trajectory""" - delta_satellite = self._get_delta_satellite() - return self._project_delta(delta_satellite) - def _get_delta_satellite(self): """ calculates differences of Earth and satellite positions