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

Support n-dimensional coordinates in scatter_points #196

Open
santisoler opened this issue Jul 23, 2019 · 1 comment
Open

Support n-dimensional coordinates in scatter_points #196

santisoler opened this issue Jul 23, 2019 · 1 comment
Labels
enhancement Idea or request for a new feature

Comments

@santisoler
Copy link
Member

Description of the desired feature

Similarly to #138, verde.scatter_points assumes that region is [W, E, S, N], producing a random scatter set of points in 2D. Currently it only allows to add extra dimensions through the extra_coords argument, although they will have constant values.
Would be nice that verde.scatter_points allows a more general region and returns random n-dimensional coordinates.

For example:

import verde as vd

easting, northing, vertical = vd.scatter_points(
    region=[-100, 100, -100, 100, 10, 50], size=1000
)

This would be useful when working with harmonic functions, where each data point is given by three dimensional coordinates.

Are you willing to help implement and maintain this feature? Yes

@leouieda leouieda added the enhancement Idea or request for a new feature label Jul 23, 2019
@leouieda
Copy link
Member

👍 thanks for opening this! It would be good to have this kind of support on all coordinate generation functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Idea or request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants