Parallax Class Family
- class model.BSPL_noParallax
Bases:
PSPL_noParallaxMethods
calc_piE_ecliptic([filt_idx])Not supported on this object.
get_amplification
- calc_piE_ecliptic(filt_idx=0)
Not supported on this object.
- class model.BSPL_Parallax
Bases:
PSPL_ParallaxMethods
calc_piE_ecliptic([filt_idx])Get piE_ecliptic, the microlensing parallax vector in the ecliptic coorindate system.
get_geoproj_ast_params(t0par[, plot])Get the astrometric microlensing model parameters in the geocentric-projected coordinate system, which just applies a rectalinear position and velocity offset into the geocentric frame at time t0par.
get_geoproj_params(t0par[, plot])Get the photometric microlensing model parameters in the geocentric-projected coordinate system, which just applies a rectalinear position and velocity offset into the geocentric frame at time t0par.
get_amplification
start
- calc_piE_ecliptic(filt_idx=0)
Get piE_ecliptic, the microlensing parallax vector in the ecliptic coorindate system.
- Parameters:
- filt_idxint, optional
Index of the astrometric filter or data set.
- get_geoproj_ast_params(t0par, plot=False)
Get the astrometric microlensing model parameters in the geocentric-projected coordinate system, which just applies a rectalinear position and velocity offset into the geocentric frame at time t0par. Note, this is not a true geocentric frame. It is only geocentric at time t0par. However, this is a common convention for photometry-only microlens models in the literature. The benefits of the geocentric-projected frame is that the t0_{geoProj} can more closely match the observed peak in the light curve.
- Parameters:
- t0parfloat
Time in MJD at which to convert into the geocentric frame.
- Returns:
- xS0E_gfloat
The East-component of source position vector on the sky, in the geocentric-projected frame.
- xS0N_gfloat
The North-component of source position vector on the sky, in the geocentric-projected frame.
- muSE_gfloat
The East-component of source proper motion vector, in the geocentric-projected frame.
- muSN_gfloat
The North-component of source proper motion vector, in the geocentric-projected frame.
- get_geoproj_params(t0par, plot=False)
Get the photometric microlensing model parameters in the geocentric-projected coordinate system, which just applies a rectalinear position and velocity offset into the geocentric frame at time t0par. Note, this is not a true geocentric frame. It is only geocentric at time t0par. However, this is a common convention for photometry-only microlens models in the literature. The benefits of the geocentric-projected frame is that the t0_{geoProj} can more closely match the observed peak in the light curve.
- Parameters:
- t0parfloat
Time in MJD at which to convert into the geocentric frame.
- Returns:
- t0_gfloat
The time (in MJD) of closest approach between the lens and source in the geocentric-projected frame.
- u0_gfloat
The distance (in thetaE) at closest approach in the geocentric-projected frame.
- tE_gfloat
The Einsten crossing time (in MJD) in the geocentric-projected frame.
- piEE_gfloat
The East-component of the microlensing parallax vector, in the geocentric-projected frame. This also indicates the East-component of the relative proper motion vector between the source and lens
- piEN_gfloat
The North-component of the microlensing parallax vector, in the geocentric-projected frame. This also indicates the North-component of the relative proper motion vector between the source and lens