Skip to content

Commit ee655c7

Browse files
Georg SchrammGeorg Schramm
authored andcommitted
correct number of symmetry groups
1 parent 113947b commit ee655c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/simulate_block_scanner_listmode_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def module_pair_eff_from_sgd(i_sgd: int) -> float:
469469
sgid = sgid_from_module_pair(bp[0], bp[1], num_blocks)
470470
module_pair_sgid_lut[bp[0], bp[1]] = sgid
471471

472-
num_SGIDs = module_pair_sgid_lut.max() - 1
472+
num_SGIDs = module_pair_sgid_lut.max() + 1
473473

474474
num_el_per_module = proj.lor_descriptor.scanner.num_lor_endpoints_per_module[0]
475475

0 commit comments

Comments
 (0)