pub struct Spots { /* private fields */ }Expand description
像面の上の重みつきの点(像面の局所座標)と、全光量(点の重みの和より大きいことがある: PSF の格子の外の光)
Implementations§
Source§impl Spots
impl Spots
Sourcepub fn geometric(
s: &System,
field: FieldSel,
w: Waves,
n: usize,
) -> Result<Spots>
pub fn geometric( s: &System, field: FieldSel, w: Waves, n: usize, ) -> Result<Spots>
瞳の n × n の格子の升の中心のうち瞳の中の点の光線(波長 w、None なら全部の波長を波長の重みで)の像面の点。 波長ごとに、届いた光線の重みの和を波長の重みにそろえる。けられ係数は系のとおり
Sourcepub fn psf(p: &Psf) -> Result<Spots>
pub fn psf(p: &Psf) -> Result<Spots>
PSF の格子の点(強度 × 升の面積、全光量は格子の中の光量 / Psf::enclosed)。格子は像面の上(crate::psf::PsfPlane::Image)
Sourcepub fn center(&self, c: EnergyCenter) -> (f64, f64)
pub fn center(&self, c: EnergyCenter) -> (f64, f64)
中心の点
Sourcepub fn curve(&self, at: (f64, f64), shape: EnergyShape) -> Curve
pub fn curve(&self, at: (f64, f64), shape: EnergyShape) -> Curve
中心 at からの距離の累積の割合(Curve、升に広げない)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Spots
impl RefUnwindSafe for Spots
impl Send for Spots
impl Sync for Spots
impl Unpin for Spots
impl UnsafeUnpin for Spots
impl UnwindSafe for Spots
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