Skip to main content

A package for modelling diffusion processes.

Project description

Diffusion Modeler

This app does things.

Table of Contents

Installation

  1. Clone this repository with git clone https://github.com/dgorin1/diffusion_code_final
  2. Run pip install -e . in the root directory of the repository to install the package and its dependencies

Usage

example cli call:

fit_MDD_model \
    -i path_to/diffusion_code_final/example/tests/N13ksp_python_test.csv \
    -c path_to/diffusion_code_final/example/tests/test.yaml \
    -o /Users/josh/repos/ diffusion_code_final/output/test_final

example yaml file:

ea_bounds:
- 50.0
- 500.0
geometry: plane sheet
lnd0aa_bounds:
- -5.0
- 60.0
domains_to_model: 8 # number of domains to model
misfit_stat_list:   # different misfit statistics to try
- chisq
- l1_frac
- lnd0aa_chisq
- percent_frac
- l1_frac_cum
- l1_moles
- l2_moles
- l2_frac
- lnd0aa
omit_value_indices: []
punish_degas_early: true
temp_add: []
time_add: []

# optimization parameters
repeat_iterations: 10 # number of times to repeat the optimization per domain/misfit statistic
seed: 0
tol: 0.0001
popsize: 15
updating: deferred
strategy: best1bin
mutation: 0.5
recombination: 0.7
max_iters: 100000

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

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

diffusion_modeler-0.1.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

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

diffusion_modeler-0.1.0-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file diffusion_modeler-0.1.0.tar.gz.

File metadata

  • Download URL: diffusion_modeler-0.1.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for diffusion_modeler-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a8aba335b6d8dc24a221de85f1305c6995f5f7a49c5b3f9cb3f1d6fe4611db12
MD5 7997aed6a867313051eb0ee91131e172
BLAKE2b-256 af6cb759658a984ad1dc5d78d95c5111b200cb137d13172ec8e35cf1e0762518

See more details on using hashes here.

File details

Details for the file diffusion_modeler-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for diffusion_modeler-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6e4fc88d819da02247cb5a6659efb51408da5bfc0d10680759e164f5f2dac16
MD5 0735d9ebd38490eca237e9afddaad3f5
BLAKE2b-256 822026c6f86340ddf2f9162eb7c6613376709fc9cf70f344510a0aafaa61f726

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