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

Integration of JPSFLib (PSF reference library management) #234

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

ell-bogat
Copy link

This PR adds a new module to spaceKLIP for PSF reference library management! Can be imported via:
from spaceKLIP import psflib

The major functionalities are:

  • Building a reference database from a directory of JWST files, via psflib.build_refdb()
  • Loading a previously generated reference database from a csv, via psflib.load_refdb()
  • Downloading the files listed in the reference database directly from MAST, via psflib.download_mast()
  • Selecting science and reference filenames for a given target, with the ability to choose references based on parameters like spectral type, filter, etc., via psflib.get_sciref_files(). These filenames can then be passed to the spaceKLIP PSF subtraction routine. More options for useful reference filtering can be added as needed!

@AarynnCarter AarynnCarter self-requested a review December 20, 2024 19:25
@AarynnCarter
Copy link
Collaborator

Hi Ell, this is looking great! We'll need to tweak a couple of other files to keep the documentation up to date, but I can handle that in the new year. I left a few comments for you too, but nothing major.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants