GitHub source

evo.objects.typed.pointset.PointSet

A GeoscienceObject representing a set of points in 3D space.

The object contains a locations dataset with coordinates and optional attributes for each point.

num_points

num_points: int

The number of points in this pointset.

attributes

attributes: 'Attributes'

The attributes associated with the points in this pointset.

coordinates

coordinates(fb: IFeedback = NoFeedback) -> pd.DataFrame

Get the coordinates dataframe for the pointset.

Parameters:

Name Type Description Default
fb IFeedback

Optional feedback object to report download progress.

NoFeedback

Returns:

Type Description
DataFrame

A DataFrame with 'x', 'y', 'z' columns representing point coordinates.

to_dataframe

to_dataframe(*keys: str, fb: IFeedback = NoFeedback) -> pd.DataFrame

Get the full dataframe for the pointset, including coordinates and attributes.

Parameters:

Name Type Description Default
keys str

Optional list of attribute keys to include. If not provided, all attributes are included.

()
fb IFeedback

Optional feedback object to report download progress.

NoFeedback

Returns:

Type Description
DataFrame

A DataFrame with 'x', 'y', 'z' columns and any additional attribute columns.