Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Level3 Grid #3

Open
orifox opened this issue Jul 28, 2023 · 0 comments
Open

Level3 Grid #3

orifox opened this issue Jul 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@orifox
Copy link

orifox commented Jul 28, 2023

Similar to Level2 data, it would be nice to have the ability to make a grid for Level 3. Something along the lines as follows below. A full notebook workflow can be found in grid_lvl3.ipynb in /astro/armin/data/space_phot_debug/ori


jwst3_obs = st_phot.observation3(lvl3[0])  
grid = st_phot.util.get_jwst3_psf_grid(jwst_obs3,num_psfs=4)  
psf3 = st_phot.util.get_jwst3_psf_from_grid(jwst3_obs,source_location,grid) 
jwst3_obs.psf_photometry(psf3,source_location,bounds={'flux':[-1000,10000],  
                        'centroid':[-2,2],
                        'bkg':[0,50]},
                        fit_width=5,
                        fit_bkg=True,
                        fit_flux=True)

@jpierel14 jpierel14 added the enhancement New feature or request label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants