prospector icon indicating copy to clipboard operation
prospector copied to clipboard

Optimize SpecModel predictions

Open bd-j opened this issue 4 years ago • 1 comments

There are a number of potential inefficiencies in SpecModel.predict(), including multiple calls to functions that might not be cheap, reading emline_info from disk every call, and linear algebra operations on sparse matrices.

Also, add a public method to return emission line luminosities.

bd-j avatar Nov 02 '20 14:11 bd-j

Some of this was fixed by #219 (e.g. the emline_info caching) but there are still some linear algebra operations that might be made more robust or faster.

bd-j avatar Nov 04 '21 17:11 bd-j