Sky2Pix_HammerAitoff

class astropy.modeling.projections.Sky2Pix_HammerAitoff(*args, meta=None, name=None, **kwargs)[source] [edit on github]

Bases: astropy.modeling.projections.Sky2PixProjection, astropy.modeling.projections.PseudoCylindrical

Hammer-Aitoff projection - sky to pixel.

Corresponds to the AIT projection in FITS WCS.

\[\begin{split}x &= 2 \gamma \cos \theta \sin \frac{\phi}{2} \\ y &= \gamma \sin \theta\end{split}\]

where:

\[\gamma = \frac{180^\circ}{\pi} \sqrt{\frac{2}{1 + \cos \theta \cos(\phi / 2)}}\]

Methods Summary

evaluate(phi, theta) Evaluate the model on some input variables.

Methods Documentation

classmethod evaluate(phi, theta)[source] [edit on github]

Evaluate the model on some input variables.