seg-y文件的简单快速io
segyio的Python项目详细描述
简介
segyio是一个小型的lgpl许可的c库,可以方便地与seg y交互。 格式化的地震数据,带有python和matlab的语言绑定。Segyio是 尝试创建一个易于使用、可嵌入、面向社区的库 地震应用。根据需要添加功能;建议和 各种各样的贡献是非常受欢迎的。
功能摘要
- A low-level C interface with few assumptions; easy to bind to other languages.
- Read and write binary and textual headers.
- Read and write traces, trace headers.
- Easy to use and native-feeling python interface with numpy integration.
项目目标
segyio确实必然尝试结束seg-y交互作用; 相反,我们的目标是降低与seg-y文件交互的障碍 嵌入、新应用程序或独立程序。
此外,其目的并不是支持完整的标准或所有的异国情调(但是 正确)格式化的文件。做出了一些假设,例如:
- All traces in a file are assumed to be of the same sample size.
- It is assumed all lines have the same number of traces.
segyio中的编写功能主要是modify或adapt 文件夹。从头创建的文件不一定是to spec seg-y文件,因为 我们只需要编写segyio需要理解的头字段 几何学。仍然强烈建议维护seg-y文件,并 根据规范编写,但Segyio并不强制要求这样做。