# Simulate fMRI resting state time series

### Description

Synthesizes a single time series x representing resting state activity. The fluctuation frequencies f are limited to a square passband 0.01 Hz <= f <= 0.1 Hz. TR is the repetition time (needed to compute the passband limits), expressed in seconds. N is the required number of samples (needs not be a power of 2).

### Usage

1 2 3 4 |

### Arguments

`nscan` |
Number of scans. |

`base` |
Baseline value of the time series. |

`TR` |
Repetition time in seconds. |

`SNR` |
Signal-to-noise ratio of the time series. |

`noise` |
Type of noise (white is default). |

`type` |
If |

`weights` |
If |

`verbose` |
Logical indicating if warnings should be returned. |

`rho` |
If |

`freq.low` |
If |

`freq.heart` |
If |

`freq.resp` |
If |

`vee` |
If |

### Value

A vector representing the resting state time series

### Author(s)

J. Durnez, G. Verdoolaege, M. Welvaert

### References

[1] C.G. Fox, Computers & Geoscience, Vol. 13, pp. 369-374, 1987.

[2] M. Fukunaga, Magnetic Resonance Imaging, Vol. 24, pp. 979-992, 2006.

### See Also

`simTSfmri`

### Examples

1 2 | ```
out <- simTSrestingstate(nscan=50, TR=2, SNR=1, noise="none")
## Not run: plot(out, type="l")
``` |