Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Pull Request
This PR introduces the following changes:
Sophiread
now process an input tpx3 file chunk by chunk.EWM item: Defect 7012
Purpose of work
The raw tpx3 file collected with VENUS tpx3 detector is a lot larger than those from HFIR, and the system is not capable of store all bytes in its ram for processing, hence the chunked processing is necessary.
Summary of work
N/A
Additional detail of work
N/A
Testing instructions
ctest -V --output-on-failure
./Sophiread -i data/HV2700_1500_500_THLrel_274_sophy_chopper_60Hz_4.1mm_aperture_siemen_star_120s_000000.tpx3 -v
./Sophiread -i data/HV2700_1500_500_THLrel_274_sophy_chopper_60Hz_4.1mm_aperture_siemen_star_120s_000000.tpx3 -H hits.h5 -E neutrons.h5 -c 10 -v
./Sophiread -i data/HV2700_1500_500_THLrel_274_sophy_chopper_60Hz_4.1mm_aperture_siemen_star_120s_000000.tpx3 -c 10 -T tiff_out -v