SIRF  3.5.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
sirf::KSpaceSubset Class Reference

Class to keep track of order in k-space. More...

#include "gadgetron_data_containers.h"

Public Types

typedef std::array< int, num_kspace_dims_ > TagType
 
typedef std::vector< int > SetType
 

Public Member Functions

 KSpaceSubset (TagType tag)
 
 KSpaceSubset (TagType tag, SetType idx_set)
 
TagType get_tag (void) const
 
SetType get_idx_set (void) const
 
void add_idx_to_set (size_t const idx)
 
bool is_first_set () const
 

Static Public Member Functions

static void print_tag (const TagType &tag)
 
static void print_acquisition_tag (ISMRMRD::Acquisition acq)
 
static TagType get_tag_from_acquisition (ISMRMRD::Acquisition acq)
 Function to get k-space dimension tag from an ISMRMRD::Acquisition. More...
 
static TagType get_tag_from_img (const CFImage &img)
 Function to get k-space dimension tag from an ISMRMRD::Image. More...
 

Detailed Description

Class to keep track of order in k-space.

The entirety of data consists of all acquisitions in the container. However, the individual acquisitions belong to different subsets of k-space. These each have a different slice, contrast, repetition etc. This class is used to keep track of what acquisitions belong to which subset.

Member Function Documentation

◆ get_tag_from_acquisition()

KSpaceSubset::TagType KSpaceSubset::get_tag_from_acquisition ( ISMRMRD::Acquisition  acq)
static

Function to get k-space dimension tag from an ISMRMRD::Acquisition.

This allows to find out which k-space dimension an Acquisition belongs to.

◆ get_tag_from_img()

KSpaceSubset::TagType KSpaceSubset::get_tag_from_img ( const CFImage &  img)
static

Function to get k-space dimension tag from an ISMRMRD::Image.

This allows to find out which k-space dimension the image belongs to.


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