How to use the pyephem.FixedBody.__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, ra, dec, f_c=.012, name='', **kwargs):
        """ra:           source's right ascension (epoch=2000)
        dec:          source's declination (epoch=2000)
        f_c:          the plasma frequency (a measure of the electron density)
                      in the direction of the source, which can cause the 
                      source to appear displaced from its quiescent position 
                      as a function of frequency."""
        RadioBody.__init__(self, name=name)
        ephem.FixedBody.__init__(self)
        self._ra, self._dec, self.f_c = ra, dec, f_c
    def compute(self, observer, refract=False):

pyephem

Empty package that depends on "ephem"

LGPL-3.0
Latest version published 3 years ago

Package Health Score

55 / 100
Full package analysis

Similar packages