# Pix2Sky_SlantZenithalPerspective¶

class astropy.modeling.projections.Pix2Sky_SlantZenithalPerspective(mu=0.0, phi0=0.0, theta0=90.0, **kwargs)[source] [edit on github]

Slant zenithal perspective projection - pixel to sky.

Corresponds to the SZP projection in FITS WCS.

Parameters: mu : float Distance from point of projection to center of sphere in spherical radii, μ. Default is 0. phi0 : float The longitude φ₀ of the reference point, in degrees. Default is 0°. theta0 : float The latitude θ₀ of the reference point, in degrees. Default is 90°.

Attributes Summary

Methods Summary

 check_mu(value) Deprecated since version 1.1. evaluate(x, y, mu, phi0, theta0)

Attributes Documentation

mu
param_names = ('mu', 'phi0', 'theta0')
phi0
theta0

Methods Documentation

check_mu(value)[source] [edit on github]

Deprecated since version 1.1: this method was never intended as part of the public API and will be removed; if you do need its functionality use model.mu.validator(val)

classmethod evaluate(x, y, mu, phi0, theta0)[source] [edit on github]