Related repositories by InLab:
CoFI (Common Framework for Inference) is an open-source initiative for interfacing between generic inference algorithms and specific geoscience problems. Read CoFI's documentation for more details.
This repository contains examples for running inversion algorithms using CoFI with increasing complexity in problems.
- To run the examples interactively without any local setup, click on the "Colab" (recommended) or "binder" badges above
- To view the examples and sample output (without interaction, no local setup), click on the "Example Gallery"
- To install
cofi
and run the examples locally, follow the instructions below
(Strongly recommended) Create a virtual environment to avoid conflicts with your other projects:
$ mamba env create -f envs/environment.yml
$ mamba activate cofi_env
Otherwise (skip this if you've followed above), ensure you have scipy
and jupyter-lab
in your environment and then install cofi
with the following. Install related packages specifically for the notebooks you would like to run.
$ pip install cofi
Clone this repository:
$ git clone https://github.com/inlab-geo/cofi-examples.git
Open up Jupyter-lab:
$ cd cofi-examples
$ jupyter-lab
Run through examples and have fun 🎉! We recommend opening up the index.ipynb to decide where to start.
Thanks for contributing! Please refer to our Contributor's Guide for details.
This project is distributed under a 2-clause BSD licence. A copy of this licence is accessible here.