From 5c73f26d3b60522863cd2cfecfbea6030f1dc3de Mon Sep 17 00:00:00 2001 From: Sebastien Tourbier Date: Thu, 5 Nov 2020 09:48:08 +0100 Subject: [PATCH] DOC: update outputs.rst [skip ci] --- documentation/outputs.rst | 64 +++++++++++++++++++++++++++------------ 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/documentation/outputs.rst b/documentation/outputs.rst index 3b504f31f..040dacef3 100644 --- a/documentation/outputs.rst +++ b/documentation/outputs.rst @@ -7,44 +7,70 @@ Processed, or derivative, data are outputed to ``/``. Main MIALSRTK BIDS App Derivatives ========================================== -Main outputs produced by MIALSRTK BIDS App are written to ``/pymialsrtk-/sub-/``. An execution log of the full workflow is saved as `sub-_log.txt`` +Main outputs produced by MIALSRTK BIDS App are written to ``/pymialsrtk-/sub-/(_ses-/)``. An execution log of the full workflow is saved as `sub-(_ses-)_id-_log.txt``. + +.. note:: MIALSRTK BIDS App outputs follows the :abbr:`BIDS (brain imaging data structure)` Derivatives specification (see `BIDS Derivatives Extension `_) whenever possible. However a new entity ``id-`` has been introduced to distinguish between outputs when the pipeline is run with multiple configurations (such a new order of scans) on the same subject. + +BIDS derivatives entities +-------------------------- + +.. tabularcolumns:: |l|c|p{5cm}| + ++--------------+------------------+-------------------------------------------------------+ +| **Entity** | **Label** | **Description** | ++--------------+------------------+-------------------------------------------------------+ +| ``sub`` | | Label of the subject | ++--------------+------------------+-------------------------------------------------------+ +| ``ses`` | | Label of the session | ++--------------+------------------+-------------------------------------------------------+ +| ``run`` | | Label of the T2w scan | ++--------------+------------------+-------------------------------------------------------+ +| ``rec`` | | Label of the reconstruction type | ++--------------+------------------+-------------------------------------------------------+ +| ``id`` | | Label of the reconstruction for a given configuration | ++--------------+------------------+-------------------------------------------------------+ Anatomical derivatives ------------------------ * Anatomical derivatives are placed in each subject's ``anat/`` subfolder, including: - * The brain masks of the T2w scans: + * The brain masks of the T2w scans: - - ``anat/sub-_run-01_desc-brain_mask.nii.gz`` - - ``anat/sub-_run-02_desc-brain_mask.nii.gz`` - - ``anat/sub-_run-03_desc-brain_mask.nii.gz`` + - ``anat/sub-(_ses-)_run-01_id-_desc-brain_mask.nii.gz`` + - ``anat/sub-(_ses-)_run-02_id-_desc-brain_mask.nii.gz`` + - ``anat/sub-(_ses-)_run-03_id-_desc-brain_mask.nii.gz`` - ... * The preprocessed T2w scans used for slice motion estimation and scattered data interpolation (SDI) reconstruction: - - ``anat/sub-_run-01_desc-SDIprep_T2w.nii.gz`` - - ``anat/sub-_run-02_desc-SDIprep_T2w.nii.gz`` - - ``anat/sub-_run-03_desc-SDIprep_T2w.nii.gz`` + - ``anat/sub-(_ses-)_run-01_id-_desc-preprocSDI_T2w.nii.gz`` + - ``anat/sub-(_ses-)_run-02_id-_desc-preprocSDI_T2w.nii.gz`` + - ``anat/sub-(_ses-)_run-03_id-_desc-preprocSDI_T2w.nii.gz`` - ... * The preprocessed T2w scans used for super-resolution reconstruction: - - ``anat/sub-_run-01_desc-SRprep_T2w.nii.gz`` - - ``anat/sub-_run-02_desc-SRprep_T2w.nii.gz`` - - ``anat/sub-_run-03_desc-SRprep_T2w.nii.gz`` + - ``anat/sub-(_ses-)_run-01_id-_desc-preprocSR_T2w.nii.gz`` + - ``anat/sub-(_ses-)_run-02_id-_desc-preprocSR_T2w.nii.gz`` + - ``anat/sub-(_ses-)_run-03_id-_desc-preprocSR_T2w.nii.gz`` - ... - - + * The high-resolution image reconstructed by SDI: - - ``anat/sub-01_rec-SDI_id-1_T2w.nii.gz`` - - ``anat/sub-01_rec-SDI_id-1_T2w.json`` - + - ``anat/sub-(_ses-)_rec-SDI_id-_T2w.nii.gz`` + - ``anat/sub-(_ses-)_rec-SDI_id-_T2w.json`` + * The high-resolution image reconstructed by SDI: - - ``anat/sub-01_rec-SR_id-1_T2w.nii.gz`` - - ``anat/sub-01_rec-SR_id-1_T2w.json`` + - ``anat/sub-(_ses-)_rec-SR_id-_T2w.nii.gz`` + - ``anat/sub-(_ses-)_rec-SR_id-_T2w.json`` +* The slice-to-volume registration transform of each T2W scans estimated during slice motion estimation and SDI reconstruction and used in the super-resolution forward model are placed in each subject's ``xfm/`` subfolder: + + - ``xfm/sub-(_ses-)_run-1_id-_T2w_from-origin_to-SDI_mode-image_xfm.txt`` + - ``xfm/sub-(_ses-)_run-2_id-_T2w_from-origin_to-SDI_mode-image_xfm.txt`` + - ``xfm/sub-(_ses-)_run-3_id-_T2w_from-origin_to-SDI_mode-image_xfm.txt`` + - ... Nipype Workflow Derivatives ========================================== @@ -66,5 +92,3 @@ Execution details (data provenance) of each interface (node) of a given pipeline .. image:: images/nipype_node_report.png :width: 888 :align: center - -.. note:: MIALSRTK BIDS App outputs are currently being updated to conform to the :abbr:`BIDS (brain imaging data structure)` Derivatives specification (see `BIDS Derivatives Extension `_).