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

Detailed Description

Stack-of-stars sampling scheme in the (kx, ky) plane using full spokes.

#include <StackOfStars.h>

Public Types

enum  Mode { Regular , GoldenAngle }
 Angle increment between two spokes.
using Pointer = std::shared_ptr<StackOfStars>
 Reference-counted pointer to StackOfStars.
using ConstPointer = std::shared_ptr<StackOfStars const>
 Reference-counted constant pointer to StackOfStars.
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

 StackOfStars (StackOfStars const &)=default
 StackOfStars (StackOfStars &&)=default
StackOfStars & operator= (StackOfStars const &)=default
StackOfStars & operator= (StackOfStars &&)=default
Mode const & mode () const
 Return how the angle is incremented between two spokes.
StackOfStars & setMode (Mode mode)
 Set how the angle is incremented between two spokes.
unsigned int const & tinyGoldenAngle () const
 Return which golden angle is used in GoldenAngle mode.
StackOfStars & setTinyGoldenAngle (unsigned int tiny)
 Set which golden angle is used in GoldenAngle mode (1 for "regular") golden angle.
double phase () const override
 Return the phase of the NCO during the readout.
StackOfStars & setPhase (double phase) override
 Set the phase of the NCO during the readout.
long contrast () const override
 Return the contrast number.
StackOfStars & 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.
StackOfStars & 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.
StackOfStars & setGradientSpecs (GradientSpecs const &gradientSpecs) override
 Set the gradient specifications constraining the read-out duration.
uint16_t spokes () const
 Return the number of spokes per partition.
StackOfStars & setSpokes (uint16_t spokes)
 Set the number of spokes per partition.
double relativeStart () const
 Return the starting point along the spoke in the relative k-space (i.e. normalized between -1 and +1).
StackOfStars & setRelativeStart (double relativeStart)
 Set the starting point along the spoke in the relative k-space (i.e. normalized between -1 and +1).
iPATMask const & mask () const
 Return the iPAT mask.
StackOfStars & setMask (iPATMask const &mask)
 Set the iPAT mask.
iPATMask::Points enabledPoints () const
 Return the enabled points of the mask.
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::StackOfStars::phase ( ) const
overridevirtual

Return the phase of the NCO during the readout.

Implements msl::Sampling.

◆ setPhase()

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

Set the phase of the NCO during the readout.

Implements msl::Sampling.

◆ contrast()

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

Return the contrast number.

Implements msl::Sampling.

◆ setContrast()

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

Set the contrast number.

Implements msl::Sampling.

◆ timeOffset()

long msl::samplings::StackOfStars::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()

StackOfStars & msl::samplings::StackOfStars::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::StackOfStars::gradientSpecs ( ) const
overridevirtual

Return the gradient specifications constraining the read-out duration.

Implements msl::Sampling.

◆ setGradientSpecs()

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

Set the gradient specifications constraining the read-out duration.

Implements msl::Sampling.

◆ spokes()

uint16_t msl::samplings::StackOfStars::spokes ( ) const

Return the number of spokes per partition.

Note
The spoke index is stored in the MDH, and hence limited to a uint16

◆ prepare()

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

Prepare the real-time events.

Implements msl::RealTimeEvents.

◆ run()

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

Run the real-time events.

Implements msl::RealTimeEvents.

◆ startTime()

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

Return the start time of the events.

Implements msl::RealTimeEvents.

◆ endTime()

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

Return the end time of the events.

Implements msl::RealTimeEvents.

◆ rfInfo()

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

Return the RF information for SAR computation.

Implements msl::RealTimeEvents.

◆ updateReadout()

NLSStatus msl::samplings::StackOfStars::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::StackOfStars::readout ( ) const
overridevirtual

Return a reference to the concrete readout.

Implements msl::Sampling.


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