Skip to main content

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.

Metadata

Release files for diffusion-modeler 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for diffusion-modeler 0.1.0
File Size Uploaded
diffusion_modeler-0.1.0.tar.gz 23.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for diffusion-modeler 0.1.0
File Interpreter ABI Platform
diffusion_modeler-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 51.4 kB

Release files / diffusion_modeler-0.1.0.tar.gz

Download URL diffusion_modeler-0.1.0.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a8aba335b6d8dc24a221de85f1305c6995f5f7a49c5b3f9cb3f1d6fe4611db12
BLAKE2b-256 checksum
How to use checksums
af6cb759658a984ad1dc5d78d95c5111b200cb137d13172ec8e35cf1e0762518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / diffusion_modeler-0.1.0-py3-none-any.whl

Download URL diffusion_modeler-0.1.0-py3-none-any.whl
Size 28.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6e4fc88d819da02247cb5a6659efb51408da5bfc0d10680759e164f5f2dac16
BLAKE2b-256 checksum
How to use checksums
822026c6f86340ddf2f9162eb7c6613376709fc9cf70f344510a0aafaa61f726
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page