12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- ---
- title: "Faster than thought: Detecting sub-second activation sequences with sequential fMRI pattern analysis"
- subtitle: "Short project title: highspeed"
- author:
- - Lennart Wittkuhn^[Max Planck Institute for Human Development, wittkuhn@mpib-berlin.mpg.de]
- - Nicolas W. Schuck^[Max Planck Institute for Human Development, schuck@mpib-berlin.mpg.de]
- date: "Last update: `r format(Sys.time(), '%d %B, %Y')`"
- output:
- html_document:
- toc: true
- self_contained: true
- toc_float: true
- toc_depth: 3
- number_sections: true
- highlight: pygments
- theme: cosmo
- df_print: paged
- fig_caption: true
- fig.align: "center"
- header-includes:
- - \usepackage{fontspec}
- - \setmainfont{AgfaRotisSansSerif}
- email: wittkuhn@mpib-berlin.mpg.de
- ---
- ```{r, echo=FALSE, message=FALSE, include=FALSE}
- if (!requireNamespace("pacman")) install.packages("pacman")
- packages_cran <- c("here")
- pacman::p_load(char = packages_cran)
- if (basename(here::here()) == "highspeed"){
- path_root = here::here("highspeed-masks")
- } else {
- path_root = here::here()
- }
- ```
- # Creating binary masks
- ### Code and software
- #### Creating binary masks using `highspeed-masks.py`
- ```{python, echo=TRUE, code=readLines(file.path(path_root, "code", "masks", "highspeed-masks.py")), eval=FALSE, python.reticulate=FALSE}
- ```
- #### Plotting masked data using `highspeed-masks-plot.py`
- ```{python, echo=TRUE, code=readLines(file.path(path_root, "code", "masks", "highspeed-masks-plot.py")), eval=FALSE, python.reticulate=FALSE}
- ```
|