pyecsca.sca.trace.combine module

Provides functions for combining traces sample-wise.

average(*traces)[source]

Average traces, sample-wise.

Parameters:

traces (Trace) –

Return type:

CombinedTrace

Returns:

conditional_average(*traces, condition)[source]

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

Parameters:
Return type:

CombinedTrace

Returns:

standard_deviation(*traces)[source]

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

Parameters:

traces (Trace) –

Return type:

CombinedTrace

Returns:

variance(*traces)[source]

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

Parameters:

traces (Trace) –

Return type:

CombinedTrace

Returns:

average_and_variance(*traces)[source]

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

Parameters:

traces

Return type:

Tuple[CombinedTrace, CombinedTrace]

Returns:

add(*traces)[source]

Add traces, sample-wise.

Parameters:

traces (Trace) –

Return type:

CombinedTrace

Returns:

subtract(one, other)[source]

Subtract other from one, sample-wise.

Parameters:
Return type:

CombinedTrace

Returns: