astropy:docs

Shift

class astropy.modeling.functional_models.Shift(offsets, param_dim=1)[source] [edit on github]

Bases: astropy.modeling.core.Model

Shift a coordinate.

Parameters:

offsets : float or a list of floats

offsets to be applied to a coordinate if a list - each value in the list is an offset to be applied to a column in the input coordinate array

Attributes Summary

offsets
param_names list() -> new empty list

Methods Summary

inverse()

Attributes Documentation

offsets
param_names = ['offsets']

Methods Documentation

inverse()[source] [edit on github]

Page Contents