_get_entropy# xrayvision.mem._get_entropy(image, flux)[source]# Return the entropy of an image. The entropy is defined as \[H(x) = sum_i x_i * log(x_i/(m e))\] where \(x\) is an image and \(m\) is the total flux divided by the number of pixels of in the image Parameters: image (Any) – Input image array flux (Any) – Total flux divided by the number of pixels of the image Return type: Any