MOC footprints¶
Stub
Final content will cover registering MOCs and using IN_MOC /
NOT IN_MOC predicates to restrict queries to a survey
footprint or sky region.
Topics planned:
- What a MOC is (a Multi-Order Coverage map; a region of sky encoded as a set of HEALPix pixels at various Norders). See the Glossary.
- Registering one:
s.register_moc("name", "path.fits"), or via a YAMLmocs:block. - Using it:
WHERE IN_MOC(<alias>, '<name>')andWHERE NOT IN_MOC(<alias>, '<name>'). - Catalog auto-resolution: if you don't register
'two_mass'but a catalog namedtwo_masshas apoint_map.fits,IN_MOC(a, 'two_mass')lazy-loads it. Great for cross-survey footprint intersection. - Composing predicates:
IN_MOC(a, 'des_dr2') AND NOT IN_MOC(a, 'artifacts')—acidcombines them into one effective MOC before pruning. - Where
IN_MOCworks: conjunctiveWHERE,SELECT,ORDER BY,CASEexpressions. Where it doesn't: insideOR, insideJOIN ON(rejected withValidationError).