msl 1.3.0
Loading...
Searching...
No Matches
msl::samplings::Cartesian Class Reference

Detailed Description

Cartesian sampling with an iPAT mask (used in Image-only mode if iPAT is disabled).

#include <Cartesian.h>

Public Types

using Pointer = std::shared_ptr<Cartesian>
 Reference-counted pointer to Cartesian.
using ConstPointer = std::shared_ptr<Cartesian const>
 Reference-counted constant pointer to Cartesian.
Public Types inherited from msl::Sampling
using Pointer = std::shared_ptr<Sampling>
 Reference-counted pointer to Sampling.
using ConstPointer = std::shared_ptr<Sampling const>
 Reference-counted constant pointer to Sampling.

Public Member Functions

 Cartesian (Cartesian const &)=default
 Cartesian (Cartesian &&)=default
Cartesian & operator= (Cartesian const &)=default
Cartesian & operator= (Cartesian &&)=default
double phase () const override
 Return the phase of the NCO during the readout.
Cartesian & setPhase (double phase) override
 Set the phase of the NCO during the readout.
long contrast () const override
 Return the contrast number.
Cartesian & setContrast (long contrast) override
 Set the contrast number.
long timeOffset () const override
 Return the time offset to get the effective echo time, accounting e.g. for the time of the excitation pulse peak.
Cartesian & setTimeOffset (long timeOffset) override
 Set the time offset to get the effective echo time, accounting e.g. for the time of the excitation pulse peak.
GradientSpecs const & gradientSpecs () const override
 Return the gradient specifications constraining the read-out duration.
Cartesian & setGradientSpecs (GradientSpecs const &gradientSpecs) override
 Set the gradient specifications constraining the read-out duration.
iPATMask const & mask () const
 Return the iPAT mask.
Cartesian & setMask (iPATMask const &mask)
 Set the iPAT mask.
iPATMask::Points enabledPoints () const
 Return the enabled points of the mask.
double relativeStart () const
 Return the starting point in the relative k-space (i.e. normalized between -1 and +1).
Cartesian & setRelativeStart (double relativeStart)
 Set the starting point in the relative k-space (i.e. normalized between -1 and +1).
NLSStatus prepare (MrProt &protocol, SeqLim &limits, SeqExpo &exports) override
 Prepare the real-time events.
NLSStatus run (MrProt &protocol, SeqLim &limits, SeqExpo &exports) override
 Run the real-time events.
long startTime () const override
 Return the start time of the events.
long endTime () const override
 Return the end time of the events.
MrProtocolData::SeqExpoRFInfo rfInfo () const override
 Return the RF information for SAR computation.
NLSStatus updateReadout (MrProt &protocol, SeqLim &limits, SeqExpo &exports) override
 Update the readout with respect to index so that a subsequent call to readout() returns a readout matching the index.
readouts::Linear const & readout () const override
 Return a reference to the concrete readout.
Public Member Functions inherited from msl::Sampling
 Sampling (Sampling const &)=default
 Sampling (Sampling &&)=default
Sampling & operator= (Sampling const &)=default
Sampling & operator= (Sampling &&)=default
std::size_t index () const
 Return the index of the current trajectory.
Sampling & setIndex (std::size_t index)
 Set the index of the current trajectory.
std::size_t size () const
 Return the number of trajectories.
Public Member Functions inherited from msl::RealTimeEvents
 RealTimeEvents ()
 No-op constructor.
 RealTimeEvents (RealTimeEvents const &)=default
 RealTimeEvents (RealTimeEvents &&)=default
RealTimeEventsoperator= (RealTimeEvents const &)=default
RealTimeEventsoperator= (RealTimeEvents &&)=default
sSLICE_POS const & slice () const
 Return the slice used in prepare and run.
virtual RealTimeEventssetSlice (sSLICE_POS const &slice)
 Set the slice used in prepare and run.

Additional Inherited Members

Protected Attributes inherited from msl::Sampling
std::size_t _size
 Number of items in the Sampling.
std::size_t _index
 Index of the current item.
Protected Attributes inherited from msl::RealTimeEvents
sSLICE_POS _slice
 Slice specifications attached to this real time object.

Member Function Documentation

◆ phase()

double msl::samplings::Cartesian::phase ( ) const
overridevirtual

Return the phase of the NCO during the readout.

Implements msl::Sampling.

◆ setPhase()

Cartesian & msl::samplings::Cartesian::setPhase ( double phase)
overridevirtual

Set the phase of the NCO during the readout.

Implements msl::Sampling.

◆ contrast()

long msl::samplings::Cartesian::contrast ( ) const
overridevirtual

Return the contrast number.

Implements msl::Sampling.

◆ setContrast()

Cartesian & msl::samplings::Cartesian::setContrast ( long contrast)
overridevirtual

Set the contrast number.

Implements msl::Sampling.

◆ timeOffset()

long msl::samplings::Cartesian::timeOffset ( ) const
overridevirtual

Return the time offset to get the effective echo time, accounting e.g. for the time of the excitation pulse peak.

Implements msl::Sampling.

◆ setTimeOffset()

Cartesian & msl::samplings::Cartesian::setTimeOffset ( long timeOffset)
overridevirtual

Set the time offset to get the effective echo time, accounting e.g. for the time of the excitation pulse peak.

Implements msl::Sampling.

◆ gradientSpecs()

GradientSpecs const & msl::samplings::Cartesian::gradientSpecs ( ) const
overridevirtual

Return the gradient specifications constraining the read-out duration.

Implements msl::Sampling.

◆ setGradientSpecs()

Cartesian & msl::samplings::Cartesian::setGradientSpecs ( GradientSpecs const & gradientSpecs)
overridevirtual

Set the gradient specifications constraining the read-out duration.

Implements msl::Sampling.

◆ prepare()

NLSStatus msl::samplings::Cartesian::prepare ( MrProt & protocol,
SeqLim & limits,
SeqExpo & exports )
overridevirtual

Prepare the real-time events.

Implements msl::RealTimeEvents.

◆ run()

NLSStatus msl::samplings::Cartesian::run ( MrProt & protocol,
SeqLim & limits,
SeqExpo & exports )
overridevirtual

Run the real-time events.

Implements msl::RealTimeEvents.

◆ startTime()

long msl::samplings::Cartesian::startTime ( ) const
overridevirtual

Return the start time of the events.

Implements msl::RealTimeEvents.

◆ endTime()

long msl::samplings::Cartesian::endTime ( ) const
overridevirtual

Return the end time of the events.

Implements msl::RealTimeEvents.

◆ rfInfo()

MrProtocolData::SeqExpoRFInfo msl::samplings::Cartesian::rfInfo ( ) const
overridevirtual

Return the RF information for SAR computation.

Implements msl::RealTimeEvents.

◆ updateReadout()

NLSStatus msl::samplings::Cartesian::updateReadout ( MrProt & protocol,
SeqLim & limits,
SeqExpo & exports )
overridevirtual

Update the readout with respect to index so that a subsequent call to readout() returns a readout matching the index.

Implements msl::Sampling.

◆ readout()

readouts::Linear const & msl::samplings::Cartesian::readout ( ) const
overridevirtual

Return a reference to the concrete readout.

Implements msl::Sampling.


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