Overhauled Thresh-LP analysis and figures (WIP).

This commit is contained in:
j-hartling
2026-03-10 17:48:10 +01:00
parent 0407053c20
commit 4494bc7783
12 changed files with 952 additions and 107 deletions

View File

@@ -7,11 +7,10 @@ from IPython import embed
## SETTINGS:
# General:
overwrite = True
input_folder = '../data/raw/'
output_folder = '../data/processed/'
stages = ['raw', 'filt', 'env', 'log', 'inv', 'conv', 'bi', 'feat', 'norm']
if True:
if False:
# Overwrites edited:
stages.append('songs')
@@ -51,8 +50,7 @@ for path, name in zip(input_paths, path_names):
# Fetch and store representations:
save = None if output_folder is None else output_folder + f'{name}.npz'
process_signal(config, stages, path, save=save,
label_edit=gui, overwrite=overwrite)
process_signal(config, stages, path, save=save, label_edit=gui)
# Cross-control:
if reload_saved: