qlat.LatData

class qlat.LatData
__init__()

Methods

__init__()

bcast(self, Int root=0)

copy(self, Bool is_copying_data=True)

dim_idx(self, int dim, string idx)

return the Long idx_int that dim.indices[idx_int] contains the std::string& idx.

dim_indices(self, int dim, ...)

dim_name(self, int dim)

dim_names(self)

by default, return list can be used as the input argument for ld.from_numpy

dim_size(self, int dim)

dim_sizes(self)

from_list(self, list val, *, ...)

from_numpy(self, ndarray val, ...)

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

glb_sum(self)

glb_sum_in_place(self)

info(self[, dim])

by default, return list can be used as the input argument for ld.set_info or mk_lat_data

is_complex(self)

is_match(self, LatData ld1)

ld.info needs to be exactly equal

load(self, string path)

load_node(self, string path)

load_str(self, string content)

ndim(self)

qnorm(self)

release_buffer(self, Buffer buf)

save(self, string path)

save_node(self, string path)

save_str(self)

set_dim_name(self, int dim, string name, ...)

set_dim_sizes(self, list dim_sizes, *, ...)

set_info(self, list info_list, *, ...)

info_list format.

set_zero(self)

show(self)

to_list(self)

to_numpy(self)

to_xarray(self)

Attributes

cdata

view_count