ODIN
|
Acquisition. More...
#include <seqacq.h>
Public Member Functions | |
SeqAcq (const STD_string &object_label, unsigned int nAcqPoints, double sweepwidth, float os_factor=1.0, const STD_string &nucleus="", const dvector &phaselist=0, const dvector &freqlist=0) | |
SeqAcq (const SeqAcq &sa) | |
SeqAcq (const STD_string &object_label="unnamedSeqAcq") | |
~SeqAcq () | |
SeqAcq & | set_npts (unsigned int nAcqPoints) |
double | get_sweep_width () const |
SeqAcq & | operator= (const SeqAcq &sa) |
void | set_kspace_traj (const farray &kspaceTraj) |
void | set_weight_vec (const cvector &weightVec) |
SeqAcq & | set_rel_center (double relative_kspace_center) |
const kSpaceCoord & | get_kcoord () const |
double | get_acquisition_duration () const |
double | get_acquisition_center () const |
double | get_acquisition_start () const |
unsigned int | get_npts () const |
SeqAcqInterface & | set_sweepwidth (double sw, float os_factor) |
double | get_sweepwidth () const |
float | get_oversampling () const |
SeqAcqInterface & | set_readout_shape (const fvector &shape, unsigned int dstsize) |
SeqAcqInterface & | set_reco_vector (recoDim dim, const SeqVector &vec, const dvector &valvec=dvector()) |
SeqAcqInterface & | set_default_reco_index (recoDim dim, unsigned int index) |
SeqAcqInterface & | set_reflect_flag (bool flag) |
STD_string | get_program (programContext &context) const |
double | get_duration () const |
SeqValList | get_freqvallist (freqlistAction action) const |
void | query (queryContext &context) const |
RecoValList | get_recovallist (unsigned int reptimes, LDRkSpaceCoords &coords) const |
unsigned int | event (eventContext &context) const |
STD_string | get_properties () const |
Public Member Functions inherited from SeqAcqInterface | |
virtual SeqAcqInterface & | set_template_type (templateType type) |
Public Member Functions inherited from SeqFreqChanInterface | |
operator const SeqVector & () const | |
virtual SeqFreqChanInterface & | set_encoding_scheme (encodingScheme scheme) |
virtual SeqFreqChanInterface & | set_reorder_scheme (reorderScheme scheme, unsigned int nsegments=1) |
virtual const SeqVector & | get_reorder_vector () const |
virtual SeqFreqChanInterface & | set_phaselist_encoding_scheme (encodingScheme scheme) |
virtual SeqFreqChanInterface & | set_phaselist_reorder_scheme (reorderScheme scheme, unsigned int nsegments=1) |
virtual const SeqVector & | get_phaselist_reorder_vector () const |
SeqFreqChanInterface & | set_freqoffset (double freqoffset) |
SeqFreqChanInterface & | set_phase (double phaseval) |
SeqFreqChanInterface & | set_phasespoiling (unsigned int size=80, double incr=117.0, double offset=0.0) |
Public Member Functions inherited from SeqClass | |
SeqClass & | set_temporary () |
Public Member Functions inherited from Labeled | |
Labeled (const STD_string &label="unnamed") | |
Labeled & | set_label (const STD_string &label) |
const STD_string & | get_label () const |
Labeled & | operator= (const Labeled &l) |
Public Member Functions inherited from SeqTreeObj | |
bool | contains (const SeqTreeObj *sto) const |
void | tree (SeqTreeCallbackAbstract *display) const |
virtual SeqValList | get_delayvallist () const |
virtual double | get_rf_energy () const |
Public Member Functions inherited from SeqFreqChan | |
SeqFreqChan (const STD_string &object_label="unnamedSeqFreqChan") | |
SeqFreqChan (const STD_string &object_label, const STD_string &nucleus, const dvector &freqlist=0, const dvector &phaselist=0) | |
SeqFreqChan (const SeqFreqChan &sfc) | |
virtual | ~SeqFreqChan () |
SeqFreqChan & | operator= (const SeqFreqChan &sfc) |
int | get_channel () const |
dvector | get_freqlist () const |
double | get_phase () const |
virtual double | get_frequency () const |
unsigned int | get_phaselistindex () const |
virtual unsigned int | get_freqlistindex () const |
STD_string | get_iteratorcommand (objCategory cat) const |
SeqFreqChanInterface & | set_nucleus (const STD_string &nucleus) |
SeqFreqChanInterface & | set_freqlist (const dvector &freqlist) |
SeqFreqChanInterface & | set_phaselist (const dvector &phaselist) |
const SeqVector & | get_freqlist_vector () const |
const SeqVector & | get_phaselist_vector () const |
unsigned int | get_vectorsize () const |
bool | prep_iteration () const |
bool | is_qualvector () const |
svector | get_vector_commands (const STD_string &iterator) const |
Public Member Functions inherited from SeqVector | |
SeqVector (const STD_string &object_label="unnamedSeqVector") | |
SeqVector (const STD_string &object_label, unsigned int nindices, int slope=1, int offset=0) | |
SeqVector (const SeqVector &sv) | |
virtual | ~SeqVector () |
SeqVector & | operator= (const SeqVector &sv) |
virtual unsigned int | get_numof_iterations () const |
virtual bool | needs_unrolling_check () const |
virtual int | get_current_index () const |
int | get_acq_index () const |
virtual bool | is_acq_vector () const |
virtual bool | is_obj_vector () const |
virtual STD_string | get_loopcommand () const |
SeqVector & | set_indexvec (const ivector &iv) |
ivector | get_indexvec () const |
SeqVector & | set_reorder_scheme (reorderScheme scheme, unsigned int nsegments=1) |
SeqVector & | set_encoding_scheme (encodingScheme scheme) |
const SeqVector & | get_reorder_vector () const |
virtual nestingRelation | get_nesting_relation () const |
iarray | get_index_matrix () const |
int | get_current_reord_index () const |
STD_string | get_reord_iterator (const STD_string &iterator) const |
Friends | |
class | SeqMethod |
Additional Inherited Members | |
Protected Member Functions inherited from SeqClass | |
void | marshall_error () const |
virtual void | clear_container () |
Protected Member Functions inherited from SeqFreqChan | |
bool | prep () |
Protected Member Functions inherited from SeqVector | |
virtual svector | get_reord_vector_commands (const STD_string &iterator) const |
bool | is_handled () const |
Static Protected Member Functions inherited from SeqClass | |
static void | clear_temporary () |
static void | clear_containers () |
SeqAcq::SeqAcq | ( | const STD_string & | object_label, |
unsigned int | nAcqPoints, | ||
double | sweepwidth, | ||
float | os_factor = 1.0 , |
||
const STD_string & | nucleus = "" , |
||
const dvector & | phaselist = 0 , |
||
const dvector & | freqlist = 0 |
||
) |
Constructs an acquisition window labeled 'object_label' with the following properties:
SeqAcq::SeqAcq | ( | const SeqAcq & | sa | ) |
Constructs an acquisition window which is a copy of 'sa'
SeqAcq::SeqAcq | ( | const STD_string & | object_label = "unnamedSeqAcq" | ) |
Constructs an empty acquisition window with the given label.
SeqAcq::~SeqAcq | ( | ) |
Destructor
|
virtual |
Queries the sequence tree for events, returns the number of events executed
Reimplemented from SeqTreeObj.
|
virtual |
Returns the the duration from the the beginnig of the acquisition object to the middle of the acquisition window.
Reimplemented from SeqAcqInterface.
|
inlinevirtual |
Returns the duration of the acquisition window without padding delays.
Reimplemented from SeqAcqInterface.
|
inlinevirtual |
Returns the the duration from the the beginnig of the acquisition object to the beginnig of the acquisition window (the point of time where data starts to be acquired).
Reimplemented from SeqAcqInterface.
|
virtual |
Returns the duration of the sequence object.
Implements SeqTreeObj.
|
virtual |
Returns the list of frequency values in the objects branch of the sequence tree
Reimplemented from SeqTreeObj.
const kSpaceCoord& SeqAcq::get_kcoord | ( | ) | const |
Returns the k-space index of this ADCs
|
inlinevirtual |
Returns the total number of sampling points, without oversampling
Reimplemented from SeqAcqInterface.
|
inlinevirtual |
Returns the oversampling factor
Reimplemented from SeqAcqInterface.
|
virtual |
Returns the part in the pulse/gradient program of this sequence object. 'context' holds data about how the program should be generated, e.g. type of program and formatting.
Reimplemented from SeqTreeObj.
|
virtual |
Returns a string describing the object
Reimplemented from SeqTreeObj.
|
virtual |
Appends the k-space coordinates in this branch of the sequence tree to 'coords' and returns their ordering
Reimplemented from SeqTreeObj.
|
inline |
|
inlinevirtual |
Returns the sweepwidth factor
Reimplemented from SeqAcqInterface.
This assignment operator will make this object become an exact copy of 'sa'.
|
inlinevirtual |
Query the sequence tree recursively
Reimplemented from SeqTreeObj.
|
virtual |
Sets the default value 'index' for the reco index in dimension 'dim'. This is relevant for automatic reconstruction.
Reimplemented from SeqAcqInterface.
void SeqAcq::set_kspace_traj | ( | const farray & | kspaceTraj | ) |
Specifies a an explicit k-space Trajectory for this ADC (for automatic reconstruction)
SeqAcq& SeqAcq::set_npts | ( | unsigned int | nAcqPoints | ) |
Sets the number of sampling points that will be acquired during the acquisition
|
virtual |
Specifies a regridding matrix for this ADC (for automatic reconstruction)
Reimplemented from SeqAcqInterface.
|
virtual |
Specifies a vector 'vec' which indexes the data dimension 'dim'. The current index for each acquisition is retrieved from the vector. This is relevant for automatic reconstruction. An additional vector 'valvec' of double values can be given, which is attached to this dimension, e.g. different TEs in the echo dimension.
Reimplemented from SeqAcqInterface.
|
inlinevirtual |
Specifies whether the data points should be reversed, only relevant for automatic reconstruction
Reimplemented from SeqAcqInterface.
|
inline |
Sets the relative point in time (between 0 and 1) when k-space center is passed, the default is 0.5. Will be used in get_acquisition_center().
|
virtual |
Sets the sweepwidth 'sw' without oversampling and oversampling factor 'os_factor' for this acquisition object, os_factor=1 means no oversampling.
Reimplemented from SeqAcqInterface.
void SeqAcq::set_weight_vec | ( | const cvector & | weightVec | ) |
Specifies a complex vector which is is used to weight each point in this ADC (for automatic reconstruction)