coords

module of dascore.proc source

Processing operations that have much to do with coordinates.

Functions

Name Description
add_distance_to Calculate the distance to “origin” and create new coordinate.
append_dims Insert dimensions at the end of the patch.
coords_from_df Update non-dimensional coordinate of a patch using a dataframe.
drop_coords Update the coordiantes of a patch.
drop_private_coords Drop all private coords in the patch.
get_array Get an array associated with patch data or a coordinate.
get_coord Get a managed coordinate from the patch.
make_broadcastable_to Update the coordiantes of a patch.
order Re-order the patch contents based on coordinate values or indices.
rename_coords Rename coordinate of Patch.
select Return a subset of the patch.
snap_coords Snap coordinates to evenly spaced samples.
sort_coords Sort one or more coordinates.
squeeze Return a new object with len one dimensions flattened.
transpose Transpose the data array to any dimension order desired.
update_coords Update the coordiantes of a patch.