static void reorderData(Array< T > &data, const Vector< Int > &ifrSlot, Int nIfr, const Vector< Int > &timeSlot, Int nTime, const T &defvalue)
reorder data from 3d (corr,chan,row) to 4d (corr,chan,ifr,time)
static void timeAverage(Array< Bool > &dataFlag, Array< T > &data, const Array< Bool > &flag, const Array< Float > &weight)
average data (with flags & weights applied) over it's last axis (time or row), return in data (overwr...