a guest May 23rd, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- newerOut = 
- #Removing all the null values
- for i in outData:
- if type(i) == int and i>0:
- newerOut += [i]
- #If all the values are null, ignore the data!
- if len(newerOut) == 0:
- #Determining the intensity by averaging the data
- intensity = sum(newerOut)/len(newerOut)
RAW Paste Data