-
-
Notifications
You must be signed in to change notification settings - Fork 424
Description
Hello,
I am trying to read in all CSC sources within some Galactic latitude range. I first start out with the following
sample = heasarc.query_region( SkyCoord(0, 0, unit='deg',frame='galactic'), spatial='all-sky', catalog='csc', maxrec=None )
and then I mask out sources that do not meet the Galactic latitude range I want. I have noticed that the query region above gives different results each time, despite having the same input.
I noticed it is always a sample of 1e5 sources with sample metrics that differ each time. Sometimes the minimum flux of a source in the sample is ~1e-10 and other times it will find ~1e-9, and it changes the results of my filtered sample. Sometimes I will get 71k sources with the latitude range I am exploring, and other times it will have 10k.
Am I doing something wrong that would make query_region() give different results each time? Should I use something else if I want to read in the entire catalog first like I am trying to do?