Skip to content

Commit

Permalink
# On branch main
Browse files Browse the repository at this point in the history
# Your branch is up to date with 'origin/main'.
#
# Changes to be committed:
#	modified:   cpp/main.cpp
  • Loading branch information
nkarakatsanis committed Nov 18, 2023
1 parent ac1c3a3 commit 0111658
Show file tree
Hide file tree
Showing 7 changed files with 10,110 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ get_scanner_info(ScannerGeometry& scannerGeometry)
int n_rings = scannerGeometry.n_rings;
unsigned long NUMBER_OF_TOF_BINS = static_cast<unsigned long>(scannerGeometry.number_of_tof_bins);
unsigned long NUMBER_OF_ENERGY_BINS = static_cast<unsigned long>(scannerGeometry.number_of_energy_bins);
float energy_LLD = scannerGeometry.energy_LLD;
float energy_ULD =scannerGeometry.energy_ULD;
float arc_length = scannerGeometry.s_width * scannerGeometry.detector_y_dim / 2.0f;
float TxFOV = 2 * radius * sin (arc_length / (2 * radius) );

Expand Down Expand Up @@ -294,7 +296,7 @@ get_scanner_info(ScannerGeometry& scannerGeometry)
FArray1D::shape_type energy_bin_edges_shape = { NUMBER_OF_ENERGY_BINS + 1 };
FArray1D energy_bin_edges(energy_bin_edges_shape);
for (std::size_t i = 0; i < energy_bin_edges.size(); ++i) {
energy_bin_edges[i] = scannerGeometry.energy_LLD + i * (scannerGeometry.energy_ULD - scannerGeometry.energy_LLD) / NUMBER_OF_ENERGY_BINS;
energy_bin_edges[i] = energy_LLD + i * (energy_ULD - energy_LLD) / NUMBER_OF_ENERGY_BINS;
}
prd::ScannerInformation scanner_info;
scanner_info.detectors = detectors;
Expand Down
Binary file added data/azcopy.tar.gz
Binary file not shown.
9,426 changes: 9,426 additions & 0 deletions data/azcopy_linux_amd64_10.21.2/NOTICE.txt

Large diffs are not rendered by default.

Binary file added data/azcopy_linux_amd64_10.21.2/azcopy
Binary file not shown.
Binary file added data/root/Bin_ETSIPETscanner_INIT
Binary file not shown.
681 changes: 681 additions & 0 deletions data/root/Bin_ETSIPETscanner_INIT.c

Large diffs are not rendered by default.

Binary file added data/root/Bin_ETSIPETscanner_INITtest
Binary file not shown.

0 comments on commit 0111658

Please sign in to comment.