calculate_uncertainty#

irispy.utils.calculate_uncertainty(
data: ndarray,
readout_noise: astropy.units.Quantity,
unit: astropy.units.Quantity,
) float[source]#

Calculates the uncertainty of a given data array.

Parameters:
Returns:

The readout noise with no unit.

Return type:

float