Hello, I’m trying to demonstrate the welch t-test for aes 128 in chipwhisperer. Is there any way to calculate the variance and the sample mean of the traces in my script? How could that be done? Do I have to load the commands in python console or there is another way?

Can anyone help me?

I would appreciate it a lot!!