I have many individual timeseries I am trying to align and compute the mean and other statistics for. The problem I am having is that I am only interested in aligning a particular part of each timeseries and the part I want to align changes for each timeseries. For example, "timeseries A" may be from t=1...200 but I only want to use t=25...125 for it. While "timeseries B" may also be from t=1...200 but I want to use t=35...135 for it.
I am guessing I need to use Thread or MapThread for this but am not coming up with a solution. Below is what works on an individual timeseries where #[] refers to the second element in the sublist for timeseries[[i]] that contains the timestamps I want to use as criteria for Select:
Select[timeseries[[i]], #[] >24 && #[] <126 &]
To do this I know I will need a second list containing the timestamp range selection parameters that are relevant to each particular timeseries[[i]]. For example a list like:
where each ordered pair on the gives the range of interest for each timeseries. In other words for timeseries[] I want to extract those sublists of data for timepoints 25...125, for timeseries[] I want to extract sublists for timepoints 35...135, for timeseries[] I want timepoints 18...118, etc.
Thanks for any suggestions you can provide.