Signatures
siapy.entities.signatures
¶
Signals
dataclass
¶
Signals(_data: DataFrame)
load_from_parquet
classmethod
¶
to_numpy
¶
to_numpy() -> ndarray
Source code in siapy/entities/signatures.py
31 32 |
|
mean
¶
mean() -> ndarray
Source code in siapy/entities/signatures.py
34 35 |
|
SignaturesFilter
dataclass
¶
PARAMETER | DESCRIPTION |
---|---|
pixels |
TYPE:
|
signals |
TYPE:
|
Source code in siapy/entities/signatures.py
43 44 45 |
|
build
¶
build() -> Signatures
Source code in siapy/entities/signatures.py
47 48 |
|
rows
¶
PARAMETER | DESCRIPTION |
---|---|
rows |
|
Source code in siapy/entities/signatures.py
50 51 52 53 54 55 |
|
cols
¶
PARAMETER | DESCRIPTION |
---|---|
cols |
|
Source code in siapy/entities/signatures.py
57 58 59 60 |
|
Signatures
dataclass
¶
PARAMETER | DESCRIPTION |
---|---|
*args |
TYPE:
|
**kwargs |
TYPE:
|
Source code in siapy/entities/signatures.py
68 69 |
|
from_array_and_pixels
classmethod
¶
from_array_and_pixels(image: ndarray, pixels: Pixels) -> Signatures
PARAMETER | DESCRIPTION |
---|---|
image |
TYPE:
|
pixels |
TYPE:
|
Source code in siapy/entities/signatures.py
78 79 80 81 82 83 84 |
|
from_dataframe
classmethod
¶
from_dataframe(dataframe: DataFrame) -> Signatures
PARAMETER | DESCRIPTION |
---|---|
dataframe |
TYPE:
|
Source code in siapy/entities/signatures.py
86 87 88 89 90 91 92 93 94 95 96 97 |
|
load_from_parquet
classmethod
¶
load_from_parquet(filepath: str | Path) -> Signatures
to_dataframe
¶
to_dataframe() -> DataFrame
Source code in siapy/entities/signatures.py
112 113 |
|
to_numpy
¶
to_numpy() -> ndarray
Source code in siapy/entities/signatures.py
115 116 |
|
filter
¶
filter() -> SignaturesFilter
Source code in siapy/entities/signatures.py
118 119 |
|