Skip to content

Commit

Permalink
Add flags for phase stabilization scans (#84)
Browse files Browse the repository at this point in the history
* NAVIGATION_DATA now refers to Siemens' PHASESTABSCAN flag (bit 15)

* Add flags for phase stabilization scans

* Bump version to 1.2.0 which pulls in ISMRMRD 1.7.0

* ISMRMRD_ACQ_IS_NAVIGATION_DATA again refers to Siemens bit 1

Co-authored-by: Kelvin Chow <[email protected]>
  • Loading branch information
pehses and kspaceKelvin authored Feb 16, 2022
1 parent c353164 commit 5bc4aed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ message(STATUS "Looking for packages in : ${CMAKE_PREFIX_PATH}")

#VERSIONING
set(SIEMENS_TO_ISMRMRD_VERSION_MAJOR 1)
set(SIEMENS_TO_ISMRMRD_VERSION_MINOR 0)
set(SIEMENS_TO_ISMRMRD_VERSION_PATCH 2)
set(SIEMENS_TO_ISMRMRD_VERSION_MINOR 1)
set(SIEMENS_TO_ISMRMRD_VERSION_PATCH 0)
set(SIEMENS_TO_ISMRMRD_VERSION_STRING ${SIEMENS_TO_ISMRMRD_VERSION_MAJOR}.${SIEMENS_TO_ISMRMRD_VERSION_MINOR}.${SIEMENS_TO_ISMRMRD_VERSION_PATCH})

# Generate the converter_version.h header file
Expand Down
2 changes: 1 addition & 1 deletion dependencies/ismrmrd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a80c9595564b12fd1be91834247fab2c4ae37a91
31b3f1ed401761616fbf05df427bfa566fae06ae
3 changes: 3 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1195,6 +1195,9 @@ getAcquisition(bool flash_pat_ref_scan, const Trajectory &trajectory, long dwell

if ((scanhead.aulEvalInfoMask[1] & (1ULL << 46-32))) ismrmrd_acq.setFlag(ISMRMRD::ISMRMRD_ACQ_LAST_IN_MEASUREMENT);

if ((scanhead.aulEvalInfoMask[0] & (1ULL << 14))) ismrmrd_acq.setFlag(ISMRMRD::ISMRMRD_ACQ_IS_PHASE_STABILIZATION_REFERENCE);
if ((scanhead.aulEvalInfoMask[0] & (1ULL << 15))) ismrmrd_acq.setFlag(ISMRMRD::ISMRMRD_ACQ_IS_PHASE_STABILIZATION);

if ((flash_pat_ref_scan) & (ismrmrd_acq.isFlagSet(ISMRMRD::ISMRMRD_ACQ_IS_PARALLEL_CALIBRATION))) {
// For some sequences the PAT Reference data is collected using a different encoding space
// e.g. EPI scans with FLASH PAT Reference
Expand Down

0 comments on commit 5bc4aed

Please sign in to comment.