Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

vectorization of the interpolation in PyGSM2016 #7

Open
steven-murray opened this issue Aug 14, 2017 · 1 comment
Open

vectorization of the interpolation in PyGSM2016 #7

steven-murray opened this issue Aug 14, 2017 · 1 comment

Comments

@steven-murray
Copy link
Contributor

The 2008 maps have vectorized interpolation (i.e. there's no loop through each frequency in the generate() function). However, the 2016 generate() method does this loop. I feel like this is unnecessarily inefficient, but wasn't game to fix it up myself without a better knowledge of exactly what's going on in the loop.

Is there a reason it has been done differently? If not, would you like me to have a go at vectorizing it?

@telegraphic
Copy link
Owner

Hey @steven-murray - you are most welcome to give it a whirl 👍

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

No branches or pull requests

2 participants