+ if False:
+ ## Plot maintenance time per each group
+ # assess what would be our range
+ pmts, _ = db.get_not_none('pers_maint_time')
+ max_rating = int(np.mean(pmts) + np.std(pmts))
+ for pos in db.get_unique('bg_position'):
+ print pos
+ mkpic_rating_by_os_hor_joined(db.select_match('bg_position', pos),
+ 'pers_os', ['pers_maint_time'], destdir,
+ "Personal environment", "", suffix='_maint_time_%s' % pos,
+ max_rating=max_rating)
+
+ ## db2 = db
+ # custom selection for people dealing more with hardware
+ # any electrophys
+ ## db = db2.select_match('bg_datamod', (('ephys'),))
+ # or only selected ones (so no fmri/pet etc)
+ ## db = db2.select_match_exactly('bg_datamod', (('ephys'), ('behav'),))
+ ## db.update(db2.select_match_exactly('bg_datamod', (('ephys'),)))
+ ## db.update(db2.select_match_exactly('bg_datamod', (('ephys'), ('genetic'),)))
+ ## db.update(db2.select_match_exactly('bg_datamod', (('ephys'), ('simulation'),)))
+ ## db.update(db2.select_match_exactly('bg_datamod', (('ephys'), ('meeg'),)))
+