mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-14 16:27:14 +02:00
Feature/reactivate python bindings (#74)
major changes: - add python bindings for all c++ features except network_io - changes to cross compile on windows,linux and macos - fix bugs with cluster_finder - use Dtype in Frame instead of bitdepth - remove boost::program_options and replace with our implementation - add Transforms class that applies a sequence of functions (c++ or python functions) on a Frame. - remove frame reorder and flip from SubFile.cpp. use Transforms instead - Test clusterFinder and Pedestal results in comparison with slsDetectorCalibration --------- Co-authored-by: Bechir <bechir.brahem420@gmail.com> Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
This commit is contained in:
@ -33,9 +33,9 @@ int main() {
|
||||
config.max_frames_per_file = 100;
|
||||
config.rows = 1024;
|
||||
config.cols = 512;
|
||||
config.dtype = aare::DType::UINT16;
|
||||
config.dtype = aare::Dtype::UINT16;
|
||||
File file2(path2, "w", config);
|
||||
Frame frame(1024, 512, 16);
|
||||
Frame frame(1024, 512, aare::Dtype::UINT16);
|
||||
|
||||
for (int i = 0; i < 1024; i++) {
|
||||
for (int j = 0; j < 512; j++) {
|
||||
|
Reference in New Issue
Block a user