Using complex morlet function to analyze any kind of data.