WavefrontCollection

class lsst.ts.MTAOS.WavefrontCollection(maxLeng)

Bases: object

Methods Summary

append(listOfWfErr)

Add the list of wavefront error data to collection.

clear()

Clear the collection.

getListOfWavefrontErrorAvgInTakenData()

Get the list of average wavefront error in taken data.

getNumOfData()

Get the number of data.

getNumOfDataTaken()

Get the number of taken data.

pop()

Pop the list of wavefront error data from collection.

Methods Documentation

append(listOfWfErr)

Add the list of wavefront error data to collection.

Parameters
listOfWfErrlist of tuple with [int, np.ndarray]

List of wavefront error data. Each element contains tuple which the first elements specify the sensor id and the second is an array with the zernike coeffients.

clear()

Clear the collection.

getListOfWavefrontErrorAvgInTakenData()

Get the list of average wavefront error in taken data.

Returns
wfe_avgdict

Dictionary with average wavefront errors for each sensor.

Raises
RuntimeError

No data in the collection of taken data.

getNumOfData()

Get the number of data.

Returns
int

Number of data.

getNumOfDataTaken()

Get the number of taken data.

Returns
int

Number of taken data.

pop()

Pop the list of wavefront error data from collection.

Returns
listOfWfErrtuple with [int, np.ndarray]

List of wavefront error data.