tag: python

When XNAT and the HPC cannot see each other...

2019-06-20

This was written before XNAT releases its container service. XNAT can be configured so that processing jobs may be sent over a high performance computing system. Recent versions now also supports the use of containerization. We put up a "manual" to allow exporting jobs from XNAT in contexts where its …


Importing external resources to XNAT

2019-05-28

We tend to give general preference to data coming from local "XNAT-native" workflows. Yet sometimes some factors (e.g. related to computational power, software availability) may require us to import resources from external, less controlled, data sources.

This example shows how to get external archives imported to an XNAT instance …


Downloading NIfTI resources from XNAT

2018-11-02

It is quite common that we use XNAT to download a bunch of NIfTIs to run some external analysis.

This generic example shows how to download NIfTI resources from an XNAT instance. In this context, NIFTI resources are stored at the scan level (subject/experiment/scan).

In this example, for …


Pushing NIfTIs to XNAT

2018-10-22

The primary data format with which XNAT works has been and is still DICOM. XNAT can work with NIfTI but it generally has to be using secondary resources attached to subjects, experiments or scans.

This example shows how to get a dataset made of NIfTIs uploaded to XNAT without their …


Building design matrices for TBSS Randomise

2018-02-14

Creating design matrices by hand for TBSS can be done in different ways (explained here), either using the FSL Wizard Gui or exporting it from a text file or an Excel table.

A design matrix in TBSS is nothing but another text file using its own (Vest) format. This shows …