Skip to content

Commit fe0c17e

Browse files
committed
Built site for ModelArray@0.1.5: 3c1a78d
1 parent 2d6c85b commit fe0c17e

4 files changed

Lines changed: 43 additions & 6 deletions

File tree

articles/modelling.html

Lines changed: 22 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/modelling.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,25 @@ scalars), use `write_results_name` and `write_results_file` in
362362
or
363363
[`ModelArray.wrap()`](https://pennlinc.github.io/ModelArray/reference/ModelArray.wrap.md).
364364

365+
#### Quick QA: export one harmonized image to inspect
366+
367+
After writing `thickness_covfam` into `/scalars`, you can export one row
368+
back to an image and open it in your usual viewer as a spot-check. Use
369+
`--column-index` to select which row from
370+
`scalars/thickness_covfam/values` to export.
371+
372+
``` bash
373+
modelarrayio h5-export-nifti-file \
374+
--input-hdf5 thickness_harmonized.h5 \
375+
--scalar-name thickness_covfam \
376+
--column-index 0 \
377+
--group-mask-file group_mask_thickness.nii.gz \
378+
--output-file qa_thickness_covfam_col000.nii.gz
379+
```
380+
381+
If your workflow uses CIFTI or MIF instead of NIfTI, use the matching
382+
export command: `h5-export-cifti-file` or `h5-export-mif-file`.
383+
365384
## Modelling across multiple h5 files with `mergeModelArrays()`
366385

367386
When scalars live in separate h5 files — for example, cortical thickness

pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ articles:
1212
installations: installations.html
1313
modelling: modelling.html
1414
walkthrough: walkthrough.html
15-
last_built: 2026-03-27T17:03Z
15+
last_built: 2026-03-27T18:53Z
1616
urls:
1717
reference: https://pennlinc.github.io/ModelArray/reference
1818
article: https://pennlinc.github.io/ModelArray/articles

search.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)