Skip to content

Commit

Permalink
New release, EstimatedTotalReadoutTime/EstimatedEffectiveEchoSpacing (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Mar 31, 2020
1 parent 3c96681 commit ab26453
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion console/nii_dicom.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extern "C" {
#define kCCsuf " CompilerNA" //unknown compiler!
#endif

#define kDCMdate "v1.0.20200315"
#define kDCMdate "v1.0.20200331"
#define kDCMvers kDCMdate " " kJP2suf kLSsuf kCCsuf

static const int kMaxEPI3D = 1024; //maximum number of EPI images in Siemens Mosaic
Expand Down
4 changes: 2 additions & 2 deletions console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1435,8 +1435,8 @@ tse3d: T2*/
float actualEchoSpacing = d.waterFatShift / (d.imagingFrequency * 3.4 * (d.echoTrainLength + 1));
float totalReadoutTime = actualEchoSpacing * d.echoTrainLength;
float effectiveEchoSpacingPhil = totalReadoutTime / (reconMatrixPE - 1);
json_Float(fp, "\t\"EffectiveEchoSpacing\": %g,\n", effectiveEchoSpacingPhil);
fprintf(fp, "\t\"TotalReadoutTime\": %g,\n", totalReadoutTime);
json_Float(fp, "\t\"EstimatedEffectiveEchoSpacing\": %g,\n", effectiveEchoSpacingPhil);
fprintf(fp, "\t\"EstimatedTotalReadoutTime\": %g,\n", totalReadoutTime);
}
json_Float(fp, "\t\"EffectiveEchoSpacing\": %g,\n", effectiveEchoSpacing);
// Calculate true echo spacing (should match what Siemens reports on the console)
Expand Down

0 comments on commit ab26453

Please sign in to comment.