def idct(x, type=2, n=None, axis=(-1), norm=None, overwrite_x=False):
 if ((type == 1) and (norm is not None)):
  raise NotImplementedError('Orthonormalization not yet supported for IDCT-I')
 _TP = {1: 1, 2: 3, 3: 2}
 return _dct(x, _TP[type], n, axis, normalize=norm, overwrite_x=overwrite_x)

def idct ( x , type = 2 , n = None , axis = ( - 1 ) , norm = None , overwrite_x = False ) : if ( ( type == 1 ) and ( norm is not None ) ) : raise NotImplementedError ( 'Orthonormalization not yet supported for IDCT-I' ) _TP = { 1 : 1 , 2 : 3 , 3 : 2 } return _dct ( x , _TP [ type ] , n , axis , normalize = norm , overwrite_x = overwrite_x )
return the inverse discrete cosine transform of an arbitrary type sequence .