finesse.knm.tools.make_scatter_matrix

finesse.knm.tools.make_scatter_matrix(mtype, *args, **kwargs)[source]

Constructs and computes a coupling coefficient scattering matrix of the specified type (via mtype).

Parameters
mtypestr

Type of scattering matrix to compute.

The valid options are:

*argspositional arguments

The positional arguments to pass to the relevant scatter matrix function.

**kwargskeyword arguments

The keyword arguments to pass to the relevant scatter matrix function.

Returns
kmatKnmMatrix

The resulting scattering matrix as a KnmMatrix object.

Examples

See Computing arbitrary scattering matrices.