trappy.stats.Correlator module¶
The module responsible for correlation and related functionality
-
class
trappy.stats.Correlator.Correlator(first, second, **kwargs)[source]¶ Bases:
objectClass that allows to align and correlate two traces :param first: First Aggregator :type first:
trappy.stats.AggregatorParameters: second ( trappy.stats.Aggregator) – Second Aggregator-
correlate(level, resample=True)[source]¶ This function returns the correlation between two traces
Parameters: - level (str) – The level at which the correlation is required
- resample (bool) – Resample data
Returns: A normalized correlation value is returned for each group in the level
-
plot(level, per_line=3)[source]¶ Temporary function to plot data. Expected to be implemented in plotter
Parameters: - level (str) – Topological Level (level in
trappy.stats.Topology) - per_line (int) – Number of plots per line
- level (str) – Topological Level (level in
-