gdesk.panels.imgview.spectrogram module

gdesk.panels.imgview.spectrogram.spectr_hori(arr, plot=True)

Calculates the fullnoise, whitenoise and whiteness. and plot a horizontal spectrogram.

Parameters

arr (np.ndarray) – A 2 dimensional array

Returns

fullnoise, whitenoise, whiteness

Return type

tuple(float, float, float)

gdesk.panels.imgview.spectrogram.spectr_vert(arr, plot=True)

Calculates the fullnoise, whitenoise and whiteness. and plot a vertical spectrogram.

Parameters

arr (np.ndarray) – A 2 dimensional array

Returns

fullnoise, whitenoise, whiteness

Return type

tuple(float, float, float)

gdesk.panels.imgview.spectrogram.spectrogram(arr, vertical=False, plot=True)

Calculates the fullnoise, whitenoise and whiteness. and plot a spectrogram.

https://www.emva.org/wp-content/uploads/EMVA1288-3.1a.pdf

Parameters
  • arr (np.ndarray) – A 2 dimensional array

  • vertical (bool) – Calculate in vertical direction

  • plot (bool) – Plot and print

Returns

fullnoise, whitenoise, whiteness

Return type

tuple(float, float, float)