Added multi-thresh simulation to "full" and "short" (currently running).
Added complete "rect-lp" analysis except figure. Added multiple appendix figs. Overhauled normalization options across all condense scripts. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -9,6 +9,7 @@ from misc_functions import shorten_species
|
||||
from IPython import embed
|
||||
|
||||
# GENERAL SETTINGS:
|
||||
mode = ['pure', 'noise'][1]
|
||||
target_species = [
|
||||
'Chorthippus_biguttulus',
|
||||
'Chorthippus_mollis',
|
||||
@@ -19,7 +20,7 @@ target_species = [
|
||||
'Pseudochorthippus_parallelus',
|
||||
]
|
||||
data_path = '../data/inv/thresh_lp/condensed/'
|
||||
save_path = '../figures/fig_invariance_thresh-lp_appendix.pdf'
|
||||
save_path = f'../figures/fig_invariance_thresh-lp_{mode}_appendix.pdf'
|
||||
|
||||
# ANALYSIS SETTINGS:
|
||||
exclude_zero = True
|
||||
@@ -145,7 +146,7 @@ for i, (species, spec_axes) in enumerate(zip(target_species, axes.T)):
|
||||
title_subplot(spec_axes[0], shorten_species(species), ref=fig, **title_kwargs)
|
||||
|
||||
# Load species data:
|
||||
path = search_files(species, dir=data_path)[0]
|
||||
path = search_files(species, incl=[mode, 'unnormed'], dir=data_path)[0]
|
||||
data, config = load_data(path, files=['scales', 'mean_feat', 'sd_feat', 'thresh_rel'])
|
||||
scales = data['scales']
|
||||
means = data['mean_feat']
|
||||
|
||||
Reference in New Issue
Block a user