Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Rubick65/dcemapper/llms.txt

Use this file to discover all available pages before exploring further.

DCEMapper supports four distinct ways to open data, all accessible through File → Open in the top menu bar. Whether you are starting from a raw Bruker scanner export, a BIDS-organized study, a single NIfTI scan, or a previously generated parametric map, there is a loading mode designed for your workflow.

Open a BIDS Dataset

File → Open → Open BIDSUse this mode when your data is organized according to the Brain Imaging Data Structure (BIDS) standard. DCEMapper will recursively scan the selected folder for all NIfTI files and queue them for batch analysis.Steps:
  1. Click File → Open → Open BIDS.
  2. In the directory picker, select the root folder of your BIDS dataset (e.g., my_study/).
  3. DCEMapper calls get_files_to_process() internally to discover all .nii.gz and .nii files across subjects and sessions.
  4. The first subject is loaded immediately. Use File → Next and File → Previous to navigate between subjects.
Expected BIDS structure:
my_study/
├── sub-001/
│   └── ses-01/
│       └── func/
│           └── sub-001_ses-01_acq-01_run-1_dce.nii.gz
├── sub-002/
│   └── ...
└── derivatives/
DCEMapper writes preprocessed and processed outputs into a derivatives/ subfolder alongside the source data.
The Next and Previous menu actions are only enabled when more than one subject file was found by get_files_to_process(). For a single-file BIDS folder they remain disabled.

Three-Panel Layout After Loading

Once a file is loaded, DCEMapper displays a resizable three-panel workspace:

Left Panel — Slice Selector

A scrollable thumbnail grid showing all axial slices of the volume at time-point 0. Click any thumbnail to jump directly to that Z-slice in the main canvas. The column count adjusts automatically as you resize the panel.

Center Panel — Main Canvas

The primary matplotlib figure displaying the currently selected slice at the current time point. The matplotlib navigation toolbar (pan, zoom, home, zoom history) is docked above the canvas.

Right Panel — Intensity Graph

An IntensityGraph widget plotting the time-series signal for the last voxel clicked, alongside a scrollable Clicks record log showing X, Y, Z coordinates and percentage intensity increase for every click.
Drag the dividers between panels to redistribute horizontal space. Press R to restore the default panel proportions at any time.
The Mask submenu is found at File → Mask and contains two actions:
  • Save current Mask — saves the current 3-D ROI mask as a NIfTI file to a directory you choose.
  • Open mask — loads a previously saved mask NIfTI and applies it to the currently loaded volume.
These actions are available immediately after a file is loaded. See ROI Tools for details on drawing and managing masks.

Build docs developers (and LLMs) love