PSPicker, a matlab tool for automatic phase picking and event location
Function made to check if traces pass GAP_TEST
Input:
DATA: DATA structure containing channels info
GAP_PARAM: GAP structure, see below for fields
flag_plot: 1 or 0
Output:
boolean_test: array (n x 1) of validation (1 or 0)