stam.gaia

Functions

calc_absmag_uncertainty(gaia)

Calculate the Gaia absolute magnitude uncertainty in an arbitrary band, using data from the gaiadr3.synthetic_photometry_gspc table.

calc_bp_rp_uncertainty(gaia)

Calculate the Gaia Gbp-Grp color uncertainty.

calc_color_uncertainty(gaia[, ...])

Calculate the Gaia color uncertainty in arbitrary colors, using data from the gaiadr3.synthetic_photometry_gspc table.

calc_extinction(b, parallax[, z_sun, ...])

Calculate the extinction and reddening, based on Galactic latitude and distance, using eq.

calc_gaia_extinction(gaia, **kwargs)

Calculate the extinction and reddening for all the sources in the Gaia table.

calc_mg_uncertainty(gaia)

Calculate the Gaia G-band absolute magnitude uncertainty.

get_extinction_in_band(e_bv[, R_G, R_BP, R_RP])

Convert the extinction and reddening to the selected bands.

get_gaia_isochrone_side_subsample(bp_rp, mg, ...)

get_gaia_isochrone_side_subsample(bp_rp, mg, models, age, mh, side="blue",

get_gaia_isochrone_subsample(bp_rp, mg, ...)

get_gaia_isochrone_subsample(bp_rp, mg, models, age1, mh1, age2, mh2,

get_gaia_subsample(gaia, sample_settings)

Get a Gaia subsample based on tangential velocity and distance.

read_gaia_data(file)

Read Gaia table.