Skip to content

Add UnitLocations extension#7

Merged
alejoe91 merged 4 commits intomainfrom
add-unit-locations
Feb 18, 2026
Merged

Add UnitLocations extension#7
alejoe91 merged 4 commits intomainfrom
add-unit-locations

Conversation

@alejoe91
Copy link
Contributor

Fixes #5

Copy link
Contributor

@h-mayorquin h-mayorquin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add it to the recently merged utility for reading:

#7

unit_locations = VectorData(
name="locations",
data=unit_locations_data.astype(np.float32),
description="Estimated unit locations in 3D space (x, y, z)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this give you 3 D by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I depends on the method: center of mass and grid_convolution will return a 2D array, monopolar triangulation a 3D one. In this case it's 3d

@alejoe91 alejoe91 merged commit 39a8133 into main Feb 18, 2026
8 checks passed
@alejoe91 alejoe91 deleted the add-unit-locations branch February 18, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add unit_locations extension type

2 participants