make spec_freq_average take new filter format (w meta)
make spec_freq_average output metas as rows
make format_scat accept empty layers