Skip to content

Commit

Permalink
GE UHP/7T Diffusion SliceTiming (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaemin Shin authored and Jaemin Shin committed Feb 22, 2024
1 parent 236b690 commit 987fdfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion console/nii_dicom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8058,7 +8058,8 @@ const uint32_t kEffectiveTE = 0x0018 + uint32_t(0x9082 << 16); //FD
// cycling systems: Premier, UHP, 7.0T
if ((strstr(d.manufacturersModelName, "Premier") != NULL) || (strstr(d.manufacturersModelName, "UHP") != NULL) || (strstr(d.manufacturersModelName, "7.0T") != NULL)) {
// cycling special OFF mode
if (isSameFloatGE(userData15GE, 0.72))
if (((strstr(d.manufacturersModelName, "Premier") != NULL) && (isSameFloatGE(userData15GE, 0.72))) ||
(((strstr(d.manufacturersModelName, "UHP") != NULL) || (strstr(d.manufacturersModelName, "7.0T") != NULL)) && (userData15GE > 0.5) && (userData15GE < 1))) //issue 796
d.diffCyclingModeGE = kGE_DIFF_CYCLING_SPOFF;
// 2TR cycling mode
else if (userData12GE == 2) {
Expand Down
2 changes: 1 addition & 1 deletion console/nii_dicom.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ extern "C" {
#define kCPUsuf " " //unknown CPU
#endif

#define kDCMdate "v1.0.20240202"
#define kDCMdate "v1.0.20240222"
#define kDCMvers kDCMdate " " kJP2suf kLSsuf kCCsuf kCPUsuf

static const int kMaxEPI3D = 1024; //maximum number of EPI images in Siemens Mosaic
Expand Down

1 comment on commit 987fdfb

@mr-jaemin
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@neurolabusc I just realized that I used
userData15GE < 1
instead of
userData15GE < 1.0

Would it be okay?

Please sign in to comment.