oimCustomComponents
Custom model components added by the community
If you add python files with custom components in the oimCustomComponents directory add the import here so that all component will be available through the customComponent module
Classes:
|
|
|
|
|
A ring defined by a radial intensity profile in r^p. |
|
|
|
A ring defined by a radial temperature profile in r^q and a radial dust surface density profile in r^p. |
|
|
|
- class oimodeler.oimCustomComponents.oimBox(**kwargs)
- name = 'Rectangular Box'
- shortname = 'BOX'
- _visFunction(ucoord, vcoord, rho, wl, t)
- _imageFunction(xx, yy, wl, t)
- class oimodeler.oimCustomComponents.oimFastRotator(**kwargs)
- name = 'Fast Rotator'
- shortname = 'FRot'
- _internalImage()
- class oimodeler.oimCustomComponents.oimRadialRing(**kwargs)
A ring defined by a radial intensity profile in r^p.
It accounts for elongation and rotation.
- Parameters:
din (float) – Inner radius of the disk [mas].
dout (float) – Outer radius of the disk [mas].
p (float) – Power-law exponent for the radial profile.
pa (float) – Positional angle.
elong (float) – Elongation of the disk.
dim (float) – Dimension of the image.
- Variables:
params (dict with keys of str and values of oimParam) – Dictionary of parameters.
_wl (array_like) – Wavelengths.
_t (array_like) – Times.
_r (array_like) – Radial grid.
- _radialProfileFunction(xx, yy, wl, t)
Calculates a radial power law profile.
- name = 'Radial Ring'
- shortname = 'RadRing'
- elliptic = False
- _radialProfileFunction(r: ndarray, wl: ndarray, t: ndarray) ndarray
Calculates a radial power law profile.
- Parameters:
r (numpy.ndarray) – Radial grid.
wl (numpy.ndarray) – Wavelengths.
t (numpy.ndarray) – Times.
- Returns:
radial_profile
- Return type:
numpy.ndarray
- property _r
Gets the radial profile [mas].
- class oimodeler.oimCustomComponents.oimSpiral(**kwargs)
- name = 'Spiral component'
- shorname = 'Sp'
- elliptic = True
- _imageFunction(xx, yy, wl, t)
- class oimodeler.oimCustomComponents.oimTempGradient(**kwargs)
A ring defined by a radial temperature profile in r^q and a radial dust surface density profile in r^p.
- Parameters:
rin (float) – Inner radius of the disk [au].
rout (float) – Outer radius of the disk [au].
Tin (float) – Inner radius temperature [K].
Mdust (float) – Mass of the dusty disk [M_sun].
q (float) – Power-law exponent for the temperature profile.
p (float) – Power-law exponent for the dust surface density profile.
kappa_abs (float or oimInterp) – Dust mass absorption coefficient [cm2.g-1].
dist (float) – Distance of the star [pc].
- Variables:
params (dict with keys of str and values of oimParam) – Dictionary of parameters.
_r (array_like) –
_wl (array_like) – Wavelengths [micron].
_t (array_like) – Times [second].
- _radialProfileFunction(r, wl, t)
Calculates a radial temperature gradient profile via a dust-surface density- and temperature profile.
- name = 'Temperature Gradient'
- shortname = 'TempGrad'
- elliptic = True
- _radialProfileFunction(r: ndarray, wl: ndarray, t: ndarray) ndarray
Calculates a radial temperature gradient profile via a dust-surface density- and temperature profile.
- Parameters:
r (numpy.ndarray) – Radial grid [mas].
wl (numpy.ndarray) – Wavelengths [micron].
t (numpy.ndarray) – Times [second].
Results
——-
radial_profile (numpy.ndarray)
- property _r
Gets the radial profile [mas].