Localized probabilistic data integration
Project description
INTEGRATE Python Module
This repository contains the INTEGRATE Python module for localized probabilistic data integration in geophysics.
Installation
Assuming you already have Python 3.10+ installed:
libaarhusxyz must be installed manually before installing integrate_module, because the version that supports Python >= 3.12 is only available on GitHub (not PyPI):
pip install git+https://github.com/cultpenguin/libaarhusxyz
pip install integrate_module
On Windows, this will also install the Python wrapper for GA-AEM (1D EM forward modeling - GPL v2 code): ga-aem-forward-win
On Linux/macOS, you will need to install GA-AEM manually.
Using pip (from PyPI, on Ubuntu)
# Install python3 venv
sudo apt install python3-venv
# Create virtual environment
python3 -m venv ~/integrate
source ~/integrate/bin/activate
pip install --upgrade pip
# Install integrate module
pip install integrate_module
Using pip (from source, on Ubuntu)
# Install python3 venv
sudo apt install python3-venv
# Create virtual environment
python3 -m venv ~/integrate
source ~/integrate/bin/activate
pip install --upgrade pip
# Install integrate module
cd path/to/integrate_module
pip install -e .
Using Conda + pip (from PyPI)
Create a Conda environment (called integrate) and install the required modules:
conda create --name integrate python=3.10 numpy pandas matplotlib scipy tqdm requests h5py psutil
conda activate integrate
pip install integrate_module
Using Conda + pip (from source)
Create a Conda environment (called integrate) and install the required modules:
conda create --name integrate python=3.10 numpy pandas matplotlib scipy tqdm requests h5py psutil
conda activate integrate
pip install -e .
GA-AEM
In order to use GA-AEM for forward EM modeling, the 'gatdaem1d' Python module must be installed. Follow instructions at https://github.com/GeoscienceAustralia/ga-aem or use the information below.
PyPI package for Windows
On Windows, the ga-aem-forward-win package will be automatically installed, providing access to the GA-AEM forward code. It can be installed manually using:
pip install ga-aem-forward-win
Pre-compiled Python module for Windows
-
Download the pre-compiled version of GA-AEM for Windows from the latest release: https://github.com/GeoscienceAustralia/ga-aem/releases (GA-AEM.zip)
-
Download precompiled FFTW3 Windows DLLs from https://www.fftw.org/install/windows.html (fftw-3.3.5-dll64.zip)
-
Extract both archives:
unzip GA-AEM.zipto get GA-AEMunzip fftw-3.3.5-dll64.zipto get fftw-3.3.5-dll64
-
Copy FFTW3 DLLs to GA-AEM Python directory:
cp fftw-3.3.5-dll64/*.dll GA-AEM/python/gatdaem1d/
-
Install the Python gatdaem1d module:
cd GA-AEM/python/
pip install -e .
# Test the installation
cd examples
python integrate_skytem.py
Compile GA-AEM Python module on Debian/Ubuntu/Linux
A script that downloads and installs GA-AEM is located in scripts/cmake_build_script_DebianUbuntu_gatdaem1d.sh. This script has been tested and confirmed to work on both Debian and Ubuntu distributions. Be sure to use the appropriate Python environment and then run:
sh scripts/cmake_build_script_DebianUbuntu_gatdaem1d.sh
cd ga-aem/install-ubuntu/python
pip install .
Compile GA-AEM Python module on macOS/Homebrew
First install Homebrew, then run:
sh ./scripts/cmake_build_script_homebrew_gatdaem1d.sh
cd ga-aem/install-homebrew/python
pip install .
Development
The main branch is the most stable, with less frequent updates but larger changes.
The develop branch contains the current development code and may be updated frequently. Some functions and examples may be broken.
An extra set of tests and examples are located in the experimental sub-branch https://github.com/cultpenguin/integrate_module_experimental/ <https://github.com/cultpenguin/integrate_module_experimental/>_.
Please ask the developers for access to this branch if needed. To clone the main repository with the experimental branch, use:
git clone --recurse-submodules git@github.com:cultpenguin/integrate_module.git
You may need to run the following command to update the submodules:
cd experimental
git submodule update --init --recursive
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file integrate_module-0.96.0.tar.gz.
File metadata
- Download URL: integrate_module-0.96.0.tar.gz
- Upload date:
- Size: 178.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
835bc31b653103e79d0f5426deddb5419c637128a8572c726464d4635d19c0bf
|
|
| MD5 |
f21d0763cf4e6c64e33bea754f3b3012
|
|
| BLAKE2b-256 |
d1ae0cf80f048bd129c3b35d95a1529f7a972a013a5bb86df0276608272515ed
|
File details
Details for the file integrate_module-0.96.0-py3-none-any.whl.
File metadata
- Download URL: integrate_module-0.96.0-py3-none-any.whl
- Upload date:
- Size: 182.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
382476d8fe017b4642035c1e0635c5d99f900ba885185ffb130e972894f5af3c
|
|
| MD5 |
5d2879307f7a74f31e8be17fb5b644a0
|
|
| BLAKE2b-256 |
26255027b97e00d724577fe34d01f719449380d7aa85a52ec47fdb8d266ed26c
|