Shift¶
-
class
astropy.modeling.functional_models.Shift[source] [edit on github]¶ Bases:
astropy.modeling.ModelShift a coordinate.
Parameters: offset : float
Offset to add to a coordinate.
Attributes Summary
inputsoffsetoutputsparam_namesMethods 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]¶
-