Open moira-andrews opened 2 months ago
@moira-andrews With an oversampling factor of 5, you need a lot more stars to get a good EPSF. For an oversampling=5, you would need to ensure that at least 1 star's true center is located in each of the 5x5 subpixel locations. That means for a "perfect" sampling a star centers, you need at least 25 stars to fill in the oversampled grid. Otherwise, you will get weird artifacts like holes in the resulting EPSF. But even with 25 perfectly subsampled stars, each star would only contribute once to each pixel, so you will end up with a very noisy EPSF. Ideally, you should have many hundreds of stars that can fill the oversampled grid. I would recommend lowing the oversampling factor. Your stars are very well resolved, so you can probably even use oversampling=1
.
We’re having an issue with EPSFBuilder where our resultant epsf appears to not be resampling properly when we have an oversampling greater than 1. We are inputing 32 stars, and have an oversampling of 5. When looking at the 3d and top down view, it is clear that pixel to pixel is not continuous. We’ve tried increasing the number of stars to as many as 123, but the ending epsf has the same issue.
Here is the code making the epsf and the 3d and 2d plots:
cpt1m013-fa14-20210412-0125-e91.fits.fz.zip