Skip to content

Commit

Permalink
Deploying to gh-pages from @ 8bc59eb 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniBodor committed Sep 15, 2023
1 parent 52b8428 commit 1d7853b
Show file tree
Hide file tree
Showing 8 changed files with 244 additions and 71 deletions.
90 changes: 71 additions & 19 deletions _modules/eitprocessing/binreader/sequence.html

Large diffs are not rendered by default.

42 changes: 31 additions & 11 deletions _sources/autoapi/eitprocessing/binreader/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@ Classes



.. py:attribute:: label
:type: str | None



.. py:attribute:: time
:type: numpy.typing.NDArray

Expand Down Expand Up @@ -244,10 +249,6 @@ Classes



.. py:attribute:: deepcopy
.. py:method:: __post_init__()
Expand All @@ -273,16 +274,16 @@ Classes
Checks whether content of two Sequence objects is equivalent.


.. py:method:: __add__(other)
.. py:method:: __add__(other: Sequence) -> Sequence
.. py:method:: merge(a: Sequence, b: Sequence) -> Sequence
.. py:method:: merge(a: Sequence, b: Sequence, label: str = None) -> Sequence
:classmethod:

Merge two Sequence objects together.
Create a merge of two Sequence objects.


.. py:method:: from_path(path: pathlib.Path | str | List[pathlib.Path | str], vendor: Vendor | str, framerate: int = None, first_frame: int = 0, max_frames: int | None = None) -> Sequence
.. py:method:: from_path(path: pathlib.Path | str | List[pathlib.Path | str], vendor: Vendor | str = None, label: str = None, framerate: int = None, first_frame: int = 0, max_frames: int | None = None) -> Sequence
:classmethod:

Load sequence from path(s)
Expand Down Expand Up @@ -311,7 +312,7 @@ Classes
:rtype: Sequence


.. py:method:: _load_file(path: pathlib.Path | str, vendor: Vendor | str, framerate: int = None, first_frame: int = 0, max_frames: int | None = None) -> Sequence
.. py:method:: _load_file(path: pathlib.Path | str, vendor: Vendor | str, label: str = None, framerate: int = None, first_frame: int = 0, max_frames: int | None = None) -> Sequence
:classmethod:

Method used by `from_path` that initiates the object and calls
Expand All @@ -326,10 +327,13 @@ Classes
Needs to be implemented in child class.


.. py:method:: __getitem__(indices)
.. py:method:: select_by_index(indices: slice, label: str | None = None)
.. py:method:: __getitem__(indices: slice)
.. py:method:: select_by_time(start: float | int | None = None, end: float | int | None = None, start_inclusive: bool = True, end_inclusive: bool = False) -> Sequence
.. py:method:: select_by_time(start: float | int | None = None, end: float | int | None = None, start_inclusive: bool = True, end_inclusive: bool = False, label: str = None) -> Sequence
Select subset of sequence by the `Sequence.time` information (i.e.
based on the time stamp).
Expand All @@ -355,6 +359,22 @@ Classes
:rtype: Sequence


.. py:method:: deepcopy(label: str = None, relabel: bool = True) -> Sequence
Create a deep copy of `Sequence` object.

:param label: Create a new `label` for the copy.
Defaults to None, which will trigger behavior described for relabel (below)
:type label: str
:param relabel: If `True` (default), the label of self is re-used for the copy,
otherwise the following label is assigned f"Deepcopy of {self.label}".
Note that this setting is ignored if a label is given.
:type relabel: bool

:returns: a deep copy of self
:rtype: Sequence



.. py:class:: TimpelSequence
Expand Down
42 changes: 31 additions & 11 deletions _sources/autoapi/eitprocessing/binreader/sequence/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ Classes



.. py:attribute:: label
:type: str | None



.. py:attribute:: time
:type: numpy.typing.NDArray

Expand Down Expand Up @@ -139,10 +144,6 @@ Classes



.. py:attribute:: deepcopy
.. py:method:: __post_init__()
Expand All @@ -168,16 +169,16 @@ Classes
Checks whether content of two Sequence objects is equivalent.


.. py:method:: __add__(other)
.. py:method:: __add__(other: Sequence) -> Sequence
.. py:method:: merge(a: Sequence, b: Sequence) -> Sequence
.. py:method:: merge(a: Sequence, b: Sequence, label: str = None) -> Sequence
:classmethod:

Merge two Sequence objects together.
Create a merge of two Sequence objects.


.. py:method:: from_path(path: pathlib.Path | str | List[pathlib.Path | str], vendor: Vendor | str, framerate: int = None, first_frame: int = 0, max_frames: int | None = None) -> Sequence
.. py:method:: from_path(path: pathlib.Path | str | List[pathlib.Path | str], vendor: Vendor | str = None, label: str = None, framerate: int = None, first_frame: int = 0, max_frames: int | None = None) -> Sequence
:classmethod:

Load sequence from path(s)
Expand Down Expand Up @@ -206,7 +207,7 @@ Classes
:rtype: Sequence


.. py:method:: _load_file(path: pathlib.Path | str, vendor: Vendor | str, framerate: int = None, first_frame: int = 0, max_frames: int | None = None) -> Sequence
.. py:method:: _load_file(path: pathlib.Path | str, vendor: Vendor | str, label: str = None, framerate: int = None, first_frame: int = 0, max_frames: int | None = None) -> Sequence
:classmethod:

Method used by `from_path` that initiates the object and calls
Expand All @@ -221,10 +222,13 @@ Classes
Needs to be implemented in child class.


.. py:method:: __getitem__(indices)
.. py:method:: select_by_index(indices: slice, label: str | None = None)
.. py:method:: __getitem__(indices: slice)
.. py:method:: select_by_time(start: float | int | None = None, end: float | int | None = None, start_inclusive: bool = True, end_inclusive: bool = False) -> Sequence
.. py:method:: select_by_time(start: float | int | None = None, end: float | int | None = None, start_inclusive: bool = True, end_inclusive: bool = False, label: str = None) -> Sequence
Select subset of sequence by the `Sequence.time` information (i.e.
based on the time stamp).
Expand All @@ -250,6 +254,22 @@ Classes
:rtype: Sequence


.. py:method:: deepcopy(label: str = None, relabel: bool = True) -> Sequence
Create a deep copy of `Sequence` object.

:param label: Create a new `label` for the copy.
Defaults to None, which will trigger behavior described for relabel (below)
:type label: str
:param relabel: If `True` (default), the label of self is re-used for the copy,
otherwise the following label is assigned f"Deepcopy of {self.label}".
Note that this setting is ignored if a label is given.
:type relabel: bool

:returns: a deep copy of self
:rtype: Sequence



.. py:class:: DraegerSequence
Expand Down
56 changes: 43 additions & 13 deletions autoapi/eitprocessing/binreader/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit 1d7853b

Please sign in to comment.