19 lines
323 B
Python
19 lines
323 B
Python
import matplotlib.pyplot as plt
|
|
import numpy as np
|
|
|
|
from lib.graphs import cr_n
|
|
from lib.lib import read_load
|
|
|
|
alpha = read_load("../data/alpha")
|
|
|
|
p, pcov = cr_n(
|
|
alpha,
|
|
ignore_prefix=50
|
|
)
|
|
|
|
print(f"{p} {np.diag(np.sqrt(pcov))}")
|
|
|
|
plt.savefig('../figures/rmax-n.svg')
|
|
plt.savefig('../figures/rmax-n.png')
|
|
plt.show()
|