Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

reconstruction-models

БесплатноБез исполняемых скриптовНе проверен

Choose and fit Dipy diffusion reconstruction models, compute scalar maps, ODFs, peaks, tiny simulations, and reconstruction CLI workflows.

lza6от lza6★ 19 звёзд на GitHub

Об этом скилле

Reconstruction Models

Use this sub-skill when a task involves Dipy diffusion reconstruction: TensorModel, DKI, CSD/MSMT-CSD, CSA/QBall/OPDT, DSI/DSID, GQI, MAPMRI, SFM, FORECAST, FWDTI, FORCE, RUMBA, SH models, peaks_from_model, scalar maps, ODFs, simulated signals, or dipy_fit_* reconstruction commands.

Route First

  • Use ../io-data/ for loading/saving NIfTI images, b-values/b-vectors, GradientTable file ingestion, PAM files, tractograms, and image/gradient shape validation.
  • Use ../denoising-preprocessing/ before fitting when the signal needs denoising, Gibbs removal, masking, noise estimation, bias correction, or invalid-signal repair.
  • Use ../tracking-segmentation/ when reconstruction outputs become tracking inputs: peaks, PAM files, tensor directions, stopping criteria, tissue masks, segmentation, or tractometry.
  • Use ../cli-workflows/ for console-entry discovery, parser behavior, help probing, batch globbing semantics, and translating API recipes into installed dipy_* commands.

Core References

  • references/model-selection.md explains how to choose DTI, DKI, CSD, CSA/QBall, DSI, GQI, MAPMRI, SFM, FWDTI, FORECAST, FORCE, RUMBA, IVIM, SDT, and power-map workflows.
  • references/api-reference.md lists high-value Python APIs, signatures, shapes, outputs, and validation checks.
  • references/workflows.md gives safe API and CLI recipes, output naming, handoff notes, and skip markers.
  • references/troubleshooting.md maps reconstruction symptoms to causes, fixes, and validation checks.
  • scripts/dipy_tensor_smoke.py runs a deterministic tiny synthetic TensorModel fit and emits JSON with finite FA/eigenvalue validation.

Fast Operating Pattern

  1. Confirm the reconstruction question and acquisition class before choosing a model; prefer the simplest scientifically adequate model.
  2. Ensure diffusion volumes are on the last axis and len(gtab.bvals) == data.shape[-1]; masks must be exactly data.shape[:-1].
  3. Guard signals before fitting: finite numeric data, positive values for log-sensitive models, appropriate b0_threshold, and a mask that excludes background.
  4. Fit with a mask when possible, compute model-specific maps or peaks, then validate finite values, expected shapes, and nonzero in-mask coverage.
  5. For ODF/peak workflows, record sphere, sh_order_max, response function, thresholds, SH basis settings, and whether parallel was used.
  6. For CLI workflows, run help first, set an explicit output directory, and treat full-image CSD/MSMT-CSD/MAPMRI/DSI/FORCE/RUMBA runs as skip-expensive unless authorized.

Safety Defaults

  • Prefer tiny synthetic arrays and snr=None simulations for smoke checks; avoid downloads, GUI rendering, neural-network surfaces, and benchmark-scale data by default.
  • Do not claim dipy_fit_rumba is installed; use RUMBA as a Python API/specialized workflow surface unless an installed command is verified in the active environment.
  • Use dipy.direction.peaks.peaks_from_model; do not import peaks from dipy.reconst.peaks for this Dipy version.
Полный SKILL.md на GitHub

Установить reconstruction-models в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/api-reference.mdreferences/model-selection.mdreferences/troubleshooting.mdreferences/workflows.md

FAQ

Что делает скилл reconstruction-models?

Choose and fit Dipy diffusion reconstruction models, compute scalar maps, ODFs, peaks, tiny simulations, and reconstruction CLI workflows.

Как установить скилл reconstruction-models?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл reconstruction-models запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить reconstruction-models с