// Copyright (2019-2023) Paul Scherrer Institute #ifndef JUNGFRAUJOCH_AZIMUTHALINTEGRATIONMAPPING_H #define JUNGFRAUJOCH_AZIMUTHALINTEGRATIONMAPPING_H #include #include "../common/DiffractionExperiment.h" class AzimuthalIntegrationMapping { const double low_q, high_q, q_spacing; std::vector bin_to_q; std::vector pixel_to_bin_raw; uint16_t max_bin_number; public: AzimuthalIntegrationMapping(const DiffractionExperiment& experiment); [[nodiscard]] uint16_t GetBinNumber() const; [[nodiscard]] const std::vector& GetPixelToBinMappingRaw() const; [[nodiscard]] const std::vector &GetBinToQ() const; [[nodiscard]] double QToBin(double q) const; }; #endif //JUNGFRAUJOCH_AZIMUTHALINTEGRATIONMAPPING_H