# Example A_0 - I_D curve: A_0 flat below I_D = 1 uA, then A_0 proportional to 1/sqrt(I_D) (slope -1/2 on log-log axes)
import numpy as np
ID = np.logspace(-7, -2, 51)
A0 = np.minimum(630, 0.63/np.sqrt(ID))
np.savetxt("a0id.dat", np.column_stack([ID, A0]), header="ID A0", comments="", fmt="%.6g")
