2.1.6.1.12. sf_tools.signal.validation module

VALIDATION ROUTINES

This module contains methods for testing signal and operator properties.

Author:Samuel Farrens <samuel.farrens@gmail.com>
Version:1.2
Date:06/12/2017
sf_tools.signal.validation.transpose_test(operator, operator_t, x_shape, x_args, y_shape=None, y_args=None)[source]

Transpose test

This method tests two operators to see if they are the transpose of each other.

Parameters:
  • operator (function) – Operator function
  • operator_t (function) – Transpose operator function
  • x_shape (tuple) – Shape of operator input data
  • x_args (tuple) – Arguments to be passed to operator
  • y_shape (tuple, optional) – Shape of transpose operator input data
  • y_args (tuple, optional) – Arguments to be passed to transpose operator