</pre>
Now, <code>tempTracesHW[y]</code> is a list of all of the traces with an intermediate Hamming weight of <code>y</code>. As our last step, let's turn this into a list of NumPy array arrays to make the math easier in the rest of the tutorial:
<pre>
tempTracesHW = [np.array(tempTracesHW[HW])for HW in range(9)]
</pre>