计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
maskers-regions【效率与协作】Choose and use Nilearn maskers, atlas region extraction, inverse transforms, and masker reports for samples-by-features neuroimaging workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a Nilearn task needs a scikit-learn-style masker or region API to turn 3D/4D images into arrays shaped as samples by features, region time series, or reconstructed images from extracted signals.
python scripts/smoke_maskers_regions.py --help for the bundled
no-network synthetic smoke check.NiftiMasker or MultiNiftiMasker for voxelwise whole-brain or
mask-restricted matrices.NiftiLabelsMasker, NiftiMapsMasker, or NiftiSpheresMasker for
atlas labels, probabilistic maps, or coordinate seeds.confounds/sample_mask are per-image lists.RegionExtractor, connected_regions, connected_label_regions,
Parcellations, and ReNA for deriving or splitting regions before signal
extraction.generate_report() after fitting or
transforming, while keeping plotting optional dependency issues separate.apply_mask,
unmask, image resampling, mask computation internals, and signal.clean
details outside masker estimators.SurfaceImage, mesh, hemisphere, and volume-to-surface concerns; this
sub-skill only summarizes surface masker families.../ml-decoding-connectivity/SKILL.md after extraction when the next
task is connectivity matrices, decoding, searchlight, decomposition, or
downstream scikit-learn modeling.../plotting-reporting/SKILL.md for figure styling, interactive views,
GLM reports, browser export, or optional plotting backend setup.(n_scans, n_features) and a 3D input
transform as (n_features,) unless scikit-learn output configuration wraps
it.fit_transform() is fine for one-shot extraction.confounds and sample_mask with the original scan count; for multi
maskers pass one item per image.inverse_transform() only with arrays whose columns match the fitted
voxel/region/seed count, and provide mask_img for sphere inversions.reports=False in automated smoke tests and enable reports only
when the user wants HTML diagnostics.