Observables#
- class agabpylib.simulation.starclusters.observables.Observables#
Bases:
ABCAbstract base class for classes representing the observations made of stars in a simulated cluster.
Methods Summary
addinfo()generate_observations(cluster)Generate simulated observations of the star cluster.
getinfo()getmeta()Methods Documentation
- abstractmethod addinfo()#
- Returns:
info – String with specific information about the simulated observations.
- Return type:
str
- abstractmethod 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
- abstractmethod getmeta()#
- Returns:
meta – Metadata on the simulated observations.
- Return type:
dict