hcipy icon indicating copy to clipboard operation
hcipy copied to clipboard

Missing telescope apertures

Open syhaffert opened this issue 2 years ago • 12 comments

PR #133 adds two more telescope apertures. Now we are only missing a couple more:

  • [x] #155
  • [ ] #243
  • [ ] LBT
  • [x] JWST (#139)
  • [ ] Roman CGI
  • [x] VLTI (#145)

Are there anymore apertures that are useful to include?

I propose to use this issue to keep track of the last couple of missing telescope apertures.

syhaffert avatar Aug 02 '22 22:08 syhaffert

Agreed.

  • I know @vkooten proposed to include her version of the Keck pupil a long time ago. Progress?
  • For Subaru, I know that @dsdoelman had a good example fits file, and maybe even specifications.
  • For the LBT one, we always used a simplified pupil because of the complicated secondary support structure. I'm sure you can take that one on at some point.
  • I briefly looked into the JWST pupil, and I have enough resources here at STScI to do that one.
  • Roman should be doable too. I have an old old fits file but I'm sure there are better specs out there now. I can look into this and report back.

ehpor avatar Aug 02 '22 23:08 ehpor

The Roman and JWST pupils are defined in the webbPSF package. We could use the same approach as they are doing?

syhaffert avatar Aug 02 '22 23:08 syhaffert

The Roman and JWST pupils are defined in the webbPSF package. We could use the same approach as they are doing?

They use a low-res FITS file for Roman, distributed with the data package. Instead, I found https://roman.ipac.caltech.edu/sims/Coronagraph_pupil_masks.html. I'll base my geometric model on the latest one by AJ.

For JWST they use a geometric model, but I have to look into how to best transfer all constants over (copying that many values seems bad; I have to see if the xls file that they reference is public), or to do an idealized version, or to make WebPSF a dependency (not preferred right now tbh).

ehpor avatar Aug 02 '22 23:08 ehpor

Do we want a 'global' dictionary in the realistic aperture file with the definitions of pupil diameter etc..? Some people might not know the actual diameters and it would be good to have a simple dictionary with the general parameters of the pupil.

syhaffert avatar Aug 03 '22 01:08 syhaffert

I can add the Keck aperture after the new aperture PRs (#140 and #141) are merged. I found the pupil definition on the Keck AO wiki pages: https://www.oir.caltech.edu/twiki_oir/pub/Keck/NGAO/NotesKeckPSF/KeckPupil_Notes.png

syhaffert avatar Aug 16 '22 22:08 syhaffert

Here is my Keck aperture and L band coronagraph based on the drawing from the KPIC team. Multiple people have published with this aperture and Sam Ragland has looked at it to confirm it with internal Keck documents.

Sorry my GitHub is a mess and I was building and commissioning a SWHFS for open-loop wavefront sensing. Feel free to copy and paste and add it to HCIPy. I need help getting my GitHub connected correctly to hcipy.

On Aug 16, 2022, at 3:30 PM, Sebastiaan Haffert @.***> wrote:

I can add the Keck aperture after the new aperture PRs (#140 https://github.com/ehpor/hcipy/pull/140 and #141 https://github.com/ehpor/hcipy/pull/141) are merged. I found the pupil definition on the Keck AO wiki pages: https://www.oir.caltech.edu/twiki_oir/pub/Keck/NGAO/NotesKeckPSF/KeckPupil_Notes.png https://www.oir.caltech.edu/twiki_oir/pub/Keck/NGAO/NotesKeckPSF/KeckPupil_Notes.png — Reply to this email directly, view it on GitHub https://github.com/ehpor/hcipy/issues/134#issuecomment-1217235128, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJV7YXJUW3LVI4LCTF2FQK3VZQI63ANCNFSM55M2BBDQ. You are receiving this because you were mentioned.

vkooten avatar Aug 16 '22 23:08 vkooten

In Sept I will finally have time to also add an example to HCIPY of Keck’s Pyramid, SHWFS, and ZWFS all working and a few other functions that will basically allow anyone to simulate the full Keck AO system.

On Aug 16, 2022, at 4:08 PM, Maaike van Kooten @.***> wrote:

<Keck_aperture_and_vortex_Lband.py>

Here is my Keck aperture and L band coronagraph based on the drawing from the KPIC team. Multiple people have published with this aperture and Sam Ragland has looked at it to confirm it with internal Keck documents.

Sorry my GitHub is a mess and I was building and commissioning a SWHFS for open-loop wavefront sensing. Feel free to copy and paste and add it to HCIPy. I need help getting my GitHub connected correctly to hcipy.

On Aug 16, 2022, at 3:30 PM, Sebastiaan Haffert @.*** @.***>> wrote:

I can add the Keck aperture after the new aperture PRs (#140 https://github.com/ehpor/hcipy/pull/140 and #141 https://github.com/ehpor/hcipy/pull/141) are merged. I found the pupil definition on the Keck AO wiki pages: https://www.oir.caltech.edu/twiki_oir/pub/Keck/NGAO/NotesKeckPSF/KeckPupil_Notes.png https://www.oir.caltech.edu/twiki_oir/pub/Keck/NGAO/NotesKeckPSF/KeckPupil_Notes.png — Reply to this email directly, view it on GitHub https://github.com/ehpor/hcipy/issues/134#issuecomment-1217235128, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJV7YXJUW3LVI4LCTF2FQK3VZQI63ANCNFSM55M2BBDQ. You are receiving this because you were mentioned.

vkooten avatar Aug 16 '22 23:08 vkooten

I think your attachment did not come through. Is it the ssh key thing that blocks your access?

syhaffert avatar Aug 16 '22 23:08 syhaffert

Let's do this properly and not rush this. HCIPy will be there once you figured things out with SSH/Github/2FA/SHWFS/crap. You can put in a PR yourself once that's done. That way, you'll get credited properly in Git history.

Let's figure this out offline via email. :)

ehpor avatar Aug 16 '22 23:08 ehpor

I currently create the Keck pupil the same way that the VLT pupil is created. So it gives the user the option to have the diameter normalized or set to the real diameter.

I will look at adding it and pushing it forward this week.

On Aug 2, 2022, at 6:14 PM, Sebastiaan Haffert @.***> wrote:

Do we want a 'global' dictionary in the realistic aperture file with the definitions of pupil diameter etc..? Some people might not know the actual diameters and it would be good to have a simple dictionary with the general parameters of the pupil.

— Reply to this email directly, view it on GitHub https://github.com/ehpor/hcipy/issues/134#issuecomment-1203373256, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJV7YXN3GOYB56PK6YQRFE3VXHBXXANCNFSM55M2BBDQ. You are receiving this because you were mentioned.

vkooten avatar Oct 11 '22 07:10 vkooten