From dan at mccloy.info Mon Apr 22 17:47:08 2024 From: dan at mccloy.info (Dan McCloy) Date: Mon, 22 Apr 2024 21:47:08 +0000 Subject: [Mne_analysis] MNE-Python 1.7 released Message-ID: External Email - Use Caution Hello friends and fans of MNE-Python! I'm happy to announce that last Friday we released MNE-Python 1.7. Welcome and thanks to new contributors Alexander Kiefer, Balasubramanian T K, Hasrat Ali Arzoo, Ivo de Jong, Martin Oberg, Motofumi Fushimi, Nabil Alibou, Nikolai Kapralov, Richard Scholz, Seyed (Yahya) Shirazi, Velu Prabhakar Kumaravel, and Will Turner! Notable changes include: - You can now reject epochs using callable functions - STCs can be exported as GIfTI files using new .save_as_surface() method - STCs now have methods for filtering (including SavGol and Hilbert) and a generic "apply_function" method - equalize_epoch_counts() now works on EpochsTFR objects - interpolate_bads() now works with ECoG and sEEG channels - New option for polyphase resampling in resample() methods - New RawTFR class, and new methods Raw.compute_tfr(), Epochs.compute_tfr(), and Evoked.compute_tfr() - Fix to minimum-phase filtering where the filter was too short by half (causing poor attenuation) - Various improvements to the Neuralynx, CNT, KIT, EEGLAB, EDF/GDF, SNIRF, and EyeLink file readers - the addition of type hints to some of our functions and classes. This requires no changes to your scripts, but will allow some IDEs to do a better job on things like tab completion and error detection while you're coding. So far just a few functions have it (e.g., raw_raw and read_evokeds) but adding more and more type hints will be an ongoing effort for the next couple release cycles. Full release notes are here: https://secure-web.cisco.com/1cjMMawRlp4lUcv_klbTKgnhrqvEkH9zqmfF1FelUneNRWe3hOi_M3qTVizpy5DvOdPEeE8pqS3sxr6aifzimSF4FThH5KYsvagF0w8AprUmcDjn6UCK19dChmJ1aBWdeLPPaoqROHmU8A81cwr3mfuvUOVBZuqfE6YDxk0YLKoWgJf8lP32fuJ3UIVJ9dASU-aKCLRF7h52Gw5BOgV-WEbfwzbrhmQE9hA8ZBe69lnn9Xk1wR81jtJuBOGZk8jDbxtN8L8asMl4eImUrEMRdMaabZrkdZt9LxMZX8mOKXAh3laW88RoZKa-4HunmacVlhdC1AFkxiisIm-FkwrUa1A/https%3A%2F%2Fmne.tools%2Fdev%2Fchanges%2Fv1.7.html -- dan Daniel McCloy https://secure-web.cisco.com/1xtGMs4FFVSlai_VYXhcfiNlc5chcAWeAPu443x00_Su-1I6YnOpbqYoACV6wMjAij24uo2GTJ_b9oXv_k-FqGoDBwSuqeYcv8PXuVBqzUUVwtcxi_4jSlmtrxzGzG3_AF1xn5OqUAr_SW7YxbTCkyHvF8klm3ADbQFkLgr7nJZ2_OUv2Ror4Bc0QmhkYo6R3qo0YGvynJFOXt7KAJyJepQ5KuLysneSD09yh5LJ7ZbH7WMU8YCbqt-EN_bnmesb4vx_Jy2FMk3LB4ijBIiyabLXA87WNM6VOOjfp1ZEVbGwz_kAohEcPRq1SebLJ37OJ4myiVOr6fofdxwyk3QYl1A/https%3A%2F%2Fdan.mccloy.info Research Scientist Institute for Learning and Brain Sciences University of Washington