stuliveshere / PySeis

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

Stu #4

Closed stuliveshere closed 7 years ago

stuliveshere commented 7 years ago

removed container.su, and folded the streaming class into su.py for now.

updated the streaming class so the iterated object is a data object containing the gather, as well as its source mask and a save function.

updated tests to reflect the new methodology

new methodology:

        data = Stream(input, output)
        for gather in data:
            gather['trace'] *= 10 # do something to the gather
            gather.save() # save

will probably have to separate IO from the chunker at some point.