22 : m_wavelength(wavelength)
24 , m_z_positions(z_positions)
25 , m_calculation_flag(true)
28 throw std::runtime_error(
29 "Error in DepthProbeElement::DepthProbeElement: z positions are not specified");
34 : m_wavelength(other.m_wavelength)
35 , m_alpha_i(other.m_alpha_i)
36 , m_intensities(other.m_intensities)
37 , m_z_positions(other.m_z_positions)
38 , m_calculation_flag(other.m_calculation_flag)
43 : m_wavelength(other.m_wavelength)
44 , m_alpha_i(other.m_alpha_i)
45 , m_intensities(std::move(other.m_intensities))
46 , m_z_positions(other.m_z_positions)
47 , m_calculation_flag(other.m_calculation_flag)
Defines class DepthProbeElement.
kvector_t vecOfLambdaAlphaPhi(double _lambda, double _alpha, double _phi)
void swap(OutputDataIterator< TValue, TContainer > &left, OutputDataIterator< TValue, TContainer > &right)
make Swappable
const IAxis * m_z_positions
positions (lower z corresponds to a greater depth)
void swapContent(DepthProbeElement &other)
double m_alpha_i
the wavelength and the incident angle of the beam
DepthProbeElement(double wavelength, double alpha_i, const IAxis *z_positions)
std::valarray< double > m_intensities
simulated intensity for the set of z positions
DepthProbeElement & operator=(const DepthProbeElement &other)
Interface for one-dimensional axes.
virtual size_t size() const =0
retrieve the number of bins