fluxcompensator.utils.pseudo.Pseudo¶
-
class
fluxcompensator.utils.pseudo.
Pseudo
(wav, val, origin=None, units=None, distance=None, x_min=None, x_max=None, y_min=None, y_max=None, lon_min=None, lon_max=None, lat_min=None, lat_max=None, pix_area_sr=None, ap_min=None, ap_max=None)¶ Mimics the properties of an ModelOutput array.
Parameters: wav : numpy.ndarray
- SyntheticCube like: The 1D wavelength of val cube in microns.
- SyntheticImage like: The 0D wavelength of val image in microns.
- SyntheticSED like: The 1D wavelengths of val vector in microns.
- SyntheticFlux like: The 0D wavelength of val scalar in microns.
val : numpy.ndarray
- SyntheticCube like: The 3D array cube with shape (x, y, wav).
- SyntheticImage like: The 2D array image with shape (x, y).
- SyntheticSED like: The 1D array vector with shape like wav.
- SyntheticFlux like: The 0D array scalar with shape like wav.
units : str
Unit of val array at input. Valid options are:
'ergs/cm^2/s'
'ergs/cm^2/s/Hz'
'Jy'
'mJy'
'MJy/sr'
(not for SyntheticSED)
distance : str
Distance to the observed object in cm.
x_min : float
Physical offset from axis origin in FOV in cm.
x_max : float
Physical offset from axis origin in FOV in cm.
y_min : float
Physical offset from axis origin in FOV in cm.
y_max : float
Physical offset from axis origin in FOV in cm.
lon_min : float
Minimal longitudinal angle.
lon_max : float
Maximal longitudinal angle.
lat_min : float
Minimal latitudinal angle.
lat_max : float
Maximal latitudinal angle.
pix_area_sr : float
Pixel area per sr.
ap_min : float
Minimal aperture of the telescope. Default is
None
.ap_max : float
Maximal aperture of the telescope. Default is
None
.Returns: cube : Pseudo like ModelOutput 3D
3D val array with ModelOutput properties.
sed : Pseudo like ModelOutput 1D
1D val array with ModelOutput properties.