H-E-L-P / XID_plus

Next generation XID development
MIT License
3 stars 8 forks source link

Source in MOC improvment #68

Closed ianmbus closed 4 years ago

ianmbus commented 4 years ago

The check_in_moc function in moc_rountines.py is slower than the inMoc Function in herschelhelp_python. I found it makes a significant improvement in speed when defining the prior and prior catalogue

Ian

pdh21 commented 4 years ago

Have made the suggested change. Having had issues with this for Herschel-Stripe82, I have noticed that if you are using a moc based on sources, the higher the order of moc, the slower it is and by the power of 2 (because you have four times the number of pixels in moc as you go to next highest order)