AttocubeScan.dtype_limits

AttocubeScan.dtype_limits(clip_negative=True)

Return intensity limits, i.e. (min, max) tuple, of imarray dtype.

Keyword Arguments

clip_negative (bool) – If True, clip the negative range (i.e. return 0 for min intensity) even if the image dtype allows negative values.

Returns

(imin,imax) (tuple) – Lower and upper intensity limits.