Processing Functions

Distill provides analysts with three main processing functions: one function for searching UserALE logs and two functions that help to transform iterables into tuples. These functions are described below:

Transform

Distill’s transformation functions: pairwiseStag and pairwiseSeq, create tuples based on an iterable series or list. These tuples can then be used as edge lists. Example usages of both of these functions can be seen below:

test_list = [1, 2, 3, 4]

stag_result = distill.pairwiseStag(test_list)   # [(1, 2), (3, 4)]
seq_result = distill.pairwiseSeq(test_list)     # [(1, 2), (2, 3), (3, 4)]