Skip to content

boitatá

My Python tooling for day-to-day geostatistics.

boitatá holds the tools I use for resource work: drill hole checks, statistics, transforms, variograms, kriging, simulation and model checks.

Get started Examples API reference

Start here

  1. Install

    One command: pip install "boitata[all]".

  2. Learning track

    What a sample stands for, before any code.

  3. Quick tour

    From samples to a checked estimate in one page of code.

  4. Case studies

    Whole problems, from the question to the decision.

With a coding agent

Install the boitatá plugin in Claude, Codex, ChatGPT or Antigravity, and the agent stops guessing at the calls: it follows the library's rules and reads each signature from the package you installed. In Claude Code:

/plugin marketplace add gstvschlz/boitata
/plugin install boitata@boitata

Modules

  • Learn


    Six chapters of geostatistics from the ground up, each with diagrams and runnable code.

  • Guide


    How the library is organized, so you can guess your way around it, and which page answers your question.

  • First steps


    A quick tour from samples to a checked estimate, plus short pages such as saving to Parquet.

  • Data and geometry


    Drill holes, composites, block models, solids, meshes and GIS files.

  • Exploratory analysis


    Declustering, top cuts, contacts, swaths and data spacing before any model.

  • Transforms


    Normal scores, log-ratios, multivariate factors and imputation.

  • Spatial continuity


    Experimental variograms, model fitting and coregionalization.

  • Kriging


    Point and block kriging, cokriging, indicators and search tuning.

  • Categories and domains


    Rock types as proportions, probabilities and simulated layouts.

  • Stochastic simulation


    SGS, turning bands and cosimulation, reproducible from one seed.

  • Recoverable resources


    Tonnes and grade above cutoff at the size of a mining block.

  • Checking models


    Cross-validation, swaths, realization checks and classification.

  • Geological modeling


    Grade shells, contact surfaces and layered horizons.

  • Case studies


    Four deposits, each from raw tables to a result.

  • Multiple-point statistics


    SNESIM on categories and on continuous values, with multigrid and hard data.