BISIP
BISIP | Bayesian inversion of spectral induced polarization laboratory data
Install / Use
/learn @clberube/BISIPREADME
BISIP | Bayesian inversion of SIP data
BISIP is a fast, robust and open-source Python program for bayesian inversion of spectral induced polarization (SIP) data. It allows the evaluation of SIP parameters and their uncertainties by propagating measurement errors through the inversion process. Dias, Cole-Cole, Debye and Warburg decomposition schemes are currently implemented. Additional models will be included in the future.
In 2019 BISIP was re-written from the ground up with a powerful ensemble MCMC sampler, better code practice and improved documentation. See our original 2017 paper in Computers & Geosciences.
<p align="center"> <img src="/figures/ExampleFit_K389369.png" width="50%"> </p>Documentation
Visit https://bisip.readthedocs.io for the full documentation including API docs, tutorials and data file templates.
Requirements
Optional dependencies
Installation
Clone this repository to your computer. Then navigate to the bisip directory. Finally run the setup.py script with Python. The -f option forces a reinstall if a previous version of the package was already installed.
$ git clone https://github.com/clberube/bisip
$ cd bisip
$ python setup.py install -f
Quickstart
Using BISIP is as simple as importing a SIP model, initializing it and fitting it to a data set. BISIP also offers many utility functions for plotting and analyzing inversion results. See the tutorials for more examples.
from bisip import PolynomialDecomposition
# Define a data file to invert
filepath = '/path/to/DataFile_1.csv'
# Initialize the inversion model
model = PolynomialDecomposition(filepath=filepath,
nwalkers=32, # number of walkers
nsteps=1000, # number of MCMC steps
)
# Fit the model to this data file
model.fit()
Out:
100%|██████████| 1000/1000 [00:01<00:00, 558.64it/s]
2017 archive
The original BISIP code from the 2017 paper is archived in the bisip1-archive branch.
Related Skills
claude-opus-4-5-migration
83.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
339.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
49.9k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.7kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
