SIRF  3.6.0
Public Member Functions | List of all members
sirf::IgnoreMask Class Reference

Class enabling ignoring acquisitions with certain ISMRMRD acquisition flags. More...

#include "gadgetron_data_containers.h"

Public Member Functions

 IgnoreMask (unsigned long int mask=(1<< 18))
 
void set (unsigned long int mask)
 
void ignore (unsigned int i)
 
void ignore_not (unsigned int i)
 
bool bit (unsigned int i) const
 
unsigned long int bits () const
 
bool ignored (unsigned long int bits) const
 
std::string bits_string () const
 

Detailed Description

Class enabling ignoring acquisitions with certain ISMRMRD acquisition flags.

Most of the acquisitiondata can be represented by a multidimensional array. However, the input raw data may also contain acquisitions serving some special purposes different from the rest, e.g. acquisitions with noise calibration data (ISMRMRD flag 19). These may have incompatible shape, and must be ignored e.g. when calculating multidimensional data dimensions or performing algebraic operations on acquisition data by some reconstruction algorithms. Class IgnoreMask encapsulates a 64-bit integer with non-zero bits representing 'forbidden' ISMRMRD flags, i.e. any acquisition acq that has at least one of these flags in its bit field returned by its acq.flags() method will be ignored.


The documentation for this class was generated from the following file: