pub enum MtfMethod {
Auto,
Interp,
Direct,
Fft,
}Expand description
MTF の瞳の OPD の求め方
Variants§
Auto
既定。MtfMethod::Interp。ただし求積の点数 n を自動で決めて Tuning::auto_fft_n を超え(収差が大きい系)、
周波数が AUTO_FFT_FREQS 個以上のときは MtfMethod::Fft
Interp
瞳の格子を 1 度追跡し、求積点では 6 点の Lagrange 補間(格子にけられた点がある所だけ直接追跡)
Direct
求積点をすべて直接追跡(遅い。補間の確かめ用)
Fft
瞳の格子の瞳関数の自己相関を FFT で全周波数まとめて求める(周波数が多いとき速い)
Trait Implementations§
impl Copy for MtfMethod
impl Eq for MtfMethod
impl StructuralPartialEq for MtfMethod
Auto Trait Implementations§
impl Freeze for MtfMethod
impl RefUnwindSafe for MtfMethod
impl Send for MtfMethod
impl Sync for MtfMethod
impl Unpin for MtfMethod
impl UnsafeUnpin for MtfMethod
impl UnwindSafe for MtfMethod
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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