pub struct SpectralDataset { /* private fields */ }Expand description
Resident spectral measurements, compiled model, converter metadata and optional per-channel truth.
Implementations§
Source§impl SpectralDataset
impl SpectralDataset
Sourcepub fn source_path(&self) -> &Path
pub fn source_path(&self) -> &Path
Borrows the local bundle directory.
Sourcepub fn measurements(&self) -> &MeasurementStack
pub fn measurements(&self) -> &MeasurementStack
Borrows resident scalar detector data and masks/weights.
Sourcepub fn model(&self) -> &SpectralImagePlaneModel
pub fn model(&self) -> &SpectralImagePlaneModel
Borrows the ordered compiled spectral model.
Sourcepub fn manifest(&self) -> &SpectralDatasetManifest
pub fn manifest(&self) -> &SpectralDatasetManifest
Borrows converter metadata and response provenance in channel order.
Sourcepub fn ground_truth_objects(&self) -> &[Option<Array2<Complex64>>]
pub fn ground_truth_objects(&self) -> &[Option<Array2<Complex64>>]
Borrows optional per-channel common-grid ground truths.
Sourcepub fn valid_object_masks(&self) -> &[Option<Array2<u8>>]
pub fn valid_object_masks(&self) -> &[Option<Array2<u8>>]
Borrows optional per-channel binary truth-validity masks.
Sourcepub fn reconstruction_problem(
&self,
) -> Result<SpectralReconstructionProblem<MeasurementStack>>
pub fn reconstruction_problem( &self, ) -> Result<SpectralReconstructionProblem<MeasurementStack>>
Copies resident data/model into an independently owned validated spectral problem.
Trait Implementations§
Source§impl Clone for SpectralDataset
impl Clone for SpectralDataset
Source§fn clone(&self) -> SpectralDataset
fn clone(&self) -> SpectralDataset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpectralDataset
impl RefUnwindSafe for SpectralDataset
impl Send for SpectralDataset
impl Sync for SpectralDataset
impl Unpin for SpectralDataset
impl UnsafeUnpin for SpectralDataset
impl UnwindSafe for SpectralDataset
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
Mutably borrows from an owned value. Read more
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> ⓘ
Converts
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> ⓘ
Converts
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