transformcl.theta

transformcl.theta(n, closed=False)

compute angles for DLT function values

Returns \(n\) angles \(\theta_0, \ldots, \theta_{n-1}\) at which the function \(f(\cos\theta)\) is evaluated in flt.dlt() or flt.idlt().

The returned angles can be distributed either over the open interval \((0, \theta)\), or over the closed interval \([0, \pi]\), in which case \(\theta_0 = 0, \theta_{n-1} = \pi\).

Parameters:
nint

Number of nodes.

Returns:
thetaarray_like (n,)

Angles in radians.

closedbool, optional

Compute angles over open (closed=False) or closed (closed=True) interval.