NXBROWSE(1)

πŸ’– NXBROWSE(1) πŸ’–

okay bestie, gather round β€” this is the manual page for nxbrowse, a lil interactive browser for NeXus files. It lives in the General Commands Manual section of your system, and it is genuinely so much fun to poke around in. Let's get into it. πŸ¦‹


✨ NAME ✨

nxbrowse β€” browse a NeXus file 🌸


πŸŽ€ SYNOPSIS πŸŽ€

nxbrowse [filename]

πŸ’… DESCRIPTION πŸ’…

So like, if you don't hand nxbrowse a filename right there on the command line, it's gonna ask you for one. Rude? No, it's just polite. 🫢

Once the file is opened, you can explore it interactively using all the commands listed down below. It's giving "choose your own adventure" but for data. πŸ‘‘


⭐ OPTIONS ⭐

No command line options are supported. That's it. That's the section. nxbrowse said "I'm low maintenance." πŸ’€


🌈 COMMANDS 🌈

When the file gets opened, nxbrowse will print out its version number and then the contents of the NXroot node of the NeXus file. Then it hits you with its prompt:

NX>

And from there, these commands are recognised β€” and yes, they are case insensitive, so type however your heart desires. πŸ’–

  • help β€” gives you a list of all the available commands. Synonym: info
  • exit β€” dips out of the program. Synonym: quit
  • dir β€” lists everything inside the current group. Synonym: ls
  • open groupName β€” opens the NeXus group groupName. Same as: cd groupName
  • close β€” closes the NeXus group groupName, aka it moves you up one level in the hierarchy. Same as: cd ..
  • read dataItem [dimension indicies ...] β€” prints the contents of the NeXus data item labelled dataItem. The dimension indicies bit is an optional comma separated list of dimensions of the correct rank, and you use it to specify one value. πŸ”₯
  • dump dataItem fileName β€” writes the contents of the NeXus data item labelled dataItem out to a new file named fileName. Slay. πŸ’Ύ
  • byteaschar β€” toggles treating (signed and unsigned) byte data as characters. Cute lil switch. 🎚️
bonus round: if your version of nxbrowse was compiled with readline support, you get tab completion for commands, groups and data. Absolutely iconic. ✨

πŸ‘€ SEE ALSO πŸ‘€


πŸ’œ AUTHOR πŸ’œ

nxbrowse was originally written by Ray Osborn <ROsborn@anl.gov> 🧚

This manual page was written by Tobias Richter <Tobias.Richter@diamond.ac.uk> and may be used by others.


and that's the whole vibe check, bestie πŸ’– this page is dated June 2010, and it came to you from the NXBROWSE(1) corner of the General Commands Manual. go forth and browse those NeXus files, main character. πŸ‘‘πŸŒˆπŸ¦‹

πŸ“¦ where this page comes from