- qspec.analyze. King.get_unmodified ( a , a_ref , x , axis = 0 , show = False , ** kwargs )[source]
Calculate unknown isotope shifts/charge radii by using the King plot results.
- Parameters:
-
- andarray | Iterable
An Iterable of mass numbers $A$, corresponding to the isotopes of the given
xvalues.- a_refndarray | Iterable
An Iterable of mass numbers $A_\mathrm{ref}$, corresponding to reference isotopes of the given
xvalues.- xndarray | Iterable
The unmodified input values for the given mass numbers
aanda_ref. These could be the unmodified isotope shifts $\delta\nu_x^{A,A_\mathrm{ref}}$. Must have shape(len(a), 2).- axisint
The vector component corresponding to the given input values. For example, in a $2$-dimensional fit with components
['D1', 'D2'], setaxis=0to use the isotope shifts of the D1-line to calculate those of the D2-line.- showbool
Whether to draw the calculated values in the King plot.
- kwargsNone
Additional keyword arguments are passed to
King.plot.
- Returns:
-
- (y, cov, cov_stat)(ndarray, ndarray, ndarray)
The unmodified $y$ values calculated with the fit results and the given
xvalues.yhas shape(k, n)and includes the givenxvalues, wherekis the number of data points/isotopes andnis the dimension of te King plot. Also returns the total and the statistical covariance matrix of the results.