AstroHuntsman / gunagala

4 stars 9 forks source link

something odd with offsets #19

Closed lspitler closed 5 years ago

lspitler commented 6 years ago

If one changes the pixellated PSF offset, it appears that the regions without PSF coverage flip between zero and nan. Difference these two images:

screen shot 2018-06-12 at 3 10 45 pm screen shot 2018-06-12 at 3 10 55 pm
AnthonyHorton commented 5 years ago

@lspitler Is this still happening?

lspitler commented 5 years ago

@AnthonyHorton not sure. @bazkiaei are you able to copy/paste the code above into a fresh jupyter notebook to test if you can reproduce changing the offsets input?

bazkiaei commented 5 years ago

I did not know by which data the above images are generated. I tried it with another simulation data and it is OK when I change the offset. I tried several combinations (including integers) for the offsets and presented two of them here. @lspitler @AnthonyHorton screen shot 2018-11-22 at 2 32 26 pm

lspitler commented 5 years ago

@bazkiaei can you used exactly the same offsets I used?

bazkiaei commented 5 years ago

@lspitler Of course, here it is:

screen shot 2018-11-22 at 5 59 37 pm

lspitler commented 5 years ago

@bazkiaei perfect, thanks! @AnthonyHorton closing this one as it seems to have gone away, perhaps due to the other issues we've found or maybe just matplotlib has changed?