Pix2Sky_CylindricalEqualArea¶
-
class
astropy.modeling.projections.
Pix2Sky_CylindricalEqualArea
(lam=1, **kwargs)[source]¶ Bases:
astropy.modeling.projections.Pix2SkyProjection
,astropy.modeling.projections.Cylindrical
Cylindrical equal area projection - pixel to sky.
Corresponds to the
CEA
projection in FITS WCS.\[\begin{split}\phi &= x \\ \theta &= \sin^{-1}\left(\frac{\pi}{180^{\circ}}\lambda y\right)\end{split}\]- Parameters
- lam
python:float
Radius of the cylinder in spherical radii, λ. Default is 1.
- lam
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(x, y, lam)Evaluate the model on some input variables.
Attributes Documentation
-
lam
= Parameter('lam', value=1.0)¶
-
param_names
= ('lam',)¶ 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.
Methods Documentation