Nested median filtering for detecting T-wave offset in ECGs | Synapse