Skip to content
cccskills
FreePublished on GitHub

dipy

Use Dipy for diffusion MRI IO, preprocessing, reconstruction, tractography, registration, visualization-aware workflows, and command-line operations.

The English summary is being prepared. Showing the original description.

See how to install

Files included (37)

  • SKILL.md6.0 KB
  • references/repo-provenance.md2.5 KB
  • references/repo-routing-metadata.json475 B
  • references/troubleshooting.md4.3 KB
  • scripts/check_dipy_install.py3.7 KB
  • sub-skills/cli-workflows/references/cli-reference.md11.7 KB
  • sub-skills/cli-workflows/references/troubleshooting.md6.0 KB
  • sub-skills/cli-workflows/references/workflow-parser.md6.3 KB
  • sub-skills/cli-workflows/scripts/dipy_cli_probe.py6.6 KB
  • sub-skills/cli-workflows/SKILL.md3.7 KB
  • sub-skills/denoising-preprocessing/references/api-reference.md8.1 KB
  • sub-skills/denoising-preprocessing/references/troubleshooting.md8.5 KB
  • sub-skills/denoising-preprocessing/references/workflows.md9.4 KB
  • sub-skills/denoising-preprocessing/scripts/dipy_denoise_smoke.py10.0 KB
  • sub-skills/denoising-preprocessing/SKILL.md3.9 KB
  • sub-skills/io-data/references/api-reference.md8.4 KB
  • sub-skills/io-data/references/data-formats.md6.5 KB
  • sub-skills/io-data/references/troubleshooting.md6.2 KB
  • sub-skills/io-data/references/workflows.md5.4 KB
  • sub-skills/io-data/scripts/dipy_io_probe.py7.3 KB
  • sub-skills/io-data/SKILL.md3.8 KB
  • sub-skills/reconstruction-models/references/api-reference.md7.4 KB
  • sub-skills/reconstruction-models/references/model-selection.md7.4 KB
  • sub-skills/reconstruction-models/references/troubleshooting.md7.3 KB
  • sub-skills/reconstruction-models/references/workflows.md6.7 KB
  • sub-skills/reconstruction-models/scripts/dipy_tensor_smoke.py3.9 KB
  • sub-skills/reconstruction-models/SKILL.md3.3 KB
  • sub-skills/registration-alignment/references/api-reference.md9.5 KB
  • sub-skills/registration-alignment/references/troubleshooting.md8.7 KB
  • sub-skills/registration-alignment/references/workflows.md9.3 KB
  • sub-skills/registration-alignment/scripts/dipy_reslice_smoke.py3.5 KB
  • sub-skills/registration-alignment/SKILL.md3.3 KB
  • sub-skills/tracking-segmentation/references/api-reference.md10.9 KB
  • sub-skills/tracking-segmentation/references/troubleshooting.md7.9 KB
  • sub-skills/tracking-segmentation/references/workflows.md7.5 KB
  • sub-skills/tracking-segmentation/scripts/dipy_streamline_smoke.py4.6 KB
  • sub-skills/tracking-segmentation/SKILL.md2.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Dipy Repo Skill

Use this skill when a task involves Dipy, DIPY, diffusion MRI, diffusion-weighted imaging, tractography, reconstruction models, b-values/b-vectors, NIfTI DWI data, streamline tractograms, medical-image registration, Dipy dipy_* commands, or debugging Dipy installation/runtime behavior.

Dipy is a research-focused Python package for diffusion MRI imaging workflows. It is not a clinical-deployment guide; keep user guidance framed as research/analysis support.

Start Here

  1. Identify whether the task is about files, preprocessing, reconstruction, tractography/segmentation, registration/alignment, or command-line workflow mechanics.
  2. Read the matching sub-skill below before answering detailed API or CLI questions.
  3. Run python scripts/check_dipy_install.py when the environment is uncertain or the user reports missing commands/imports.
  4. Prefer the bundled smoke scripts for tiny deterministic validation before running user data or expensive workflows.
  5. Treat network fetches, GUI visualization, neural-network helpers, and whole-brain tracking/registration as optional or potentially expensive unless the user explicitly authorizes them.

Route By Task

  • sub-skills/io-data/: NIfTI image IO, bvals/bvecs, GradientTable, StatefulTractogram, tractogram/PAM formats, dataset listing/fetching, and IO conversion commands.
  • sub-skills/denoising-preprocessing/: NLMeans, local PCA, MPPCA, Patch2Self, Gibbs ringing removal, noise estimation, DWI bias correction, and pre-fit validation.
  • sub-skills/reconstruction-models/: DTI, DKI, CSD/MSMT-CSD, CSA/QBall/OPDT, DSI/DSID, GQI, MAPMRI, SFM, FORECAST, FWDTI, FORCE, RUMBA API surfaces, ODFs, scalar maps, peaks, and reconstruction CLIs.
  • sub-skills/tracking-segmentation/: tractography, seeds, direction getters, stopping criteria, streamline operations, QuickBundles, RecoBundles, LabelsBundles, brain masks, tissue classification, AFQ, BUAN, and tractometry handoffs.
  • sub-skills/registration-alignment/: reslicing, affine/SyN registration, transform application, motion correction, streamline linear registration, BundleWarp, and registration CLIs.
  • sub-skills/cli-workflows/: dipy_* entry-point discovery, parser behavior, --help probes, command families, output naming, and translation between APIs and CLI workflows.

Cross-Cutting References

  • references/troubleshooting.md: install/import, source-checkout shadowing, optional dependency, data validation, CLI, and workflow safety issues shared across sub-skills.
  • references/repo-provenance.md: generation baseline, source commit, package version, dirty-state summary, and relative evidence paths.
  • references/repo-routing-metadata.json: structured import metadata consumed by the managed repo-skills-router.
  • scripts/check_dipy_install.py: safe installed-package and CLI-flow probe with JSON/text output.

Safe Validation Commands

Run these from the root of this skill directory, or adapt paths to wherever the skill is installed:

python scripts/check_dipy_install.py --format text
python sub-skills/io-data/scripts/dipy_io_probe.py --check-imports --check-signatures --tiny-gradient
python sub-skills/reconstruction-models/scripts/dipy_tensor_smoke.py --json
python sub-skills/denoising-preprocessing/scripts/dipy_denoise_smoke.py --json
python sub-skills/registration-alignment/scripts/dipy_reslice_smoke.py
python sub-skills/tracking-segmentation/scripts/dipy_streamline_smoke.py
python sub-skills/cli-workflows/scripts/dipy_cli_probe.py --format text

These probes use synthetic or import-only checks. They do not fetch datasets, train models, open GUIs, or require the original source repository.

Environment Expectations

Install Dipy with a public package manager before using the runtime checks:

pip install dipy
# or
conda install -c conda-forge dipy
  • Base Dipy workflows require Python plus Dipy's core runtime dependencies such as NumPy, SciPy, nibabel, h5py, tqdm, packaging, and tractogram support dependencies.
  • Visualization workflows can require FURY, matplotlib, display/OpenGL support, or headless rendering setup.
  • Neural-network workflows such as EVAC+ or neural bias correction can require optional ML packages and model assets.
  • Patch2Self can require scikit-learn-compatible estimator support depending on the selected model.
  • CLI entry points must come from the same installed environment as the imported Dipy package; use sub-skills/cli-workflows/ when shell commands and Python imports disagree.

Common Routing Patterns

  • Data-to-FA map: io-data to load NIfTI and gradients, denoising-preprocessing if cleanup is needed, reconstruction-models for TensorModel, then io-data to save outputs.
  • Data-to-tractography: io-data for DWI/gradients, denoising-preprocessing as needed, reconstruction-models for peaks/PAM, tracking-segmentation for seeds/stopping/streamlines, then io-data for tractogram saving.
  • Registration before analysis: io-data for files/headers, registration-alignment for reslice/affine/SyN/motion correction, then return to the scientific owner.
  • Command-line request: cli-workflows for command discovery/parser/output mechanics, then the scientific sub-skill for parameter meaning and validation.

Safety And Scope

  • Do not run Dipy dataset fetchers, long registration, whole-brain tracking, large model fits, GUI visualization, or neural-network model downloads without user intent.
  • Use explicit output directories and avoid overwriting user data unless requested.
  • Validate DWI shape, bvals/bvecs length, masks, affine/reference metadata, and optional dependencies before expensive work.
  • If an import works only inside a source checkout or fails because generated version metadata is missing, prefer a normal installed package environment and use cli-workflows troubleshooting.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill