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.6.tar.gz (76.6 kB 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.6-py3-none-any.whl (139.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dielectric-2.0.6.tar.gz
Algorithm Hash digest
SHA256 9db3f532d38fce16143022e4106c10cedb2f4d050f76be9718d4b4e2f67a18a1
MD5 1c2565c8b889bae40b41c4fabd62cad6
BLAKE2b-256 ed7ec494be40569aec14356414d3bd01b6012afc4ee3ac78ea9d99428efa9a53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dielectric-2.0.6-py3-none-any.whl
  • Upload date:
  • Size: 139.5 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cad40609e55e71f6e81805463eb64ae47e2a61a889c166b953573695bdedfd74
MD5 07ffdf8510e0d5a1ab587e2573c47045
BLAKE2b-256 e704046590e1be8f2ca729e0be05e3417c55bbed721b006a39632a0b31972272

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