JEMRIS  2.8.1
open-source MRI simulations
List of all members | Public Member Functions | Private Attributes
Signal Class Reference

The signal store and IO. More...

#include <Signal.h>

+ Collaboration diagram for Signal:

Public Member Functions

 Signal ()
 Default constructor.
 
 ~Signal ()
 Default destructor.
 
 Signal (long size)
 
 Signal (long size, int compartments)
 
void ReadFrom (char *fname)
 
const long GetSize ()
 
RepositoryRepo ()
 
void InitRandGenerator (int val=1)
 
RNG * Noise ()
 

Private Attributes

RNG m_rng
 random number generator
 
Repository m_repository
 Signal repository.
 

Detailed Description

The signal store and IO.

Constructor & Destructor Documentation

Signal::Signal ( long  size)

Instantiate a signal object of given size

Parameters
sizeNumber of signal definition points
Signal::Signal ( long  size,
int  compartments 
)

Instantiate a signal object of given size

Parameters
sizeNumber of signal definition points
compartmentsNumber of signal compartments

Member Function Documentation

const long Signal::GetSize ( )
inline

Get the number of samples of the data

Returns
Number of the samples.
void Signal::InitRandGenerator ( int  val = 1)
inline

Initialize the random number generator

Parameters
valAny integer (default 1)
RNG* Signal::Noise ( )
inline

Initialize the random number generator

Parameters
valAny integer (default 1)
void Signal::ReadFrom ( char *  fname)

Read in binary data from file

Parameters
fnameFile name
Repository* Signal::Repo ( )
inline

Access repository

Returns
Number of the samples.

+ Here is the caller graph for this function:


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

-- last change 17.06.2016 | Tony Stoecker | Imprint --