Feature extraction code my Device Analyzer workshop entry.