GaiaSurvey#

class agabpylib.simulation.starclusters.observables.GaiaSurvey(distance_c, ra_c, dec_c, release='dr3', rvslim=16.0)#

Bases: Observables

Gaia observations.

gaia_release#

The Gaia data release for which the performance is to be simulated

Type:

str

cluster_distance#

Distance to cluster centre (of mass) in pc

Type:

astropy.units.Quantity

cluster_ra#

Right ascension of cluster centre (of mass) in degrees.

Type:

astropy.units.Quantity

cluster_dec#

Declination of cluster centre (of mass) in degrees.

Type:

astropy.units.Quantity

rvslim#

RVS survey limit (default 16.0)

Type:

float

survey_limit#

Apparent magnitude limit of the simulated cluster survey (Gaia survey limit of G=20.7)

Type:

float

bright_faint_sep#

Separation between bright and faint stars for Gaia DR2 photometry corrections (obsolete)

Type:

float

n_astrophoto#

Number of simulated stars with astrometry and photometry that are brighter than the survey limit.

Type:

int

n_plxpos#

Number of simulated stars with positive observed parallaxes.

Type:

int

n_rvs#

Number of simulated stars with a radial velocity.

Type:

int

Methods Summary

addinfo()

returns:

info -- String with specific information about the simulated observations.

generate_observations(cluster, rng)

Generate simulated observations of the star cluster.

getmeta()

returns:

meta -- Metadata on the simulated observations.

Methods Documentation

addinfo()#
Returns:

info – String with specific information about the simulated observations.

Return type:

str

generate_observations(cluster, rng)#

Generate simulated observations of the star cluster.

Parameters:

cluster (astropy.table.QTable) – Table with the simulated astrophysical properties of the cluster stars.

Returns:

Nothing

Return type:

the simulated observations of the cluster are appended to the input table.

getmeta()#
Returns:

meta – Metadata on the simulated observations.

Return type:

dict