dcmri.flux_pass#

dcmri.flux_pass(J)[source]#

Indicator flux out of a pass.

See section Pass for more detail.

Parameters:

J (array_like) – the indicator flux entering the pass.

Returns:

outflux as a 1D array.

Return type:

numpy.ndarray

Example

>>> import dcmri as dc
>>> J = [1,2,3,3,2]
>>> dc.flux_pass(J)
array([1, 2, 3, 3, 2])