Added frequency spectrum calculation and persisted on a per-sampling event basis (across culture ids) to the database.