How to use the pyephem.Observer.__init__ function in pyephem

To help you get started, we’ve selected a few pyephem 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 HERA-Team / aipy / ant.py View on Github external
def __init__(self, location=None, uv=None):
        """location:   location of the array in (lat, long, [elev])
        uv:         Miriad UV file"""
        ephem.Observer.__init__(self)
        self.cache = 0
        if not uv is None: self.from_uv(uv)
        else:
            if location is None:
                raise ValueError('Must provide either uv or location.')
            self.update_location(location)
    def update_location(self, location):

pyephem

Empty package that depends on "ephem"

LGPL-3.0
Latest version published 4 years ago

Package Health Score

58 / 100
Full package analysis