Overview of BIDS Parsing and Dataset Normalization
The BIDS parsing process converts a BIDS directory on disk into an in-memory BidsDataset model using a three-step pipeline:
LibBidsShWrapperexecutes the externallibBIDSsh_parse_bids_to_tableshell function to generate a TSV output.BidsCsvParserconverts the TSV rows into a list ofBidsFileobjects.BidsParserassembles these files into aBidsDatasetand loads metadata fromparticipants.tsv.