qlat.SelectedPointsBase

class qlat.SelectedPointsBase
__init__()

Methods

__init__()

cast_from(self, SelectedPointsBase other)

other can be SelectedPointsBase but of different type

from_numpy(self, arr)

need to be already initialized with ctype and psel arr.shape[0] == n_points

get_data_sig(self, RngState rng)

get a signature of the real_d or complex_d field

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