qlat.SelectedPointsBase¶
- class qlat.SelectedPointsBase¶
- __init__()¶
Methods
__init__
()from_numpy
(self, arr)need to be already initialized with ctype and psel arr.shape[0] == n_points
get_elem
(self, idx[, m])get_elems
(self, idx)load_str
(self, string content)save_str
(self)set_elem
(self, idx, m, val)val should be np.ndarray.
set_elems
(self, idx, val)val should be np.ndarray.
to_numpy
(self)Attributes
cdata
psel
psel: qlat.field_selection.PointsSelection
view_count