janalysis/dct.py
def _get_normalization_factor(index, length):
    """Returns the normalization factor needed by the 2d dct to be orthonormal.
    :param index: The index.
    :type index: unsigned int.
    :param length: The length.
    :type length: unsigned int.
    :returns: double -- The normalization factor for this index.
    """
    norm = 0
    if index == 0:
        norm = sqrt(1 / (4 * length))
    else:
        norm = sqrt(1 / (2 * length))
    return norm
Returns the normalization factor needed by the 2d dct to be orthonormal.
    :param index: The index.
    :type index: unsigned int.
    :param length: The length.
    :type length: unsigned int.
    :returns: double -- The normalization factor for this index.
    
Returns the normalization factor needed by the 2d dct to be orthonormal.
Returns the normalization factor needed by the 2d dct to be orthonormal .
def _get_normalization_factor(index, length):
    norm = 0
    if index == 0:
        norm = sqrt(1 / (4 * length))
    else:
        norm = sqrt(1 / (2 * length))
    return norm
def _get_normalization_factor ( index , length ) : norm = 0 if index == 0 : norm = sqrt ( 1 / ( 4 * length ) ) else : norm = sqrt ( 1 / ( 2 * length ) ) return norm
Returns the normalization factor needed by the 2d dct to be orthonormal.
Returns the normalization factor needed by the 2d dct to be orthonormal .
"""Returns the normalization factor needed by the 2d dct to be orthonormal.
    :param index: The index.
    :type index: unsigned int.
    :param length: The length.
    :type length: unsigned int.
    :returns: double -- The normalization factor for this index.
    """
- The normalization factor for this index.
- The normalization factor for this index .
index
None
length
None