braintools.analysis.population.CCAResult#
- class braintools.analysis.population.CCAResult(correlations, x_weights, y_weights)[source]#
Result of
cca()(a pytree, so it passes throughjax.jit).- Variables:
correlations (jax.Array) – Canonical correlations, shape
(k,), in decreasing order.x_weights (jax.Array or brainunit.Quantity) – Canonical weights for
x, shape(p, k)(unit1/unit_x).y_weights (jax.Array or brainunit.Quantity) – Canonical weights for
y, shape(q, k)(unit1/unit_y).
- __init__()#
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
correlationsAlias for field number 0
x_weightsAlias for field number 1
y_weightsAlias for field number 2