jason-neal / spectrum_overload

An astronomy spectrum class with overloaded math operators.

Home Page:http://spectrum-overload.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MemoryError during Spectrum divide

jason-neal opened this issue · comments

When Dividing a spectrum with length 1024 with a spectrum of length ~30000 I got a MemoryError inside the _prepare_other() method when doing the interpolation.

It might be to do with the interpolation method. I should add attributes for the interpolation method into the Spectrum class to be able to change them inside the operators.

In the same line of code I was getting this MemoryError I am getting dead jupyter notebook kernel on linux.
Most likely related issues

Added a check for this error in 91120b8bf8. Wasn't found so must have fixed it.