Module Expr Str ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareNotEq NameLoad Num body Assign NameStore BinOpDiv NameLoad Num Assign NameStore BinOpDiv AttributeLoad NameLoad attr BinOpMult Num NameLoad orelse Assign NameStore BinOpDiv AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Num body If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore BinOpMult NameLoad Call NameLoad NameLoad BinOpAdd Num Call AttributeLoad NameLoad attr BinOpSub NameLoad Num Num If CompareEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If CompareNotEq NameLoad Num body Assign NameStore BinOpMult NameLoad Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr TupleLoad NameLoad UnaryOpUSub NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Num NameLoad orelse Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index CompareGt Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore BinOpDiv BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareEq NameLoad Num CompareNotEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr CompareLt Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num While CompareGt NameLoad Num body Assign NameStore Num If CompareGt NameLoad Num body Assign NameStore Num orelse Assign NameStore Num If CompareEq NameLoad Num body Assign NameStore BinOpPow Num NameLoad If CompareGtE NameLoad NameLoad body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore BinOpPow Num BinOpSub NameLoad Num For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign NameStore BinOpMult Num BinOpPow NameLoad BinOpDiv Num NameLoad Assign NameStore BinOpDiv BinOpMult BinOpAdd BinOpMult Num Call AttributeLoad NameLoad attr Num BinOpAdd NameLoad Num Num AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd Num BinOpMult NameLoad Call AttributeLoad NameLoad attr BinOpMult Num NameLoad Assign NameStore BinOpSub NameLoad Call AttributeLoad NameLoad attr BinOpSub BinOpPow NameLoad Num Num Assign NameStore CompareGt Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index NameLoad BinOpDiv Num SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore BinOpDiv UnaryOpUSub NameLoad Num orelse Assign NameStore BinOpDiv BinOpMult UnaryOpUSub NameLoad NameLoad BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad If CompareGt NameLoad Num body Assign NameStore NameLoad orelse Assign NameStore BinOpMult NameLoad Num Assign NameStore NameLoad If BoolOpOr CompareLt Call NameLoad NameLoad Num CompareLt Call NameLoad NameLoad Num body Break If CompareGt NameLoad Num body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Break If CompareEq NameLoad NameLoad body Expr Call NameLoad Str orelse Assign NameStore BinOpPow Num BinOpSub BinOpDiv NameLoad Num Num If CompareGt NameLoad Num body Assign NameStore Num orelse Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign NameStore BinOpMult Num BinOpPow NameLoad BinOpDiv Num NameLoad Assign NameStore BinOpDiv BinOpMult BinOpAdd BinOpMult Num Call AttributeLoad NameLoad attr NameLoad Num AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad Call AttributeLoad NameLoad attr BinOpMult Num NameLoad Assign NameStore BinOpSub NameLoad Call AttributeLoad NameLoad attr BinOpSub BinOpPow NameLoad Num Num Assign NameStore CompareGt Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index NameLoad BinOpDiv Num SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore BinOpDiv UnaryOpUSub NameLoad Num orelse Assign NameStore BinOpDiv BinOpMult UnaryOpUSub NameLoad NameLoad BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad If CompareGt NameLoad Num body Assign NameStore NameLoad orelse Assign NameStore BinOpMult NameLoad Num Assign NameStore NameLoad If BoolOpOr CompareLt Call NameLoad NameLoad Num CompareLt Call NameLoad NameLoad Num body Break If CompareGt NameLoad Num body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Break If CompareEq NameLoad NameLoad body Expr Call NameLoad Str If BoolOpOr BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareLt NameLoad Num CompareGt AttributeLoad NameLoad attr Num body Assign NameStore Num orelse If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore UnaryOpUSub NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword TupleLoad NameLoad NameLoad NameLoad keyword NameLoad keyword Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num AttributeLoad NameLoad attr BinOpAdd NameLoad BinOpMult BinOpDiv Num NameLoad NameLoad If CompareGt NameLoad Num body Assign NameStore Call NameLoad NameLoad BinOpDiv Call NameLoad NameLoad Num Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr keyword Num If CompareEq NameLoad Num body Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad Num If CompareLt Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr Call NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore Num orelse Assign NameStore BinOpSub NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A 
Module providing the synthesizeNTF1() function.
 __future__ division warnings warn N/A numpy np scipy.optimize fmin_l_bfgs_b _constants eps _ds_optzeros ds_optzeros _ds_synNTFobj1 ds_synNTFobj1 _evalTF evalTF _padl padl _utils cplxpair synthesizeNTF1 N/A N/A order osr opt H_inf f0 N/A N/A N/A 
    Synthesize a noise transfer function (NTF) for a delta-sigma modulator optimizing the result.
     N/A N/A f0 0 N/A N/A order N/A order 2 N/A dw N/A N/A np pi N/A 2 osr N/A N/A dw N/A N/A np pi osr N/A N/A N/A opt ndim 0 N/A N/A N/A opt 0 N/A N/A z N/A N/A np zeros order N/A N/A z N/A dw N/A ds_optzeros order N/A 1 N/A N/A np fmod N/A opt 1 2 N/A N/A N/A z size 0 N/A N/A N/A ValueError Cannot synthesize NTF zeros N/A N/A f0 0 N/A N/A order N/A order 2 N/A z N/A N/A N/A np sort z N/A N/A 2 N/A np pi f0 N/A z N/A N/A N/A N/A N/A N/A np vstack N/A z N/A z transpose flatten N/A z N/A N/A np exp N/A 1j z N/A N/A z opt N/A zp N/A z N/A N/A N/A N/A np angle z 0 N/A x0 N/A N/A N/A N/A N/A np angle zp N/A N/A 2 N/A np pi f0 osr N/A np pi N/A N/A N/A N/A opt size 1 N/A opt 4 N/A f0 0 N/A N/A x0 N/A N/A np delete x0 N/A N/A np nonzero N/A N/A abs x0 eps N/A p N/A N/A np zeros order N/A k 1 N/A Hinf_itn_limit 100 N/A fprev 0 N/A opt_iteration 5 N/A N/A opt_iteration 0 N/A N/A ftol 1e-10 N/A N/A f0 0.25 N/A N/A z_inf 1 N/A N/A z_inf -1 N/A N/A f0 0 N/A N/A HinfLimit N/A 2 order N/A N/A H_inf HinfLimit N/A N/A N/A warn Unable to achieve specified Hinf.
Setting all NTF poles to zero. N/A p N/A N/A np zeros order N/A N/A x N/A 0.3 N/A order 1 N/A itn N/A range 1 N/A Hinf_itn_limit 1 N/A N/A me2 N/A -0.5 N/A x N/A 2.0 order N/A w N/A N/A N/A N/A 2 N/A N/A np arange 1 N/A order 1 1 N/A np pi order N/A mb2 N/A 1 N/A me2 N/A N/A np exp N/A 1j w N/A p N/A mb2 N/A N/A np sqrt N/A N/A mb2 2 1 N/A out N/A N/A abs p 1 N/A N/A p N/A out N/A 1 N/A p N/A out N/A p N/A cplxpair p N/A f N/A N/A N/A np real N/A evalTF N/A z p k z_inf H_inf N/A N/A itn 1 N/A N/A delta_x N/A N/A f 100 N/A N/A delta_x N/A N/A N/A f delta_x N/A f fprev N/A xplus N/A x delta_x N/A N/A xplus 0 N/A N/A x xplus N/A N/A x N/A x 0.1 N/A fprev f N/A N/A N/A N/A abs f 1e-10 N/A N/A abs delta_x 1e-10 N/A N/A N/A N/A x 1000000.0 N/A N/A N/A warn Unable to achieve specified Hinf.
Setting all NTF poles to zero. N/A p N/A N/A np zeros order N/A N/A N/A itn Hinf_itn_limit N/A N/A N/A warn Danger! Iteration limit exceeded. N/A N/A x N/A 0.3 N/A N/A order 2 1 N/A N/A f0 0.25 N/A N/A z_inf 1.0 N/A N/A z_inf -1.0 N/A c2pif0 N/A N/A np cos N/A N/A 2 N/A np pi f0 N/A itn N/A range 1 N/A Hinf_itn_limit 1 N/A N/A e2 N/A 0.5 N/A x N/A 2.0 order N/A w N/A N/A N/A N/A 2 N/A N/A np arange order 1 N/A np pi order N/A mb2 N/A c2pif0 N/A e2 N/A N/A np exp N/A 1j w N/A p N/A mb2 N/A N/A np sqrt N/A N/A mb2 2 1 N/A out N/A N/A abs p 1 N/A N/A p N/A out N/A 1 N/A p N/A out N/A p N/A cplxpair p N/A f N/A N/A N/A np real N/A evalTF N/A z p k z_inf H_inf N/A N/A itn 1 N/A N/A delta_x N/A N/A f 100 N/A N/A delta_x N/A N/A N/A f delta_x N/A f fprev N/A xplus N/A x delta_x N/A N/A xplus 0 N/A N/A x xplus N/A N/A x N/A x 0.1 N/A fprev f N/A N/A N/A N/A abs f 1e-10 N/A N/A abs delta_x 1e-10 N/A N/A N/A N/A x 1000000.0 N/A N/A N/A warn Unable to achieve specified Hinf.
Setting all NTF poles to zero. N/A p N/A N/A np zeros order N/A N/A N/A itn Hinf_itn_limit N/A N/A N/A warn Danger! Iteration limit exceeded. N/A N/A N/A N/A N/A opt size 1 N/A opt 3 N/A N/A opt size 1 N/A N/A opt_iteration 0 N/A N/A N/A f0 0 N/A N/A ub N/A N/A np ones N/A x0 size N/A lb N/A N/A np zeros N/A x0 size N/A N/A ub N/A 0.5 N/A N/A np ones N/A x0 size N/A lb N/A ub N/A opt_result N/A fmin_l_bfgs_b ds_synNTFobj1 x0 args N/A p osr f0 approx_grad True bounds N/A list N/A zip lb ub N/A x N/A opt_result N/A 0 N/A x0 x N/A z N/A N/A np exp N/A N/A 2j N/A np pi N/A f0 N/A N/A 0.5 osr x N/A N/A f0 0 N/A N/A z N/A padl z N/A N/A len p 2 N/A N/A np exp N/A N/A 2j N/A np pi f0 N/A z N/A N/A np concatenate N/A z N/A N/A z conj axis 1 N/A N/A f0 0 N/A N/A z N/A padl z N/A len p 1 N/A N/A N/A N/A np abs N/A N/A N/A np real N/A evalTF N/A z p k z_inf H_inf ftol N/A N/A opt_iteration 0 N/A N/A opt_iteration N/A opt_iteration 1 N/A z N/A N/A np squeeze z N/A N/A z p k N/A