Seismic Colormaps (SeisCM)
Introduction
Geophysicists can never agree on a standard colormap — so here's a package with the most common ones, ready to import. SeisCM provides matplotlib-compatible colormaps designed specifically for seismic and geophysical data visualization.
Pull requests for new colormaps are welcome!
Available Colormaps
| Name | Description |
|---|---|
bwr |
Blue-White-Red with configurable mid-point transparency |
seismic |
Classic seismic amplitude display |
phase |
Phase attribute visualisation |
frequency |
Frequency attribute visualisation |
Installation
From PyPI
pip install seiscm
From source (development)
git clone https://github.com/lijunzh/seiscm.git
cd seiscm
uv sync --dev
Quick Start
from seiscm import bwr
import matplotlib.pyplot as plt
import numpy as np
data = np.random.default_rng(42).standard_normal((100, 100))
plt.imshow(data, cmap=bwr())
plt.colorbar()
plt.show()
Dependencies
Development
uv run ruff check src tests # lint
uv run ruff format src tests # format
uv run mypy # type-check
uv run pytest --cov # test with coverage
uv run pre-commit install # set up git hooks
Contributing
See CONTRIBUTING.md and the Code of Conduct. Security issues: see SECURITY.md.
Citing
A CITATION.cff file is provided; GitHub's
"Cite this repository" button uses it.
License
Contact
For issues, please open a GitHub issue or contact gatechzhu@gmail.com.
Metadata
Release files for SeisCM 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| seiscm-0.1.3.tar.gz | 25.8 kB | Without provenance | Details for seiscm-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seiscm-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for seiscm-0.1.3-py3-none-any.whl |
Total release size: 31.3 kB
Release files / seiscm-0.1.3.tar.gz
| Download URL | seiscm-0.1.3.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ceec75cc33b904b0dea54d204eca860c4bdd011639e4d9cad5a9aa76f584596
|
|
BLAKE2b-256 checksum How to use checksums |
e4c3f56273a28a831ff5a1303575c8f536deb116e81a96f2cd307c5c824e1675
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / seiscm-0.1.3-py3-none-any.whl
| Download URL | seiscm-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d220ca68ebe52484a39faf018cd11443e39db55f58075b6a2f819fa2ec2146a
|
|
BLAKE2b-256 checksum How to use checksums |
c15b287c33b0c328a9e013d72ed67e933085440aad10db61152691f745fef6c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for SeisCM 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.