tag: python

Bulk downloading resources from XNAT

2019-11-03

Interacting with the data on XNAT can be done mainly two ways: either graphically using the web application, or through a REST API. While the former is suited for all profiles, the latter is intended for a more technical category of users.

The pyxnat library adds an extra layer over …


Pipeline outputs and pyxnat

2019-11-01

XNAT stands for eXtensible Neuroimaging Archive Toolkit and as such, it may be extended to meet some specific needs and host data of heterogeneous types.

Among existing features XNAT is designed to host any generic collection of DICOM/NIfTI files and their associated derived resources. Interacting with the data can …


How to select longitudinal data from XNAT

2019-08-20

This is a short example showing how to identify subjects with multiple MR experiments on XNAT, for potential use in the context of a longitudinal analysis. Consider it as an extra tutorial for pyxnat.

As almost always, everything starts with creating an Interface.

import pyxnat
x = pyxnat.Interface(config='/home …


First steps with pyxnat

2019-08-19

A couple of basic commands to get started with pyxnat. This post quickly overviews the XNAT data model by the means of short examples, starting by creating a connection to a running instance. Documentation can be found there.

EDIT: pyxnat v1.4 was just released on 30/10/2020.

pyxnat

There …


Caching FreeSurfer measurements for faster access

2019-06-20

We love being able to access the freshest data directly from our XNAT platform. By querying it from Jupyter notebooks, we make sure to have full control on the resource provenance. But let's admit it, beyond a couple of thousands of participants, collecting - and re-collecting - the data every time can …