deerlab.dd_triangle

dd_triangle = <deerlab.model.Model object>

Triangular distribution model.

Parameters:
rarray_like

Distance axis, in nanometers.

modescalar

Mode.

leftscalar

Left width.

rightscalar

Right width.

Returns:
Pndarray

Distance distribution.

Notes

Parameter List

Name

Lower

Upper

Type

Frozen

Unit

Description

mode

1

20

nonlin

No

nm

Mode

left

0.1

5

nonlin

No

nm

Left width

right

0.1

5

nonlin

No

nm

Right width

Model

This provides a simple triangular distribution.

Examples

Example of the model evaluated at the start values of the parameters:

(Source code, png, hires.png, pdf)

../_images/deerlab-dd_triangle-1.png