Previous topic

hyperion.model.SED

Next topic

Contributing to Hyperion

This Page

hyperion.model.Image

class hyperion.model.Image(nu, val=None, unc=None, units=None)

Class to represent an image or set of images

Parameters :

nu : ndarray

The frequencies at which the image is defined, in Hz

val : ndarray, optional

The values for the image. The last dimensions should match the number of frequencies.

unc : ndarray, optional

The uncertainties for the image values. The last dimensions should match the number of frequencies.

units : str

The units of the values

Attributes

wav The wavelengths for which the image is defined (in microns).
nu The frequencies for which the image is defined (in Hz).
val The image values (fluxes, flux densities, surface brightness, or polarization) in the units given by the .unit property.
unc The uncertainties on the image values in the units given by the .unit property.
unit The units of the image values.
x_min Lower extent of the image in the x direction (in cm).
x_max Upper extent of the image in the x direction (in cm).
y_min Lower extent of the image in the y direction (in cm).
y_max Upper extent of the image in the y direction (in cm).
lon_min Lower extent of the image in the x direction (in degrees).
lon_max Upper extent of the image in the x direction (in degrees).
lat_min Lower extent of the image in the y direction (in degrees).
lat_max Upper extent of the image in the y direction (in degrees).
distance Distance assumed for the image (in cm).
pix_area_sr Pixel area (in steradians).
inside_observer Whether the image was from an inside observer.