@property<EOL><INDENT>def zoom_region(self):<DEDENT>
<EOL>where = np.array(np.where(np.invert(self.astype('<STR_LIT:bool>'))))<EOL>y0, x0 = np.amin(where, axis=<NUM_LIT:1>)<EOL>y1, x1 = np.amax(where, axis=<NUM_LIT:1>)<EOL>return [y0, y1+<NUM_LIT:1>, x0, x1+<NUM_LIT:1>]<EOL>
The zoomed rectangular region corresponding to the square encompassing all unmasked values.

        This is used to zoom in on the region of an image that is used in an analysis for visualization.