def set_epoch(self, epoch):
if epoch is None:<EOL><INDENT>self._epoch = None<EOL>return<EOL><DEDENT>if isinstance(epoch, (Number, Decimal)):<EOL><INDENT>self._epoch = float(epoch)<EOL><DEDENT>else:<EOL><INDENT>self._epoch = float(to_gps(epoch))<EOL><DEDENT>
Set the GPS epoch