Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@vane90
Created May 29, 2013 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vane90/5670276 to your computer and use it in GitHub Desktop.
Save vane90/5670276 to your computer and use it in GitHub Desktop.
def cef(array): # Funcion para aplicar dwt
data = array
#print 'data', data
coeffs = pywt.dwt2(data, 'Haar')
csA, (csH, csV, csD) = coeffs
print 'Coefic 1'
print csA
print 'Coefic 2'
print csH
print 'Coefic 3'
print csV
print 'Coefic 4'
print csD
return (csA,csH,csV,csD),coeffs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment