Skip to content

Commit

Permalink
remove and add
Browse files Browse the repository at this point in the history
  • Loading branch information
duguyue100 committed Mar 16, 2024
1 parent 0552338 commit 8d4e3e8
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 93 deletions.
2 changes: 0 additions & 2 deletions pyaer/__about__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"""About page."""

__all__ = ["__version__", "__author__", "__author_email__", "__url__"]

__version__ = "0.2.7a0"
Expand Down
6 changes: 0 additions & 6 deletions pyaer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
"""Properly init the package.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""

from __future__ import absolute_import
from __future__ import print_function

Expand Down
24 changes: 9 additions & 15 deletions pyaer/comm.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
"""Communication Module.
This script includes class definitions for communication
between processes. Example usage is to have a process for
fetching data from the event cameras and other processes for
processing the data.
The communication protocol is implemented through zeromq package.
The design principle is similar to ROS where there is a hub for
central scheduling, a group of publishers for sending data, and
a group of subscribers to get/process data.
Author: Yuhuang Hu
Email : yuhuang.hu@ini.uzh.ch
This script includes class definitions for communication between processes. Example
usage is to have a process for fetching data from the event cameras and other processes
for processing the data. The communication protocol is implemented through zeromq
package.
The design principle is similar to ROS where there is a hub for central scheduling, a
group of publishers for sending data, and a group of subscribers to get/process data.
"""

import json
Expand Down Expand Up @@ -612,9 +607,8 @@ def __init__(
This is a shell implementation.
Intend to use as a processing unit.
First subscribe on a topic, process it, and then publish to
a topic
Intend to use as a processing unit. First subscribe on a topic, process it, and
then publish to a topic
"""
self.__dict__.update(kwargs)

Expand Down
11 changes: 1 addition & 10 deletions pyaer/container.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
"""Event Container.
Motivation: After the events are read from the event packet,
it's difficult to use and less informative to return them
as single variables, therefore, I decide to introduce a
container that can manage all the returned Python variables.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

from typing import Optional

Expand Down
6 changes: 1 addition & 5 deletions pyaer/davis.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""DAVIS Camera.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

import numpy as np

Expand Down
6 changes: 1 addition & 5 deletions pyaer/device.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""Generic Device.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

import abc

Expand Down
6 changes: 1 addition & 5 deletions pyaer/dvs128.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""DVS128.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

import numpy as np

Expand Down
6 changes: 1 addition & 5 deletions pyaer/dvxplorer.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""DVXPLORER Camera.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

import numpy as np

Expand Down
6 changes: 1 addition & 5 deletions pyaer/dynapse.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""DYNAPSE.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

import time

Expand Down
6 changes: 1 addition & 5 deletions pyaer/edvs.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""eDVS.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

import numpy as np

Expand Down
6 changes: 1 addition & 5 deletions pyaer/evk.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""Samsung EVK Camera.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

import numpy as np

Expand Down
6 changes: 1 addition & 5 deletions pyaer/filters.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""Implementation of software filters in libcaer.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

from typing import Any
from typing import Dict
Expand Down
8 changes: 1 addition & 7 deletions pyaer/log.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
"""Logger for PyAER.
NOTE: this is different from libcaer's logger.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

import logging
from logging import Logger
Expand Down
6 changes: 1 addition & 5 deletions pyaer/utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""Utilities Functions.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""
from __future__ import annotations

import importlib.util as imutil
import json
Expand Down
10 changes: 10 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[mypy]

[mypy-h5py.*]
ignore_missing_imports = True

[mypy-zarr.*]
ignore_missing_imports = True

[mypy-yaml.*]
ignore_missing_imports = True
9 changes: 1 addition & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
"""Setup script for the pyaer package.
Author: Yuhuang Hu
Email : duguyue100@gmail.com
"""

from __future__ import absolute_import
from __future__ import print_function
from __future__ import annotations

import os
from sys import platform
Expand Down

0 comments on commit 8d4e3e8

Please sign in to comment.