neuralib.widefield.svd.SequenceSingularVector

class neuralib.widefield.svd.SequenceSingularVector[source]

Bases: NamedTuple

A NamedTuple that represents a singular value decomposition result from image sequences

Dimension parameters:

W = image width

H = image height

F = number of image frame (sequence)

C = number of components after SVD reduction

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

left_vector

Spatial structure (left singular vectors).

right_vector

Temporal structure (right singular vectors).

singular_value

The singular values corresponding to each of the selected components, represent the strength/energy of each component.

svd

Dimensionality reduction using truncated SVD

svd: TruncatedSVD

Dimensionality reduction using truncated SVD

right_vector: ndarray

Temporal structure (right singular vectors). Array[float, [F, C]]

static __new__(_cls, svd, right_vector, left_vector)

Create new instance of SequenceSingularVector(svd, right_vector, left_vector)

Parameters:
  • svd (TruncatedSVD)

  • right_vector (ndarray)

  • left_vector (ndarray)

left_vector: ndarray

Spatial structure (left singular vectors). Array[float, [W * H, C]]

property singular_value: ndarray

The singular values corresponding to each of the selected components, represent the strength/energy of each component. Array[float, C]