```{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() } ``` ## Feature selection: Anatomical masks #### 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} ```