Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WIP: adding Philips XML/REC support#683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
grlee77 wants to merge16 commits intonipy:master
base:master
Choose a base branch
Loading
fromgrlee77:xmlrec_v2
Open
Changes from1 commit
Commits
Show all changes
16 commits
Select commitHold shift + click to select a range
64ed188
add Philips XML/REC reader.
grlee77Oct 18, 2018
1ff1826
add XMLRECImage support to imageclasses.py
grlee77Oct 18, 2018
df2751e
Assign an enumerated value of -1 in the PAR image_defs header for unr…
grlee77Oct 19, 2018
8c405c1
expand enums_dict using empirically determined values
grlee77Oct 19, 2018
a4636b2
Fix reading strings into image_defs when dtype_format='xml'
grlee77Oct 19, 2018
570a7ed
XMLRECImage: file extensions should be specified in lower case
grlee77Oct 19, 2018
bbeb710
loading from .REC: special case to find .xml when .PAR not present
grlee77Oct 19, 2018
a7a9edc
remove explicit mention of PAR from warning/errors that could also oc…
grlee77Oct 19, 2018
ed43e97
Add XML/REC support to parrec2nii.py
grlee77Oct 19, 2018
5fa6810
refactor/simplify. Do not convert to PAR/REC style names
grlee77Oct 19, 2018
10bf7cc
remove permit_truncated restriction
grlee77Oct 19, 2018
8d62119
minor cleanup
grlee77Oct 19, 2018
d7bf693
XMLRECImage: fix for .REC expected case mismatch
grlee77Oct 22, 2018
fd88ccd
fix misnamed key within strict_sort
grlee77Oct 22, 2018
7048640
fix for conversion of DWI scans where only the trace was retained
grlee77Oct 22, 2018
4068548
fix bug in conversion of Boolean entries from string such as 'N' and 'Y'
grlee77Oct 22, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
fix misnamed key within strict_sort
  • Loading branch information
@grlee77
grlee77 committedOct 22, 2018
commitfd88ccd65530f389a7b6daa96b3147502bc4b0e4
4 changes: 2 additions & 2 deletionsnibabel/xmlrec.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -639,7 +639,7 @@ def _strict_sort_order(self):
- image_defs['Dynamicr'] # repetition
- image_defs['Label Type'] # ASL tag/control
- image_defs['BValue'] # diffusion b value
- image_defs['GradOrientation'] # diffusion directoin
- image_defs['GradOrient'] # diffusion directoin
- image_defs['Phase'] # cardiac phase
- image_defs['Echo'] # echo
- image_defs['Slice'] # slice
Expand All@@ -666,7 +666,7 @@ def _strict_sort_order(self):
echos = idefs['Echo']
image_type = idefs['Type']
asl_keys = (idefs['Label Type'], )
diffusion_keys = (idefs['BValue'], idefs['GradOrientation'])
diffusion_keys = (idefs['BValue'], idefs['GradOrient'])

# initial sort (last key is highest precedence)
keys = (index_nos, slice_nos, echos, phases) + \
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp