Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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):