def epoch_to_epoch16(self, epoch):
    '\n        Converts a CDF EPOCH to a CDF EPOCH16 value\n\n        Parameters\n        ==========\n        epoch : double\n            EPOCH to convert. Lists and numpy arrays are acceptable.\n\n        Returns\n        =======\n        out : (double, double)\n            EPOCH16 corresponding to epoch\n        '
    e = numpy.require(epoch, numpy.float64)
    s = numpy.trunc((e / 1000.0))
    res = numpy.hstack((s, ((e - (s * 1000.0)) * 1000000000.0)))
    if (len(res) <= 2):
        return res
    newshape = list(res.shape[0:(- 2)])
    newshape.append((res.shape[(- 1)] // 2))
    newshape.append(2)
    return numpy.rollaxis(res.reshape(newshape), (- 1), (- 2))
Converts a CDF EPOCH to a CDF EPOCH16 value

Parameters
==========
epoch : double
    EPOCH to convert. Lists and numpy arrays are acceptable.

Returns
=======
out : (double, double)
    EPOCH16 corresponding to epoch
def epoch_to_epoch16(self, epoch):
    '\n        Converts a CDF EPOCH to a CDF EPOCH16 value\n\n        Parameters\n        ==========\n        epoch : double\n            EPOCH to convert. Lists and numpy arrays are acceptable.\n\n        Returns\n        =======\n        out : (double, double)\n            EPOCH16 corresponding to epoch\n        '
    e = numpy.require(epoch, numpy.float64)
    s = numpy.trunc((e / 1000.0))
    res = numpy.hstack((s, ((e - (s * 1000.0)) * 1000000000.0)))
    if (len(res) <= 2):
        return res
    newshape = list(res.shape[0:(- 2)])
    newshape.append((res.shape[(- 1)] // 2))
    newshape.append(2)
    return numpy.rollaxis(res.reshape(newshape), (- 1), (- 2))