pub struct DetectorOpts {
pub pupil: usize,
pub npx: usize,
pub center: Option<(f64, f64)>,
pub width: Option<f64>,
pub sample_power: f64,
pub reference_power: f64,
pub delay: f64,
}Expand description
像面上の干渉縞の設定
Fields§
§pupil: usize瞳の光線の格子の一辺(2 以上)
npx: usize画素の数(一辺)
center: Option<(f64, f64)>検出面の範囲: 中心 (x, y) と一辺の長さ [mm](None なら 2 本の経路が届く範囲を覆う正方形)
width: Option<f64>§sample_power: f64試料・参照の強度にかける数
reference_power: f64§delay: f64参照の経路に足す光路長 [mm](縞の位相をずらす)
Trait Implementations§
Source§impl Clone for DetectorOpts
impl Clone for DetectorOpts
impl Copy for DetectorOpts
Source§impl Debug for DetectorOpts
impl Debug for DetectorOpts
Source§impl Default for DetectorOpts
impl Default for DetectorOpts
Source§impl PartialEq for DetectorOpts
impl PartialEq for DetectorOpts
impl StructuralPartialEq for DetectorOpts
Auto Trait Implementations§
impl Freeze for DetectorOpts
impl RefUnwindSafe for DetectorOpts
impl Send for DetectorOpts
impl Sync for DetectorOpts
impl Unpin for DetectorOpts
impl UnsafeUnpin for DetectorOpts
impl UnwindSafe for DetectorOpts
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