Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
BIDS conversion
M. Czisch
29.5.2018
BecomeVersion: 1.0.2
**************
* PURPOSE: *
**************
In BecomeVersion 1.0.1, the physio files for respiration (RESP) and
photoplethysmography (PPG) created by the GE scanner were not copied
to the physio subfolder.
The script repair_BIDS_1_0_2.m does this copy.
**************
* CALL : *
**************
repair_BIDS_1_0_2(directory_name)
e.g. repair_BIDS_1_0_2('/run/media/spectro/DATAPART1/FORSCHUNGSAMBULANZ/Archiv_Garching/FOK/FOK0075')
****************
* OUTPUT : *
****************
RESP and PPG files are copied to the subfolder ????_BIDS/physio
e.g.
/run/media/spectro/DATAPART1/FORSCHUNGSAMBULANZ/Archiv_Garching/FOK/FOK0075/FOK0075_BIDS
sub-FOK0075_task-rest_run-1_ppg.txt
sub-FOK0075_task-tet_ppg.txt
sub-FOK0075_task-reward_ppg.txt
sub-FOK0075_task-nback_ppg.txt
sub-FOK0075_task-rest_run-1_resp.txt
sub-FOK0075_task-tet_resp.txt
sub-FOK0075_task-reward_resp.txt
sub-FOK0075_task-nback_resp.txt
the script also creates a logfile: logfile_FOK0075_ppg_resp_conversion.txt
detailing the date and copy steps
********************
* SUBROUTINES: *
********************
all versions 1.0.1, if not otherwise indicated
check_BIOMAX
read_GE_BIDS
repair_PPG_BIDS
*****************
* REQUIREMENTS *
*****************
The script expects that the data have already been transformed to BIDS format
*****************
* DESCRIPTION *
*****************