Right now (ass of PR 213), the aperture phtoometry class makes a circle by including all pxiels whose center is within the circle. We need to weight the pixels around the edge based on the intersection of the pixel square and the circle.
One possibility is the shapely library; I haven't used this before, so I don't know it's the right answer, but it looks promising:
Right now (ass of PR 213), the aperture phtoometry class makes a circle by including all pxiels whose center is within the circle. We need to weight the pixels around the edge based on the intersection of the pixel square and the circle.
One possibility is the shapely library; I haven't used this before, so I don't know it's the right answer, but it looks promising: