|
@@ -57,7 +57,7 @@ def decode_data(data):
|
|
|
result[0::2, 4] = bunch_number[::4]
|
|
|
result[1::2, 4] = bunch_number[::4] + 1
|
|
|
|
|
|
- result = result[:184 * (math.floor(result.shape[0] / 184)), :]
|
|
|
+ result = result[:BUNCHES_PER_TURN * (math.floor(result.shape[0] / BUNCHES_PER_TURN)), :]
|
|
|
return result
|
|
|
|
|
|
def data_has_header(data):
|