NIPY_DIAGNOSE(1)
π NIPY_DIAGNOSE(1) π
okay bestie, welcome to the User Commands section of the manual, and lemme tell you, this one is a whole vibe. it's called nipy_diagnose, and it's here to do one thing and do it gorgeously. β¨
πΈ NAME πΈ
nipy_diagnose β Calculate and write results for diagnostic screen
like. that's the whole job. calculate stuff, write stuff, look cute doing it. periodt. π
π SYNOPSIS π
nipy_diagnose [-h] [--out-path OUT_PATH]
[--out-fname-label OUT_FNAME_LABEL] [--ncomponents NCOMPONENTS]
[--time-axis TIME_AXIS] [--slice-axis SLICE_AXIS] filename
π¦ DESCRIPTION π¦
so nipy_diagnose(1) will generate a series of diagnostic images for a 4D fMRI image volume. no cap, it just cranks out a whole little photoshoot for your data. π
the following images will be generated, and <ext> is the input filename extension (e.g. '.nii'):
components_<label>.png: plots of PCA basis vectorsmax_<label><ext>: max imagemean_<label><ext>: mean imagemin_<label><ext>: min imagepca_<label><ext>: 4D image of PCA component imagespcnt_var_<label>.png: percent variance scree plot for PCA componentsstd_<label><ext>: standard deviation imagetsdiff_<label>.png: time series diagnostic plot
iconic lineup honestly. π«Ά
the filenames for the outputs are of the form <out-path>/<some_prefix><label><file-ext> where:
<out-path>is the path specified by the--out-pathoption, or the path of the input filename<some_prefix>are the standard prefixes above<label>is given by--out-label, or by the filename of the input image (with path and extension removed)<file-ext>is'.png'for graphics, or the extension of the input filename for volume images
for example, specifying only the input filename /some/path/fname.img will generate filenames of the form /some/path/components_fname.png, /some/path/max_fname.img etc.
see how it just knows?? main character energy fr fr. π
β¨ OPTIONS β¨
π POSITIONAL ARGUMENTS
filenameβ 4D image filename
π OPTIONAL ARGUMENTS
-h,--helpβ Show a help message and exit--out-path OUT_PATHβ Path for output image files--out-fname-label OUT_FNAME_LABELβ Mid part of output image filenames--ncomponents NCOMPONENTSβ Number of PCA components to write--time-axis TIME_AXISβ Image axis for time--slice-axis TSLICE_AXISβ Image axis for slice
ngl bestie, peep that last one: the option is--slice-axisbut the value it takes is written asTSLICE_AXISin the original. that's not a typo on my end, that's literally what it says, so I'm leaving it exactly as-is. π keep it in mind if you're scripting this.
π SEE ALSO π
nipy_3dto4d(1), nipy_4d_realign(1), nipy_4dto3d(1), nipy_tsdiffana(1)
go read those too, they're the rest of the friend group. π
and that's the whole page, bestie!! this one's from February 2023, page NIPY_DIAGNOSE(1) β tysm for reading, go diagnose something gorgeous, mwah πβ¨π¦
π¦ where this page comes from
- fedora 43: python3-nipy 1:0.6.1-5.fc43 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms