implement gaussian_pixel_int and modal_analysis

This commit is contained in:
w.pomp committed 2026-11-17 11:58:36 +01:00
1 parent 7a0b09c4c1
commit 3f2f01d795
7 files changed
+729 -16

No files matched your search

+7 -5
View File
@@ -1,10 +1,12 @@
use strum::IntoStaticStr;
use thiserror::Error;
#[derive(Debug, Error, IntoStaticStr)]
#[derive(Debug, thiserror::Error, strum::IntoStaticStr)]
pub enum Error {
#[error("matrix not invertible")]
MatrixNotInvertible,
SingularMatrix,
#[error("maximum iterations reached: {0}")]
MaxIterations(usize),
#[error(transparent)]
ParseError(#[from] strum::ParseError),
#[error(transparent)]
ShapeError(#[from] ndarray::ShapeError),
}