Skip to main content

Dielectric Spectroscopy analysis software in Python

Project description

PyPI Documentation Status PyPI - License

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("QtAgg")
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

Author and license

References

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

dielectric-2.0.5.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

dielectric-2.0.5-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

Details for the file dielectric-2.0.5.tar.gz.

File metadata

  • Download URL: dielectric-2.0.5.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for dielectric-2.0.5.tar.gz
Algorithm Hash digest
SHA256 b8e7297481f372a34aff442ce6f0d6ea1f109a8eae2394e8b44c9197afe9e721
MD5 c7d9277206b3c9c94261814dfaefaf5e
BLAKE2b-256 d42157677f953e9c1da0cbed607be570e4f79eab801693c29666fe912ae98dd8

See more details on using hashes here.

File details

Details for the file dielectric-2.0.5-py3-none-any.whl.

File metadata

  • Download URL: dielectric-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 47.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for dielectric-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aa3da0843edd009d1cf7c292f48ad405b9e8645ebab41fac93bd7d0ce55600df
MD5 51a8a88df267d99b9e469ebbc367b4ec
BLAKE2b-256 06324521d618f6cfc1ad4b96f174f8a50af6b19f27fe52c552bd681e571fddb3

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