Pix2Sky_SlantZenithalPerspective

class astropy.modeling.projections.Pix2Sky_SlantZenithalPerspective(*args, **kwargs)[source]

Bases: Pix2SkyProjection, Zenithal

Slant zenithal perspective projection - pixel to sky.

Corresponds to the SZP projection in FITS WCS.

Parameters:
mupython:float

Distance from point of projection to center of sphere in spherical radii, μ. Default is 0.

phi0python:float

The longitude φ₀ of the reference point, in degrees. Default is 0°.

theta0python:float

The latitude θ₀ of the reference point, in degrees. Default is 90°.

Attributes Summary

mu

param_names

Names of the parameters that describe models of this type.

phi0

theta0

Attributes Documentation

mu = _ParameterDS('mu', value=0.0)[source]
param_names = ('mu', 'phi0', 'theta0')

Names of the parameters that describe models of this type.

The parameters in this tuple are in the same order they should be passed in when initializing a model of a specific type. Some types of models, such as polynomial models, have a different number of parameters depending on some other property of the model, such as the degree.

When defining a custom model class the value of this attribute is automatically set by the Parameter attributes defined in the class body.

phi0 = _ParameterDS('phi0', value=0.0)
theta0 = _ParameterDS('theta0', value=90.0)