A device for analyzing electrophysiological data, the device comprising: - an input means for inputting at least one electrocardiogram recorded in a junction region between a pulmonary vein and a left atrium of the heart in a subject, - a processing means adapted for: determining a morphology classification representative of a waveform shape for the at least one electrocardiogram, determining a number of peaks above a predetermined noise threshold, determining the morphology classification taking into account the determined number of peaks, determining a first value representative of a likelihood that the at least one electrocardiogram comprises a pulmonary vein potential component, wherein said determining the first value takes said morphology classification into account and - an output means for generating a signal indicative for the detected presence of the pulmonary vein potential component when the first value satisfies a first predetermined condition and a signal indicative for the detected absence of the pulmonary vein potential component when the first value satisfies a second predetermined condition, - wherein the processing means is furthermore adapted for determining at least one morphological parameter indicative of at least one waveform feature for the at least one electrocardiogram and determining a second value representative of said likelihood that the at least one electrocardiogram comprises said pulmonary vein potential component, wherein this determining of the second value takes said at least one morphological parameter and said morphology classification into account, and wherein the output means is furthermore adapted for generating a signal indicative for the detected presence of the pulmonary vein potential component when the second value satisfies a third predetermined criterion and wherein the steps of: - determining at least one morphological parameter, - determining the second value and generating the signal indicative for the detected presence of the pulmonary vein potential component when the second value satisfies the third predetermined criterion are only performed when the first value does not satisfy the first criterion and does not satisfy the second criterion. - an input means for inputting at least one electrocardiogram recorded in a junction region between a pulmonary vein and a left atrium of the heart in a subject, - a processing means adapted for: determining a morphology classification representative of a waveform shape for the at least one electrocardiogram, determining a number of peaks above a predetermined noise threshold, determining the morphology classification taking into account the determined number of peaks, determining a first value representative of a likelihood that the at least one electrocardiogram comprises a pulmonary vein potential component, wherein said determining the first value takes said morphology classification into account and - an output means for generating a signal indicative for the detected presence of the pulmonary vein potential component when the first value satisfies a first predetermined condition and a signal indicative for the detected absence of the pulmonary vein potential component when the first value satisfies a second predetermined condition, - wherein the processing means is furthermore adapted for determining at least one morphological parameter indicative of at least one waveform feature for the at least one electrocardiogram and determining a second value representative of said likelihood that the at least one electrocardiogram comprises said pulmonary vein potential component, wherein this determining of the second value takes said at least one morphological parameter and said morphology classification into account, and - determining at least one morphological parameter, - determining the second value and