A non-transitory computer readable medium having instructions, the instructions, when executed by a processing device, comprising: a) a preprocessing stage to analyze input channel data comprising a digital representation of electrophysiological signals for a plurality of input channels to detect channels having an integrity that is considered one of bad or good, each of the plurality of input channels carrying a respective electrophysiological signal, that is detected by a respective sensor of a sensor array configured to be arranged on a patient's body surface, wherein a plurality of nodes represent the sensors of the sensor array where the respective electrophysiological signals are detected; b) a first spatial similarity measurement function to compute a measure of similarity between the input channel data for each of the plurality of nodes and a set of neighboring nodes to identify a spatial correlated set of channels having an integrity that is considered one of bad or good; c) an amplitude analyzer to determine a subset of input channels meeting amplitude criteria; d) a second spatial similarity measurement function to compute, for each channel in the subset of input channels meeting the amplitude criteria, a measure of similarity between the input channel data for each node and a set of neighboring nodes to identify an amplitude correlated set of channels having an integrity that is considered one of bad or good; and e) a combiner to store output data representing the integrity of the plurality of input channels based on the integrity of the channels detected by the preprocessing stage, the spatial correlated set of channels and the amplitude correlated set of channels. a) a preprocessing stage to analyze input channel data comprising a digital representation of electrophysiological signals for a plurality of input channels to detect channels having an integrity that is considered one of bad or good, each of the plurality of input channels carrying a respective electrophysiological signal, that is detected by a respective sensor of a sensor array configured to be arranged on a patient's body surface, wherein a plurality of nodes represent the sensors of the sensor array where the respective electrophysiological signals are detected; b) a first spatial similarity measurement function to compute a measure of similarity between the input channel data for each of the plurality of nodes and a set of neighboring nodes to identify a spatial correlated set of channels having an integrity that is considered one of bad or good; c) an amplitude analyzer to determine a subset of input channels meeting amplitude criteria; d) a second spatial similarity measurement function to compute, for each channel in the subset of input channels meeting the amplitude criteria, a measure of similarity between the input channel data for each node and a set of neighboring nodes to identify an amplitude correlated set of channels having an integrity that is considered one of bad or good; and e) a combiner to store output data representing the integrity of the plurality of input channels based on the integrity of the channels detected by the preprocessing stage, the spatial correlated set of channels and the amplitude correlated set of channels. <EOS>