Mantid
Loading...
Searching...
No Matches
Framework
Algorithms
inc
MantidAlgorithms
MaxEnt
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
9
#include "
MantidAlgorithms/MaxEnt/MaxentSpace.h
"
10
#include "
MantidAlgorithms/MaxEnt/MaxentSpaceComplex.h
"
11
#include "
MantidAlgorithms/MaxEnt/MaxentTransformFourier.h
"
12
13
namespace
Mantid
{
14
namespace
Algorithms {
15
16
using
MaxentSpace_sptr
= std::shared_ptr<MaxentSpace>;
17
using
MaxentSpaceComplex_sptr
= std::shared_ptr<MaxentSpaceComplex>;
18
33
class
MANTID_ALGORITHMS_DLL
MaxentTransformMultiFourier
:
public
MaxentTransformFourier
{
34
public
:
35
// Deleted default constructor
36
MaxentTransformMultiFourier
() =
delete
;
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
46
private
:
47
MaxentSpace_sptr
m_dataSpace
;
48
MaxentSpace_sptr
m_imageSpace
;
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
MaxentSpaceComplex.h
MaxentSpace.h
MaxentTransformFourier.h
Mantid::Algorithms::MaxentTransformFourier
MaxentTransformFourier : Defines a transformation from data space to image space (and vice-versa) whe...
Definition
MaxentTransformFourier.h:18
Mantid::Algorithms::MaxentTransformMultiFourier
MaxentTransformMultiFourier : Defines a transformation from data space to image space (and vice-versa...
Definition
MaxentTransformMultiFourier.h:33
Mantid::Algorithms::MaxentTransformMultiFourier::m_constAdjustments
std::vector< double > m_constAdjustments
Definition
MaxentTransformMultiFourier.h:51
Mantid::Algorithms::MaxentTransformMultiFourier::m_imageSpace
MaxentSpace_sptr m_imageSpace
Definition
MaxentTransformMultiFourier.h:48
Mantid::Algorithms::MaxentTransformMultiFourier::m_dataSpace
MaxentSpace_sptr m_dataSpace
Definition
MaxentTransformMultiFourier.h:47
Mantid::Algorithms::MaxentTransformMultiFourier::m_linearAdjustments
std::vector< double > m_linearAdjustments
Definition
MaxentTransformMultiFourier.h:50
Mantid::Algorithms::MaxentTransformMultiFourier::MaxentTransformMultiFourier
MaxentTransformMultiFourier()=delete
Mantid::Algorithms::MaxentTransformMultiFourier::m_numSpec
size_t m_numSpec
Definition
MaxentTransformMultiFourier.h:49
Mantid::Algorithms::MaxentSpaceComplex_sptr
std::shared_ptr< Mantid::Algorithms::MaxentSpaceComplex > MaxentSpaceComplex_sptr
Definition
MaxentSpaceComplex.h:24
Mantid::Algorithms::MaxentSpace_sptr
std::shared_ptr< MaxentSpace > MaxentSpace_sptr
Definition
MaxentSpace.h:33
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8