a5734482304bc2b09b263d25525f405b51802952,plasma/conf_parser.py,,parameters,#Any#,5

Before Change



    //density signals [m^-2]
    /ǚ vertical channels and 4 horizontal channels
    signals_dirs += [["jpf/df/g1r-lid:{:03d}".format(i) for i in range(2,9)]]

    //signal masks
    signals_masks = [[True]*len(sig_list) for sig_list in signals_dirs]
    signals_masks[4] = [True]

After Change


def parameters(input_file):
    Parse yaml file of configuration parameters.

    signals_dirs = yaml.load(open(input_file, "r"))["paths"]["signals_dirs"]

    //signal masks
    signals_masks = [[True]*len(sig_list) for sig_list in signals_dirs]
    signals_masks[4] = [True]
    signals_masks[7] = [False]*len(signals_dirs[7])
    signals_masks[7][1] = True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: PPPLDeepLearning/plasma-python
Commit Name: a5734482304bc2b09b263d25525f405b51802952
Time: 2017-01-14
Author: asvyatkovskiy@gmail.com
File Name: plasma/conf_parser.py
Class Name:
Method Name: parameters


Project Name: deepfakes/faceswap
Commit Name: 2bcb7d572ac8fdacceb56d5cbd5b05fad8c71e5e
Time: 2021-03-23
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/sort/sort.py
Class Name: Sort
Method Name: sort_blur


Project Name: richzhang/colorization-pytorch
Commit Name: 81942b345eb432b44ff3e4cda05fe71ce8ac7fde
Time: 2018-08-25
Author: rzhang88@gmail.com
File Name: test_sweep.py
Class Name:
Method Name: