Observables#

class agabpylib.simulation.starclusters.observables.Observables#

Bases: ABC

Abstract base class for classes representing the observations made of stars in a simulated cluster.

Methods Summary

addinfo()

returns:

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

generate_observations(cluster)

Generate simulated observations of the star cluster.

getinfo()

returns:

infoi -- String with information about the simulated observations.

getmeta()

returns:

meta -- Metadata on the simulated observations.

Methods Documentation

abstract addinfo()#
Returns:

info – String with specific information about the simulated observations.

Return type:

str

abstract generate_observations(cluster)#

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.

getinfo()#
Returns:

infoi – String with information about the simulated observations.

Return type:

str

abstract getmeta()#
Returns:

meta – Metadata on the simulated observations.

Return type:

dict