Made fig_invariance_rect_lp.pdf and corresponding appendix figure.

Adjusted fig_invariance_log_hp.pdf with 2nd yaxis in dB.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
j-hartling
2026-04-27 18:18:34 +02:00
parent 5411a309f7
commit 7e1aa8721a
26 changed files with 994 additions and 195 deletions

View File

@@ -7,16 +7,17 @@ from IPython import embed
# GENERAL SETTINGS:
example_file = 'Omocestus_rufipes_DJN_32-40s724ms-48s779ms'
data_paths = search_files('*', excl='noise', dir='../data/processed/')
search_target = ['*', example_file][0]
data_paths = search_files(search_target, excl='noise', dir='../data/processed/')
noise_path = '../data/processed/white_noise_sd-1.npz'
save_path = '../data/inv/rect_lp/'
# ANALYSIS SETTINGS:
mode = ['pure', 'noise'][1]
example_scales = np.array([0.1, 1, 10, 30, 100, 300])
scales = np.geomspace(0.01, 10000, 1000)
example_scales = np.array([0.1, 0.3, 1, 3, 10])
scales = np.geomspace(0.01, 100, 1000)
scales = np.unique(np.concatenate(([0], scales, example_scales)))
cutoffs = np.array([np.nan, 125, 250, 500])
cutoffs = np.array([np.nan, 2500, 250, 25])
# PREPARATION:
if mode == 'noise':