SHARE
TWEET

Untitled

a guest May 23rd, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. newerOut = []
  2. #Removing all the null values
  3. for i in outData:
  4.   if type(i) == int and i>0:
  5.     newerOut += [i]
  6.  
  7. #If all the values are null, ignore the data!
  8. if len(newerOut) == 0:
  9.   continue
  10.  
  11. #Determining the intensity by averaging the data
  12. intensity = sum(newerOut)/len(newerOut)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top