freealg.FreeForm.hilbert#

FreeForm.hilbert(x=None, rho=None, plot=False, latex=False, save=False)#

Compute Hilbert transform of the spectral density.

Parameters:
xnumpy.array, default=None

The locations where Hilbert transform is evaluated at. If None, an interval slightly larger than the support interval of the spectral density is used.

rhonumpy.array, default=None

Density. If None, it will be computed.

plotbool, default=False

If True, density is plotted.

latexbool, default=False

If True, the plot is rendered using LaTeX. This option is relevant only if plot=True.

savebool, default=False

If not False, the plot is saved. If a string is given, it is assumed to the save filename (with the file extension). This option is relevant only if plot=True.

Returns:
hilbnumpy.array

The Hilbert transform on the locations x.

See also

density
stieltjes

Examples

>>> from freealg import FreeForm