convnwb.utils.convert.convert_to_array

convnwb.utils.convert.convert_to_array(data, dtype)[source]

Convert to an array of specified data type.

Parameters:
dataarray_like

Data to cast to an array.

dtypestr

Data type to cast the array.

Returns:
arraynp.ndarray

Data, converted to array.