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. workflows

    whole problems, from the question to the decision.

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.