Developer documentation
Version 3.0.3-105-gd3941f44
MR::DWI::Shells Class Reference

#include "dwi/shells.h"

Public Member Functions

 Shells (const Eigen::MatrixXd &grad)
 
const Shelloperator[] (const size_t i) const
 
const Shellsmallest () const
 
const Shelllargest () const
 
size_t count () const
 
size_t volumecount () const
 
vector< size_t > get_counts () const
 
vector< size_t > get_bvalues () const
 
Shellsselect_shells (const bool force_singleshell, const bool force_with_bzero, const bool force_without_bzero)
 
Shellsreject_small_shells (const size_t min_volumes=6)
 
bool is_single_shell () const
 
bool has_bzero () const
 

Protected Attributes

vector< Shellshells
 

Friends

std::ostream & operator<< (std::ostream &stream, const Shells &S)
 

Detailed Description

Definition at line 113 of file shells.h.

Constructor & Destructor Documentation

◆ Shells()

MR::DWI::Shells::Shells ( const Eigen::MatrixXd &  grad)

Member Function Documentation

◆ count()

size_t MR::DWI::Shells::count ( ) const
inline

Definition at line 121 of file shells.h.

◆ get_bvalues()

vector< size_t > MR::DWI::Shells::get_bvalues ( ) const
inline

Definition at line 136 of file shells.h.

◆ get_counts()

vector< size_t > MR::DWI::Shells::get_counts ( ) const
inline

Definition at line 129 of file shells.h.

◆ has_bzero()

bool MR::DWI::Shells::has_bzero ( ) const
inline

Definition at line 152 of file shells.h.

◆ is_single_shell()

bool MR::DWI::Shells::is_single_shell ( ) const
inline

Definition at line 147 of file shells.h.

◆ largest()

const Shell & MR::DWI::Shells::largest ( ) const
inline

Definition at line 120 of file shells.h.

◆ operator[]()

const Shell & MR::DWI::Shells::operator[] ( const size_t  i) const
inline

Definition at line 118 of file shells.h.

◆ reject_small_shells()

Shells & MR::DWI::Shells::reject_small_shells ( const size_t  min_volumes = 6)

◆ select_shells()

Shells & MR::DWI::Shells::select_shells ( const bool  force_singleshell,
const bool  force_with_bzero,
const bool  force_without_bzero 
)

◆ smallest()

const Shell & MR::DWI::Shells::smallest ( ) const
inline

Definition at line 119 of file shells.h.

◆ volumecount()

size_t MR::DWI::Shells::volumecount ( ) const
inline

Definition at line 122 of file shells.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  stream,
const Shells S 
)
friend

Definition at line 156 of file shells.h.

Member Data Documentation

◆ shells

vector<Shell> MR::DWI::Shells::shells
protected

Definition at line 166 of file shells.h.


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