coords

module of dascore.proc source

Processing operations that have much to do with coordinates.

Functions

Name Description
append_dims Insert dimensions at the end of the patch.
assert_has_coords Raise an error if patch doesn’t have required coordinates.
coords_from_df Update non-dimensional coordinate of a patch using a dataframe.
drop_coords Update the coordiantes of a patch.
get_array Get an array associated with patch data or a coordinate.
get_coord Get a managed coordinate, raising if it doesn’t meet requirements.
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.