Skip to content

Commit

Permalink
GE Direct field mapping (TE1/TE2) (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-jaemin committed Jul 20, 2022
1 parent 625a247 commit cfa4b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ tse3d: T2*/
if ((d.TE > 0.0) && (!d.isXRay)) {
if ((d.manufacturer == kMANUFACTURER_GE) && (d.isRealIsPhaseMapHz) && (d.velocityEncodeScaleGE < 0)) { //issue617, only set for GE fieldmaphz
json_Float(fp, "\t\"EchoTime1\": %g,\n", d.TE / 1000.0 );
json_Float(fp, "\t\"EchoTime2\": %g,\n", d.TE / 1000.0 - 1/(2 * M_PI * d.velocityEncodeScaleGE));
json_Float(fp, "\t\"EchoTime2\": %g,\n", d.TE / 1000.0 - 1.0/(2.0 * M_PI * d.velocityEncodeScaleGE));
// delta TE = -1/(2 * pi * velocityEncodeScaleGE)
}
else
Expand Down

0 comments on commit cfa4b98

Please sign in to comment.