Enable notifications to get the latest movie updates, release dates and reviews.
Notifications are blocked for this site. To enable them, open site settings (lock icon near the address bar) → Site settings → Notifications → Allow.
The name Lausanne reflects both the geographic origin and the project’s commitment to the . 3. Core Architecture 3.1. Modules | Module | Description | Key Dependencies | |--------|-------------|-------------------| | twk.io | Unified I/O handling (BIDS, NIfTI, DICOM, HDF5). | nibabel, pydicom | | twk.preproc | Pre‑processing pipelines (realignment, slice‑timing, denoising). | Nilearn, scikit‑image | | twk.stats | Classical (GLM) and Bayesian statistical tools. | statsmodels, pymc3 | | twk.ml | Machine‑learning wrappers (feature selection, model evaluation). | scikit‑learn, torch, tensorflow | | twk.vis | Interactive visualisation (3‑D brain surfaces, connectomes). | plotly, pyvista | | twk.sim | Neural‑network simulation (spiking, rate‑based). | Brian2, NEST | | twk.dashboard | Web‑based GUI built on Dash for workflow orchestration. | dash, flask |
from twk.distributed import RayExecutor
| 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. | twk lausanne download
The suite is built around a , with optional C/C++ extensions for performance‑critical kernels. It follows the FAIR (Findable, Accessible, Interoperable, Re‑usable) principles and integrates seamlessly with other community tools such as Nilearn , MNE‑Python , FSL , SPM , and AFNI . 2. Historical Context | Year | Milestone | |------|-----------| | 2015 | Project conception at EPFL’s Laboratory for Cognitive Neuroimaging (LCN). | | 2016 | First public release (v0.1) on GitHub under the permissive BSD‑3‑Clause license. | | 2018 | Integration of a GPU‑accelerated diffusion‑tensor toolbox (via CUDA). | | 2020 | Introduction of the “Lausanne 2020 ” data‑standardisation layer, aligning with BIDS (Brain Imaging Data Structure). | | 2022 | Full support for containerised deployment (Docker, Singularity) and a cloud‑ready version for AWS/GCP. | | 2024 | Release of TWK Lausanne 2.0 , featuring a modular plugin architecture, a web‑based dashboard, and an extensive Python API. | The name Lausanne reflects both the geographic origin
pipeline_json = preproc.to_json() tvis.save_dashboard(pipeline_json, out="my_analysis.json") 6.1. GPU‑Accelerated Diffusion Tensor Imaging from twk.diffusion import DTI, cuda_enabled Modules | Module | Description | Key Dependencies
# ------------------------------------------------- # 1. Load a BIDS‑compliant dataset # ------------------------------------------------- bids_root = "/data/subject01" dataset = tio.load_bids(bids_root)
# Verify CUDA availability assert cuda_enabled(), "CUDA not found – install the twk-lausanne[cuda] extra."
© 2026 — Nova Lighthouse