5#include <vitrio/export.hpp>
81 std::uint64_t time_extent
84 friend
bool operator==(
89 return lhs.m_fraction_count == rhs.m_fraction_count;
92 friend bool operator!=(
101 std::size_t m_fraction_count;
How the time of an acquisition is cut into fractions.
Definition detector_event_fractionation.hpp:28
std::uint64_t get_fraction_begin(std::size_t fraction, std::uint64_t time_extent) const noexcept
Get the time a fraction begins at.
detector_event_fractionation(std::size_t fraction_count)
Construct a fractionation into a number of fractions.
static constexpr std::size_t max_fraction_count
The most fractions a fractionation may cut into.
Definition detector_event_fractionation.hpp:34
std::size_t get_fraction_count() const noexcept
Get how many fractions the time is cut into.