filter analysis code for experiment