qlat.PointsSelection¶
- class qlat.PointsSelection(*args)¶
- __init__()¶
PointsSelection() PointsSelection(fsel) PointsSelection(total_site) PointsSelection(total_site, xg_arr) PointsSelection(total_site, xg_list) PointsSelection(total_site, xg) PointsSelection(total_site, n_points) PointsSelection(total_site, xg_arr, points_dist_type) # points_dist_type in [ None, “g”, “l”, “r”, ]
Methods
PointsSelection() PointsSelection(fsel) PointsSelection(total_site) PointsSelection(total_site, xg_arr) PointsSelection(total_site, xg_list) PointsSelection(total_site, xg) PointsSelection(total_site, n_points) PointsSelection(total_site, xg_arr, points_dist_type) # points_dist_type in [ None, "g", "l", "r", ]
coordinate_from_idx
(self, Long idx)copy
(self)crc32
(self)intersect
(self, FieldSelection fsel)return new psel
load
(self, string path, Geometry geo)release_buffer
(self, Buffer buf)save
(self, string path)set_rand
(self, Coordinate total_site, ...)Attributes
cdata
geo
n_points
points_dist_type
points_dist_type in [ "g", "l", "r", ]
total_site
view_count
return xg for all selected points shape = (psel.n_points, 4,)