conatus.expert.RegionEVPResult

class conatus.expert.RegionEVPResult(values, vectors, residuals, method, label='', n_infinite=0, left=None, drift=None, log=<factory>, context=None, eigenvalue='sigma', growth=None, growth_note='', filter_note=None, tails=None, spurious=None, spurious_note='', unresolved_note='', count=0, count_method='', region=None, multiplicity=<factory>, contour=None)[source]

Bases: EVPResult

An EVPResult restricted to a region of the eigenvalue plane: values are every eigenvalue of the discrete pencil in region (one entry per distinct eigenvalue, multiplicity gives the algebraic multiplicity) and count their number, multiplicities included, certified by the argument principle (count_method).

Parameters:
  • values (ndarray)

  • vectors (ndarray | None)

  • residuals (ndarray)

  • method (str)

  • label (str)

  • n_infinite (int)

  • left (ndarray | None)

  • drift (ndarray | None)

  • log (list[str])

  • context (Any)

  • eigenvalue (str)

  • growth (Any)

  • growth_note (str)

  • filter_note (str | None)

  • tails (ndarray | None)

  • spurious (ndarray | None)

  • spurious_note (str)

  • unresolved_note (str)

  • count (int)

  • count_method (str)

  • region (ContourBox | None)

  • multiplicity (ndarray)

  • contour (BeynResult | None)

count: int = 0
count_method: str = ''
region: ContourBox | None = None
multiplicity: ndarray
contour: BeynResult | None = None
select(idx, why)[source]

The modes idx (a filter), the count of the region kept and the filter logged.

Parameters:

why (str)

Return type:

RegionEVPResult

explain(n=6, key='growth', *, full=False)[source]

The certified count of the region, then the usual eigenvalue explanation of the modes.

Parameters:
  • n (int)

  • key (str)

  • full (bool)

Return type:

str