ecat_info2bids_json: Extract Information from ecat7 Header into BIDS Sidecar

View source: R/bids_tools.R

ecat_info2bids_jsonR Documentation

Extract Information from ecat7 Header into BIDS Sidecar

Description

Extract Information from ecat7 Header into BIDS Sidecar

Usage

ecat_info2bids_json(
  v_filename,
  out_filename,
  inpath = getwd(),
  outpath = getwd()
)

Arguments

v_filename

Filename of the input .v file. Preferably without file extension. Should only be the filename. Path goes into inpath.

out_filename

Filename of the output file. Preferably without file extension. Should only be the filename. Path goes into outpath.

inpath

Path to the input file. Defaults to the working directory.

outpath

Path to the output file. Defaults to the working directory.

Value

Produces the PET BIDS sidecar with all relevant information from the .v file

Examples

ecat_info2bids_json('abcd_1', 'sub-01_ses-2015_task-rest_acq-T807AV1451_pet')


mathesong/kipettools documentation built on Feb. 5, 2024, 10:10 p.m.