JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
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() [1/2]

Signal::Signal ( long size)

Instantiate a signal object of given size

Parameters
sizeNumber of signal definition points
+ Here is the call graph for this function:

◆ Signal() [2/2]

Signal::Signal ( long size,
int compartments )

Instantiate a signal object of given size

Parameters
sizeNumber of signal definition points
compartmentsNumber of signal compartments
+ Here is the call graph for this function:

Member Function Documentation

◆ GetSize()

const long Signal::GetSize ( )
inline

Get the number of samples of the data

Returns
Number of the samples.
+ Here is the call graph for this function:

◆ InitRandGenerator()

void Signal::InitRandGenerator ( int val = 1)
inline

Initialize the random number generator

Parameters
valAny integer (default 1)

◆ Noise()

RNG * Signal::Noise ( )
inline

Initialize the random number generator

Parameters
valAny integer (default 1)

◆ ReadFrom()

void Signal::ReadFrom ( char * fname)

Read in binary data from file

Parameters
fnameFile name

◆ Repo()

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 03.01.2025 | Tony Stoecker | Imprint | Data Protection --