Detector Geometry customization
This commit is contained in:
@@ -227,7 +227,7 @@ TEST_CASE("JFjochZstdCompressor_Frame_ones","[ZSTD]") {
|
||||
}
|
||||
|
||||
TEST_CASE("JFJochCompressor_JFJochDecompressor_ZSTD","[ZSTD]") {
|
||||
DiffractionExperiment x(2, {4,4}, 8, 36);
|
||||
DiffractionExperiment x(DetectorGeometry(8, 2, 8, 36));
|
||||
x.Compression(JFJochProtoBuf::BSHUF_ZSTD).Summation(34);
|
||||
|
||||
std::vector<int32_t> image(x.GetPixelsNum());
|
||||
@@ -249,7 +249,7 @@ TEST_CASE("JFJochCompressor_JFJochDecompressor_ZSTD","[ZSTD]") {
|
||||
}
|
||||
|
||||
TEST_CASE("JFJochCompressor_JFJochDecompressor_LZ4","[ZSTD]") {
|
||||
DiffractionExperiment x(2, {4,4}, 8, 36);
|
||||
DiffractionExperiment x(DetectorGeometry(8, 2, 8, 36));
|
||||
x.Compression(JFJochProtoBuf::BSHUF_LZ4).Summation(45);
|
||||
|
||||
std::vector<int32_t> image(x.GetPixelsNum());
|
||||
@@ -271,7 +271,7 @@ TEST_CASE("JFJochCompressor_JFJochDecompressor_LZ4","[ZSTD]") {
|
||||
}
|
||||
|
||||
TEST_CASE("JFJochDecompressor_None","[ZSTD]") {
|
||||
DiffractionExperiment x(2, {4,4}, 8, 36);
|
||||
DiffractionExperiment x(DetectorGeometry(8, 2, 8, 36));
|
||||
x.Compression(JFJochProtoBuf::NO_COMPRESSION).Summation(45);
|
||||
|
||||
std::vector<int32_t> image(x.GetPixelsNum());
|
||||
|
||||
Reference in New Issue
Block a user