diff --git a/.gitignore/error correction b/.gitignore/error correction index ee2a128..4d67fe9 100644 --- a/.gitignore/error correction +++ b/.gitignore/error correction @@ -155,3 +155,11 @@ def repairFrames(frames, parity): print('Frame', frames.index(frame), 'has been repaired') else: print('Frame', frames.index(frame), 'could not be repaired') + +def stripFrames(frames): + """returns an 8x8 payload for each frame""" + newFrames = [] + for frame in frames: + (payload, parityColumn, parityRow) = splitFrame(frame) + newFrames.append(payload) + return newFrames