22from typing
import TYPE_CHECKING
32from ._detection
import Footprint
38 """Calculate the total flux in the region of an image array
39 contained in this Footprint.
44 Array containing the pixels to extract.
46 The origin of the image array.
50 Flux
from the image
in pixels contained
in the footprint.
52 return self.spans.flatten(image, xy0).sum()
55 """Calculate the total flux in the region of an Image contained in
66 Flux from the image pixels contained
in the footprint.