## Module: Inter Time Steps Recipe Player (
)

### Description:

> This is an experimental module from the Xtra Library: https://xtras.amira-avizo.com.

> This module can only work with a time series dataset (managed by a Time Series Control).

> This module applies a 2-inputs recipe to either a specific pair of two successive time steps, or to all pairs of two successive time steps of the full time series.
> In the first case the result of the recipe is directly added to the Project View, in the second case the results are saved into a specified directory as Avizo files.
> it is also possible to choose in which order the time steps of the pair to process must be connected to the 2-inputs recipe.
> Finally, when processing a full time series, the results can be exported as TIFF images instead (one may check that the recipe creates compatible results with TIFF file format though).

### Connections:

> Data `[required]`
> This port can be attached to any kind of time series dataset (managed by a Time Series Control).

> Time steps to process `[optional]`
> This port is automatically synchronized with the port Time of the Time Series Control managing the input data.

### Ports:

> Console
> Opens the Python Script Object console of the module as the active console window.

> Recipe
> This port sets the 2-inputs recipe file that will be executed to process time steps pair(s).

> Inputs order
> This port sets the inputs connections order between the time steps pair to process and the 2-inputs recipe:

> - Time step 't-1' is recipe input 1 and time step 't' is recipe input 2.
> - Time step 't' is recipe input 1 and time step 't-1' is recipe input 2.

> Time steps to process
> This port selects one of the two successive time steps of the pair to process.
> It is hidden when port Process whole sequence is checked.

> Output directory
> This port defines the path to the output directory where the results of the 2-inputs recipe execution will be saved.
> It is visible only when port Process whole sequence is checked.

> Process whole sequence
> If this port is checked the 2-inputs recipe is applied to the full sequence as pairs of two successive time steps.

> Export as 2D Tiff files
> If this port is checked the results of the 2-inputs recipe exceution are exported as TIFF images (results should be 8/16 bits unsigned int to avoid any undesired conversion).
> It is visible only when port Process whole sequence is checked.