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

Access to Generic filter profiles from SVO using astroquery.svo_fps when using get_filter_list #2899

Open
juliaroquette opened this issue Dec 18, 2023 · 1 comment
Labels

Comments

@juliaroquette
Copy link

I am using the sub-package svo_fps from astroquery to retrieve filter information for a large sample of filters inside a jupyter notebook. I couldn't find a way to access the filter profile info in the Generic tab of SVO when using get_filter_list.

I can see the filters when using SvoFps.get_filter_index. For example, Generic Bessel U band has effective lambda at 3659.88 \AA, and when using SvoFps.get_filter_index(3650*u.angstrom, 3660*u.angstrom) I can see the Generic Bessel filter U listed in the output along with an empty ('') facility and instrument.

However, when I try to access all available Generic filters with get_filter_list, I get the following errors:

SvoFps.get_filter_list(facility='Generic') which yields IndexError: No filter found for requested Facilty (and Instrument)

SvoFps.get_filter_list(facility='') yields an empty astropy Table.

@griffin-h
Copy link

I ran into this problem as well. The issue is actually not with astroquery, but rather that the SVO FPS does not consider "Generic" to be a facility: http://svo2.cab.inta-csic.es/theory/fps/fps.php?Facility=Generic.

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

No branches or pull requests

3 participants