Skip to content

Commit a75839a

Browse files
authored
Enhance README with spreadsheet usage instructions
Added sections for single and multiple subject spreadsheets with links to templates and examples.
1 parent 1d290c0 commit a75839a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

spreadsheet_conversion/Readme.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22

33
When data are already converted, it can be easier to create metadata separately, here as json file to follow [PET-BIDS](https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/09-positron-emission-tomography.html).
44

5-
## Spreadsheet
5+
## 1 spreadsheet per subject
66

77
You can use the [single-subject template](https://github.com/openneuropet/PET2BIDS/raw/refs/heads/main/spreadsheet_conversion/single_subject_sheet/subject_metadata_template.xlsx) to prepare the metadata. Note that new/old excel (.xlsx .xls) or open format (.ods) can be used. For reference, here is an [example spreadsheet](https://github.com/openneuropet/PET2BIDS/raw/refs/heads/main/spreadsheet_conversion/single_subject_sheet/subject_metadata_example.xlsx)
88

99
The example files, show the excel file and the resulting conversion as json.
1010

11+
## 1 spreadsheet for many subjects
12+
13+
In most cases, you subjects are converted (say using dcm2niix) and you need to update the json files with the metadata for all subjects. This is easily acheived using our preformated [scanner excel sheet](https://github.com/openneuropet/PET2BIDS/blob/main/spreadsheet_conversion/many_subjects_sheet/scanner_metadata_template.xlsx) which applies that information to all and the [tracer related excel sheet](https://github.com/openneuropet/PET2BIDS/blob/main/spreadsheet_conversion/many_subjects_sheet/subjects_metadata_template.xlsx).
14+
1115
## convert_spreadsheet_metadata.m
1216

13-
The matlab function `convert_spreadsheet_metadata.m` can be called and users are prompted to select a spreadsheet, or it can be passed directly as input. If command line is used, output name can also be specified, otherwise the same location and name is used to create the json file.
17+
The matlab function `convert_spreadsheet_metadata.m` can be called and users are prompted to select a spreadsheet, or it can be passed directly as input. If command line is used, output name can also be specified, otherwise the same location and name is used to create the json file.

0 commit comments

Comments
 (0)