highspeed-decoding-docs.Rmd 891 B

123456789101112131415161718192021222324252627
  1. ```{r, echo=FALSE, message=FALSE, include=FALSE}
  2. if (!requireNamespace("pacman")) install.packages("pacman")
  3. packages_cran <- c("here")
  4. pacman::p_load(char = packages_cran)
  5. if (basename(here::here()) == "highspeed"){
  6. path_root = here::here("highspeed-decoding")
  7. } else {
  8. path_root = here::here()
  9. }
  10. ```
  11. ## Decoding
  12. ### Main decoding pipeline
  13. Here, we show the Python code used to run the decoding pipeline:
  14. ```{python, echo=TRUE, code=readLines(file.path(path_root, "code", "decoding", "highspeed_decoding.py")), eval=FALSE, python.reticulate=FALSE}
  15. ```
  16. ### Parallelization on HPC
  17. 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:
  18. ```{bash, echo=TRUE, code=readLines(file.path(path_root, "code", "decoding", "highspeed-decoding-cluster.sh")), eval=FALSE}
  19. ```