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!
| Name | Description |
|---|---|
bwr |
Blue-White-Red with configurable mid-point transparency |
seismic |
Classic seismic amplitude display |
phase |
Phase attribute visualisation |
frequency |
Frequency attribute visualisation |
pip install seiscmgit clone https://github.com/lijunzh/seiscm.git
cd seiscm
uv sync --all-extras --devfrom 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()uv run ruff check src tests # lint
uv run ruff format src tests # format
uv run pytest # test
uv run pre-commit install # set up git hooksFor issues, please open a GitHub issue or contact gatechzhu@gmail.com.
