uf3.representation.bspline.generate_uniform_knots¶
- generate_uniform_knots(r_min: float, r_max: float, n_intervals: int, sequence: bool = True) numpy.ndarray[source]¶
Generate evenly-spaced knot points or knot sequence.
- Parameters
r_min (float) – lower-bound for knot points.
r_max (float) – upper-bound for knot points.
n_intervals (int) – number of unique intervals in the knot sequence, i.e. n_intervals + 1 samples will be taken between r_min and r_max.
sequence (bool) – whether to repeat ends to yield knot sequence.
- Returns
knot points or knot sequence.
- Return type
knots (np.ndarray)