Ellipse.get_trace

Ellipse.get_trace(n_theta=100) tuple[list[float], list[float]][source]

Sample the ellipse boundary.

Parameters:

n_theta (int, optional) – Number of boundary points to generate.

Returns:

Y and Z coordinates of the sampled boundary.

Return type:

tuple[np.ndarray, np.ndarray]