FixedPsfCenter

class dnois.optics.rt.FixedPsfCenter(center: tuple[float, float])

PSFs are centered around the given coordinates in lens’ coordinate system. See PsfCenterDeterm for more details.

Parameters:

center (tuple[float, float]) – The coordinates of the PSF center in lens’ coordinate system.

classmethod create(model_type: str, *args, **kwargs) Self

Create an instance whose type is same as model_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 of self if value is None, or value 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 = 'fixed'

A name to identify the way to determine PSF center.