ewoksxas.converters.orange.Features#
- class ewoksxas.converters.orange.Features(names, data, attributes=<factory>)[source]#
Bases:
objectThe spectral feature block: x-axis names and the 2D intensity matrix.
- Attributes:
names: 1D array of x-axis values (e.g. energy), one per feature column. data: 2D intensity matrix with shape (n_rows, n_features).
- Parameters:
names (
ndarray[tuple[int,...],dtype[Any]])data (
ndarray[tuple[int,...],dtype[float64]])attributes (
list[dict[str,str]])
- attributes: list[dict[str, str]]#
- data: ndarray[tuple[int, ...], dtype[float64]]#
- matches(other)[source]#
Return True when
otheris equivalent to this x-axis.- Parameters:
other (
ndarray[tuple[int,...],dtype[Any]])- Return type:
bool
- names: ndarray[tuple[int, ...], dtype[Any]]#