regcoil.SolutionScan

class regcoil.SolutionScan(solutions)

A lambda scan: a Sequence[Solution] that iterates/indexes as ordinary Solution objects, plus columnar .lam/.f_B/.f_K/.max_K/ .rms_K/.max_Bnormal/.max_Bnormal_over_B/.avg_Bnormal_over_B array accessors for direct Pareto/scan plotting. Returned by Regcoil.scan() and regcoil.load(…).solutions.

__init__(solutions)

Methods

__init__(solutions)

count(value)

index(value, [start, [stop]])

Raises ValueError if the value is not present.

plot_bnormal_scan([nmax, fig])

Convenience delegate for regcoil.plot.bnormal_scan.

plot_current_potential_scan([kind, nmax, fig])

Convenience delegate for regcoil.plot.current_potential_scan.

plot_lambda_scan([ax])

Convenience delegate for regcoil.plot.lambda_scan.

plot_pareto([x, y, ax])

Convenience delegate for regcoil.plot.pareto.

Attributes

avg_Bnormal_over_B

f_B

f_K

lam

max_Bnormal

max_Bnormal_over_B

max_K

rms_K