# Theiler window

### Description

Remove recurrent points on the main diagonal, and parallel diagonals, as specified by the window parameter.

### Usage

1 | ```
theiler(S, tw)
``` |

### Arguments

`S` |
A binary matrix representing a recurrent plot |

`tw` |
The size of the theiler window. |

### Details

The default value of the window parameter is 0. A value of 1 would remove the points along the main diagonal. A value of 2 would remove the points along the main diagonal, as well as the point of the bands +|- 1 around it.

### Value

A sparse matrix with recurrent points removed as specified by the window parameter.

### Author(s)

Moreno I. Coco (moreno.cocoi@gmail.com)

### Examples

1 2 3 4 5 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.