- About XNAT
- News & Events
- XNAT Marketplace
- Contact Us
Most experiment data in XNAT is associated directly with a subject. In turn, a subject can have multiple experiments. Subject information can be as brief and simple as an identifier. Or, it can contain in-depth demographic information. Either way, creating a subject is required to add imaging data (as well as subject assessment data).
There are multiple ways to store subjects in XNAT:
Within the XNAT webapp there are several interfaces for creating subjects.
Creating Subjects using the Create Subject Form
Creating Subjects While Uploading Images
Users also have the option of creating an XML document for each subject in their project, and directly storing that document into the application. This can be done through the web interface (Upload XML) or through a command line tool (which uses web services to store the XML). This is especially helpful for users who are converting from another XML structure, or generating subjects in another programmatic way.
The most common way to upload large numbers of subjects is the Upload Spreadsheet feature. This feature allows users to create spreadsheets that contain information about each subject (based on a generated template). The subject can then upload that spreadsheet through the web interface. This process allows users to get large projects into XNAT quickly.
Advanced users may want to bypass the UI and use the XNAT REST API to create subjects: Create Subjects with XNAT REST API
Once subjects have been uploaded using one of the methods described above, the details about those subjects is easy to review. First, the user can quickly see a summary of information through the subject listing on the Project Report. Then, by clicking on individual subjects, users can review in-depth information about the subject on the subject report.