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.ellipse.parametric_Fmodes(theta, modes, Am, Phim)[source]

determines a number of scaled radius samples with fourier mode perturbations for a unit circle.

astrophot.utils.isophote.ellipse.parametric_SuperEllipse(theta, ellip, C=2)[source]

determines a number of scaled radius samples with super ellipse perturbations for a unit circle.

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_Areas(R, parameters)[source]
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.

astrophot.utils.isophote.integrate.fluxdens_to_fluxsum(R, I, axisratio)[source]

Integrate a flux density profile

R: semi-major axis length (arcsec) I: flux density (flux/arcsec^2) axisratio: b/a profile

astrophot.utils.isophote.integrate.fluxdens_to_fluxsum_errorprop(R, I, IE, axisratio, axisratioE=None, N=100, symmetric_error=True)[source]

Integrate a flux density profile

R: semi-major axis length (arcsec) I: flux density (flux/arcsec^2) axisratio: b/a profile

Module contents