finesse.analysis.actions.debug module

class finesse.analysis.actions.debug.Debug(name='Debug')[source]

Bases: Action

An action that will start an IPython debug shell.

To access the current model use state.model.

class finesse.analysis.actions.debug.SaveMatrix(*, name='savematrix')[source]

Bases: Action

An action that will save the current state of the matrix being used by the simulation.

Not something that should be used lightly in loops or multiple times in a large simulation. Using this in something like a full LIGO model with many HOMs and sidebands will quickly fill up memory.

class finesse.analysis.actions.debug.SaveMatrixSolution[source]

Bases: BaseSolution

Attributes

carriercoo_matrix

A Scipy coo_matrix of the carrier simulation matrix. None if the matrix was not available.

signalcoo_matrix

A Scipy coo_matrix of the signal simulation matrix. None if the matrix was not available.