ArtificialStellarPopulations / ArtPop

✨ ArtPop – Building artificial galaxies one star at a time.
https://artpop.readthedocs.io/en/latest/
MIT License
61 stars 10 forks source link

JWST filters? #19

Closed MilesCranmer closed 8 months ago

MilesCranmer commented 8 months ago

Hey all,

Would it be possible to include the JWST filters by any chance?

Cheers! Miles

By the way, what is the proper way to specify a custom set of filters? (e.g., if I simply have a numpy arrays specifying a bandpass)

shanyDanieli commented 8 months ago

Hi Miles!

The JWST filter set is already included. To get the full list of JWST filters, try:

import artpop
artpop.get_filter_names('JWST')

To add a new custom set of filters, please see Johnny's reply to issue #17.

Please let me know if you have any questions!

MilesCranmer commented 8 months ago

Thanks!

For what it's worth I think my confusion arose because most filters are prefixed by the observatory (like 2MASS_H or DECam_g or GALEX_FUV) but JWST is not (like F070W rather than JWST_F070W).

shanyDanieli commented 8 months ago

Yes, that's a good point -- thanks for pointing this out! I'll consider modifying those prefixes for JWST and WFIRST (Roman).