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

Can the data block be read as a whole instead of on a trace-by-trace base? #50

Open
shandou opened this issue Jul 17, 2017 · 1 comment

Comments

@shandou
Copy link

shandou commented Jul 17, 2017

Thanks for making this package available! For a multichannel shot gather, is there a more vectorized method already in the package to read the data block as a whole (n_samples x n_traces matrix) instead of using trace_sample() to read the data trace by trace?

@rob-smallshire
Copy link
Contributor

Sorry for the delay in replying. There is some experimental code in the segpy_numpy extension package. In particular the code in https://github.com/sixty-north/segpy/blob/master/segpy-ext/segpy_numpy/segpy_numpy/extract.py might be of interest, together with the example in https://github.com/sixty-north/segpy/blob/master/segpy-ext/segpy_numpy/examples/inline.py

Note that this code is experimental and very much a work in progress.

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

No branches or pull requests

2 participants