kgullikson88 / Telluric-Fitter

Telluric fitting made easy
http://telfit.readthedocs.org/en/latest/
MIT License
20 stars 17 forks source link

SciPy.mat is obsolete #57

Closed StuartLittlefair closed 2 months ago

StuartLittlefair commented 7 months ago

Used in the line below, and perhaps others, scipy.mat is no longer present in SciPy v12.

https://github.com/kgullikson88/Telluric-Fitter/blob/7ae98db278525e157d2d0abaf4697e2fe778d6bc/src/TelluricFitter.py#L62

This function is just an alias for numpy.asmatrix so a drop-in replacement of from numpy import asmatrix as mat should be an easy fix

kgullikson88 commented 3 months ago

Thanks for pointing this out and identifying the fix. Please make a quick PR with the change