def median_wholegrid(self):
    ' Calculate median values for the whole grid.'
    [self.median(idx, jdx) for idx in range(self.yy.size) for jdx in range(self.xx.size) if (self._I[idx][jdx] is not None)]
Calculate median values for the whole grid.
def median_wholegrid(self):
    ' '
    [self.median(idx, jdx) for idx in range(self.yy.size) for jdx in range(self.xx.size) if (self._I[idx][jdx] is not None)]