No project description provided
Project description
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
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
event_tools-0.0.2.tar.gz
(4.1 MB
view hashes)
Built Distribution
Close
Hashes for event_tools-0.0.2-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7371726d790dd9e04b3e51a5c3a69d9cc0bea3835d8ed0738721ea1f11b9709 |
|
MD5 | 83829e4bf821ec403cc6fe4379eabc62 |
|
BLAKE2b-256 | d18a8acca9a805e259dea0a96a721524e4d8db0ad064aed86184e63fe486a052 |