Pix2Sky_SlantZenithalPerspective

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

Bases: astropy.modeling.projections.Pix2SkyProjection, astropy.modeling.projections.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

Methods Summary

evaluate(x, y, mu, phi0, theta0)

Evaluate the model on some input variables.

Attributes Documentation

mu = Parameter('mu', value=0.0)
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 = Parameter('phi0', value=0.0)
theta0 = Parameter('theta0', value=90.0)

Methods Documentation

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

Evaluate the model on some input variables.