Protocols#
These protocols allow you to specify and inspect which attributes are supported by a given cosmology object. If you do not require static or dynamic type checking of cosmology instances, the reference provides a flat list of all methods and attributes which can potentially be supported by cosmology instances.
Protocol hierarchy#
The cosmology protocols are arranged grouped in levels:
High-level cosmology protocols which describe fully-featured cosmology objects.
Intermediate-level component protocols which describe individual functional groups such as e.g. the physical matter and baryon components, or the Hubble parameters \(H_0\) and \(H(z)\).
Low-level attribute protocols which describe the existence of individual methods and properties.
Meta-level namespace protocols which describe the cosmology API itself.