def window_from_array(array):
from ...utils.lal import (find_typed_function)<EOL>dtype = array.dtype<EOL>seq = find_typed_function(dtype, '<STR_LIT>', '<STR_LIT>')(array.size)<EOL>seq.data = array<EOL>return find_typed_function(dtype, '<STR_LIT>', '<STR_LIT>')(seq)<EOL>
Convert a `numpy.ndarray` into a LAL `Window` object