decoding of old Moench03

This commit is contained in:
Erik Fröjdh
2024-10-31 11:53:24 +01:00
parent ae1166b908
commit 563c39c0dd
6 changed files with 66 additions and 15 deletions

View File

@ -1,8 +1,11 @@
#pragma once
#include "aare/Frame.hpp"
#include "aare/NDArray.hpp" //for pixel map
#include "aare/FileInterface.hpp"
#include "aare/SubFile.hpp"
#include <optional>
namespace aare {
struct ModuleConfig {
@ -37,6 +40,7 @@ class RawFile : public FileInterface {
//Stuff that we might need with Ctb files
uint32_t m_analog_samples{};
uint32_t m_digital_samples{};
public:
/**

View File

@ -5,7 +5,8 @@
#include <cstdint>
#include <filesystem>
#include <map>
#include <variant>
#include <optional>
namespace aare {
@ -72,6 +73,8 @@ class SubFile {
std::string m_mode;
size_t n_frames{};
int m_sub_file_index_{};
DetectorType m_detector_type;
std::optional<NDArray<size_t, 2>> pixel_map;
};
} // namespace aare