Skip to content

output covariance matrix from eigen calculations #312

Answered by daavoo
jkissi asked this question in Q&A
Discussion options

You must be logged in to vote

Hola @jkissi !

It is not really exposed to the users but if you look at:

https://github.com/daavoo/pyntcloud/blob/master/pyntcloud/scalar_fields/k_neighbors.py#L28

You could manually build the k_neighbors array (as in https://github.com/daavoo/pyntcloud/blob/master/pyntcloud/scalar_fields/k_neighbors.py#L20)

And then call cov3D(k_neighbors) (from pyntcloud.utils.array).

That would give you the covariance matrix that is used for the eigen calculations.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jkissi
Comment options

@daavoo
Comment options

@jkissi
Comment options

Answer selected by jkissi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants