pyecsca.sca.trace.combine module

Provides functions for combining traces sample-wise.

pyecsca.sca.trace.combine.average(*traces)[source]

Average traces, sample-wise.

Parameters:

traces (Trace) –

Return type:

CombinedTrace

Returns:

pyecsca.sca.trace.combine.conditional_average(*traces, condition)[source]

Average traces for which the condition is True, sample-wise.

Parameters:
Return type:

CombinedTrace

Returns:

pyecsca.sca.trace.combine.standard_deviation(*traces)[source]

Compute the sample standard-deviation of the traces, sample-wise.

Parameters:

traces (Trace) –

Return type:

CombinedTrace

Returns:

pyecsca.sca.trace.combine.variance(*traces)[source]

Compute the sample variance of the traces, sample-wise.

Parameters:

traces (Trace) –

Return type:

CombinedTrace

Returns:

pyecsca.sca.trace.combine.average_and_variance(*traces)[source]

Compute the average and sample variance of the traces, sample-wise.

Parameters:

traces

Return type:

Tuple[CombinedTrace, CombinedTrace]

Returns:

pyecsca.sca.trace.combine.add(*traces)[source]

Add traces, sample-wise.

Parameters:

traces (Trace) –

Return type:

CombinedTrace

Returns:

pyecsca.sca.trace.combine.subtract(one, other)[source]

Subtract other from one, sample-wise.

Parameters:
Return type:

CombinedTrace

Returns: