NXSUMMARY(1)
πΈ NXSUMMARY πΈ
okay bestie, sit down, hydrate, because we're reading a whole manual page together and it's gonna be adorable. this is NXSUMMARY(1), living in section 1 of the General Commands Manual, and it's giving "tiny utility, big personality." π
β¨ NAME β¨
nxdiff β Generate summary of a NeXus file
and yes, my love, the NAME line literally says nxdiff. we are not editing it. we report, we do not touch. π«Ά
π¦ SYNOPSIS π¦
nxsummary [--xml] [--value label] [--writeconfig config]
[--config config] [--verbose] [--] [--version] [-h]
[filename]
π DESCRIPTION π
so the nxsummary utility prints summary information about NeXus files. iconic behaviour, honestly. π
and the way it works is that it relies heavily on a configuration file, which lives in "${HOME}/.nxsummary.conf" or /etc/nxsummary.conf. you want a sample one? you can get it with the --writeconfig flag. free config, no cap.
every item tag in that file describes a node to print from the NeXus file, okay? let's break it down:
- the
pathattribute β this describes where in the NeXus file to get information from. like, the address of the vibe. - the
labelattribute β this is what will be printed when showing the value of the specified field. it's the name tag. the little nameplate. π·οΈ - the optional
operationattribute β this lets certain operations happen on the data before printing out the result. optional, but so fun.
and the valid operations are, in order, no skipping:
COUNTβ The number of elements in the requested field.DIMSβ The dimensions of the requested field.SUMβ Add together all of the array elements and print the result.UNITS:newunitsβ Specify the units to print the result in.
periodt. that's the whole operation menu. π
π OPTIONS π
The following options are supported
--versionβ Displays version information and exits. bye bestie, we love a clean exit. πͺβ¨-h|--helpβ Displays usage information and exits.--xmlβ Print results as xml--value labelβ Get value of the item pointed to by the label--writeconfig configβ Write the default configuration out to a file--config configβ Specify configuration file--verboseβ Turn on verbose printing--|--ignore_restβ Ignores the rest of the labeled arguments following this flag.
π SEE ALSO π
nxconvert(1), nxdir(1), nxtranslate(1), http://www.nexusformat.org
go read the friends too, they're all part of the same little universe. π§
πΈ AUTHOR πΈ
nxsummary was originally written by Peter Peterson <petersonpf@ornl.gov> and may be used by others.
okay and for the cute sign-off: this whole page is dated October 2011 and it's filed under NXSUMMARY(1) in the General Commands Manual. thank you for coming to my ted talk, you understood the assignment, go summarize a NeXus file. πβ¨π¦
π¦ where this page comes from
- debian bookworm: nexus-tools 4.4.3-5
- debian trixie: nexus-tools 4.4.3-7
- epel 10: nexus-tools 4.4.3-11.el10_0 Β· LGPLv2+ and MIT
- epel 9: nexus-tools 4.4.3-10.el9 Β· LGPLv2+ and MIT
- fedora 43: nexus-tools 4.4.3-21.fc43 Β· LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT
- fedora 44: nexus-tools 4.4.3-21.fc43 Β· LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT
- fedora 44: nexus-tools 4.4.3-25.fc44 Β· LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT
- ubuntu jammy: nexus-tools 4.4.3-5
- ubuntu noble: nexus-tools 4.4.3-6build3
- ubuntu questing: nexus-tools 4.4.3-7build1
- ubuntu resolute: nexus-tools 4.4.3-10
- ubuntu stonking: nexus-tools 4.4.3-11build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms