mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-21 19:27:58 +02:00
merge numpy changes with project structure
This commit is contained in:
@ -56,3 +56,23 @@ template <> TimingMode StringTo(std::string);
|
||||
|
||||
using DataTypeVariants = std::variant<uint16_t, uint32_t>;
|
||||
|
||||
|
||||
struct RawFileConfig {
|
||||
int module_gap_row{};
|
||||
int module_gap_col{};
|
||||
|
||||
bool operator==(const RawFileConfig &other) const {
|
||||
if (module_gap_col != other.module_gap_col)
|
||||
return false;
|
||||
if (module_gap_row != other.module_gap_row)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
const char little_endian_char = '<';
|
||||
const char big_endian_char = '>';
|
||||
const char no_endian_char = '|';
|
||||
|
||||
const std::array<char, 3> endian_chars = {little_endian_char, big_endian_char, no_endian_char};
|
||||
const std::array<char, 4> numtype_chars = {'f', 'i', 'u', 'c'};
|
Reference in New Issue
Block a user