pilot.h
1 /***************************************************************************
2  pilot.h - description
3  -------------------
4  begin : Tue Mar 14 2007
5  copyright : (C) 2000-2015 by Thies Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef RECOPILOT_H
19 #define RECOPILOT_H
20 
21 #include "step.h"
22 
23 class RecoPilot : public RecoStep {
24 
25  // implementing virtual functions of RecoStep
26  STD_string label() const {return "pilot";}
27  STD_string description() const {return "Modify geometry for pilot output";}
28  bool process(RecoData& rd, RecoController& controller);
29  RecoCoord input_coord() const {return RecoCoord::coord_with_mode(RecoIndex::collected,userdef,line3d,line,readout);}
30  void modify_coord(RecoCoord& coord) const {coord.set_mode(RecoIndex::separate,userdef).set_mode(RecoIndex::collected,repetition,slice);}
31  RecoStep* allocate() const {return new RecoPilot;}
32  void init();
33 
34 
35  void transpose_inplane(ComplexData<5>& data, Geometry& geo, bool reverse_read, bool reverse_phase);
36 
37  LDRfloat slicedist;
38 };
39 
40 
41 #endif
42 
RecoCoord & set_mode(RecoIndex::indexMode m, recoDim d1=n_recoDims, recoDim d2=n_recoDims, recoDim d3=n_recoDims, recoDim d4=n_recoDims, recoDim d5=n_recoDims, recoDim d6=n_recoDims, recoDim d7=n_recoDims, recoDim d8=n_recoDims)
Definition: index.h:238
static RecoCoord coord_with_mode(RecoIndex::indexMode m, recoDim d1=n_recoDims, recoDim d2=n_recoDims, recoDim d3=n_recoDims, recoDim d4=n_recoDims, recoDim d5=n_recoDims, recoDim d6=n_recoDims, recoDim d7=n_recoDims, recoDim d8=n_recoDims)
Definition: index.h:254
Geometry Settings.
Definition: geometry.h:179
pilot: Modify geometry for pilot output
Definition: pilot.h:23