braintools.analysis.population.CCAResult

braintools.analysis.population.CCAResult#

class braintools.analysis.population.CCAResult(correlations, x_weights, y_weights)[source]#

Result of cca() (a pytree, so it passes through jax.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) (unit 1/unit_x).

  • y_weights (jax.Array or brainunit.Quantity) – Canonical weights for y, shape (q, k) (unit 1/unit_y).

__init__()#

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

correlations

Alias for field number 0

x_weights

Alias for field number 1

y_weights

Alias for field number 2