TimeSeriesWindow

TimeSeriesWindow[tseries,{tmin,tmax}]
gives the elements of the time series tseries that fall between and .

Details and OptionsDetails and Options

  • TimeSeriesWindow is used to select a subset of a time series that falls in a given window.
  • The time series tseries can be a list of numeric values , a list of time-value pairs , a TimeSeries, EventSeries, or TemporalData.
  • The window times and can be given as Automatic, numbers, or dates. When or are given as Automatic, the first and last times in tseries are used, respectively.
  • TimeSeriesWindow takes the following options:
  • ResamplingMethodAutomaticthe method to use for resampling paths
    IncludeWindowTimesFalsewhether to include and
  • By default, the window times and are included only if they are also members of the times in tseries.
  • If and are outside the range of the , then the and are used, respectively.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Extract a portion of a time series:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Take the elements between the 4^(th) of May and 4^(th) of August:

In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
Introduced in 2014
(10.0)