JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
List of all members | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
AnalyticPulseShape Class Reference

prepare and GiNaC evaluation of analytic pulse shapes More...

#include <AnalyticPulseShape.h>

+ Collaboration diagram for AnalyticPulseShape:

Private Member Functions

 ~AnalyticPulseShape ()
 Default destructor.
 
 AnalyticPulseShape ()
 constructor
 
void SetPulse (Pulse *p)
 set the pulse owning this
 
double GetShape (double const time)
 get the shape value at current time
 
void PrepareInit (bool verbose)
 intitial prepare of the attributes (needs to be called before Prototype::Prepare)
 
bool PrepareAnalytic (bool verbose)
 GiNaC prepare of the attributes (needs to ba called after Prototype::Prepare)
 
double GetAnalyticIntegral (bool verbose)
 analytic GiNaC calculation of the integral of this pulse shape
 

Static Private Member Functions

static double GetPhase (Module *mod, double time)
 

Private Attributes

Pulsem_pulse
 my pulse

 
double m_phase
 current phase

 
bool m_rfpulse
 true, if my pulse is an RF pulse

 
bool m_prepared
 true, if prepared

 
double m_analytic_value
 
double m_analytic_time
 
double m_constant [20]
 
double m_analytic_integral
 

Friends

class AnalyticGradPulse
 
class AnalyticRFPulse
 
class EmptyPulse
 
class EddyPulse
 

Detailed Description

prepare and GiNaC evaluation of analytic pulse shapes

Member Function Documentation

◆ GetAnalyticIntegral()

double AnalyticPulseShape::GetAnalyticIntegral ( bool verbose)
inlineprivate

analytic GiNaC calculation of the integral of this pulse shape

Parameters
verboseif true, dump warning/error messages
Returns
value of the analytic integral
+ Here is the caller graph for this function:

◆ GetPhase()

double AnalyticPulseShape::GetPhase ( Module * mod,
double time )
staticprivate
See also
Pulse::SetTPOIs
+ Here is the caller graph for this function:

◆ GetShape()

double AnalyticPulseShape::GetShape ( double const time)
private

get the shape value at current time

Parameters
time
Returns
Gradient value or RF magnitude
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PrepareAnalytic()

bool AnalyticPulseShape::PrepareAnalytic ( bool verbose)
private

GiNaC prepare of the attributes (needs to ba called after Prototype::Prepare)

Parameters
verboseif true, dump warning/error messages
Returns
success of preparation
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PrepareInit()

void AnalyticPulseShape::PrepareInit ( bool verbose)
private

intitial prepare of the attributes (needs to be called before Prototype::Prepare)

Parameters
verboseif true, dump warning/error messages
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_analytic_integral

double AnalyticPulseShape::m_analytic_integral
private

For analytic evaluation of GetValue

◆ m_analytic_time

double AnalyticPulseShape::m_analytic_time
private

For analytic evaluation of GetValue

◆ m_analytic_value

double AnalyticPulseShape::m_analytic_value
private

For analytic evaluation of GetValue

◆ m_constant

double AnalyticPulseShape::m_constant[20]
private

For analytic evaluation of GetValue


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

-- last change 03.01.2025 | Tony Stoecker | Imprint | Data Protection --