pub struct MultiWavelengthSolverResult {
pub opd_m: Array2<f64>,
pub spectral: SpectralReconstructionResult,
pub initialization_opd: Option<OpticalPathDifferenceResult>,
pub initialization_trace: Option<ReconstructionTrace>,
pub checkpoint: SpectralReconstructionCheckpoint,
}Expand description
Joint OPD fit, derived wavelength fields, and optional initialization diagnostics.
Fields§
§opd_m: Array2<f64>Optimized nondispersive OPD in metres on the common (row, column) grid.
spectral: SpectralReconstructionResultDerived channel fields and fixed pupils, with the joint objective trace.
The model uses independent field storage; this solver couples their phases
through opd_m. Trace iteration zero is the constrained initial objective,
followed by post-update smoothed amplitude objectives.
initialization_opd: Option<OpticalPathDifferenceResult>Phase-mixing diagnostics before joint optimization, absent for explicit OPD starts.
initialization_trace: Option<ReconstructionTrace>Independent-field AP trace used by automatic initialization, otherwise absent.
checkpoint: SpectralReconstructionCheckpointFinal accepted OPD/amplitude state, fixed gauge, and initialization records for exact resume.
Implementations§
Source§impl MultiWavelengthSolverResult
impl MultiWavelengthSolverResult
Sourcepub fn write_bundle(
&self,
path: impl AsRef<Path>,
options: BundleExportOptions,
) -> Result<SpectralResultBundle>
pub fn write_bundle( &self, path: impl AsRef<Path>, options: BundleExportOptions, ) -> Result<SpectralResultBundle>
Writes channel fields plus authoritative joint OPD, gauge, bounds and initialization records.
Trait Implementations§
Source§impl Clone for MultiWavelengthSolverResult
impl Clone for MultiWavelengthSolverResult
Source§fn clone(&self) -> MultiWavelengthSolverResult
fn clone(&self) -> MultiWavelengthSolverResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for MultiWavelengthSolverResult
impl RefUnwindSafe for MultiWavelengthSolverResult
impl Send for MultiWavelengthSolverResult
impl Sync for MultiWavelengthSolverResult
impl Unpin for MultiWavelengthSolverResult
impl UnsafeUnpin for MultiWavelengthSolverResult
impl UnwindSafe for MultiWavelengthSolverResult
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> 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