INTEGRATE: Fast Probabilistic inversion of EM data using informed prior models¶
Last updated: Mar 10, 2026 (version 0.95.0).
INTEGRATE provides a python module and methods for fast probabilistic inversion of local information (e.g. electromagnetic data (EM), well log data, …) using informed prior models.
The aim is to provide methods for the following tasks, that together represent a probabilistic workflow:
- Prior modeling
Tools will be developed to quantify (through forward simulation) as much information as possible about the subsurface, such as the expected distribution of lithological layers and a model that links resistivity to lithology. See, for example, [MADSEN2023] and [GEOPRIOR1D].
- Forward modeling
For each type of data considered a forward model must be available.
For EM type data use GA-AEM (https://github.com/GeoscienceAustralia/ga-aem), based on [FALK2025].
- Probabilistic Inversion
An implementation of the 1D probabilistic localized inversion using the Localized Rejection Sampler [HANSEN2021] and Machine Learning [HANSENFINLAY2022].
- Features
Fast probabilistic inversion with informed prior models
Multiple Data Types
Multiple Forward Models
Joint inversion
- Analysis
Tools for visual illustrations of the results will be developed, such as 1D, 2D cross-sections, 3D rendering, as well as uncertainty quantification.
Getting started¶
Refer to the documentation in Installation for installation instructions.
Examples of using the module can be found in the Notebooks.
The INTEGRATE project¶
The project is developed as part of the INTEGRATE project, where the goal is to develop probabilistic support tools that allow quantifying the potential for finding raw material resources close to where it is to be utilized.
For more information, please visit the INTEGRATE website (https://integrate.nu/).
Source Code¶
The latest stable code is available on GitHub at https://github.com/cultpenguin/integrate_module
License (MIT)¶
MIT License
Copyright (c) 2023-2025 Thomas Mejer Hansen and INTEGRATE Working Group
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The manual¶
- Installation
- Getting started
- Data format
- Borehole Data Format
- Workflows
- Notebooks
- Contributions
- References
- Modules (documentation)
- integrate
allocate_large_page()class_id_to_idx()comb_cprob()compute_P_obs_from_log()entropy()forward_gaaem()forward_gaaem_chunk()get_hypothesis_probability()get_process_handle_count()integrate_posterior_stats()integrate_update_prior_attributes()is_notebook()kl_divergence()logl_T_est()lu_post_sample_logl()posterior_cumulative_thickness()prior_data()prior_data_gaaem()prior_data_identity()prior_model_layered()prior_model_workbench()prior_model_workbench_direct()rescale_P_obs_temperature()sample_from_posterior()sample_posterior_multiple_hypotheses()synthetic_case()timing_compute()timing_plot()use_parallel()
- integrate_rejection
cleanup_shared_memory()compute_hypothesis_probability()create_shared_memory()integrate_posterior_chunk()integrate_posterior_main()integrate_rejection()integrate_rejection_range()likelihood_gaussian_diagonal()likelihood_gaussian_diagonal_old()likelihood_gaussian_full()likelihood_multinomial()likelihood_multinomial_old()reconstruct_shared_arrays()select_subset_for_inversion()
- integrate_io
check_data()copy_hdf5_file()copy_prior()download_file()download_file_old()extract_feature_at_elevation()file_checksum()get_case_data()get_discrete_classes()get_geometry()get_gex_file_from_data()get_number_of_data()get_number_of_datasets()gex_to_stm()hdf5_info()hdf5_scan()load_data()load_prior()load_prior_data()load_prior_model()merge_data()merge_posterior()merge_prior()post_to_csv()read_borehole()read_gex()read_gex_workbench()read_usf()read_usf_mul()save_data_gaussian()save_data_multinomial()save_prior_data()save_prior_model()test_read_usf()write_borehole()write_data_gaussian()write_data_multinomial()write_stm_files()xyz_to_h5()
- integrate_plot
find_points_along_line_segments()get_colormap_and_limits()h5_get_clim_cmap()plot_T_EV()plot_boreholes()plot_cumulative_probability_profile()plot_data()plot_data_prior()plot_data_prior_post()plot_data_xy()plot_feature_2d()plot_geometry()plot_post_stats()plot_posterior_cumulative_thickness()plot_prior_stats()plot_profile()plot_profile_continuous()plot_profile_discrete()setup_matplotlib_backend()
- integrate_borehole
- integrate_query
- integrate