astropy:docs

Scale

class astropy.modeling.functional_models.Scale(factors, **kwargs)[source] [edit on github]

Bases: astropy.modeling.Model

Multiply a model by a factor.

Parameters:

factors : float or a list of floats

scale for a coordinate

Attributes Summary

factors
input_names list() -> new empty list
linear bool(x) -> bool
param_names list() -> new empty list

Methods Summary

eval(*args, **kwargs)

Deprecated since version 1.0.

evaluate(x, factors)
inverse()

Attributes Documentation

factors
input_names = []
linear = True
param_names = ['factors']

Methods Documentation

static eval(*args, **kwargs) [edit on github]

Deprecated since version 1.0: The eval method is deprecated and may be removed in a future version. Use Scale.evaluate instead.

static evaluate(x, factors)[source] [edit on github]
inverse()[source] [edit on github]

Page Contents