PsfCenterDeterm¶
- class dnois.optics.rt.PsfCenterDeterm¶
A class to define the way to determine PSF center.
- classmethod create(model_type: str, *args, **kwargs) Self ¶
Create an instance whose
type
is same asmodel_type
. Any other parameters are passed to the constructor of the corresponding class.
- 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
- type: str¶
A name to identify the way to determine PSF center.