Usage
>>> import numpy as np
>>> from event_tools import get_events
>>>
>>> raw_data = np.load("tests/dRNA.npy").astype(np.float64)
>>> et = get_events(raw_data)
>>> et.start, et.end, et.n
(0, 12351, 12351)
>>> for event in et.event[:5]:
>>> print(event.start, event.length, event.mean, event.stdv)
0 5.0 578.0 9.230384607372091
5 7.0 552.5714285714286 5.576920370275112
12 3.0 564.6666666666666 9.463379711055676
15 3.0 548.6666666666666 3.2998316455440815
18 4.0 553.75 4.205650960315181
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
event_tools-0.0.2.tar.gz
(4.1 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file event_tools-0.0.2.tar.gz.
File metadata
- Download URL: event_tools-0.0.2.tar.gz
- Upload date:
- Size: 4.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
maturin/0.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc031e1324fe92fedde80a7047da788ddb7880bcd959a79d4a08efe43f5e1548
|
|
| MD5 |
b54118419949274399b90c8dc869687b
|
|
| BLAKE2b-256 |
03b25d8f277e9f1649eff7890b4a2e8a8642094ed4529b38decc1beb525c8e51
|
File details
Details for the file event_tools-0.0.2-cp39-cp39-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: event_tools-0.0.2-cp39-cp39-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 258.6 kB
- Tags: CPython 3.9, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
maturin/0.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7371726d790dd9e04b3e51a5c3a69d9cc0bea3835d8ed0738721ea1f11b9709
|
|
| MD5 |
83829e4bf821ec403cc6fe4379eabc62
|
|
| BLAKE2b-256 |
d18a8acca9a805e259dea0a96a721524e4d8db0ad064aed86184e63fe486a052
|