Skip to content
Snippets Groups Projects
Commit f2de0be6 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

exempt from Swig

parent d951b4f5
No related branches found
No related tags found
1 merge request!1299decisive simplification of scan resolution evaluation
......@@ -33,9 +33,8 @@ AlphaScan::AlphaScan(double wavelength, const IAxis& alpha_axis)
}
AlphaScan::AlphaScan(double wavelength, int nbins, double alpha_i_min, double alpha_i_max)
: ISpecularScan(new FixedBinAxis(
FixedScanAxis("alpha_i", nbins, alpha_i_min, alpha_i_max))
, wavelength)
: ISpecularScan(new FixedBinAxis(FixedScanAxis("alpha_i", nbins, alpha_i_min, alpha_i_max)),
wavelength)
, m_lambda_distrib(scanEmptyResolution())
, m_alpha_distrib(scanEmptyResolution())
{
......
......@@ -49,13 +49,13 @@ public:
virtual std::string resolutionFactoryName() const = 0;
virtual double delta() const = 0;
#endif // SWIG
protected:
IScanResolution();
IScanResolution(const IRangedDistribution& distr);
private:
std::unique_ptr<IRangedDistribution> m_distr; //!< basic distribution function
#endif // SWIG
};
IScanResolution* scanRelativeResolution(const IRangedDistribution& distr, double stddev);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment