CoherentKirchoffPsf¶
- class dnois.optics.rt.CoherentKirchoffPsf(psf_size: int | tuple[int, int] = 64, psf_center: Literal['linear', 'mean', 'mean-robust', 'chief'] | tuple[float, float] | PsfCenterDeterm = 'linear')¶
- pick(name: str, value=None) Any ¶
Determine the value of an external parameter
name
. The return value is determined by the eponymous attribute ofself
ifvalue
isNone
, orvalue
otherwise.- Parameters:
name (str) – Name of the external parameter.
value (Any) – Candidate of the external parameter. Default: the eponymous attribute of
self
.
- Returns:
Value of the external parameter.
- Return type:
Any
- psf(optics: CoaxialRayTracing, origins: Tensor, wl: Real | Sequence[Real] | Tensor = None, psf_size: int | tuple[int, int] = None, psf_center: Literal['linear', 'mean', 'mean-robust', 'chief'] | tuple[float, float] | PsfCenterDeterm = None, samples: int = 512, **kwargs) Tensor ¶
This method is subject to change.