Perform folding projection with (+,-) polarity at EDGES
extra = edgefold(Which,xc,bp,bm)
string, 'left'/'right', indicating which edge we are at
unfolded data, center window
interior of window
exterior of window
pseudo-left/right packet
The result should be used as either left or right packet in fold to ensure exact reconstruction at edges.