Skip to content
Snippets Groups Projects
Commit 4bdd91bc authored by Karim Ahmed's avatar Karim Ahmed
Browse files

number of cells is maxcell+1 as memory cells starts from 0

parent 431e7e2b
Branches feat/dssc_deviation_memcells
No related tags found
1 merge request!927[DSSC][Dark][Correct] Remove options check for num_cells and move it into dssclib and add deviation
......@@ -16,7 +16,7 @@ def get_num_cells(fname, h5path):
if cells == []:
return
maxcell = np.max(cells)
return maxcell
return maxcell+1
def get_pulseid_checksum(fname, h5path, h5path_idx):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment