Name | deltaseis JSON |
Version |
0.0.4
JSON |
| download |
home_page | None |
Summary | Doing cool stuff with seismic data |
upload_time | 2024-11-29 23:28:10 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.12 |
license | MIT License Copyright (c) 2022 Deltares / TGG projects / Subsurface Toolbox Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
deltaseis
seisnc
seg-y
seismic
das
tdms
pre-stack
post-stack
geophysics
synthetic specfem
netcdf
subsurface toolbox
deltares
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# deltaseis
[](https://choosealicense.com/licenses/mit)
[](https://lifecycle.r-lib.org/articles/stages.html)
[](https://github.com/charliermarsh/ruff)
The Deltares Seismic (DeltaSEIS) package is designed to handle all common formats of seismic data. This includes conventional seismic data, DAS fiber optic and simulated data. It provides selection, editing, processing, analysis, and export methods that can be applied generically to the loaded data. It is designed to connect with other Deltares developments such as [iMod](https://gitlab.com/deltares/imod) and [DataFusionTools](https://bitbucket.org/DeltaresGEO/datafusiontools/src/master/).
Both the **Seismic** and **Segy_editor** classes totally rely on the use of the [segyio](https://segyio.readthedocs.io/en/latest/index.html) and [obspy](https://docs.obspy.org/) packages as well as numpy as scipy for data handling and signal processing.
## Installation process
The installation uses package manager pixi, for installation options see https://pixi.sh/latest/
To install pixi on windows, in powershell type:
```
winget install prefix-dev.pixi
```
Now clone deltaseis to your local drive using:
```
git clone https://github.com/Deltares-research/deltaseis.git
```
Then navigate into that folder with:
```
cd deltaseis
```
To create a conda enviroment and install deltaseis in it type:
```
pixi run install
```
## Update deltaseis
To update deltaseis with the latest version from gitlab, open a shell in the deltaseis folder and:
```
git pull
```
And the same as with installation type:
```
pixi run install
```
## Tutorial
Activate the deltaseis_env in a command prompt and type
```
pixi run notebook
```
In the browser that opens up, navigate to deltaseis/tutorials and click on segy_editing.ipynb to start a tutorial on how to edit seismic data files called seg-y using the class **Segy_editor**
## Usage
The same tutorial folder there is a .py script that has the same commands as the notebook, that you can use as a template for using the Segy_editor.
In the below example we load a segy file for which we like to change the record length to 55 ms and write a copy that reflects that change:
```
from deltaseis import Seg_editor
seismic_edit = Segy_editor(path/to/segy_infile)
seismic_edit.set_record_lenght(55)
seismic_edit.write(path/to/segy_outfile)
```
The Seismic class can be called similarly but has a simple 2D data array as input and performs more advanced processing to the data and not just edits.
In the below example applies a time-squared gain and a bandpass filter between 80 and 5000 Hz to the data:
```
seismic = Seismic(data_array)
seismic.time_squared_gain()
seismic.bandpass_filter(lowcut=80, highcut=5000)
```
## Supported geophysics formats
- Seismic files
- Post-stack seismic data (.seg-y)
- Pre-stack seismic data (seg2, segd, dat)
- Synthetic data from SPECFEM (.semd)
- Distributed Acoustic Sensing (DAS) files (Silixa .tdms)
## Features
Todo
## Roadmap
Todo
## Contributing
You can contribute by testing, raising issues and making pull requests. Some general guidelines:
- Use new branches for developing new features or bugfixes. Use prefixes such as feature/ bugfix/ experimental/ to indicate the type of branch
- Add unit tests (and test data) for new methods and functions. We use pytest.
- Add Numpy-style docstrings
- Use Black formatting with default line lenght (88 characters)
- Update requirement.txt en environment.yml files if required
## License
MIT license
Raw data
{
"_id": null,
"home_page": null,
"name": "deltaseis",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": "Roeland Nieboer <roeland.nieboer@deltares.nl>",
"keywords": "deltaseis, seisnc, seg-y, seismic, das, tdms, pre-stack, post-stack, geophysics, synthetic specfem, netcdf, subsurface toolbox, deltares",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/eb/f0/d9f62b28fd5575fb22c5169c2240c1e8f89f40c74975a3812d19923c5055/deltaseis-0.0.4.tar.gz",
"platform": null,
"description": "# deltaseis\r\n[](https://choosealicense.com/licenses/mit)\r\n[](https://lifecycle.r-lib.org/articles/stages.html)\r\n[](https://github.com/charliermarsh/ruff)\r\n\r\nThe Deltares Seismic (DeltaSEIS) package is designed to handle all common formats of seismic data. This includes conventional seismic data, DAS fiber optic and simulated data. It provides selection, editing, processing, analysis, and export methods that can be applied generically to the loaded data. It is designed to connect with other Deltares developments such as [iMod](https://gitlab.com/deltares/imod) and [DataFusionTools](https://bitbucket.org/DeltaresGEO/datafusiontools/src/master/).\r\n\r\nBoth the **Seismic** and **Segy_editor** classes totally rely on the use of the [segyio](https://segyio.readthedocs.io/en/latest/index.html) and [obspy](https://docs.obspy.org/) packages as well as numpy as scipy for data handling and signal processing.\r\n\r\n## Installation process\r\nThe installation uses package manager pixi, for installation options see https://pixi.sh/latest/\r\n\r\nTo install pixi on windows, in powershell type:\r\n```\r\nwinget install prefix-dev.pixi\r\n```\r\nNow clone deltaseis to your local drive using:\r\n```\r\ngit clone https://github.com/Deltares-research/deltaseis.git\r\n```\r\nThen navigate into that folder with:\r\n```\r\ncd deltaseis\r\n```\r\nTo create a conda enviroment and install deltaseis in it type:\r\n```\r\npixi run install\r\n```\r\n\r\n## Update deltaseis\r\nTo update deltaseis with the latest version from gitlab, open a shell in the deltaseis folder and:\r\n```\r\ngit pull\r\n```\r\nAnd the same as with installation type:\r\n```\r\npixi run install\r\n```\r\n\r\n## Tutorial\r\nActivate the deltaseis_env in a command prompt and type \r\n```\r\npixi run notebook\r\n```\r\nIn the browser that opens up, navigate to deltaseis/tutorials and click on segy_editing.ipynb to start a tutorial on how to edit seismic data files called seg-y using the class **Segy_editor**\r\n## Usage\r\nThe same tutorial folder there is a .py script that has the same commands as the notebook, that you can use as a template for using the Segy_editor.\r\nIn the below example we load a segy file for which we like to change the record length to 55 ms and write a copy that reflects that change:\r\n```\r\nfrom deltaseis import Seg_editor\r\nseismic_edit = Segy_editor(path/to/segy_infile)\r\nseismic_edit.set_record_lenght(55)\r\nseismic_edit.write(path/to/segy_outfile)\r\n```\r\nThe Seismic class can be called similarly but has a simple 2D data array as input and performs more advanced processing to the data and not just edits. \r\nIn the below example applies a time-squared gain and a bandpass filter between 80 and 5000 Hz to the data:\r\n```\r\nseismic = Seismic(data_array)\r\nseismic.time_squared_gain()\r\nseismic.bandpass_filter(lowcut=80, highcut=5000)\r\n```\r\n## Supported geophysics formats\r\n- Seismic files\r\n - Post-stack seismic data (.seg-y)\r\n - Pre-stack seismic data (seg2, segd, dat)\r\n - Synthetic data from SPECFEM (.semd)\r\n - Distributed Acoustic Sensing (DAS) files (Silixa .tdms)\r\n\r\n\r\n## Features\r\nTodo\r\n\r\n## Roadmap\r\nTodo\r\n\r\n## Contributing\r\n\r\nYou can contribute by testing, raising issues and making pull requests. Some general guidelines:\r\n\r\n- Use new branches for developing new features or bugfixes. Use prefixes such as feature/ bugfix/ experimental/ to indicate the type of branch\r\n- Add unit tests (and test data) for new methods and functions. We use pytest.\r\n- Add Numpy-style docstrings\r\n- Use Black formatting with default line lenght (88 characters)\r\n- Update requirement.txt en environment.yml files if required\r\n\r\n## License\r\nMIT license\r\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2022 Deltares / TGG projects / Subsurface Toolbox Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Doing cool stuff with seismic data",
"version": "0.0.4",
"project_urls": {
"Homepage": "https://github.com/Deltares-research/DeltaSEIS",
"Issues": "https://github.com/Deltares-research/DeltaSEIS/issues",
"Repository": "https://github.com/Deltares-research/DeltaSEIS.git"
},
"split_keywords": [
"deltaseis",
" seisnc",
" seg-y",
" seismic",
" das",
" tdms",
" pre-stack",
" post-stack",
" geophysics",
" synthetic specfem",
" netcdf",
" subsurface toolbox",
" deltares"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b96484dc8494be5ab524095d51bb2f395b739359ef20e9420996fa06901a781a",
"md5": "fda3f4841d459bdcfc4a98b1e34266be",
"sha256": "6930ac7ac605e976548639d0880c734b71a83c9fbdea1f4775af22cdf94a04ff"
},
"downloads": -1,
"filename": "deltaseis-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fda3f4841d459bdcfc4a98b1e34266be",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 61033,
"upload_time": "2024-11-29T23:27:57",
"upload_time_iso_8601": "2024-11-29T23:27:57.533635Z",
"url": "https://files.pythonhosted.org/packages/b9/64/84dc8494be5ab524095d51bb2f395b739359ef20e9420996fa06901a781a/deltaseis-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ebf0d9f62b28fd5575fb22c5169c2240c1e8f89f40c74975a3812d19923c5055",
"md5": "302fc93b76df127ad455ae667a453177",
"sha256": "95b03a314c8dc778bda3f8255ff9a5493211996345e0ee726fe01c7bd65781a6"
},
"downloads": -1,
"filename": "deltaseis-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "302fc93b76df127ad455ae667a453177",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 55924,
"upload_time": "2024-11-29T23:28:10",
"upload_time_iso_8601": "2024-11-29T23:28:10.510962Z",
"url": "https://files.pythonhosted.org/packages/eb/f0/d9f62b28fd5575fb22c5169c2240c1e8f89f40c74975a3812d19923c5055/deltaseis-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-29 23:28:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Deltares-research",
"github_project": "DeltaSEIS",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "deltaseis"
}