astropy:docs

Pix2Sky_AZP

class astropy.modeling.projections.Pix2Sky_AZP[source] [edit on github]

Bases: astropy.modeling.projections.Pix2SkyProjection, astropy.modeling.projections.Zenithal

AZP : Zenithal perspective projection - pixel to sky.

\phi &= \arg(-y \cos \gamma, x) \\
\theta &= \left\{\genfrac{}{}{0pt}{}{\psi - \omega}{\psi + \omega + 180^{\circ}}\right.

where:

\psi &= \arg(\rho, 1) \\
\omega &= \sin^{-1}\left(\frac{\rho \mu}{\sqrt{\rho^2 + 1}}\right) \\
\rho &= \frac{R}{\frac{180^{\circ}}{\pi}(\mu + 1) + y \sin \gamma} \\
R &= \sqrt{x^2 + y^2 \cos^2 \gamma}

Parameters:

mu : float

distance from point of projection to center of sphere in spherical radii, default is 0.

gamma : float

look angle in deg, default is 0.

Attributes Summary

gamma
inverse
mu
param_names

Methods Summary

check_mu(val)
evaluate(x, y, mu, gamma)

Attributes Documentation

gamma
inverse
mu
param_names = ('mu', 'gamma')

Methods Documentation

check_mu(val)[source] [edit on github]
classmethod evaluate(x, y, mu, gamma)[source] [edit on github]

Page Contents