public char [ ] ts2string ( double [ ] ts , int paaSize , double [ ] cuts , double nThreshold ) throws SAXException { if ( paaSize == ts . length ) { return tsProcessor . ts2String ( tsProcessor . znorm ( ts , nThreshold ) , cuts ) ; } else { // perform PAA conversion double [ ] paa = tsProcessor . paa ( tsProcessor . znorm ( ts , nThreshold ) , paaSize ) ; return tsProcessor . ts2String ( paa , cuts ) ; } }
Convert the timeseries into SAX string representation .