Planar2D

class astropy.modeling.functional_models.Planar2D(slope_x=1, slope_y=1, intercept=0, **kwargs)[source]

Bases: astropy.modeling.Fittable2DModel

Two dimensional Plane model.

Parameters
slope_xfloat

Slope of the straight line in X

slope_yfloat

Slope of the straight line in Y

interceptfloat

Z-intercept of the straight line

Notes

Model formula:

\[f(x, y) = a x + b y + c\]

Attributes Summary

intercept

linear

param_names

slope_x

slope_y

Methods Summary

evaluate(x, y, slope_x, slope_y, intercept)

Two dimensional Plane model function

fit_deriv(x, y, slope_x, slope_y, intercept)

Two dimensional Plane model derivative with respect to parameters

Attributes Documentation

intercept
linear = True
param_names = ('slope_x', 'slope_y', 'intercept')
slope_x
slope_y

Methods Documentation

static evaluate(x, y, slope_x, slope_y, intercept)[source]

Two dimensional Plane model function

static fit_deriv(x, y, slope_x, slope_y, intercept)[source]

Two dimensional Plane model derivative with respect to parameters