Query a region but only return objects satisfying a given condition

Is it possible to use astroquery to query a region of the sky but only return objects satisfying a certain condition, such as having an apparent magnitude less than a certain value? I’m trying to get a table of the 100 brightest objects in my night sky. Would love any advice! Thanks.

1 Like

I don’t know about astroquery, but you can do it with pyvo following the example in section 2.3 of this tutorial: Accessing astronomical catalogs — NASA-NAVO Workshops Notebooks