pub struct ZoomSpec {Show 13 fields
pub moving: Vec<Param>,
pub bounds: Vec<(f64, f64)>,
pub q: ParaxQ,
pub targets: Vec<Option<f64>>,
pub target_weight: f64,
pub target_tol: f64,
pub method: TargetMethod,
pub merit: DefaultMerit,
pub rings: usize,
pub reference: RmsRef,
pub steps: usize,
pub opts: DlsOpts,
pub stopped_as_vignetted: bool,
}Expand description
ズーム軌跡の設定
Fields§
§moving: Vec<Param>状態ごとに解くパラメータ(群の移動・間隔など)
bounds: Vec<(f64, f64)>動かすパラメータの範囲(moving と同じ長さ。空なら ±∞)
q: ParaxQ近軸量の種類
targets: Vec<Option<f64>>状態ごとの近軸量の目標(None は目標なし: 像の項だけで解く)。長さは状態の数
target_weight: f64近軸量の項の重みの初め(像の項の重みの合計に対する比)。目標との差が target_tol を超えれば 100 倍ずつ 3 回まで上げて解き直す
target_tol: f64近軸量の目標との差の許し(目標に対する比)
method: TargetMethod目標の満たし方
merit: DefaultMerit像の項
rings: usize§reference: RmsRef§steps: usize隣り合う状態の間にとる点の数
opts: DlsOpts§stopped_as_vignetted: bool止まった光線(全反射・面に届かない)をけられた光線と同じく除く(Problem::stopped_as_vignetted)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZoomSpec
impl RefUnwindSafe for ZoomSpec
impl Send for ZoomSpec
impl Sync for ZoomSpec
impl Unpin for ZoomSpec
impl UnsafeUnpin for ZoomSpec
impl UnwindSafe for ZoomSpec
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