#totalTP=totalTP+tp0 # HERE WE NEED TO DECIDE TO WE COUND THEM AS TP OR NOT !!!!
totalFP=totalFP+fp0#we treat this as 1 FP
if(flag_trueEventsFPAround[etIndx-1]>0andfp_bef==1):# if there was FP after true seiyure and already counted and now we want to count it again because of before
totalFP=totalFP-1
flag_trueEvents[etIndx]=0#it has to stay unmatched
#flag_predEvents[epIndx] = 1 #already matched
#if pred seiyure was named FP in pass with previous seizure but now matches this seizure