bayespecon.logdet.spline

bayespecon.logdet.spline(W, rmin=0.0, rmax=1.0, n_grid=100)[source]

Compute spline-interpolated log-determinant grid (MATLAB lndetint style).

Parameters:
W : array-like

Spatial weights matrix.

rmin : float, default=0.0

Lower bound of the rho grid.

rmax : float, default=1.0

Upper bound of the rho grid.

n_grid : int, default=100

Number of grid points.

Returns:

Dictionary with rho and lndet vectors.

Return type:

dict