### Fetch Example BIDS Data Source: https://qsirecon.readthedocs.io/en/latest/api/qsirecon.interfaces.freesurfer.html Fetches example BIDS data for testing and demonstration purposes. Changes the current working directory to the root of the fetched data. ```python import os from niworkflows import data data_root = data.get_bids_examples(variant='BIDS-examples-1-enh-ds054') os.chdir(data_root) ``` -------------------------------- ### qsirecon.workflows.recon.dsi_studio.init_dsi_studio_connectivity_wf Source: https://qsirecon.readthedocs.io/en/latest/api_reference.html Initializes the DSI Studio connectivity workflow. ```APIDOC ## init_dsi_studio_connectivity_wf ### Description Initializes the DSI Studio connectivity workflow. ### Method Not specified (likely a function call) ### Endpoint Not specified ### Parameters Not specified ### Request Example Not specified ### Response Not specified ``` -------------------------------- ### Installing Non-Python Dependencies in Dockerfile Source: https://qsirecon.readthedocs.io/en/latest/_sources/contributors.rst.txt Install non-Python dependencies within the Docker image using a RUN command in the Dockerfile. This example shows how to install an apt package. ```dockerfile RUN apt-get update && \ apt-get install -y ``` -------------------------------- ### qsirecon.workflows.recon.dsi_studio.init_dsi_studio_recon_wf Source: https://qsirecon.readthedocs.io/en/latest/api_reference.html Initializes the DSI Studio reconstruction workflow. ```APIDOC ## init_dsi_studio_recon_wf ### Description Initializes the DSI Studio reconstruction workflow. ### Method Not specified (likely a function call) ### Endpoint Not specified ### Parameters Not specified ### Request Example Not specified ### Response Not specified ``` -------------------------------- ### Get Template Files Source: https://qsirecon.readthedocs.io/en/latest/api/qsirecon.interfaces.anatomical.html Retrieves a specified template file and its corresponding mask. Useful for aligning or comparing diffusion data to a standard space. ```python from qsirecon.interfaces.anatomical import GetTemplate get_template = GetTemplate() get_template.inputs.template_name = 'MNI152NLin2009cAsym' get_template.run() ``` -------------------------------- ### qsirecon.workflows.recon.dsi_studio.init_dsi_studio_autotrack_wf Source: https://qsirecon.readthedocs.io/en/latest/api_reference.html Initializes the DSI Studio autotrack workflow. ```APIDOC ## init_dsi_studio_autotrack_wf ### Description Initializes the DSI Studio autotrack workflow. ### Method Not specified (likely a function call) ### Endpoint Not specified ### Parameters Not specified ### Request Example Not specified ### Response Not specified ``` -------------------------------- ### qsirecon.workflows.base.init_qsirecon_wf Source: https://qsirecon.readthedocs.io/en/latest/api_reference.html Initializes the main QSIrecon workflow. ```APIDOC ## init_qsirecon_wf ### Description Initializes the main QSIrecon workflow. ### Method Not specified (likely a function call) ### Endpoint Not specified ### Parameters Not specified ### Request Example Not specified ### Response Not specified ``` -------------------------------- ### Interactive Bash Session in Docker Container Source: https://qsirecon.readthedocs.io/en/latest/_sources/contributors.rst.txt Start an interactive bash session within the QSIRecon Docker container, mounting local directories. This is useful for development and debugging. ```bash $ docker run --rm -v $HOME/fullds005:/data:ro -v $HOME/dockerout:/out \ -v $HOME/projects/qsirecon/qsirecon:/usr/local/miniconda/lib/python3.10/site-packages/qsirecon:ro --entrypoint=bash \ pennlinc/qsirecon:latest ``` -------------------------------- ### Run QSIRecon with Docker Source: https://qsirecon.readthedocs.io/en/latest/_sources/installation.rst.txt Use this command to run QSIRecon within a Docker container. Ensure Docker is installed and volumes for data, output, and the FreeSurfer license are correctly mapped. ```bash docker run -ti --rm \ -v /filepath/to/data/dir \ -v /filepath/to/output/dir \ -v ${FREESURFER_HOME}/license.txt:/opt/freesurfer/license.txt \ pennlinc/qsirecon:latest \ /filepath/to/data/dir /filepath/to/output/dir participant \ --fs-license-file /opt/freesurfer/license.txt \ --recon-spec pyafq_tractometry ``` -------------------------------- ### qsirecon.workflows.recon.dsi_studio.init_dsi_studio_export_wf Source: https://qsirecon.readthedocs.io/en/latest/api_reference.html Initializes the DSI Studio export workflow. ```APIDOC ## init_dsi_studio_export_wf ### Description Initializes the DSI Studio export workflow. ### Method Not specified (likely a function call) ### Endpoint Not specified ### Parameters Not specified ### Request Example Not specified ### Response Not specified ``` -------------------------------- ### qsirecon.workflows.recon.mrtrix.init_mrtrix_connectivity_wf Source: https://qsirecon.readthedocs.io/en/latest/api_reference.html Initializes the MRTrix connectivity workflow. ```APIDOC ## init_mrtrix_connectivity_wf ### Description Initializes the MRTrix connectivity workflow. ### Method Not specified (likely a function call) ### Endpoint Not specified ### Parameters Not specified ### Request Example Not specified ### Response Not specified ``` -------------------------------- ### QSIRecon TORTOISE Reconstruction Derivatives Source: https://qsirecon.readthedocs.io/en/latest/outputs.html Example output structure for the TORTOISE reconstruction method, showing dataset description, HTML reports, logs, and DWI-specific parameter maps. ```plaintext qsirecon/ derivatives/ qsirecon-TORTOISE/ dataset_description.json sub-