{"id":40584006,"url":"https://github.com/analysiscenter/segfast","last_synced_at":"2026-01-21T02:38:54.669Z","repository":{"id":151175010,"uuid":"603026723","full_name":"analysiscenter/segfast","owner":"analysiscenter","description":"Interacting with SEG-Y storage of seismic data","archived":false,"fork":false,"pushed_at":"2025-07-01T10:27:38.000Z","size":7837,"stargazers_count":23,"open_issues_count":2,"forks_count":9,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-01T11:35:53.720Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://analysiscenter.github.io/segfast/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/analysiscenter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-17T13:18:27.000Z","updated_at":"2025-05-02T14:43:45.000Z","dependencies_parsed_at":"2024-09-09T20:44:41.493Z","dependency_job_id":null,"html_url":"https://github.com/analysiscenter/segfast","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/analysiscenter/segfast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analysiscenter%2Fsegfast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analysiscenter%2Fsegfast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analysiscenter%2Fsegfast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analysiscenter%2Fsegfast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/analysiscenter","download_url":"https://codeload.github.com/analysiscenter/segfast/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analysiscenter%2Fsegfast/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28623738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"online","status_checked_at":"2026-01-21T02:00:08.227Z","response_time":86,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-21T02:38:54.161Z","updated_at":"2026-01-21T02:38:54.664Z","avatar_url":"https://github.com/analysiscenter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# SEGFAST\n\n\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e • \u003ca href=\"#benchmarks\"\u003eBenchmarks\u003c/a\u003e • \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n\n[![License](https://img.shields.io/github/license/analysiscenter/batchflow.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![Python](https://img.shields.io/badge/python-3.8-blue.svg)](https://python.org)\n[![Status](https://github.com/analysiscenter/segfast/actions/workflows/status.yml/badge.svg?branch=main\u0026event=push)](https://github.com/analysiscenter/segfast/actions/workflows/status.yml)\n\n\u003c/div\u003e\n\n---\n\n**segfast** is a library for interacting with SEG-Y seismic data. Main features are:\n\n* Faster access to read data: both traces headers and values\n* Optional bufferization, where user can provide a preallocated memory to load the data into\n* Convenient API that relies on `numpy.memmap` for most operations, while providing `segyio` as a fallback engine\n\n\n## Installation\n\n    # pip / pip3\n    pip3 install segfast\n\n    # developer version (add `--depth 1` if needed)\n    git clone https://github.com/analysiscenter/segfast.git\n\n\n## Benchmarks\nTimings for reading data along various projections:\n\n|                                |    slide_i |    slide_x |    slide_d |      crop\u003cbr/\u003e(256, 256, 500) |    batch\u003cbr/\u003e(20, 256, 256, 500)|\n|:-------------------------------|-----------:|-----------:|-----------:|------------------------------:|--------------------------------:|\n| segyio                         |   2.58254  |   7.16672  | 3041.3     | 941.285                       | 16104.4                         |\n| segfast                        |   1.48056  |   3.37418  |   50.1355  |  82.0574                      |  2761.94                        |\n| segfast\u003cbr/\u003esegyio engine      |   2.92379  |   5.69101  |  225.13    | 117.571                       |  3968.81                        |\n| seismiqb                       |   1.46763  |   3.45154  |   50.3333  | 151.877                       |  2738.86                        |\n| seismiqb+HDF5                  |   1.04213  |   1.93414  |    1.80567 |  81.3581                      |  2616.83                        |\n| segfast \u003cbr/\u003equantized         |   0.252452 |   0.518485 |   56.6672  |   7.71151                     |  1212.74                        |\n\n![SlideBenchmarks](https://raw.githubusercontent.com/analysiscenter/segfast/main/examples/article_timings_slides.png)\n\n\n## Getting started\n\nAfter installation just import **segfast** into your code. A quick demo of our primitives and methods:\n```python\nimport segfast\n\n# Open file and read some meta info. Engine can be `segyio` or `memmap`\nsegfast_file = segfast.open('/path/to/cube.sgy', engine='memmap')\n\n# Load requested headers as dataframe\nsegfast_file.load_headers(['INLINE_3D', 'CROSSLINE_3D', ...])\n\n# Data access. All methods support optional buffer as target memory\nsegfast_file.load_traces([123, 333, 777], buffer=None)\nsegfast_file.load_depth_slices([5, 10, 15], buffer=None)\n\n# Convert data format to IEEE float32: speeds up operations by a lot\nsegfast_file.convert(format=5)\n\n```\nYou can get more familiar with the library, its functional and timings by reading [examples](examples).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanalysiscenter%2Fsegfast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanalysiscenter%2Fsegfast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanalysiscenter%2Fsegfast/lists"}