Added loads of units in nearly all graphs.
Overhauled fig_invariance_full.pdf. Added some legends, somewhere.
This commit is contained in:
@@ -5,13 +5,13 @@ from IPython import embed
|
||||
|
||||
# GENERAL SETTINGS:
|
||||
target_species = [
|
||||
'Chorthippus_biguttulus',
|
||||
'Chorthippus_mollis',
|
||||
'Chrysochraon_dispar',
|
||||
'Euchorthippus_declivus',
|
||||
'Gomphocerippus_rufus',
|
||||
# 'Chorthippus_biguttulus',
|
||||
# 'Chorthippus_mollis',
|
||||
# 'Chrysochraon_dispar',
|
||||
# 'Euchorthippus_declivus',
|
||||
# 'Gomphocerippus_rufus',
|
||||
'Omocestus_rufipes',
|
||||
'Pseudochorthippus_parallelus',
|
||||
# 'Pseudochorthippus_parallelus',
|
||||
]
|
||||
stages = ['filt', 'env', 'log', 'inv', 'conv', 'feat']
|
||||
search_path = '../data/inv/full/'
|
||||
@@ -30,11 +30,15 @@ for i, species in enumerate(target_species):
|
||||
for j, path in enumerate(all_paths):
|
||||
|
||||
# Load invariance data:
|
||||
data, config = load_data(path, 'scales', 'measure')
|
||||
data, config = load_data(path, 'scales', ['measure', 'thresh'])
|
||||
|
||||
if j == 0:
|
||||
# Prepare species-specific storage:
|
||||
species_data = dict(scales=data['scales'])
|
||||
species_data = dict(
|
||||
scales=data['scales'],
|
||||
thresh_rel=data['thresh_rel'],
|
||||
thresh_abs=data['thresh_abs']
|
||||
)
|
||||
for stage in stages:
|
||||
mkey = f'measure_{stage}'
|
||||
shape = data[mkey].shape + (len(all_paths),)
|
||||
|
||||
Reference in New Issue
Block a user