def Decimate(oData, skip):
    if (type(skip) is list):
        oDataSeg = []
        for s in skip:
            seg = Segment(oData, s)
            oDataSeg.append(seg)
        return oDataSeg
    iCond = range(0, len(oData['time_s']), skip)
    oDataSeg = copy.deepcopy(SliceDict(oData, iCond))
    return oDataSeg
def Decimate(oData, skip):
    if (type(skip) is list):
        oDataSeg = []
        for s in skip:
            seg = Segment(oData, s)
            oDataSeg.append(seg)
        return oDataSeg
    iCond = range(0, len(oData['time_s']), skip)
    oDataSeg = copy.deepcopy(SliceDict(oData, iCond))
    return oDataSeg