 
 
 (def ts-tap
+  "sample tap that mimics 2 identical pixels (each with the same time series)"
   (vec (repeat 2 {:start 0 :end 271 :ndvi ndvi :reli reli :rain rain})))
 
 (defn long-trend-results

  start and end index don't matter for this application, but are left
  in there anyway to ensure forward compatibility"
  [m]
  (transpose (telescoping-long-trend 23 135 136 ndvi reli rain)))


(def long-trend-query
  (<- [?han-stat ?long-drop ?long-tstat]


(fact
 "duplicate time series will produce two sets of identical results, given that :distinct is set to false; otherwise, results would "
 long-trend-query => (produces [[[1.2393550741169639 1.2133709085855648]
                                 [2.4915869043482424 1.3049908881259853]
                                 [1.1504228201940752 0.5951173333726173]]
                                [[1.2393550741169639 1.2133709085855648]
                                 [2.4915869043482424 1.3049908881259853]
                                 [1.1504228201940752 0.5951173333726173]]]))
