How to use the mocpy.MOC.from_table function in mocpy

To help you get started, we’ve selected a few mocpy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ggreco77 / GWsky / GWsky / moc_region.py View on Github external
def create_moc(self):
        """Creating a MOC map from the contour_ipix table."""
        
        self.moc = MOC.from_table(self.contour_ipix, 'RA[deg]', 'DEC[deg]',
                                  self.moc_order)

        return self.moc

mocpy

MOC parsing and manipulation in Python

BSD-3-Clause
Latest version published 10 hours ago

Package Health Score

78 / 100
Full package analysis