Closed StarCycle closed 4 months ago
My guess is that cone_search_lonlat
only returns pixels whose centers lie inside the cone; query_disc
will do exactly the same if you provide inclusive=False
. For inclusive=True
it will return (perhaps with a few false positives) all pixels that partially overlap the cone, even if their center is not in the cone.
Yes, @mreineck is correct.
Hi,
I use both cone_search_lonlat() and healpy.query_disc() to find which pixel is located in the Field of View of a telescope with the following code (the field angle is 1°):
But the results from these two functions are different:
Why are they different?