Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

speed up resolution matrix-vector multiplies #318

Open
sbailey opened this issue Sep 3, 2024 · 0 comments
Open

speed up resolution matrix-vector multiplies #318

sbailey opened this issue Sep 3, 2024 · 0 comments

Comments

@sbailey
Copy link
Collaborator

sbailey commented Sep 3, 2024

See desihub/fastspecfit#181 which "Reimplement[s] enough of desispec.resolution.Resolution to perform matrix-vector operations, which is all we do with it, with a significant speedup via Numba compared to the scipy.sparse implementation."

Redrock doesn't directly use desispec.resolution.Resolution in order to avoid a desispec dependency in the core code, but it is still based upon scipy.sparse, including caching of various underlying formats for optimization. This might be even faster. Consider whether any of this fastspecfit PR could/should be ported to Redrock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant