msl 1.1.0
 
Loading...
Searching...
No Matches
acceleration.h
Go to the documentation of this file.
1// Copyright 2025 Julien Lamy, ICube, Université de Strasbourg-CNRS.
2// Part of msl, distributed under the terms of the MIT license.
3
4#ifndef _3e91812a_1e69_4274_8f5d_7cb89668771a
5#define _3e91812a_1e69_4274_8f5d_7cb89668771a
6
7#include <MrMeasSrv/MeasUtils/NLSStatus.h>
8#include <MrMeasSrv/SeqIF/MDH/MdhProxy.h>
9
10#include <MrProtSrv/Domain/CoreNative/SeqLim.h>
11#include <MrProtSrv/Domain/MrProtData/MrProt/MrProt.h>
12#include <MrProtSrv/Domain/MrProtData/MrProt/SeqIF/SeqExpo.h>
13
14#include "Mask.h"
15
16namespace msl
17{
18
23namespace acceleration
24{
25
27NLSStatus check(MrProt & protocol, SeqLim const & limits);
28
34 MrProt const & protocol,
35 Mask & mask, Mask & referenceScans, Mask & imageScans);
36
39 MrProt const & protocol,
40 Mask::Points const & runPoints, Mask::Points const & referencePoints,
41 SeqExpo & exports);
42
45 MrProt const & protocol, Mask const & referenceScans,
46 Mask const & imageScans, Mask::Point const & index, MdhProxy & mdh);
47
48}
49
50}
51
52#endif // _3e91812a_1e69_4274_8f5d_7cb89668771a
A two dimensional mask.
Definition Mask.h:18
std::vector< Point > Points
Definition Mask.h:25
Vector2l Point
2D point, as (column, row)
Definition Mask.h:21
Set of helpers to deal with accelerated imaging (partial Fourier, iPAT, etc.)
Definition acceleration.h:24
void updateMask(MrProt const &protocol, Mask &mask, Mask &referenceScans, Mask &imageScans)
Set (as a logical and) the elliptical scanning, partial Fourier and iPAT masks.
void updateMDH(MrProt const &protocol, Mask const &referenceScans, Mask const &imageScans, Mask::Point const &index, MdhProxy &mdh)
Update the iPAT-related fields in MdhProxy.
void updateExports(MrProt const &protocol, Mask::Points const &runPoints, Mask::Points const &referencePoints, SeqExpo &exports)
Update the iPAT-related fields in SeqExpo.
NLSStatus check(MrProt &protocol, SeqLim const &limits)
Check the iPAT-related constraints.
Definition acceleration.h:17