Fixed .area call.
Compare changes
+ 2
− 2
@@ -174,8 +174,8 @@ def compute_photometry(x, y, aperture_r=3.0, sky_in=6.0, sky_out=8.0):
GitLab will be offline for essential maintenance from 22/08/25 - 25/08/25. During this time, GitLab will be read-only with some short periods of complete unavailability.
To get the area of CircularAnnulus and CircularAperture objects, you're getting an attribute in the form of a float. Putting parentheses made the code crash so I removed them. Maybe it has to do with a change in how the photutils class is structured in a recent version.