Multiply

class astropy.modeling.functional_models.Multiply(factor=1, **kwargs)[source]

Bases: astropy.modeling.Fittable1DModel

Multiply a model by a quantity or number.

Parameters
factorfloat

Factor by which to multiply a coordinate.

Attributes Summary

factor

fittable

linear

param_names

Methods Summary

evaluate(x, factor)

One dimensional multiply model function

fit_deriv(x, \*params)

One dimensional multiply model derivative with respect to parameter

Attributes Documentation

factor = Parameter('factor', value=1.0)
fittable = True
linear = True
param_names = ('factor',)

Methods Documentation

static evaluate(x, factor)[source]

One dimensional multiply model function

static fit_deriv(x, *params)[source]

One dimensional multiply model derivative with respect to parameter