pub struct InverseOperator {
pub eigen_fields: Array2<f64>,
pub sing: Array1<f64>,
pub eigen_leads: Array2<f64>,
pub source_cov: Array1<f64>,
pub eigen_leads_weighted: bool,
pub n_sources: usize,
pub orientation: SourceOrientation,
pub source_nn: Array2<f64>,
pub whitener: Array2<f64>,
pub n_nzero: usize,
pub noise_cov: NoiseCov,
}Expand description
Prepared inverse operator, ready for application to data.
Created by make_inverse_operator and consumed by apply_inverse.
Contains the SVD decomposition of the whitened gain matrix plus
all metadata needed to reconstruct source currents.
Fields§
§eigen_fields: Array2<f64>Left singular vectors transposed: U^T, shape [n_nzero, n_channels].
sing: Array1<f64>Singular values, length n_nzero.
eigen_leads: Array2<f64>Right singular vectors: V, shape [n_sources × n_orient, n_nzero].
source_cov: Array1<f64>Source covariance diagonal (depth + orient priors), length n_sources × n_orient.
eigen_leads_weighted: boolWhether eigen_leads already includes √source_cov (set by eLORETA).
n_sources: usizeNumber of source locations.
orientation: SourceOrientationOrientation mode.
source_nn: Array2<f64>Source normals, shape [n_sources × n_orient, 3].
whitener: Array2<f64>Whitener matrix, shape [n_nzero, n_channels].
n_nzero: usizeNumber of non-zero eigenvalues in the noise covariance.
noise_cov: NoiseCovNoise covariance (retained for eLORETA computation).
Trait Implementations§
Source§impl Clone for InverseOperator
impl Clone for InverseOperator
Source§fn clone(&self) -> InverseOperator
fn clone(&self) -> InverseOperator
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for InverseOperator
impl RefUnwindSafe for InverseOperator
impl Send for InverseOperator
impl Sync for InverseOperator
impl Unpin for InverseOperator
impl UnsafeUnpin for InverseOperator
impl UnwindSafe for InverseOperator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more