qlat.LatData.from_numpy¶
- LatData.from_numpy(self, ndarray val, list dim_names=None, *, Bool is_complex=True)¶
only set LatData shape if it is initially empty otherwise only set data and ignore shape completely dim_names should be a list of names for each dimension