Skip to main content

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


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)

Uploaded Source

Built Distribution

event_tools-0.0.2-cp39-cp39-manylinux_2_28_x86_64.whl (258.6 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

Supported by

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