spacetelescope / jwql

The James Webb Space Telescope Quicklook Application
BSD 3-Clause "New" or "Revised" License
64 stars 43 forks source link

TEL tools for multi-instrument effects? PSF metrics, etc. #1285

Open bhilbert4 opened 1 year ago

bhilbert4 commented 1 year ago

Strehl ratio, encircled energy, etc.

The TEL branch may come to us with a request to incorporate some of their tools into JWQL so that they can be automated.

Matt Lallo is the contact for this.

bhilbert4 commented 1 year ago

@Skyhawk172 I missed your talk this week, but others on JWQL saw it and wondered if tools for tracking PSF metrics would be something you'd want to implement in JWQL.

tcomeau commented 1 year ago

Matt's a contact, I'm also a contact (Tom Comeau) and we do have some things we'd like to try.

Skyhawk172 commented 1 year ago

Essentially, as a first pass, we'd like to do something like what we did during commissioning, in our OTE-28 "in-focus PSF checks" activity: For various instruments/detectors, we'd like to measure metrics such as encircled energy, FWHM, etc and possibly generate empirical PSFs so that we can monitor any trends in the image quality over the field of view. The SI teams are probably already doing something like this, so we might be able (with your help) to re-use some of what's already being done. Otherwise, we have notebooks to calculate some metrics of interest.

One hurdle for us has been getting and storing the data for all the SI/detectors, so hopefully JWQL can do that for us easily.

In any case, that's a high-level summary for now. Let us know your thoughts on our plan and whether any of it is already implemented by the SI teams.

bhilbert4 commented 1 year ago

None of the SI teams are doing anything like this at the moment, although NIRCam has expressed interest recently in a photometric stability monitor, so there may be some overlap there.

JWQL has access to the MAST cache, so typically monitors will identify the files they want to work with (via MAST query), copy the the files over to a working directory, do some analysis, store the results in a database, and remove any files that are not necessary to keep. Then the information in the database can be used to create whatever outputs (plots, tables) you find useful.

So if you have notebooks that do the calculations, it should be relatively straight forward to translate those into a monitor.