Skip to content

Allow users to save time and memory computing Q-scans

Duncan Macleod requested to merge github/fork/alurban/qscan-logf into develop

Created by: alurban

This PR gives users the option to sample Q-scan spectrograms logarithmically in frequency, so that they can render Qscan plots more quickly (and using less memory) by invoking Spectrogram.pcolormesh() with a much smaller input array.

Other memory-saving changes in this PR include:

  • Define an ndarray x-index proxy for interpolating Q-tiles, as this will use less memory than explicit calls to series.times
  • Add a unit test for the logf=True use case
  • Minor tweaks to unit tests affected by these changes

cc @duncanmmacleod, @areeda, @tjma12

Merge request reports