pyTomoAO.lgsAsterismParametersClass.lgsAsterismParameters

class pyTomoAO.lgsAsterismParametersClass.lgsAsterismParameters(config, atm_params)[source]

Bases: object

Encapsulates Laser Guide Star (LGS) Asterism parameters with validation and enhanced string representation.

Parameters:
property nLGS: int

Number of laser guide stars (non-negative integer)

property LGSdirections: ndarray

Compute LGS asterism directions in polar coordinates (radians).

Returns:
np.ndarray: Array of shape (4, 2) containing [radius, azimuth] pairs

for four LGS positions in a square pattern: - Radius: sqrt(2)*radiusAst (converted to radians) - Azimuth: 45° spaced angles starting from 225°

property directionVectorLGS: ndarray

Compute 3D direction vectors for LGS in observer’s coordinate system.

Returns:
np.ndarray: 3xN array where N = nLGS, with vectors:

[ [x1, x2, …], [y1, y2, …], [z1, z2, …] ] where z = 1 (optical axis) and x/y are transverse components