pub struct DatasetSubset { /* private fields */ }Expand description
Owned dataset values after deterministic frame selection and optional spatial crop.
Implementations§
Source§impl DatasetSubset
impl DatasetSubset
Sourcepub fn measurements(&self) -> &MeasurementStack
pub fn measurements(&self) -> &MeasurementStack
Borrows subsetted resident measurements.
Sourcepub fn configuration(&self) -> &SimulationConfiguration
pub fn configuration(&self) -> &SimulationConfiguration
Borrows models and descriptions updated for the subset dimensions and sources.
Sourcepub fn ground_truth_object(&self) -> Option<&Array2<Complex64>>
pub fn ground_truth_object(&self) -> Option<&Array2<Complex64>>
Borrows optional cropped high-resolution complex ground truth.
Sourcepub fn valid_object_mask(&self) -> Option<&Array2<u8>>
pub fn valid_object_mask(&self) -> Option<&Array2<u8>>
Borrows optional cropped binary object-validity mask.
Sourcepub fn provenance(&self) -> &BTreeMap<String, String>
pub fn provenance(&self) -> &BTreeMap<String, String>
Borrows original provenance plus deterministic subset annotations.
Sourcepub fn measurement_units(&self) -> Option<&str>
pub fn measurement_units(&self) -> Option<&str>
Borrows unchanged semantic measurement units.
Sourcepub fn reconstruction_problem(
&self,
) -> Result<ReconstructionProblem<MeasurementStack>>
pub fn reconstruction_problem( &self, ) -> Result<ReconstructionProblem<MeasurementStack>>
Clones subset measurements and assumed model into a validated reconstruction problem.
Trait Implementations§
Source§impl Clone for DatasetSubset
impl Clone for DatasetSubset
Source§fn clone(&self) -> DatasetSubset
fn clone(&self) -> DatasetSubset
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 DatasetSubset
impl RefUnwindSafe for DatasetSubset
impl Send for DatasetSubset
impl Sync for DatasetSubset
impl Unpin for DatasetSubset
impl UnsafeUnpin for DatasetSubset
impl UnwindSafe for DatasetSubset
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