pyFDN.seed_poles#
- pyFDN.seed_poles(model, num_poles, *, path=None, t=0.0, order=None, radius=None, nfft=None, max_newton=8)[source]#
Find the
num_poleslargest-magnitude poles of a FLAMO loop.Scans the smallest singular value of the characteristic matrix on a circle
|z| = radiusjust outside the poles, runs Newton from every dip at once, and ranks the converged poles by|z|. Without aradiusthe scan starts a quarter pole spacing outside the unit circle and repeats once or twice just outside the largest pole found, so poles well inside the circle (a lossy loop) or outside it (an unstable one) are ranked correctly.- Parameters:
model (
Any) – A float64 model with one non-nestedRecursion(as frompyFDN.dss_to_flamo()), or theRecursionitself.num_poles (
int) – Number of poles to return.path (
Callable[[Tensor],Mapping[str,Tensor]] |None) – Parameter path as intrack_poles(); the loop is evaluated atpath(t). Default: the model’s current parameters.t (
float) – Path position to seed at.order (
int|None) – Degree ofdet P(z)(an upper bound is fine); sets the scan resolution. Inferred from the delays and loop filters of a model; required for a bareRecursion.nfft (
int|None) – Scan points on the full circle. Default: a power of two>= 8 * order.max_newton (
int) – Newton iterations from each dip.
- Returns:
Complex poles with
Im z >= 0, largest|z|first. Conjugates of a real-coefficient loop are implied.- Return type: