spacetelescope / mirage

This code can be used to generate simulated NIRCam, NIRISS, or FGS data
https://mirage-data-simulator.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
39 stars 41 forks source link

Simulated galaxies appear to be flipped #766

Closed x12red closed 2 years ago

x12red commented 2 years ago

Hi all,

I've just noticed that simulated galaxies have a different position angle compared to what I give as input. Is there a way to fix it?

Thanks in advance!

bhilbert4 commented 2 years ago

Hmm yes. I think I see what you mean. If your PAV3 value is non-zero, it looks like the galaxies are rotated in the wrong direction and end up 90 degrees from where they should be. I'll work on fixing that. In the meantime, try adding or subtracting 90 degrees from your galaxy position angles for observations with PAV3 != 0.