This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
115633b
commit 4d7480a
Showing
32 changed files
with
2,455 additions
and
525 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
target | ||
*.so | ||
.venv | ||
__pycache__ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from __future__ import annotations | ||
|
||
import pathlib | ||
import typing | ||
import types | ||
|
||
import numpy | ||
|
||
class Decoder: | ||
def __init__(self, path: typing.Union[pathlib.Path, str]): ... | ||
def __enter__(self) -> Decoder: ... | ||
def __exit__( | ||
self, | ||
exception_type: typing.Optional[typing.Type[BaseException]], | ||
value: typing.Optional[BaseException], | ||
traceback: typing.Optional[types.TracebackType], | ||
) -> bool: ... | ||
def __iter__(self) -> Decoder: ... | ||
def __next__(self) -> dict[str, numpy.ndarray]: ... | ||
def id_to_stream(self) -> dict[int, dict[str, typing.Union[str, int]]]: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from __future__ import annotations | ||
|
||
import pathlib | ||
import typing | ||
import types | ||
|
||
import numpy | ||
|
||
class Decoder: | ||
event_type: typing.Literal["2d", "dvs", "trigger"] | ||
width: int | ||
height: int | ||
|
||
def __init__( | ||
self, | ||
path: typing.Union[pathlib.Path, str], | ||
size_fallback: typing.Optional[tuple[int, int]] = None, | ||
version_fallback: typing.Optional[typing.Literal["DAT1", "DAT2"]] = None, | ||
): ... | ||
def __enter__(self) -> Decoder: ... | ||
def __exit__( | ||
self, | ||
exception_type: typing.Optional[typing.Type[BaseException]], | ||
value: typing.Optional[BaseException], | ||
traceback: typing.Optional[types.TracebackType], | ||
) -> bool: ... | ||
def __iter__(self) -> Decoder: ... | ||
def __next__(self) -> numpy.ndarray: ... |
Oops, something went wrong.