You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pfile('P12345.7')
Pfile('P12345.7', ['No-Anonymize' | 'Partial-Anonymize' | 'Full-Anonymize'], ['Single-AcquisitionMode' | 'All-Acquisitions' | 'All-Available-Acquisitions' | 'Raw-Data' | 'No-Compression'])
Load Pfile into memory. 'Full-Anonymize' is used by default for the Anonymization Mode.
Load Pfile into memory. 'All-Available-Acquisitions' is used by default for the Read Mode.
DICOM images can be created with 'Full - Anonymize' Pfile data.
header = pfile.Header()
header is a python dictionary
header informtaion contains the entire POOL_HEADER structures
Once the header information is available, we can access any member of the header, example:
rev = header['rdb_hdr_rec']['rdb_hdr_rdbm_rev']
scan_date = header['rdb_hdr_rec']['rdb_hdr_scan_date']
coil_name = header['rdb_hdr_image']['GEcname']
metadata = pfile.MetaData()
metadata is a python dictionary
metadata informtaion: phases, slices, echoes, channels, acquiredYRes, acquiredXRes, imageXRes, imageYRes.
kSpace = pfile.KSpace(slice, echo)
kSpace = pfile.KSpace(slice, echo, channel, phase)
corners = pfile.Corners(slice)
corners is a Python dictionary.
orientation = pfile.Orientation(slice)
orientation is a Python dictionary.
info = pfile.Info(slice)
info = pfile.Info(slice, pass)
info contents: slice number, frequency shift, phase shift, slice shift
frequency scale, phase scale, slice thickness scale
info is a python dictionary
However, I was not able to find information about the scan description (a.k.a. "SeriesDescription" in the BIDS world), that is: the information that is manually entered at the console for the scan, such as "T2_axial".
The text was updated successfully, but these errors were encountered:
Based on the pfile.Help, here's what's available:
However, I was not able to find information about the scan description (a.k.a. "SeriesDescription" in the BIDS world), that is: the information that is manually entered at the console for the scan, such as "T2_axial".
The text was updated successfully, but these errors were encountered: