def set_orbit(self, timestamp): """Determination of primary and secondary orbital functions. Args: timestamp (:obj:`datetime.datetime`): Date and time to extract constituent arguments at. """ self.orbit.astro = astro(timestamp)
def extractor(c): # info: name, amplitude, phase, speed return (c[0].name.upper(), c[1], c[2], c[0].speed(astro(t0)))