#include <PowderPattern.h>
Inheritance diagram for ObjCryst::PowderPatternBackground::
Public Methods | |
PowderPatternBackground () | |
PowderPatternBackground (const PowderPatternBackground &) | |
virtual | ~PowderPatternBackground () |
virtual const string | GetClassName () const |
Name for this class ("RefinableObj", "Crystal",...). This is only useful to distinguish different classes when picking up objects from the RefinableObj Global Registry. | |
virtual void | SetParentPowderPattern (const PowderPattern &) |
Set the PowderPattern object which uses this component. This sets all necessary spectrum parameters (2theta range, wavelength, radiation type...) accordingly. | |
virtual const CrystVector_double & | GetPowderPatternCalc () const |
Get the calculated powder spectrum for this component. Note that the spectrum is not scaled. | |
void | ImportUserBackground (const string &filename) |
Import background points from a file (with two columns 2theta, intensity). | |
void | SetUseFastLessPreciseFunc (const bool useItOrNot) |
Use faster, less precise functions ? Good for global optimizations. Currently does nothing. | |
virtual void | SetUseOnlyLowAngleData (const bool useOnlyLowAngle, const double angle=0) |
Set an option so that only low-angle reflections (theta < angle) are used. See DiffractionData::mUseOnlyLowAngleData
| |
virtual void | XMLOutput (ostream &os, int indent=0) const |
Output to stream in well-formed XML. More... | |
virtual void | XMLInput (istream &is, const XMLCrystTag &tag) |
Input From stream. More... | |
Protected Methods | |
virtual void | CalcPowderPattern () const |
Calc the powder spectrum. As always, recomputation is only done if necessary (ie if a parameter has changed since the last computation). | |
virtual void | SetRadiation (const Radiation &rad) |
Set the radiation. This is called by PowderPattern. | |
virtual void | Prepare () |
This will be called by the parent PowderPattern object, before calculating the first powder spectrum. Or maybe it should be called automatically by the object itself... | |
Protected Attributes | |
PowderBackgroundInterpType | mBackgroundType |
The kind of interpolation used. | |
int | mBackgroundNbPoint |
Number of fitting points for background. | |
CrystVector_double | mBackgroundInterpPoint2Theta |
Vector of 2theta values for the fitting points of the background. | |
CrystVector_double | mBackgroundInterpPointIntensity |
Values of background at interpolating points. | |
RefinableObjClock | mClockBackgroundPoint |
Modification of the interpolated points. | |
RefinableObjClock | mClockBackgroundSpline |
Last time Splines were generated. | |
bool | mUseOnlyLowAngleData |
Use only low-angle data ? \deprecated. | |
double | mUseOnlyLowAngleDataLimit |
Limit (theta angle, in radian) for the above option. \deprecated. | |
Friends | |
class | PowderPattern |
|
Input From stream.
Reimplemented from ObjCryst::RefinableObj. |
|
Output to stream in well-formed XML.
Reimplemented from ObjCryst::RefinableObj. |