librosa icon indicating copy to clipboard operation
librosa copied to clipboard

Note to update for scipy 1.10

Open bmcfee opened this issue 3 years ago • 3 comments

This is just a general place-holder note to look through the scipy 1.10 release notes for functionality that we should make use of (if not depend on).

There appear to be relevant additions to the interpolate and signal modules, but we should investigate closely before the 0.10 release over here.

bmcfee avatar Dec 12 '22 12:12 bmcfee

Some notes:

  • updates to regulargridinterpolator could be relevant for #1422
  • scipy.signal has lanczos window now, we should add it to the collection

bmcfee avatar Dec 12 '22 16:12 bmcfee

Removing the 0.10 milestone here - adaptive specshow is not on the roadmap for now, and lanczos will work out of the box when scipy 1.10 final drops. All that we'd gain by explicitly storing the window bandwidth is a miniscule runtime improvement in rare circumstances, so it's not at all urgent.

bmcfee avatar Dec 15 '22 12:12 bmcfee

Looking through scipy release notes, some other things we might want to look at:

  • scipy 1.10 added bounds constraints for optimze.least_squares; could be worth testing this against our lbfgs-based non-negative least squares implementation
  • scipy 1.11 will have target axes for ndimage, might save us some axes swapping headaches

bmcfee avatar Jun 20 '23 15:06 bmcfee

Dropping this from the 0.10.2 milestone. I've skimmed through librosa and I don't think there's much to do, at least until we revisit the adaptive specshow idea. Closing this out.

bmcfee avatar Mar 15 '24 20:03 bmcfee