- qspec.doppler_e_d1 ( f , alpha , e , m , v0 = 0 , return_frame = 'atom' , relativistic = True )[source]
The first derivative $\frac{\partial f^\prime}{\partial E} = \frac{\partial f^\prime}{\partial v}\frac{\partial v}{\partial E}$. Implemented as
doppler_d1(f, v, alpha, return_frame) * v_e_d1(e, m, v0, relativistic).- Parameters:
-
- farray_like
The frequency $f$ of light (arb. units).
- alphaarray_like
The angle $\alpha$ between the velocity- and the light-vector in the laboratory frame (rad).
- earray_like
The energy $E$ added to the kinetic energy of a body with velocity
v0(eV).- marray_like
The mass $m$ of the body (u).
- v0array_like
The initial velocity $v_0$ of the body (m/s).
- return_framestr
The coordinate system for which the frequency is returned. Can be either
'atom'or'lab'.- relativisticbool
The calculation is performed either relativistically (
True) or classically (False). The default isTrue.
- Returns:
-
- df_dEndarray
The first derivative $\partial f^\prime / \partial E$ of the Doppler-shifted frequency $f^\prime$ with respect to
ein either the rest frame of the atom or the laboratory frame ([f] / eV).
- Raises:
-
- ValueError
return_framemust be either'atom'or'lab'.