Time-frequency analysis through Stockwell transform
copied from cf-staging / stockwellPython package for time-frequency analysis through Stockwell transform. Based on original code from NIMH MEG Core Facility (https://kurage.nimh.nih.gov/meglab/Meg/Stockwell).