Mantid
Loading...
Searching...
No Matches
Framework
WorkflowAlgorithms
inc
MantidWorkflowAlgorithms
EQSANSInstrument.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2018 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
//----------------------------------------------------------------------
10
// Includes
11
//----------------------------------------------------------------------
12
#include "
MantidAPI/MatrixWorkspace_fwd.h
"
13
14
namespace
Mantid
{
15
namespace
WorkflowAlgorithms {
16
namespace
EQSANSInstrument {
21
const
double
default_slit_positions
[3][8] = {{5.0, 10.0, 10.0, 15.0, 20.0, 20.0, 25.0, 40.0},
22
{0.0, 10.0, 10.0, 15.0, 15.0, 20.0, 20.0, 40.0},
23
{0.0, 10.0, 10.0, 15.0, 15.0, 20.0, 20.0, 40.0}};
24
25
double
readInstrumentParameter
(
const
std::string ¶meter,
const
API::MatrixWorkspace_sptr
&dataWS);
26
int
getDetectorFromPixel
(
const
int
&pixel_x,
const
int
&pixel_y,
const
API::MatrixWorkspace_sptr
&dataWS);
27
void
getCoordinateFromPixel
(
const
double
&pixel_x,
const
double
&pixel_y,
const
API::MatrixWorkspace_sptr
&dataWS,
28
double
&
x
,
double
&
y
);
29
void
getPixelFromCoordinate
(
const
double
&
x
,
const
double
&
y
,
const
API::MatrixWorkspace_sptr
&dataWS,
double
&pixel_x,
30
double
&pixel_y);
31
void
getDefaultBeamCenter
(
const
API::MatrixWorkspace_sptr
&dataWS,
double
&pixel_x,
double
&pixel_y);
32
33
}
// namespace EQSANSInstrument
34
}
// namespace WorkflowAlgorithms
35
}
// namespace Mantid
MatrixWorkspace_fwd.h
Mantid::API::MatrixWorkspace_sptr
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Definition
MatrixWorkspace.h:585
Mantid::Geometry::y
I a m y
Definition
SpaceGroupFactory.cpp:674
Mantid::Geometry::x
I a m x
Definition
SpaceGroupFactory.cpp:674
Mantid::WorkflowAlgorithms::EQSANSInstrument::getDefaultBeamCenter
void getDefaultBeamCenter(const API::MatrixWorkspace_sptr &dataWS, double &pixel_x, double &pixel_y)
Definition
EQSANSInstrument.cpp:76
Mantid::WorkflowAlgorithms::EQSANSInstrument::readInstrumentParameter
double readInstrumentParameter(const std::string ¶meter, const API::MatrixWorkspace_sptr &dataWS)
File change history is stored at: https://github.com/mantidproject/mantid Code Documentation is avail...
Definition
EQSANSInstrument.cpp:26
Mantid::WorkflowAlgorithms::EQSANSInstrument::getDetectorFromPixel
int getDetectorFromPixel(const int &pixel_x, const int &pixel_y, const API::MatrixWorkspace_sptr &dataWS)
Definition
EQSANSInstrument.cpp:36
Mantid::WorkflowAlgorithms::EQSANSInstrument::getPixelFromCoordinate
void getPixelFromCoordinate(const double &x, const double &y, const API::MatrixWorkspace_sptr &dataWS, double &pixel_x, double &pixel_y)
Definition
EQSANSInstrument.cpp:62
Mantid::WorkflowAlgorithms::EQSANSInstrument::default_slit_positions
const double default_slit_positions[3][8]
File change history is stored at: https://github.com/mantidproject/mantid Code Documentation is avail...
Definition
EQSANSInstrument.h:21
Mantid::WorkflowAlgorithms::EQSANSInstrument::getCoordinateFromPixel
void getCoordinateFromPixel(const double &pixel_x, const double &pixel_y, const API::MatrixWorkspace_sptr &dataWS, double &x, double &y)
Definition
EQSANSInstrument.cpp:45
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8