Shift¶
-
class
astropy.modeling.functional_models.
Shift
[source] [edit on github]¶ Bases:
astropy.modeling.Model
Shift a coordinate.
Parameters: offset : float
Offset to add to a coordinate.
Attributes Summary
inputs
offset
outputs
param_names
Methods Summary
__call__
(x[, model_set_axis])Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated. evaluate
(x, offset)Attributes Documentation
-
inputs
= (u'x',)¶
-
offset
¶
-
outputs
= (u'x',)¶
-
param_names
= ('offset',)¶
Methods Documentation
-
__call__
(x, model_set_axis=None) [edit on github]¶ Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
-
static
evaluate
(x, offset)[source] [edit on github]¶
-