ewoksxas.fit.data.as_1d_array#
- ewoksxas.fit.data.as_1d_array(iterable)[source]#
Converts a 1D numeric iterable into a flattened 1D numpy array.
- Args:
iterable: One-dimensional sequence of floats.
- Raises:
TypeError: If iterable is not type Iterable or is type string or bytes. ValueError: If iterable is scalar or has two or more dimensions.
- Parameters:
iterable (
Iterable[float64])- Return type:
ndarray[tuple[int,...],dtype[float64]]