Source code for shed_sidewinder

from datetime import datetime

unix_epoch = datetime.utcfromtimestamp(0)
epics_epoch = datetime.strptime("1/1/1990 : 0:0:0.0", '%m/%d/%Y : %H:%M:%S.%f')


[docs]def time_from_epoch(dt, epoch=unix_epoch):
return (dt - epoch).total_seconds() __version__ = '0.0.4'