PTMKnots#

class liesel_ptm.PTMKnots(a, b, nparam, order=3, eps=0.0)[source]#

Bases: object

Knots for a monotonically increasing PTM spline.

Parameters:
  • a (float) – Left boundary of the core interval.

  • b (float) – Right boundary of the core interval.

  • nparam (int) – Number of parameters for the spline.

  • order (int) – Spline order. (default: 3)

  • eps (float) – Stretch factor for knot spacing. (default: 0.0)

a#

Left boundary of the core interval.

b#

Right boundary of the core interval.

nparam#

Number of parameters for the spline.

order#

Spline order.

knots#

Array of spline knots.

step#

Step size between knots.

Methods

Attributes