電気工学博士の雑記

電気工学の博士が徒然なるままに試した技術的なことをアウトプットする。

Python備忘録 SymPyとPython-Controlによる直流モータ動作解析

概要

Sympy と Python-Control を用いて、Pythonによる直流モータの速度制御を解析する。Sympy は代数計算を行うPyrhonライブラリであり、複雑な代数方程式であっても解くことができる。Python-Control を用いることで Matlab と同じような解析が可能である。よって Sympy と Python-Control を組み合わせて使用することで、数理モデルの解析から、数値計算による評価まで Python だけで行うことができる。

背景

Pythonによる科学技術計算についてWeb上では情報が充実しており、これらの情報を用いて複雑な科学技術計算を行うことができる。科学技術計算で用いられるPythonライブラリとして Sympy と Python-control がある。 Sympy は代数計算ライブラリであり、 MathematicaMaxima に近い解析が可能である。一方で Python-control は制御理論ライブラリであり、 matlabScilab , Octave に近い解析が可能である。 Sympy と Python-control の各々を説明するサイトは多いが、双方を組み合わせて使用する方法の情報があまり無かったので、ここにまとめる。

解析内容

モータ駆動装置と直流モータの制御システムを古典制御理論にて解析する。 詳しい解説は下記のサイトを参照してほしい。

ここでは、Sympyを用いてモータ駆動装置+直流モータとPID制御系を伝達関数で表し、システムの一巡伝達関数と閉ループ伝達関数を求める。 得られた伝達関数に対して、control.matlabを用いて周波数応答解析と時間応答解析を行い、matplotlib.pyplotなどにより可視化する。

伝達関数の導出

sympyを用いてモータ駆動システムの一巡伝達関数と閉ループ伝達関数を求める。 sympyの基本的な使用方法は下記のサイトが詳しい。

import sympy
from IPython.display import display

IPython.displayはjupyter notebookでsympyのオブジェクトを表示するためであり、不要な場合はインポートしない。

V, I = sympy.symbols("V, I", cls=sympy.Function)
Tau, Omega = sympy.symbols("Tau, Omega", cls=sympy.Function)
s = sympy.Symbol("s")

ここでは、システムの変数をsympy.Symbolとして定義している。 各変数の説明を下記に示す。

cls=sympy.Functionを引数にすることで、 V,  I,  T,  \Omegaを関数としている。

モータ回路の伝達関数

R, L, K_v = sympy.symbols("R, L, K_v")
K_t, J = sympy.symbols("K_t, J")

ここでは、システムの定数をsympy.Symbolとして定義している。 各変数の説明を下記に示す。

  •  R 配線の抵抗
  •  L モータのインダクタ
  •  K_v 逆起電圧定数
  •  K_t トルク定数
  •  J モータのイナーシャ

モータの駆動回路の回路方程式のラプラス変換と、モータの運動方程式ラプラス変換は次式で表される。 Sympyで方程式はsympy.Eq(左辺, 右辺)で定義する。 cls=sympy.Functionを引数とした変数の後に( s)を付けることで、 sの関数であることを宣言する。

eq_e = sympy.Eq(R*I(s) + s*L*I(s) + K_v * Omega(s), V(s))
eq_m = sympy.Eq(Tau(s) + s*J*Omega(s), K_t*I(s))
display(eq_e)
display(eq_m)

 \displaystyle K_{v} \Omega{\left(s \right)} + L s I{\left(s \right)} + R I{\left(s \right)} = V{\left(s \right)}
 \displaystyle J s \Omega{\left(s \right)} + \mathrm{T}{\left(s \right)} = K_{t} I{\left(s \right)}

負荷トルク  T(s) を外乱としてシステムから除外すると、モータの運動方程式ラプラス変換は次式で書き直せる。

eq_m = sympy.Eq(s*J*Omega(s), K_t*I(s))
display(eq_m)

 \displaystyle J s \Omega{\left(s \right)} = K_{t} I{\left(s \right)}

まず運動方程式ラプラス変換を電流  I(s) について解く。 方程式を解くときはsympy.solveメソッドを用いる。 第二引数には解く変数を指定する。

I_solve= sympy.solve(eq_m, I(s))

これを回路方程式のラプラス変換に代入して次式が得られる。 式への代入はsubsメソッドを使用する。 またexpandメソッド、simplifyメソッドにより式を整理できる。

eq_e = eq_e.subs(I(s), I_solve[0])
eq_e = eq_e.expand().simplify()
display(eq_e)

 \displaystyle V{\left(s \right)} = \frac{\left(J L s^{2} + J R s + K_{t} K_{v}\right) \Omega{\left(s \right)}}{K_{t}}

上式を \Omegaについて解くことで、伝達特性が得られる。

Omega_solve= sympy.solve(eq_e, Omega(s))
display(Omega_solve[0])

 \displaystyle \frac{K_{t} V{\left(s \right)}}{J L s^{2} + J R s + K_{t} K_{v}}

G_cir = Omega_solve[0] / V(s)
display(G_cir)

 \displaystyle \frac{K_{t}}{J L s^{2} + J R s + K_{t} K_{v}}

ここで G_{cir}がモータ駆動回路の入力電圧 Vからモータ速度 \Omegaまでの伝達関数である。

制御系の伝達関数

PID制御系のPゲインを C_{p}、Iゲインを C_{i}、Dゲインを C_{d}とする

C_p, C_i, C_d = sympy.symbols("C_p, C_i, C_d")

制御系の伝達関数 G_{con}は次式で得られる。

G_con = C_p + C_i/s + C_d * s
display(G_con)

 \displaystyle C_{d} s + \frac{C_{i}}{s} + C_{p}

システムの伝達関数

開ループ伝達関数 G_{open}、閉ループ伝達関数 G_{close}は次式で得られる。

G_open = G_cir * G_con
display(G_open)
G_close = G_cir * G_con / (1 + G_cir * G_con)
display(G_close.expand().simplify())

 \displaystyle \frac{K_{t} \left(C_{d} s + \frac{C_{i}}{s} + C_{p}\right)}{J L s^{2} + J R s + K_{t} K_{v}}
 \displaystyle \frac{K_{t} \left(C_{d} s^{2} + C_{i} + C_{p} s\right)}{C_{d} K_{t} s^{2} + C_{i} K_{t} + C_{p} K_{t} s + J L s^{3} + J R s^{2} + K_{t} K_{v} s}

このように、Sympyを用いることで、代数計算をコンピュータで行うことができる。 次に得られた伝達関数に具体的な値を代入して、図で表すことで可視化する。

定数の代入

例として、各定数の値を下記のように設定する。

const_params = {
    "R":100e-3,
    "L":1e-3, 
    "K_v":45e-3,
    "K_t":45.5, 
    "J":1.17e-3
}
control_params = {
    "C_p":1e-1, 
    "C_i":1e-1, 
    "C_d":1e-6
}

Sympyの変数のsubsメソッドを使用することで、辞書型で指定した複数の変数に代入することができる。

params = {}
params.update(const_params)
params.update(control_params)
G_open_num = G_open.subs(list(params.items()))
display(G_open_num.simplify())
G_close_num = G_close.subs(list(params.items()))
display(G_close_num.simplify())

 \displaystyle \frac{45.5 s \left(1.0 \cdot 10^{-6} s + 0.1\right) + 4.55}{s \left(1.17 \cdot 10^{-6} s^{2} + 0.000117 s + 2.0475\right)}
 \displaystyle \frac{4.55 \cdot 10^{-5} s^{2} + 4.55 s + 4.55}{1.17 \cdot 10^{-6} s^{3} + 0.0001625 s^{2} + 6.5975 s + 4.55}

上式は値を代入したときの G_{open} G_{close}である。

システムの評価

伝達関数の解析にpython-controlのmatlabモジュールとnumpyを用いる。

from control import matlab
import numpy as np

最初に数値を代入した G_{open} G_{close}の分母・分子を取り出す。 与えられる式に対して、sympy.denomは分母を、sympy.numerは分子を返す。 次に分母分子をそれぞれ sの関数(sympy.poly型)として再定義する。

G_open_denom_poly = sympy.poly(sympy.denom(G_open_num.simplify()), s)
G_open_numer_poly = sympy.poly(sympy.numer(G_open_num.simplify()), s)
G_close_denom_poly = sympy.poly(sympy.denom(G_close_num.simplify()), s)
G_close_numer_poly = sympy.poly(sympy.numer(G_close_num.simplify()), s)

sympy.poly型のall_coeffsメソッドを用いることで、各関数の係数のリストを返す。 リストの最初の項目は最大次数の係数、2番目の項目は2番目に大きい次数の係数…となる。 係数がない次数は0で返る。 リストの各係数をfloat型に変換してリストとする。

G_open_numer_poly

 \displaystyle \operatorname{Poly}{\left( 4.55 \cdot 10^{-5} s^{2} + 4.55 s + 4.55, s, domain=\mathbb{R} \right)}

num = list(map(float, G_open_numer_poly.all_coeffs()))
den = list(map(float, G_open_denom_poly.all_coeffs()))
num = list(map(float, G_close_numer_poly.all_coeffs()))
den = list(map(float, G_close_denom_poly.all_coeffs()))

matlab.tf(num, den)のnumに分子係数リスト、denに分母係数リストを渡すことで、matlab.tf型の G_{open} G_{close}を得る。

G_open_ml = matlab.tf(num, den)
G_open_ml

 \frac{4.55 \times 10^{-5} s^2 + 4.55 s + 4.55}{1.17 \times 10^{-6} s^3 + 0.0001625 s^2 + 6.598 s + 4.55}

G_close_ml = matlab.tf(num, den)
G_close_ml

 \frac{4.55 \times 10^{-5} s^2 + 4.55 s + 4.55}{1.17 \times 10^{-6} s^3 + 0.0001625 s^2 + 6.598 s + 4.55}

matlab.tf型の伝達関数が得られれば、python-control.matlabの各種解析メソッドが使用できる。

周波数応答解析

matlab.bode(matlab.tf)とすることで、ボード線図を描画できる。 第二引数に周波数リストを指定すると、描画する周波数範囲を指定できる。

matlab.bode(G_open_ml, np.logspace(0, 8, 1000))

(array([8.02900970e-01, 8.00283658e-01, 7.97693529e-01, 7.95131853e-01, 7.92599839e-01, 7.90098627e-01, 7.87629292e-01, 7.85192837e-01, 7.82790201e-01, 7.80422250e-01, 7.78089781e-01, 7.75793522e-01, 7.73534132e-01, 7.71312200e-01, 7.69128250e-01, 7.66982736e-01, 7.64876049e-01, 7.62808515e-01, 7.60780395e-01, 7.58791894e-01, 7.56843153e-01, 7.54934258e-01, 7.53065241e-01, 7.51236080e-01, 7.49446700e-01, 7.47696981e-01, 7.45986756e-01, 7.44315812e-01, 7.42683898e-01, 7.41090720e-01, 7.39535950e-01, 7.38019226e-01, 7.36540152e-01, 7.35098303e-01, 7.33693228e-01, 7.32324449e-01, 7.30991465e-01, 7.29693757e-01, 7.28430783e-01, 7.27201987e-01, 7.26006796e-01, 7.24844627e-01, 7.23714883e-01, 7.22616958e-01, 7.21550239e-01, 7.20514105e-01, 7.19507931e-01, 7.18531088e-01, 7.17582946e-01, 7.16662872e-01, 7.15770234e-01, 7.14904402e-01, 7.14064747e-01, 7.13250643e-01, 7.12461469e-01, 7.11696608e-01, 7.10955449e-01, 7.10237387e-01, 7.09541824e-01, 7.08868170e-01, 7.08215840e-01, 7.07584262e-01, 7.06972868e-01, 7.06381102e-01, 7.05808418e-01, 7.05254277e-01, 7.04718152e-01, 7.04199526e-01, 7.03697890e-01, 7.03212749e-01, 7.02743615e-01, 7.02290013e-01, 7.01851478e-01, 7.01427555e-01, 7.01017800e-01, 7.00621779e-01, 7.00239070e-01, 6.99869261e-01, 6.99511949e-01, 6.99166743e-01, 6.98833261e-01, 6.98511132e-01, 6.98199994e-01, 6.97899496e-01, 6.97609296e-01, 6.97329062e-01, 6.97058470e-01, 6.96797206e-01, 6.96544966e-01, 6.96301454e-01, 6.96066382e-01, 6.95839472e-01, 6.95620453e-01, 6.95409063e-01, 6.95205047e-01, 6.95008159e-01, 6.94818160e-01, 6.94634818e-01, 6.94457908e-01, 6.94287214e-01, 6.94122524e-01, 6.93963635e-01, 6.93810350e-01, 6.93662476e-01, 6.93519831e-01, 6.93382234e-01, 6.93249513e-01, 6.93121499e-01, 6.92998032e-01, 6.92878955e-01, 6.92764116e-01, 6.92653368e-01, 6.92546571e-01, 6.92443588e-01, 6.92344285e-01, 6.92248537e-01, 6.92156219e-01, 6.92067212e-01, 6.91981401e-01, 6.91898675e-01, 6.91818926e-01, 6.91742050e-01, 6.91667949e-01, 6.91596524e-01, 6.91527682e-01, 6.91461334e-01, 6.91397393e-01, 6.91335774e-01, 6.91276397e-01, 6.91219183e-01, 6.91164058e-01, 6.91110948e-01, 6.91059784e-01, 6.91010497e-01, 6.90963023e-01, 6.90917299e-01, 6.90873264e-01, 6.90830860e-01, 6.90790031e-01, 6.90750721e-01, 6.90712880e-01, 6.90676456e-01, 6.90641401e-01, 6.90607669e-01, 6.90575214e-01, 6.90543993e-01, 6.90513964e-01, 6.90485088e-01, 6.90457325e-01, 6.90430639e-01, 6.90404993e-01, 6.90380354e-01, 6.90356688e-01, 6.90333964e-01, 6.90312151e-01, 6.90291220e-01, 6.90271142e-01, 6.90251892e-01, 6.90233442e-01, 6.90215769e-01, 6.90198848e-01, 6.90182656e-01, 6.90167173e-01, 6.90152376e-01, 6.90138247e-01, 6.90124766e-01, 6.90111914e-01, 6.90099675e-01, 6.90088032e-01, 6.90076970e-01, 6.90066473e-01, 6.90056528e-01, 6.90047120e-01, 6.90038238e-01, 6.90029869e-01, 6.90022001e-01, 6.90014626e-01, 6.90007731e-01, 6.90001309e-01, 6.89995350e-01, 6.89989847e-01, 6.89984791e-01, 6.89980177e-01, 6.89975998e-01, 6.89972248e-01, 6.89968922e-01, 6.89966016e-01, 6.89963526e-01, 6.89961448e-01, 6.89959780e-01, 6.89958520e-01, 6.89957665e-01, 6.89957215e-01, 6.89957169e-01, 6.89957528e-01, 6.89958291e-01, 6.89959459e-01, 6.89961035e-01, 6.89963020e-01, 6.89965418e-01, 6.89968231e-01, 6.89971463e-01, 6.89975120e-01, 6.89979204e-01, 6.89983724e-01, 6.89988683e-01, 6.89994091e-01, 6.89999952e-01, 6.90006277e-01, 6.90013073e-01, 6.90020349e-01, 6.90028116e-01, 6.90036385e-01, 6.90045165e-01, 6.90054470e-01, 6.90064313e-01, 6.90074706e-01, 6.90085663e-01, 6.90097201e-01, 6.90109334e-01, 6.90122079e-01, 6.90135453e-01, 6.90149476e-01, 6.90164165e-01, 6.90179541e-01, 6.90195625e-01, 6.90212439e-01, 6.90230007e-01, 6.90248351e-01, 6.90267497e-01, 6.90287471e-01, 6.90308301e-01, 6.90330015e-01, 6.90352643e-01, 6.90376215e-01, 6.90400765e-01, 6.90426325e-01, 6.90452930e-01, 6.90480618e-01, 6.90509425e-01, 6.90539392e-01, 6.90570559e-01, 6.90602970e-01, 6.90636668e-01, 6.90671700e-01, 6.90708114e-01, 6.90745959e-01, 6.90785289e-01, 6.90826156e-01, 6.90868618e-01, 6.90912731e-01, 6.90958558e-01, 6.91006161e-01, 6.91055605e-01, 6.91106959e-01, 6.91160293e-01, 6.91215680e-01, 6.91273198e-01, 6.91332925e-01, 6.91394944e-01, 6.91459341e-01, 6.91526203e-01, 6.91595625e-01, 6.91667701e-01, 6.91742531e-01, 6.91820220e-01, 6.91900874e-01, 6.91984606e-01, 6.92071531e-01, 6.92161771e-01, 6.92255450e-01, 6.92352699e-01, 6.92453654e-01, 6.92558454e-01, 6.92667246e-01, 6.92780182e-01, 6.92897419e-01, 6.93019122e-01, 6.93145460e-01, 6.93276610e-01, 6.93412758e-01, 6.93554092e-01, 6.93700813e-01, 6.93853127e-01, 6.94011249e-01, 6.94175400e-01, 6.94345815e-01, 6.94522732e-01, 6.94706404e-01, 6.94897091e-01, 6.95095064e-01, 6.95300604e-01, 6.95514005e-01, 6.95735573e-01, 6.95965622e-01, 6.96204485e-01, 6.96452504e-01, 6.96710035e-01, 6.96977452e-01, 6.97255139e-01, 6.97543500e-01, 6.97842954e-01, 6.98153936e-01, 6.98476901e-01, 6.98812321e-01, 6.99160688e-01, 6.99522516e-01, 6.99898339e-01, 7.00288712e-01, 7.00694216e-01, 7.01115455e-01, 7.01553059e-01, 7.02007684e-01, 7.02480015e-01, 7.02970767e-01, 7.03480682e-01, 7.04010539e-01, 7.04561149e-01, 7.05133356e-01, 7.05728045e-01, 7.06346138e-01, 7.06988597e-01, 7.07656430e-01, 7.08350686e-01, 7.09072466e-01, 7.09822916e-01, 7.10603240e-01, 7.11414693e-01, 7.12258590e-01, 7.13136306e-01, 7.14049283e-01, 7.14999030e-01, 7.15987127e-01, 7.17015231e-01, 7.18085079e-01, 7.19198493e-01, 7.20357384e-01, 7.21563759e-01, 7.22819726e-01, 7.24127497e-01, 7.25489400e-01, 7.26907881e-01, 7.28385514e-01, 7.29925009e-01, 7.31529218e-01, 7.33201148e-01, 7.34943969e-01, 7.36761023e-01, 7.38655841e-01, 7.40632149e-01, 7.42693887e-01, 7.44845221e-01, 7.47090559e-01, 7.49434570e-01, 7.51882202e-01, 7.54438703e-01, 7.57109644e-01, 7.59900943e-01, 7.62818892e-01, 7.65870186e-01, 7.69061958e-01, 7.72401811e-01, 7.75897860e-01, 7.79558776e-01, 7.83393828e-01, 7.87412943e-01, 7.91626761e-01, 7.96046697e-01, 8.00685021e-01, 8.05554927e-01, 8.10670634e-01, 8.16047479e-01, 8.21702030e-01, 8.27652214e-01, 8.33917458e-01, 8.40518848e-01, 8.47479312e-01, 8.54823823e-01, 8.62579635e-01, 8.70776547e-01, 8.79447207e-01, 8.88627466e-01, 8.98356773e-01, 9.08678645e-01, 9.19641202e-01, 9.31297793e-01, 9.43707729e-01, 9.56937135e-01, 9.71059965e-01, 9.86159189e-01, 1.00232822e+00, 1.01967259e+00, 1.03831202e+00, 1.05838283e+00, 1.08004099e+00, 1.10346571e+00, 1.12886401e+00, 1.15647625e+00, 1.18658319e+00, 1.21951477e+00, 1.25566137e+00, 1.29548830e+00, 1.33955460e+00, 1.38853784e+00, 1.44326713e+00, 1.50476781e+00, 1.57432285e+00, 1.65355864e+00, 1.74456729e+00, 1.85008466e+00, 1.97375593e+00, 2.12054247e+00, 2.29736500e+00, 2.51415578e+00, 2.78564965e+00, 3.13457003e+00, 3.59757171e+00, 4.23683483e+00, 5.16310068e+00, 6.57602981e+00, 8.76058737e+00, 1.13524664e+01, 1.12562708e+01, 8.43330178e+00, 6.09125809e+00, 4.59729698e+00, 3.62823375e+00, 2.96451075e+00, 2.48645880e+00, 2.12769852e+00, 1.84944889e+00, 1.62783241e+00, 1.44744901e+00, 1.29796299e+00, 1.17219819e+00, 1.06502545e+00, 9.72685871e-01, 8.92364359e-01, 8.21912290e-01, 7.59662100e-01, 7.04300270e-01, 6.54778406e-01, 6.10249744e-01, 5.70023027e-01, 5.33528447e-01, 5.00292154e-01, 4.69916903e-01, 4.42067200e-01, 4.16457768e-01, 3.92844499e-01, 3.71017296e-01, 3.50794353e-01, 3.32017549e-01, 3.14548717e-01, 2.98266591e-01, 2.83064303e-01, 2.68847304e-01, 2.55531640e-01, 2.43042508e-01, 2.31313042e-01, 2.20283289e-01, 2.09899333e-01, 2.00112560e-01, 1.90879014e-01, 1.82158859e-01, 1.73915903e-01, 1.66117191e-01, 1.58732653e-01, 1.51734792e-01, 1.45098416e-01, 1.38800402e-01, 1.32819487e-01, 1.27136084e-01, 1.21732124e-01, 1.16590907e-01, 1.11696976e-01, 1.07036009e-01, 1.02594709e-01, 9.83607190e-02, 9.43225405e-02, 9.04694592e-02, 8.67914799e-02, 8.32792683e-02, 7.99240967e-02, 7.67177965e-02, 7.36527142e-02, 7.07216722e-02, 6.79179321e-02, 6.52351630e-02, 6.26674105e-02, 6.02090704e-02, 5.78548633e-02, 5.55998118e-02, 5.34392201e-02, 5.13686539e-02, 4.93839239e-02, 4.74810686e-02, 4.56563401e-02, 4.39061898e-02, 4.22272562e-02, 4.06163526e-02, 3.90704568e-02, 3.75867004e-02, 3.61623602e-02, 3.47948489e-02, 3.34817074e-02, 3.22205972e-02, 3.10092936e-02, 2.98456789e-02, 2.87277368e-02, 2.76535462e-02, 2.66212765e-02, 2.56291822e-02, 2.46755985e-02, 2.37589373e-02, 2.28776825e-02, 2.20303867e-02, 2.12156673e-02, 2.04322037e-02, 1.96787336e-02, 1.89540502e-02, 1.82569997e-02, 1.75864782e-02, 1.69414299e-02, 1.63208439e-02, 1.57237528e-02, 1.51492303e-02, 1.45963892e-02, 1.40643797e-02, 1.35523874e-02, 1.30596321e-02, 1.25853657e-02, 1.21288711e-02, 1.16894606e-02, 1.12664748e-02, 1.08592811e-02, 1.04672724e-02, 1.00898663e-02, 9.72650399e-03, 9.37664889e-03, 9.03978595e-03, 8.71542067e-03, 8.40307818e-03, 8.10230240e-03, 7.81265529e-03, 7.53371603e-03, 7.26508031e-03, 7.00635968e-03, 6.75718081e-03, 6.51718492e-03, 6.28602717e-03, 6.06337607e-03, 5.84891293e-03, 5.64233136e-03, 5.44333674e-03, 5.25164578e-03, 5.06698602e-03, 4.88909541e-03, 4.71772192e-03, 4.55262310e-03, 4.39356572e-03, 4.24032539e-03, 4.09268623e-03, 3.95044050e-03, 3.81338832e-03, 3.68133735e-03, 3.55410246e-03, 3.43150550e-03, 3.31337499e-03, 3.19954589e-03, 3.08985931e-03, 2.98416232e-03, 2.88230769e-03, 2.78415368e-03, 2.68956382e-03, 2.59840673e-03, 2.51055589e-03, 2.42588949e-03, 2.34429024e-03, 2.26564518e-03, 2.18984553e-03, 2.11678654e-03, 2.04636732e-03, 1.97849072e-03, 1.91306315e-03, 1.84999448e-03, 1.78919790e-03, 1.73058978e-03, 1.67408958e-03, 1.61961971e-03, 1.56710544e-03, 1.51647477e-03, 1.46765835e-03, 1.42058936e-03, 1.37520344e-03, 1.33143859e-03, 1.28923508e-03, 1.24853535e-03, 1.20928396e-03, 1.17142751e-03, 1.13491453e-03, 1.09969545e-03, 1.06572251e-03, 1.03294969e-03, 1.00133268e-03, 9.70828747e-04, 9.41396762e-04, 9.12997084e-04, 8.85591527e-04, 8.59143306e-04, 8.33616983e-04, 8.08978420e-04, 7.85194734e-04, 7.62234248e-04, 7.40066450e-04, 7.18661953e-04, 6.97992448e-04, 6.78030675e-04, 6.58750375e-04, 6.40126262e-04, 6.22133987e-04, 6.04750099e-04, 5.87952021e-04, 5.71718013e-04, 5.56027142e-04, 5.40859259e-04, 5.26194963e-04, 5.12015583e-04, 4.98303142e-04, 4.85040342e-04, 4.72210532e-04, 4.59797690e-04, 4.47786398e-04, 4.36161820e-04, 4.24909683e-04, 4.14016253e-04, 4.03468323e-04, 3.93253183e-04, 3.83358613e-04, 3.73772858e-04, 3.64484614e-04, 3.55483008e-04, 3.46757590e-04, 3.38298308e-04, 3.30095500e-04, 3.22139878e-04, 3.14422510e-04, 3.06934814e-04, 2.99668539e-04, 2.92615755e-04, 2.85768840e-04, 2.79120471e-04, 2.72663608e-04, 2.66391487e-04, 2.60297608e-04, 2.54375725e-04, 2.48619835e-04, 2.43024172e-04, 2.37583193e-04, 2.32291575e-04, 2.27144200e-04, 2.22136152e-04, 2.17262706e-04, 2.12519323e-04, 2.07901640e-04, 2.03405464e-04, 1.99026767e-04, 1.94761674e-04, 1.90606465e-04, 1.86557561e-04, 1.82611523e-04, 1.78765044e-04, 1.75014946e-04, 1.71358169e-04, 1.67791776e-04, 1.64312938e-04, 1.60918935e-04, 1.57607152e-04, 1.54375069e-04, 1.51220265e-04, 1.48140408e-04, 1.45133254e-04, 1.42196641e-04, 1.39328489e-04, 1.36526794e-04, 1.33789626e-04, 1.31115125e-04, 1.28501498e-04, 1.25947019e-04, 1.23450022e-04, 1.21008901e-04, 1.18622108e-04, 1.16288149e-04, 1.14005582e-04, 1.11773016e-04, 1.09589108e-04, 1.07452561e-04, 1.05362124e-04, 1.03316585e-04, 1.01314777e-04, 9.93555676e-05, 9.74378661e-05, 9.55606153e-05, 9.37227936e-05, 9.19234121e-05, 9.01615139e-05, 8.84361728e-05, 8.67464919e-05, 8.50916023e-05, 8.34706626e-05, 8.18828570e-05, 8.03273950e-05, 7.88035101e-05, 7.73104589e-05, 7.58475203e-05, 7.44139944e-05, 7.30092022e-05, 7.16324842e-05, 7.02832002e-05, 6.89607283e-05, 6.76644641e-05, 6.63938205e-05, 6.51482267e-05, 6.39271277e-05, 6.27299838e-05, 6.15562699e-05, 6.04054752e-05, 5.92771026e-05, 5.81706682e-05, 5.70857008e-05, 5.60217416e-05, 5.49783436e-05, 5.39550714e-05, 5.29515008e-05, 5.19672180e-05, 5.10018200e-05, 5.00549137e-05, 4.91261156e-05, 4.82150518e-05, 4.73213574e-05, 4.64446765e-05, 4.55846616e-05, 4.47409735e-05, 4.39132812e-05, 4.31012613e-05, 4.23045980e-05, 4.15229829e-05, 4.07561148e-05, 4.00036991e-05, 3.92654483e-05, 3.85410812e-05, 3.78303229e-05, 3.71329047e-05, 3.64485639e-05, 3.57770437e-05, 3.51180928e-05, 3.44714654e-05, 3.38369212e-05, 3.32142249e-05, 3.26031465e-05, 3.20034607e-05, 3.14149473e-05, 3.08373904e-05, 3.02705789e-05, 2.97143062e-05, 2.91683699e-05, 2.86325719e-05, 2.81067180e-05, 2.75906184e-05, 2.70840870e-05, 2.65869413e-05, 2.60990030e-05, 2.56200972e-05, 2.51500524e-05, 2.46887009e-05, 2.42358780e-05, 2.37914227e-05, 2.33551770e-05, 2.29269861e-05, 2.25066984e-05, 2.20941650e-05, 2.16892403e-05, 2.12917815e-05, 2.09016484e-05, 2.05187038e-05, 2.01428131e-05, 1.97738443e-05, 1.94116681e-05, 1.90561575e-05, 1.87071882e-05, 1.83646383e-05, 1.80283879e-05, 1.76983200e-05, 1.73743194e-05, 1.70562732e-05, 1.67440708e-05, 1.64376037e-05, 1.61367654e-05, 1.58414515e-05, 1.55515595e-05, 1.52669889e-05, 1.49876413e-05, 1.47134198e-05, 1.44442296e-05, 1.41799776e-05, 1.39205726e-05, 1.36659250e-05, 1.34159469e-05, 1.31705520e-05, 1.29296557e-05, 1.26931751e-05, 1.24610287e-05, 1.22331365e-05, 1.20094202e-05, 1.17898028e-05, 1.15742088e-05, 1.13625641e-05, 1.11547959e-05, 1.09508330e-05, 1.07506053e-05, 1.05540441e-05, 1.03610819e-05, 1.01716526e-05, 9.98569124e-06, 9.80313408e-06, 9.62391857e-06, 9.44798330e-06, 9.27526804e-06, 9.10571364e-06, 8.93926208e-06, 8.77585639e-06, 8.61544066e-06, 8.45796002e-06, 8.30336063e-06, 8.15158962e-06, 8.00259511e-06, 7.85632618e-06, 7.71273284e-06, 7.57176605e-06, 7.43337765e-06, 7.29752037e-06, 7.16414782e-06, 7.03321447e-06, 6.90467562e-06, 6.77848739e-06, 6.65460672e-06, 6.53299135e-06, 6.41359977e-06, 6.29639126e-06, 6.18132584e-06, 6.06836426e-06, 5.95746800e-06, 5.84859925e-06, 5.74172088e-06, 5.63679646e-06, 5.53379023e-06, 5.43266708e-06, 5.33339253e-06, 5.23593275e-06, 5.14025455e-06, 5.04632530e-06, 4.95411302e-06, 4.86358629e-06, 4.77471426e-06, 4.68746667e-06, 4.60181379e-06, 4.51772646e-06, 4.43517603e-06, 4.35413440e-06, 4.27457396e-06, 4.19646762e-06, 4.11978880e-06, 4.04451138e-06, 3.97060973e-06, 3.89805869e-06, 3.82683357e-06, 3.75691012e-06, 3.68826454e-06, 3.62087345e-06, 3.55471394e-06, 3.48976346e-06, 3.42599993e-06, 3.36340163e-06, 3.30194727e-06, 3.24161594e-06, 3.18238709e-06, 3.12424058e-06, 3.06715662e-06, 3.01111578e-06, 2.95609901e-06, 2.90208757e-06, 2.84906309e-06, 2.79700753e-06, 2.74590319e-06, 2.69573266e-06, 2.64647889e-06, 2.59812512e-06, 2.55065490e-06, 2.50405207e-06, 2.45830080e-06, 2.41338550e-06, 2.36929091e-06, 2.32600202e-06, 2.28350411e-06, 2.24178273e-06, 2.20082368e-06, 2.16061302e-06, 2.12113709e-06, 2.08238246e-06, 2.04433594e-06, 2.00698459e-06, 1.97031571e-06, 1.93431683e-06, 1.89897570e-06, 1.86428030e-06, 1.83021884e-06, 1.79677973e-06, 1.76395160e-06, 1.73172327e-06, 1.70008380e-06, 1.66902242e-06, 1.63852857e-06, 1.60859188e-06, 1.57920216e-06, 1.55034942e-06, 1.52202385e-06, 1.49421581e-06, 1.46691586e-06, 1.44011470e-06, 1.41380323e-06, 1.38797248e-06, 1.36261369e-06, 1.33771822e-06, 1.31327762e-06, 1.28928356e-06, 1.26572789e-06, 1.24260260e-06, 1.21989983e-06, 1.19761185e-06, 1.17573109e-06, 1.15425010e-06, 1.13316159e-06, 1.11245838e-06, 1.09213342e-06, 1.07217982e-06, 1.05259078e-06, 1.03335964e-06, 1.01447986e-06, 9.95945031e-07, 9.77748840e-07, 9.59885103e-07, 9.42347745e-07, 9.25130803e-07, 9.08228423e-07, 8.91634857e-07, 8.75344462e-07, 8.59351701e-07, 8.43651133e-07, 8.28237422e-07, 8.13105326e-07, 7.98249698e-07, 7.83665489e-07, 7.69347739e-07, 7.55291580e-07, 7.41492232e-07, 7.27945003e-07, 7.14645286e-07, 7.01588560e-07, 6.88770384e-07, 6.76186401e-07, 6.63832331e-07, 6.51703975e-07, 6.39797206e-07, 6.28107979e-07, 6.16632317e-07, 6.05366318e-07, 5.94306153e-07, 5.83448060e-07, 5.72788348e-07, 5.62323391e-07, 5.52049633e-07, 5.41963578e-07, 5.32061798e-07, 5.22340927e-07, 5.12797658e-07, 5.03428747e-07, 4.94231009e-07, 4.85201315e-07, 4.76336596e-07, 4.67633838e-07, 4.59090081e-07, 4.50702421e-07, 4.42468005e-07, 4.34384034e-07, 4.26447759e-07, 4.18656481e-07, 4.11007552e-07, 4.03498370e-07, 3.96126383e-07, 3.88889084e-07]), array([-0.18166044, -0.18103093, -0.18034594, -0.17960655, -0.17881389, -0.17796915, -0.17707363, -0.17612863, -0.17513557, -0.17409588, -0.17301104, -0.17188259, -0.1707121 , -0.16950117, -0.16825143, -0.16696454, -0.16564216, -0.16428598, -0.1628977 , -0.16147901, -0.16003163, -0.15855724, -0.15705755, -0.15553423, -0.15398894, -0.15242334, -0.15083906, -0.14923769, -0.14762083, -0.14599002, -0.14434677, -0.14269258, -0.1410289 , -0.13935714, -0.13767867, -0.13599483, -0.13430692, -0.1326162 , -0.13092387, -0.12923112, -0.12753905, -0.12584876, -0.1241613 , -0.12247764, -0.12079876, -0.11912556, -0.11745891, -0.11579964, -0.11414853, -0.11250633, -0.11087373, -0.10925141, -0.10764 , -0.10604007, -0.10445218, -0.10287685, -0.10131456, -0.09976575, -0.09823085, -0.09671023, -0.09520424, -0.09371321, -0.09223744, -0.09077718, -0.08933269, -0.08790418, -0.08649183, -0.08509582, -0.08371629, -0.08235336, -0.08100715, -0.07967774, -0.07836518, -0.07706954, -0.07579085, -0.07452912, -0.07328436, -0.07205655, -0.07084567, -0.06965168, -0.06847454, -0.06731418, -0.06617054, -0.06504353, -0.06393307, -0.06283906, -0.06176138, -0.06069994, -0.05965461, -0.05862527, -0.05761178, -0.05661401, -0.05563182, -0.05466505, -0.05371357, -0.05277722, -0.05185583, -0.05094925, -0.05005732, -0.04917988, -0.04831675, -0.04746776, -0.04663276, -0.04581155, -0.04500398, -0.04420987, -0.04342905, -0.04266133, -0.04190655, -0.04116454, -0.04043511, -0.0397181 , -0.03901332, -0.03832061, -0.0376398 , -0.03697071, -0.03631317, -0.03566701, -0.03503206, -0.03440816, -0.03379514, -0.03319284, -0.03260108, -0.03201971, -0.03144857, -0.03088749, -0.03033633, -0.02979492, -0.02926311, -0.02874075, -0.02822768, -0.02772376, -0.02722884, -0.02674278, -0.02626542, -0.02579664, -0.02533628, -0.02488421, -0.0244403 , -0.02400441, -0.0235764 , -0.02315615, -0.02274352, -0.0223384 , -0.02194064, -0.02155014, -0.02116677, -0.02079041, -0.02042094, -0.02005824, -0.01970221, -0.01935272, -0.01900968, -0.01867296, -0.01834246, -0.01801808, -0.01769971, -0.01738725, -0.0170806 , -0.01677966, -0.01648434, -0.01619453, -0.01591015, -0.0156311 , -0.01535729, -0.01508863, -0.01482504, -0.01456642, -0.0143127 , -0.01406379, -0.01381961, -0.01358008, -0.01334512, -0.01311465, -0.0128886 , -0.01266689, -0.01244945, -0.0122362 , -0.01202709, -0.01182203, -0.01162096, -0.01142381, -0.01123052, -0.01104102, -0.01085526, -0.01067316, -0.01049467, -0.01031972, -0.01014827, -0.00998025, -0.0098156 , -0.00965428, -0.00949622, -0.00934138, -0.0091897 , -0.00904114, -0.00889563, -0.00875314, -0.00861361, -0.008477 , -0.00834327, -0.00821236, -0.00808424, -0.00795886, -0.00783618, -0.00771615, -0.00759874, -0.00748391, -0.00737162, -0.00726183, -0.00715451, -0.00704961, -0.00694711, -0.00684697, -0.00674915, -0.00665362, -0.00656035, -0.00646931, -0.00638047, -0.0062938 , -0.00620926, -0.00612684, -0.0060465 , -0.00596821, -0.00589195, -0.0058177 , -0.00574543, -0.00567511, -0.00560672, -0.00554024, -0.00547564, -0.00541291, -0.00535202, -0.00529295, -0.00523569, -0.00518021, -0.0051265 , -0.00507453, -0.00502429, -0.00497577, -0.00492894, -0.0048838 , -0.00484032, -0.00479849, -0.00475831, -0.00471975, -0.0046828 , -0.00464745, -0.00461369, -0.00458152, -0.00455091, -0.00452186, -0.00449435, -0.00446839, -0.00444397, -0.00442106, -0.00439968, -0.00437981, -0.00436145, -0.00434458, -0.00432922, -0.00431534, -0.00430296, -0.00429206, -0.00428265, -0.00427471, -0.00426826, -0.00426329, -0.0042598 , -0.00425779, -0.00425726, -0.00425822, -0.00426066, -0.00426459, -0.00427002, -0.00427694, -0.00428537, -0.0042953 , -0.00430675, -0.00431972, -0.00433422, -0.00435025, -0.00436783, -0.00438697, -0.00440768, -0.00442996, -0.00445384, -0.00447932, -0.00450642, -0.00453515, -0.00456552, -0.00459757, -0.00463129, -0.00466671, -0.00470386, -0.00474274, -0.00478338, -0.00482581, -0.00487004, -0.00491611, -0.00496403, -0.00501384, -0.00506556, -0.00511923, -0.00517486, -0.00523251, -0.00529219, -0.00535396, -0.00541783, -0.00548386, -0.00555208, -0.00562253, -0.00569527, -0.00577033, -0.00584777, -0.00592763, -0.00600997, -0.00609485, -0.00618232, -0.00627244, -0.00636527, -0.00646089, -0.00655936, -0.00666076, -0.00676515, -0.00687263, -0.00698327, -0.00709716, -0.0072144 , -0.00733508, -0.00745929, -0.00758716, -0.00771878, -0.00785428, -0.00799377, -0.00813739, -0.00828528, -0.00843757, -0.00859442, -0.00875598, -0.00892243, -0.00909393, -0.00927068, -0.00945288, -0.00964072, -0.00983443, -0.01003424, -0.01024039, -0.01045316, -0.0106728 , -0.01089962, -0.01113392, -0.01137603, -0.01162631, -0.01188513, -0.01215287, -0.01242997, -0.01271687, -0.01301406, -0.01332204, -0.01364137, -0.01397263, -0.01431645, -0.01467351, -0.01504452, -0.01543026, -0.01583157, -0.01624935, -0.01668457, -0.01713827, -0.01761158, -0.01810574, -0.01862207, -0.019162 , -0.0197271 , -0.02031909, -0.0209398 , -0.02159129, -0.02227576, -0.02299565, -0.02375364, -0.02455268, -0.02539601, -0.02628722, -0.02723029, -0.02822965, -0.02929023, -0.03041753, -0.03161772, -0.03289773, -0.03426539, -0.03572954, -0.03730024, -0.03898897, -0.04080887, -0.04277507, -0.04490506, -0.0472192 , -0.04974128, -0.05249934, -0.05552656, -0.05886257, -0.06255506, -0.06666192, -0.07125414, -0.07641965, -0.08226875, -0.08894159, -0.096619 , -0.10553828, -0.11601693, -0.12848936, -0.14356557, -0.16212869, -0.18550439, -0.21577139, -0.25636695, -0.31335754, -0.39833418, -0.53552406, -0.77878635, -1.22500763, -1.8380721 , -2.29748208, -2.54899617, -2.69013457, -2.77709531, -2.8351584 , -2.87636072, -2.90697245, -2.93053229, -2.94917343, -2.96425269, -2.97667197, -2.9870531 , -2.99583821, -3.00334999, -3.00982932, -3.01545955, -3.02038267, -3.02471026, -3.02853124, -3.03191729, -3.03492683, -3.03760792, -3.04000046, -3.04213784, -3.0440482 , -3.04575541, -3.04727984, -3.048639 , -3.04984795, -3.0509198 , -3.05186593, -3.05269628, -3.0534196 , -3.05404356, -3.05457496, -3.0550198 , -3.05538341, -3.05567055, -3.05588543, -3.05603184, -3.05611317, -3.05613242, -3.05609233, -3.05599533, -3.05584361, -3.05563913, -3.05538367, -3.0550788 , -3.05472596, -3.05432642, -3.05388133, -3.05339172, -3.05285849, -3.05228246, -3.05166435, -3.0510048 , -3.05030436, -3.04956351, -3.04878268, -3.04796222, -3.04710243, -3.04620354, -3.04526577, -3.04428925, -3.04327409, -3.04222036, -3.04112807, -3.03999722, -3.03882775, -3.03761959, -3.03637263, -3.03508672, -3.03376171, -3.03239739, -3.03099354, -3.02954992, -3.02806626, -3.02654227, -3.02497763, -3.02337201, -3.02172506, -3.02003639, -3.01830563, -3.01653234, -3.01471612, -3.0128565 , -3.01095302, -3.00900521, -3.00701256, -3.00497457, -3.0028907 , -3.00076042, -2.99858316, -2.99635836, -2.99408544, -2.99176379, -2.9893928 , -2.98697185, -2.9845003 , -2.9819775 , -2.97940281, -2.97677553, -2.974095 , -2.97136051, -2.96857137, -2.96572686, -2.96282626, -2.95986885, -2.95685386, -2.95378057, -2.95064822, -2.94745604, -2.94420326, -2.94088911, -2.93751281, -2.93407357, -2.9305706 , -2.92700311, -2.9233703 , -2.91967138, -2.91590554, -2.912072 , -2.90816993, -2.90419856, -2.90015708, -2.8960447 , -2.89186063, -2.8876041 , -2.88327432, -2.87887052, -2.87439195, -2.86983786, -2.8652075 , -2.86050016, -2.85571513, -2.8508517 , -2.84590921, -2.840887 , -2.83578442, -2.83060087, -2.82533575, -2.81998851, -2.8145586 , -2.80904552, -2.80344879, -2.79776798, -2.79200268, -2.78615252, -2.78021718, -2.77419638, -2.76808988, -2.76189748, -2.75561904, -2.74925448, -2.74280375, -2.73626688, -2.72964393, -2.72293506, -2.71614045, -2.70926038, -2.70229517, -2.69524523, -2.68811104, -2.68089313, -2.67359212, -2.66620873, -2.65874372, -2.65119795, -2.64357237, -2.63586799, -2.62808592, -2.62022736, -2.61229358, -2.60428594, -2.59620591, -2.58805503, -2.57983491, -2.57154728, -2.56319395, -2.55477679, -2.54629779, -2.53775901, -2.52916259, -2.52051076, -2.51180582, -2.50305015, -2.49424621, -2.48539653, -2.47650371, -2.46757041, -2.45859937, -2.44959336, -2.44055524, -2.4314879 , -2.42239426, -2.41327733, -2.40414012, -2.39498568, -2.38581708, -2.37663745, -2.36744989, -2.35825755, -2.34906355, -2.33987105, -2.33068319, -2.32150308, -2.31233386, -2.30317862, -2.29404043, -2.28492233, -2.27582733, -2.2667584 , -2.25771847, -2.24871042, -2.23973707, -2.23080118, -2.22190548, -2.21305259, -2.20424511, -2.19548552, -2.18677628, -2.17811973, -2.16951815, -2.16097374, -2.15248862, -2.14406482, -2.13570428, -2.12740886, -2.11918034, -2.1110204 , -2.10293064, -2.09491257, -2.08696761, -2.07909709, -2.07130225, -2.06358426, -2.05594419, -2.04838304, -2.04090169, -2.03350099, -2.02618167, -2.0189444 , -2.01178976, -2.00471828, -1.99773038, -1.99082643, -1.98400674, -1.97727154, -1.97062099, -1.96405519, -1.95757419, -1.95117798, -1.94486649, -1.93863958, -1.93249708, -1.92643877, -1.92046438, -1.91457359, -1.90876603, -1.90304132, -1.897399 , -1.89183861, -1.88635964, -1.88096155, -1.87564376, -1.87040568, -1.86524667, -1.8601661 , -1.85516329, -1.85023754, -1.84538814, -1.84061435, -1.83591543, -1.83129062, -1.82673913, -1.82226018, -1.81785296, -1.81351667, -1.80925049, -1.80505358, -1.80092513, -1.79686428, -1.7928702 , -1.78894204, -1.78507895, -1.78128008, -1.77754459, -1.77387161, -1.7702603 , -1.76670982, -1.7632193 , -1.75978792, -1.75641481, -1.75309916, -1.74984012, -1.74663686, -1.74348855, -1.74039439, -1.73735355, -1.73436523, -1.73142862, -1.72854292, -1.72570737, -1.72292116, -1.72018353, -1.7174937 , -1.71485094, -1.71225447, -1.70970357, -1.70719749, -1.70473551, -1.70231692, -1.699941 , -1.69760706, -1.6953144 , -1.69306234, -1.69085021, -1.68867734, -1.68654307, -1.68444677, -1.68238778, -1.68036548, -1.67837925, -1.67642848, -1.67451256, -1.6726309 , -1.6707829 , -1.66896801, -1.66718563, -1.66543522, -1.66371622, -1.66202809, -1.66037029, -1.6587423 , -1.6571436 , -1.65557367, -1.65403201, -1.65251813, -1.65103155, -1.64957178, -1.64813835, -1.64673079, -1.64534866, -1.64399151, -1.64265888, -1.64135035, -1.64006549, -1.63880388, -1.63756511, -1.63634878, -1.63515447, -1.63398181, -1.6328304 , -1.63169986, -1.63058983, -1.62949994, -1.62842982, -1.62737912, -1.6263475 , -1.62533461, -1.62434011, -1.62336369, -1.622405 , -1.62146374, -1.62053958, -1.61963223, -1.61874137, -1.61786672, -1.61700798, -1.61616486, -1.61533708, -1.61452436, -1.61372644, -1.61294304, -1.6121739 , -1.61141877, -1.61067739, -1.60994951, -1.60923489, -1.60853328, -1.60784446, -1.60716819, -1.60650425, -1.6058524 , -1.60521243, -1.60458413, -1.60396728, -1.60336167, -1.60276711, -1.60218339, -1.60161031, -1.60104768, -1.60049531, -1.59995302, -1.59942062, -1.59889793, -1.59838477, -1.59788097, -1.59738637, -1.59690079, -1.59642407, -1.59595604, -1.59549656, -1.59504546, -1.5946026 , -1.59416781, -1.59374097, -1.59332191, -1.5929105 , -1.5925066 , -1.59211007, -1.59172078, -1.59133859, -1.59096339, -1.59059503, -1.5902334 , -1.58987836, -1.58952981, -1.58918763, -1.58885169, -1.58852189, -1.5881981 , -1.58788023, -1.58756817, -1.5872618 , -1.58696103, -1.58666574, -1.58637585, -1.58609126, -1.58581186, -1.58553757, -1.58526828, -1.58500391, -1.58474437, -1.58448957, -1.58423942, -1.58399384, -1.58375275, -1.58351606, -1.58328369, -1.58305557, -1.58283161, -1.58261175, -1.5823959 , -1.58218399, -1.58197595, -1.58177172, -1.58157121, -1.58137437, -1.58118112, -1.5809914 , -1.58080515, -1.58062229, -1.58044278, -1.58026655, -1.58009354, -1.57992369, -1.57975694, -1.57959324, -1.57943252, -1.57927475, -1.57911985, -1.57896779, -1.5788185 , -1.57867194, -1.57852806, -1.5783868 , -1.57824813, -1.57811199, -1.57797833, -1.57784712, -1.57771831, -1.57759184, -1.57746769, -1.57734581, -1.57722615, -1.57710868, -1.57699336, -1.57688014, -1.57676899, -1.57665987, -1.57655274, -1.57644758, -1.57634433, -1.57624297, -1.57614346, -1.57604577, -1.57594986, -1.57585571, -1.57576327, -1.57567253, -1.57558344, -1.57549598, -1.57541012, -1.57532582, -1.57524307, -1.57516183, -1.57508207, -1.57500377, -1.5749269 , -1.57485144, -1.57477735, -1.57470462, -1.57463321, -1.57456311, -1.57449429, -1.57442673, -1.5743604 , -1.57429529, -1.57423136, -1.5741686 , -1.57410699, -1.57404651, -1.57398713, -1.57392883, -1.5738716 , -1.57381541, -1.57376025, -1.5737061 , -1.57365294, -1.57360075, -1.57354951, -1.57349921, -1.57344983, -1.57340135, -1.57335376, -1.57330703, -1.57326116, -1.57321613, -1.57317192, -1.57312852, -1.57308591, -1.57304408, -1.57300301, -1.57296269, -1.57292311, -1.57288426, -1.57284611, -1.57280866, -1.5727719 , -1.5727358 , -1.57270037, -1.57266558, -1.57263143, -1.5725979 , -1.57256499, -1.57253267, -1.57250095, -1.57246981, -1.57243923, -1.57240921, -1.57237975, -1.57235082, -1.57232242, -1.57229454, -1.57226716, -1.57224029, -1.57221391, -1.57218801, -1.57216258, -1.57213762, -1.57211312, -1.57208906, -1.57206544, -1.57204225, -1.57201949, -1.57199714, -1.5719752 , -1.57195366, -1.57193252, -1.57191176, -1.57189138, -1.57187138, -1.57185173, -1.57183245, -1.57181352, -1.57179494]), array([1.00000000e+00, 1.01861017e+00, 1.03756668e+00, 1.05687597e+00, 1.07654461e+00, 1.09657929e+00, 1.11698682e+00, 1.13777413e+00, 1.15894830e+00, 1.18051653e+00, 1.20248614e+00, 1.22486461e+00, 1.24765955e+00, 1.27087871e+00, 1.29452998e+00, 1.31862140e+00, 1.34316117e+00, 1.36815763e+00, 1.39361927e+00, 1.41955477e+00, 1.44597292e+00, 1.47288272e+00, 1.50029332e+00, 1.52821404e+00, 1.55665436e+00, 1.58562396e+00, 1.61513269e+00, 1.64519059e+00, 1.67580786e+00, 1.70699493e+00, 1.73876240e+00, 1.77112106e+00, 1.80408193e+00, 1.83765620e+00, 1.87185529e+00, 1.90669084e+00, 1.94217468e+00, 1.97831888e+00, 2.01513573e+00, 2.05263775e+00, 2.09083769e+00, 2.12974854e+00, 2.16938352e+00, 2.20975611e+00, 2.25088005e+00, 2.29276931e+00, 2.33543814e+00, 2.37890104e+00, 2.42317279e+00, 2.46826845e+00, 2.51420335e+00, 2.56099310e+00, 2.60865362e+00, 2.65720111e+00, 2.70665207e+00, 2.75702333e+00, 2.80833200e+00, 2.86059554e+00, 2.91383170e+00, 2.96805861e+00, 3.02329468e+00, 3.07955871e+00, 3.13686982e+00, 3.19524751e+00, 3.25471161e+00, 3.31528234e+00, 3.37698031e+00, 3.43982649e+00, 3.50384225e+00, 3.56904935e+00, 3.63546996e+00, 3.70312668e+00, 3.77204249e+00, 3.84224085e+00, 3.91374560e+00, 3.98658107e+00, 4.06077203e+00, 4.13634368e+00, 4.21332174e+00, 4.29173238e+00, 4.37160225e+00, 4.45295851e+00, 4.53582883e+00, 4.62024137e+00, 4.70622485e+00, 4.79380850e+00, 4.88302209e+00, 4.97389596e+00, 5.06646101e+00, 5.16074871e+00, 5.25679112e+00, 5.35462090e+00, 5.45427131e+00, 5.55577622e+00, 5.65917016e+00, 5.76448828e+00, 5.87176639e+00, 5.98104096e+00, 6.09234915e+00, 6.20572881e+00, 6.32121848e+00, 6.43885743e+00, 6.55868566e+00, 6.68074392e+00, 6.80507370e+00, 6.93171728e+00, 7.06071771e+00, 7.19211887e+00, 7.32596543e+00, 7.46230289e+00, 7.60117762e+00, 7.74263683e+00, 7.88672862e+00, 8.03350198e+00, 8.18300682e+00, 8.33529397e+00, 8.49041520e+00, 8.64842328e+00, 8.80937190e+00, 8.97331581e+00, 9.14031075e+00, 9.31041349e+00, 9.48368187e+00, 9.66017480e+00, 9.83995230e+00, 1.00230755e+01, 1.02096066e+01, 1.03996091e+01, 1.05931476e+01, 1.07902879e+01, 1.09910970e+01, 1.11956432e+01, 1.14039960e+01, 1.16162263e+01, 1.18324063e+01, 1.20526094e+01, 1.22769105e+01, 1.25053859e+01, 1.27381132e+01, 1.29751717e+01, 1.32166418e+01, 1.34626058e+01, 1.37131472e+01, 1.39683512e+01, 1.42283046e+01, 1.44930957e+01, 1.47628147e+01, 1.50375532e+01, 1.53174046e+01, 1.56024641e+01, 1.58928287e+01, 1.61885969e+01, 1.64898694e+01, 1.67967487e+01, 1.71093391e+01, 1.74277468e+01, 1.77520801e+01, 1.80824493e+01, 1.84189668e+01, 1.87617469e+01, 1.91109062e+01, 1.94665634e+01, 1.98288395e+01, 2.01978576e+01, 2.05737431e+01, 2.09566240e+01, 2.13466303e+01, 2.17438948e+01, 2.21485523e+01, 2.25607407e+01, 2.29805999e+01, 2.34082728e+01, 2.38439047e+01, 2.42876438e+01, 2.47396410e+01, 2.52000499e+01, 2.56690272e+01, 2.61467321e+01, 2.66333273e+01, 2.71289780e+01, 2.76338529e+01, 2.81481236e+01, 2.86719650e+01, 2.92055551e+01, 2.97490755e+01, 3.03027108e+01, 3.08666494e+01, 3.14410830e+01, 3.20262069e+01, 3.26222201e+01, 3.32293252e+01, 3.38477286e+01, 3.44776405e+01, 3.51192753e+01, 3.57728510e+01, 3.64385898e+01, 3.71167182e+01, 3.78074666e+01, 3.85110700e+01, 3.92277676e+01, 3.99578030e+01, 4.07014245e+01, 4.14588850e+01, 4.22304419e+01, 4.30163576e+01, 4.38168993e+01, 4.46323393e+01, 4.54629547e+01, 4.63090280e+01, 4.71708469e+01, 4.80487044e+01, 4.89428990e+01, 4.98537346e+01, 5.07815211e+01, 5.17265739e+01, 5.26892142e+01, 5.36697695e+01, 5.46685730e+01, 5.56859644e+01, 5.67222897e+01, 5.77779012e+01, 5.88531578e+01, 5.99484250e+01, 6.10640754e+01, 6.22004883e+01, 6.33580499e+01, 6.45371540e+01, 6.57382014e+01, 6.69616005e+01, 6.82077673e+01, 6.94771255e+01, 7.07701066e+01, 7.20871503e+01, 7.34287045e+01, 7.47952252e+01, 7.61871770e+01, 7.76050334e+01, 7.90492762e+01, 8.05203967e+01, 8.20188950e+01, 8.35452806e+01, 8.51000725e+01, 8.66837993e+01, 8.82969996e+01, 8.99402217e+01, 9.16140246e+01, 9.33189772e+01, 9.50556592e+01, 9.68246612e+01, 9.86265846e+01, 1.00462042e+02, 1.02331658e+02, 1.04236067e+02, 1.06175918e+02, 1.08151870e+02, 1.10164595e+02, 1.12214777e+02, 1.14303113e+02, 1.16430313e+02, 1.18597101e+02, 1.20804213e+02, 1.23052400e+02, 1.25342427e+02, 1.27675070e+02, 1.30051125e+02, 1.32471399e+02, 1.34936714e+02, 1.37447909e+02, 1.40005838e+02, 1.42611371e+02, 1.45265393e+02, 1.47968806e+02, 1.50722531e+02, 1.53527503e+02, 1.56384676e+02, 1.59295021e+02, 1.62259529e+02, 1.65279206e+02, 1.68355080e+02, 1.71488197e+02, 1.74679622e+02, 1.77930439e+02, 1.81241755e+02, 1.84614695e+02, 1.88050406e+02, 1.91550056e+02, 1.95114835e+02, 1.98745955e+02, 2.02444651e+02, 2.06212180e+02, 2.10049824e+02, 2.13958887e+02, 2.17940698e+02, 2.21996612e+02, 2.26128007e+02, 2.30336287e+02, 2.34622885e+02, 2.38989257e+02, 2.43436887e+02, 2.47967289e+02, 2.52582003e+02, 2.57282597e+02, 2.62070670e+02, 2.66947849e+02, 2.71915794e+02, 2.76976194e+02, 2.82130768e+02, 2.87381269e+02, 2.92729484e+02, 2.98177229e+02, 3.03726358e+02, 3.09378757e+02, 3.15136348e+02, 3.21001090e+02, 3.26974974e+02, 3.33060034e+02, 3.39258338e+02, 3.45571994e+02, 3.52003147e+02, 3.58553986e+02, 3.65226736e+02, 3.72023668e+02, 3.78947092e+02, 3.85999362e+02, 3.93182876e+02, 4.00500076e+02, 4.07953450e+02, 4.15545533e+02, 4.23278907e+02, 4.31156199e+02, 4.39180089e+02, 4.47353305e+02, 4.55678627e+02, 4.64158883e+02, 4.72796959e+02, 4.81595791e+02, 4.90558371e+02, 4.99687745e+02, 5.08987019e+02, 5.18459354e+02, 5.28107971e+02, 5.37936150e+02, 5.47947234e+02, 5.58144625e+02, 5.68531791e+02, 5.79112265e+02, 5.89889643e+02, 6.00867589e+02, 6.12049837e+02, 6.23440189e+02, 6.35042517e+02, 6.46860766e+02, 6.58898955e+02, 6.71161177e+02, 6.83651600e+02, 6.96374473e+02, 7.09334120e+02, 7.22534949e+02, 7.35981448e+02, 7.49678187e+02, 7.63629826e+02, 7.77841107e+02, 7.92316862e+02, 8.07062014e+02, 8.22081576e+02, 8.37380654e+02, 8.52964450e+02, 8.68838264e+02, 8.85007491e+02, 9.01477631e+02, 9.18254284e+02, 9.35343152e+02, 9.52750047e+02, 9.70480888e+02, 9.88541702e+02, 1.00693863e+03, 1.02567793e+03, 1.04476597e+03, 1.06420924e+03, 1.08401436e+03, 1.10418805e+03, 1.12473718e+03, 1.14566873e+03, 1.16698982e+03, 1.18870770e+03, 1.21082975e+03, 1.23336350e+03, 1.25631660e+03, 1.27969687e+03, 1.30351224e+03, 1.32777083e+03, 1.35248087e+03, 1.37765077e+03, 1.40328908e+03, 1.42940453e+03, 1.45600600e+03, 1.48310251e+03, 1.51070330e+03, 1.53881775e+03, 1.56745541e+03, 1.59662602e+03, 1.62633950e+03, 1.65660596e+03, 1.68743568e+03, 1.71883914e+03, 1.75082703e+03, 1.78341022e+03, 1.81659979e+03, 1.85040702e+03, 1.88484341e+03, 1.91992067e+03, 1.95565072e+03, 1.99204571e+03, 2.02911802e+03, 2.06688025e+03, 2.10534524e+03, 2.14452608e+03, 2.18443607e+03, 2.22508880e+03, 2.26649808e+03, 2.30867799e+03, 2.35164288e+03, 2.39540736e+03, 2.43998630e+03, 2.48539486e+03, 2.53164848e+03, 2.57876289e+03, 2.62675410e+03, 2.67563844e+03, 2.72543253e+03, 2.77615329e+03, 2.82781798e+03, 2.88044415e+03, 2.93404971e+03, 2.98865287e+03, 3.04427221e+03, 3.10092664e+03, 3.15863541e+03, 3.21741815e+03, 3.27729485e+03, 3.33828586e+03, 3.40041193e+03, 3.46369418e+03, 3.52815412e+03, 3.59381366e+03, 3.66069515e+03, 3.72882131e+03, 3.79821531e+03, 3.86890074e+03, 3.94090164e+03, 4.01424249e+03, 4.08894823e+03, 4.16504425e+03, 4.24255643e+03, 4.32151113e+03, 4.40193519e+03, 4.48385595e+03, 4.56730127e+03, 4.65229952e+03, 4.73887961e+03, 4.82707097e+03, 4.91690358e+03, 5.00840799e+03, 5.10161531e+03, 5.19655724e+03, 5.29326606e+03, 5.39177464e+03, 5.49211648e+03, 5.59432571e+03, 5.69843706e+03, 5.80448594e+03, 5.91250841e+03, 6.02254120e+03, 6.13462172e+03, 6.24878807e+03, 6.36507908e+03, 6.48353429e+03, 6.60419396e+03, 6.72709914e+03, 6.85229160e+03, 6.97981391e+03, 7.10970943e+03, 7.24202233e+03, 7.37679760e+03, 7.51408106e+03, 7.65391939e+03, 7.79636013e+03, 7.94145172e+03, 8.08924349e+03, 8.23978568e+03, 8.39312950e+03, 8.54932707e+03, 8.70843150e+03, 8.87049689e+03, 9.03557835e+03, 9.20373200e+03, 9.37501502e+03, 9.54948564e+03, 9.72720319e+03, 9.90822810e+03, 1.00926219e+04, 1.02804473e+04, 1.04717682e+04, 1.06666496e+04, 1.08651577e+04, 1.10673602e+04, 1.12733256e+04, 1.14831241e+04, 1.16968270e+04, 1.19145070e+04, 1.21362380e+04, 1.23620954e+04, 1.25921561e+04, 1.28264983e+04, 1.30652016e+04, 1.33083472e+04, 1.35560179e+04, 1.38082977e+04, 1.40652724e+04, 1.43270295e+04, 1.45936580e+04, 1.48652484e+04, 1.51418933e+04, 1.54236865e+04, 1.57107239e+04, 1.60031031e+04, 1.63009236e+04, 1.66042866e+04, 1.69132952e+04, 1.72280545e+04, 1.75486715e+04, 1.78752553e+04, 1.82079168e+04, 1.85467692e+04, 1.88919278e+04, 1.92435098e+04, 1.96016347e+04, 1.99664245e+04, 2.03380031e+04, 2.07164968e+04, 2.11020343e+04, 2.14947467e+04, 2.18947676e+04, 2.23022330e+04, 2.27172813e+04, 2.31400538e+04, 2.35706941e+04, 2.40093488e+04, 2.44561668e+04, 2.49113003e+04, 2.53749038e+04, 2.58471351e+04, 2.63281547e+04, 2.68181261e+04, 2.73172160e+04, 2.78255940e+04, 2.83434331e+04, 2.88709092e+04, 2.94082017e+04, 2.99554933e+04, 3.05129702e+04, 3.10808217e+04, 3.16592411e+04, 3.22484250e+04, 3.28485737e+04, 3.34598912e+04, 3.40825855e+04, 3.47168682e+04, 3.53629550e+04, 3.60210656e+04, 3.66914238e+04, 3.73742574e+04, 3.80697987e+04, 3.87782841e+04, 3.94999546e+04, 4.02350555e+04, 4.09838367e+04, 4.17465529e+04, 4.25234633e+04, 4.33148322e+04, 4.41209286e+04, 4.49420266e+04, 4.57784054e+04, 4.66303493e+04, 4.74981480e+04, 4.83820966e+04, 4.92824957e+04, 5.01996513e+04, 5.11338754e+04, 5.20854855e+04, 5.30548053e+04, 5.40421642e+04, 5.50478981e+04, 5.60723488e+04, 5.71158648e+04, 5.81788007e+04, 5.92615181e+04, 6.03643851e+04, 6.14877765e+04, 6.26320745e+04, 6.37976681e+04, 6.49849535e+04, 6.61943346e+04, 6.74262224e+04, 6.86810359e+04, 6.99592017e+04, 7.12611543e+04, 7.25873365e+04, 7.39381992e+04, 7.53142017e+04, 7.67158118e+04, 7.81435061e+04, 7.95977700e+04, 8.10790981e+04, 8.25879939e+04, 8.41249705e+04, 8.56905505e+04, 8.72852662e+04, 8.89096599e+04, 9.05642838e+04, 9.22497005e+04, 9.39664831e+04, 9.57152154e+04, 9.74964918e+04, 9.93109181e+04, 1.01159111e+05, 1.03041699e+05, 1.04959323e+05, 1.06912634e+05, 1.08902296e+05, 1.10928986e+05, 1.12993394e+05, 1.15096220e+05, 1.17238180e+05, 1.19420003e+05, 1.21642429e+05, 1.23906216e+05, 1.26212131e+05, 1.28560961e+05, 1.30953502e+05, 1.33390569e+05, 1.35872990e+05, 1.38401610e+05, 1.40977287e+05, 1.43600898e+05, 1.46273336e+05, 1.48995507e+05, 1.51768339e+05, 1.54592774e+05, 1.57469771e+05, 1.60400311e+05, 1.63385388e+05, 1.66426018e+05, 1.69523234e+05, 1.72678090e+05, 1.75891659e+05, 1.79165033e+05, 1.82499324e+05, 1.85895668e+05, 1.89355218e+05, 1.92879151e+05, 1.96468665e+05, 2.00124980e+05, 2.03849340e+05, 2.07643011e+05, 2.11507282e+05, 2.15443469e+05, 2.19452909e+05, 2.23536965e+05, 2.27697026e+05, 2.31934506e+05, 2.36250847e+05, 2.40647515e+05, 2.45126006e+05, 2.49687843e+05, 2.54334576e+05, 2.59067786e+05, 2.63889081e+05, 2.68800102e+05, 2.73802518e+05, 2.78898029e+05, 2.84088369e+05, 2.89375302e+05, 2.94760626e+05, 3.00246171e+05, 3.05833803e+05, 3.11525422e+05, 3.17322963e+05, 3.23228398e+05, 3.29243733e+05, 3.35371015e+05, 3.41612327e+05, 3.47969790e+05, 3.54445567e+05, 3.61041860e+05, 3.67760910e+05, 3.74605003e+05, 3.81576466e+05, 3.88677669e+05, 3.95911027e+05, 4.03278998e+05, 4.10784089e+05, 4.18428851e+05, 4.26215883e+05, 4.34147833e+05, 4.42227398e+05, 4.50457325e+05, 4.58840413e+05, 4.67379511e+05, 4.76077523e+05, 4.84937407e+05, 4.93962174e+05, 5.03154895e+05, 5.12518693e+05, 5.22056753e+05, 5.31772318e+05, 5.41668691e+05, 5.51749238e+05, 5.62017385e+05, 5.72476624e+05, 5.83130511e+05, 5.93982669e+05, 6.05036788e+05, 6.16296626e+05, 6.27766011e+05, 6.39448843e+05, 6.51349095e+05, 6.63470812e+05, 6.75818117e+05, 6.88395207e+05, 7.01206359e+05, 7.14255929e+05, 7.27548353e+05, 7.41088152e+05, 7.54879928e+05, 7.68928372e+05, 7.83238260e+05, 7.97814457e+05, 8.12661920e+05, 8.27785697e+05, 8.43190929e+05, 8.58882856e+05, 8.74866812e+05, 8.91148232e+05, 9.07732653e+05, 9.24625712e+05, 9.41833153e+05, 9.59360829e+05, 9.77214697e+05, 9.95400829e+05, 1.01392541e+06, 1.03279473e+06, 1.05201522e+06, 1.07159340e+06, 1.09153594e+06, 1.11184960e+06, 1.13254132e+06, 1.15361810e+06, 1.17508713e+06, 1.19695570e+06, 1.21923125e+06, 1.24192135e+06, 1.26503372e+06, 1.28857621e+06, 1.31255684e+06, 1.33698374e+06, 1.36186524e+06, 1.38720978e+06, 1.41302599e+06, 1.43932264e+06, 1.46610868e+06, 1.49339322e+06, 1.52118552e+06, 1.54949504e+06, 1.57833141e+06, 1.60770442e+06, 1.63762407e+06, 1.66810054e+06, 1.69914417e+06, 1.73076553e+06, 1.76297538e+06, 1.79578465e+06, 1.82920450e+06, 1.86324631e+06, 1.89792164e+06, 1.93324229e+06, 1.96922026e+06, 2.00586778e+06, 2.04319732e+06, 2.08122157e+06, 2.11995346e+06, 2.15940615e+06, 2.19959307e+06, 2.24052787e+06, 2.28222447e+06, 2.32469706e+06, 2.36796007e+06, 2.41202821e+06, 2.45691646e+06, 2.50264010e+06, 2.54921465e+06, 2.59665597e+06, 2.64498018e+06, 2.69420371e+06, 2.74434330e+06, 2.79541600e+06, 2.84743917e+06, 2.90043049e+06, 2.95440800e+06, 3.00939003e+06, 3.06539530e+06, 3.12244282e+06, 3.18055202e+06, 3.23974263e+06, 3.30003479e+06, 3.36144900e+06, 3.42400614e+06, 3.48772747e+06, 3.55263468e+06, 3.61874981e+06, 3.68609536e+06, 3.75469422e+06, 3.82456972e+06, 3.89574562e+06, 3.96824610e+06, 4.04209584e+06, 4.11731993e+06, 4.19394396e+06, 4.27199397e+06, 4.35149650e+06, 4.43247859e+06, 4.51496777e+06, 4.59899209e+06, 4.68458012e+06, 4.77176095e+06, 4.86056423e+06, 4.95102016e+06, 5.04315949e+06, 5.13701354e+06, 5.23261424e+06, 5.32999408e+06, 5.42918618e+06, 5.53022426e+06, 5.63314267e+06, 5.73797641e+06, 5.84476113e+06, 5.95353313e+06, 6.06432940e+06, 6.17718760e+06, 6.29214611e+06, 6.40924402e+06, 6.52852114e+06, 6.65001803e+06, 6.77377600e+06, 6.89983712e+06, 7.02824426e+06, 7.15904109e+06, 7.29227206e+06, 7.42798248e+06, 7.56621850e+06, 7.70702711e+06, 7.85045620e+06, 7.99655453e+06, 8.14537177e+06, 8.29695852e+06, 8.45136633e+06, 8.60864770e+06, 8.76885609e+06, 8.93204600e+06, 9.09827289e+06, 9.26759330e+06, 9.44006479e+06, 9.61574600e+06, 9.79469667e+06, 9.97697764e+06, 1.01626509e+07, 1.03517796e+07, 1.05444279e+07, 1.07406615e+07, 1.09405471e+07, 1.11441525e+07, 1.13515471e+07, 1.15628013e+07, 1.17779870e+07, 1.19971774e+07, 1.22204469e+07, 1.24478715e+07, 1.26795285e+07, 1.29154967e+07, 1.31558562e+07, 1.34006890e+07, 1.36500781e+07, 1.39041083e+07, 1.41628662e+07, 1.44264395e+07, 1.46949180e+07, 1.49683929e+07, 1.52469573e+07, 1.55307057e+07, 1.58197348e+07, 1.61141428e+07, 1.64140297e+07, 1.67194976e+07, 1.70306503e+07, 1.73475936e+07, 1.76704353e+07, 1.79992851e+07, 1.83342548e+07, 1.86754584e+07, 1.90230119e+07, 1.93770334e+07, 1.97376433e+07, 2.01049642e+07, 2.04791210e+07, 2.08602409e+07, 2.12484535e+07, 2.16438909e+07, 2.20466874e+07, 2.24569800e+07, 2.28749082e+07, 2.33006141e+07, 2.37342425e+07, 2.41759408e+07, 2.46258592e+07, 2.50841506e+07, 2.55509709e+07, 2.60264788e+07, 2.65108360e+07, 2.70042072e+07, 2.75067601e+07, 2.80186656e+07, 2.85400977e+07, 2.90712338e+07, 2.96122544e+07, 3.01633435e+07, 3.07246884e+07, 3.12964801e+07, 3.18789129e+07, 3.24721849e+07, 3.30764978e+07, 3.36920571e+07, 3.43190720e+07, 3.49577557e+07, 3.56083255e+07, 3.62710025e+07, 3.69460121e+07, 3.76335836e+07, 3.83339510e+07, 3.90473524e+07, 3.97740302e+07, 4.05142317e+07, 4.12682085e+07, 4.20362168e+07, 4.28185180e+07, 4.36153779e+07, 4.44270675e+07, 4.52538628e+07, 4.60960449e+07, 4.69539001e+07, 4.78277202e+07, 4.87178022e+07, 4.96244488e+07, 5.05479682e+07, 5.14886745e+07, 5.24468875e+07, 5.34229330e+07, 5.44171429e+07, 5.54298552e+07, 5.64614142e+07, 5.75121707e+07, 5.85824820e+07, 5.96727120e+07, 6.07832313e+07, 6.19144176e+07, 6.30666554e+07, 6.42403366e+07, 6.54358602e+07, 6.66536327e+07, 6.78940681e+07, 6.91575883e+07, 7.04446228e+07, 7.17556092e+07, 7.30909933e+07, 7.44512291e+07, 7.58367791e+07, 7.72481145e+07, 7.86857151e+07, 8.01500696e+07, 8.16416760e+07, 8.31610415e+07, 8.47086827e+07, 8.62851257e+07, 8.78909065e+07, 8.95265713e+07, 9.11926760e+07, 9.28897872e+07, 9.46184819e+07, 9.63793480e+07, 9.81729841e+07, 1.00000000e+08]))

png

上図は開ループ伝達関数のボード線図である。 直流モータのシステムでは開ループ伝達関数と一巡伝達関数は同じである。 上図では振幅が0dbとなるところで、位相が180deg回っていないので安定である。

matlab.bode(G_close_ml, np.logspace(0, 8, 1000))

(array([8.02900970e-01, 8.00283658e-01, 7.97693529e-01, 7.95131853e-01, 7.92599839e-01, 7.90098627e-01, 7.87629292e-01, 7.85192837e-01, 7.82790201e-01, 7.80422250e-01, 7.78089781e-01, 7.75793522e-01, 7.73534132e-01, 7.71312200e-01, 7.69128250e-01, 7.66982736e-01, 7.64876049e-01, 7.62808515e-01, 7.60780395e-01, 7.58791894e-01, 7.56843153e-01, 7.54934258e-01, 7.53065241e-01, 7.51236080e-01, 7.49446700e-01, 7.47696981e-01, 7.45986756e-01, 7.44315812e-01, 7.42683898e-01, 7.41090720e-01, 7.39535950e-01, 7.38019226e-01, 7.36540152e-01, 7.35098303e-01, 7.33693228e-01, 7.32324449e-01, 7.30991465e-01, 7.29693757e-01, 7.28430783e-01, 7.27201987e-01, 7.26006796e-01, 7.24844627e-01, 7.23714883e-01, 7.22616958e-01, 7.21550239e-01, 7.20514105e-01, 7.19507931e-01, 7.18531088e-01, 7.17582946e-01, 7.16662872e-01, 7.15770234e-01, 7.14904402e-01, 7.14064747e-01, 7.13250643e-01, 7.12461469e-01, 7.11696608e-01, 7.10955449e-01, 7.10237387e-01, 7.09541824e-01, 7.08868170e-01, 7.08215840e-01, 7.07584262e-01, 7.06972868e-01, 7.06381102e-01, 7.05808418e-01, 7.05254277e-01, 7.04718152e-01, 7.04199526e-01, 7.03697890e-01, 7.03212749e-01, 7.02743615e-01, 7.02290013e-01, 7.01851478e-01, 7.01427555e-01, 7.01017800e-01, 7.00621779e-01, 7.00239070e-01, 6.99869261e-01, 6.99511949e-01, 6.99166743e-01, 6.98833261e-01, 6.98511132e-01, 6.98199994e-01, 6.97899496e-01, 6.97609296e-01, 6.97329062e-01, 6.97058470e-01, 6.96797206e-01, 6.96544966e-01, 6.96301454e-01, 6.96066382e-01, 6.95839472e-01, 6.95620453e-01, 6.95409063e-01, 6.95205047e-01, 6.95008159e-01, 6.94818160e-01, 6.94634818e-01, 6.94457908e-01, 6.94287214e-01, 6.94122524e-01, 6.93963635e-01, 6.93810350e-01, 6.93662476e-01, 6.93519831e-01, 6.93382234e-01, 6.93249513e-01, 6.93121499e-01, 6.92998032e-01, 6.92878955e-01, 6.92764116e-01, 6.92653368e-01, 6.92546571e-01, 6.92443588e-01, 6.92344285e-01, 6.92248537e-01, 6.92156219e-01, 6.92067212e-01, 6.91981401e-01, 6.91898675e-01, 6.91818926e-01, 6.91742050e-01, 6.91667949e-01, 6.91596524e-01, 6.91527682e-01, 6.91461334e-01, 6.91397393e-01, 6.91335774e-01, 6.91276397e-01, 6.91219183e-01, 6.91164058e-01, 6.91110948e-01, 6.91059784e-01, 6.91010497e-01, 6.90963023e-01, 6.90917299e-01, 6.90873264e-01, 6.90830860e-01, 6.90790031e-01, 6.90750721e-01, 6.90712880e-01, 6.90676456e-01, 6.90641401e-01, 6.90607669e-01, 6.90575214e-01, 6.90543993e-01, 6.90513964e-01, 6.90485088e-01, 6.90457325e-01, 6.90430639e-01, 6.90404993e-01, 6.90380354e-01, 6.90356688e-01, 6.90333964e-01, 6.90312151e-01, 6.90291220e-01, 6.90271142e-01, 6.90251892e-01, 6.90233442e-01, 6.90215769e-01, 6.90198848e-01, 6.90182656e-01, 6.90167173e-01, 6.90152376e-01, 6.90138247e-01, 6.90124766e-01, 6.90111914e-01, 6.90099675e-01, 6.90088032e-01, 6.90076970e-01, 6.90066473e-01, 6.90056528e-01, 6.90047120e-01, 6.90038238e-01, 6.90029869e-01, 6.90022001e-01, 6.90014626e-01, 6.90007731e-01, 6.90001309e-01, 6.89995350e-01, 6.89989847e-01, 6.89984791e-01, 6.89980177e-01, 6.89975998e-01, 6.89972248e-01, 6.89968922e-01, 6.89966016e-01, 6.89963526e-01, 6.89961448e-01, 6.89959780e-01, 6.89958520e-01, 6.89957665e-01, 6.89957215e-01, 6.89957169e-01, 6.89957528e-01, 6.89958291e-01, 6.89959459e-01, 6.89961035e-01, 6.89963020e-01, 6.89965418e-01, 6.89968231e-01, 6.89971463e-01, 6.89975120e-01, 6.89979204e-01, 6.89983724e-01, 6.89988683e-01, 6.89994091e-01, 6.89999952e-01, 6.90006277e-01, 6.90013073e-01, 6.90020349e-01, 6.90028116e-01, 6.90036385e-01, 6.90045165e-01, 6.90054470e-01, 6.90064313e-01, 6.90074706e-01, 6.90085663e-01, 6.90097201e-01, 6.90109334e-01, 6.90122079e-01, 6.90135453e-01, 6.90149476e-01, 6.90164165e-01, 6.90179541e-01, 6.90195625e-01, 6.90212439e-01, 6.90230007e-01, 6.90248351e-01, 6.90267497e-01, 6.90287471e-01, 6.90308301e-01, 6.90330015e-01, 6.90352643e-01, 6.90376215e-01, 6.90400765e-01, 6.90426325e-01, 6.90452930e-01, 6.90480618e-01, 6.90509425e-01, 6.90539392e-01, 6.90570559e-01, 6.90602970e-01, 6.90636668e-01, 6.90671700e-01, 6.90708114e-01, 6.90745959e-01, 6.90785289e-01, 6.90826156e-01, 6.90868618e-01, 6.90912731e-01, 6.90958558e-01, 6.91006161e-01, 6.91055605e-01, 6.91106959e-01, 6.91160293e-01, 6.91215680e-01, 6.91273198e-01, 6.91332925e-01, 6.91394944e-01, 6.91459341e-01, 6.91526203e-01, 6.91595625e-01, 6.91667701e-01, 6.91742531e-01, 6.91820220e-01, 6.91900874e-01, 6.91984606e-01, 6.92071531e-01, 6.92161771e-01, 6.92255450e-01, 6.92352699e-01, 6.92453654e-01, 6.92558454e-01, 6.92667246e-01, 6.92780182e-01, 6.92897419e-01, 6.93019122e-01, 6.93145460e-01, 6.93276610e-01, 6.93412758e-01, 6.93554092e-01, 6.93700813e-01, 6.93853127e-01, 6.94011249e-01, 6.94175400e-01, 6.94345815e-01, 6.94522732e-01, 6.94706404e-01, 6.94897091e-01, 6.95095064e-01, 6.95300604e-01, 6.95514005e-01, 6.95735573e-01, 6.95965622e-01, 6.96204485e-01, 6.96452504e-01, 6.96710035e-01, 6.96977452e-01, 6.97255139e-01, 6.97543500e-01, 6.97842954e-01, 6.98153936e-01, 6.98476901e-01, 6.98812321e-01, 6.99160688e-01, 6.99522516e-01, 6.99898339e-01, 7.00288712e-01, 7.00694216e-01, 7.01115455e-01, 7.01553059e-01, 7.02007684e-01, 7.02480015e-01, 7.02970767e-01, 7.03480682e-01, 7.04010539e-01, 7.04561149e-01, 7.05133356e-01, 7.05728045e-01, 7.06346138e-01, 7.06988597e-01, 7.07656430e-01, 7.08350686e-01, 7.09072466e-01, 7.09822916e-01, 7.10603240e-01, 7.11414693e-01, 7.12258590e-01, 7.13136306e-01, 7.14049283e-01, 7.14999030e-01, 7.15987127e-01, 7.17015231e-01, 7.18085079e-01, 7.19198493e-01, 7.20357384e-01, 7.21563759e-01, 7.22819726e-01, 7.24127497e-01, 7.25489400e-01, 7.26907881e-01, 7.28385514e-01, 7.29925009e-01, 7.31529218e-01, 7.33201148e-01, 7.34943969e-01, 7.36761023e-01, 7.38655841e-01, 7.40632149e-01, 7.42693887e-01, 7.44845221e-01, 7.47090559e-01, 7.49434570e-01, 7.51882202e-01, 7.54438703e-01, 7.57109644e-01, 7.59900943e-01, 7.62818892e-01, 7.65870186e-01, 7.69061958e-01, 7.72401811e-01, 7.75897860e-01, 7.79558776e-01, 7.83393828e-01, 7.87412943e-01, 7.91626761e-01, 7.96046697e-01, 8.00685021e-01, 8.05554927e-01, 8.10670634e-01, 8.16047479e-01, 8.21702030e-01, 8.27652214e-01, 8.33917458e-01, 8.40518848e-01, 8.47479312e-01, 8.54823823e-01, 8.62579635e-01, 8.70776547e-01, 8.79447207e-01, 8.88627466e-01, 8.98356773e-01, 9.08678645e-01, 9.19641202e-01, 9.31297793e-01, 9.43707729e-01, 9.56937135e-01, 9.71059965e-01, 9.86159189e-01, 1.00232822e+00, 1.01967259e+00, 1.03831202e+00, 1.05838283e+00, 1.08004099e+00, 1.10346571e+00, 1.12886401e+00, 1.15647625e+00, 1.18658319e+00, 1.21951477e+00, 1.25566137e+00, 1.29548830e+00, 1.33955460e+00, 1.38853784e+00, 1.44326713e+00, 1.50476781e+00, 1.57432285e+00, 1.65355864e+00, 1.74456729e+00, 1.85008466e+00, 1.97375593e+00, 2.12054247e+00, 2.29736500e+00, 2.51415578e+00, 2.78564965e+00, 3.13457003e+00, 3.59757171e+00, 4.23683483e+00, 5.16310068e+00, 6.57602981e+00, 8.76058737e+00, 1.13524664e+01, 1.12562708e+01, 8.43330178e+00, 6.09125809e+00, 4.59729698e+00, 3.62823375e+00, 2.96451075e+00, 2.48645880e+00, 2.12769852e+00, 1.84944889e+00, 1.62783241e+00, 1.44744901e+00, 1.29796299e+00, 1.17219819e+00, 1.06502545e+00, 9.72685871e-01, 8.92364359e-01, 8.21912290e-01, 7.59662100e-01, 7.04300270e-01, 6.54778406e-01, 6.10249744e-01, 5.70023027e-01, 5.33528447e-01, 5.00292154e-01, 4.69916903e-01, 4.42067200e-01, 4.16457768e-01, 3.92844499e-01, 3.71017296e-01, 3.50794353e-01, 3.32017549e-01, 3.14548717e-01, 2.98266591e-01, 2.83064303e-01, 2.68847304e-01, 2.55531640e-01, 2.43042508e-01, 2.31313042e-01, 2.20283289e-01, 2.09899333e-01, 2.00112560e-01, 1.90879014e-01, 1.82158859e-01, 1.73915903e-01, 1.66117191e-01, 1.58732653e-01, 1.51734792e-01, 1.45098416e-01, 1.38800402e-01, 1.32819487e-01, 1.27136084e-01, 1.21732124e-01, 1.16590907e-01, 1.11696976e-01, 1.07036009e-01, 1.02594709e-01, 9.83607190e-02, 9.43225405e-02, 9.04694592e-02, 8.67914799e-02, 8.32792683e-02, 7.99240967e-02, 7.67177965e-02, 7.36527142e-02, 7.07216722e-02, 6.79179321e-02, 6.52351630e-02, 6.26674105e-02, 6.02090704e-02, 5.78548633e-02, 5.55998118e-02, 5.34392201e-02, 5.13686539e-02, 4.93839239e-02, 4.74810686e-02, 4.56563401e-02, 4.39061898e-02, 4.22272562e-02, 4.06163526e-02, 3.90704568e-02, 3.75867004e-02, 3.61623602e-02, 3.47948489e-02, 3.34817074e-02, 3.22205972e-02, 3.10092936e-02, 2.98456789e-02, 2.87277368e-02, 2.76535462e-02, 2.66212765e-02, 2.56291822e-02, 2.46755985e-02, 2.37589373e-02, 2.28776825e-02, 2.20303867e-02, 2.12156673e-02, 2.04322037e-02, 1.96787336e-02, 1.89540502e-02, 1.82569997e-02, 1.75864782e-02, 1.69414299e-02, 1.63208439e-02, 1.57237528e-02, 1.51492303e-02, 1.45963892e-02, 1.40643797e-02, 1.35523874e-02, 1.30596321e-02, 1.25853657e-02, 1.21288711e-02, 1.16894606e-02, 1.12664748e-02, 1.08592811e-02, 1.04672724e-02, 1.00898663e-02, 9.72650399e-03, 9.37664889e-03, 9.03978595e-03, 8.71542067e-03, 8.40307818e-03, 8.10230240e-03, 7.81265529e-03, 7.53371603e-03, 7.26508031e-03, 7.00635968e-03, 6.75718081e-03, 6.51718492e-03, 6.28602717e-03, 6.06337607e-03, 5.84891293e-03, 5.64233136e-03, 5.44333674e-03, 5.25164578e-03, 5.06698602e-03, 4.88909541e-03, 4.71772192e-03, 4.55262310e-03, 4.39356572e-03, 4.24032539e-03, 4.09268623e-03, 3.95044050e-03, 3.81338832e-03, 3.68133735e-03, 3.55410246e-03, 3.43150550e-03, 3.31337499e-03, 3.19954589e-03, 3.08985931e-03, 2.98416232e-03, 2.88230769e-03, 2.78415368e-03, 2.68956382e-03, 2.59840673e-03, 2.51055589e-03, 2.42588949e-03, 2.34429024e-03, 2.26564518e-03, 2.18984553e-03, 2.11678654e-03, 2.04636732e-03, 1.97849072e-03, 1.91306315e-03, 1.84999448e-03, 1.78919790e-03, 1.73058978e-03, 1.67408958e-03, 1.61961971e-03, 1.56710544e-03, 1.51647477e-03, 1.46765835e-03, 1.42058936e-03, 1.37520344e-03, 1.33143859e-03, 1.28923508e-03, 1.24853535e-03, 1.20928396e-03, 1.17142751e-03, 1.13491453e-03, 1.09969545e-03, 1.06572251e-03, 1.03294969e-03, 1.00133268e-03, 9.70828747e-04, 9.41396762e-04, 9.12997084e-04, 8.85591527e-04, 8.59143306e-04, 8.33616983e-04, 8.08978420e-04, 7.85194734e-04, 7.62234248e-04, 7.40066450e-04, 7.18661953e-04, 6.97992448e-04, 6.78030675e-04, 6.58750375e-04, 6.40126262e-04, 6.22133987e-04, 6.04750099e-04, 5.87952021e-04, 5.71718013e-04, 5.56027142e-04, 5.40859259e-04, 5.26194963e-04, 5.12015583e-04, 4.98303142e-04, 4.85040342e-04, 4.72210532e-04, 4.59797690e-04, 4.47786398e-04, 4.36161820e-04, 4.24909683e-04, 4.14016253e-04, 4.03468323e-04, 3.93253183e-04, 3.83358613e-04, 3.73772858e-04, 3.64484614e-04, 3.55483008e-04, 3.46757590e-04, 3.38298308e-04, 3.30095500e-04, 3.22139878e-04, 3.14422510e-04, 3.06934814e-04, 2.99668539e-04, 2.92615755e-04, 2.85768840e-04, 2.79120471e-04, 2.72663608e-04, 2.66391487e-04, 2.60297608e-04, 2.54375725e-04, 2.48619835e-04, 2.43024172e-04, 2.37583193e-04, 2.32291575e-04, 2.27144200e-04, 2.22136152e-04, 2.17262706e-04, 2.12519323e-04, 2.07901640e-04, 2.03405464e-04, 1.99026767e-04, 1.94761674e-04, 1.90606465e-04, 1.86557561e-04, 1.82611523e-04, 1.78765044e-04, 1.75014946e-04, 1.71358169e-04, 1.67791776e-04, 1.64312938e-04, 1.60918935e-04, 1.57607152e-04, 1.54375069e-04, 1.51220265e-04, 1.48140408e-04, 1.45133254e-04, 1.42196641e-04, 1.39328489e-04, 1.36526794e-04, 1.33789626e-04, 1.31115125e-04, 1.28501498e-04, 1.25947019e-04, 1.23450022e-04, 1.21008901e-04, 1.18622108e-04, 1.16288149e-04, 1.14005582e-04, 1.11773016e-04, 1.09589108e-04, 1.07452561e-04, 1.05362124e-04, 1.03316585e-04, 1.01314777e-04, 9.93555676e-05, 9.74378661e-05, 9.55606153e-05, 9.37227936e-05, 9.19234121e-05, 9.01615139e-05, 8.84361728e-05, 8.67464919e-05, 8.50916023e-05, 8.34706626e-05, 8.18828570e-05, 8.03273950e-05, 7.88035101e-05, 7.73104589e-05, 7.58475203e-05, 7.44139944e-05, 7.30092022e-05, 7.16324842e-05, 7.02832002e-05, 6.89607283e-05, 6.76644641e-05, 6.63938205e-05, 6.51482267e-05, 6.39271277e-05, 6.27299838e-05, 6.15562699e-05, 6.04054752e-05, 5.92771026e-05, 5.81706682e-05, 5.70857008e-05, 5.60217416e-05, 5.49783436e-05, 5.39550714e-05, 5.29515008e-05, 5.19672180e-05, 5.10018200e-05, 5.00549137e-05, 4.91261156e-05, 4.82150518e-05, 4.73213574e-05, 4.64446765e-05, 4.55846616e-05, 4.47409735e-05, 4.39132812e-05, 4.31012613e-05, 4.23045980e-05, 4.15229829e-05, 4.07561148e-05, 4.00036991e-05, 3.92654483e-05, 3.85410812e-05, 3.78303229e-05, 3.71329047e-05, 3.64485639e-05, 3.57770437e-05, 3.51180928e-05, 3.44714654e-05, 3.38369212e-05, 3.32142249e-05, 3.26031465e-05, 3.20034607e-05, 3.14149473e-05, 3.08373904e-05, 3.02705789e-05, 2.97143062e-05, 2.91683699e-05, 2.86325719e-05, 2.81067180e-05, 2.75906184e-05, 2.70840870e-05, 2.65869413e-05, 2.60990030e-05, 2.56200972e-05, 2.51500524e-05, 2.46887009e-05, 2.42358780e-05, 2.37914227e-05, 2.33551770e-05, 2.29269861e-05, 2.25066984e-05, 2.20941650e-05, 2.16892403e-05, 2.12917815e-05, 2.09016484e-05, 2.05187038e-05, 2.01428131e-05, 1.97738443e-05, 1.94116681e-05, 1.90561575e-05, 1.87071882e-05, 1.83646383e-05, 1.80283879e-05, 1.76983200e-05, 1.73743194e-05, 1.70562732e-05, 1.67440708e-05, 1.64376037e-05, 1.61367654e-05, 1.58414515e-05, 1.55515595e-05, 1.52669889e-05, 1.49876413e-05, 1.47134198e-05, 1.44442296e-05, 1.41799776e-05, 1.39205726e-05, 1.36659250e-05, 1.34159469e-05, 1.31705520e-05, 1.29296557e-05, 1.26931751e-05, 1.24610287e-05, 1.22331365e-05, 1.20094202e-05, 1.17898028e-05, 1.15742088e-05, 1.13625641e-05, 1.11547959e-05, 1.09508330e-05, 1.07506053e-05, 1.05540441e-05, 1.03610819e-05, 1.01716526e-05, 9.98569124e-06, 9.80313408e-06, 9.62391857e-06, 9.44798330e-06, 9.27526804e-06, 9.10571364e-06, 8.93926208e-06, 8.77585639e-06, 8.61544066e-06, 8.45796002e-06, 8.30336063e-06, 8.15158962e-06, 8.00259511e-06, 7.85632618e-06, 7.71273284e-06, 7.57176605e-06, 7.43337765e-06, 7.29752037e-06, 7.16414782e-06, 7.03321447e-06, 6.90467562e-06, 6.77848739e-06, 6.65460672e-06, 6.53299135e-06, 6.41359977e-06, 6.29639126e-06, 6.18132584e-06, 6.06836426e-06, 5.95746800e-06, 5.84859925e-06, 5.74172088e-06, 5.63679646e-06, 5.53379023e-06, 5.43266708e-06, 5.33339253e-06, 5.23593275e-06, 5.14025455e-06, 5.04632530e-06, 4.95411302e-06, 4.86358629e-06, 4.77471426e-06, 4.68746667e-06, 4.60181379e-06, 4.51772646e-06, 4.43517603e-06, 4.35413440e-06, 4.27457396e-06, 4.19646762e-06, 4.11978880e-06, 4.04451138e-06, 3.97060973e-06, 3.89805869e-06, 3.82683357e-06, 3.75691012e-06, 3.68826454e-06, 3.62087345e-06, 3.55471394e-06, 3.48976346e-06, 3.42599993e-06, 3.36340163e-06, 3.30194727e-06, 3.24161594e-06, 3.18238709e-06, 3.12424058e-06, 3.06715662e-06, 3.01111578e-06, 2.95609901e-06, 2.90208757e-06, 2.84906309e-06, 2.79700753e-06, 2.74590319e-06, 2.69573266e-06, 2.64647889e-06, 2.59812512e-06, 2.55065490e-06, 2.50405207e-06, 2.45830080e-06, 2.41338550e-06, 2.36929091e-06, 2.32600202e-06, 2.28350411e-06, 2.24178273e-06, 2.20082368e-06, 2.16061302e-06, 2.12113709e-06, 2.08238246e-06, 2.04433594e-06, 2.00698459e-06, 1.97031571e-06, 1.93431683e-06, 1.89897570e-06, 1.86428030e-06, 1.83021884e-06, 1.79677973e-06, 1.76395160e-06, 1.73172327e-06, 1.70008380e-06, 1.66902242e-06, 1.63852857e-06, 1.60859188e-06, 1.57920216e-06, 1.55034942e-06, 1.52202385e-06, 1.49421581e-06, 1.46691586e-06, 1.44011470e-06, 1.41380323e-06, 1.38797248e-06, 1.36261369e-06, 1.33771822e-06, 1.31327762e-06, 1.28928356e-06, 1.26572789e-06, 1.24260260e-06, 1.21989983e-06, 1.19761185e-06, 1.17573109e-06, 1.15425010e-06, 1.13316159e-06, 1.11245838e-06, 1.09213342e-06, 1.07217982e-06, 1.05259078e-06, 1.03335964e-06, 1.01447986e-06, 9.95945031e-07, 9.77748840e-07, 9.59885103e-07, 9.42347745e-07, 9.25130803e-07, 9.08228423e-07, 8.91634857e-07, 8.75344462e-07, 8.59351701e-07, 8.43651133e-07, 8.28237422e-07, 8.13105326e-07, 7.98249698e-07, 7.83665489e-07, 7.69347739e-07, 7.55291580e-07, 7.41492232e-07, 7.27945003e-07, 7.14645286e-07, 7.01588560e-07, 6.88770384e-07, 6.76186401e-07, 6.63832331e-07, 6.51703975e-07, 6.39797206e-07, 6.28107979e-07, 6.16632317e-07, 6.05366318e-07, 5.94306153e-07, 5.83448060e-07, 5.72788348e-07, 5.62323391e-07, 5.52049633e-07, 5.41963578e-07, 5.32061798e-07, 5.22340927e-07, 5.12797658e-07, 5.03428747e-07, 4.94231009e-07, 4.85201315e-07, 4.76336596e-07, 4.67633838e-07, 4.59090081e-07, 4.50702421e-07, 4.42468005e-07, 4.34384034e-07, 4.26447759e-07, 4.18656481e-07, 4.11007552e-07, 4.03498370e-07, 3.96126383e-07, 3.88889084e-07]), array([-0.18166044, -0.18103093, -0.18034594, -0.17960655, -0.17881389, -0.17796915, -0.17707363, -0.17612863, -0.17513557, -0.17409588, -0.17301104, -0.17188259, -0.1707121 , -0.16950117, -0.16825143, -0.16696454, -0.16564216, -0.16428598, -0.1628977 , -0.16147901, -0.16003163, -0.15855724, -0.15705755, -0.15553423, -0.15398894, -0.15242334, -0.15083906, -0.14923769, -0.14762083, -0.14599002, -0.14434677, -0.14269258, -0.1410289 , -0.13935714, -0.13767867, -0.13599483, -0.13430692, -0.1326162 , -0.13092387, -0.12923112, -0.12753905, -0.12584876, -0.1241613 , -0.12247764, -0.12079876, -0.11912556, -0.11745891, -0.11579964, -0.11414853, -0.11250633, -0.11087373, -0.10925141, -0.10764 , -0.10604007, -0.10445218, -0.10287685, -0.10131456, -0.09976575, -0.09823085, -0.09671023, -0.09520424, -0.09371321, -0.09223744, -0.09077718, -0.08933269, -0.08790418, -0.08649183, -0.08509582, -0.08371629, -0.08235336, -0.08100715, -0.07967774, -0.07836518, -0.07706954, -0.07579085, -0.07452912, -0.07328436, -0.07205655, -0.07084567, -0.06965168, -0.06847454, -0.06731418, -0.06617054, -0.06504353, -0.06393307, -0.06283906, -0.06176138, -0.06069994, -0.05965461, -0.05862527, -0.05761178, -0.05661401, -0.05563182, -0.05466505, -0.05371357, -0.05277722, -0.05185583, -0.05094925, -0.05005732, -0.04917988, -0.04831675, -0.04746776, -0.04663276, -0.04581155, -0.04500398, -0.04420987, -0.04342905, -0.04266133, -0.04190655, -0.04116454, -0.04043511, -0.0397181 , -0.03901332, -0.03832061, -0.0376398 , -0.03697071, -0.03631317, -0.03566701, -0.03503206, -0.03440816, -0.03379514, -0.03319284, -0.03260108, -0.03201971, -0.03144857, -0.03088749, -0.03033633, -0.02979492, -0.02926311, -0.02874075, -0.02822768, -0.02772376, -0.02722884, -0.02674278, -0.02626542, -0.02579664, -0.02533628, -0.02488421, -0.0244403 , -0.02400441, -0.0235764 , -0.02315615, -0.02274352, -0.0223384 , -0.02194064, -0.02155014, -0.02116677, -0.02079041, -0.02042094, -0.02005824, -0.01970221, -0.01935272, -0.01900968, -0.01867296, -0.01834246, -0.01801808, -0.01769971, -0.01738725, -0.0170806 , -0.01677966, -0.01648434, -0.01619453, -0.01591015, -0.0156311 , -0.01535729, -0.01508863, -0.01482504, -0.01456642, -0.0143127 , -0.01406379, -0.01381961, -0.01358008, -0.01334512, -0.01311465, -0.0128886 , -0.01266689, -0.01244945, -0.0122362 , -0.01202709, -0.01182203, -0.01162096, -0.01142381, -0.01123052, -0.01104102, -0.01085526, -0.01067316, -0.01049467, -0.01031972, -0.01014827, -0.00998025, -0.0098156 , -0.00965428, -0.00949622, -0.00934138, -0.0091897 , -0.00904114, -0.00889563, -0.00875314, -0.00861361, -0.008477 , -0.00834327, -0.00821236, -0.00808424, -0.00795886, -0.00783618, -0.00771615, -0.00759874, -0.00748391, -0.00737162, -0.00726183, -0.00715451, -0.00704961, -0.00694711, -0.00684697, -0.00674915, -0.00665362, -0.00656035, -0.00646931, -0.00638047, -0.0062938 , -0.00620926, -0.00612684, -0.0060465 , -0.00596821, -0.00589195, -0.0058177 , -0.00574543, -0.00567511, -0.00560672, -0.00554024, -0.00547564, -0.00541291, -0.00535202, -0.00529295, -0.00523569, -0.00518021, -0.0051265 , -0.00507453, -0.00502429, -0.00497577, -0.00492894, -0.0048838 , -0.00484032, -0.00479849, -0.00475831, -0.00471975, -0.0046828 , -0.00464745, -0.00461369, -0.00458152, -0.00455091, -0.00452186, -0.00449435, -0.00446839, -0.00444397, -0.00442106, -0.00439968, -0.00437981, -0.00436145, -0.00434458, -0.00432922, -0.00431534, -0.00430296, -0.00429206, -0.00428265, -0.00427471, -0.00426826, -0.00426329, -0.0042598 , -0.00425779, -0.00425726, -0.00425822, -0.00426066, -0.00426459, -0.00427002, -0.00427694, -0.00428537, -0.0042953 , -0.00430675, -0.00431972, -0.00433422, -0.00435025, -0.00436783, -0.00438697, -0.00440768, -0.00442996, -0.00445384, -0.00447932, -0.00450642, -0.00453515, -0.00456552, -0.00459757, -0.00463129, -0.00466671, -0.00470386, -0.00474274, -0.00478338, -0.00482581, -0.00487004, -0.00491611, -0.00496403, -0.00501384, -0.00506556, -0.00511923, -0.00517486, -0.00523251, -0.00529219, -0.00535396, -0.00541783, -0.00548386, -0.00555208, -0.00562253, -0.00569527, -0.00577033, -0.00584777, -0.00592763, -0.00600997, -0.00609485, -0.00618232, -0.00627244, -0.00636527, -0.00646089, -0.00655936, -0.00666076, -0.00676515, -0.00687263, -0.00698327, -0.00709716, -0.0072144 , -0.00733508, -0.00745929, -0.00758716, -0.00771878, -0.00785428, -0.00799377, -0.00813739, -0.00828528, -0.00843757, -0.00859442, -0.00875598, -0.00892243, -0.00909393, -0.00927068, -0.00945288, -0.00964072, -0.00983443, -0.01003424, -0.01024039, -0.01045316, -0.0106728 , -0.01089962, -0.01113392, -0.01137603, -0.01162631, -0.01188513, -0.01215287, -0.01242997, -0.01271687, -0.01301406, -0.01332204, -0.01364137, -0.01397263, -0.01431645, -0.01467351, -0.01504452, -0.01543026, -0.01583157, -0.01624935, -0.01668457, -0.01713827, -0.01761158, -0.01810574, -0.01862207, -0.019162 , -0.0197271 , -0.02031909, -0.0209398 , -0.02159129, -0.02227576, -0.02299565, -0.02375364, -0.02455268, -0.02539601, -0.02628722, -0.02723029, -0.02822965, -0.02929023, -0.03041753, -0.03161772, -0.03289773, -0.03426539, -0.03572954, -0.03730024, -0.03898897, -0.04080887, -0.04277507, -0.04490506, -0.0472192 , -0.04974128, -0.05249934, -0.05552656, -0.05886257, -0.06255506, -0.06666192, -0.07125414, -0.07641965, -0.08226875, -0.08894159, -0.096619 , -0.10553828, -0.11601693, -0.12848936, -0.14356557, -0.16212869, -0.18550439, -0.21577139, -0.25636695, -0.31335754, -0.39833418, -0.53552406, -0.77878635, -1.22500763, -1.8380721 , -2.29748208, -2.54899617, -2.69013457, -2.77709531, -2.8351584 , -2.87636072, -2.90697245, -2.93053229, -2.94917343, -2.96425269, -2.97667197, -2.9870531 , -2.99583821, -3.00334999, -3.00982932, -3.01545955, -3.02038267, -3.02471026, -3.02853124, -3.03191729, -3.03492683, -3.03760792, -3.04000046, -3.04213784, -3.0440482 , -3.04575541, -3.04727984, -3.048639 , -3.04984795, -3.0509198 , -3.05186593, -3.05269628, -3.0534196 , -3.05404356, -3.05457496, -3.0550198 , -3.05538341, -3.05567055, -3.05588543, -3.05603184, -3.05611317, -3.05613242, -3.05609233, -3.05599533, -3.05584361, -3.05563913, -3.05538367, -3.0550788 , -3.05472596, -3.05432642, -3.05388133, -3.05339172, -3.05285849, -3.05228246, -3.05166435, -3.0510048 , -3.05030436, -3.04956351, -3.04878268, -3.04796222, -3.04710243, -3.04620354, -3.04526577, -3.04428925, -3.04327409, -3.04222036, -3.04112807, -3.03999722, -3.03882775, -3.03761959, -3.03637263, -3.03508672, -3.03376171, -3.03239739, -3.03099354, -3.02954992, -3.02806626, -3.02654227, -3.02497763, -3.02337201, -3.02172506, -3.02003639, -3.01830563, -3.01653234, -3.01471612, -3.0128565 , -3.01095302, -3.00900521, -3.00701256, -3.00497457, -3.0028907 , -3.00076042, -2.99858316, -2.99635836, -2.99408544, -2.99176379, -2.9893928 , -2.98697185, -2.9845003 , -2.9819775 , -2.97940281, -2.97677553, -2.974095 , -2.97136051, -2.96857137, -2.96572686, -2.96282626, -2.95986885, -2.95685386, -2.95378057, -2.95064822, -2.94745604, -2.94420326, -2.94088911, -2.93751281, -2.93407357, -2.9305706 , -2.92700311, -2.9233703 , -2.91967138, -2.91590554, -2.912072 , -2.90816993, -2.90419856, -2.90015708, -2.8960447 , -2.89186063, -2.8876041 , -2.88327432, -2.87887052, -2.87439195, -2.86983786, -2.8652075 , -2.86050016, -2.85571513, -2.8508517 , -2.84590921, -2.840887 , -2.83578442, -2.83060087, -2.82533575, -2.81998851, -2.8145586 , -2.80904552, -2.80344879, -2.79776798, -2.79200268, -2.78615252, -2.78021718, -2.77419638, -2.76808988, -2.76189748, -2.75561904, -2.74925448, -2.74280375, -2.73626688, -2.72964393, -2.72293506, -2.71614045, -2.70926038, -2.70229517, -2.69524523, -2.68811104, -2.68089313, -2.67359212, -2.66620873, -2.65874372, -2.65119795, -2.64357237, -2.63586799, -2.62808592, -2.62022736, -2.61229358, -2.60428594, -2.59620591, -2.58805503, -2.57983491, -2.57154728, -2.56319395, -2.55477679, -2.54629779, -2.53775901, -2.52916259, -2.52051076, -2.51180582, -2.50305015, -2.49424621, -2.48539653, -2.47650371, -2.46757041, -2.45859937, -2.44959336, -2.44055524, -2.4314879 , -2.42239426, -2.41327733, -2.40414012, -2.39498568, -2.38581708, -2.37663745, -2.36744989, -2.35825755, -2.34906355, -2.33987105, -2.33068319, -2.32150308, -2.31233386, -2.30317862, -2.29404043, -2.28492233, -2.27582733, -2.2667584 , -2.25771847, -2.24871042, -2.23973707, -2.23080118, -2.22190548, -2.21305259, -2.20424511, -2.19548552, -2.18677628, -2.17811973, -2.16951815, -2.16097374, -2.15248862, -2.14406482, -2.13570428, -2.12740886, -2.11918034, -2.1110204 , -2.10293064, -2.09491257, -2.08696761, -2.07909709, -2.07130225, -2.06358426, -2.05594419, -2.04838304, -2.04090169, -2.03350099, -2.02618167, -2.0189444 , -2.01178976, -2.00471828, -1.99773038, -1.99082643, -1.98400674, -1.97727154, -1.97062099, -1.96405519, -1.95757419, -1.95117798, -1.94486649, -1.93863958, -1.93249708, -1.92643877, -1.92046438, -1.91457359, -1.90876603, -1.90304132, -1.897399 , -1.89183861, -1.88635964, -1.88096155, -1.87564376, -1.87040568, -1.86524667, -1.8601661 , -1.85516329, -1.85023754, -1.84538814, -1.84061435, -1.83591543, -1.83129062, -1.82673913, -1.82226018, -1.81785296, -1.81351667, -1.80925049, -1.80505358, -1.80092513, -1.79686428, -1.7928702 , -1.78894204, -1.78507895, -1.78128008, -1.77754459, -1.77387161, -1.7702603 , -1.76670982, -1.7632193 , -1.75978792, -1.75641481, -1.75309916, -1.74984012, -1.74663686, -1.74348855, -1.74039439, -1.73735355, -1.73436523, -1.73142862, -1.72854292, -1.72570737, -1.72292116, -1.72018353, -1.7174937 , -1.71485094, -1.71225447, -1.70970357, -1.70719749, -1.70473551, -1.70231692, -1.699941 , -1.69760706, -1.6953144 , -1.69306234, -1.69085021, -1.68867734, -1.68654307, -1.68444677, -1.68238778, -1.68036548, -1.67837925, -1.67642848, -1.67451256, -1.6726309 , -1.6707829 , -1.66896801, -1.66718563, -1.66543522, -1.66371622, -1.66202809, -1.66037029, -1.6587423 , -1.6571436 , -1.65557367, -1.65403201, -1.65251813, -1.65103155, -1.64957178, -1.64813835, -1.64673079, -1.64534866, -1.64399151, -1.64265888, -1.64135035, -1.64006549, -1.63880388, -1.63756511, -1.63634878, -1.63515447, -1.63398181, -1.6328304 , -1.63169986, -1.63058983, -1.62949994, -1.62842982, -1.62737912, -1.6263475 , -1.62533461, -1.62434011, -1.62336369, -1.622405 , -1.62146374, -1.62053958, -1.61963223, -1.61874137, -1.61786672, -1.61700798, -1.61616486, -1.61533708, -1.61452436, -1.61372644, -1.61294304, -1.6121739 , -1.61141877, -1.61067739, -1.60994951, -1.60923489, -1.60853328, -1.60784446, -1.60716819, -1.60650425, -1.6058524 , -1.60521243, -1.60458413, -1.60396728, -1.60336167, -1.60276711, -1.60218339, -1.60161031, -1.60104768, -1.60049531, -1.59995302, -1.59942062, -1.59889793, -1.59838477, -1.59788097, -1.59738637, -1.59690079, -1.59642407, -1.59595604, -1.59549656, -1.59504546, -1.5946026 , -1.59416781, -1.59374097, -1.59332191, -1.5929105 , -1.5925066 , -1.59211007, -1.59172078, -1.59133859, -1.59096339, -1.59059503, -1.5902334 , -1.58987836, -1.58952981, -1.58918763, -1.58885169, -1.58852189, -1.5881981 , -1.58788023, -1.58756817, -1.5872618 , -1.58696103, -1.58666574, -1.58637585, -1.58609126, -1.58581186, -1.58553757, -1.58526828, -1.58500391, -1.58474437, -1.58448957, -1.58423942, -1.58399384, -1.58375275, -1.58351606, -1.58328369, -1.58305557, -1.58283161, -1.58261175, -1.5823959 , -1.58218399, -1.58197595, -1.58177172, -1.58157121, -1.58137437, -1.58118112, -1.5809914 , -1.58080515, -1.58062229, -1.58044278, -1.58026655, -1.58009354, -1.57992369, -1.57975694, -1.57959324, -1.57943252, -1.57927475, -1.57911985, -1.57896779, -1.5788185 , -1.57867194, -1.57852806, -1.5783868 , -1.57824813, -1.57811199, -1.57797833, -1.57784712, -1.57771831, -1.57759184, -1.57746769, -1.57734581, -1.57722615, -1.57710868, -1.57699336, -1.57688014, -1.57676899, -1.57665987, -1.57655274, -1.57644758, -1.57634433, -1.57624297, -1.57614346, -1.57604577, -1.57594986, -1.57585571, -1.57576327, -1.57567253, -1.57558344, -1.57549598, -1.57541012, -1.57532582, -1.57524307, -1.57516183, -1.57508207, -1.57500377, -1.5749269 , -1.57485144, -1.57477735, -1.57470462, -1.57463321, -1.57456311, -1.57449429, -1.57442673, -1.5743604 , -1.57429529, -1.57423136, -1.5741686 , -1.57410699, -1.57404651, -1.57398713, -1.57392883, -1.5738716 , -1.57381541, -1.57376025, -1.5737061 , -1.57365294, -1.57360075, -1.57354951, -1.57349921, -1.57344983, -1.57340135, -1.57335376, -1.57330703, -1.57326116, -1.57321613, -1.57317192, -1.57312852, -1.57308591, -1.57304408, -1.57300301, -1.57296269, -1.57292311, -1.57288426, -1.57284611, -1.57280866, -1.5727719 , -1.5727358 , -1.57270037, -1.57266558, -1.57263143, -1.5725979 , -1.57256499, -1.57253267, -1.57250095, -1.57246981, -1.57243923, -1.57240921, -1.57237975, -1.57235082, -1.57232242, -1.57229454, -1.57226716, -1.57224029, -1.57221391, -1.57218801, -1.57216258, -1.57213762, -1.57211312, -1.57208906, -1.57206544, -1.57204225, -1.57201949, -1.57199714, -1.5719752 , -1.57195366, -1.57193252, -1.57191176, -1.57189138, -1.57187138, -1.57185173, -1.57183245, -1.57181352, -1.57179494]), array([1.00000000e+00, 1.01861017e+00, 1.03756668e+00, 1.05687597e+00, 1.07654461e+00, 1.09657929e+00, 1.11698682e+00, 1.13777413e+00, 1.15894830e+00, 1.18051653e+00, 1.20248614e+00, 1.22486461e+00, 1.24765955e+00, 1.27087871e+00, 1.29452998e+00, 1.31862140e+00, 1.34316117e+00, 1.36815763e+00, 1.39361927e+00, 1.41955477e+00, 1.44597292e+00, 1.47288272e+00, 1.50029332e+00, 1.52821404e+00, 1.55665436e+00, 1.58562396e+00, 1.61513269e+00, 1.64519059e+00, 1.67580786e+00, 1.70699493e+00, 1.73876240e+00, 1.77112106e+00, 1.80408193e+00, 1.83765620e+00, 1.87185529e+00, 1.90669084e+00, 1.94217468e+00, 1.97831888e+00, 2.01513573e+00, 2.05263775e+00, 2.09083769e+00, 2.12974854e+00, 2.16938352e+00, 2.20975611e+00, 2.25088005e+00, 2.29276931e+00, 2.33543814e+00, 2.37890104e+00, 2.42317279e+00, 2.46826845e+00, 2.51420335e+00, 2.56099310e+00, 2.60865362e+00, 2.65720111e+00, 2.70665207e+00, 2.75702333e+00, 2.80833200e+00, 2.86059554e+00, 2.91383170e+00, 2.96805861e+00, 3.02329468e+00, 3.07955871e+00, 3.13686982e+00, 3.19524751e+00, 3.25471161e+00, 3.31528234e+00, 3.37698031e+00, 3.43982649e+00, 3.50384225e+00, 3.56904935e+00, 3.63546996e+00, 3.70312668e+00, 3.77204249e+00, 3.84224085e+00, 3.91374560e+00, 3.98658107e+00, 4.06077203e+00, 4.13634368e+00, 4.21332174e+00, 4.29173238e+00, 4.37160225e+00, 4.45295851e+00, 4.53582883e+00, 4.62024137e+00, 4.70622485e+00, 4.79380850e+00, 4.88302209e+00, 4.97389596e+00, 5.06646101e+00, 5.16074871e+00, 5.25679112e+00, 5.35462090e+00, 5.45427131e+00, 5.55577622e+00, 5.65917016e+00, 5.76448828e+00, 5.87176639e+00, 5.98104096e+00, 6.09234915e+00, 6.20572881e+00, 6.32121848e+00, 6.43885743e+00, 6.55868566e+00, 6.68074392e+00, 6.80507370e+00, 6.93171728e+00, 7.06071771e+00, 7.19211887e+00, 7.32596543e+00, 7.46230289e+00, 7.60117762e+00, 7.74263683e+00, 7.88672862e+00, 8.03350198e+00, 8.18300682e+00, 8.33529397e+00, 8.49041520e+00, 8.64842328e+00, 8.80937190e+00, 8.97331581e+00, 9.14031075e+00, 9.31041349e+00, 9.48368187e+00, 9.66017480e+00, 9.83995230e+00, 1.00230755e+01, 1.02096066e+01, 1.03996091e+01, 1.05931476e+01, 1.07902879e+01, 1.09910970e+01, 1.11956432e+01, 1.14039960e+01, 1.16162263e+01, 1.18324063e+01, 1.20526094e+01, 1.22769105e+01, 1.25053859e+01, 1.27381132e+01, 1.29751717e+01, 1.32166418e+01, 1.34626058e+01, 1.37131472e+01, 1.39683512e+01, 1.42283046e+01, 1.44930957e+01, 1.47628147e+01, 1.50375532e+01, 1.53174046e+01, 1.56024641e+01, 1.58928287e+01, 1.61885969e+01, 1.64898694e+01, 1.67967487e+01, 1.71093391e+01, 1.74277468e+01, 1.77520801e+01, 1.80824493e+01, 1.84189668e+01, 1.87617469e+01, 1.91109062e+01, 1.94665634e+01, 1.98288395e+01, 2.01978576e+01, 2.05737431e+01, 2.09566240e+01, 2.13466303e+01, 2.17438948e+01, 2.21485523e+01, 2.25607407e+01, 2.29805999e+01, 2.34082728e+01, 2.38439047e+01, 2.42876438e+01, 2.47396410e+01, 2.52000499e+01, 2.56690272e+01, 2.61467321e+01, 2.66333273e+01, 2.71289780e+01, 2.76338529e+01, 2.81481236e+01, 2.86719650e+01, 2.92055551e+01, 2.97490755e+01, 3.03027108e+01, 3.08666494e+01, 3.14410830e+01, 3.20262069e+01, 3.26222201e+01, 3.32293252e+01, 3.38477286e+01, 3.44776405e+01, 3.51192753e+01, 3.57728510e+01, 3.64385898e+01, 3.71167182e+01, 3.78074666e+01, 3.85110700e+01, 3.92277676e+01, 3.99578030e+01, 4.07014245e+01, 4.14588850e+01, 4.22304419e+01, 4.30163576e+01, 4.38168993e+01, 4.46323393e+01, 4.54629547e+01, 4.63090280e+01, 4.71708469e+01, 4.80487044e+01, 4.89428990e+01, 4.98537346e+01, 5.07815211e+01, 5.17265739e+01, 5.26892142e+01, 5.36697695e+01, 5.46685730e+01, 5.56859644e+01, 5.67222897e+01, 5.77779012e+01, 5.88531578e+01, 5.99484250e+01, 6.10640754e+01, 6.22004883e+01, 6.33580499e+01, 6.45371540e+01, 6.57382014e+01, 6.69616005e+01, 6.82077673e+01, 6.94771255e+01, 7.07701066e+01, 7.20871503e+01, 7.34287045e+01, 7.47952252e+01, 7.61871770e+01, 7.76050334e+01, 7.90492762e+01, 8.05203967e+01, 8.20188950e+01, 8.35452806e+01, 8.51000725e+01, 8.66837993e+01, 8.82969996e+01, 8.99402217e+01, 9.16140246e+01, 9.33189772e+01, 9.50556592e+01, 9.68246612e+01, 9.86265846e+01, 1.00462042e+02, 1.02331658e+02, 1.04236067e+02, 1.06175918e+02, 1.08151870e+02, 1.10164595e+02, 1.12214777e+02, 1.14303113e+02, 1.16430313e+02, 1.18597101e+02, 1.20804213e+02, 1.23052400e+02, 1.25342427e+02, 1.27675070e+02, 1.30051125e+02, 1.32471399e+02, 1.34936714e+02, 1.37447909e+02, 1.40005838e+02, 1.42611371e+02, 1.45265393e+02, 1.47968806e+02, 1.50722531e+02, 1.53527503e+02, 1.56384676e+02, 1.59295021e+02, 1.62259529e+02, 1.65279206e+02, 1.68355080e+02, 1.71488197e+02, 1.74679622e+02, 1.77930439e+02, 1.81241755e+02, 1.84614695e+02, 1.88050406e+02, 1.91550056e+02, 1.95114835e+02, 1.98745955e+02, 2.02444651e+02, 2.06212180e+02, 2.10049824e+02, 2.13958887e+02, 2.17940698e+02, 2.21996612e+02, 2.26128007e+02, 2.30336287e+02, 2.34622885e+02, 2.38989257e+02, 2.43436887e+02, 2.47967289e+02, 2.52582003e+02, 2.57282597e+02, 2.62070670e+02, 2.66947849e+02, 2.71915794e+02, 2.76976194e+02, 2.82130768e+02, 2.87381269e+02, 2.92729484e+02, 2.98177229e+02, 3.03726358e+02, 3.09378757e+02, 3.15136348e+02, 3.21001090e+02, 3.26974974e+02, 3.33060034e+02, 3.39258338e+02, 3.45571994e+02, 3.52003147e+02, 3.58553986e+02, 3.65226736e+02, 3.72023668e+02, 3.78947092e+02, 3.85999362e+02, 3.93182876e+02, 4.00500076e+02, 4.07953450e+02, 4.15545533e+02, 4.23278907e+02, 4.31156199e+02, 4.39180089e+02, 4.47353305e+02, 4.55678627e+02, 4.64158883e+02, 4.72796959e+02, 4.81595791e+02, 4.90558371e+02, 4.99687745e+02, 5.08987019e+02, 5.18459354e+02, 5.28107971e+02, 5.37936150e+02, 5.47947234e+02, 5.58144625e+02, 5.68531791e+02, 5.79112265e+02, 5.89889643e+02, 6.00867589e+02, 6.12049837e+02, 6.23440189e+02, 6.35042517e+02, 6.46860766e+02, 6.58898955e+02, 6.71161177e+02, 6.83651600e+02, 6.96374473e+02, 7.09334120e+02, 7.22534949e+02, 7.35981448e+02, 7.49678187e+02, 7.63629826e+02, 7.77841107e+02, 7.92316862e+02, 8.07062014e+02, 8.22081576e+02, 8.37380654e+02, 8.52964450e+02, 8.68838264e+02, 8.85007491e+02, 9.01477631e+02, 9.18254284e+02, 9.35343152e+02, 9.52750047e+02, 9.70480888e+02, 9.88541702e+02, 1.00693863e+03, 1.02567793e+03, 1.04476597e+03, 1.06420924e+03, 1.08401436e+03, 1.10418805e+03, 1.12473718e+03, 1.14566873e+03, 1.16698982e+03, 1.18870770e+03, 1.21082975e+03, 1.23336350e+03, 1.25631660e+03, 1.27969687e+03, 1.30351224e+03, 1.32777083e+03, 1.35248087e+03, 1.37765077e+03, 1.40328908e+03, 1.42940453e+03, 1.45600600e+03, 1.48310251e+03, 1.51070330e+03, 1.53881775e+03, 1.56745541e+03, 1.59662602e+03, 1.62633950e+03, 1.65660596e+03, 1.68743568e+03, 1.71883914e+03, 1.75082703e+03, 1.78341022e+03, 1.81659979e+03, 1.85040702e+03, 1.88484341e+03, 1.91992067e+03, 1.95565072e+03, 1.99204571e+03, 2.02911802e+03, 2.06688025e+03, 2.10534524e+03, 2.14452608e+03, 2.18443607e+03, 2.22508880e+03, 2.26649808e+03, 2.30867799e+03, 2.35164288e+03, 2.39540736e+03, 2.43998630e+03, 2.48539486e+03, 2.53164848e+03, 2.57876289e+03, 2.62675410e+03, 2.67563844e+03, 2.72543253e+03, 2.77615329e+03, 2.82781798e+03, 2.88044415e+03, 2.93404971e+03, 2.98865287e+03, 3.04427221e+03, 3.10092664e+03, 3.15863541e+03, 3.21741815e+03, 3.27729485e+03, 3.33828586e+03, 3.40041193e+03, 3.46369418e+03, 3.52815412e+03, 3.59381366e+03, 3.66069515e+03, 3.72882131e+03, 3.79821531e+03, 3.86890074e+03, 3.94090164e+03, 4.01424249e+03, 4.08894823e+03, 4.16504425e+03, 4.24255643e+03, 4.32151113e+03, 4.40193519e+03, 4.48385595e+03, 4.56730127e+03, 4.65229952e+03, 4.73887961e+03, 4.82707097e+03, 4.91690358e+03, 5.00840799e+03, 5.10161531e+03, 5.19655724e+03, 5.29326606e+03, 5.39177464e+03, 5.49211648e+03, 5.59432571e+03, 5.69843706e+03, 5.80448594e+03, 5.91250841e+03, 6.02254120e+03, 6.13462172e+03, 6.24878807e+03, 6.36507908e+03, 6.48353429e+03, 6.60419396e+03, 6.72709914e+03, 6.85229160e+03, 6.97981391e+03, 7.10970943e+03, 7.24202233e+03, 7.37679760e+03, 7.51408106e+03, 7.65391939e+03, 7.79636013e+03, 7.94145172e+03, 8.08924349e+03, 8.23978568e+03, 8.39312950e+03, 8.54932707e+03, 8.70843150e+03, 8.87049689e+03, 9.03557835e+03, 9.20373200e+03, 9.37501502e+03, 9.54948564e+03, 9.72720319e+03, 9.90822810e+03, 1.00926219e+04, 1.02804473e+04, 1.04717682e+04, 1.06666496e+04, 1.08651577e+04, 1.10673602e+04, 1.12733256e+04, 1.14831241e+04, 1.16968270e+04, 1.19145070e+04, 1.21362380e+04, 1.23620954e+04, 1.25921561e+04, 1.28264983e+04, 1.30652016e+04, 1.33083472e+04, 1.35560179e+04, 1.38082977e+04, 1.40652724e+04, 1.43270295e+04, 1.45936580e+04, 1.48652484e+04, 1.51418933e+04, 1.54236865e+04, 1.57107239e+04, 1.60031031e+04, 1.63009236e+04, 1.66042866e+04, 1.69132952e+04, 1.72280545e+04, 1.75486715e+04, 1.78752553e+04, 1.82079168e+04, 1.85467692e+04, 1.88919278e+04, 1.92435098e+04, 1.96016347e+04, 1.99664245e+04, 2.03380031e+04, 2.07164968e+04, 2.11020343e+04, 2.14947467e+04, 2.18947676e+04, 2.23022330e+04, 2.27172813e+04, 2.31400538e+04, 2.35706941e+04, 2.40093488e+04, 2.44561668e+04, 2.49113003e+04, 2.53749038e+04, 2.58471351e+04, 2.63281547e+04, 2.68181261e+04, 2.73172160e+04, 2.78255940e+04, 2.83434331e+04, 2.88709092e+04, 2.94082017e+04, 2.99554933e+04, 3.05129702e+04, 3.10808217e+04, 3.16592411e+04, 3.22484250e+04, 3.28485737e+04, 3.34598912e+04, 3.40825855e+04, 3.47168682e+04, 3.53629550e+04, 3.60210656e+04, 3.66914238e+04, 3.73742574e+04, 3.80697987e+04, 3.87782841e+04, 3.94999546e+04, 4.02350555e+04, 4.09838367e+04, 4.17465529e+04, 4.25234633e+04, 4.33148322e+04, 4.41209286e+04, 4.49420266e+04, 4.57784054e+04, 4.66303493e+04, 4.74981480e+04, 4.83820966e+04, 4.92824957e+04, 5.01996513e+04, 5.11338754e+04, 5.20854855e+04, 5.30548053e+04, 5.40421642e+04, 5.50478981e+04, 5.60723488e+04, 5.71158648e+04, 5.81788007e+04, 5.92615181e+04, 6.03643851e+04, 6.14877765e+04, 6.26320745e+04, 6.37976681e+04, 6.49849535e+04, 6.61943346e+04, 6.74262224e+04, 6.86810359e+04, 6.99592017e+04, 7.12611543e+04, 7.25873365e+04, 7.39381992e+04, 7.53142017e+04, 7.67158118e+04, 7.81435061e+04, 7.95977700e+04, 8.10790981e+04, 8.25879939e+04, 8.41249705e+04, 8.56905505e+04, 8.72852662e+04, 8.89096599e+04, 9.05642838e+04, 9.22497005e+04, 9.39664831e+04, 9.57152154e+04, 9.74964918e+04, 9.93109181e+04, 1.01159111e+05, 1.03041699e+05, 1.04959323e+05, 1.06912634e+05, 1.08902296e+05, 1.10928986e+05, 1.12993394e+05, 1.15096220e+05, 1.17238180e+05, 1.19420003e+05, 1.21642429e+05, 1.23906216e+05, 1.26212131e+05, 1.28560961e+05, 1.30953502e+05, 1.33390569e+05, 1.35872990e+05, 1.38401610e+05, 1.40977287e+05, 1.43600898e+05, 1.46273336e+05, 1.48995507e+05, 1.51768339e+05, 1.54592774e+05, 1.57469771e+05, 1.60400311e+05, 1.63385388e+05, 1.66426018e+05, 1.69523234e+05, 1.72678090e+05, 1.75891659e+05, 1.79165033e+05, 1.82499324e+05, 1.85895668e+05, 1.89355218e+05, 1.92879151e+05, 1.96468665e+05, 2.00124980e+05, 2.03849340e+05, 2.07643011e+05, 2.11507282e+05, 2.15443469e+05, 2.19452909e+05, 2.23536965e+05, 2.27697026e+05, 2.31934506e+05, 2.36250847e+05, 2.40647515e+05, 2.45126006e+05, 2.49687843e+05, 2.54334576e+05, 2.59067786e+05, 2.63889081e+05, 2.68800102e+05, 2.73802518e+05, 2.78898029e+05, 2.84088369e+05, 2.89375302e+05, 2.94760626e+05, 3.00246171e+05, 3.05833803e+05, 3.11525422e+05, 3.17322963e+05, 3.23228398e+05, 3.29243733e+05, 3.35371015e+05, 3.41612327e+05, 3.47969790e+05, 3.54445567e+05, 3.61041860e+05, 3.67760910e+05, 3.74605003e+05, 3.81576466e+05, 3.88677669e+05, 3.95911027e+05, 4.03278998e+05, 4.10784089e+05, 4.18428851e+05, 4.26215883e+05, 4.34147833e+05, 4.42227398e+05, 4.50457325e+05, 4.58840413e+05, 4.67379511e+05, 4.76077523e+05, 4.84937407e+05, 4.93962174e+05, 5.03154895e+05, 5.12518693e+05, 5.22056753e+05, 5.31772318e+05, 5.41668691e+05, 5.51749238e+05, 5.62017385e+05, 5.72476624e+05, 5.83130511e+05, 5.93982669e+05, 6.05036788e+05, 6.16296626e+05, 6.27766011e+05, 6.39448843e+05, 6.51349095e+05, 6.63470812e+05, 6.75818117e+05, 6.88395207e+05, 7.01206359e+05, 7.14255929e+05, 7.27548353e+05, 7.41088152e+05, 7.54879928e+05, 7.68928372e+05, 7.83238260e+05, 7.97814457e+05, 8.12661920e+05, 8.27785697e+05, 8.43190929e+05, 8.58882856e+05, 8.74866812e+05, 8.91148232e+05, 9.07732653e+05, 9.24625712e+05, 9.41833153e+05, 9.59360829e+05, 9.77214697e+05, 9.95400829e+05, 1.01392541e+06, 1.03279473e+06, 1.05201522e+06, 1.07159340e+06, 1.09153594e+06, 1.11184960e+06, 1.13254132e+06, 1.15361810e+06, 1.17508713e+06, 1.19695570e+06, 1.21923125e+06, 1.24192135e+06, 1.26503372e+06, 1.28857621e+06, 1.31255684e+06, 1.33698374e+06, 1.36186524e+06, 1.38720978e+06, 1.41302599e+06, 1.43932264e+06, 1.46610868e+06, 1.49339322e+06, 1.52118552e+06, 1.54949504e+06, 1.57833141e+06, 1.60770442e+06, 1.63762407e+06, 1.66810054e+06, 1.69914417e+06, 1.73076553e+06, 1.76297538e+06, 1.79578465e+06, 1.82920450e+06, 1.86324631e+06, 1.89792164e+06, 1.93324229e+06, 1.96922026e+06, 2.00586778e+06, 2.04319732e+06, 2.08122157e+06, 2.11995346e+06, 2.15940615e+06, 2.19959307e+06, 2.24052787e+06, 2.28222447e+06, 2.32469706e+06, 2.36796007e+06, 2.41202821e+06, 2.45691646e+06, 2.50264010e+06, 2.54921465e+06, 2.59665597e+06, 2.64498018e+06, 2.69420371e+06, 2.74434330e+06, 2.79541600e+06, 2.84743917e+06, 2.90043049e+06, 2.95440800e+06, 3.00939003e+06, 3.06539530e+06, 3.12244282e+06, 3.18055202e+06, 3.23974263e+06, 3.30003479e+06, 3.36144900e+06, 3.42400614e+06, 3.48772747e+06, 3.55263468e+06, 3.61874981e+06, 3.68609536e+06, 3.75469422e+06, 3.82456972e+06, 3.89574562e+06, 3.96824610e+06, 4.04209584e+06, 4.11731993e+06, 4.19394396e+06, 4.27199397e+06, 4.35149650e+06, 4.43247859e+06, 4.51496777e+06, 4.59899209e+06, 4.68458012e+06, 4.77176095e+06, 4.86056423e+06, 4.95102016e+06, 5.04315949e+06, 5.13701354e+06, 5.23261424e+06, 5.32999408e+06, 5.42918618e+06, 5.53022426e+06, 5.63314267e+06, 5.73797641e+06, 5.84476113e+06, 5.95353313e+06, 6.06432940e+06, 6.17718760e+06, 6.29214611e+06, 6.40924402e+06, 6.52852114e+06, 6.65001803e+06, 6.77377600e+06, 6.89983712e+06, 7.02824426e+06, 7.15904109e+06, 7.29227206e+06, 7.42798248e+06, 7.56621850e+06, 7.70702711e+06, 7.85045620e+06, 7.99655453e+06, 8.14537177e+06, 8.29695852e+06, 8.45136633e+06, 8.60864770e+06, 8.76885609e+06, 8.93204600e+06, 9.09827289e+06, 9.26759330e+06, 9.44006479e+06, 9.61574600e+06, 9.79469667e+06, 9.97697764e+06, 1.01626509e+07, 1.03517796e+07, 1.05444279e+07, 1.07406615e+07, 1.09405471e+07, 1.11441525e+07, 1.13515471e+07, 1.15628013e+07, 1.17779870e+07, 1.19971774e+07, 1.22204469e+07, 1.24478715e+07, 1.26795285e+07, 1.29154967e+07, 1.31558562e+07, 1.34006890e+07, 1.36500781e+07, 1.39041083e+07, 1.41628662e+07, 1.44264395e+07, 1.46949180e+07, 1.49683929e+07, 1.52469573e+07, 1.55307057e+07, 1.58197348e+07, 1.61141428e+07, 1.64140297e+07, 1.67194976e+07, 1.70306503e+07, 1.73475936e+07, 1.76704353e+07, 1.79992851e+07, 1.83342548e+07, 1.86754584e+07, 1.90230119e+07, 1.93770334e+07, 1.97376433e+07, 2.01049642e+07, 2.04791210e+07, 2.08602409e+07, 2.12484535e+07, 2.16438909e+07, 2.20466874e+07, 2.24569800e+07, 2.28749082e+07, 2.33006141e+07, 2.37342425e+07, 2.41759408e+07, 2.46258592e+07, 2.50841506e+07, 2.55509709e+07, 2.60264788e+07, 2.65108360e+07, 2.70042072e+07, 2.75067601e+07, 2.80186656e+07, 2.85400977e+07, 2.90712338e+07, 2.96122544e+07, 3.01633435e+07, 3.07246884e+07, 3.12964801e+07, 3.18789129e+07, 3.24721849e+07, 3.30764978e+07, 3.36920571e+07, 3.43190720e+07, 3.49577557e+07, 3.56083255e+07, 3.62710025e+07, 3.69460121e+07, 3.76335836e+07, 3.83339510e+07, 3.90473524e+07, 3.97740302e+07, 4.05142317e+07, 4.12682085e+07, 4.20362168e+07, 4.28185180e+07, 4.36153779e+07, 4.44270675e+07, 4.52538628e+07, 4.60960449e+07, 4.69539001e+07, 4.78277202e+07, 4.87178022e+07, 4.96244488e+07, 5.05479682e+07, 5.14886745e+07, 5.24468875e+07, 5.34229330e+07, 5.44171429e+07, 5.54298552e+07, 5.64614142e+07, 5.75121707e+07, 5.85824820e+07, 5.96727120e+07, 6.07832313e+07, 6.19144176e+07, 6.30666554e+07, 6.42403366e+07, 6.54358602e+07, 6.66536327e+07, 6.78940681e+07, 6.91575883e+07, 7.04446228e+07, 7.17556092e+07, 7.30909933e+07, 7.44512291e+07, 7.58367791e+07, 7.72481145e+07, 7.86857151e+07, 8.01500696e+07, 8.16416760e+07, 8.31610415e+07, 8.47086827e+07, 8.62851257e+07, 8.78909065e+07, 8.95265713e+07, 9.11926760e+07, 9.28897872e+07, 9.46184819e+07, 9.63793480e+07, 9.81729841e+07, 1.00000000e+08]))

png

上図は閉ループ伝達関数のボード線図である。 上図では約 1k rad/sec で振幅が減少しており、ローパスフィルタのような特性となっている。

過渡解析

python-control.matlabは過渡解析もサポートしている。 過渡解析の入力信号生成のためにscipy.signalを使用する。 また過渡解析結果を描画するために、matplotlib.pyplotを使用する。

import matplotlib.pyplot as plt
from scipy import signal

matlab.impulse(matlab.tf)とすることで、伝達関数のインパルス応答が得られる。

yout, time = matlab.impulse(G_close_ml)

fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(time, yout)

[<matplotlib.lines.Line2D at 0x232cb752f90>]

png

後半部分はmatplotlib.pyplotの描画処理である。

matlab.step(matlab.tf)とすることで、伝達関数のステップ応答が得られる。

yout, time = matlab.step(G_close_ml)

fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(time, yout)

[<matplotlib.lines.Line2D at 0x232cb66abd0>]

png

matlab.lsim(matlab.tf, U, T)とすることで、入力信号Uに対する時間Tの間の伝達関数の過渡応答が得られる。 前半部分はscipy.signalを用いて入力信号を作成している。 後半部分は入力信号と出力信号の波形を描画している。

time = np.linspace(0, 0.05, int(5e5), endpoint=False)
f_mod, f_pwm = 1.6e2, 1e4
modulation = np.sin(2 * np.pi * f_mod * time)
u_pwm = signal.square(2 * np.pi * f_pwm * time, duty=(modulation + 1)/2)

yout, Time, x = matlab.lsim(G_close_ml, U=u_pwm, T=time)

fig = plt.figure()
ax1 = fig.add_subplot(211)
ax1.plot(time, u_pwm)

ax2 = fig.add_subplot(212)
ax2.plot(time, yout)

***.py:940: UserWarning: return_x specified for a transfer function system. Internal conversion to state space used; results may meaningless. warnings.warn(

[<matplotlib.lines.Line2D at 0x232cdaaa250>]

png

下記は時間0.04~0.05を拡大した波形である。

fig = plt.figure()
ax1 = fig.add_subplot(211)
ax1.plot(time, u_pwm)
ax1.set_xlim(0.04, 0.05)

ax2 = fig.add_subplot(212)
ax2.plot(time, yout)
ax2.set_xlim(0.04, 0.05)

(0.04, 0.05)

png

直流モータの司令値は 10k rad/sec で変化する、基本波 160 rad/sec のPWM信号としている。 上図は、直流モータの司令値に極めて変化が速いPWM信号を入力しても、出力速度は入力信号よりも遅い基本波成分のみ出力されることを示している。 これは閉ループ伝達関数 G_{close}がローパスフィルタのような特性のためである。

おわりに

Sympy と Python-control の双方を組み合わせて、直流モータの速度制御システムの解析をすることができた。数式の変形から、得られた数式に代入して、数値解析できるので、計算が少し楽になった。