signal amplitude of the cells in the group: 26262626Video signal amplitude of the cells in the groupsignal amplitude of the cells in the group: 24242424
import numpy as np
low = 0amplitude= np.array([0.1, -0.2, 0.2, 1.1, 0.9, 0.8, 0.98, 0.2, 0.1, -0.1])
new_amplitude_1 = [low if a<threshold else high for a in amplitude<