Shift

class astropy.modeling.functional_models.Shift(offset=0, **kwargs)[source] [edit on github]

Bases: astropy.modeling.Model

Shift a coordinate.

Parameters:

offset : float

Offset to add to a coordinate.

Attributes Summary

fittable
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

fittable = True
inputs = ('x',)
offset
outputs = ('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]