ewoksndreg.features.features.base.Features#
- class ewoksndreg.features.features.base.Features[source]#
Bases:
Sequence
,Registered
- class RegistryId(name, backend)#
Bases:
NamedTuple
-
backend:
str
# Alias for field number 1
- count(value, /)#
Return number of occurrences of value.
- classmethod factory(value)#
- Parameters:
value (
Union
[RegistryId
,str
,Tuple
])
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.
-
name:
str
# Alias for field number 0
-
backend:
- property coordinates: ndarray#
- count(value) integer -- return number of occurrences of value #
- classmethod get_subclass(registry_id)#
- Parameters:
registry_id (
RegistryId
)- Return type:
Type
[Registered
]
- classmethod get_subclass_id()#
- Return type:
Optional
[RegistryId
]
- classmethod get_subclass_ids()#
- Return type:
List
[RegistryId
]
- classmethod get_subclass_items()#
- Return type:
List
[RegistryId
]
- classmethod get_subclasses()#
- Return type:
List
[Type
[Registered
]]
- index(value[, start[, stop]]) integer -- return first index of value. #
Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.
- property ndim: int#
- property nfeatures: int#