Parallax Class Family

class model.BSPL_noParallax

Bases: PSPL_noParallax

Methods

get_amplification(t)

noParallax: Get the photometric amplification term at a set of times, t.

get_astrometry(t_obs[, ast_filt_idx])

noParallax: Position of the observed source position in arcsec.

get_astrometry_unlensed(t_obs)

noParallax: Get the astrometry of the source if the lens didn't exist.

get_centroid_shift(t)

noParallax: Get the centroid shift (in mas) for a list of observation times (in MJD).

get_lens_astrometry(t_obs)

Equation of motion for just the foreground lens.

get_resolved_amplification(t)

Get the photometric amplification term at a set of times, t for both the plus and minus images.

get_resolved_astrometry(t_obs)

Get the x, y astrometry for each of the two source images, which we label plus and minus.

calc_piE_ecliptic

get_amplification(t)

noParallax: Get the photometric amplification term at a set of times, t.

Parameters
t:

Array of times in MJD.DDD

get_astrometry(t_obs, ast_filt_idx=0)

noParallax: Position of the observed source position in arcsec.

get_astrometry_unlensed(t_obs)

noParallax: Get the astrometry of the source if the lens didn’t exist.

Returns
xS_unlensednumpy array, dtype=float, shape = len(t_obs) x 2

The unlensed positions of the source in arcseconds.

get_centroid_shift(t)

noParallax: Get the centroid shift (in mas) for a list of observation times (in MJD).

get_lens_astrometry(t_obs)

Equation of motion for just the foreground lens.

Parameters
t_obsarray_like

Time (in MJD).

get_resolved_amplification(t)

Get the photometric amplification term at a set of times, t for both the plus and minus images.

Parameters
t:

Array of times in MJD.DDD

get_resolved_astrometry(t_obs)

Get the x, y astrometry for each of the two source images, which we label plus and minus.

Returns
[xS_plus, xS_minus]list of numpy arrays
  • xS_plus is the vector position of the plus image in arcsec

  • xS_minus is the vector position of the plus image in arcsec

class model.BSPL_Parallax

Bases: PSPL_Parallax

Methods

calc_piE_ecliptic()

Parallax: Get piE_ecliptic

get_amplification(t)

Parallax: Get the photometric amplification term at a set of times, t.

get_astrometry(t_obs[, ast_filt_idx])

Parallax: Get astrometry

get_astrometry_unlensed(t_obs)

Get the astrometry of the source if the lens didn't exist.

get_centroid_shift(t[, ast_filt_idx])

Parallax: Get the centroid shift (in mas) for a list of observation times (in MJD).

get_geoproj_ast_params(t0par)

get_geoproj_params(t0par)

get_lens_astrometry(t_obs)

Parallax: Get lens astrometry

get_resolved_amplification(t)

Parallax: Get the photometric amplification term at a set of times, t for both the plus and minus images.

get_resolved_astrometry(t_obs)

Parallax: Get the x, y astrometry for each of the two source images, which we label plus and minus.

start

calc_piE_ecliptic()

Parallax: Get piE_ecliptic

get_amplification(t)

Parallax: Get the photometric amplification term at a set of times, t.

Parameters
t:

Array of times in MJD.DDD

get_astrometry(t_obs, ast_filt_idx=0)

Parallax: Get astrometry

get_astrometry_unlensed(t_obs)

Get the astrometry of the source if the lens didn’t exist.

Returns
xS_unlensednumpy array, dtype=float, shape = len(t_obs) x 2

The unlensed positions of the source in arcseconds.

get_centroid_shift(t, ast_filt_idx=0)

Parallax: Get the centroid shift (in mas) for a list of observation times (in MJD).

get_lens_astrometry(t_obs)

Parallax: Get lens astrometry

get_resolved_amplification(t)

Parallax: Get the photometric amplification term at a set of times, t for both the plus and minus images.

Parameters
t:

Array of times in MJD.DDD

get_resolved_astrometry(t_obs)

Parallax: Get the x, y astrometry for each of the two source images, which we label plus and minus.

Returns
[xS_plus, xS_minus]list of numpy arrays
  • xS_plus is the vector position of the plus image.

  • xS_minus is the vector position of the plus image.