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

Debug find_fixed_points #597

Merged
merged 2 commits into from
Nov 5, 2023
Merged
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions dynamo/vectorfield/scVectorField.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,18 +599,18 @@ def find_fixed_points(
self,
n_x0: int = 100,
X0: Optional[np.ndarray] = None,
domain=None,
sampling_method=Literal["random", "velocity", "trn", "kmeans"],
domain: Optional[np.ndarray] = None,
sampling_method: Literal["random", "velocity", "trn", "kmeans"] = "random",
**kwargs,
):
) -> None:
"""
Search for fixed points of the vector field function.

Args:
n_x0: Number of sampling points
X0: An array of shape (n_samples, n_dim)
domain: Domain in which to search for fixed points
sampling_method:
sampling_method: Method for sampling initial points. Can be one of `random`, `velocity`, `trn`, or `kmeans`.
"""
if domain is not None:
domain = np.atleast_2d(domain)
Expand Down