Aplies a function parameter matrix, one frequency slice at a time
This is useful for functions that can only operate on 2d arrays, like numpy.linalg.inv. This loops over f and calls func(ntwkA.s[f,:,:], *args, **kwargs)
Parameters : | func : func *args, **kwargs : :
|
---|
Examples
>>> from numpy.linalg import inv
>>> ntwk.func_on_parameter(inv)