pyart.correct.phase_proc.construct_A_matrix

pyart.correct.phase_proc.construct_A_matrix(n_gates, filt)[source]

Construct a row-augmented A matrix. Equation 5 in Giangrande et al, 2012.

A is a block matrix given by:

\[\begin{split}\bf{A} = \begin{bmatrix} \bf{I} & \bf{-I} \\\\ \bf{-I} & \bf{I} \\\\ \bf{Z} & \bf{M} \end{bmatrix}\end{split}\]
where
\(\bf{I}\) is the identity matrix \(\bf{Z}\) is a matrix of zeros \(\bf{M}\) contains our differential constraints.

Each block is of shape n_gates by n_gates making shape(\(\bf{A}\)) = (3 * n, 2 * n).

Note that \(\bf{M}\) contains some side padding to deal with edge issues

Parameters :

n_gates : int

Number of gates, determines size of identity matrix

filt : array

Input filter.

Returns :

a : matrix

Row-augmented A matrix.

Previous topic

pyart.correct.phase_proc.get_phidp_unf

Next topic

pyart.correct.phase_proc.construct_B_vectors

This Page