Offline and online event detection scheme for rare events in molecular simulations.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dupin-0.1.tar.gz
.
File metadata
- Download URL: dupin-0.1.tar.gz
- Upload date:
- Size: 752.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6f09c49cb088989d5383601d92f76833f04a165fec57f13b311bdebde357036 |
|
MD5 | 65f6746f688c0f490a84d1476eb0a183 |
|
BLAKE2b-256 | a7dd36ca99db6be5e94cea59e44316b396c82c3819d52fbe8cdee55092f5360e |
File details
Details for the file dupin-0.1-py3-none-any.whl
.
File metadata
- Download URL: dupin-0.1-py3-none-any.whl
- Upload date:
- Size: 41.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00adf2d9054d3d8580a2545770617511719a1949c49cc564cc3bbcf48a450626 |
|
MD5 | 27fb6a5e7563fec36596584b77b06928 |
|
BLAKE2b-256 | 0d7b92030a1f9007ba0ddb072ee61a9af5ab2b939e2f662bcc9a6d28962eea5c |