stam.gaia.get_gaia_subsample

stam.gaia.get_gaia_subsample(gaia, sample_settings)[source]

Get a Gaia subsample based on tangential velocity and distance.

Parameters:
  • gaia (FITS table) – Gaia table.

  • sample_settings (dict) – The subsample settings: a dictionary including keywords “vmin”, “vmax”, and “dist”; specifying the transverse velocity limits (in km/s) and the maximal distance (in pc).

Returns:

gaia_idx – Row indices of Gaia sources included in the subsample

Return type:

array_like