ModelImage#
- class corona_lab.corona.ModelImage(value: QuantityLike, unit=None, dtype=<class 'numpy.inexact'>, copy=True, order=None, subok=False, ndmin=0)[source]#
Bases:
ModelArrayClass for holding synthetic image data. Quantitative array with associated metadata, supporting serialization to and from JSON files.
- Parameters:
value (array-like) – Numeric data array.
unit (Quantity or str or Unit) – Unit for the array values. Can be an astropy.units.Unit object, a ~astropy.units.Quantity (unit part is used), or a string parsable by u.Unit.
meta (dict, optional) – Initial metadata dictionary. Defaults to an empty metadata container.
- meta#
Metadata container for storing arbitrary key–value pairs.
- Type:
MetaData
- unit#
Physical unit of the array values.
- Type:
Unit
- value#
Underlying numeric data array.
- Type:
numpy.ndarray
Notes
Inherits from ~astropy.units.Quantity, so all Quantity operations apply to ModelImage instances.
Attributes Summary
Attributes Documentation
- flux#
- observation_freq#
- phase#
- pix_size#
- size_angular#
- stellar_radius#