Testing for entanglement with periodic coarse graining