Ring2D

class astropy.modeling.functional_models.Ring2D[source] [edit on github]

Bases: astropy.modeling.Fittable2DModel

Two dimensional radial symmetric Ring model.

Parameters:

amplitude : float

Value of the disk function

x_0 : float

x position center of the disk

y_0 : float

y position center of the disk

r_in : float

Inner radius of the ring

width : float

Width of the ring.

r_out : float

Outer Radius of the ring. Can be specified instead of width.

Notes

Model formula:

\[\begin{split}f(r) = \left \{ \begin{array}{ll} A & : r_{in} \leq r \leq r_{out} \\ 0 & : \textnormal{else} \end{array} \right.\end{split}\]

Where \(r_{out} = r_{in} + r_{width}\).

Attributes Summary

amplitude
param_names
r_in
width
x_0
y_0

Methods Summary

evaluate(x, y, amplitude, x_0, y_0, r_in, width) Two dimensional Ring model function.

Attributes Documentation

amplitude
param_names = ('amplitude', 'x_0', 'y_0', 'r_in', 'width')
r_in
width
x_0
y_0

Methods Documentation

static evaluate(x, y, amplitude, x_0, y_0, r_in, width)[source] [edit on github]

Two dimensional Ring model function.