astroquery icon indicating copy to clipboard operation
astroquery copied to clipboard

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

Open juliaroquette opened this issue 2 years ago • 1 comments

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.

juliaroquette avatar Dec 18 '23 18:12 juliaroquette

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.

griffin-h avatar May 22 '24 16:05 griffin-h