Multiply¶
-
class
astropy.modeling.functional_models.Multiply(factor=1, **kwargs)[source]¶ Bases:
astropy.modeling.Fittable1DModelMultiply a model by a quantity or number.
Parameters: - factor : float
Factor by which to multiply a coordinate.
Attributes Summary
factorfittableinputslinearoutputsparam_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, 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¶
-
inputs= ('x',)¶
-
linear= True¶
-
outputs= ('y',)¶
-
param_names= ('factor',)¶
Methods Documentation
-
__call__(x, model_set_axis=None, with_bounding_box=False, fill_value=nan, equivalencies=None, inputs_map=None)¶ Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.