implement gaussian_pixel_int and modal_analysis
This commit is contained in:
1 parent
7a0b09c4c1
commit
3f2f01d795
7 files changed
+729
-16
No files matched your search
+7
-5
@@ -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),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user