A Python Library for Trace Analysis