uxarray icon indicating copy to clipboard operation
uxarray copied to clipboard

Support `Numpy.ndArray` for Node 2D/3D Coordinate Conversion Functions

Open hongyuchen1030 opened this issue 1 year ago • 0 comments

Describe the feature you'd like added to this project Enable node_xyz_to_lonlat_rad, node_lonlat_rad_to_xyz, normalize_in_place take np.array() as input and output

Link to original functionality implementation elsewhere, if applicable Originigaly:

  1. It only takes list as input and the output is also list Links to other examples, if applicable

Describe the solution you'd like Modify the current node_xyz_to_lonlat_rad, node_lonlat_rad_to_xyz, normalize_in_place helper functions such that: 1. it takes np.array() or list as input. 2. The output is in the np.array() format

Additional context Add any other context or screenshots about the feature request here.

hongyuchen1030 avatar Jun 14 '23 01:06 hongyuchen1030