diff --git a/.gitignore/error correction b/.gitignore/error correction index bee4f6e..ffe059c 100644 --- a/.gitignore/error correction +++ b/.gitignore/error correction @@ -75,3 +75,10 @@ def appendParityToFrame(frame, parity): frame1 = appendParityColumn(frame, parity) frame2 = appendParityRow(frame1, parity) return frame2 + +def appendParityToFrames(frames, parity): + newFrames = [] + for frame in frames: + newFrame = appendParityToFrame(frame, parity) + newFrames.append(newFrame) + return newFrames