pixel_by_pixel

psfsubtraction.fitpsf.pixel_by_pixel(self)[source] [edit on github]

Each pixel it its own region.

This is an extreme LOCI variant, where each region is made up of a single pixel only. This function returns one region per unmasked image pixel.

Note

Even for images with just a few thousand pixels this method is too expensive in run time.

Returns:
regions : iterator

True/False index arrays