pub struct PsfOpts {
pub pupil: Option<usize>,
pub image: usize,
pub pixel: Option<f64>,
pub plane: PsfPlane,
}Expand description
PSF の設定
Fields§
§pupil: Option<usize>瞳の格子の一辺(直径を n 区間に分けた各区間の中心で標本化)。None で自動(隣り合う標本の位相差が π/2 以下に なる大きさ、64〜2048。超えたら格子を増やして求め直す)
image: usize像の格子の一辺
pixel: Option<f64>像の格子の間隔 [レンズ単位](None で 1 / (2 × 遮断周波数)、x・y 別、使う波長のうち最も短い波長で、 plane の面の上の値。単色の ChiefPerp なら OpticStudio の FFT PSF で像の格子 = 瞳の格子 × 2 のときと同じ)。 像の格子の幅は瞳の標本の周期を超えられない(間隔が既定なら image ≤ 2 pupil)
plane: PsfPlane像の面(既定は像面の上)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PsfOpts
impl RefUnwindSafe for PsfOpts
impl Send for PsfOpts
impl Sync for PsfOpts
impl Unpin for PsfOpts
impl UnsafeUnpin for PsfOpts
impl UnwindSafe for PsfOpts
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