AlejandroSantorum / scikit-rmt

Random Matrix Theory library - RMT analysis and simulation in Python
BSD 3-Clause "New" or "Revised" License
37 stars 7 forks source link

Feature: plot eigval hist separately #17

Closed AlejandroSantorum closed 1 year ago

AlejandroSantorum commented 1 year ago

Implement a new function in skrmt.ensemble.utils that plots the spectral histogram of a random matrix ensemble alongside the PDF of the corresponding spectral law. This is useful to compare independent drawn samples from the spectral distributions vs. computing the eigenvalues (not independent) of samples of random matrices.

The new function is called plot_spectral_hist_and_law.

In addition, the methods plotting histograms in the ensemble classes have been slightly refactored.