pub struct BornWolfParams { /* private fields */ }Expand description
Parameters for a scalar Born-Wolf 3D microscopy PSF.
Dimensions use (depth, height, width) order. Optical distances are in
micrometers.
Implementations§
Source§impl BornWolfParams
impl BornWolfParams
Sourcepub fn dims(self, value: (usize, usize, usize)) -> Self
pub fn dims(self, value: (usize, usize, usize)) -> Self
Set output dimensions in (depth, height, width) order.
Sourcepub fn wavelength_um(self, value: f32) -> Self
pub fn wavelength_um(self, value: f32) -> Self
Set emission wavelength in micrometers.
Sourcepub fn numerical_aperture(self, value: f32) -> Self
pub fn numerical_aperture(self, value: f32) -> Self
Set the objective numerical aperture.
Sourcepub fn refractive_index(self, value: f32) -> Self
pub fn refractive_index(self, value: f32) -> Self
Set the sample refractive index.
Sourcepub fn axial_step_um(self, value: f32) -> Self
pub fn axial_step_um(self, value: f32) -> Self
Set axial sample spacing in micrometers per z slice.
Trait Implementations§
Source§impl Clone for BornWolfParams
impl Clone for BornWolfParams
Source§fn clone(&self) -> BornWolfParams
fn clone(&self) -> BornWolfParams
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 moreimpl Copy for BornWolfParams
Source§impl Debug for BornWolfParams
impl Debug for BornWolfParams
Source§impl Default for BornWolfParams
impl Default for BornWolfParams
Source§impl PartialEq for BornWolfParams
impl PartialEq for BornWolfParams
Source§fn eq(&self, other: &BornWolfParams) -> bool
fn eq(&self, other: &BornWolfParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BornWolfParams
Auto Trait Implementations§
impl Freeze for BornWolfParams
impl RefUnwindSafe for BornWolfParams
impl Send for BornWolfParams
impl Sync for BornWolfParams
impl Unpin for BornWolfParams
impl UnsafeUnpin for BornWolfParams
impl UnwindSafe for BornWolfParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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