Skip to content

Commit 2f750f3

Browse files
authored
Merge pull request #41 from wanunulab/docs/add-docstrings-and-type-hints
Add docstrings and type hints across all modules
2 parents 2783df1 + d1de52d commit 2f750f3

11 files changed

Lines changed: 2039 additions & 568 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,3 @@ src/ionique/cparsers.c
171171
src/ionique/_version.py
172172

173173

174-

src/ionique/__init__.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,38 @@
11
#!/usr/bin/env python
2+
"""
3+
ionique: modular nanopore signal analysis framework for ionic current data.
4+
5+
Submodules
6+
----------
7+
core
8+
Segment tree hierarchy (AbstractSegmentTree, MetaSegment, Segment) for
9+
organizing and recursively parsing ionic current signal data. core is rarely imported by the user.
10+
datatypes
11+
Data containers including TraceFile for wrapping loaded traces and
12+
SessionFileManager (singleton) for managing a session's loaded files.
13+
io
14+
File readers for nanopore data formats: EDH, OPT, and ABF. Handles
15+
loading, metadata extraction, and unit scaling.
16+
utils
17+
Signal processing utilities such as filters and feature extraction helpers.
18+
19+
parsers
20+
Event detection parsers (SpikeParser, AutoSquareParser) that operate on
21+
Segment trees and produce child segments for detected events.
22+
plotting
23+
Bokeh-based visualization functions and Panel-based interactive
24+
dashboards for exploring nanopore traces.
25+
simple
26+
GUI/Jupyter convenience functions and Panel widgets for file loading and
27+
parser configuration, intended for non-programmatic use.
28+
29+
Notes
30+
-----
31+
``__version__`` is auto-generated from the package metadata by
32+
setuptools-scm and exposed here so callers can inspect it via
33+
``ionique.__version__``. Falls back to ``"0.0.0"`` when the generated
34+
``_version.py`` file is absent (e.g. in an uninstalled source tree).
35+
"""
236
import ionique.core as core
337
import ionique.datatypes as datatypes
438
import ionique.io as io

0 commit comments

Comments
 (0)