qlat.SelectedFieldBase¶
- class qlat.SelectedFieldBase¶
- __init__()¶
Methods
__init__
()cast_from
(self, SelectedFieldBase other)other can be SelectedFieldBase but of different type
double_from_float
(self, SelectedFieldRealF ff)float_from_double
(self, SelectedFieldBase f)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)glb_sum_tslice
(self, *[, t_dir])return SelectedPoints(self.ctype, get_psel_tslice(self.total_site, t_dir=t_dir))
load_64
(self, path, *args, **kwargs)Generic load for SelectedField object with conversion
load_direct
(self, path, *args, **kwargs)Generic load for SelectedField object possible way to call: f.load_direct(path) # has some limitations f.load_direct(sfr, fn) if self.fsel is None, self.fsel will be set during f.load_direct(sfr, fn)
load_double
(self, path, *args, **kwargs)Generic load for SelectedField object with conversion
load_double_from_float
(self, path, *args, ...)Generic load for SelectedField object with conversion
save_64
(self, path, *args, **kwargs)Generic save for SelectedField object with conversion
save_direct
(self, path, *args, **kwargs)Generic save for SelectedField object possible way to call: f.save_direct(path) # has some limitations f.save_direct(sfw, fn)
save_double
(self, path, *args, **kwargs)Generic save for SelectedField object with conversion
save_float_from_double
(self, path, *args, ...)Generic save for SelectedField object with conversion
set_elem
(self, idx, m, val)val should be np.ndarray.
set_elems
(self, idx, val)val should be np.ndarray.
to_from_endianness
(self, tag)Attributes
cdata
fsel
fsel: qlat.field_selection.FieldSelection
view_count