// // C++ Implementation: brukerobject // // Description: // // // Author: , (C) 2008 // // Copyright: See COPYING file that comes with this distribution // // #include "brukerkspaceobject.h" bool BrukerKspaceObject::FillWithObject(BrukerDataSet DataSet, int ObjectNumber) { std::string TempString; std::vector< int > TempVectInt; std::vector TempVectDouble; TempString="ACQ_abs_time"; if (DataSet.CheckExistKeyword(TempString)) { setAbsoluteTimePosition ( DataSet.BrukerHeaderMap[TempString].GetIntValue()[0] ); } else return false; TempString="ACQ_phase_factor"; if (DataSet.CheckExistKeyword(TempString)) { setACQ_phase_factor(DataSet.BrukerHeaderMap[TempString].GetIntValue()[0]); } else return false; TempString="ACQ_dim"; if (DataSet.CheckExistKeyword(TempString)) { setDimension(DataSet.BrukerHeaderMap[TempString].GetIntValue()[0]); } else return false; TempString="ACQ_size"; if (DataSet.CheckExistKeyword(TempString)){ for (int i=0;i