stuliveshere / PySeis

Pure python seismic data processing
http://stuliveshere.github.io/PySeis
MIT License
68 stars 20 forks source link

Example usage of notebooks/wiggle.py #2

Closed snitramodranoel closed 7 years ago

snitramodranoel commented 8 years ago

Hi, I have been trying to understand your wiggle.py implementation of wiggle charts since I've reached this source code from a post on StackExchange. I was wondering if you could add a small dataset (two traces would do it) so that I could inspect the contents of the frame input argument to wiggle().

Thank you very much.

stuliveshere commented 7 years ago

the dataset is an SU (seismic unix) which has been directly mapped into numpy using a numpy structured array defined in PySeis.su.

but for this case you can hack a dtype directly, since the array only has 2 fields

Hope that helps.

snitramodranoel commented 7 years ago

It helps a lot @stuliveshere

Thank you very much.