4#ifndef _24586826_eceb_491b_9fb0_6995bd97989a
5#define _24586826_eceb_491b_9fb0_6995bd97989a
9#include <MrProtSrv/Domain/CoreNative/SeqLim.h>
10#include <MrProtSrv/Domain/MrProtData/MrProt/MrProt.h>
11#include <MrProtSrv/Domain/MrProtData/MrProt/SeqIF/SeqExpo.h>
12#include <MrProtSrv/Domain/MrProtData/MrProt/SeqIF/SeqExpoRFBlockInfo.h>
25template<
typename TPulse>
26class SimpleRFPulse:
public RFPulse
30 SimpleRFPulse(SimpleRFPulse<TPulse>
const &) =
default;
31 SimpleRFPulse(SimpleRFPulse<TPulse> &&) =
default;
32 SimpleRFPulse<TPulse> & operator=(SimpleRFPulse<TPulse>
const &) =
default;
33 SimpleRFPulse<TPulse> & operator=(SimpleRFPulse<TPulse> &&) =
default;
34 virtual ~SimpleRFPulse() =
default;
79 std::string
ident()
const override;
88 MrProtocolData::SeqExpoRFInfo
rfInfo()
const override;
92 MrProt & protocol, SeqLim & limits, SeqExpo & exports)
override;
109#include "SimpleRFPulse.txx"
Encapsulation of a pair of NCO objects, setting and resetting the frequency and the phase of the NCO ...
Definition NCOPair.h:26
Type
Type of pulse, i.e. its role in the sequence.
Definition RFPulse.h:18
Type type() const override
Return the type of the RF pulse.
double flipAngle() const override
Return the flip angle (deg).
SimpleRFPulse< TPulse > & setAdditionalPhase(double additionalPhase) override
Set the additional phase of the RF pulse (deg).
SimpleRFPulse< TPulse > & setDuration(long duration) override
Set the duration of the RF pulse (µs).
long startTime() const override
Return the start time of the RF pulse (µs).
double _additionalPhase
Additional phase for the NCO.
Definition SimpleRFPulse.h:102
double gamma() const override
Return the gyromagnetic ratio of the current nucleus (MHz/T).
TPulse _rf
sRF_PULSE-derived object
Definition SimpleRFPulse.h:96
SimpleRFPulse< TPulse > & setIdent(std::string const &ident) override
Set the user-defined name of the RF pulse.
NLSStatus run(MrProt &protocol, SeqLim &limits, SeqExpo &exports) override
Run the RF pulse and the NCO.
long duration() const override
Return the duration of the RF pulse (µs).
SimpleRFPulse< TPulse > & setSamples(long samples) override
Set the number of discrete samples of the RF pulse.
SimpleRFPulse< TPulse > & setFlipAngle(double flipAngle) override
Set the flip angle (deg).
SimpleRFPulse< TPulse > & setInitialPhase(double initialPhase) override
Set the initial phase of the RF pulse (deg).
std::string ident() const override
Return the user-defined name of the RF pulse.
double additionalPhase() const override
Return the additional phase of the RF pulse (deg).
MrProtocolData::SeqExpoRFInfo rfInfo() const override
Return the RF information for SAR computation.
NCOPair _nco
NCO before and after this pulse.
Definition SimpleRFPulse.h:99
SimpleRFPulse< TPulse > & setType(Type type) override
Set the type of the RF pulse.
SimpleRFPulse< TPulse > & setStartTime(long startTime) override
Set the start time of the RF pulse (µs).
double initialPhase() const override
Return the initial phase of the RF pulse (deg).
long samples() const override
Return the number of discrete samples of the RF pulse.
Pre-defined RF pulses and pulse modifiers.
Definition External.h:21
Top-level namespace of the msl library.
Definition acceleration.h:17