From 24a1bcf017b4252f338f6546a217a69393a31a3b Mon Sep 17 00:00:00 2001 From: Marcel Zwiers Date: Mon, 4 Nov 2024 18:13:13 +0100 Subject: [PATCH] Spelling fix --- docs/_static/dictionary-custom.txt | 2 ++ docs/plugins.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/_static/dictionary-custom.txt b/docs/_static/dictionary-custom.txt index af427dda..89a036cf 100644 --- a/docs/_static/dictionary-custom.txt +++ b/docs/_static/dictionary-custom.txt @@ -31,6 +31,7 @@ DICOMDIR DICOMDIRs DOI DRMAA +DataFrame DataSource Datatypes Dcm2niix @@ -63,6 +64,7 @@ Manpages Mateusz Multi NIfTI +NeuroBS NeuroStars Neurodesk Neurodesktop diff --git a/docs/plugins.rst b/docs/plugins.rst index 6d853248..4d867c56 100644 --- a/docs/plugins.rst +++ b/docs/plugins.rst @@ -47,7 +47,7 @@ In short, the purpose of the plugin is to interact with the data, by providing t - **bidsmapper_plugin()**: From a given session folder, identify the different runs (source datatypes) and, if they haven't been discovered yet, add them to the study bidsmap - **bidscoiner_plugin()**: From a given session folder, identify the different runs (source datatypes) and convert them to BIDS output files using the mapping data specified in the runitem -Optionally, a ``EventsParser()`` class can be defined to convert stimulus presentation log data to task events files. This class inherits from the equally named class in the ``bids`` library, and should add code to make an initial parsing of the source data to a Pandas dataframe (table). +Optionally, a ``EventsParser()`` class can be defined to convert stimulus presentation log data to task events files. This class inherits from the equally named class in the ``bids`` library, and should add code to make an initial parsing of the source data to a Pandas DataFrame (table). The above API is illustrated in more detail in the placeholder Python code below. For real world examples you best first take a look at the nibabel2bids plugin, which exemplifies a clean and fairly minimal implementation of the required functionality. A similar, but somewhat more elaborated implementation (supporting multiple dataformats) can be found in the spec2nii2bids plugin. Finally, the dcm2niix2bids plugin is the more complicated example, due to the logic needed to deal with special output files and various irregularities.