Mantid
Loading...
Searching...
No Matches
AttenuationProfile.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2020 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "MantidKernel/DllConfig.h"
11#include <vector>
12
13namespace Mantid {
14namespace Kernel {
15
16class Material;
17
18class MANTID_KERNEL_DLL AttenuationProfile {
19public:
21 AttenuationProfile(const std::string &inputFileName, const std::string &searchPath,
22 Material *extrapolationMaterial = nullptr, double extrapolationMaxX = 100);
23 double getAttenuationCoefficient(const double x) const;
24
25 void setAttenuationCoefficient(const double x, const double atten);
26
27private:
29};
30
31} // namespace Kernel
32} // namespace Mantid
Provide interpolation over a series of points.
Definition: Interpolation.h:29
A material is defined as being composed of a given element, defined as a PhysicalConstants::NeutronAt...
Definition: Material.h:50
Helper class which provides the Collimation Length for SANS instruments.