1 #ifndef BALL_NMR_SHIFTMODEL1D_H
2 #define BALL_NMR_SHIFTMODEL1D_H
4 #ifndef BALL_NMR_SHIFTMODULE_H
8 #ifndef BALL_NMR_SPECTRUM_H
57 ShiftModel1D(
const String& filename,SPECTRUM_TYPE st,
double origin,
double dimension,
double spacing,
bool compute_shifts=
true);
78 void setFilename(
const String& filename)
85 return parameters_.getFilename();
97 const std::vector<Peak1D>& getPeaks()
const
104 void setPeaks(std::vector<Peak1D> peaks)
112 const double& getOrigin()
const
119 void setOrigin(
const double& origin)
126 const double& getDimension()
const
133 void setDimension(
const double& dimension)
135 dimension_ = dimension;
140 const double getSpacing()
const
169 bool isValid()
const;
198 throw(Exception::FileNotFound);
234 bool compute_shifts_;
242 #endif // BALL_NMR_SHIFTMODEL1D_H