def lcbkg(self): ''' ''' binds = np.where(self.aperture ^ 1) bkg = np.nanmedian(np.array([f[binds] for f in self.images], dtype='float64'), axis = 1) return bkg.reshape(-1, 1)