WIP: modified timecorr.py for Iqs