def get_contrast_lookup():
    contrasts = dict()
    for task in CognitiveAtlasTask.objects.all():
        task_contrasts = CognitiveAtlasContrast.objects.filter(task=task)
        contrasts[task.pk] = [{"name":contrast.name,"value":contrast.pk} for contrast in task_contrasts]
    return contrasts
Part of is signal = classified as signal / total amount of events
dataset/ETHPy150Open NeuroVault/NeuroVault/neurovault/apps/statmaps/views.py/get_contrast_lookup--crossover with--dataset/ETHPy150Open anaderi/lhcb_trigger_ml/hep_ml/metrics.py/as_signal_score