예제 #1
0
def stdRun(path, graph=True):
    frames = files.reader(path)
    # if graph:
    #     chart.drawGraphJob(frames)
    frames = stdClean(frames)
    if graph:
        chart.drawGraphJob(frames)
    return pul.findBeats(frames, 4, 6)
예제 #2
0
def stdRun(path, graph=True):
    frames = files.reader(path)
    # if graph:
    #     chart.drawGraphJob(frames)
    frames = stdClean(frames)
    if graph:
        chart.drawGraphJob(frames)
    return pul.findBeats(frames, 4, 6)
예제 #3
0
def stdShannonRun(path, graph=True, reader=True):
    if reader:
        frames = files.reader(path)
    else:
        frames = path
    # if graph:
    #     chart.drawGraphJob(frames)
    frames = flt.halfRate(frames)
    frames = flt.norm(frames)
    frames = stdMovArg(frames)
    frames = flt.shannon(frames)
    frames = flt.avgShannon(frames, 40, 20)
    if graph:
        chart.drawGraphJob(frames)
    # return pul.findBeats(frames, 4, 6)
    return frames
예제 #4
0
def stdShannonRun(path, graph=True, reader=True):
    if reader:
        frames = files.reader(path)
    else:
        frames = path
    # if graph:
    #     chart.drawGraphJob(frames)
    frames = flt.halfRate(frames)
    frames = flt.norm(frames)
    frames = stdMovArg(frames)
    frames = flt.shannon(frames)
    frames = flt.avgShannon(frames, 40, 20)
    if graph:
        chart.drawGraphJob(frames)
    # return pul.findBeats(frames, 4, 6)
    return frames