Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def set_ephemtime(self, t=None):
"""Set the current time to a time derived from the ephem package."""
if t is None: t = ephem.now()
self.date = t
self.epoch = t
self.cache += 1
def src_eq_vec(self, body):