io-data
БесплатноБез исполняемых скриптовНе проверенLoad, validate, convert, and save Dipy diffusion images, gradients, tractograms, PAM files, and dataset inputs.
от lza6★ 19 звёзд на GitHubОб этом скилле
Dipy IO And Data
Use this sub-skill when a task starts from files or must preserve Dipy data metadata: NIfTI diffusion images, b-values/b-vectors, GradientTable objects, tractograms, StatefulTractogram objects, PAM5 peak files, fetched datasets, or IO conversion commands.
Route Here For
- Loading/saving NIfTI arrays with affine, header, voxel-size, axis-code, and dtype decisions through
dipy.io.image. - Reading bvals/bvecs, constructing
dipy.core.gradients.gradient_table, and validating DWI shape versus gradient count before fitting. - Loading, constructing, converting, concatenating, and saving streamlines through
StatefulTractogram,load_tractogram, andsave_tractogram. - Persisting and converting PAM5 peak files with
dipy.io.peaksafter reconstruction has produced peak arrays orPeaksAndMetrics. - Listing or intentionally fetching bundled datasets through
dipy.dataordipy_fetch. - Using IO-oriented commands such as
dipy_info,dipy_fetch,dipy_split,dipy_extract_b0,dipy_extract_shell,dipy_extract_volume,dipy_math, and conversion commands.
Route Elsewhere
- Model fitting, ODF/SH/tensor computations, and creating peaks from a model:
../reconstruction-models/. - Tractography algorithms, stopping criteria, streamline clustering, segmentation, masks, and bundle analysis:
../tracking-segmentation/. - Global CLI parser mechanics, command inventory, and entry-point dispatch behavior:
../cli-workflows/. - Reslicing, registration transforms, motion correction, and spatial alignment workflows:
../registration-alignment/.
Use The Bundled Material
references/api-reference.md: signatures, return values, and API-specific gotchas.references/data-formats.md: format, shape, affine/header, gradient, tractogram, and PAM5 invariants.references/workflows.md: practical IO recipes, validation order, dataset decisions, and command routing.references/troubleshooting.md: symptom-driven diagnostics for mismatches, references, bbox checks, PAM fields, and fetch failures.scripts/dipy_io_probe.py: safe no-network import/signature/gradient/tractogram probe with temporary writes only.
Default Operating Pattern
- Classify the input family: NIfTI image, bvals/bvecs,
GradientTable, tractogram/SFT, PAM5, dataset fetcher, or IO CLI command. - Validate scientific consistency before handing off: DWI data should be 4D and
data.shape[-1]must matchlen(bvals)andbvecs.shape[0]. - Preserve spatial metadata: keep the source affine, pass the source header when saving direct derivatives, and inspect voxel sizes/axis codes when orientation is uncertain.
- For tractograms, choose a valid reference image/header, make
SpaceandOriginexplicit, and keep bbox validation enabled unless deliberately repairing invalid streamlines. - Use fresh output names or a temporary directory for conversions; avoid overwriting user inputs unless explicitly requested.
- Treat
dipy_fetch listandFetchFlow.get_fetcher_datanames()as safe discovery, but treat actual fetches as networked/cache-mutating operations requiring user intent.
Safe Probe
Run the bundled helper from any project or temporary directory:
python scripts/dipy_io_probe.py --check-imports --check-signatures --tiny-gradient
python scripts/dipy_io_probe.py --tiny-tractogram --work-dir dipy-io-probe-output
The probe imports Dipy IO APIs, reports signatures, validates a tiny seven-volume gradient table, and can round-trip a one-streamline TRK file. It does not download datasets, run model fitting, or write outside its temporary directory unless --work-dir is provided.
Установить io-data в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл io-data?
Load, validate, convert, and save Dipy diffusion images, gradients, tractograms, PAM files, and dataset inputs.
Как установить скилл io-data?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл io-data запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic