pyLIMA.microlorbitalmotion¶
Module Contents¶
Functions¶
orbital_motion_shifts(orbital_motion_model, time, pyLIMA_parameters) |
Compute the trajectory curvature depending on the model. |
orbital_motion_2D_trajectory_shift(to_om, time, dalpha_dt) |
Compute the trajectory curvature induced by the orbital motion of the lens. |
orbital_motion_2D_separation_shift(to_om, time, ds_dt) |
Compute the binary separation change induced by the orbital motion of the lens. |
orbital_motion_circular(to_om, v_para, v_perp, v_radial, separation_0, time) |
Compute the binary separation change induced by the orbital motion of the lens, circular version of : |
orbital_motion_keplerian(to_om, v_para, v_perp, v_radial, separation_0, separation_z, mass, rE, time) |
Compute the binary separation change induced by the orbital motion of the lens : |
orbital_motion_keplerian_direct(to_om, a_true, period, eccentricity, inclination, omega_node, omega_periastron, t_periastron, rE, time) |
Compute the binary separation change induced by the orbital motion of the lens : |
eccentric_anomaly_function(time, ellipticity, t_periastron, speed) |
|
mean_to_eccentric_anomaly(params, mean_anomaly, ellipticity) |
|
mean_to_eccentric_anomaly_prime(params, mean_anomaly, ellipticity) |
|
mean_to_eccentric_anomaly_prime2(params, mean_anomaly, ellipticity) |
-
pyLIMA.microlorbitalmotion.orbital_motion_shifts(orbital_motion_model, time, pyLIMA_parameters)[source]¶ Compute the trajectory curvature depending on the model.
Parameters: Returns: dseparation, dalpha the shifs in slens separation and angle
Return type: array_like, array_like
-
pyLIMA.microlorbitalmotion.orbital_motion_2D_trajectory_shift(to_om, time, dalpha_dt)[source]¶ Compute the trajectory curvature induced by the orbital motion of the lens.
Parameters: Returns: dalpha, the angle shift
Return type: array_like
-
pyLIMA.microlorbitalmotion.orbital_motion_2D_separation_shift(to_om, time, ds_dt)[source]¶ Compute the binary separation change induced by the orbital motion of the lens.
Parameters: Returns: dseparation, the binary separation shift
Return type: array_like
-
pyLIMA.microlorbitalmotion.orbital_motion_circular(to_om, v_para, v_perp, v_radial, separation_0, time)[source]¶ Compute the binary separation change induced by the orbital motion of the lens, circular version of : “Binary Microlensing Event OGLE-2009-BLG-020 Gives Verifiable Mass, Distance, and Orbit Predictions”,Skowron et al. 2011 http://adsabs.harvard.edu/abs/2011ApJ…738…87S
Parameters: - to_om (float) – the reference time for the orbital motion
- v_para (float) – the normalised binary separation change rate, 1/s ds/dt in 1/yr
- v_perp (float) – the binary angle change rate, dalpha/dt in 1/yr
- v_radial (float) – the normalised radial separation change rate, 1/s ds_r/dt in 1/yr
- separation_0 (float) – the binary separation at to_om
- time (array_like) – the time array to compute the trajectory shift
Returns: dseparation, dalpha the binary separation and angle shifts
Return type: array_like, array_like
-
pyLIMA.microlorbitalmotion.orbital_motion_keplerian(to_om, v_para, v_perp, v_radial, separation_0, separation_z, mass, rE, time)[source]¶ Compute the binary separation change induced by the orbital motion of the lens : “Binary Microlensing Event OGLE-2009-BLG-020 Gives Verifiable Mass, Distance, and Orbit Predictions”,Skowron et al. 2011 http://adsabs.harvard.edu/abs/2011ApJ…738…87S
Parameters: - to_om (float) – the reference time for the orbital motion
- v_para (float) – the normalised binary separation change rate, 1/s ds/dt in 1/yr
- v_perp (float) – the binary angle change rate, dalpha/dt in 1/yr
- v_radial (float) – the normalised radial separation change rate, 1/s ds_r/dt in 1/yr
- separation_0 (float) – the binary separation at to_om
- separation_z (float) – the binary separation parallel to line of sight at to_om
- time (array_like) – the time array to compute the trajectory shift
Returns: dseparation, dalpha the binary separation and angle shifts
Return type: array_like, array_like
-
pyLIMA.microlorbitalmotion.orbital_motion_keplerian_direct(to_om, a_true, period, eccentricity, inclination, omega_node, omega_periastron, t_periastron, rE, time)[source]¶ Compute the binary separation change induced by the orbital motion of the lens : “Binary Microlensing Event OGLE-2009-BLG-020 Gives Verifiable Mass, Distance, and Orbit Predictions”,Skowron et al. 2011 http://adsabs.harvard.edu/abs/2011ApJ…738…87S
Parameters: - to_om (float) – the reference time for the orbital motion
- v_para (float) – the normalised binary separation change rate, 1/s ds/dt in 1/yr
- v_perp (float) – the binary angle change rate, dalpha/dt in 1/yr
- v_radial (float) – the normalised radial separation change rate, 1/s ds_r/dt in 1/yr
- separation_0 (float) – the binary separation at to_om
- separation_z (float) – the binary separation parallel to line of sight at to_om
- time (array_like) – the time array to compute the trajectory shift
Returns: dseparation, dalpha the binary separation and angle shifts
Return type: array_like, array_like
-
pyLIMA.microlorbitalmotion.eccentric_anomaly_function(time, ellipticity, t_periastron, speed)[source]¶