lentil.radiometry.Blackbody.ends

Blackbody.ends(tol=0.0001)

Locate the indices defining the continuous nonzero portion of the value

The first and last indices where the normalized Spectrum.value is greater than tol define the bounds of the retained portion of the Spectrum.

Parameters

tol (float, optional) – Relative tolerance used to find ends. Default is 1e-4