48a1b8b3cafc4318de3b9ad517958756696126c3,brainiak/utils/fmrisim.py,,_noise_dict_update,#Any#,2025

Before Change


        noise_dict["drift_sigma"] = 0.45
    if "auto_reg_sigma" not in noise_dict:
        noise_dict["auto_reg_sigma"] = 0.45
    if "physiological_sigma" not in noise_dict:
        noise_dict["physiological_sigma"] = 0.1
    if "sfnr" not in noise_dict:
        noise_dict["sfnr"] = 30
    if "snr" not in noise_dict:
        noise_dict["snr"] = 30

After Change



    
    // Create the default dictionary
    default_dict = {"task_sigma": 0, "drift_sigma": 0, "auto_reg_sigma": 1,
                    "auto_reg_rho": [0.5], "ma_rho": [0.0],
                    "physiological_sigma": 0, "sfnr": 90, "snr": 50,
                    "max_activity": 1000, "voxel_size": [1.0, 1.0, 1.0],
                    "fwhm": 4, "matched": 1}

    // Check what noise is in the dictionary and add if necessary. Numbers
    // determine relative proportion of noise
    for default_key in default_dict:
        if default_key not in noise_dict:
            noise_dict[default_key] = default_dict[default_key]

    return noise_dict


def _fit_spatial(noise,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: brainiak/brainiak
Commit Name: 48a1b8b3cafc4318de3b9ad517958756696126c3
Time: 2018-09-02
Author: cameron.ellis@yale.edu
File Name: brainiak/utils/fmrisim.py
Class Name:
Method Name: _noise_dict_update


Project Name: brainiak/brainiak
Commit Name: 48a1b8b3cafc4318de3b9ad517958756696126c3
Time: 2018-09-02
Author: cameron.ellis@yale.edu
File Name: brainiak/utils/fmrisim.py
Class Name:
Method Name: _noise_dict_update


Project Name: snorkel-team/snorkel
Commit Name: 21678f424e8a7b0734e2dcc31d0a2ee2e10af097
Time: 2016-09-04
Author: ajratner@gmail.com
File Name: snorkel/annotations.py
Class Name: AnnotationManager
Method Name: load


Project Name: polyaxon/polyaxon
Commit Name: 8545c5acdc5577286bbd2f8531c90b439a5d52c9
Time: 2017-10-04
Author: mouradmourafiq@gmail.com
File Name: polyaxon_schemas/polyaxonfile/validator.py
Class Name:
Method Name: validate