mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-11-19 00:04:04 +01:00
file reading
This commit is contained in:
1 parent
be019b9769
commit
f754e0f769
13 files changed
+84
-114
No files matched your search
+1
-1
@@ -382,7 +382,7 @@ void RawFile::write(Frame &frame, sls_detector_header header) {
|
||||
this->current_frame++;
|
||||
}
|
||||
|
||||
std::vector<Frame> RawFile::read(size_t n_frames) {
|
||||
std::vector<Frame> RawFile::read_n(size_t n_frames) {
|
||||
// TODO: implement this in a more efficient way
|
||||
std::vector<Frame> frames;
|
||||
for (size_t i = 0; i < n_frames; i++) {
|
||||
|
||||
Reference in new issue
Block a user