DynamicPolarizability.plotPolarizability(wavelengthList, mj=None, addToPlotAxis=None, line='b-', units='SI', addCorePolarisability=True, addPondermotivePolarisability=False, accountForStateLifetime=False, debugOutput=False)[source]#

Plots of polarisability for a range of wavelengths.

Can be combined for different states to allow finding magic wavelengths for pairs of states. Currently supports only driving with linearly polarised light. See example magic wavelength snippet.

  • wavelengthList (array) – wavelengths for which we want to calculate polarisability (in units of m).

  • mj (float) – optional, mj projection of the total angular momenutum for the states for which we are calculating polarisability. By default it’s +j.

  • line (string) – optional, line style short definition to be passed to matplotlib when plotting calculated polarisabilities

  • units (string) – optional, ‘SI’ or ‘a.u.’ (equivalently ‘au’), switches between SI units for returned result (\(Hz V^-2 m^2\) ) and atomic units (”\(a_0^3\) “). Deafault ‘SI’.

  • addCorePolarisability (bool) – optional, should ionic core polarisability be taken into account. By default True.

  • addPondermotivePolarisability (bool) – optional, should pondermotive polarisability (also called free-electron polarisability) be added to the total polarisability. Default is False. It assumes that there is no significant variation of trapping field intensity over the range of the electric cloud. If this condition is not satisfied, one has to calculate total shift as average over the electron wavefunction.

  • accountForStateLifetime (bool) – optional, should we account for finite transition linewidths caused by finite state lifetimes. By default False.

  • debugOutput (bool) – optonal. Print additional output on resonances Default value False.