astrophot.utils.isophote package
Submodules
astrophot.utils.isophote.ellipse module
- astrophot.utils.isophote.ellipse.Rscale_Fmodes(theta, modes, Am, Phim)[source]
Factor to scale radius values given a set of fourier mode amplitudes.
- astrophot.utils.isophote.ellipse.Rscale_SuperEllipse(theta, ellip, C=2)[source]
Scale factor for radius values given a super ellipse coefficient.
astrophot.utils.isophote.extract module
- astrophot.utils.isophote.extract.Sigma_Clip_Upper(v, iterations=10, nsigma=5)[source]
Perform sigma clipping on the “v” array. Each iteration involves computing the median and 16-84 range, these are used to clip beyond “nsigma” number of sigma above the median. This is repeated for “iterations” number of iterations, or until convergence if None.
astrophot.utils.isophote.integrate module
- astrophot.utils.isophote.integrate.Fmode_fluxdens_to_fluxsum(R, I, parameters, A=None)[source]
Integrate a flux density profile, with isophotes including Fourier perturbations.
- Parameters:
R (arcsec) – semi-major axis length
I (flux/arcsec^2) – flux density
parameters (list of dictionaries) –
list of dictionary of isophote shape parameters for each radius. formatted as
{'ellip': ellipticity, 'm': list of modes used, 'Am': list of mode powers, 'Phim': list of mode phases
}
entries for each radius.
- astrophot.utils.isophote.integrate.Fmode_fluxdens_to_fluxsum_errorprop(R, I, IE, parameters, N=100, symmetric_error=True)[source]
Integrate a flux density profile, with isophotes including Fourier perturbations.
- Parameters:
R (arcsec) – semi-major axis length
I (flux/arcsec^2) – flux density
parameters (list of dictionaries) –
list of dictionary of isophote shape parameters for each radius. formatted as
{'ellip': ellipticity, 'm': list of modes used, 'Am': list of mode powers, 'Phim': list of mode phases
}
entries for each radius.