phot_adj_calc
¶
Module Contents¶
Functions¶
|
Modeled observables are calculated at a distance of 10 pc. Adds distance |
|
Modeled observables are calculated without extinction. Add extinction / |
Attributes¶
- phot_adj_calc.apply_distance_modulus(bin_observables, target_dist)[source]¶
Modeled observables are calculated at a distance of 10 pc. Adds distance modulus to modeled fluxes in observables object.
- Parameters:
- bin_observablesobservables
observables object containing photometry to which to apply distance modulus.
- target_distAstropy Quantity, length unit
Distance to modeled binary.
- Returns:
- observables
observables object, where photometry has distance modulus added.
- phot_adj_calc.apply_extinction(bin_observables, isoc_Ks_ext, ref_filt, target_ref_filt_ext, isoc_red_law='NL18', ext_alpha=None)[source]¶
Modeled observables are calculated without extinction. Add extinction / reddening to modeled fluxes in observables object.
- Parameters:
- bin_observablesobservables
observables object containing photometry to which to apply distance modulus.
- isoc_Ks_extfloat
Extinction, in Ks band, for the isochrone object used to generate stellar parameters.
- ref_filtfilter
filter object, corresponding to the reference filter / passband from which all other extinctions are calculated.
- target_ref_filt_extfloat
Extinction in the ref_filt, A_{ref_filt}, from which extinction in other filters is calculated using a power law extinction law.
- ext_alphafloat or None, default=None
If specified, the power law slope for an extinction law from which the extinction at filters other than the ref_filt are calculated usin the extinction in the ref_filt (target_ref_filt_ext). If none, the extinction in other filters is just applied using the extinction implied by the isochrone object’s Ks-band extinction.
- Returns:
- observables
observables object, where photometry has distance modulus added.