Trim to same number of samples.
Set length of all time series to smallest found in collection.
226 if (this->size() > 1)
229 typename Tbase::iterator i_series=this->begin();
230 Theader header=i_series->header;
231 unsigned int nsamples=header.nsamples;
233 while (i_series != this->end())
235 header=i_series->header;
236 unsigned int thisnsamples=header.nsamples;
237 nsamples = thisnsamples < nsamples ? thisnsamples : nsamples;
242 i_series=this->begin();
243 while (i_series != this->end())
245 i_series->header.nsamples = nsamples;
246 i_series->setlastindex(i_series->f()+nsamples-1);
void synchronize_nsamples()
Synchronize header with series.