pub struct SinWeightedPoissonGap { /* private fields */ }Expand description
The original Sine Weighted Poisson-gap algorithm.
The iteration parameter alters the random seed.
S. G. Hyberts, K. Takeuchi, G. Wagner, J Am Chem Soc. 2010, 132(7), 2145-2147. https://doi.org/10.1021/ja908004w
Implementations§
Source§impl SinWeightedPoissonGap
impl SinWeightedPoissonGap
Sourcepub const fn new(seed: [u8; 32]) -> SinWeightedPoissonGap
pub const fn new(seed: [u8; 32]) -> SinWeightedPoissonGap
Create a new SinWeightedPoissonGap from a random seed.
Trait Implementations§
Source§impl Clone for SinWeightedPoissonGap
impl Clone for SinWeightedPoissonGap
Source§fn clone(&self) -> SinWeightedPoissonGap
fn clone(&self) -> SinWeightedPoissonGap
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SinWeightedPoissonGap
impl Debug for SinWeightedPoissonGap
Source§impl Generator<Dim<[usize; 1]>> for SinWeightedPoissonGap
impl Generator<Dim<[usize; 1]>> for SinWeightedPoissonGap
Source§fn _generate(&self, count: usize, dims: Ix1, iteration: u64) -> Trace<Ix1>
fn _generate(&self, count: usize, dims: Ix1, iteration: u64) -> Trace<Ix1>
The underlying implementation of a schedule generator. Users should not call this directly because it doesn’t perform correctness assertions. Read more
Source§fn generate(&self, count: usize, dims: Dim) -> Schedule<Dim>
fn generate(&self, count: usize, dims: Dim) -> Schedule<Dim>
Generate a schedule where the iteration parameter is set to zero.
Source§fn generate_with_iter(
&self,
count: usize,
dims: Dim,
iteration: u64,
) -> Schedule<Dim>
fn generate_with_iter( &self, count: usize, dims: Dim, iteration: u64, ) -> Schedule<Dim>
Generate a schedule with a user-defined iteration parameter.
Source§fn generate_with_trace(&self, count: usize, dims: Dim) -> Trace<Dim>
fn generate_with_trace(&self, count: usize, dims: Dim) -> Trace<Dim>
Generate a schedule including trace output from each generation step. Read more
Source§fn generate_with_iter_and_trace(
&self,
count: usize,
dims: Dim,
iteration: u64,
) -> Trace<Dim>
fn generate_with_iter_and_trace( &self, count: usize, dims: Dim, iteration: u64, ) -> Trace<Dim>
Generate a schedule with a user-defined iteration parameter while returning a trace.
impl Copy for SinWeightedPoissonGap
Auto Trait Implementations§
impl Freeze for SinWeightedPoissonGap
impl RefUnwindSafe for SinWeightedPoissonGap
impl Send for SinWeightedPoissonGap
impl Sync for SinWeightedPoissonGap
impl Unpin for SinWeightedPoissonGap
impl UnwindSafe for SinWeightedPoissonGap
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> FillCornersBuilder for T
impl<T> FillCornersBuilder for T
Source§impl<Dim, T> IterateBuilder<Dim> for T
impl<Dim, T> IterateBuilder<Dim> for T
Source§impl<T> PSFPolisherBuilder for T
impl<T> PSFPolisherBuilder for T
Source§fn polish_psf(
self,
threshold: f64,
swap_value: f64,
mode: DisplayMode,
) -> <PSFPolisher as Modifier<Ix1>>::Output<Self>where
Self: Sized,
fn polish_psf(
self,
threshold: f64,
swap_value: f64,
mode: DisplayMode,
) -> <PSFPolisher as Modifier<Ix1>>::Output<Self>where
Self: Sized,
Swap sample points to smooth away point-spread function artifacts.