Mantid
Loading...
Searching...
No Matches
MaxentTransformMultiFourier.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2016 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
12
13namespace Mantid {
14namespace Algorithms {
15
16using MaxentSpace_sptr = std::shared_ptr<MaxentSpace>;
17using MaxentSpaceComplex_sptr = std::shared_ptr<MaxentSpaceComplex>;
18
33class MANTID_ALGORITHMS_DLL MaxentTransformMultiFourier : public MaxentTransformFourier {
34public:
35 // Deleted default constructor
37 // Constructor
38 MaxentTransformMultiFourier(const MaxentSpaceComplex_sptr &dataSpace, MaxentSpace_sptr imageSpace, size_t numSpec);
39 // Transfoms form image space to data space
40 std::vector<double> imageToData(const std::vector<double> &image) override;
41 // Transforms from data space to image space
42 std::vector<double> dataToImage(const std::vector<double> &data) override;
43 // Set the adjustments to be applie to data when converted from image
44 void setAdjustments(const std::vector<double> &linAdj, const std::vector<double> &constAdj);
45
46private:
49 size_t m_numSpec;
50 std::vector<double> m_linearAdjustments;
51 std::vector<double> m_constAdjustments;
52};
53
54} // namespace Algorithms
55} // namespace Mantid
MaxentTransformFourier : Defines a transformation from data space to image space (and vice-versa) whe...
MaxentTransformMultiFourier : Defines a transformation from data space to image space (and vice-versa...
std::shared_ptr< Mantid::Algorithms::MaxentSpaceComplex > MaxentSpaceComplex_sptr
std::shared_ptr< MaxentSpace > MaxentSpace_sptr
Definition: MaxentSpace.h:33
Helper class which provides the Collimation Length for SANS instruments.