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
Documentation: Read our API documentation.
Installation Guide: Look at our installation guide.
GitHub Repository: Check out the source code.
Issue Tracker: File a bug report or pull request.
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)
Credits
This package was created with Cookiecutter based on a modified version of audreyr/cookiecutter-pypackage.
Release files for dupin 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dupin-0.2.tar.gz | 753.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dupin-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 794.3 kB
Release files / dupin-0.2.tar.gz
| Download URL | dupin-0.2.tar.gz |
|---|---|
| Size | 753.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1a99500971fa714922eaf850b2729b78afd00ff3064b112fbd64589fc904249
|
|
BLAKE2b-256 checksum How to use checksums |
7af3928d8d96a2def45f321e63ada525ed42e5734af0c97508038da2777dbd56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 19, 2025.
Transparency logRelease files / dupin-0.2-py3-none-any.whl
| Download URL | dupin-0.2-py3-none-any.whl |
|---|---|
| Size | 41.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8e53f2be5d1978b9801f910ad70ab9e0cfdd2a11089678b73cfacd60ea25178
|
|
BLAKE2b-256 checksum How to use checksums |
2e0a56909d4525335cb0a24adcf08f6d68b552d44a339980b25f1956a684d88f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 19, 2025.
Transparency log