-
Notifications
You must be signed in to change notification settings - Fork 1
Diffusion #8
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
base: main
Are you sure you want to change the base?
Conversation
Also remove the handling of the added boundary.
In favor of using method `
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request refactors environment attribute names and method calls for improved consistency and clarity while adding a new helper function to calculate the random walk movement variance. Key changes include switching from fit_place_grid to fit, updating attribute names from distance_between_nodes_/track_graphDD to distance_between_bins/track_graph_nd_, and renaming DataFrame columns and parameters for clarity.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
src/non_local_detector/models/base.py | Updated method call from fit_place_grid to fit to align with refactored API |
src/non_local_detector/continuous_state_transitions.py | Replaced attribute names (distance_between_nodes_ to distance_between_bins and track_graphDD to track_graph_nd_) for consistency |
src/non_local_detector/analysis/distance1D.py | Updated DataFrame column names and parameter renaming to reflect the new API |
Comments suppressed due to low confidence (4)
src/non_local_detector/continuous_state_transitions.py:201
- Ensure the new attribute name 'track_graph_nd_' is used consistently and update any associated documentation or comments to avoid confusion with the old name.
self.environment.track_graph_nd_, distance="distance"
src/non_local_detector/analysis/distance1D.py:425
- [nitpick] The parameter renaming to 'track_graph_bin_centers_edges' improves clarity; ensure this naming is uniformly applied across all function definitions and calls.
track_graph_bin_centers_edges: nx.Graph,
src/non_local_detector/continuous_state_transitions.py:190
- Verify that 'distance_between_bins' is consistently used across the project as it replaces the previous 'distance_between_nodes_' property.
.pdf(self.environment.distance_between_bins.flat)
src/non_local_detector/analysis/distance1D.py:88
- Confirm that the new column names 'pos_x' and 'pos_y' are correct and consistently used in the codebase and documentation.
env.get_bin_center_dataframe().loc[:, ["pos_x", "pos_y"]].to_numpy()
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
No description provided.