Skip to content

Commit

Permalink
docs: add docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 22, 2023
1 parent a46a767 commit 5e04cfd
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/dcnum/feat/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# flake8: noqa: F401
"""Feature computation"""
from . import feat_background, feat_brightness, feat_moments, feat_texture
from .event_extractor_manager_thread import EventExtractorManagerThread
from .queue_event_extractor import (
Expand Down
1 change: 1 addition & 0 deletions src/dcnum/feat/event_extractor_manager_thread.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"""Feature computation: managing event extraction threads"""
import logging
import multiprocessing as mp
import threading
Expand Down
1 change: 1 addition & 0 deletions src/dcnum/feat/feat_background/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# flake8: noqa: F401
"""Feature computation: background image data from image data"""
from .base import Background, get_available_background_methods
# Background methods are registered by importing them here.
from .bg_roll_median import BackgroundRollMed
Expand Down
1 change: 1 addition & 0 deletions src/dcnum/feat/feat_brightness/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# flake8: noqa: F401
"""Feature computation: brightness-based features"""
from .bright_all import brightness_features
from .common import brightness_names
1 change: 1 addition & 0 deletions src/dcnum/feat/feat_moments/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# flake8: noqa: F401
"""Feature computation: OpenCV moments-based features"""
from .mt_legacy import moments_based_features

1 change: 1 addition & 0 deletions src/dcnum/feat/feat_texture/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# flake8: noqa: F401
"""Feature computation: Haralick texture features"""
from .tex_all import haralick_names, haralick_texture_features
1 change: 1 addition & 0 deletions src/dcnum/feat/gate.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"""Feature computation: gating after feature extraction"""
import copy
import warnings

Expand Down
1 change: 1 addition & 0 deletions src/dcnum/feat/queue_event_extractor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"""Feature Extraction: event extractor worker"""
import collections
import logging
from logging.handlers import QueueHandler
Expand Down
2 changes: 1 addition & 1 deletion src/dcnum/write/deque_writer_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self,
----------
path_out:
Path to the output HDF5 file
dq:
dq: collections.deque
`collections.deque` object from which data are taken
using `popleft()`.
"""
Expand Down

0 comments on commit 5e04cfd

Please sign in to comment.