Skip to main content

Localized probabilistic data integration

Project description

INTEGRATE Python Module

PyPI version Test PyPI Documentation License: MIT Python 3.10+

This repository holds the INTEGRATE Python module

Installation

Assuming you allready have python 3.10 installed

pip install -i https://test.pypi.org/simple/ integrate_module

On Windows this will also install the python wrapper for the ga-aem (1D EM forward modeling - GPL v2 code) --> ga-aem-forward-win

PIP (from pypi)

# 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 -i https://test.pypi.org/simple/ integrate_module

PIP (from source)

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

Conda + PIP (from pypi)

Create a Conda environment (called integrate) and install the required modules, using

conda create --name integrate python=3.10 numpy pandas matplotlib scipy tqdm requests h5py psutil
conda activate integrate
pip install -i https://test.pypi.org/simple/ integrate_module

Conda + PIP (from source)

Create a Conda environment (called integrate) and install the required modules, using

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 paackage for windows

In Windows the ga-aem-forward-win package will be autoamtically installed that provides access to the GA-AEM forward code. It can be installed manually using

pip install ga-aem-forward-win

Pre-Compiled Python module in Windows

Download pre-compiled version of GA-AEM for windows through the latest release from https://github.com/GeoscienceAustralia/ga-aem/releases as GA-AEM.zip

Download precompiled FFTW3 windows dlls from https://www.fftw.org/install/windows.html as fftw-3.3.5-dll64.zip

unzip GA-AEM.zip to get GA-AEM

unzip fftw-3.3.5-dll64.zip to get fftw-3.3.5-dll64

Copy fftw-3.3.5-dll64/*.dll to GA-AEM/python/gatdaem1d/

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 installaion
cd examples
python skytem_example.py

Compile ga-aem Python module in Ubuntu/Linux

A script that downloads and install GA-AEM is located in 'scripts/cmake_build_script_ubuntu_gatdaem1d.sh'. Be sure to use the appropriate Python environment and then run

sh scripts/cmake_build_script_ubuntu_gatdaem1d.sh
cd ga-aem/install-ubuntu/python
pip install .

Compile ga-aem Python module in OSX/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 should be the most stable, and updates, less frequent, but with larger changes.

The develop branch contains the current development code and may be updated frequently, and some functions and examples may be broken.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

integrate_module-0.2.15.tar.gz (116.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

integrate_module-0.2.15-py3-none-any.whl (121.4 kB view details)

Uploaded Python 3

File details

Details for the file integrate_module-0.2.15.tar.gz.

File metadata

  • Download URL: integrate_module-0.2.15.tar.gz
  • Upload date:
  • Size: 116.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for integrate_module-0.2.15.tar.gz
Algorithm Hash digest
SHA256 670e11fce799cb4b25bacb10933715ad5499e5d143d9babadd9a0df38b7c21a6
MD5 ba25d02f8c36148b3128b666b36f2a83
BLAKE2b-256 4e6f3d457f811ac3fc9fe65dd19a23ea614bed52387bee4ec180db3cea9d2ac0

See more details on using hashes here.

File details

Details for the file integrate_module-0.2.15-py3-none-any.whl.

File metadata

File hashes

Hashes for integrate_module-0.2.15-py3-none-any.whl
Algorithm Hash digest
SHA256 e3886ec3b8bd66b91407ea4e15f921e46ea17b6b4d5000bc2b3299a4096e75ad
MD5 bc9d12a676da54c6ac9cf90397f362da
BLAKE2b-256 392b3c83831694e6cd2eba45d1b1c42e8a7db1ee0458eaa27a5b3d3818a789a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page