Pātuhitia tēnei: Efficient algorithms of time series processing and their applications