123456789101112131415161718192021222324252627 |
- ```{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-decoding")
- } else {
- path_root = here::here()
- }
- ```
- ## Decoding
- ### Main decoding pipeline
- Here, we show the Python code used to run the decoding pipeline:
- ```{python, echo=TRUE, code=readLines(file.path(path_root, "code", "decoding", "highspeed_decoding.py")), eval=FALSE, python.reticulate=FALSE}
- ```
- ### Parallelization on HPC
- The decoding pipeline was parallelized on the local high performance cluster of the Max Planck Institute for Human Development, Berlin, Germany, using the following code:
- ```{bash, echo=TRUE, code=readLines(file.path(path_root, "code", "decoding", "highspeed-decoding-cluster.sh")), eval=FALSE}
- ```
|