1 #ifndef BALL_NMR_EMPIRICALHSSHIFTPROCESSOR_H
2 #define BALL_NMR_EMPIRICALHSSHIFTPROCESSOR_H
4 #ifndef BALL_MATHS_CUBICSPLINE2D_H
8 #ifndef BALL_MATHS_CUBICSPLINE1D_H
13 #ifndef BALL_FORMAT_GENERICMOLFILE_H
17 #ifndef BALL_NMR_SHIFT_MODULE_H
21 #ifndef BALL_KERNEL_EXPRESSION_H
25 #ifndef BALL_DATATYPE_OPTIONS_H
47 static const
int VERBOSITY_LEVEL_CRITICAL;
48 static const
int VERBOSITY_LEVEL_DEBUG;
142 virtual bool start();
176 virtual bool finish();
187 void setDefaultOptions();
223 bool computeProperties_(
Atom* atom, std::set<String> properties);
236 std::pair<float, String> operator [] (
const String& property_name);
242 static bool isDiscrete(
String property);
247 static bool isMixed(
String property);
259 float getChiAngle_(
Residue* residue);
260 float getChi2Angle_(
Residue* residue);
261 char getAminoAcid_(
Residue* residue);
262 char getSecondaryStructure_(
Residue* residue);
263 float getHA_HBondLen_(
Residue* residue);
264 float getHA2_HBondLen_(
Residue* residue);
265 float getHN_HBondLen_(
Residue* residue);
266 float getO_HBondLen_(
Residue* residue);
267 bool hasDisulfidBond_(
Residue* residue);
268 bool hasHA_HBond_(
Residue* residue);
269 bool hasHA2_HBond_(
Residue* residue);
270 bool hasHN_HBond_(
Residue* residue);
271 bool hasO_HBond_(
Residue* residue);
285 typedef std::map<String, std::map<String, float> >
tabletype;
337 throw(Exception::FileNotFound);
357 bool isvalid(){
return !invalid_;}
365 float getTableAverage_();
368 float getTableRowAverage_(
const std::map<String, float>& row);
371 float getTableColumnAverage_(
const String& name);
377 bool tableHasColumn_(
const String& name) ;
401 void convertToReal_(
const vector<String>& input, vector<float>& output);
406 void setType_(
String firstproperty,
String secondproperty);
417 std::map <String, CubicSpline1D >
s1d_;
419 std::map <String, std::map<String, float> >
table_;
499 void printParameters_();
500 void printTargets_();
507 void postprocessing_();
514 #endif // BALL_NMR_EMPIRICALHSSHIFTPROCESSOR_H