get_scanner_info
- bidsaid.metadata.get_scanner_info(nifti_file_or_img)[source]
Determines the manufacturer and model name of scanner.
Important
Assumes this information is in the “descrip” of the NIfTI header, which can contain any information.
Parameters
- nifti_file_or_img
str,Path, orNifti1Image Path to the NIfTI file or a NIfTI image.
Returns
- tuple[str, str]
The manufacturer and model name for the scanner.
- nifti_file_or_img