Skip to main content

PyPI Documentation Status PyPI - License

A Python package for control and analysis of CAD Instruments ZetaCompact Video Particle Analysis. 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

Author and license

References

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zetacad-0.0.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

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

zetacad-0.0.1-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file zetacad-0.0.1.tar.gz.

File metadata

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

File hashes

Hashes for zetacad-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0ff549cd3d713795b742b9c5a43de763cb3759d9483f8ad53f0440daea922884
MD5 05497239cc0eb780583871afe5db0049
BLAKE2b-256 a03d98b29cb8ee61e9ec0cc298cd897f9d8019a89cbf4b8275bda4ed876f22d9

See more details on using hashes here.

File details

Details for the file zetacad-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: zetacad-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for zetacad-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4875f9bf01e7444accbb525dfcb5b243c090652a660f943d50c457be3839db64
MD5 b03261ffccd1d06230d5e72e8d15c28a
BLAKE2b-256 ef690c2c64aa1b61139e17f6a198bd381a30bd93f6d5a065b0b1b1c2c65d6fe7

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 Sentry Error logging StatusPage Status page