-
-
Notifications
You must be signed in to change notification settings - Fork 423
Closed
Labels
Description
I either can't figure out how to, or the functionality for it isn't there but using Simbad.query_criteria
wants me to pass full strings of my queries and will not accept SkyCoords. Currently the documentation shows these two usage cases:
result = Simbad.query_criteria('region(box, GAL, 0 +0, 3d 1d)', otype='SNR')
...
script = '(region(box, GAL, 0 +0, 0.5d 0.5d) | region(box, GAL, 43.3 -0.2, 0.25d 0.25d))'
result = Simbad.query_criteria(script, otype='SNR')
Could it be possible to add some friendliness to how this is scripted for some of the easier criterion operators such as region
? For example:
result = Simbad.query_criteria(SkyCoord, criterion="region", shape="circle", radius=Unit)
Or something similar?