Software filtering method commonly used in post-processing of AD conversion