Module Import alias identifier ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num body Assign NameStore BinOpDiv Call AttributeLoad NameLoad attr Num BinOpSub NameLoad BinOpAdd NameLoad Num BinOpSub NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad BinOpMult BinOpMult BinOpPow NameLoad BinOpSub NameLoad Num Call AttributeLoad NameLoad attr BinOpMult BinOpMult BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpMult BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num BinOpSub NameLoad NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore BinOpDiv Call AttributeLoad NameLoad attr Num BinOpSub NameLoad BinOpAdd NameLoad Num BinOpSub NameLoad NameLoad NameLoad Assign NameStore BinOpMult BinOpPow NameLoad BinOpSub NameLoad Num Call AttributeLoad NameLoad attr BinOpMult BinOpMult BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad If CompareLt BinOpDiv SubscriptLoad NameLoad Index Num Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignDiv NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpPow NameLoad Num keyword Num ExtSlice Slice Index AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Num BinOpMult Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num body Return BinOpAdd UnaryOpUSub BinOpMult NameLoad NameLoad BinOpMult Call AttributeLoad NameLoad attr BinOpDiv BinOpMult Call AttributeLoad NameLoad attr Num BinOpAdd NameLoad Num BinOpAdd UnaryOpUSub Call AttributeLoad NameLoad attr BinOpAdd NameLoad BinOpMult NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad BinOpMult NameLoad NameLoad NameLoad BinOpAdd NameLoad BinOpMult NameLoad NameLoad decorator_list If CompareEq NameLoad Str body ImportFrom alias ImportFrom alias Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad GeneratorExp Call NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad Num Num NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpDiv NameLoad BinOpPow Num Num Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword Str Assign NameStore BinOpMult Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpAdd Call AttributeLoad NameLoad attr BinOpDiv Call NameLoad NameLoad NameLoad Num NameLoad For NameStore Call NameLoad Num Call NameLoad NameLoad body Assign NameStore Call NameLoad BinOpMult NameLoad BinOpSub NameLoad NameLoad BinOpAdd BinOpMult NameLoad BinOpSub NameLoad NameLoad NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpPow BinOpSub NameLoad SubscriptLoad NameLoad Slice Num Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr
N/A N/A numpy np sklearn.decomposition SparseCoder gammatone_function N/A N/A resolution fc center fs l b N/A 16000 4 1.019 N/A N/A t N/A N/A N/A np linspace 0 N/A resolution N/A center 1 N/A resolution center fs N/A g N/A N/A np zeros N/A resolution N/A N/A g N/A center N/A N/A N/A t N/A l 1 N/A N/A np exp N/A N/A N/A N/A -2 N/A np pi b N/A erb fc t N/A N/A np cos N/A N/A N/A 2 N/A np pi fc t N/A g N/A gammatone_matrix N/A N/A b fc resolution step fs l threshold N/A 16000 4 0.01 N/A N/A Dictionary of gammatone functions N/A centers N/A N/A np arange 0 N/A resolution step step N/A D N/A N/A N/A i center N/A enumerate centers N/A N/A t N/A N/A N/A np linspace 0 N/A resolution N/A center 1 N/A resolution center fs N/A env N/A N/A t N/A l 1 N/A N/A np exp N/A N/A N/A N/A -2 N/A np pi b N/A erb fc t N/A N/A N/A N/A env N/A -1 N/A max env threshold N/A N/A N/A N/A D append N/A gammatone_function resolution fc center b b l l N/A D N/A N/A np asarray D N/A D N/A N/A N/A np sqrt N/A N/A np sum N/A D 2 axis 1 N/A N/A N/A N/A np newaxis N/A D N/A erb N/A N/A f N/A N/A N/A N/A 24.7 N/A 0.108 f N/A erb_space N/A N/A low_freq high_freq num_channels EarQ minBW order N/A 9.26449 24.7 1 N/A N/A N/A N/A N/A EarQ minBW N/A N/A N/A np exp N/A N/A N/A N/A np arange 1 N/A num_channels 1 N/A N/A N/A N/A np log N/A high_freq N/A EarQ minBW N/A N/A np log N/A low_freq N/A EarQ minBW num_channels N/A high_freq N/A EarQ minBW N/A N/A N/A __name__ __main__ N/A scipy.io wavfile scikits.talkbox segment_axis N/A resolution 160 N/A step 8 N/A b 1.019 N/A n_channels 64 N/A overlap 80 N/A D_multi N/A N/A np r_ N/A N/A tuple N/A N/A gammatone_matrix b fc resolution step N/A fc N/A erb_space 150 8000 n_channels N/A N/A fs y N/A N/A wavfile read /home/jfsantos/data/TIMIT/TRAIN/DR1/FCJF0/SA1.WAV N/A y N/A y N/A 2.0 15 N/A Y N/A segment_axis y resolution overlap overlap end pad N/A Y N/A N/A N/A np hanning resolution Y N/A coder N/A SparseCoder dictionary D_multi transform_n_nonzero_coefs None transform_alpha 1.0 transform_algorithm omp N/A X N/A N/A coder transform Y N/A density N/A len N/A N/A np flatnonzero X N/A out N/A N/A np zeros N/A N/A N/A N/A np ceil N/A N/A len y resolution 1 resolution N/A k N/A range 0 N/A len X N/A N/A idx N/A range N/A k N/A resolution overlap N/A N/A k N/A resolution overlap resolution N/A N/A out N/A idx N/A N/A np dot N/A X N/A k D_multi N/A squared_error N/A N/A np sum N/A N/A y N/A out N/A 0 N/A len y 2 N/A N/A N/A wavfile write N/A reconst_%d_%d.wav N/A resolution overlap fs N/A N/A np asarray out dtype N/A np float32