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>
79 std::string
ident()
const override;
88 MrProtocolData::SeqExpoRFInfo
rfInfo()
const override;
92 MrProt & protocol, SeqLim & limits, SeqExpo & exports)
override;
97 double _additionalPhase;
104#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
Base class for RF pulses.
Definition RFPulse.h:14
Type
Type of pulse, i.e. its role in the sequence.
Definition RFPulse.h:18
RF pulse composed of a simple sRF_PULSE-derived object and an NCO.
Definition SimpleRFPulse.h:27
SimpleRFPulse< TPulse > & operator=(SimpleRFPulse< TPulse > &&)=default
SimpleRFPulse< TPulse > & operator=(SimpleRFPulse< TPulse > const &)=default
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 gamma() const override
Return the gyromagnetic ratio of the current nucleus (MHz/T)
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.
SimpleRFPulse(SimpleRFPulse< TPulse > const &)=default
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.
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)
SimpleRFPulse(SimpleRFPulse< TPulse > &&)=default
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.
virtual ~SimpleRFPulse()=default
Top-level namespace of the msl library.
Definition acceleration.h:17