Dielectric Spectroscopy analysis software in Python
Project description
A Python package to assist in the study of sedimentation phenomena in colloidal suspensions. The code is being developed by Paul J.M. van Kan for the MUDNET group at Delft Technical University and DELTARES, The Netherlands. The dielectric package can be used under the conditions of the GPLv3 license.
Features
Basic classes for binary electrolytes.
Basic classes for colloidal systems with particles.
Basic functions for DLVO theory.
Basic functions for calculation of ion vibration potential (IVP).
Basic functions for analysis of Dielectric Spectroscopy measurements (HP4194A)
Installation
To use the package dielectric, install it in a Python environment:
(env) pip install dielectric
or
(env) conda install dielectric
This should automatically install the dependency packages matplotlib , scipy and pandas, if they haven’t been installed already. If you are installing by hand, ensure that these packages are installed as well.
Example use
import numpy as np
from dielectric.constants import *
from dielectric.electrolytes import Electrolyte
from dielectric.particles import Particle
from dielectric.file_utils import load_config
import matplotlib
import matplotlib.pyplot as plt
from pathlib import Path
matplotlib.use("Qt5Agg")
DATADIR = Path(__file__).parent
el = Electrolyte.from_yaml(str(DATADIR / "cegm.yaml"))
el.calc_kappa()
param = load_config(str(DATADIR / "cegm.yaml"))
part = Particle.from_dict(param["particles"][0])
zeta_zero = BOLTZ_T / (el.z_plus * E_CHARGE)
print(f"zeta_zero: {1000 * zeta_zero} mV")
psi_zero = 0.5 * zeta_zero
dielectric pages
PyPi: dielectric Python package
BitBucket: dielectric source code
ReadTheDocs: dielectric documentation
References
…
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
File details
Details for the file dielectric-2.0.3.tar.gz
.
File metadata
- Download URL: dielectric-2.0.3.tar.gz
- Upload date:
- Size: 33.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | befdc26acd263ecba8e68a134133372c0be59ed26379187a02860d09d72dadd4 |
|
MD5 | 7497e9e131dc23204bc92a8ddbc867d4 |
|
BLAKE2b-256 | 15b3ec3a1ca5ce8fb7b50cf7aa10a64d624a0e2cc392a3f3727e4d23b2c27fff |
File details
Details for the file dielectric-2.0.3-py3-none-any.whl
.
File metadata
- Download URL: dielectric-2.0.3-py3-none-any.whl
- Upload date:
- Size: 36.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c9e07b997abef722ac5c401bdfedc0d45014ffbb0ce21a6965a4b6c29cf29e5 |
|
MD5 | 8bdab9b8dce770a015285cb885ba50a0 |
|
BLAKE2b-256 | 6c8faf46a9ebf8375b0e183716db709f7ca62e39b6d661a506fb4b34ff029ba3 |