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();
135 dimension_ = dimension;
169 bool isValid()
const;
198 throw(Exception::FileNotFound);
234 bool compute_shifts_;
242 #endif // BALL_NMR_SHIFTMODEL1D_H
const double & getOrigin() const
#define BALL_CREATE(name)
void setPeaks(std::vector< Peak1D > peaks)
const double getSpacing() const
const System * getSystem() const
std::istream & operator>>(std::istream &is, TRegularData1D< ValueType > &grid)
Input operator.
void setOrigin(const double &origin)
const double & getDimension() const
const String & getFilename() const
void setSystem(System *system)
const Parameters & getParameters() const
void setDimension(const double &dimension)
const std::vector< Peak1D > & getPeaks() const