4#ifndef _c9329e06_87c5_414b_9794_1aa4bf381bf6
5#define _c9329e06_87c5_414b_9794_1aa4bf381bf6
7#include <MrProtSrv/Domain/CoreNative/SeqLim.h>
8#include <MrProtSrv/Domain/MrProtData/MrProt/MrProt.h>
9#include <MrProtSrv/Domain/MrProtData/MrProt/SeqIF/SeqExpo.h>
21template<
typename TPulse>
22class Selective:
public RFPulse
25 Selective() =
default;
26 Selective(Selective<TPulse>
const &) =
default;
27 Selective(Selective<TPulse> &&) =
default;
28 Selective<TPulse> & operator=(Selective<TPulse>
const &) =
default;
29 Selective<TPulse> & operator=(Selective<TPulse> &&) =
default;
30 ~Selective()
override =
default;
78 std::string
ident()
const override;
90 MrProtocolData::SeqExpoRFInfo
rfInfo()
const override;
102 TPulse
const &
rf()
const;
114 MrProt & protocol, SeqLim & limits, SeqExpo & exports)
override;
117 MrProt & protocol, SeqLim & limits, SeqExpo & exports)
override;
129#include "Selective.txx"
Trapezoidal or arbitrary gradient pulse on three axes.
Definition GradientPulse.h:21
Type
Type of pulse, i.e. its role in the sequence.
Definition RFPulse.h:18
sSLICE_POS const & slice() const
Return the slice used in prepare and run.
MrProtocolData::SeqExpoRFInfo rfInfo() const override
Return the RF information for SAR computation.
GradientPulse const & gradient() const
Return a reference to the child gradient pulse.
Selective< TPulse > & setAdditionalPhase(double additionalPhase) override
Set the additional phase of the RF pulse (deg).
Selective< TPulse > & setType(Type type) override
Set the type of the RF pulse.
NLSStatus run(MrProt &protocol, SeqLim &limits, SeqExpo &exports) override
Run the real-time events.
double initialPhase() const override
Return the initial phase of the RF pulse (deg).
NLSStatus prepare(MrProt &protocol, SeqLim &limits, SeqExpo &exports) override
Prepare the real-time events.
long startTime() const override
Return the start time of the gradient+RF pulse block (µs).
TPulse const & rf() const
Return a reference to the child RF pulse.
Type type() const override
Return the type of the RF pulse.
double thickness() const
Return the thickness.
double additionalPhase() const override
Return the additional phase of the RF pulse (deg).
long duration() const override
Return the duration of the gradient+RF pulse (µs).
Selective< 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.
Selective< TPulse > & setSlice(sSLICE_POS const &slice) override
Set the slice used in prepare and run.
Selective< TPulse > & setDuration(long duration) override
Set the duration of the gradient+RF pulse (µs).
Selective< TPulse > & setFlipAngle(double flipAngle) override
Set the flip angle (deg).
Selective< TPulse > & setIdent(std::string const &ident) override
Set the user-defined name of the RF pulse.
long samples() const override
Return the number of discrete samples of the RF pulse.
long peakTime() const override
Return the time of the RF peak amplitude (µs).
Selective< TPulse > & setRFDuration(long duration)
Set the duration of the RF pulse (µs).
double flipAngle() const override
Return the flip angle (deg).
double gamma() const override
Return the gyromagnetic ratio of the current nucleus (MHz/T).
Selective< TPulse > & setThickness(double thickness)
Set the thickness.
TPulse & rf()
Return a reference to the child RF pulse.
Selective< TPulse > & setSamples(long samples) override
Set the number of discrete samples of the RF pulse.
Selective< TPulse > & setStartTime(long startTime) override
Set the start time of the gradient+RF pulse block (µs).
Pre-defined RF pulses and pulse modifiers.
Definition External.h:21
Top-level namespace of the msl library.
Definition acceleration.h:17