Validates the connections input.

validate_conns(conns, tan_imgs, vec_imgs, centered)

Arguments

conns

List of connection matrices.

tan_imgs

List of tangent images.

vec_imgs

Matrix of vector images.

centered

Logical indicating if the data is centered.

Value

None. Throws an error if the validation fails.