Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

space: Implement PropertyLayer and _PropertyGrid #1898

Merged
merged 37 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
be494d3
space: Implement PropertyLayer and _PropertyGrid
EwoutH Dec 4, 2023
6820b12
Allow initializing a _PropertyGrid with PropertyLayer
EwoutH Dec 4, 2023
f3ad411
_PropertyGrid: Implement multi-property cell selection and enhanced a…
EwoutH Dec 4, 2023
38faff5
_PropertyGrid: Add optional neighborhood filtering to spatial methods
EwoutH Dec 4, 2023
ddeb91c
PropertyLayer: Check dimensions and dtype on init
EwoutH Dec 4, 2023
1216d51
Add docstring to PropertyLayer
EwoutH Dec 4, 2023
f978f58
tests: Add tests for PropertyLayer
EwoutH Dec 4, 2023
900cd62
Add docstring for _PropertyGrid
EwoutH Dec 4, 2023
04beb82
_PropertyGrid: Make _get_neighborhood_mask private
EwoutH Dec 4, 2023
64ee7d3
move_agent_to_extreme_value_cell: remove closest option
EwoutH Dec 4, 2023
db9779c
tests: Add tests for _PropertyGrid
EwoutH Dec 4, 2023
5be029c
PropertyLayer: Fix handling of 'condition' callable in set_cells
EwoutH Dec 4, 2023
2ac72a5
PropertyLayer: Remove unnecessary check in aggregate_property
EwoutH Dec 4, 2023
6ead379
_PropertyGrid: Take mask as input for selection functions
EwoutH Dec 6, 2023
f570272
_PropertyGrid: Give option to return list or mask
EwoutH Dec 6, 2023
250678b
_PropertyGrid: Split move_agent_to_extreme_value_cell into two methods
EwoutH Dec 6, 2023
24102c0
_PropertyGrid: Add utility function to get empty mask
EwoutH Dec 6, 2023
6b80a2a
_PropertyGrid: Update method docstring
EwoutH Dec 6, 2023
2197bd3
_PropertyGrid: Rename functions to select and move by multiple proper…
EwoutH Dec 6, 2023
8afbc99
get_empty_mask: Use faster np.zeros
EwoutH Dec 6, 2023
b0358f9
Optimize select_extreme_value_cells method for performance
EwoutH Dec 6, 2023
eedbec7
Update PropertyGrid tests
EwoutH Dec 6, 2023
0351d14
Update test_space.py
EwoutH Dec 6, 2023
50d9602
Add a test if the coordinate systems are identical
EwoutH Dec 6, 2023
04718e7
PropertyLayer: Improve ufunc handling and lambda vectorization
EwoutH Dec 12, 2023
a119cd9
Remove move functions from PropertGrid
EwoutH Dec 25, 2023
b1e6a9b
Black formatting, ruff fixes
EwoutH Dec 25, 2023
3d752a4
_Property_grid: Implement single select_cells method
EwoutH Dec 29, 2023
26d2c80
_PropertyGrid: Keep empty_mask property, fix extreme_value bug
EwoutH Dec 29, 2023
598bdea
space: Mark PropertyLayer as experimental (add warning)
EwoutH Dec 29, 2023
6e12379
Rename is_lambda_function -> is_single_argument_function
rht Jan 6, 2024
627eccb
Remove is_numpy_ufunc function abstraction
rht Jan 6, 2024
f5f5065
fix: Handle all cases for modified_data in modify_cells
rht Jan 6, 2024
f96a9ef
Remove stray print function
rht Jan 6, 2024
3e7bd7b
Remove unused PyLint directive
rht Jan 6, 2024
c71c9f5
PropertyLayer: Default to float64 (consistent with Python float)
rht Jan 6, 2024
363fb0b
set_cells doc: Indicate that condition is optional
rht Jan 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading