1. What Is TWK Lausanne? TWK Lausanne (short for “Toolkit for Working Knowledge – Lausanne edition” ) is an open‑source, research‑oriented software suite that originated at the École Polytechnique Fédérale de Lausanne (EPFL) in Switzerland. Its primary purpose is to provide a flexible, modular environment for:
singularity pull docker://epfl/twk-lausanne:2.0 singularity exec twk-lausanne_2.0.sif twk-dashboard These containers embed all optional dependencies (CUDA, neuroimaging libraries, JupyterLab) and are . 4.4. Source Code (Git) If you prefer to develop on the bleeding edge: twk lausanne download
import twk.io as tio import twk.preproc as tpre import twk.stats as tstat import twk.vis as tvis Its primary purpose is to provide a flexible,
| Domain | Typical Use‑Cases | |--------|-------------------| | | Pre‑processing, statistical modelling, and visualisation of MRI, fMRI, and diffusion data. | | Computational Neuroscience | Large‑scale network simulations, dynamic causal modelling, and brain‑computer‑interface prototyping. | | Data‑Science & Machine Learning | Pipelines for feature extraction, classification, and clustering of high‑dimensional neuro‑datasets. | | Education & Training | Interactive notebooks, tutorials, and teaching modules for graduate‑level courses in brain science. | dynamic causal modelling
# ------------------------------------------------- # 1. Load a BIDS‑compliant dataset # ------------------------------------------------- bids_root = "/data/subject01" dataset = tio.load_bids(bids_root)
docker pull epfl/twk-lausanne:2.0 docker run -it --rm -v $PWD:/data epfl/twk-lausanne:2.0 bash For HPC clusters that rely on Singularity: