This is the multi-page printable view of this section. Click here to print.
Processing Data
Processing Data
1 - Command line tools
Command line tools
XnatUtils
https://github.com/Australian-Imaging-Service/xnatutils
Install xnatutils using
pip3 install xnatutils
Authenticating using .netrc
- Create an alias token. Or use an existing alias token
- Create a
.netrcfile in your home directory with the following details
machine https://xnat.rcc.uq.edu.au
user <your-alias-token>
password <your-alias-secret>
xnatpy
https://xnat.readthedocs.io/en/latest/
Pyxnat
2 - Interactive Analysis
Interactive Analysis
You can access a Jupyter environment directly from XNAT. This allows you to run analysis on your data using familiar tools like Jupyter notebooks.
Start an interactive session
Select a project

Start Jupyter

Select settings

Open jupyter window

Using interactive session
The project data will be accessible as read-only at:
/data/projects