Sky2PixProjection¶
-
class
astropy.modeling.projections.
Sky2PixProjection
(*args, meta=None, name=None, **kwargs)[source] [edit on github]¶ Bases:
astropy.modeling.projections.Projection
Base class for all Sky2Pix projections.
Attributes Summary
input_units
This property is used to indicate what units or sets of units the evaluate method expects, and returns a dictionary mapping inputs to units (or None
if any units are accepted).inputs
outputs
return_units
This property is used to indicate what units or sets of units the output of evaluate should be in, and returns a dictionary mapping outputs to units (or None
if any units are accepted).Methods Summary
__call__
(phi, theta[, model_set_axis, …])Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated. Attributes Documentation
-
input_units
¶ This property is used to indicate what units or sets of units the evaluate method expects, and returns a dictionary mapping inputs to units (or
None
if any units are accepted).Model sub-classes can also use function annotations in evaluate to indicate valid input units, in which case this property should not be overridden since it will return the input units based on the annotations.
-
inputs
= ('phi', 'theta')¶
-
outputs
= ('x', 'y')¶
-
return_units
¶ This property is used to indicate what units or sets of units the output of evaluate should be in, and returns a dictionary mapping outputs to units (or
None
if any units are accepted).Model sub-classes can also use function annotations in evaluate to indicate valid output units, in which case this property should not be overridden since it will return the return units based on the annotations.
Methods Documentation
-
__call__
(phi, theta, model_set_axis=None, with_bounding_box=False, fill_value=nan, equivalencies=None) [edit on github]¶ Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
-