pyLIMA.microlorbitalmotion module

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:
  • to_om (float) – the reference time for the orbital motion
  • time (array_like) – the time array to compute the trajectory shift
  • ds_dt (float) – the binary separation change rate, in einstein_ring_unit/yr
Returns:

dseparation, the binary separation shift

Return type:

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:
  • to_om (float) – the reference time for the orbital motion
  • time (array_like) – the time array to compute the trajectory shift
  • dalpha_dt (float) – the angle change rate, in radian/yr
Returns:

dalpha, the angle shift

Return type:

array_like

pyLIMA.microlorbitalmotion.orbital_motion_3D_separation_shift(time, period, ds_dt)[source]

Compute the binary separation change induced by the orbital motion of the lens.

Parameters:
  • to_om (float) – the reference time for the orbital motion
  • time (array_like) – the time array to compute the trajectory shift
  • ds_dt (float) – the binary separation change rate, in einstein_ring_unit/yr
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.

Parameters:
  • to_om (float) – the reference time forindividus the orbital motion
  • time (array_like) – the time array to compute the trajectory shift
  • ds_dt (float) – the binary separation change rate, in einstein_ring_unit/yr
Returns:

dseparation, the binary separation shift

Return type:

array_like

pyLIMA.microlorbitalmotion.orbital_motion_shifts(orbital_motion_model, time, pyLIMA_parameters)[source]

Compute the trajectory curvature induced by the orbital motion of the lens.

Parameters:
  • to_om (float) – the reference time for the orbital motion
  • time (array_like) – the time array to compute the trajectory shift
  • dalpha_dt (float) – the angle change rate, in radian/yr
Returns:

dalpha, the angle shift

Return type:

array_like