Skip to content

Conversation

@nordme
Copy link
Contributor

@nordme nordme commented Jun 30, 2021

@larsoner np.polyfit was deprecated when I tried to use the realign function to sync our eeg / meg data. This is an update to use the Polynomial.fit method suggested by Numpy in the deprecation warning. Take a look and see what you think.

@larsoner
Copy link
Member

larsoner commented Jul 1, 2021

LGTM, can you add a latest.inc entry in the enhancements section mentioning this code update?

@nordme
Copy link
Contributor Author

nordme commented Jul 1, 2021

Yup, I will add a latest.inc entry. Q: I see the mne-tools.mne-python check failed because of timing out, but from the error message I don't understand why it took so long. What's up with that?

@larsoner
Copy link
Member

larsoner commented Jul 1, 2021

That build times out but that should be fixed by #9518. If you rebase or merge your branch with upstream/main it should be fixed

@larsoner larsoner merged commit 2e200aa into mne-tools:main Jul 2, 2021
@larsoner
Copy link
Member

larsoner commented Jul 2, 2021

Thanks @nordme !

larsoner added a commit to larsoner/mne-python that referenced this pull request Jul 6, 2021
* upstream/main:
  MAINT: Avoid VTK 9.0.2 [skip actions] [skip circle] (mne-tools#9530)
  MRG: Test get_montage on fNIRS data (mne-tools#9524)
  FIX: fix topo plot when large channel distance gives rise to invalid values for arcsin (mne-tools#9528)
  use Polynomial.fit for poly fitting (mne-tools#9514)
larsoner added a commit to larsoner/mne-python that referenced this pull request Jul 6, 2021
* upstream/main:
  MRG, ENH: Abstracted volume registration again (mne-tools#9521)
  MAINT: Avoid VTK 9.0.2 [skip actions] [skip circle] (mne-tools#9530)
  MRG: Test get_montage on fNIRS data (mne-tools#9524)
  FIX: fix topo plot when large channel distance gives rise to invalid values for arcsin (mne-tools#9528)
  use Polynomial.fit for poly fitting (mne-tools#9514)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants