Skip to main content

Offline and online event detection scheme for rare events in molecular simulations.

Project description

Cite GitHub-Stars

Welcome to dupin a Python package for detecting rare events in molecular simulations.

Overview

dupin is designed to provide an unopinionated Python API for partitioning temporal point cloud data into regions of stability and transition. Generally such data comes from molecular simulations or experimental imaging techniques. For example, if a researcher imaged gold nanoparticles nucleating into FCC crystal, dupin could help to partition the system into the initial fluid, transition, and crystal regions of the point cloud trajectory. Though, dupin attempts to be general and unopinionated we provide sensible defaults and do not sacrifice ease of use for customizability.

Resources

Example

import dupin as du
import numpy as np
import ruptures as rpt

signal = np.load("signal.npy")
dynp = rpt.Dynp(custom_cost=du.detect.CostLinearFit())
detector = du.detect.SweepDetector(dynp, 8)

chps = detector.fit(signal)
docs/_static/detect.gif

Credits

This package was created with Cookiecutter based on a modified version of audreyr/cookiecutter-pypackage.

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

dupin-0.2.tar.gz (753.0 kB view details)

Uploaded Source

Built Distribution

dupin-0.2-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file dupin-0.2.tar.gz.

File metadata

  • Download URL: dupin-0.2.tar.gz
  • Upload date:
  • Size: 753.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for dupin-0.2.tar.gz
Algorithm Hash digest
SHA256 f1a99500971fa714922eaf850b2729b78afd00ff3064b112fbd64589fc904249
MD5 c9aca60c2ce8d121d7cc628ccb9dce1c
BLAKE2b-256 7af3928d8d96a2def45f321e63ada525ed42e5734af0c97508038da2777dbd56

See more details on using hashes here.

Provenance

The following attestation bundles were made for dupin-0.2.tar.gz:

Publisher: deploy.yml on glotzerlab/dupin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dupin-0.2-py3-none-any.whl.

File metadata

  • Download URL: dupin-0.2-py3-none-any.whl
  • Upload date:
  • Size: 41.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for dupin-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c8e53f2be5d1978b9801f910ad70ab9e0cfdd2a11089678b73cfacd60ea25178
MD5 7719b8e94e1ad4a14af2d7ab1fb86506
BLAKE2b-256 2e0a56909d4525335cb0a24adcf08f6d68b552d44a339980b25f1956a684d88f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dupin-0.2-py3-none-any.whl:

Publisher: deploy.yml on glotzerlab/dupin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page