hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
b06eb8dcef06404229f0cd33ba28d47e81cd2b04
556
py
Python
App/views.py
Radioactive92177/The-Quest
edd1596b379a8cb495acc36e8aa314783b551649
[ "MIT" ]
null
null
null
App/views.py
Radioactive92177/The-Quest
edd1596b379a8cb495acc36e8aa314783b551649
[ "MIT" ]
null
null
null
App/views.py
Radioactive92177/The-Quest
edd1596b379a8cb495acc36e8aa314783b551649
[ "MIT" ]
1
2020-05-31T09:44:32.000Z
2020-05-31T09:44:32.000Z
from App import app from flask import render_template, url_for @app.route('/') @app.route('/home') def home(): return render_template('index.html') @app.route('/about') def about(): return render_template('about.html') @app.route('/login') def login(): return render_template('login.html') @app.route('/singup') def signup(): return render_template('signup.html') @app.route('/forgotPass') def forgotPass(): return render_template('forgotPass.html') @app.route('/quests') def quests(): return render_template('quests.html')
18.533333
45
0.694245
73
556
5.178082
0.273973
0.259259
0.31746
0
0
0
0
0
0
0
0
0
0.129496
556
29
46
19.172414
0.780992
0
0
0
0
0
0.198198
0
0
0
0
0
0
1
0.285714
true
0.142857
0.095238
0.285714
0.666667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
1
1
0
0
7
c6790abdf285484afa545fe7e632058976bc2155
172
py
Python
lab02/valder_ciphers/null_cipher.py
AlexValder/info_protection_labs
9a80dd5e58afae08bb7b598ba5927bde7ce2cb2f
[ "WTFPL" ]
null
null
null
lab02/valder_ciphers/null_cipher.py
AlexValder/info_protection_labs
9a80dd5e58afae08bb7b598ba5927bde7ce2cb2f
[ "WTFPL" ]
null
null
null
lab02/valder_ciphers/null_cipher.py
AlexValder/info_protection_labs
9a80dd5e58afae08bb7b598ba5927bde7ce2cb2f
[ "WTFPL" ]
null
null
null
from .cipher import Cipher class NullCipher(Cipher): def encode(self, raw: str) -> str: return raw def decode(self, raw: str) -> str: return raw
17.2
38
0.610465
23
172
4.565217
0.521739
0.133333
0.190476
0.247619
0.419048
0.419048
0
0
0
0
0
0
0.284884
172
9
39
19.111111
0.853659
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.333333
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
c67c7507d2e555a526d046ea76e50f5d15dec336
150
py
Python
omoide/presentation/api/__init__.py
IgorZyktin/omoide
4dc92fc52e56963993dc6aa7abef85cea9b164ef
[ "MIT" ]
null
null
null
omoide/presentation/api/__init__.py
IgorZyktin/omoide
4dc92fc52e56963993dc6aa7abef85cea9b164ef
[ "MIT" ]
1
2022-01-31T18:29:15.000Z
2022-01-31T18:29:15.000Z
omoide/presentation/api/__init__.py
IgorZyktin/omoide
4dc92fc52e56963993dc6aa7abef85cea9b164ef
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from omoide.presentation.api import browse from omoide.presentation.api import home from omoide.presentation.api import items
30
42
0.786667
21
150
5.619048
0.52381
0.254237
0.559322
0.635593
0.788136
0
0
0
0
0
0
0.007519
0.113333
150
4
43
37.5
0.879699
0.14
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
c6b56dadd63d1a366371dd5e609bb6b22b22806e
1,245
py
Python
tests/test_chj.py
lucasfr/mFractal
e6380e04b376f8199affdc502f4fa2d4729dbf2c
[ "MIT" ]
null
null
null
tests/test_chj.py
lucasfr/mFractal
e6380e04b376f8199affdc502f4fa2d4729dbf2c
[ "MIT" ]
null
null
null
tests/test_chj.py
lucasfr/mFractal
e6380e04b376f8199affdc502f4fa2d4729dbf2c
[ "MIT" ]
null
null
null
import numpy as np import mFractal as mf def test_chj_alpha(): qi = -15 qf = 15 Io = 2 Np = 8 qValues = np.arange(qi, qf + 1) scales = np.arange(Io, Np + 1) with open('data/series.txt', 'r') as f: x = f.readlines() x = np.genfromtxt(x, delimiter='\t') Timeseries = x[:, 1] with open('data/out.txt', 'r') as f: y = f.readlines() out = np.genfromtxt(y, delimiter=',') alpha, falpha, Dq, Rsqr_alpha, Rsqr_falpha, Rsqr_Dq, muScale, Md, Ma, Mf = mf.chj( Timeseries, qValues, scales) diff_alpha = alpha - out[:,0] assert np.round(np.sum(diff_alpha), 1) == 0 def test_chj_falpha(): qi = -15 qf = 15 Io = 2 Np = 8 qValues = np.arange(qi, qf + 1) scales = np.arange(Io, Np + 1) with open('data/series.txt', 'r') as f: x = f.readlines() x = np.genfromtxt(x, delimiter='\t') Timeseries = x[:, 1] with open('data/out.txt', 'r') as f: y = f.readlines() out = np.genfromtxt(y, delimiter=',') alpha, falpha, Dq, Rsqr_alpha, Rsqr_falpha, Rsqr_Dq, muScale, Md, Ma, Mf = mf.chj( Timeseries, qValues, scales) diff_alpha = falpha - out[:, 1] assert np.round(np.sum(diff_alpha), 1) == 0
21.465517
86
0.559839
192
1,245
3.557292
0.239583
0.046852
0.052709
0.076135
0.878477
0.878477
0.878477
0.878477
0.878477
0.793558
0
0.026696
0.277912
1,245
57
87
21.842105
0.733037
0
0
0.842105
0
0
0.051406
0
0
0
0
0
0.052632
1
0.052632
false
0
0.052632
0
0.105263
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c6c2f1e6174f3a3690c970aae6c08027ee1dc01b
1,533
py
Python
wrappers/python/tests/ledger/test_build_ledgers_freeze_request.py
meadoch1/indy-sdk
113b79cd64a238130d20e19b972326f72047c550
[ "Apache-2.0" ]
636
2017-05-25T07:45:43.000Z
2022-03-23T22:30:34.000Z
wrappers/python/tests/ledger/test_build_ledgers_freeze_request.py
meadoch1/indy-sdk
113b79cd64a238130d20e19b972326f72047c550
[ "Apache-2.0" ]
731
2017-05-29T07:15:08.000Z
2022-03-31T07:55:58.000Z
wrappers/python/tests/ledger/test_build_ledgers_freeze_request.py
meadoch1/indy-sdk
113b79cd64a238130d20e19b972326f72047c550
[ "Apache-2.0" ]
904
2017-05-25T07:45:49.000Z
2022-03-31T07:43:31.000Z
from indy import ledger from typing import List from indy.error import CommonInvalidStructure import json import pytest @pytest.mark.asyncio async def test_build_ledgers_freeze_request(did_trustee): ledgers_ids: List[int] = [0, 6, 78, 751] expected_response = { "identifier": did_trustee, "operation": { "type": "9", 'ledgers_ids': ledgers_ids } } response = json.loads(await ledger.build_ledgers_freeze_request(did_trustee, ledgers_ids)) assert expected_response.items() <= response.items() @pytest.mark.asyncio async def test_build_ledgers_freeze_request_with_empty_data(did_trustee): ledgers_ids: List[int] = [] expected_response = { "identifier": did_trustee, "operation": { "type": "9", 'ledgers_ids': ledgers_ids } } response = json.loads(await ledger.build_ledgers_freeze_request(did_trustee, ledgers_ids)) assert expected_response.items() <= response.items() @pytest.mark.asyncio async def test_build_ledgers_freeze_request_with_str_data(did_trustee): ledgers_ids = ["0", "6", "78", "751"] with pytest.raises(CommonInvalidStructure): json.loads(await ledger.build_ledgers_freeze_request(did_trustee, ledgers_ids)) @pytest.mark.asyncio async def test_build_ledgers_freeze_request_with_no_data(did_trustee): ledgers_ids = None with pytest.raises(CommonInvalidStructure): json.loads(await ledger.build_ledgers_freeze_request(did_trustee, ledgers_ids))
31.9375
94
0.717547
189
1,533
5.486772
0.232804
0.115718
0.138862
0.192864
0.873674
0.823529
0.790743
0.790743
0.771456
0.771456
0
0.01279
0.183953
1,533
47
95
32.617021
0.816147
0
0
0.564103
0
0
0.050228
0
0
0
0
0
0.051282
1
0
false
0
0.128205
0
0.128205
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
af15c1b126ecea77a5a2acd03496027ab2d27548
4,710
py
Python
vgg.py
Deeachain/LakeSegmentation-keras
58901893b5ba324112bb43211a068f8a6946c5ef
[ "MIT" ]
null
null
null
vgg.py
Deeachain/LakeSegmentation-keras
58901893b5ba324112bb43211a068f8a6946c5ef
[ "MIT" ]
null
null
null
vgg.py
Deeachain/LakeSegmentation-keras
58901893b5ba324112bb43211a068f8a6946c5ef
[ "MIT" ]
null
null
null
# from keras.applications.vgg16 import VGG16 # model = VGG16(weights=None) # model.summary() from keras.models import Model from keras.layers import Input, BatchNormalization, Conv2D, MaxPooling2D, Activation def vgg(num_classes, input_shape, lr_init, lr_decay, vgg_weight_path=None): img_input = Input(input_shape) # Block 1 x = Conv2D(64, (3, 3), padding='same', name='block1_conv1')(img_input) x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(64, (3, 3), padding='same', name='block1_conv2')(x) x = BatchNormalization()(x) block_1_out = Activation('relu')(x) x = MaxPooling2D()(block_1_out) # Block 2 x = Conv2D(128, (3, 3), padding='same', name='block2_conv1')(x) x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(128, (3, 3), padding='same', name='block2_conv2')(x) x = BatchNormalization()(x) block_2_out = Activation('relu')(x) x = MaxPooling2D()(block_2_out) # Block 3 x = Conv2D(256, (3, 3), padding='same', name='block3_conv1')(x) x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(256, (3, 3), padding='same', name='block3_conv2')(x) x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(256, (3, 3), padding='same', name='block3_conv3')(x) x = BatchNormalization()(x) block_3_out = Activation('relu')(x) x = MaxPooling2D()(block_3_out) # Block 4 x = Conv2D(512, (3, 3), padding='same', name='block4_conv1')(x) x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(512, (3, 3), padding='same', name='block4_conv2')(x) x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(512, (3, 3), padding='same', name='block4_conv3')(x) x = BatchNormalization()(x) block_4_out = Activation('relu')(x) x = MaxPooling2D()(block_4_out) # Block 5 x = Conv2D(512, (3, 3), padding='same', name='block5_conv1')(x) x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(512, (3, 3), padding='same', name='block5_conv2')(x) x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(512, (3, 3), padding='same', name='block5_conv3')(x) x = BatchNormalization()(x) output = Activation('relu')(x) model = Model(img_input, output) model.summary() model = vgg(input_shape=(512, 512, 3), num_classes=2, lr_init=0.0001, lr_decay=0.0005) def vgg1(num_classes, input_shape, lr_init, lr_decay, vgg_weight_path=None): img_input = Input(input_shape) # Block 1 x = Conv2D(64, (3, 3), padding='same', name='block1_conv1')(img_input) # x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(64, (3, 3), padding='same', name='block1_conv2')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = MaxPooling2D()(x) # Block 2 x = Conv2D(128, (3, 3), padding='same', name='block2_conv1')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(128, (3, 3), padding='same', name='block2_conv2')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = MaxPooling2D()(x) # Block 3 x = Conv2D(256, (3, 3), padding='same', name='block3_conv1')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(256, (3, 3), padding='same', name='block3_conv2')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(256, (3, 3), padding='same', name='block3_conv3')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = MaxPooling2D()(x) # Block 4 x = Conv2D(512, (3, 3), padding='same', name='block4_conv1')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(512, (3, 3), padding='same', name='block4_conv2')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(512, (3, 3), padding='same', name='block4_conv3')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = MaxPooling2D()(x) # Block 5 x = Conv2D(512, (3, 3), padding='same', name='block5_conv1')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(512, (3, 3), padding='same', name='block5_conv2')(x) # x = BatchNormalization()(x) x = Activation('relu')(x) x = Conv2D(512, (3, 3), padding='same', name='block5_conv3')(x) # output = BatchNormalization()(x) output = Activation('relu')(x) model = Model(img_input, output) model.summary() model1 = vgg1(input_shape=(512, 512, 3), num_classes=2, lr_init=0.0001, lr_decay=0.0005)
39.25
89
0.59448
644
4,710
4.23913
0.088509
0.049084
0.085714
0.12381
0.917582
0.917216
0.90989
0.857143
0.857143
0.857143
0
0.074804
0.2138
4,710
119
90
39.579832
0.662436
0.113588
0
0.835294
0
0
0.129096
0
0
0
0
0
0
1
0.023529
false
0
0.023529
0
0.047059
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
af28ec40584c53524c42618500ceefd2c267de2a
235
py
Python
gwlfe/Input/Animals/GrazingAnimal.py
mudkipmaster/gwlf-e
9e058445537dd32d1916f76c4b73ca64261771cd
[ "Apache-2.0" ]
null
null
null
gwlfe/Input/Animals/GrazingAnimal.py
mudkipmaster/gwlf-e
9e058445537dd32d1916f76c4b73ca64261771cd
[ "Apache-2.0" ]
6
2018-07-24T22:46:28.000Z
2018-07-29T19:13:09.000Z
gwlfe/Input/Animals/GrazingAnimal.py
mudkipmaster/gwlf-e
9e058445537dd32d1916f76c4b73ca64261771cd
[ "Apache-2.0" ]
1
2018-07-24T18:22:01.000Z
2018-07-24T18:22:01.000Z
from gwlfe.Memoization import memoize from gwlfe.enums import YesOrNo @memoize def GrazingAnimal(GrazingAnimal_0): return GrazingAnimal_0 @memoize def GrazingAnimal_f(GrazingAnimal_0): return GrazingAnimal_0 == YesOrNo.YES
18.076923
41
0.808511
29
235
6.37931
0.448276
0.302703
0.248649
0.356757
0.367568
0
0
0
0
0
0
0.019704
0.13617
235
12
42
19.583333
0.891626
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
af2a542ded66f5a2dc9f0c02a9d125c3af49285f
2,056
py
Python
pyaz/storage/account/network_rule/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/storage/account/network_rule/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/storage/account/network_rule/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
from .... pyaz_utils import _call_az def add(account_name, action=None, ip_address=None, resource_group=None, resource_id=None, subnet=None, tenant_id=None, vnet_name=None): ''' Add a network rule. Required Parameters: - account_name -- The storage account name. Optional Parameters: - action -- The action of virtual network rule. Possible value is Allow. - ip_address -- IPv4 address or CIDR range. - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>` - resource_id -- The resource id to add in network rule. - subnet -- Name or ID of subnet. If name is supplied, `--vnet-name` must be supplied. - tenant_id -- The tenant id to add in network rule. - vnet_name -- Name of a virtual network. ''' return _call_az("az storage account network-rule add", locals()) def list(account_name, resource_group=None): ''' List network rules. Required Parameters: - account_name -- The storage account name. Optional Parameters: - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>` ''' return _call_az("az storage account network-rule list", locals()) def remove(account_name, ip_address=None, resource_group=None, resource_id=None, subnet=None, tenant_id=None, vnet_name=None): ''' Remove a network rule. Required Parameters: - account_name -- The storage account name. Optional Parameters: - ip_address -- IPv4 address or CIDR range. - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>` - resource_id -- The resource id to add in network rule. - subnet -- Name or ID of subnet. If name is supplied, `--vnet-name` must be supplied. - tenant_id -- The tenant id to add in network rule. - vnet_name -- Name of a virtual network. ''' return _call_az("az storage account network-rule remove", locals())
39.538462
136
0.69893
291
2,056
4.810997
0.189003
0.078571
0.02
0.025714
0.844286
0.844286
0.844286
0.844286
0.816429
0.816429
0
0.001225
0.205739
2,056
51
137
40.313725
0.856093
0.651751
0
0
0
0
0.188908
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0
1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
af45fb285e44f6d4bbe465b887ed4389987d379a
211
py
Python
src/entity.py
ViniciosLugli/sBotics-viewer
762c60499ebd9fae4f584a3e906001c5b91dee6c
[ "MIT" ]
4
2021-07-24T16:56:53.000Z
2021-08-01T04:21:27.000Z
src/entity.py
ViniciosLugli/sBotics-viewer
762c60499ebd9fae4f584a3e906001c5b91dee6c
[ "MIT" ]
null
null
null
src/entity.py
ViniciosLugli/sBotics-viewer
762c60499ebd9fae4f584a3e906001c5b91dee6c
[ "MIT" ]
null
null
null
class Entity: def __init__(self): self.deleteQuery = False def delete(self): self.deleteQuery = True def undoDelete(self): self.deleteQuery = False def inDeleteQuery(self): return self.deleteQuery
17.583333
26
0.739336
26
211
5.846154
0.461538
0.394737
0.375
0.315789
0.355263
0
0
0
0
0
0
0
0.165877
211
12
27
17.583333
0.863636
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0
0.111111
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
bbbb49719892c0f0822365959e267b6af73894fe
344,387
py
Python
functions/gui_functions.py
mtasa-typescript/mtasa-wiki-dump
edea1746850fb6c99d6155d1d7891e2cceb33a5c
[ "MIT" ]
null
null
null
functions/gui_functions.py
mtasa-typescript/mtasa-wiki-dump
edea1746850fb6c99d6155d1d7891e2cceb33a5c
[ "MIT" ]
1
2021-02-24T21:50:18.000Z
2021-02-24T21:50:18.000Z
functions/gui_functions.py
mtasa-typescript/mtasa-wiki-dump
edea1746850fb6c99d6155d1d7891e2cceb33a5c
[ "MIT" ]
null
null
null
# Autogenerated file. ANY CHANGES WILL BE OVERWRITTEN from to_python.core.types import FunctionType, \ FunctionArgument, \ FunctionArgumentValues, \ FunctionReturnTypes, \ FunctionSignature, \ FunctionDoc, \ FunctionData, \ CompoundFunctionData DUMP_PARTIAL = [ CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='getChatboxLayout', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool', 'int', 'table'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='CVar', argument_type=FunctionType( names=['string'], is_optional=True, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='Returns information about how the chatbox looks.\nThese values come from the file called: Chatboxpresets.xml but it depends on what type of preset you currently have, which is chosen from your settings in the Interface tab.' , arguments={ "CVar": """the name of the property you want returned. Can be the following values: """, "chat_font": """- Returns the chatbox font """, "chat_lines": """- Returns how many lines the chatbox has """, "chat_color": """- Returns the background color of the chatbox """, "chat_text_color": """- Returns the chatbox text color """, "chat_input_color": """- Returns the background color of the chatbox input """, "chat_input_prefix_color": """- Returns the color of the input prefix text """, "chat_input_text_color": """- Returns the color of the text in the chatbox input """, "chat_scale": """- Returns the scale of the text in the chatbox """, "chat_position_offset_x": """- Returns the x position offset setting """, "chat_position_offset_y": """- Returns the y position offset setting """, "chat_position_horizontal": """- Returns the horizontal alignment setting """, "chat_position_vertical": """- Returns the vertical alignment setting """, "chat_text_alignment": """- Returns the text alignment setting """, "chat_width": """- Returns the scale of the background width """, "chat_css_style_text": """- Returns whether text fades out over time """, "chat_css_style_background": """- Returns whether the background fades out over time """, "chat_line_life": """- Returns how long it takes for text to start fading out """, "chat_line_fade_out": """- Returns how long takes for text to fade out """, "chat_use_cegui": """- Returns whether CEGUI is used to render the chatbox """, "text_scale": """- Returns text scale """ }, result='*4 numbers if the cvar contains color\n*2 numbers if chat_scale was entered\n*1 number if any other cvar was specified\n*a table of all cvar values, if cvar was not specified\n*false if an invalid cvar was specified' , ), url='getChatboxLayout', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiBlur', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "guiElement": """the GUI element that you want to defocus """ }, result='returns true if the function was successful, false otherwise.' , ), url='guiBlur', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiBringToFront', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function brings a GUI element on top of others.' , arguments={ "guiElement": """the GUI element that you want to move to the front. """ }, result='returns true if the function was successful, false otherwise.' , ), url='guiBringToFront', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCheckBoxGetSelected', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theCheckbox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets a checkboxs selection state.' , arguments={ "theCheckbox": """The checkbox you wish to retrieve the selection state of. """ }, result='returns true if the checkbox is selected, false if it is not.' , ), url='guiCheckBoxGetSelected', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCheckBoxSetSelected', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theCheckbox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='state', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function selects (ticks) or unselects a checkbox.' , arguments={ "theCheckbox": """The GUI element in which you wish to change the selection state of """, "state": """The state of the checkbox, where true indicates selected, and false indicates unselected. """ }, result='returns true if the checkboxs selection state was successfully set, false otherwise.' , ), url='guiCheckBoxSetSelected', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiComboBoxAddItem', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='comboBox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='value', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='Adds an item to a combobox.' , arguments={ "comboBox": """The combobox you want to add a row to """, "value": """The text that the item will contain. """ }, result='returns the item id if it has been created, false otherwise.' , ), url='guiComboBoxAddItem', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiComboBoxClear', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='comboBox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function removes all the items from a combobox.' , arguments={ "comboBox": """The combobox element to be cleared """ }, result='returns true if the combobox element is valid and has been cleared successfully, false otherwise.' , ), url='guiComboBoxClear', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiComboBoxGetItemCount', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='comboBox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "comboBox": """The combo box to get the number of items from. """ }, result='returns the number of items if the function is successful, false otherwise.' , ), url='guiComboBoxGetItemCount', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiComboBoxGetItemText', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['string'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='comboBox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='itemId', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function retrieves the text from a specific combobox item.' , arguments={ "comboBox": """The combobox containing the item youre interested in """, "itemId": """The index of the item """ }, result='returns the text of the item if the arguments are right, false otherwise.' , ), url='guiComboBoxGetItemText', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiComboBoxGetSelected', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='comboBox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the index of the selected combobox item.' , arguments={ "comboBox": """the combobox you want to know the selected item index of """ }, result='returns the index of the selected item if the specified combobox is valid and has a selected item, -1 if no item is selected, nil otherwise.' , ), url='guiComboBoxGetSelected', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiComboBoxIsOpen', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='comboBox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "comboBox": """The combo box to get the state. """ }, result='returns true if combobox is opened, false if combobox is closed, nil otherwise.' , ), url='guiComboBoxIsOpen', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiComboBoxRemoveItem', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='comboBox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='itemId', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function removes an item from a combobox.' , arguments={ "comboBox": """The combobox containing the item youre interested in """, "itemId": """The index of the item to remove """ }, result='returns true if the item was removes successfully, false otherwise.' , ), url='guiComboBoxRemoveItem', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiComboBoxSetItemText', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='comboBox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='itemId', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='text', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function changes the text of a combobox item.' , arguments={ "comboBox": """The combobox containing the item youre interested in """, "itemId": """The index of the item """, "text": """The text you want to put in (does NOT accept numbers, use tostring() for that) """ }, result='returns true if the text was set successfully, false otherwise.' , ), url='guiComboBoxSetItemText', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiComboBoxSetOpen', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='comboBox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='state', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "comboBox": """The combobox to be opened or closed. """, "state": """The state of combobox. true, if the combobox is to be opened. false if the combobox is to be closed. """ }, result='returns true if is successful, false otherwise.' , ), url='guiComboBoxSetOpen', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiComboBoxSetSelected', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='comboBox', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='itemIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the selected item from a combobox.' , arguments={ "comboBox": """the combobox you want to select an item from """, "itemIndex": """the item you want to select (item 0 is the first item). If -1 is specified, then the combo box text is set to its caption. """ }, result='returns true if the selected item has been changed successfully, false otherwise.' , ), url='guiComboBoxSetSelected', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateBrowser', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['gui-browser'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='isLocal', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='isTransparent', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='isRelative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a new CEGUI web Element/Browser|browser element.\n<br>The difference between this, and createBrowser is that, this handles inputs internally, and it can be attached to GUI windows. So this one is more suitable for custom dx based interfaces.\nYou can learn more about the differences https://forum.mtasa.com/topic/80422-dx-browser-vs-gui-browser/?do=findComment&comment=737334 here.' , arguments={ "x": """A float of the 2D x position of the browser on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the browser on a players screen. This is affected by the relative argument. """, "width": """The browsers native width. This should be greater than or equal to 1. """, "height": """The browsers native height. This should be greater than or equal to 1. """, "isLocal": """Sets whether the browser can only show local content or content from the internet (see examples over CreateBrowser|here for more information) """, "isTransparent": """true if you want the browser to support transparency, false otherwise """, "isRelative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing sizes/positions as a fraction of the screen size. If false, then the size and co-ordinates are based on clients resolution, accessible using guiGetScreenSize. """, "parent": """This is the parent that the radio button is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns a gui-browser element if it was created successfully, false otherwise. returns also false, if the user disabled remote pages and islocal was set to false.' , ), url='guiCreateBrowser', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateButton', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='text', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function allows creation of a GUI Button, which is a clickable item as part of GUI.' , arguments={ "x": """A float of the 2D x position of the GUI button on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the GUI button on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the GUI button. This is affected by the relative argument. """, "height": """A float of the height of the GUI button. This is affected by the relative argument. """, "text": """A string of the text that will be displayed as a label on the button. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x, y, width and height floats must be between 0 and 1, representing sizes relative to the parent. """, "parent": """This is the parent that the gui button is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns an element of the created element/gui/button|button if it was successfully created, false otherwise.' , ), url='guiCreateButton', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateCheckBox', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='text', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='selected', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a Element/GUI/Checkbox|checkbox.' , arguments={ "x": """A float of the 2D x position of the checkbox on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the checkbox on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the text field next to the checkbox. This is affected by the relative argument. """, "height": """A float of the height of the text field next to the checkbox. This is affected by the relative argument. """, "text": """The text to be displayed next to the checkbox. """, "selected": """A boolean representing whether the checkbox created should be selected by default. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing measures relative to the parent. """, "parent": """This is the parent that the checkbox is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns element of the checkbox if it was created succesfully, false otherwise.' , ), url='guiCreateCheckBox', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateComboBox', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='caption', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a combobox GUI element, which you can compare to a gridlist with a dropdown feature.' , arguments={ "x": """A float of the 2D x position of the GUI combobox on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the GUI combobox on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the GUI combobox. This is affected by the relative argument. """, "height": """A float of the height of the GUI combobox. This is affected by the relative argument. Note: height must be enough to fit the drop down menu, else the drop down wont appear. """, "caption": """A string for what the title of your combobox will be. This will be shown if no item is selected. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent. """, "parent": """This is the parent that the GUI combobox is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns an element of the created combobox if it was successfully created, false otherwise.' , ), url='guiCreateComboBox', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateEdit', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='text', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is for creating a new GUI edit box. This is a text box in which the user can input text. Edit boxes only allow a single line of text. If you want to allow multiple lines of text create a memo box using guiCreateMemo.' , arguments={ "x": """A float of the 2D x position of the GUI edit box on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the GUI edit box on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the GUI edit box. This is affected by the relative argument. """, "height": """A float of the height of the GUI edit box. This is affected by the relative argument. """, "text": """A string of the text that will be displayed by default in the edit box. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing measures relative to the parent. """, "parent": """This is the parent that the GUI edit box is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns a gui-edit element of the created edit box if it was successfully created, false otherwise.' , ), url='guiCreateEdit', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateFont', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='filepath', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='size', argument_type=FunctionType( names=['int'], is_optional=True, ), default_value='9', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a GUI font element that can be used in guiSetFont. Successful font creation is not guaranteed, and may fail due to hardware or memory limitations.\nTo see if creation is likely to fail, use dxGetStatus. (When VideoMemoryFreeForMTA is zero, failure is guaranteed.)' , arguments={ "filepath": """the name of the file containing the font """, "size": """size of the font """ }, result='returns a gui font element if successful, false if invalid arguments were passed to the function, or there is insufficient resources available.\nyou should always check to see if this function has returned false.' , ), url='guiCreateFont', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateGridList', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a grid list GUI element. These are menus which are designed in lists and can have multiple columns. A good example of a gridlist element can be found in MTAs settings box, under Controls.' , arguments={ "x": """A float of the 2D x position of the GUI gridlist on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the GUI gridlist on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the GUI gridlist. This is affected by the relative argument. """, "height": """A float of the height of the GUI gridlist. This is affected by the relative argument. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent. """, "parent": """This is the parent that the gui gridlist is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns an element of the created gridlist if it was successfully created, false otherwise.' , ), url='guiCreateGridList', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateLabel', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='text', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='<table><tr><td valign=top height=100>\nThis function is for creating a new GUI label. A label is simply a piece of text that cannot be edited by the user. If you would like to have a bigger text youd have to change its font because font size is not supported.\n</td></tr></table>' , arguments={ "x": """A float of the 2D x position of the GUI label on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the GUI label on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the GUI label. This is affected by the relative argument. """, "height": """A float of the height of the GUI label. This is affected by the relative argument. """, "text": """A string of the text that will be displayed by the label. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent. """, "parent": """This is the parent that the gui label is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns an gui_widgets|element of the created label if it was successfully created, false otherwise.' , ), url='guiCreateLabel', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateMemo', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['gui-memo'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='text', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a new GUI memo. This is a multiline edit box in which the user can input text.' , arguments={ "x": """A float of the 2D x position of the GUI memo on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the GUI memo on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the GUI memo. This is affected by the relative argument. """, "height": """A float of the height of the GUI memo. This is affected by the relative argument. """, "text": """A string of the text that will be displayed by default in the memo. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing measures relative to the parent. """, "parent": """This is the parent that the GUI memo is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns a gui-memo element of the created memo if it was successfully created, false otherwise.' , ), url='guiCreateMemo', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateProgressBar', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a Element/GUI/Progress bar|progress bar.' , arguments={ "x": """A float of the 2D x position of the progress bar on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the progress bar on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the progress bar. This is affected by the relative argument. """, "height": """A float of the height of the progress bar. This is affected by the relative argument. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing measures relative to the parent. """, "parent": """This is the parent that the progress bar is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns element of the progress bar if it was created succesfully, false otherwise.' , ), url='guiCreateProgressBar', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateRadioButton', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='text', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a Element/GUI/Radio button|radio button.' , arguments={ "x": """A float of the 2D x position of the radio button on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the radio button on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the text field next to the radio button. This is affected by the relative argument. """, "height": """A float of the height of the text field next to the radio button. This is affected by the relative argument. """, "text": """The text to be displayed next to the radio button. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing measures relative to the parent. """, "parent": """This is the parent that the radio button is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. ''NOTE:'' All radio buttons become grouped together with their parent item. Only ONE radio button per group/parent will be able to be selected at the same time. """ }, result='returns element of the radio button if it was created succesfully, false otherwise.' , ), url='guiCreateRadioButton', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateScrollBar', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['gui-scrollbar'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='horizontal', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['gui-element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a GUI scrollbar. You can use the functions guiScrollPaneSetHorizontalScrollPosition, guiScrollPaneSetVerticalScrollPosition, guiScrollPaneGetHorizontalScrollPosition and guiScrollPaneGetVerticalScrollPosition to read and modify the scrollbars scroll.' , arguments={ "x": """the 2D x offset of the GUI scrollbar from its parent. This is affected by the relative argument. """, "y": """the 2D y offset of the GUI scrollbar from its parent. This is affected by the relative argument. """, "width": """the width of the GUI scrollbar. This is affected by the relative argument. """, "height": """the height of the GUI scrollbar. This is affected by the relative argument. """, "horizontal": """whether this scrollbar is horizontal (true) or vertical (false). """, "relative": """whether sizes and positions are relative to their parents. If this is true, then all measures must be between 0 and 1, representing sizes/positions as a fraction of the parent widgets size. """, "parent": """the gui-element this scrollbar is attached to. By default, it is nil, meaning the widget is attached to the background. """ }, result='returns a gui-scrollbar if it was created successfully, false otherwise.' , ), url='guiCreateScrollBar', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateScrollPane', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['gui-element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This creates a GUI scroll pane.' , arguments={ "x": """the 2D x offset of the GUI scrollpane from its parent. This is affected by the relative argument. """, "y": """the 2D y offset of the GUI scrollpane from its parent. This is affected by the relative argument. """, "width": """the width of the GUI scrollpane. This is affected by the relative argument. """, "height": """the height of the GUI scrollpane. This is affected by the relative argument. """, "relative": """whether sizes and positions are relative to their parents. If this is true, then all measures must be between 0 and 1, representing sizes/positions as a fraction of the parent widgets size. """, "parent": """the gui-element this scrollpane is attached to. By default, it is nil, meaning the widget is attached to the background. """ }, result='the gui-element if created, otherwise false.' , ), url='guiCreateScrollPane', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateStaticImage', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='path', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a static image using a .png image in the resource.' , arguments={ "x": """A float of the 2D x position of the image on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the image on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the image. This is affected by the relative argument. """, "height": """A float of the height of the image. This is affected by the relative argument. """, "path": """The filepath of the image file that is being loaded. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing measures relative to the parent. """, "parent": """This is the parent that the image is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns element if image was created successfully, false otherwise.' , ), url='guiCreateStaticImage', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateTab', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='text', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a tab on a pre-existing tab panel. A tab is a button as well as a dimension that can be used to switch between information by clicking on the tabs. Tabs are sorted on a tab panel in the order that they are created.' , arguments={ "text": """The caption for the tab """, "parent": """The parent tab panel, as a tab panel element type """ }, result='returns a tab element if successful, false otherwise.' , ), url='guiCreateTab', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateTabPanel', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='parent', argument_type=FunctionType( names=['element'], is_optional=True, ), default_value='nil', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function creates a Tab Panel, which acts as a template to create Tabs upon.' , arguments={ "x": """A float of the 2D x position of the GUI tab panel on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the GUI tab panel on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the GUI tab panel. This is affected by the relative argument. """, "height": """A float of the height of the GUI tab panel. This is affected by the relative argument. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent. """, "parent": """This is the parent that the tab panel is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parents origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. """ }, result='returns a gui tab panel element if successful, false otherwise.' , ), url='guiCreateTabPanel', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiCreateWindow', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='titleBarText', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is for creating a new GUI window. This provides a base for other gui elements to be created within. However, windows do not have a parent and cannot be created in any GUI elements.' , arguments={ "x": """A float of the 2D x position of the GUI window on a players screen. This is affected by the relative argument. """, "y": """A float of the 2D y position of the GUI window on a players screen. This is affected by the relative argument. """, "width": """A float of the width of the GUI window. This is affected by the relative argument. """, "height": """A float of the height of the GUI window. This is affected by the relative argument. """, "titleBarText": """A string of the text that will be displayed in the title bar of the window. """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing sizes/positions as a fraction of the screen size. If false, then the size and co-ordinates are based on clients resolution, accessible using guiGetScreenSize. """ }, result='returns a gui window element if it was created successfully, false otherwise.' , ), url='guiCreateWindow', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiDeleteTab', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='tabToDelete', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='tabPanel', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function deletes a tab from a tab panel.' , arguments={ "tabToDelete": """This is an element representing the tab that you want to delete. """, "tabPanel": """This is the guiCreateTabPanel|tab panel parent that the tab is attached to. """ }, result='returns true the tab was successfully deleted, false otherwise.' , ), url='guiDeleteTab', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiEditGetCaretIndex', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the caret (the text cursor) position within the editbox.' , arguments={ "theElement": """The edit box you want to get the caret position from """ }, result='returns the caret index on success, false otherwise.' , ), url='guiEditGetCaretIndex', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiEditGetMaxLength', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiEdit', argument_type=FunctionType( names=['gui-edit'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "guiEdit": """The edit box you want to get the maximum text length of. """ }, result='returns the maximum text length on success, false otherwise.' , ), url='guiEditGetMaxLength', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiEditIsMasked', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiEdit', argument_type=FunctionType( names=['gui-edit'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "guiEdit": """the edit box to check masked flag of. """ }, result='returns true if the edit box is masked, false if not, nil if an invalid edit box was provided.' , ), url='guiEditIsMasked', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiEditIsReadOnly', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiEdit', argument_type=FunctionType( names=['gui-edit'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "guiEdit": """The edit box to check read-only status of. """ }, result='returns true if the edit box is read-only, false if not, nil if an invalid edit box was provided.' , ), url='guiEditIsReadOnly', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiEditSetCaretIndex', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='index', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the current position of the caret (the text cursor) within the edit box.' , arguments={ "theElement": """The edit box to be changed. """, "index": """An integer referring to the desired position within the box. """ }, result='returns true if the index was successfully set, false otherwise.' , ), url='guiEditSetCaretIndex', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiEditSetMasked', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='status', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets or removes masking (covering up the text being typed) for password text fields.' , arguments={ "theElement": """The edit box to be changed. """, "status": """A boolean value indicating whether masking is to be enabled or disabled. """ }, result='returns true if the function is successful, false otherwise.' , ), url='guiEditSetMasked', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiEditSetMaxLength', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiEdit', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='length', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the maximum text length that can be typed into an edit box.' , arguments={ "theElement": """The edit box to be changed. """, "length": """An integer indicating the maximum number of characters that can be typed into the box. """ }, result='returns true if the max length was set successfully, false otherwise.' , ), url='guiEditSetMaxLength', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiEditSetReadOnly', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='editField', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='status', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function allows you to set or remove read-only status for an edit box. If read-only is set to true, the box is not editable.' , arguments={ "editField": """The element of the Element/GUI/Edit field|edit field to be modified. """, "status": """A boolean value indicating whether read-only is to be enabled or disabled. """ }, result='returns true if edit fields read-only status was changed successfully, false otherwise.' , ), url='guiEditSetReadOnly', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiFocus', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "guiElement": """the GUI element that you want to focus """ }, result='returns true if the function was successful, false otherwise.' , ), url='guiFocus', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetAlpha', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='Alpha represents the transparency of a gui element. This function allows retrieval of a gui elements current alpha.' , arguments={ "guiElement": """The gui element in which you want to retrieve the alpha of. """ }, result='this function returns a positive integer in between 0 and 1 of the gui elements current alpha, or false if it could not be retrieved.' , ), url='guiGetAlpha', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetBrowser', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['browser'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theBrowser', argument_type=FunctionType( names=['gui-browser'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets the browser element behind a gui-browser (a browser that has been created via guiCreateBrowser).' , arguments={ "theBrowser": """The gui-browser """ }, result='returns the element/browser|browser element if a correct element/gui-browser|gui-browser has been passed, false otherwise.' , ), url='guiGetBrowser', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetCursorType', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['string'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to get the type of the current cursor image.' , arguments={ }, result='returns a string containing the cursor type:\n* none // cursor has no image\n* arrow // default cursor\n* sizing_ns // n-s (up-down) sizing cursor\n* sizing_ew // e-w (left-right) sizing cursor\n* sizing_nwse // nw-se diagonal sizing cursor\n* sizing_nesw // ne-sw diagonal sizing cursor\n* sizing_eswe // es-we horizontal sizing cursor\n* move // move cursor\n* container_drag // drag container cursor (note: not in use)\n* segment_moving // segment moving cursor (note: not in use)\n* segment_sizing // segment sizing cursor (note: not in use)' , ), url='guiGetCursorType', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetEnabled', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function determines if a GUI element is enabled.' , arguments={ "guiElement": """the GUI element to be checked. """ }, result='returns true if the element is enabled, false otherwise.' , ), url='guiGetEnabled', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetFont', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['string'], is_optional=False, ), FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to get the current font that is used to draw text in GUI elements.' , arguments={ "guiElement": """element you wish to get the font of. """ }, result='*string a string containing the name of the elements current font, or false if the gui element passed to the function is invalid.\n*element the custom gui font that is used, or nil otherwise' , ), url='guiGetFont', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetInputEnabled', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function checks whether user input is focused on the GUI or the game.' , arguments={ }, result='returns true if input is focused on gui, false if its focused on the game.' , ), url='guiGetInputEnabled', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetInputMode', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['string'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the current input mode as set by guiSetInputMode.\nDefault mode is allow_binds.' , arguments={ }, result='returns a string defining the current input mode, potential values are:\n* allow_binds: binds are enabled, hence using a key such as t in an editbox will still activate the chatbox\n* no_binds: binds are disabled, hence using a key such as t in an editbox will not activate the chatbox\n* no_binds_when_editing: binds are always enabled except when an editable editbox or memo has input focus' , ), url='guiGetInputMode', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ), FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function allows retrieval of a GUI elements current position, relative to its parent.' , arguments={ "guiElement": """The gui element of which you wish to retrieve the position. """, "relative": """A boolean representing whether the position should be relative to the elements parent width, or the number of offset pixels from the parents origin. """ }, result='returns floats representing the x and y position of the element, or false if the position could not be retrieved.' , ), url='guiGetPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetProperties', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['table'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets a list of the CEGUI property names and values of a GUI element. To find out what the different properties mean, check out the http://static.cegui.org.uk/static/WindowsLookProperties.html CEGUI properties page.' , arguments={ "guiElement": """the GUI element you wish to get the properties of. """ }, result='if the function succeeds, the return value is a table. its keys are property names, the corresponding values are the values of the properties (both names and values are always strings). if the function fails, it returns false.' , ), url='guiGetProperties', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetProperty', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['string'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='property', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets the value of a specific CEGUI property of a GUI element. For a list of properties and their meaning, see the http://static.cegui.org.uk/static/WindowsLookProperties.html CEGUI properties page.' , arguments={ "guiElement": """the GUI element you wish to get a property of. """, "property": """the name of of property you want the value of. """ }, result='if the function succeeds, it returns a string with the value of the property. if it fails, it returns false.' , ), url='guiGetProperty', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetScreenSize', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ), FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function retrieves the local screen size according to the resolution they are using.' , arguments={ }, result='this returns two floats representing the players screen resolution, width and height.' , ), url='guiGetScreenSize', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetSelectedTab', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['element'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='tabPanel', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the currently selected tab in the specified Element/GUI/Tab panel|tab panel.' , arguments={ "tabPanel": """The Element/GUI/Tab panel|tab panel which current tab you want to retrieve. """ }, result='returns an element of the element/gui/tab|tab if a tab was selected or nil if no tab was selected. if passed arguments were invalid or something went wrong, the function will return false.' , ), url='guiGetSelectedTab', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetSize', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ), FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets the size of a GUI element.' , arguments={ "theElement": """The GUI element to get size of. """, "relative": """A boolean representing whether the size should be relative to the elements parent width, or an absolute size in pixels. """ }, result='returns the gui element size x and y if the function has been successful, false otherwise.' , ), url='guiGetSize', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetText', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['string'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to get the text of GUI elements like edit boxes, labels, buttons etc.' , arguments={ "guiElement": """element you wish to get text of. """ }, result='returns a string containing the requested elements text, or false if the gui element passed to the function is invalid.' , ), url='guiGetText', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGetVisible', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function determines if a GUI element is visible.' , arguments={ "guiElement": """the GUI element to be checked """ }, result='returns true if the element is visible, false otherwise.' , ), url='guiGetVisible', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListAddColumn', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='title', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to create columns in grid lists.' , arguments={ "gridList": """The grid list you want to add a column to """, "title": """Title of the column """, "width": """Column width, relative to the grid list width """ }, result='returns the column id if it was created, false otherwise.' , ), url='guiGridListAddColumn', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListAddRow', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='itemText1', argument_type=FunctionType( names=['int', 'string'], is_optional=True, ), default_value=None, ) ], [ FunctionArgument( name='itemText2', argument_type=FunctionType( names=['int', 'string'], is_optional=True, ), default_value=None, ) ] ], variable_length=True, ), generic_types=[ ], ), docs=FunctionDoc( description='Adds a row to a grid list, and optionally add simple text items with your rows. Use guiGridListSetItemText to add row headers.\nATTENTION: Without guiGridListSetItemText there is no row added to the grid.\nLook at the example, first you give the row a name with row = guiGridListAddRow ( playerList ), and then you use guiGridListSetItemText. }}' , arguments={ "gridList": """The grid list you want to add a row to """, "itemText1": """The text for the first column item in the row. Either a string or a number can be passed (use numbers for sorting purposes). """, "itemText2": """The text for the second column item in the row. Either a string or a number can be passed (use numbers for sorting purposes). """, "...": """Item text for any other columns """ }, result='returns the row id if it has been created, false otherwise.' , ), url='guiGridListAddRow', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListAutoSizeColumn', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This allows you to automatically size a column to display everything in it correctly, with the most minimal width.' , arguments={ "gridList": """The Element/GUI/Gridlist|grid list element where the column is located. """, "columnIndex": """The ID of the column you want to be auto-sized. """ }, result='returns true if the column was auto-sized, false otherwise.' , ), url='guiGridListAutoSizeColumn', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListClear', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function clears all the data from a grid list.' , arguments={ "gridList": """The grid list element to be cleared """ }, result='returns true if the grid list element is valid and has been cleared successfully, false otherwise.' , ), url='guiGridListClear', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetColumnCount', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This allows you to get the count of existing columns in a gridlist.' , arguments={ "gridList": """The grid list you want to add a column to """ }, result='returns an integer with the amount of columns in the gridlist, false otherwise.' , ), url='guiGridListGetColumnCount', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetColumnTitle', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['string'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiGridlist', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to get the column title of a gridlist column.' , arguments={ "guiGridlist": """: The grid list you want to get the column title from """, "columnIndex": """: Column ID """ }, result='returns a string containing the column title, or false otherwise.' , ), url='guiGridListGetColumnTitle', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetColumnWidth', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This allows you to get the width of an existing column in a gridlist.' , arguments={ "gridList": """The grid list you want to add a column to """, "columnIndex": """Column ID of the Get size """, "relative": """A boolean defining whether width measurements will be relative to the Gridlist size, or absolute pixels. """ }, result='returns the width of the gridlist column, false if bad arguments were given.' , ), url='guiGridListGetColumnWidth', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetHorizontalScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiGridlist', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to get the horizontal scroll position from a grid list' , arguments={ "guiGridlist": """: The grid list you want to get the horizontal scroll position from """ }, result='returns a integer between 0 and 100 indicating the horizontal scroll position, or false otherwise.' , ), url='guiGridListGetHorizontalScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetItemColor', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ), FunctionType( names=['int'], is_optional=False, ), FunctionType( names=['int'], is_optional=False, ), FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='rowIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets the color of a gridlist item.' , arguments={ "gridList": """The grid list element """, "rowIndex": """Row ID """, "columnIndex": """Column ID """ }, result='returns four int values, representing the amount of red, green, blue and alpha if successful. false otherwise.' , ), url='guiGridListGetItemColor', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetItemData', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['var'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='rowIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='With this function you can retrieve the string data associated with an item in a Element/GUI/Gridlist|grid list. This is not the text that is displayed on the item, but an internal string that you can use to hold extra information about the item.<br/>\nNote: This function will only work after you set the items text using guiGridListSetItemText!' , arguments={ "gridList": """the grid list containing the item youre interested in """, "rowIndex": """the row index of the item """, "columnIndex": """the column index of the item """ }, result='returns the item data of the specified item if succesful, false if one of the arguments was invalid.' , ), url='guiGridListGetItemData', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetItemText', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['string'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='rowIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function retrieves the text from a specific grid list item.' , arguments={ "gridList": """the gridlist containing the item youre interested in """, "rowIndex": """row id of the item (first is 0) """, "columnIndex": """column id of the item (first is 0) """ }, result='returns the text of the item if the arguments are right, false otherwise.' , ), url='guiGridListGetItemText', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetRowCount', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the number of rows in a grid list.' , arguments={ "gridList": """The grid list to get the number of rows from. """ }, result='returns the number of rows if the function is successful, false otherwise.' , ), url='guiGridListGetRowCount', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetSelectedCount', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the amount of options selected in the specified Element/GUI/Gridlist|grid list.' , arguments={ "gridList": """The Element/GUI/Gridlist|grid list which amount of selected items you want to retrieve. """ }, result='returns an integer representing the amount of selected options if everything was successful or false if invalid arguments were passed.' , ), url='guiGridListGetSelectedCount', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetSelectedItem', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ), FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the row and column indexes of the selected item in a grid list. First selected row and column is (0, 0).' , arguments={ "gridList": """the grid list you want to know the selected row index of """ }, result='returns the row and column indexes of the selected item if the specified grid list is valid and has a selected item, (-1, -1) if no item is selected, false otherwise.' , ), url='guiGridListGetSelectedItem', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetSelectedItems', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['table'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the items selected in the specified Element/GUI/Gridlist|grid list.\nNote that for some reason the column ID is 1 lower than it should be, for example 0 is returned but if you try and get the text for column 0 there is nothing, but column 1 has what you clicked on.' , arguments={ "gridList": """The Element/GUI/Gridlist|grid list which selected items you want to retrieve. """ }, result='returns a table over the selected items in the element/gui/gridlist|grid list in this format:\n<syntaxhighlight lang=lua>\ntable = {\n1 = {\ncolumn, -- has the first selected items column id\nrow -- has the first selected items row id\n},\n2 = {\ncolumn,-- has the second selected items column id\nrow -- has the second selected items row id\n},\n...\n}\n</syntaxhighlight>\nif everything was successful or false if invalid arguments were passed.' , ), url='guiGridListGetSelectedItems', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetSelectionMode', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridlist', argument_type=FunctionType( names=['gui-Element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "gridlist": """The gridlist you want to get the selection mode of. """ }, result='returns the id of the current gridlists selection mode.' , ), url='guiGridListGetSelectionMode', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListGetVerticalScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiGridlist', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to get the vertical scroll position from a grid list' , arguments={ "guiGridlist": """: The grid list you want to get the vertical scroll position from """ }, result='returns a integer between 0 and 100 indicating the vertical scroll position, or false otherwise.' , ), url='guiGridListGetVerticalScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListInsertRowAfter', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='rowIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This allows you to insert a new row after a specified row, and simultaneously set text. Good for inserting new rows in the middle of existing rows. To insert at the top use -1 as row index.' , arguments={ "gridList": """The grid list you want to add a row to """, "rowIndex": """Row ID of the row you want to insert the new row after. """, "itemText1": """The text for the first column item in the row. Either a string or a number can be passed (use numbers for sorting purposes). """, "itemText2": """The text for the second column item in the row. Either a string or a number can be passed (use numbers for sorting purposes). """, "...": """Item text for any other columns """ }, result='returns true if the row was successfully added, false otherwise.' , ), url='guiGridListInsertRowAfter', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListIsSortingEnabled', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiGridlist', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "guiGridlist": """The GUI gridlist you wish to check if sorting is enabled or not. """ }, result='returns true if sorting is enabled, false otherwise.' , ), url='guiGridListIsSortingEnabled', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListRemoveColumn', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This allows you to delete columns that exist in grid lists.' , arguments={ "gridList": """The grid list you want to remove a column from """, "columnIndex": """Column ID """ }, result='returns true if the grid list column was successfully removed, false otherwise.' , ), url='guiGridListRemoveColumn', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListRemoveRow', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='rowIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This allows you to delete rows that exist in grid lists.' , arguments={ "gridList": """The grid list you want to remove a row from """, "rowIndex": """The row ID which you want to remove """ }, result='returns true if the grid list row was successfully removed, false otherwise.' , ), url='guiGridListRemoveRow', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetColumnTitle', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiGridlist', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='title', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to change the column title of a gridlist column.' , arguments={ "guiGridlist": """: The grid list you want to change the column title from """, "columnIndex": """: Column ID """, "title": """: The title of the column """ }, result='returns true if the new title was set, or false otherwise.' , ), url='guiGridListSetColumnTitle', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetColumnWidth', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['number'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This allows you to set the width of an existing column in a gridlist.' , arguments={ "gridList": """The grid list you want to add a column to """, "columnIndex": """Column ID of the size you want to change """, "width": """A float or integer of the width of the column depending on the relative argument. """, "relative": """A boolean defining whether width measurements will be relative to the Gridlist size, or absolute pixels. """ }, result='returns true if the gridlist column width was successfully set, false if bad arguments were given.' , ), url='guiGridListSetColumnWidth', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetHorizontalScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiGridlist', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='fPosition', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to set the horizontal scroll position from a grid list' , arguments={ "guiGridlist": """: The grid list you want to set the horizontal scroll position from """, "fPosition": """: A float representing the horizontal scroll position (0-100) """ }, result='returns true if the horizontal scroll position was set, or false otherwise.' , ), url='guiGridListSetHorizontalScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetItemColor', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='rowIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='red', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='green', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='blue', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='alpha', argument_type=FunctionType( names=['int'], is_optional=True, ), default_value='255', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function changes the color of a gridlist item.' , arguments={ "gridList": """The grid list element """, "rowIndex": """Row ID """, "columnIndex": """Column ID """, "red": """The amount of red in the color (0-255) """, "green": """The amount of green in the color (0-255) """, "blue": """The amount of blue in the color (0-255) """, "alpha": """The amount of alpha in the color (0-255). """ }, result='returns true if the item color was set successfully, false otherwise.' , ), url='guiGridListSetItemColor', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetItemData', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='rowIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='data', argument_type=FunctionType( names=['var'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets a Item Data associated to a grid list item.<br/>\nNote: This function will only work after you set the items text using guiGridListSetItemText!' , arguments={ "gridList": """A gridlist element of the data you wish to set to """, "rowIndex": """The row of the item you wish to set to """, "columnIndex": """The column of the item you wish to set to """, "data": """The data you wish to set to the item. """ }, result='returns true if the data was set successfully, false otherwise' , ), url='guiGridListSetItemData', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetItemText', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='rowIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='text', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='section', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='number', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function changes the text of a gridlist item.\nNotice: This function doesnt work well with Sorting. If you are using sorting, please use the optional arguments of guiGridListAddRow as much as possible.' , arguments={ "gridList": """The grid list element """, "rowIndex": """Row ID """, "columnIndex": """Column ID """, "text": """The text you want to put in (does NOT accept numbers, use tostring() for that) """, "section": """Determines if the item is a section """, "number": """Tells whether the text item is a number value or not (used for sorting) """ }, result='returns true if the item text was set successfully, false otherwise.' , ), url='guiGridListSetItemText', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetScrollBars', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiGridlist', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='horizontalBar', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='verticalBar', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function allows a gridlists scrollbar to be forced on, or returned to default.' , arguments={ "guiGridlist": """The GUI gridlist you wish to change the state of scrollbars """, "horizontalBar": """A bool where true forces the horizontal scrollbar on, and false returns them to default. """, "verticalBar": """A bool where true forces the verical scrollbar on, and false returns them to default. """ }, result='returns true if the scrollbars were successfully set, false otherwise.' , ), url='guiGridListSetScrollBars', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetSelectedItem', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridList', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='rowIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='columnIndex', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='bReset', argument_type=FunctionType( names=['bool'], is_optional=True, ), default_value='true', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function selects an item from a gridlist. If you wish to deselect whatever item is selected, pass 0 as both the rowIndex and columnIndex arguments.' , arguments={ "gridList": """the grid list you want to select an item from """, "rowIndex": """the row you want to select (index 0 is the first row) """, "columnIndex": """the column you want to select (index 1 is the first column) """, "bReset": """set to false for multiple selections """ }, result='returns true if the passed arguments are correct and the item has been selected, false otherwise.' , ), url='guiGridListSetSelectedItem', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetSelectionMode', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='gridlist', argument_type=FunctionType( names=['gui-Element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='mode', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the selection mode of a gui gridlist. For example, the MTA server browser selects a whole row, while the Controls dialog selects a single cell. To select multiple items you must be holding down ctrl.' , arguments={ "gridlist": """The gridlist in which you wish to set the selection mode. """, "mode": """The mode of the selection. Can be the following values: """, "0": """Single row selection """, "1": """Multiple row selection """, "2": """Single cell selection """, "3": """Multiple cell selection """, "4": """Nominated(First) single column selection """, "5": """Nominated(First) multiple column selection """, "6": """Single column selection """, "7": """Multiple column selection """, "8": """Nominated(First) single row selection """, "9": """Nominated(First) multiple row selection """ }, result='returns true if the selection mode was successfully set, false otherwise.' , ), url='guiGridListSetSelectionMode', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetSortingEnabled', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiGridlist', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='enabled', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function allows the disabling or enabling of sorting within a gridlist. Sorting is achieved by clicking a column header. Gridlist items will be sorted according to the clicked column. By default, gridlists have sorting enabled. This function will allow you to toggle this.' , arguments={ "guiGridlist": """The GUI gridlist you wish to toggle the sorting of. """, "enabled": """A boolean representing whether the sorting is enabled, or disabled. """ }, result='returns true if sorting was successfully toggled., false otherwise.' , ), url='guiGridListSetSortingEnabled', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiGridListSetVerticalScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiGridlist', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='fPosition', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to set the vertical scroll position from a grid list' , arguments={ "guiGridlist": """: The grid list you want to set the vertical scroll position from """, "fPosition": """: A float representing the vertical scroll position (0-100) """ }, result='returns true if the vertical scroll position was set, or false otherwise.' , ), url='guiGridListSetVerticalScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiLabelGetColor', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ), FunctionType( names=['int'], is_optional=False, ), FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theLabel', argument_type=FunctionType( names=['gui-element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets the color of a label.' , arguments={ "theLabel": """The label to get color. """ }, result='returns three int values, representing the amount of red, green, blue if successful. false otherwise.' , ), url='guiLabelGetColor', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiLabelGetFontHeight', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theLabel', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the height of the font currently used in a GUI text label.' , arguments={ "theLabel": """The text label to get the font height from. """ }, result='returns the absolute height of the font currently used in the text label if the function is successful, false otherwise.' , ), url='guiLabelGetFontHeight', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiLabelGetTextExtent', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theLabel', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the extent, or width, of the current text inside a GUI text label.' , arguments={ "theLabel": """The text label to get the text extent from. """ }, result='returns the absolute width of the current text inside the text label if the function is successful, false otherwise.' , ), url='guiLabelGetTextExtent', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiLabelSetColor', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='red', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='green', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='blue', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function allows you to set the color of a GUI label.' , arguments={ "theElement": """The label to be changed. """, "red": """An integer specifying the amount of red (0 to 255). """, "green": """An integer specifying the amount of green (0 to 255). """, "blue": """An integer specifying the amount of blue (0 to 255). """ }, result='returns true if the the color of the gui label was successfully changed, false otherwise.' , ), url='guiLabelSetColor', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiLabelSetHorizontalAlign', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theLabel', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='align', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='wordwrap', argument_type=FunctionType( names=['bool'], is_optional=True, ), default_value='false', ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the horizontal alignment of a text label.' , arguments={ "theLabel": """The text label to set the horizontal alignment on. """, "align": """The alignment type. Valid type strings are: **"left" **"center" **"right" """, "wordwrap": """Whether or not to enable wordwrap for the gui-label. """ }, result='returns true on success, false otherwise.' , ), url='guiLabelSetHorizontalAlign', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiLabelSetVerticalAlign', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theLabel', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='align', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the vertical alignment of a text label.' , arguments={ "theLabel": """The text label to set the vertical alignment on. """, "align": """The alignment type. Valid type strings are: **"top" **"center" **"bottom" """ }, result='returns true on success, false otherwise.' , ), url='guiLabelSetVerticalAlign', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiMemoGetCaretIndex', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns the caret (the text cursor) position within the memo box.' , arguments={ "theElement": """The memo box you want to get the caret position from """ }, result='returns the caret index on success, false otherwise.' , ), url='guiMemoGetCaretIndex', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiMemoGetVerticalScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theMemo', argument_type=FunctionType( names=['gui-memo'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "theMemo": """: the guiCreateMemo|memo you want to know the vertical scroll position of. """ }, result='returns a float ranging between 0 and 100, or false otherwise.' , ), url='guiMemoGetVerticalScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiMemoIsReadOnly', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theMemo', argument_type=FunctionType( names=['gui-memo'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "theMemo": """The memo to check read-only status of. """ }, result='returns true if the memo is read only, false if the memo isnt read only, nil otherwise.' , ), url='guiMemoIsReadOnly', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiMemoSetCaretIndex', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theMemo', argument_type=FunctionType( names=['gui-memo'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='index', argument_type=FunctionType( names=['int'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the current position of the caret (the text cursor) within the memo.' , arguments={ "theMemo": """The memo edit box where the caret position is to be changed. """, "index": """An integer referring to the desired character position within the box. 0 would be before the first character in the box, 1 before the second, etc. """ }, result='returns true if the caret was successfully moved, false otherwise.' , ), url='guiMemoSetCaretIndex', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiMemoSetReadOnly', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theMemo', argument_type=FunctionType( names=['gui-memo'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='status', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function allows you to set or remove read-only status for a GUI memo. If read-only is set to true, the contents are not editable.' , arguments={ "theMemo": """The memo to change read-only status of. """, "status": """A boolean value indicating whether read-only is to be enabled or disabled. """ }, result='returns true if the status was successfully changed, false otherwise.' , ), url='guiMemoSetReadOnly', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiMemoSetVerticalScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theMemo', argument_type=FunctionType( names=['gui-memo'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='position', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "theMemo": """: the guiCreateMemo|memo you want to change the vertical scroll position of. """, "position": """: a float ranging between 0 and 100. """ }, result='returns true if the position was set, false otherwise.' , ), url='guiMemoSetVerticalScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiMoveToBack', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function moves a GUI element to the very back of all other GUI elements.' , arguments={ "guiElement": """the GUI element that you want to move to the back """ }, result='returns true if the function was successful, false otherwise.' , ), url='guiMoveToBack', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiProgressBarGetProgress', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theProgressbar', argument_type=FunctionType( names=['progressBar'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets the progress of a progress bar as a percentage.' , arguments={ "theProgressbar": """: The progressbar you want to check. """ }, result='returns a float ranging between 0 and 100.' , ), url='guiProgressBarGetProgress', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiProgressBarSetProgress', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theProgressbar', argument_type=FunctionType( names=['progressBar'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='progress', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to set the progress of a progressbar as a percentage.' , arguments={ "theProgressbar": """: The progressbar you want to change the progress of """, "progress": """: a float ranging from 0 - 100 """ }, result='returns true if the progress was set, false otherwise.' , ), url='guiProgressBarSetProgress', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiRadioButtonGetSelected', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiRadioButton', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets a radio buttons selection state.' , arguments={ "guiRadioButton": """The radio button you wish to retrieve the selection state of. """ }, result='returns true if the radio button is selected, false if it is not.' , ), url='guiRadioButtonGetSelected', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiRadioButtonSetSelected', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiRadioButton', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='state', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function selects or unselects a radio button.' , arguments={ "guiRadioButton": """The GUI radio button in which you wish to change the selection state of """, "state": """The state of the radio button, where true indicates selected, and false indicates unselected. """ }, result='returns true if the radio buttons selection state was successfully set, false otherwise.' , ), url='guiRadioButtonSetSelected', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiScrollBarGetScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theScrollBar', argument_type=FunctionType( names=['gui-scrollBar'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets the scroll amount of a scrollbar as a percentage.' , arguments={ "theScrollBar": """: The scrollbar you want to check. """ }, result='returns a float ranging between 0 and 100, representing the amount the scrollbar has been scrolled.' , ), url='guiScrollBarGetScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiScrollBarSetScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theScrollBar', argument_type=FunctionType( names=['gui-scrollBar'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='amount', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to set the scroll amount of a scrollbar as a percentage.' , arguments={ "theScrollBar": """: The scrollbar you want to change the progress of """, "amount": """: a float ranging from 0 - 100 representing the amount you wish to set the scroll bar. """ }, result='returns true if the scroll position was successfully set, false otherwise.' , ), url='guiScrollBarSetScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiScrollPaneGetHorizontalScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='horizontalScrollPane', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to get the position of a horizontal scroll pane as a percentage.' , arguments={ "horizontalScrollPane": """: The scroll pane you want to know the position of """ }, result='returns a float ranging between 0 and 100, or false otherwise.' , ), url='guiScrollPaneGetHorizontalScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiScrollPaneGetVerticalScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['float'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='verticalScrollPane', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to get the position of a vertical scroll pane as a percentage.' , arguments={ "verticalScrollPane": """: The scroll pane you want to know the position of """ }, result='returns a float ranging between 0 and 100, or false otherwise.' , ), url='guiScrollPaneGetVerticalScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiScrollPaneSetHorizontalScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='horizontalScrollPane', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='position', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to set the position of a horizontal scroll pane as a percentage.' , arguments={ "horizontalScrollPane": """: The scroll pane you want to change the position of """, "position": """: a float ranging from 0 - 100 """ }, result='returns true if the position was set, false otherwise.' , ), url='guiScrollPaneSetHorizontalScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiScrollPaneSetScrollBars', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='scrollPane', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='horizontal', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='vertical', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function allows a scrollpanes scrollbars to be forced on, or returned to default.' , arguments={ "scrollPane": """the GUI scrollpane element you want to set the scrollbars of. """, "horizontal": """A bool where true forces the horizontal scrollbar on, and false returns them to default. """, "vertical": """A bool where true forces the vertical scrollbar on, and false returns them to default. """ }, result='returns true if the call was successfully, false otherwise.' , ), url='guiScrollPaneSetScrollBars', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiScrollPaneSetVerticalScrollPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='verticalScrollPane', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='position', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to set the position of a vertical scroll pane as a percentage.' , arguments={ "verticalScrollPane": """: The scroll pane you want to change the position of """, "position": """: a float ranging from 0 - 100 """ }, result='returns true if the position was set, false otherwise.' , ), url='guiScrollPaneSetVerticalScrollPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetAlpha', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guielement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='alpha', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This changes the alpha level (the visibleness/transparency) of a GUI element' , arguments={ "guiElement": """the GUI element whose visibility is to be changed """, "alpha": """The visibility/transparency of the GUI element. Ranges from 0 (fully transparent) to 1 (fully opaque). Default value is 0.80. """ }, result='returns true if the gui elements alpha was successfully changed, false otherwise.' , ), url='guiSetAlpha', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetEnabled', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='enabled', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function enables/disables a GUI element. A disabled GUI element cant be used, gets a gray aspect and doesnt receive any events.' , arguments={ "guiElement": """the GUI element you wish to enable or disable """, "enabled": """the new state """ }, result='if the function succeeds it returns true, if it fails it returns false.' , ), url='guiSetEnabled', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetFont', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='font', argument_type=FunctionType( names=['mixed'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the font of a GUI_widgets|GUI element to be used when drawing text.' , arguments={ "guiElement": """The GUI element you wish to change the font of """, "font": """Either a custom GUI font element or the name of a built-in GUI font. See Standard GUI Font Names """ }, result='returns true if the font has been successfully set on the gui element, false otherwise.' , ), url='guiSetFont', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetInputEnabled', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='enabled', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function enables or disables input focus for the GUI. This means that any keybinds or MTA binds are overidden so that text can be input into an editbox, for example. In other words, keys such as t and y which activate the chatbox are disabled.\nguiSetInputMode can be used as an extended version of guiSetInputEnabled since it provides the same functionality with one added feature.' , arguments={ "enabled": """true if input should go to GUI, false if it should go to the game. """ }, result='returns true if input mode could be changed, false if invalid parameters are passed.' , ), url='guiSetInputEnabled', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetInputMode', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='mode', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function controls the input mode to define whether or not (and when) keybinds or MTA binds are overridden (disabled) so that text can be input into an editbox, for example.\nThe binds can be either:\n* never disabled (hence using a key such as t in an editbox will still activate the chatbox)\n* always disabled (hence using a key such as t in an editbox will not activate the chatbox)\n* only disabled when actually editing an editbox or a memo (binds are always enabled except when an editbox or memo has input focus)' , arguments={ "mode": """a string representing the desired input mode. Accepted values are: """, "allow_binds": """binds are enabled, hence using a key such as t in an editbox will still activate the chatbox (default) """, "no_binds": """binds are disabled, hence using a key such as t in an editbox will not activate the chatbox """, "no_binds_when_editing": """binds are always enabled except when an editable editbox or memo has input focus """ }, result='returns true if input mode could be changed, false if invalid parameters are passed.' , ), url='guiSetInputMode', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetPosition', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='x', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='y', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the position of a GUI element.' , arguments={ "theElement": """The GUI element to change position for """, "x": """Position over the X axis """, "y": """Position over the Y axis """, "relative": """Bool that indicates if the x/y positions are relative to the elements parent element. """ }, result='returns true if the position has been successfully set, false otherwise.' , ), url='guiSetPosition', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetProperty', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='property', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='value', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the value of a specific CEGUI property of a GUI element. For a list of properties and their meaning, see the http://static.cegui.org.uk/static/WindowsLookProperties.html CEGUI properties page.' , arguments={ "guiElement": """the GUI element you wish to get a property of. """, "property": """the name of of property you want the value of. """, "value": """the new value for the property. """ }, result='if the function succeeds it returns true, if it fails it returns false.' , ), url='guiSetProperty', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetSelectedTab', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='tabPanel', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='theTab', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function is used to change the currently selected Element/GUI/Tab|tab in a Element/GUI/Tab panel|tab panel.' , arguments={ "tabPanel": """The Element/GUI/Tab panel|tab panel which current tab you want to change. """, "theTab": """The Element/GUI/Tab|tab which will be the new active tab. """ }, result='returns true if the selected tab was changed to a new one successfully, false otherwise.' , ), url='guiSetSelectedTab', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetSize', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='width', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='height', argument_type=FunctionType( names=['float'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='relative', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the dimensions (size) of a GUI element. It refers to the bounding box size for GUI elements. It does not make GUI elements smaller or larger in appearance.' , arguments={ "guiElement": """the GUI element whose visibility is to be changed """, "width": """The desired width setting for the gui element """, "height": """The desired height setting for the gui element """, "relative": """This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent. """ }, result='returns true if the gui elements size was set successfully, false otherwise.' , ), url='guiSetSize', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetText', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='text', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function sets the text of a GUI element.' , arguments={ "guiElement": """The GUI element you wish to change the text of """, "text": """The new text """ }, result='returns true if text has been successfully set on the gui element, false otherwise.' , ), url='guiSetText', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiSetVisible', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='state', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function changes the visibility state of a GUI element.' , arguments={ "guiElement": """the GUI element whose visibility is to be changed """, "state": """the new visibility state """ }, result='returns true if the elements visibility could be changed, false otherwise.' , ), url='guiSetVisible', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiStaticImageGetNativeSize', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['int'], is_optional=False, ), FunctionType( names=['int'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theImage', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function gets the native size of image. That means the original size in pixels of the image file.' , arguments={ "theImage": """The static image element to get the original size of. """ }, result='returns two integers where first is the width and second the height of the image in pixels, false if the image element was invalid.' , ), url='guiStaticImageGetNativeSize', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiStaticImageLoadImage', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='filename', argument_type=FunctionType( names=['string'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function allows you to change the image in GUI static image element to another one. Tip: If you set other images as children you will have to use setElementCallPropagationEnabled to only affect the parent image.' , arguments={ "theElement": """The static image element to be changed. """, "filename": """A string specifying the filepath of the image file being loaded in current resource. """ }, result='returns true if the the image in the static image element was successfully changed, false otherwise.' , ), url='guiStaticImageLoadImage', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiWindowIsMovable', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiWindow', argument_type=FunctionType( names=['gui-window'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "guiWindow": """the window to check the movable flag of """ }, result='returns true if the window is movable, false if not, nil if an invalid window was provided.' , ), url='guiWindowIsMovable', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiWindowIsSizable', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='guiWindow', argument_type=FunctionType( names=['gui-window'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='' , arguments={ "guiWindow": """the window to check the sizable flag of """ }, result='returns true if the window is sizable, false if not, nil if an invalid window was provided.' , ), url='guiWindowIsSizable', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiWindowSetMovable', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='status', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function allows you to specify whether or not a user can move a GUI window.' , arguments={ "theElement": """The window to be changed. """, "status": """A boolean value indicating whether the window is movable or not. """ }, result='returns true if the function is successful, false otherwise.' , ), url='guiWindowSetMovable', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='guiWindowSetSizable', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='theElement', argument_type=FunctionType( names=['element'], is_optional=False, ), default_value=None, ) ], [ FunctionArgument( name='status', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function enables or disables user resizing of a GUI window.' , arguments={ "theElement": """The window to be changed. """, "status": """A boolean value indicating whether user resizing is to be enabled or disabled. """ }, result='returns true if the function is successful, false otherwise.' , ), url='guiWindowSetSizable', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='isChatBoxInputActive', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns whether the ingame chatbox is being used (accepting chatbox input) or not.' , arguments={ }, result='returns true if the chatbox is receiving input, false if not active.' , ), url='isChatBoxInputActive', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='isConsoleActive', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns whether the ingame console window is visible or not.' , arguments={ }, result='returns true if the console is visible, false if not.' , ), url='isConsoleActive', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='isDebugViewActive', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns whether the ingame debug window is visible or not. This is the debugwindow visible using the debugscript <level> command.' , arguments={ }, result='returns true if the debug view is visible, false if not.' , ), url='isDebugViewActive', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='isMainMenuActive', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns whether the user is in the mainmenu or not.' , arguments={ }, result='returns true if the mainmenu is visible, false if not.' , ), url='isMainMenuActive', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='isMTAWindowActive', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns whether any system windows that take focus are active. This includes:\n* Chatbox input\n* Console window\n* Main menu\n* Transferbox\nTo get the status of the debug view, see isDebugViewActive.' , arguments={ }, result='returns true if the focus is on the mta window, false if it isnt.' , ), url='isMTAWindowActive', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='isTransferBoxActive', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function returns whether the file downloading dialog box is active or not. This appears when a resource is started and the client doesnt have all the files that resource requires the client to have.\nIts important to note that resources arent started on the client until theyre completely downloaded, so a resource cannot use this function to detect if its own files are downloaded. A client-side resource triggers the onClientResourceStart event when the files it requires are downloaded.' , arguments={ }, result='returns true if the file transfer box is visible, false if not.' , ), url='isTransferBoxActive', ) ], ), CompoundFunctionData( server=[ ], client=[ FunctionData( signature=FunctionSignature( name='setDebugViewActive', return_types=FunctionReturnTypes( return_types=[ FunctionType( names=['bool'], is_optional=False, ) ], variable_length=False, ), arguments=FunctionArgumentValues( arguments=[ [ FunctionArgument( name='enabled', argument_type=FunctionType( names=['bool'], is_optional=False, ), default_value=None, ) ] ], variable_length=False, ), generic_types=[ ], ), docs=FunctionDoc( description='This function enables or disables the debug window.' , arguments={ "enabled": """true if debug window should be visible, false otherwise. """ }, result='returns true, false if invalid parameters are passed.' , ), url='setDebugViewActive', ) ], ) ]
40.693253
631
0.353495
19,492
344,387
6.151806
0.048174
0.064931
0.054666
0.074972
0.824737
0.806048
0.788151
0.690579
0.67214
0.661624
0
0.001478
0.581451
344,387
8,462
632
40.698062
0.830411
0.000148
0
0.752878
1
0.016777
0.194645
0.011596
0
0
0
0
0
1
0
false
0.003551
0.000245
0
0.000245
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a55840bcd45768e4931c5bbd6fb3e8d79171e4fd
33,373
py
Python
gain_lift_report.py
JustinKurland/gain_lift
2efa09b31a5931a4d33251b218fc36a829ee33a5
[ "MIT" ]
1
2021-12-07T18:44:28.000Z
2021-12-07T18:44:28.000Z
gain_lift_report.py
JustinKurland/gain_lift
2efa09b31a5931a4d33251b218fc36a829ee33a5
[ "MIT" ]
null
null
null
gain_lift_report.py
JustinKurland/gain_lift
2efa09b31a5931a4d33251b218fc36a829ee33a5
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec import pandas_flavor as pf @pf.register_dataframe_method def print_decile_labels(): print( "Column Label Information:\n\n", "cnt_events : Count of events in a particular decile\n", "cnt_true : Count of true labels in a particular decile\n", "cnt_false : Count of false labels in a particular decile\n", "cum_apps : Cumulative sum of events decile-wise \n", "cum_true : Cumulative sum of true labels decile-wise \n", "cum_false : Cumulative sum of false decile-wise \n", "cum_pct_events : Cumulative sum of percentages of events decile-wise \n", "true_rate : Rate of true labels in a particular decile [(cnt_true/cnt_events)*100]\n", "gain : Gain, cumulative sum of percentages of true/false labels decile-wise \n", "loss : Loss, cumulative sum of percentages of false/false labels decile-wise \n", "lift : Lift, cumuative lift value decile-wise" ) @pf.register_dataframe_method def print_quartile_labels(): print( "Column Label Information:\n\n", "cnt_events : Count of events in a particular quartile\n", "cnt_true : Count of true labels in a particular quartile\n", "cnt_false : Count of false labels in a particular quartile\n", "cum_apps : Cumulative sum of events quartile-wise \n", "cum_true : Cumulative sum of true labels quartile-wise \n", "cum_false : Cumulative sum of false labels quartile-wise \n", "cum_pct_events : Cumulative sum of percentages of events quartile-wise \n", "true_rate : Rate of true labels in a particular quartile [(cnt_true/cnt_events)*100]\n", "gain : Gain, cumulative sum of percentages of true labels quartile-wise \n", "loss : Loss, cumulative sum of percentages of false labels quartile-wise \n", "lift : Lift, cumuative lift value quartile-wise" ) @pf.register_dataframe_method def gain_lift_table(y_true, y_prob, category = 0, output_type = "deciles", labels = True, round_decimal = 3): """ Generates the Gain and Lift Table from labels and probabilities for either deciles or quartiles by sorting events by their predicted probabilities, in decreasing order from highest (closest to one) to lowest (closest to zero). Splitting the events into equally sized bins, we create groups containing the same numbers of events, for example, 10 decile groups each containing 10% of the applicant base or 4 groups each containing 25% of the events. Args: y_true ([numpy.ndarray]): Ground truth (correct) target values. y_prob ([numpy.ndarray]): Predicted probabilities for each class returned by a classifier. category ([int, optional]): The category of interest. Defaults to the 0 class/category. labels ([bool, optional]): If True, prints a legend for the abbreviations of decile or quantile table column names. Defaults to True. round_decimal (int, optional): The decimal precision to which the result is needed. Defaults to '3'. Returns: if output_type=="decile": [pandas.DataFrame] The dataframe of deciles and related information. if output_type=="quartile": [pandas.DataFrame] The dataframe of quartiles and related information. Example: >>> from sklearn.datasets import load_breast_cancer >>> from sklearn.model_selection import train_test_split >>> from sklearn import tree >>> X, y = load_breast_cancer(return_X_y=True) >>> X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.33,random_state=3) >>> clf = tree.DecisionTreeClassifier(max_depth=1,random_state=3) >>> clf = clf.fit(X_train, y_train) >>> y_prob = clf.predict_proba(X_test) >>> gain_lift_table(y_test, y_prob[:,0]) """ # Outputs Decile Table if output_type=="deciles": y_true = np.array(y_true) y_prob = np.array(y_prob) df = pd.DataFrame() df['y_true'] = y_true df['y_prob'] = y_prob df.sort_values('y_prob', ascending=False, inplace=True) df['decile'] = np.linspace(1, 11, len(df), False, dtype=int) # dt abbreviation for gain_lift_table dt = df.groupby('decile').apply(lambda x: pd.Series([ np.size(x['y_prob']), np.sum(x['y_true']), np.size(x['y_true'][x['y_true'] == category]), np.min(x['y_prob']), np.max(x['y_prob']), np.mean(x['y_prob']) ], index=(["cnt_events", "cnt_false", "cnt_true", "prob_min", "prob_max", "prob_avg" ]) )).reset_index() tmp = df[['y_true']].sort_values('y_true', ascending=False) tmp['decile'] = np.linspace(1, 11, len(tmp), False, dtype=int) dt['true_rate'] = round(dt['cnt_true'] * 100 / dt['cnt_events'], round_decimal) dt['misrep_rate'] = round(dt['cnt_false'] * 100 / dt['cnt_events'], round_decimal) dt['cum_apps'] = np.cumsum(dt['cnt_events']) dt['cum_true'] = np.cumsum(dt['cnt_true']) dt['cum_false'] = np.cumsum(dt['cnt_false']) dt['cum_pct_events'] = round(dt['cum_apps'] * 100 / np.sum(dt['cnt_events']), round_decimal) dt['gain'] = round(dt['cum_true'] * 100 / np.sum(dt['cnt_true']), round_decimal) dt['loss'] = round(dt['cum_false'] * 100 / np.sum(dt['cnt_false']), round_decimal) dt['lift'] = round(dt['gain'] / dt['cum_pct_events'], round_decimal) # Arrange Column Order dt = dt[['decile','cnt_events', 'cnt_true', 'cnt_false', 'cum_apps', 'cum_true', 'cum_false', 'cum_pct_events', 'true_rate', 'misrep_rate', 'gain', 'loss', 'lift']] if labels is True: print_decile_labels() return dt # Outputs Quartile Table if output_type=="quartiles": y_true = np.array(y_true) y_prob = np.array(y_prob) df = pd.DataFrame() df['y_true'] = y_true df['y_prob'] = y_prob df.sort_values('y_prob', ascending=False, inplace=True) df['quartile'] = np.linspace(1, 5, len(df), False, dtype=int) # qt abbreviation for quartile_table qt = df.groupby('quartile').apply(lambda x: pd.Series([ np.size(x['y_prob']), np.sum(x['y_true']), np.size(x['y_true'][x['y_true'] == category]), np.min(x['y_prob']), np.max(x['y_prob']), np.mean(x['y_prob']) ], index=(["cnt_events", "cnt_false", "cnt_true", "prob_min", "prob_max", "prob_avg" ]) )).reset_index() tmp = df[['y_true']].sort_values('y_true', ascending=False) tmp['quartile'] = np.linspace(1, 5, len(tmp), False, dtype=int) qt['true_rate'] = round(qt['cnt_true'] * 100 / qt['cnt_events'], round_decimal) qt['misrep_rate'] = round(qt['cnt_false'] * 100 / qt['cnt_events'], round_decimal) qt['cum_apps'] = np.cumsum(qt['cnt_events']) qt['cum_true'] = np.cumsum(qt['cnt_true']) qt['cum_false'] = np.cumsum(qt['cnt_false']) qt['cum_pct_events'] = round(qt['cum_apps'] * 100 / np.sum(qt['cnt_events']), round_decimal) qt['gain'] = round(qt['cum_true'] * 100 / np.sum(qt['cnt_true']), round_decimal) qt['loss'] = round(qt['cum_false'] * 100 / np.sum(qt['cnt_false']), round_decimal) qt['lift'] = round(qt['gain'] / qt['cum_pct_events'], round_decimal) qt['quartile_pct'] = [0.25, 0.50, 0.75, 1.00] # Change Column Order qt = qt[['quartile','quartile_pct','cnt_events', 'cnt_true', 'cnt_false', 'cum_apps', 'cum_true', 'cum_false', 'cum_pct_events', 'true_rate', 'misrep_rate', 'gain', 'loss', 'lift']] if labels is True: print_quartile_labels() return qt @pf.register_dataframe_method def plot_lift(y_true, y_prob, category = 0, output_type = "deciles", line_color = '#0E4978', line_width = 1, title = 'Lift Chart', title_fontsize = 14, title_weight = "bold", text_fontsize = 10, x_ax_title = "Events", x_ax_weight = "bold", y_ax_title = "Lift", y_ax_weight = "bold", ax_title_size = 12, grid_color = "#EEEEEE", grid_line_width = 0.8, legend_size = 'small', figsize = None): """ Generates a cumulative lift plot from labels and probabilities for either deciles or quartiles. It measures how much better one can expect to do with the predictive model compared to without a model. It is the ratio of gain percentage to the random expectation percentage at a given decile/quantile level. The random expectation is that the xth decile/quantile is x%. Args: y_true ([numpy.ndarray]): Ground truth (correct) target values. y_prob ([numpy.ndarray]): Predicted probabilities for each class returned by a classifier. category ([int, optional]): The category of interest. Defaults to the 0 class/category. output_type ([str, optional]): String of either 'deciles' or 'quantiles' specifying if decile values or quantile values are plotted. Default is 'deciles' line_color ([str, optional)]: String specifying the color of the lines that will be plotted. Defaults to black. line_width ([float, optional)]: Width of the lines that will divide each cell. Defaults to 1. title ([str, optional]): Title of the generated plot. Defaults to "Lift Chart". title_fontsize ([str or int, optional]): Use e.g. "small", "medium", "large" or integer-values (8, 10, 12, etc.) Defaults to 14. text_fontsize ([string or int, optional]): Use e.g. "small", "medium", "large" or integer-values (8, 10, 12, etc.) Defaults to 10. x_ax_title ([str, optional]): X-axis title of the generated plot. Defaults to "events". x_ax_weight ([str, optional]): String specifying the x-axis title weight if title is desired, choices include the default, which is 'bold', 'light', 'normal', 'medium', 'semibold', 'heavy', and 'black'. y_ax_title ([str, optional]): Y-axis title of the generated plot. Defaults to "Lift". y_ax_weight ([str, optional]): String specifying the y-axis title weight if title is desired, choices include the default, which is 'bold', 'light', 'normal', 'medium', 'semibold', 'heavy', and 'black'. ax_title_size ([int, optional]): Integer for axis title font size. Default value is 12. grid_color ([str, optional]): String specifying the color of the lower value of the color scale. Defaults to '#EEEEEE'. grid_line_width ([float, optional)]: Width of the grid lines. Defaults to 0.8. legend_size ([str or int, optional]): String {'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'} or integer for the legend size. Defaults to 'small'. figsize ([int,int]): Tuple denoting figure size of the plot, e.g. (6, 6). Defaults to `None`. Returns: if output_type=="decile": [matplotlib.axes._subplots.AxesSubplot] Plot of cumulative lift at each decile. if output_type=="quartile": [matplotlib.axes._subplots.AxesSubplot] Plot of cumulative lift at each quartile. Example: >>> from sklearn.datasets import load_breast_cancer >>> from sklearn.model_selection import train_test_split >>> from sklearn import tree >>> X, y = load_breast_cancer(return_X_y=True) >>> X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.33,random_state=3) >>> clf = tree.DecisionTreeClassifier(max_depth=1,random_state=3) >>> clf = clf.fit(X_train, y_train) >>> y_prob = clf.predict_proba(X_test) >>> plot_lift(y_test, y_prob[:,0]) """ # Decile Lift Plot if output_type=="deciles": pl = gain_lift_table(y_true,y_prob,labels=False, category=category, output_type="deciles") plt.plot(pl.decile.values, pl.lift.values, marker='o', label='Model', color=str(line_color), linewidth=line_width) plt.plot([0, 10], [1, 1], 'k--', marker='o', label='Baseline') plt.title(title, fontsize=title_fontsize, fontweight=title_weight) plt.xticks([0,2,4,6,8,10],['0%', '20%', '40%', '60%', '80%', '100%']) plt.xlabel(x_ax_title, fontsize=text_fontsize, fontweight=x_ax_weight) plt.ylabel(y_ax_title, fontsize=text_fontsize, fontweight=y_ax_weight) plt.legend(loc=0, fontsize=legend_size) plt.grid(which='major', color=grid_color, linewidth=grid_line_width) # Quartile Lift Plot if output_type=="quartiles": pl = gain_lift_table(y_true,y_prob,labels=False, category=category, output_type="quartiles") plt.plot(pl.quartile.values, pl.lift.values, marker='o', label='Model', color=str(line_color), linewidth=line_width) plt.plot([0, 4], [1, 1], 'k--', marker='o', label='Baseline') plt.title(title, fontsize=title_fontsize, fontweight=title_weight) plt.xticks([0,1,2,3,4],['0%', '25%', '50%', '75%', '100%']) plt.xlabel(x_ax_title, fontsize=text_fontsize, fontweight=x_ax_weight) plt.ylabel(y_ax_title, fontsize=text_fontsize, fontweight=y_ax_weight) plt.legend(loc=0, fontsize=legend_size) plt.grid(which='major', color=grid_color, linewidth=grid_line_width) @pf.register_dataframe_method def plot_gain(y_true, y_prob, category = 0, output_type = "deciles", line_color = '#0E4978', line_width = 1, title = 'Gain Chart', title_fontsize = 14, title_weight = "bold", text_fontsize = 10, x_ax_title = "Events", x_ax_weight = "bold", y_ax_title = "Gain", y_ax_weight = "bold", ax_title_size = 12, x_label = 0.5, y_label = 1.48, grid_color = "#EEEEEE", grid_line_width = 0.8, legend_size = 'small', figsize = None): """ Generates the cumulative gain plot from labels and probabilities for either deciles or quartiles. Gain at a given decile/quantile level is the ratio of the cumulative number of targets (events) up to that decile/quantile to the total number of targets (events) in the entire data set. Args: y_true ([numpy.ndarray]): Ground truth (correct) target values. y_prob ([numpy.ndarray]): Predicted probabilities for each class returned by a classifier. category ([int, optional]): The category of interest. Defaults to the 0 class/category. output_type ([str, optional]): String of either 'deciles' or 'quantiles' specifying if decile values or quantile values are plotted. Default is 'deciles' line_color ([str, optional)]: String specifying the color of the lines that will be plotted. Defaults to black. line_width ([float, optional)]: Width of the lines that will divide each cell. Defaults to 1. title ([str, optional]): Title of the generated plot. Defaults to "Lift Chart". title_fontsize ([str or int, optional]): Use e.g. "small", "medium", "large" or integer-values (8, 10, 12, etc.) Defaults to 14. text_fontsize ([string or int, optional]): Use e.g. "small", "medium", "large" or integer-values (8, 10, 12, etc.) Defaults to 10. x_ax_title ([str, optional]): X-axis title of the generated plot. Defaults to "events". x_ax_weight ([str, optional]): String specifying the x-axis title weight if title is desired, choices include the default, which is 'bold', 'light', 'normal', 'medium', 'semibold', 'heavy', and 'black'. y_ax_title ([str, optional]): Y-axis title of the generated plot. Defaults to "Gain". y_ax_weight ([str, optional]): String specifying the y-axis title weight if title is desired, choices include the default, which is 'bold', 'light', 'normal', 'medium', 'semibold', 'heavy', and 'black'. ax_title_size ([int, optional]): Integer for axis title font size. Default value is 12. grid_color ([str, optional]): String specifying the color of the lower value of the color scale. Defaults to '#EEEEEE'. grid_line_width ([float, optional)]: Width of the grid lines. Defaults to 0.8. legend_size ([str or int, optional]): String {'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'} or integer for the legend size. Defaults to 'small'. figsize ([int,int]): Tuple denoting figure size of the plot, e.g. (6, 6). Defaults to `None`. Returns: if output_type=="decile": [matplotlib.axes._subplots.AxesSubplot] Plot of cumulative gain at each decile. if output_type=="quartile": [matplotlib.axes._subplots.AxesSubplot] Plot of cumulative gain at each quartile. Example: >>> from sklearn.datasets import load_breast_cancer >>> from sklearn.model_selection import train_test_split >>> from sklearn import tree >>> X, y = load_breast_cancer(return_X_y=True) >>> X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.33,random_state=3) >>> clf = tree.DecisionTreeClassifier(max_depth=1,random_state=3) >>> clf = clf.fit(X_train, y_train) >>> y_prob = clf.predict_proba(X_test) >>> plot_gain(y_test, y_prob[:,0]) """ # Decile Gain Plot if output_type=="deciles": pcg = gain_lift_table(y_true,y_prob,labels=False, category=category, output_type="deciles") plt.plot(np.append(0, pcg.decile.values), np.append(0, pcg.gain.values), marker='o', label='Model', color=str(line_color), linewidth=line_width) plt.plot([0, 10], [0, 100], 'k--', marker='o', label='Baseline') for i, txt in enumerate(pcg['cum_true'].values.astype(np.int64).tolist()): plt.annotate(txt, (pcg['decile'].index[i]+.5, pcg['cum_true'].values[i]*y_label),fontsize=9) plt.title(title, fontsize=title_fontsize, fontweight=title_weight) plt.xticks([0,2,4,6,8,10],['0%', '20%', '40%', '60%', '80%', '100%']) plt.xlabel(x_ax_title, fontsize=text_fontsize, fontweight=x_ax_weight) plt.gca().set_yticklabels(['{:.0f}%'.format(x*1) for x in plt.gca().get_yticks()]) plt.ylabel(y_ax_title, fontsize=text_fontsize, fontweight=y_ax_weight) plt.legend(loc=0, fontsize=legend_size) plt.grid(which='major', color=grid_color, linewidth=grid_line_width) # Quartile Gain Plot if output_type=="quartiles": pcg = gain_lift_table(y_true,y_prob,labels=False, category=category, output_type="quartiles") plt.plot(np.append(0, pcg.quartile.values), np.append(0, pcg.gain.values), marker='o', label='Model', color=str(line_color), linewidth=line_width) plt.plot([0, 4], [0, 100], 'k--', marker='o', label='Baseline') for i, txt in enumerate(pcg['cum_true'].values.astype(np.int64).tolist()): plt.annotate(txt, (pcg['quartile'].index[i]+x_label, pcg['cum_true'].values[i]*y_label),fontsize=9) plt.title(title, fontsize=title_fontsize, fontweight=title_weight) plt.xticks([0,1,2,3,4],['0%', '25%', '50%', '75%', '100%']) plt.xlabel(x_ax_title, fontsize=text_fontsize, fontweight=x_ax_weight) plt.gca().set_yticklabels(['{:.0f}%'.format(x*1) for x in plt.gca().get_yticks()]) plt.ylabel(y_ax_title, fontsize=text_fontsize, fontweight=y_ax_weight) plt.legend(loc=0, fontsize=legend_size) plt.grid(which='major', color=grid_color, linewidth=grid_line_width) @pf.register_dataframe_method def gain_lift_report(y_true, y_prob, category = 0, output_type = "deciles", line_color = '#0E4978', line_width = 1, title_fontsize = 14, title_weight = "bold", text_fontsize = 10, x_ax_title = "Events", x_ax_weight = "bold", y_lift_ax_title = "Lift", y_gain_ax_title = "Gain", y_ax_weight = "bold", y_lab_pad_right = -525, ax_title_size = 12, grid_color = "#EEEEEE", grid_line_width = 0.8, labels = True, plot_style = None, round_decimal = 3, legend_size = 'small', figsize = (16, 10)): """ Generates gain/lift table and 2 plots (Gain & Lift) from labels and probabilities. The lift measures how much better one can expect to do with the predictive model compared to without a model. It is the ratio of gain percentage to the random expectation percentage at a given decile/quantile level. The random expectation is that the xth decile/quantile is x%. While the gain provides a ratio of the cumulative number of targets (events) up to that decile/quantile to the total number of targets (events) in the entire data set. Args: y_true ([numpy.ndarray]): Ground truth (correct) target values. y_prob ([numpy.ndarray]): Predicted probabilities for each class returned by a classifier. category ([int, optional]): The category of interest. Defaults to the 0 class/category. output_type ([str, optional]): String of either 'deciles' or 'quantiles' specifying if decile values or quantile values are plotted. Default is 'deciles' line_color ([str, optional)]: String specifying the color of the lines that will be plotted. Defaults to black. line_width ([float, optional)]: Width of the lines that will divide each cell. Defaults to 1. title ([str, optional]): Title of the generated plot. Defaults to "Lift Chart". title_fontsize ([str or int, optional]): Use e.g. "small", "medium", "large" or integer-values (8, 10, 12, etc.) Defaults to 14. text_fontsize ([string or int, optional]): Use e.g. "small", "medium", "large" or integer-values (8, 10, 12, etc.) Defaults to 10. x_ax_title ([str, optional]): X-axis title of the generated plot. Defaults to "events". x_ax_weight ([str, optional]): String specifying the x-axis title weight if title is desired, choices include the default, which is 'bold', 'light', 'normal', 'medium', 'semibold', 'heavy', and 'black'. y_lift_ax_title ([str, optional]): Y-axis title of the generated plot. Defaults to "Lift". y_gain_ax_title ([str, optional]): Y-axis title of the generated plot. Defaults to "Gain". y_ax_weight ([str, optional]): String specifying the y-axis title weight if title is desired, choices include the default, which is 'bold', 'light', 'normal', 'medium', 'semibold', 'heavy', and 'black'. y_lab_pad_right ([float, optional]): Float specifying how much to pad the y-axis title for Lift. ax_title_size ([int, optional]): Integer for axis title font size. Default value is 12. grid_color ([str, optional]): String specifying the color of the lower value of the color scale. Defaults to '#EEEEEE'. grid_line_width ([float, optional)]: Width of the grid lines. Defaults to 0.8. plot_style(string, optional): Check available styles "plt.style.available". ['default', 'classic', 'Solarize_Light2', '_classic_test_patch', 'bmh', 'dark_background', 'fast', 'fivethirtyeight', 'ggplot', 'grayscale', 'seaborn', 'seaborn-bright', 'seaborn-colorblind', 'seaborn-dark', 'seaborn-dark-palette', 'seaborn-darkgrid', 'seaborn-deep', 'seaborn-muted', 'seaborn-notebook', 'seaborn-pastel', 'seaborn-poster', 'seaborn-talk', 'seaborn-ticks', 'seaborn-white', 'seaborn-whitegrid', 'tableau-colorblind10'] Defaults to `default`. round_decimal (int, optional): The decimal precision till which the result is needed. Defaults to '3'. title_fontsize (string or int, optional): Matplotlib-style fontsizes. Use e.g. "small", "medium", "large" or integer-values (8, 10, 12, etc.) Defaults to 14. text_fontsize (string or int, optional): Matplotlib-style fontsizes. Use e.g. "small", "medium", "large" or integer-values (8, 10, 12, etc.) Defaults to 10. legend_size ([str or int, optional]): String {'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'} or integer for the legend size. Defaults to 'small'. figsize ([int,int]): Tuple denoting figure size of the plot, e.g. (6, 6). Defaults to `None`. Returns: if output_type=="decile": [pandas.DataFrame] The dataframe of deciles and related information. & [matplotlib.axes._subplots.AxesSubplot] Plot of cumulative gain and lift at each decile. if output_type=="quartile": [pandas.DataFrame] The dataframe of quartiles and related information. & [matplotlib.axes._subplots.AxesSubplot] Plot of cumulative gain and lift at each quartile. Example: >>> from sklearn.datasets import load_breast_cancer >>> from sklearn.model_selection import train_test_split >>> from sklearn import tree >>> X, y = load_breast_cancer(return_X_y=True) >>> X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.33,random_state=3) >>> clf = tree.DecisionTreeClassifier(max_depth=1,random_state=3) >>> clf = clf.fit(X_train, y_train) >>> y_prob = clf.predict_proba(X_test) >>> gain_lift_report(y_test, y_prob[:,0]) """ # Decile Gain Plot if output_type=="deciles": dc = gain_lift_table(y_true, y_prob, category=category, output_type="deciles", labels=labels, round_decimal=round_decimal) if plot_style is None: None else: plt.style.use(plot_style) # Set Plot/Subplot Dimensions fig = plt.figure(figsize=figsize) # Cumulative Gains Plot plt.subplot(2, 2, 1) plot_gain(y_true, y_prob, category = category, output_type = "deciles", line_color = line_color, line_width = line_width, title_fontsize = title_fontsize, title_weight = title_weight, text_fontsize = text_fontsize, x_ax_title = x_ax_title, x_ax_weight = x_ax_weight, y_ax_title = y_gain_ax_title, y_ax_weight = y_ax_weight, ax_title_size = ax_title_size, legend_size = legend_size, grid_color = grid_color, grid_line_width = grid_line_width) # Cumulative Lift Plot plt.subplot(2, 2, 2) plt.tick_params(axis='y', which='both', labelleft=False, labelright=True) plt.tick_params(left=False, bottom=True) plt.ylabel(y_lift_ax_title, labelpad=y_lab_pad_right) plot_lift(y_true, y_prob, category = category, output_type ="deciles", line_color = line_color, line_width = line_width, title_fontsize = title_fontsize, title_weight = title_weight, text_fontsize = text_fontsize, x_ax_title = x_ax_title, x_ax_weight = x_ax_weight, y_ax_title = y_lift_ax_title, y_ax_weight = y_ax_weight, ax_title_size = ax_title_size, legend_size = legend_size, grid_color = grid_color, grid_line_width = grid_line_width) plt.tight_layout() return dc # Quartile Gain Plot if output_type=="quartiles": qc = gain_lift_table(y_true, y_prob, category=category, output_type="quartiles", labels=labels, round_decimal=round_decimal) if plot_style is None: None else: plt.style.use(plot_style) # Set Plot/Subplot Dimensions fig = plt.figure(figsize=figsize) # Cumulative Gains Plot plt.subplot(2, 2, 1) plot_gain(y_true, y_prob, output_type = "quartiles", line_color = line_color, line_width = line_width, title_fontsize = title_fontsize, title_weight = title_weight, text_fontsize = text_fontsize, x_ax_title = x_ax_title, x_ax_weight = x_ax_weight, y_ax_title = y_gain_ax_title, y_ax_weight = y_ax_weight, ax_title_size = ax_title_size, legend_size = legend_size, grid_color = grid_color, grid_line_width = grid_line_width) # Cumulative Lift Plot plt.subplot(2, 2, 2) plt.tick_params(axis='y', which='both', labelleft=False, labelright=True) plt.tick_params(left=False, bottom=True) plt.ylabel(y_lift_ax_title, labelpad=y_lab_pad_right) plot_lift(y_true, y_prob, output_type = "quartiles", line_color = line_color, line_width = line_width, title_fontsize = title_fontsize, title_weight = title_weight, text_fontsize = text_fontsize, x_ax_title = x_ax_title, x_ax_weight = x_ax_weight, y_ax_title = y_lift_ax_title, y_ax_weight = y_ax_weight, ax_title_size = ax_title_size, legend_size = legend_size, grid_color = grid_color, grid_line_width = grid_line_width) plt.tight_layout() return qc
45.77915
190
0.565157
4,129
33,373
4.376605
0.087673
0.020917
0.005976
0.008854
0.881855
0.85889
0.837419
0.810304
0.79979
0.790382
0
0.016056
0.326282
33,373
728
191
45.842033
0.787671
0.436011
0
0.705167
0
0
0.173799
0.003309
0
0
0
0
0
1
0.018237
false
0
0.015198
0
0.045593
0.018237
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a5704d66b8713f963923860d896008105a97a072
1,349
py
Python
up_revendas/core/migrations/0007_auto_20210126_2052.py
MikaelSantilio/uprevendas-api
f04312988ffe3231f68ae0ebeaed9eaf0a7914b0
[ "MIT" ]
1
2021-08-24T00:32:12.000Z
2021-08-24T00:32:12.000Z
up_revendas/core/migrations/0007_auto_20210126_2052.py
MikaelSantilio/uprevendas-api
f04312988ffe3231f68ae0ebeaed9eaf0a7914b0
[ "MIT" ]
null
null
null
up_revendas/core/migrations/0007_auto_20210126_2052.py
MikaelSantilio/uprevendas-api
f04312988ffe3231f68ae0ebeaed9eaf0a7914b0
[ "MIT" ]
null
null
null
# Generated by Django 3.0.11 on 2021-01-26 23:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0006_auto_20210126_2044'), ] operations = [ migrations.AlterField( model_name='purchase', name='active', field=models.BooleanField(default=True, verbose_name='Ativo'), ), migrations.AlterField( model_name='purchase', name='created_at', field=models.DateTimeField(auto_now_add=True, verbose_name='Criado em'), ), migrations.AlterField( model_name='purchase', name='updated_at', field=models.DateTimeField(auto_now=True, verbose_name='Atualizado em'), ), migrations.AlterField( model_name='sale', name='active', field=models.BooleanField(default=True, verbose_name='Ativo'), ), migrations.AlterField( model_name='sale', name='created_at', field=models.DateTimeField(auto_now_add=True, verbose_name='Criado em'), ), migrations.AlterField( model_name='sale', name='updated_at', field=models.DateTimeField(auto_now=True, verbose_name='Atualizado em'), ), ]
30.659091
84
0.581913
133
1,349
5.714286
0.353383
0.157895
0.197368
0.228947
0.805263
0.805263
0.730263
0.681579
0.681579
0.681579
0
0.033934
0.300964
1,349
43
85
31.372093
0.772004
0.034099
0
0.810811
1
0
0.1299
0.017679
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a575361c73de5ea8457a181e12deffae64b925b0
138
py
Python
gsplines/plottool/__init__.py
rafaelrojasmiliani/gsplines
663b10f6d53b498a1e892d9eb32a345153de36d2
[ "MIT" ]
3
2021-08-28T01:42:40.000Z
2021-12-02T22:39:45.000Z
gsplines/plottool/__init__.py
rafaelrojasmiliani/gsplines
663b10f6d53b498a1e892d9eb32a345153de36d2
[ "MIT" ]
null
null
null
gsplines/plottool/__init__.py
rafaelrojasmiliani/gsplines
663b10f6d53b498a1e892d9eb32a345153de36d2
[ "MIT" ]
null
null
null
from .plottool import show_piecewisefunction from .plottool import show_func_matrix_array from .plottool import compare_func_matrix_array
34.5
47
0.891304
19
138
6.105263
0.473684
0.310345
0.465517
0.37931
0
0
0
0
0
0
0
0
0.086957
138
3
48
46
0.920635
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
a5a81d343a1407bd5f54d1b3cea2ee2d5d1fd4ec
596
py
Python
apps/bookstore/management/commands/run_my_function.py
goutomroy/django_select_prefetch_related
489d7e058c6283b52c8b2690aaff0dfed93cfc07
[ "Apache-2.0" ]
17
2019-12-11T11:02:01.000Z
2021-10-06T11:58:23.000Z
apps/bookstore/management/commands/run_my_function.py
ChrisAchinga/django_select_prefetch_related
36c7e76ccc871b85f146b437d92e69eaab1c9dfe
[ "Apache-2.0" ]
8
2019-12-04T23:09:42.000Z
2021-06-10T17:45:57.000Z
apps/bookstore/management/commands/run_my_function.py
ChrisAchinga/django_select_prefetch_related
36c7e76ccc871b85f146b437d92e69eaab1c9dfe
[ "Apache-2.0" ]
7
2019-12-11T11:02:06.000Z
2021-10-06T09:55:25.000Z
from django.core.management.base import BaseCommand from apps.bookstore.db_queries import book_list, book_list_select_related, store_list, \ store_list_prefetch_related, \ store_list_expensive_books_prefetch_related, store_list_expensive_books_prefetch_related_efficient class Command(BaseCommand): def handle(self, *args, **options): # book_list() # book_list_select_related() # store_list() store_list_prefetch_related() # store_list_expensive_books_prefetch_related() # store_list_expensive_books_prefetch_related_efficient()
29.8
102
0.766779
71
596
5.887324
0.380282
0.172249
0.229665
0.229665
0.703349
0.703349
0.703349
0.703349
0.703349
0.703349
0
0
0.166107
596
19
103
31.368421
0.841046
0.256711
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
8
b1c9a0cd7c578ac3e0ac1d4ead2f52e7ab027a0b
732
py
Python
tests/test_in_memory_key_store.py
hupe1980/cryptoshredding
1ab5ee452c4435f486006aa2cc1a7bee440d91fe
[ "MIT" ]
null
null
null
tests/test_in_memory_key_store.py
hupe1980/cryptoshredding
1ab5ee452c4435f486006aa2cc1a7bee440d91fe
[ "MIT" ]
null
null
null
tests/test_in_memory_key_store.py
hupe1980/cryptoshredding
1ab5ee452c4435f486006aa2cc1a7bee440d91fe
[ "MIT" ]
null
null
null
import os from . import create_in_memory_key_store def test_key_generation(): key_store = create_in_memory_key_store() key_id = "key1" new_main_key = key_store.create_main_key(key_id) main_key = key_store.get_main_key(key_id) assert main_key.key_id == new_main_key.key_id assert main_key.key_bytes == new_main_key.key_bytes def test_create_with_key_bytes(): key_store = create_in_memory_key_store() key_id = "key1" key_bytes = os.urandom(32) new_main_key = key_store.create_main_key(key_id=key_id, key_bytes=key_bytes) main_key = key_store.get_main_key(key_id) assert main_key.key_id == new_main_key.key_id assert key_bytes == main_key.key_bytes == new_main_key.key_bytes
28.153846
80
0.759563
130
732
3.746154
0.161538
0.229979
0.328542
0.197125
0.804928
0.726899
0.726899
0.726899
0.726899
0.591376
0
0.006494
0.15847
732
25
81
29.28
0.784091
0
0
0.470588
0
0
0.010929
0
0
0
0
0
0.235294
1
0.117647
false
0
0.117647
0
0.235294
0
0
0
0
null
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
b1d06c9d885e2e0caee339feecf82df8a6721dde
15,994
py
Python
sysevr/slicer/slice_op.py
Saleh-Ibtasham/VulScrape
738d17e9dd7e5edc2341d106361651fd28f99c61
[ "PostgreSQL", "Unlicense", "MIT" ]
1
2021-04-12T12:59:33.000Z
2021-04-12T12:59:33.000Z
sysevr/slicer/slice_op.py
Jokers-grin/VulScrape
738d17e9dd7e5edc2341d106361651fd28f99c61
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
sysevr/slicer/slice_op.py
Jokers-grin/VulScrape
738d17e9dd7e5edc2341d106361651fd28f99c61
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
from .general_op import * def sub_slice_backwards(startnode, list_node, not_scan_list): if startnode['name'] in not_scan_list: return list_node, not_scan_list else: list_node.append(startnode) not_scan_list.append(startnode['name']) predecessors = startnode.predecessors() if predecessors != []: for p_node in predecessors: list_node, not_scan_list = sub_slice_backwards(p_node, list_node, not_scan_list) return list_node, not_scan_list def program_slice_backwards(pdg, list_startNode):#startNode is a list list_all_node = [] not_scan_list = [] for startNode in list_startNode: list_node = [startNode] not_scan_list.append(startNode['name']) predecessors = startNode.predecessors() if predecessors != []: for p_node in predecessors: list_node, not_scan_list = sub_slice_backwards(p_node, list_node, not_scan_list) list_all_node += list_node #Add function define line if startNode['functionId'] in not_scan_list: continue for node in pdg.vs: if node['name'] == startNode['functionId']: list_all_node.append(node) not_scan_list.append(node['name']) break print("list_all_node:", list_all_node) list_ordered_node = sortedNodesByLoc(list_all_node) _list_re = [] a = 0 while a < len(list_ordered_node): if list_ordered_node[a]['name'] not in _list_re: _list_re.append(list_ordered_node[a]['name']) a += 1 else: del list_ordered_node[a] return list_ordered_node def sub_slice_forward(startnode, list_node, not_scan_list): if startnode['name'] in not_scan_list: return list_node, not_scan_list else: list_node.append(startnode) not_scan_list.append(startnode['name']) successors = startnode.successors() if successors != []: for p_node in successors: list_node, not_scan_list = sub_slice_forward(p_node, list_node, not_scan_list) return list_node, not_scan_list def program_slice_forward(pdg, list_startNode):#startNode is a list of parameters, only consider data dependency pdg = del_ctrl_edge(pdg) list_all_node = [] not_scan_list = [] for startNode in list_startNode: list_node = [startNode] not_scan_list.append(startNode['name']) successors = startNode.successors() if successors != []: for p_node in successors: list_node, not_scan_list = sub_slice_forward(p_node, list_node, not_scan_list) list_all_node += list_node list_ordered_node = sortedNodesByLoc(list_all_node) a = 0 _list_re = [] while a < len(list_ordered_node): if list_ordered_node[a]['name'] not in _list_re: _list_re.append(list_ordered_node[a]['name']) a += 1 else: del list_ordered_node[a] return list_ordered_node def process_cross_func(to_scan_list, testID, slicetype, list_result_node, not_scan_func_list): if to_scan_list == []: return list_result_node, not_scan_func_list for node in to_scan_list: if node['name'] in not_scan_func_list: continue ret = isNewOrDelOp(node, testID) if ret: funcname = ret pdg = getFuncPDGByNameAndtestID(funcname, testID) if pdg == False: not_scan_func_list.append(node['name']) continue else: result_list = sortedNodesByLoc(pdg.vs) not_scan_func_list.append(node['name']) index = 0 for result_node in list_result_node: if result_node['name'] == node['name']: break else: index += 1 list_result_node = list_result_node[:index+1] + result_list + list_result_node[index+1:] list_result_node, not_scan_func_list = process_cross_func(result_list, testID, slicetype, list_result_node, not_scan_func_list) else: ret = isFuncCall(node)#if funccall ,if so ,return funcnamelist if ret: for funcname in ret: if funcname.find('->') != -1: real_funcname = funcname.split('->')[-1].strip() objectname = funcname.split('->')[0].strip() funcID = node['functionId'] src_pdg = getFuncPDGByfuncIDAndtestID(funcID, testID) if src_pdg == False: continue classname = False for src_pnode in src_pdg.vs: if src_pnode['code'].find(objectname) != -1 and src_pnode['code'].find(' new ') != -1: tempvalue = src_pnode['code'].split(' new ')[1].replace('*', '').strip() if tempvalue.split(' ')[0] != 'const': classname = tempvalue.split(' ')[0] else: classname = tempvalue.split(' ')[1] break if classname == False: continue funcname = classname + ' :: ' + real_funcname pdg = getFuncPDGByNameAndtestID_noctrl(funcname, testID) elif funcname.find('.') != -1: real_funcname = funcname.split('.')[-1].strip() objectname = funcname.split('.')[0].strip() funcID = node['functionId'] src_pdg = getFuncPDGByNameAndtestID_noctrl(funcID, testID) if src_pdg == False: continue classname = False for src_pnode in src_pdg.vs: if src_pnode['code'].find(objectname) != -1 and src_pnode['code'].find(' new ') != -1: tempvalue = src_pnode['code'].split(' new ')[1].replace('*', '').strip() if tempvalue.split(' ')[0] != 'const': classname = tempvalue.split(' ')[0] else: classname = tempvalue.split(' ')[1] break if classname == False: continue funcname = classname + ' :: ' + real_funcname pdg = getFuncPDGByNameAndtestID(funcname, testID) elif funcname.find('.') != -1: real_funcname = funcname.split('.')[-1].strip() objectname = funcname.split('.')[0].strip() funcID = node['functionId'] src_pdg = getFuncPDGByfuncIDAndtestID(funcID, testID) classname = False for src_pnode in src_pdg.vs: if src_pnode['code'].find(objectname) != -1 and src_pnode['code'].find(' new ') != -1: tempvalue = src_pnode['code'].split(' new ')[1].replace('*', '').strip() if tempvalue.split(' ')[0] != 'const': classname = tempvalue.split(' ')[0] else: classname = tempvalue.split(' ')[1] break if classname == False: continue funcname = classname + ' :: ' + real_funcname pdg = getFuncPDGByNameAndtestID(funcname, testID) else: pdg = getFuncPDGByNameAndtestID(funcname, testID) if pdg == False: not_scan_func_list.append(node['name']) continue else: if slicetype == 0: ret_node = [] for vertex in pdg.vs: if vertex['type'] == 'ReturnStatement': ret_node.append(vertex) result_list = program_slice_backwards(pdg, ret_node) not_scan_func_list.append(node['name']) index = 0 for result_node in list_result_node: if result_node['name'] == node['name']: break else: index += 1 list_result_node = list_result_node[:index+1] + result_list + list_result_node[index+1:] list_result_node, not_scan_func_list = process_cross_func(result_list, testID, slicetype, list_result_node, not_scan_func_list) elif slicetype == 1: param_node = [] FuncEntryNode = False for vertex in pdg.vs: if vertex['type'] == 'Parameter': param_node.append(vertex) elif vertex['type'] == 'Function': FuncEntryNode = vertex if param_node != []: result_list = program_slice_forward(pdg, param_node) else: result_list = sortedNodesByLoc(pdg.vs) not_scan_func_list.append(node['name']) index = 0 for result_node in list_result_node: if result_node['name'] == node['name']: break else: index += 1 if FuncEntryNode != False: result_list.insert(0, FuncEntryNode) list_result_node = list_result_node[:index+1] + result_list + list_result_node[index+1:] list_result_node, not_scan_func_list = process_cross_func(result_list, testID, slicetype, list_result_node, not_scan_func_list) return list_result_node, not_scan_func_list def process_crossfuncs_back_byfirstnode(list_tuple_results_back, testID, i, not_scan_func_list): #is not a good way in time, list_tuple_results_back=[(results_back, itertimes)] while i < len(list_tuple_results_back): iter_time = list_tuple_results_back[i][1] if iter_time == 3 or iter_time == -1:#allow cross 3 funcs: i += 1 continue else: list_node = list_tuple_results_back[i][0] if len(list_node) == 1: i += 1 continue if list_node[1]['type'] == 'Parameter': func_name = list_node[0]['name'] path = os.path.join('dict_call2cfgNodeID_funcID', testID, 'dict.pkl') if not os.path.exists(path): i += 1 continue fin = open(path, 'rb') _dict = pickle.load(fin) fin.close() if func_name not in _dict.keys(): list_tuple_results_back[i][1] = -1 i += 1 continue else: list_cfgNodeID = _dict[func_name] dict_func_pdg = getFuncPDGBynodeIDAndtestID(list_cfgNodeID, testID) iter_time += 1 _new_list = [] for item in dict_func_pdg.items(): targetPDG = item[1] startnode = [] for n in targetPDG.vs: if n['name'] == item[0]:#is id startnode = [n] break if startnode == []: continue ret_list = program_slice_backwards(targetPDG, startnode) not_scan_func_list.append(startnode[0]['name']) ret_list = ret_list + list_node _new_list.append([ret_list, iter_time]) if _new_list != []: del list_tuple_results_back[i] list_tuple_results_back = list_tuple_results_back + _new_list list_tuple_results_back, not_scan_func_list = process_crossfuncs_back_byfirstnode(list_tuple_results_back, testID, i, not_scan_func_list) else: list_tuple_results_back[i][1] = -1 i += 1 continue else: funcname = list_node[0]['code'] if (funcname.find("::") > -1) and (os.path.exists(os.path.join('dict_call2cfgNodeID_funcID', testID, 'dict.pkl'))): path = os.path.join('dict_call2cfgNodeID_funcID', testID, 'dict.pkl')#get funname and it call place fin = open(path, 'rb') _dict = pickle.load(fin) fin.close() func_name = list_node[0]['name'] if func_name not in _dict.keys(): list_tuple_results_back[i][1] = -1 i += 1 continue else: list_cfgNodeID = _dict[func_name] dict_func_pdg = getFuncPDGBynodeIDAndtestID(list_cfgNodeID, testID) iter_time += 1 _new_list = [] for item in dict_func_pdg.items(): targetPDG = item[1] startnode = [] for n in targetPDG.vs: if n['name'] == item[0]:#is id startnode = [n] break if startnode == []: continue ret_list = program_slice_backwards(targetPDG, startnode) not_scan_func_list.append(startnode[0]['name']) ret_list = ret_list + list_node _new_list.append([ret_list, iter_time]) if _new_list != []: del list_tuple_results_back[i] list_tuple_results_back = list_tuple_results_back + _new_list list_tuple_results_back, not_scan_func_list = process_crossfuncs_back_byfirstnode(list_tuple_results_back, testID, i, not_scan_func_list) else: list_tuple_results_back[i][1] = -1 i += 1 continue else: i += 1 continue return list_tuple_results_back, not_scan_func_list
40.287154
165
0.465737
1,509
15,994
4.620278
0.090789
0.047189
0.042599
0.049484
0.835485
0.824727
0.815548
0.806368
0.780694
0.763339
0
0.009572
0.451294
15,994
396
166
40.388889
0.784868
0.017694
0
0.811448
0
0
0.029932
0.004968
0
0
0
0
0
1
0.020202
false
0
0.003367
0
0.053872
0.003367
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b1e258d6d57472a07cdefcbba7b03437eda089f6
3,530
py
Python
Code/venv/src/GUI_testing/test_register_page.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
null
null
null
Code/venv/src/GUI_testing/test_register_page.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
38
2021-04-01T18:09:31.000Z
2021-05-08T17:27:03.000Z
Code/venv/src/GUI_testing/test_register_page.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
3
2021-04-16T07:25:11.000Z
2022-01-29T10:24:33.000Z
from selenium import webdriver from django.contrib.staticfiles.testing import StaticLiveServerTestCase from unittest import skip import time class TestRegisterPage(StaticLiveServerTestCase): def setUp(self): self.browser = webdriver.Chrome('GUI_testing/chromedriver.exe') def tearDown(self): self.browser.close() #@skip("Don't want to test") def test_able_to_register_with_valid_email_and_password(self): self.browser.get(self.live_server_url + "/register") self.browser.find_element_by_id("inputEmail").send_keys("paresh@gmail.com") self.browser.find_element_by_id("inputPassword1").send_keys("1#XxYyZz") self.browser.find_element_by_id("inputPassword2").send_keys("1#XxYyZz") self.browser.find_elements_by_id("showPass")[0].click() time.sleep(3) self.browser.find_elements_by_class_name("btn")[1].click() time.sleep(3) new_url = self.live_server_url + "/account/" self.assertEquals(self.browser.current_url, new_url) #@skip("Don't want to test") def test_not_able_to_register_with_invalid_email_field(self): self.browser.get(self.live_server_url + "/register") def clear_fields(self): input_email = self.browser.find_element_by_id("inputEmail") input_email.clear() password1 = self.browser.find_element_by_id("inputPassword1") password1.clear() password2 = self.browser.find_element_by_id("inputPassword2") password2.clear() tests = ["", "paresh", "paresh.com", "paresh@", "paresh@.com", "@.com"] self.browser.find_elements_by_id("showPass")[0].click() for i in tests: clear_fields(self) self.browser.find_element_by_id("inputEmail").send_keys(i) self.browser.find_element_by_id("inputPassword1").send_keys("1#XxYyZzx") self.browser.find_element_by_id("inputPassword2").send_keys("1#XxYyZzx") time.sleep(2) self.browser.find_elements_by_class_name("btn")[1].click() time.sleep(2) new_url = self.live_server_url + "/register/" self.assertEquals(self.browser.current_url, new_url) #@skip("Don't want to test") def test_not_able_to_register_with_invalid_password_field(self): self.browser.get(self.live_server_url + "/register") def clear_fields(self): input_email = self.browser.find_element_by_id("inputEmail") input_email.clear() password1 = self.browser.find_element_by_id("inputPassword1") password1.clear() password2 = self.browser.find_element_by_id("inputPassword2") password2.clear() tests = ["", "paresh", "1#Paresh", "1#XxYy", "password", "123456789", "1#XxYyZz"] for i in tests: clear_fields(self) self.browser.find_element_by_id("inputEmail").send_keys("paresh@gmail.com") self.browser.find_element_by_id("inputPassword1").send_keys(i) if (i=="1#XxYyZz"): i = i + "a" self.browser.find_element_by_id("inputPassword2").send_keys(i) self.browser.find_elements_by_id("showPass")[0].click() time.sleep(2) self.browser.find_elements_by_class_name("btn")[1].click() time.sleep(2) new_url = self.live_server_url + "/register/" self.assertEquals(self.browser.current_url, new_url)
41.529412
89
0.648159
441
3,530
4.895692
0.190476
0.147754
0.145901
0.152849
0.807781
0.807781
0.796202
0.790644
0.779064
0.717925
0
0.017216
0.226629
3,530
84
90
42.02381
0.773626
0.022946
0
0.625
0
0
0.135229
0.008125
0
0
0
0
0.046875
1
0.109375
false
0.3125
0.0625
0
0.1875
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
593967d2d5250970f02531abe105f7984c95340d
18,530
py
Python
tests/unittests/test_admin_panel/test_admin_functions.py
eugeneandrienko/PyArtistsGallery
b75114955859d45d9dfb5c901213f25a6e09f488
[ "MIT" ]
null
null
null
tests/unittests/test_admin_panel/test_admin_functions.py
eugeneandrienko/PyArtistsGallery
b75114955859d45d9dfb5c901213f25a6e09f488
[ "MIT" ]
null
null
null
tests/unittests/test_admin_panel/test_admin_functions.py
eugeneandrienko/PyArtistsGallery
b75114955859d45d9dfb5c901213f25a6e09f488
[ "MIT" ]
null
null
null
"""Tests for administrator's functions from admin's panel.""" import string import re import unittest from unittest.mock import patch from unittest.mock import MagicMock from pagapp.admin_panel.admin_functions import change_password, add_new_album, \ upload_files, common_settings from pagapp.support_functions import remove_danger_symbols class ChangePasswordTestCase(unittest.TestCase): """Tests for change_password() function.""" @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.flash') @patch('pagapp.admin_panel.admin_functions.request') def test_change_password(self, mock_request, mock_flash, mock_app): """Test for change_password(). Test case: If request.method equals with 'POST' and form.validate() is True - we should set new password for current user and call flash() function with category = 'success'. """ path_to_db = 'pagapp.admin_panel.admin_functions.db' path_to_current_user = 'pagapp.admin_panel.admin_functions.current_user' with patch(path_to_db) as mock_db, \ patch(path_to_current_user) as mock_current_user: mock_db.session.commit.return_value = None mock_form = MagicMock() mock_form.submit_button.data = True mock_form.new_password.data.return_value = None mock_form.validate.return_value = True mock_request.method = 'POST' change_password(mock_form) mock_current_user.set_new_password.assert_called_with( remove_danger_symbols(mock_form.new_password.data)) self.assertTrue(mock_db.session.commit.called) self.assertTrue(mock_flash.called) mock_flash.assert_called_with('Password successfully changed', category='success') del mock_app @patch('pagapp.admin_panel.admin_functions.current_app') def test_change_password_submission(self, mock_app): """Test for change password. Test case: If form.submit_button.data is False we should immediately return from function. """ mock_form = MagicMock() mock_form.submit_button.data = False change_password(mock_form) self.assertFalse(mock_form.validate.called) del mock_app @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.flash_form_errors') @patch('pagapp.admin_panel.admin_functions.request') def test_change_password_not_post(self, mock_request, mock_flash_form_errors, mock_app): """Test for change_password(). Test case: If request.method not equals with 'POST' - we should call flash_form_errors() function. """ mock_form = MagicMock() mock_form.validate.return_value = True mock_form.submit_button.data = True mock_request.method = 'GET' change_password(mock_form) self.assertTrue(mock_flash_form_errors.called) del mock_app @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.flash_form_errors') @patch('pagapp.admin_panel.admin_functions.request') def test_change_password_not_validated(self, mock_request, mock_flash_form_errors, mock_app): """Tests for change_password(). Test case: If form.validate() is not True - we should call flash_form_errors() function. """ mock_form = MagicMock() mock_form.validate.return_value = False mock_form.submit_button.data = True mock_request.method = 'POST' change_password(mock_form) self.assertTrue(mock_flash_form_errors.called) del mock_app @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.flash_form_errors') @patch('pagapp.admin_panel.admin_functions.request') def test_change_password_not_post_not_valid(self, mock_request, mock_flash_form_errors, mock_app): """Tests for change_password(). Test case: If request.method not equals with 'POST' and form.validate() is not True - we should call flash_form_errors() function. """ mock_form = MagicMock() mock_form.validate.return_value = False mock_form.submit_button.data = True mock_request.method = 'GET' change_password(mock_form) self.assertTrue(mock_flash_form_errors.called) del mock_app class AddNewAlbumTestCase(unittest.TestCase): """Tests for add_new_album() function.""" @patch('pagapp.admin_panel.admin_functions.current_app') def test_add_new_album_submission(self, mock_app): """Test for add_new_album() function. Test case: If form is not submitted we should immediately return from function. """ mock_form = MagicMock() mock_form.submit_button.data = False add_new_album(mock_form) self.assertFalse(mock_form.validate.called) del mock_app @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.request') @patch('pagapp.admin_panel.admin_functions.flash_form_errors') def test_add_new_album_flash_errors( self, mock_flash_form_errors, mock_request, mock_app): """Test for add_new_album() function. Test case: If form is submitted and not validated - function should call flash_form_errors() form. """ mock_form = MagicMock() mock_form.submit_button.data = True mock_form.validate.return_value = False mock_request.method = 'POST' add_new_album(mock_form) self.assertTrue(mock_flash_form_errors.called) del mock_app @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.Albums') def test_add_new_album(self, mock_albums, mock_app): """Test for add_new_album() function. Test case: If form is submitted and validated - we should add new album in database. In this case URL of the album does not exists in the database. """ path_to_request = 'pagapp.admin_panel.admin_functions.request' path_to_db = 'pagapp.admin_panel.admin_functions.db' path_to_flash = 'pagapp.admin_panel.admin_functions.flash' with patch(path_to_request) as mock_request, \ patch(path_to_db) as mock_db, \ patch(path_to_flash) as mock_flash: mock_form = MagicMock() mock_form.submit_button.data = True mock_form.validate.return_value = True mock_request.method = 'POST' test_album_name = 'Test Album name 1!' test_album_description = 'test album description' mock_form.album_name.data = test_album_name mock_form.album_description.data = test_album_description mock_albums.query.filter_by.return_value.count.return_value = 0 url_part = test_album_name.lower() url_part = url_part.strip(string.punctuation) whitespace_re = re.compile('[' + string.whitespace + ']') url_part = whitespace_re.sub('-', url_part) add_new_album(mock_form) mock_albums.assert_called_with( remove_danger_symbols(url_part), remove_danger_symbols(test_album_name), remove_danger_symbols(test_album_description)) del mock_db del mock_flash del mock_app @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.random') @patch('pagapp.admin_panel.admin_functions.Albums') def test_add_new_album_url_exists(self, mock_albums, mock_random, mock_app): """Test for add_new_album() function. Test case: If form is submitted and validated - we should add new album in database. In this case URL of the album exists in the database and we should add random string to the URL. """ path_to_request = 'pagapp.admin_panel.admin_functions.request' path_to_db = 'pagapp.admin_panel.admin_functions.db' path_to_flash = 'pagapp.admin_panel.admin_functions.flash' with patch(path_to_request) as mock_request, \ patch(path_to_db) as mock_db, \ patch(path_to_flash) as mock_flash: mock_form = MagicMock() mock_form.submit_button.data = True mock_form.validate.return_value = True mock_request.method = 'POST' test_album_name = 'Test Album name 1!' test_album_description = 'test album description' mock_form.album_name.data = test_album_name mock_form.album_description.data = test_album_description mock_albums.query.filter_by.return_value.count.return_value = 1 url_part = test_album_name.lower() url_part = url_part.strip(string.punctuation) whitespace_re = re.compile('[' + string.whitespace + ']') url_part = whitespace_re.sub('-', url_part) url_part = remove_danger_symbols(url_part) mock_random.choice.return_value = 'x' url_part += 'xxxxx' add_new_album(mock_form) mock_albums.assert_called_with( url_part, remove_danger_symbols(test_album_name), remove_danger_symbols(test_album_description)) del mock_db del mock_flash del mock_app class UploadFilesTestCase(unittest.TestCase): """Tests for upload_files() function.""" def test_upload_files_submit_false(self): """Test for upload_files(). Test case: If form is not submitted - function should return immediately. Before, it should update form.album.choices array anyway. Also, in this test checks form.album.choices updating. """ mock_form = MagicMock() mock_form.submit_button.data = False path_to_albums = 'pagapp.admin_panel.admin_functions.Albums' with patch(path_to_albums) as mock_albums: mock_album = MagicMock() test_id = 1 test_album_name = 'test1' mock_album.id = test_id mock_album.album_name = test_album_name mock_albums.query.all.return_value = [mock_album] upload_files(mock_form) self.assertEqual(mock_form.album.choices[0], (str(test_id), test_album_name)) @patch('pagapp.admin_panel.admin_functions.save_file') def test_upload_files(self, mock_save_file): """Test for upload_files(). Test case: Form validated successfully - we should save file. """ mock_form = MagicMock() mock_form.submit_button.data = True path_to_current_app = 'pagapp.admin_panel.admin_functions.current_app' path_to_albums = 'pagapp.admin_panel.admin_functions.Albums' path_to_request = 'pagapp.admin_panel.admin_functions.request' with patch(path_to_current_app) as mock_current_app, \ patch(path_to_albums) as mock_albums, \ patch(path_to_request) as mock_request: mock_album = MagicMock() test_id = 1 test_album_name = 'test1' mock_album.id = test_id mock_album.album_name = test_album_name mock_albums.query.all.return_value = [mock_album] mock_request.method = 'POST' mock_current_app.config['UPLOAD_FOLDER'] = 'test' upload_files(mock_form) self.assertTrue(mock_save_file.called) def test_upload_files_not_valid(self): """Test for upload_files(). Test case: Form not validated or request.method is not 'POST' or both. Logger function debug() should be called and flash_form_errors() should be called too. """ mock_form = MagicMock() mock_form.submit_button.data = True path_to_current_app = 'pagapp.admin_panel.admin_functions.current_app' path_to_flash_form_errors = \ 'pagapp.admin_panel.admin_functions.flash_form_errors' path_to_albums = 'pagapp.admin_panel.admin_functions.Albums' path_to_request = 'pagapp.admin_panel.admin_functions.request' with patch(path_to_current_app) as mock_current_app, \ patch(path_to_flash_form_errors) as mock_flash_form_errors, \ patch(path_to_albums) as mock_albums, \ patch(path_to_request) as mock_request: mock_album = MagicMock() test_id = 1 test_album_name = 'test1' mock_album.id = test_id mock_album.album_name = test_album_name mock_albums.query.all.return_value = [mock_album] mock_request.method = 'GET' upload_files(mock_form) self.assertTrue(mock_current_app.logger.debug.called) self.assertTrue(mock_flash_form_errors.called) class CommonSettingsTestCase(unittest.TestCase): """Tests for common_settings() function.""" @patch('pagapp.admin_panel.admin_functions.db') @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.Configuration') @patch('pagapp.admin_panel.admin_functions.request') def test_common_settings_normal(self, mock_request, mock_configuration, mock_app, mock_db): """Test for common_settings() function. Test case: Function work in normal mode without exceptions and other fails. """ mock_gallery_title = 'mock_gallery_title' mock_gallery_description = 'mock_gellery_description' mock_form = MagicMock() mock_form.gallery_title.data = mock_gallery_title mock_form.gallery_description.data = mock_gallery_description mock_form.submit_button.data = True mock_form.validate.return_value = True mock_request.method = 'POST' common_settings(mock_form) self.assertTrue(mock_configuration.query.first.return_value .gallery_title, mock_gallery_title) del mock_app del mock_db @patch('pagapp.admin_panel.admin_functions.Configuration') def test_common_settings_nosubmit_dbconf(self, mock_configuration): """Test for common_settings() function. Test case: Form not submitted and all necessary data loaded from database. """ mock_form = MagicMock() mock_form.submit_button.data = False mock_configuration.query.first.return_value.gallery_title = 'test' mock_configuration.query.first.return_value.gallery_description = 'test' common_settings(mock_form) @patch('pagapp.admin_panel.admin_functions.Configuration') @patch('pagapp.admin_panel.admin_functions.current_app') def test_common_settings_nosubmit_nodbconf(self, mock_app, mock_configuration): """Test for common_settings() function. Test case: Form is not submitted and data could not loaded from database. """ mock_form = MagicMock() mock_form.submit_button.data = False mock_configuration.query.first.side_effect = AttributeError() common_settings(mock_form) self.assertTrue(mock_app.logger.error.called) @patch('pagapp.admin_panel.admin_functions.flash_form_errors') @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.request') def test_common_settings_wrong_request(self, mock_request, mock_app, mock_flash_form_errors): """Test for common_settings() function. Test case: Given request is not POST request. """ mock_form = MagicMock() mock_form.__name__ = 'form' mock_form.submit_button.data = True mock_form.validate.return_value = True mock_request.method = 'GET' common_settings(mock_form) self.assertTrue(mock_app.logger.debug.called) self.assertTrue(mock_flash_form_errors.called) @patch('pagapp.admin_panel.admin_functions.flash_form_errors') @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.request') def test_common_settings_form_not_valid(self, mock_request, mock_app, mock_flash_form_errors): """Test for common_settings() function. Test case: Form could not pass validation process. """ mock_form = MagicMock() mock_form.__name__ = 'form' mock_form.submit_button.data = True mock_form.validate.return_value = False mock_request.method = 'POST' common_settings(mock_form) self.assertTrue(mock_app.logger.debug.called) self.assertTrue(mock_flash_form_errors.called) @patch('pagapp.admin_panel.admin_functions.flash') @patch('pagapp.admin_panel.admin_functions.db') @patch('pagapp.admin_panel.admin_functions.current_app') @patch('pagapp.admin_panel.admin_functions.Configuration') @patch('pagapp.admin_panel.admin_functions.request') def test_common_settings_new_settings_not_saved_to_db( self, mock_request, mock_configuration, mock_app, mock_db, mock_flash): """Test for common_settings() function. Test case: Got error, when saving new settings to the database. """ mock_form = MagicMock() mock_form.submit_button.data = True mock_form.validate.return_value = True mock_request.method = 'POST' mock_configuration.query.first.side_effect = AttributeError() common_settings(mock_form) self.assertTrue(mock_flash.called) del mock_app del mock_db if __name__ == '__main__': unittest.main()
38.68476
80
0.660173
2,255
18,530
5.074058
0.076718
0.054536
0.081105
0.10645
0.824768
0.78107
0.760706
0.721552
0.711239
0.679339
0
0.000801
0.258716
18,530
478
81
38.76569
0.832193
0.144846
0
0.744108
0
0
0.184593
0.168076
0
0
0
0
0.077441
1
0.060606
false
0.053872
0.023569
0
0.097643
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
3ce213c529ae0baaae95841aaaf2252d9114427e
10,051
py
Python
tests/unit_tests/test_gro_files.py
MauriceKarrenbrock/FSDAMGromacs
7da70a5fa8f31e93f283a4c7ffc31911b2b143aa
[ "BSD-3-Clause" ]
null
null
null
tests/unit_tests/test_gro_files.py
MauriceKarrenbrock/FSDAMGromacs
7da70a5fa8f31e93f283a4c7ffc31911b2b143aa
[ "BSD-3-Clause" ]
null
null
null
tests/unit_tests/test_gro_files.py
MauriceKarrenbrock/FSDAMGromacs
7da70a5fa8f31e93f283a4c7ffc31911b2b143aa
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # pylint: disable=missing-docstring # pylint: disable=redefined-outer-name # pylint: disable=no-self-use ############################################################# # Copyright (c) 2020-2020 Maurice Karrenbrock # # # # This software is open-source and is distributed under the # # BSD 3-Clause "New" or "Revised" License # ############################################################# import FSDAMGromacs.gro_files as gro_files class Testadd_atom_to_gro_file(): def test_works(self, mocker): fake_input_gro = [ 'test-g\n', ' 6\n', ' 1LIG c01 1 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 1LIG h01 2 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 1LIG cl01 3 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 1LIG c02 4 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 1LIG h02 5 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 1LIG cl02 6 -0.084 -0.012 -0.068 -0.0722 -0.1160 0.2136\n', ' 50.00000 50.00000 50.00000\n' ] expected_output_gro = [ 'test-g\n', ' 7\n', ' 1LIG c01 1 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 1LIG h01 2 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 1LIG cl01 3 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 1LIG c02 4 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 1LIG h02 5 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 1LIG cl02 6 -0.084 -0.012 -0.068 -0.0722 -0.1160 0.2136\n 2MUD MU 7 0.011 0.022 0.033 0.0011 0.0022 0.0033\n', # pylint: disable=line-too-long ' 50.00000 50.00000 50.00000\n' ] mocker.patch('PythonAuxiliaryFunctions.files_IO.read_file.read_file', return_value=fake_input_gro) mocked_write = mocker.patch( 'PythonAuxiliaryFunctions.files_IO.write_file.write_file') gro_files.add_atom_to_gro_file('input_path', 'output_path', (0.011, 0.022, 0.033), (0.0011, 0.0022, 0.0033), 'MU', 'MUD') mocked_write.assert_called_once_with(expected_output_gro, 'output_path') class Testmerge_gro_files(): def test_works_boxdefault(self, mocker): fake_input_gro_1 = [ 'test-g 1\n', ' 6\n', ' 1LIG c01 1 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 1LIG h01 2 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 1LIG cl01 3 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 2PEP c02 4 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 2PEP h02 5 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 2PEP cl02 6 -0.084 -0.012 -0.068 -0.0722 -0.1160 0.2136\n', ' 50.00000 50.00000 50.00000\n' ] fake_input_gro_2 = [ 'test-g 2\n', ' 5\n', ' 1CYS c01 1 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 1CYS h01 2 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 2TST cl01 3 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 2TST c02 4 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 2TST h02 5 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 40.00000 40.00000 40.00000\n' ] expected_output_gro = [ 'Merged gro files\n', ' 11\n', ' 1LIG c01 1 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 1LIG h01 2 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 1LIG cl01 3 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 2PEP c02 4 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 2PEP h02 5 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 2PEP cl02 6 -0.084 -0.012 -0.068 -0.0722 -0.1160 0.2136\n', ' 3CYS c01 7 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 3CYS h01 8 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 4TST cl01 9 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 4TST c02 10 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 4TST h02 11 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 50.00000 50.00000 50.00000\n' ] mocker.patch('PythonAuxiliaryFunctions.files_IO.read_file.read_file', side_effect=[fake_input_gro_1, fake_input_gro_2]) mocked_write = mocker.patch( 'PythonAuxiliaryFunctions.files_IO.write_file.write_file') gro_files.merge_gro_files('input_1.gro', 'input_2.gro', 'output_gro.gro') mocked_write.assert_called_once_with(expected_output_gro, 'output_gro.gro') def test_works_box_lenghts(self, mocker): fake_input_gro_1 = [ 'test-g 1\n', ' 6\n', ' 1LIG c01 1 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 1LIG h01 2 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 1LIG cl01 3 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 2PEP c02 4 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 2PEP h02 5 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 2PEP cl02 6 -0.084 -0.012 -0.068 -0.0722 -0.1160 0.2136\n', ' 50.00000 50.00000 50.00000\n' ] fake_input_gro_2 = [ 'test-g 2\n', ' 5\n', ' 1CYS c01 1 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 1CYS h01 2 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 2TST cl01 3 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 2TST c02 4 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 2TST h02 5 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 40.00000 40.00000 40.00000\n' ] expected_output_gro = [ 'Merged gro files\n', ' 11\n', ' 1LIG c01 1 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 1LIG h01 2 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 1LIG cl01 3 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 2PEP c02 4 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 2PEP h02 5 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 2PEP cl02 6 -0.084 -0.012 -0.068 -0.0722 -0.1160 0.2136\n', ' 3CYS c01 7 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 3CYS h01 8 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 4TST cl01 9 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 4TST c02 10 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 4TST h02 11 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 1.00000 2.00000 3.00000\n' ] mocker.patch('PythonAuxiliaryFunctions.files_IO.read_file.read_file', side_effect=[fake_input_gro_1, fake_input_gro_2]) mocked_write = mocker.patch( 'PythonAuxiliaryFunctions.files_IO.write_file.write_file') gro_files.merge_gro_files('input_1.gro', 'input_2.gro', 'output_gro.gro', choose_box=None, box_lenghts=(1, 2, 3)) mocked_write.assert_called_once_with(expected_output_gro, 'output_gro.gro') class Testremove_velocities(): def test_works(self, mocker): fake_input_gro = [ 'test-g 1\n', ' 6\n', ' 1LIG c01 1 0.125 0.004 0.092 0.0780 0.2389 0.2170\n', ' 1LIG h01 2 0.161 -0.096 0.067 -0.0004 0.8299 -2.4035\n', ' 1LIG cl01 3 0.227 0.091 0.195 0.0790 -0.1586 -0.2172\n', ' 2PEP c02 4 0.018 0.063 0.040 -0.1374 0.4773 -0.1111\n', ' 2PEP h02 5 -0.010 0.165 0.067 0.4681 0.2968 1.2689\n', ' 2PEP cl02 6 -0.084 -0.012 -0.068 -0.0722 -0.1160 0.2136\n', ' 50.00000 50.00000 50.00000\n' ] expected_output_gro = [ 'test-g 1\n', ' 6\n', ' 1LIG c01 1 0.125 0.004 0.092\n', ' 1LIG h01 2 0.161 -0.096 0.067\n', ' 1LIG cl01 3 0.227 0.091 0.195\n', ' 2PEP c02 4 0.018 0.063 0.040\n', ' 2PEP h02 5 -0.010 0.165 0.067\n', ' 2PEP cl02 6 -0.084 -0.012 -0.068\n', ' 50.00000 50.00000 50.00000\n' ] mocker.patch('PythonAuxiliaryFunctions.files_IO.read_file.read_file', return_value=fake_input_gro) mocked_write = mocker.patch( 'PythonAuxiliaryFunctions.files_IO.write_file.write_file') gro_files.remove_velocities('input_gro.gro', 'output_gro.gro') mocked_write.assert_called_once_with(expected_output_gro, 'output_gro.gro')
51.020305
188
0.45687
1,546
10,051
2.879043
0.098965
0.0337
0.024714
0.044035
0.888115
0.888115
0.888115
0.888115
0.888115
0.888115
0
0.39159
0.408517
10,051
196
189
51.280612
0.357107
0.038404
0
0.743421
0
0.407895
0.608353
0.045335
0
0
0
0
0.026316
1
0.026316
false
0
0.006579
0
0.052632
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
ab9b661c84bb7066bf6ec3dc0abbe9ee3c2a8887
3,407
py
Python
tests/test_hamiltonian.py
jmcelve2/cheshire
b0ee61559f1d4c139ffa9138189d32d2d8027a34
[ "MIT" ]
8
2018-03-23T01:27:21.000Z
2022-01-29T06:05:49.000Z
tests/test_hamiltonian.py
jmcelve2/cheshire
b0ee61559f1d4c139ffa9138189d32d2d8027a34
[ "MIT" ]
9
2018-02-13T11:34:33.000Z
2018-09-01T06:31:21.000Z
tests/test_hamiltonian.py
jmcelve2/cheshire
b0ee61559f1d4c139ffa9138189d32d2d8027a34
[ "MIT" ]
3
2020-04-13T08:33:13.000Z
2021-03-21T11:55:12.000Z
from cheshire.Hamiltonian import Hamiltonian class TestEndToEnd(object): def test_well1d(self): grid_params = dict(n_x=32, n_e=2, x_min=-20, x_max=20) pot_params = dict(c_x=0, l_x=5) Hamiltonian(grid_params=grid_params, pot_params=pot_params) assert True def test_well2d(self): grid_params = dict(n_x=32, n_y=32, n_e=1, x_min=-20, x_max=20, y_min=-20, y_max=20) pot_params = dict(c_x=0, c_y=0, l_x=5, l_y=5) Hamiltonian(grid_params=grid_params, pot_params=pot_params) assert True def test_sho2d(self): grid_params = dict(n_x=32, n_y=32, n_e=1, x_min=-20, x_max=20, y_min=-20, y_max=20) pot_params = dict(c_x=0, c_y=0, k_x=1, k_y=1) Hamiltonian(grid_params=grid_params, pot_params=pot_params) assert True def test_dig2d(self): grid_params = dict(n_x=32, n_y=32, n_e=1, x_min=-20, x_max=20, y_min=-20, y_max=20) pot_params = dict(a1=2, a2=2, c_x1=-2, c_x2=2, c_y1=-2, c_y2=2, k_x1=2, k_x2=2, k_y1=2, k_y2=2) Hamiltonian(grid_params=grid_params, pot_params=pot_params) assert True def test_rand2d(self): grid_params = dict(n_x=32, n_y=32, n_e=1, x_min=-20, x_max=20, y_min=-20, y_max=20) pot_params = dict(k=2, r=20, sig1=3, sig2=5, p=2) Hamiltonian(grid_params=grid_params, pot_params=pot_params) assert True def test_coul2d(self): grid_params = dict(n_x=32, n_y=32, n_e=1, x_min=-20, x_max=20, y_min=-20, y_max=20) pot_params = dict(z=1, c_x=0, c_y=0, alpha=10**-9) Hamiltonian(grid_params=grid_params, pot_params=pot_params) assert True class TestSolve(object): def test_well1d(self): grid_params = dict(n_x=32, n_e=2, x_min=-20, x_max=20) pot_params = dict(c_x=0, l_x=5) h = Hamiltonian(grid_params=grid_params, pot_params=pot_params) h.solve() assert True def test_well2d(self): grid_params = dict(n_x=32, n_y=32, n_e=1, x_min=-20, x_max=20, y_min=-20, y_max=20) pot_params = dict(c_x=0, c_y=0, l_x=5, l_y=5) h = Hamiltonian(grid_params=grid_params, pot_params=pot_params) h.solve() assert True def test_sho2d(self): grid_params = dict(n_x=32, n_y=32, n_e=1, x_min=-20, x_max=20, y_min=-20, y_max=20) pot_params = dict(c_x=0, c_y=0, k_x=1, k_y=1) h = Hamiltonian(grid_params=grid_params, pot_params=pot_params) h.solve() assert True def test_dig2d(self): grid_params = dict(n_x=32, n_y=32, n_e=1, x_min=-20, x_max=20, y_min=-20, y_max=20) pot_params = dict(a1=2, a2=2, c_x1=-2, c_x2=2, c_y1=-2, c_y2=2, k_x1=2, k_x2=2, k_y1=2, k_y2=2) h = Hamiltonian(grid_params=grid_params, pot_params=pot_params) h.solve() assert True def test_rand2d(self): grid_params = dict(n_x=32, n_y=32, n_e=1, x_min=-20, x_max=20, y_min=-20, y_max=20) pot_params = dict(k=2, r=20, sig1=3, sig2=5, p=2) h = Hamiltonian(grid_params=grid_params, pot_params=pot_params) h.solve() assert True def test_coul2d(self): grid_params = dict(n_x=32, n_y=32, n_e=1, x_min=-20, x_max=20, y_min=-20, y_max=20) pot_params = dict(z=1, c_x=0, c_y=0, alpha=10**-9) h = Hamiltonian(grid_params=grid_params, pot_params=pot_params) h.solve() assert True
39.16092
103
0.63076
673
3,407
2.893016
0.081724
0.1849
0.1849
0.11094
0.963534
0.963534
0.963534
0.963534
0.963534
0.963534
0
0.092846
0.228647
3,407
86
104
39.616279
0.648021
0
0
0.956522
0
0
0
0
0
0
0
0
0.173913
1
0.173913
false
0
0.014493
0
0.217391
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
aba7ec9e99f12011f76e954b3fcecce4762bd994
3,254
py
Python
testing/functional_tests/test_extract_small_dataset.py
cakester/ivadomed
321a91c7e3c82e6296764895e39695b04a80c8af
[ "MIT" ]
null
null
null
testing/functional_tests/test_extract_small_dataset.py
cakester/ivadomed
321a91c7e3c82e6296764895e39695b04a80c8af
[ "MIT" ]
6
2021-03-24T16:23:29.000Z
2021-04-08T15:22:53.000Z
testing/functional_tests/test_extract_small_dataset.py
cakester/ivadomed
321a91c7e3c82e6296764895e39695b04a80c8af
[ "MIT" ]
null
null
null
import logging import os from functional_tests.t_utils import remove_tmp_dir, __tmp_dir__, create_tmp_dir, __data_testing_dir__ from ivadomed.scripts import extract_small_dataset logger = logging.getLogger(__name__) def setup_function(): create_tmp_dir() def test_extract_small_dataset_default_n(): __output_dir__ = os.path.join(__tmp_dir__, 'output_extract_small_dataset') extract_small_dataset.main(args=['--input', __data_testing_dir__, '--output', __output_dir__]) assert os.path.exists(__output_dir__) output_dir_list = os.listdir(__output_dir__) assert 'derivatives' in output_dir_list assert 'participants.tsv' in output_dir_list assert 'dataset_description.json' in output_dir_list assert 'sub-unf01' in output_dir_list or \ 'sub-unf02' in output_dir_list or \ 'sub-unf03' in output_dir_list def test_extract_small_dataset_n_2(): __output_dir__ = os.path.join(__tmp_dir__, 'output_extract_small_dataset_2') extract_small_dataset.main(args=['--input', __data_testing_dir__, '--output', __output_dir__, '-n', '2']) assert os.path.exists(__output_dir__) output_dir_list = os.listdir(__output_dir__) assert 'derivatives' in output_dir_list assert 'participants.tsv' in output_dir_list assert 'dataset_description.json' in output_dir_list assert ('sub-unf01' in output_dir_list and 'sub-unf02' in output_dir_list) or \ ('sub-unf01' in output_dir_list and 'sub-unf03' in output_dir_list) or \ ('sub-unf03' in output_dir_list and 'sub-unf02' in output_dir_list) assert 'sub-unf01' not in output_dir_list or \ 'sub-unf02' not in output_dir_list or \ 'sub-unf03' not in output_dir_list def test_extract_small_dataset_no_derivatives(): __output_dir__ = os.path.join(__tmp_dir__, 'output_extract_small_dataset_3') extract_small_dataset.main(args=['--input', __data_testing_dir__, '--output', __output_dir__, '-d', '0']) assert os.path.exists(__output_dir__) output_dir_list = os.listdir(__output_dir__) assert 'derivatives' not in output_dir_list assert 'participants.tsv' in output_dir_list assert 'dataset_description.json' in output_dir_list assert 'sub-unf01' in output_dir_list or \ 'sub-unf02' in output_dir_list or \ 'sub-unf03' in output_dir_list def test_extract_small_dataset_contrast_list(): __output_dir__ = os.path.join(__tmp_dir__, 'output_extract_small_dataset_4') extract_small_dataset.main(args=['--input', __data_testing_dir__, '--output', __output_dir__, '-c', 'T1w, T2w']) assert os.path.exists(__output_dir__) output_dir_list = os.listdir(__output_dir__) assert 'derivatives' in output_dir_list assert 'participants.tsv' in output_dir_list assert 'dataset_description.json' in output_dir_list assert 'sub-unf01' in output_dir_list or \ 'sub-unf02' in output_dir_list or \ 'sub-unf03' in output_dir_list def teardown_function(): remove_tmp_dir()
42.815789
102
0.691764
440
3,254
4.506818
0.140909
0.226929
0.222895
0.226929
0.863338
0.847201
0.84468
0.80938
0.793747
0.773071
0
0.017336
0.220037
3,254
75
103
43.386667
0.763987
0
0
0.555556
0
0
0.172096
0.065765
0
0
0
0
0.333333
1
0.095238
false
0
0.063492
0
0.15873
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
55a8b5e2a6886f25fbdd1bf5950b2c6856601945
2,641
py
Python
tests/test_ranges.py
cltrudeau/markplates
f0cc35a4c74f1559c821ee7affedffbdad1fdfe2
[ "MIT" ]
23
2019-04-03T06:01:02.000Z
2022-02-08T11:29:52.000Z
tests/test_ranges.py
cltrudeau/markplates
f0cc35a4c74f1559c821ee7affedffbdad1fdfe2
[ "MIT" ]
23
2019-05-07T18:25:49.000Z
2022-02-28T17:28:21.000Z
tests/test_ranges.py
cltrudeau/markplates
f0cc35a4c74f1559c821ee7affedffbdad1fdfe2
[ "MIT" ]
3
2020-08-01T17:50:44.000Z
2021-06-28T16:11:52.000Z
import markplates def test_counting_range(counting_lines): # only pull line two ranges = [2] lines = counting_lines() output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["2\n"] # only pull line two as string ranges = ["2"] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["2\n"] # pull even lines ranges = [2, "4", 6, "8"] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["2\n", "4\n", "6\n", "8\n"] # pull 8 to the end ranges = ["8-$"] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["8\n", "9\n", "10\n", "11\n", "12\n", "13\n"] # pull 8 to 10 ranges = ["8-10"] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["8\n", "9\n", "10\n"] # last line only ranges = ["$"] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["13\n"] # negative indexing, border condition ranges = ["$-1"] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["12\n", "13\n"] # negative indexing ranges = ["$-3"] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["10\n", "11\n", "12\n", "13\n"] def test_spacing(counting_lines): lines = counting_lines() # only pull line two ranges = [" 2 "] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["2\n"] # pull 8 to the end ranges = ["8 -\t$ "] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["8\n", "9\n", "10\n", "11\n", "12\n", "13\n"] # pull 8 to 10 ranges = ["\t8\t-\t10\t"] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["8\n", "9\n", "10\n"] def test_ordering(counting_lines): lines = counting_lines() # test mixed up rants ranges = ["9-$", "2", "5-6", 3, "5-6", "9-$"] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == [ "2\n", "3\n", "5\n", "6\n", "9\n", "10\n", "11\n", "12\n", "13\n", ] # test repeated lines ranges = ["2", "5-6", 2, "5-6", "6"] output_lines = markplates.condense_ranges(lines, ranges, "filename") assert output_lines == ["2\n", "5\n", "6\n"]
30.709302
73
0.589171
355
2,641
4.24507
0.138028
0.189781
0.181155
0.250166
0.809555
0.771732
0.771732
0.771732
0.698076
0.698076
0
0.051903
0.234002
2,641
85
74
31.070588
0.69303
0.095797
0
0.446429
0
0
0.141955
0
0
0
0
0
0.232143
1
0.053571
false
0
0.017857
0
0.071429
0
0
0
0
null
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e977f13f1b90ecd212a41debf6b602b3a7c0a655
156
py
Python
Calculator_Application/calculations/mean/arithmetic.py
jpweldon/Module_2_Practice
cb546bbfcf5ffb7c6388f854e0eb8873834cfab9
[ "MIT" ]
null
null
null
Calculator_Application/calculations/mean/arithmetic.py
jpweldon/Module_2_Practice
cb546bbfcf5ffb7c6388f854e0eb8873834cfab9
[ "MIT" ]
null
null
null
Calculator_Application/calculations/mean/arithmetic.py
jpweldon/Module_2_Practice
cb546bbfcf5ffb7c6388f854e0eb8873834cfab9
[ "MIT" ]
null
null
null
# Define an Arithmetic Mean Function import statistics # import the statistics module def arithmetic_mean(numbers): return statistics.mean(numbers)
17.333333
48
0.788462
19
156
6.421053
0.631579
0.229508
0
0
0
0
0
0
0
0
0
0
0.160256
156
8
49
19.5
0.931298
0.403846
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
e9be8d2dbcd3a4cdfb50fc45040924f1415884cf
187
py
Python
histograms.py
marioviti/MIPL
0705ac99528f815a87c76b342dabf747b6126d21
[ "MIT" ]
null
null
null
histograms.py
marioviti/MIPL
0705ac99528f815a87c76b342dabf747b6126d21
[ "MIT" ]
null
null
null
histograms.py
marioviti/MIPL
0705ac99528f815a87c76b342dabf747b6126d21
[ "MIT" ]
null
null
null
"""Image statistics""" import numpy as np import views def intensity_histogram(image_channel, bins=256, density=True): return np.histogram(image_channel, bins=bins, density=density)
26.714286
66
0.780749
26
187
5.5
0.615385
0.195804
0.293706
0.34965
0
0
0
0
0
0
0
0.018072
0.112299
187
6
67
31.166667
0.843373
0.085562
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
8
e9c8425eaea554caba5b526e13ae0af921975e28
148
py
Python
main.py
ajmoralesa/calibgauge
57b2bbaebedebb746e2ce8f7a89dfdd3c08d1819
[ "MIT" ]
null
null
null
main.py
ajmoralesa/calibgauge
57b2bbaebedebb746e2ce8f7a89dfdd3c08d1819
[ "MIT" ]
1
2021-11-15T17:54:24.000Z
2021-11-15T17:54:24.000Z
main.py
ajmoralesa/calibgauge
57b2bbaebedebb746e2ce8f7a89dfdd3c08d1819
[ "MIT" ]
null
null
null
from calibgauge.calib import get_calfactors get_calfactors(gauge=2130917245, cal_date=24082018) get_calfactors(gauge=2130917246, cal_date=24082018)
37
51
0.871622
20
148
6.2
0.6
0.314516
0.290323
0
0
0
0
0
0
0
0
0.257143
0.054054
148
4
52
37
0.628571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
75ec4901310767a4029eee71a2899bbaebf701dc
2,285
py
Python
business_register/migrations/0077_auto_20210330_1051.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
business_register/migrations/0077_auto_20210330_1051.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
business_register/migrations/0077_auto_20210330_1051.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-30 10:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('data_ocean', '0024_auto_20210319_1045'), ('business_register', '0076_auto_20210324_1243'), ] operations = [ migrations.AlterField( model_name='company', name='status', field=models.ForeignKey(help_text='Company legal status. Can be: "зареєстровано", "в стані припинення", "припинено", "EMP", "порушено справу про банкрутство", "порушено справу про банкрутство (санація)", "зареєстровано, свідоцтво про державну реєстрацію недійсне", "скасовано", "active", "active - proposal to strike off", "liquidation", "administration order", "voluntary arrangement", "in administration/administrative receiver", "in administration", "live but receiver manager on at least one charge", "in administration/receiver manager", "receivership", "receiver manager / administrative receiver", "administrative receiver", voluntary arrangement / administrative receiver", "voluntary arrangement / receiver manager".', null=True, on_delete=django.db.models.deletion.CASCADE, to='data_ocean.status', verbose_name='status'), ), migrations.AlterField( model_name='historicalcompany', name='status', field=models.ForeignKey(blank=True, db_constraint=False, help_text='Company legal status. Can be: "зареєстровано", "в стані припинення", "припинено", "EMP", "порушено справу про банкрутство", "порушено справу про банкрутство (санація)", "зареєстровано, свідоцтво про державну реєстрацію недійсне", "скасовано", "active", "active - proposal to strike off", "liquidation", "administration order", "voluntary arrangement", "in administration/administrative receiver", "in administration", "live but receiver manager on at least one charge", "in administration/receiver manager", "receivership", "receiver manager / administrative receiver", "administrative receiver", voluntary arrangement / administrative receiver", "voluntary arrangement / receiver manager".', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='data_ocean.status', verbose_name='status'), ), ]
87.884615
897
0.733479
249
2,285
6.646586
0.37751
0.106344
0.041088
0.067674
0.787915
0.750453
0.750453
0.709366
0.709366
0.709366
0
0.024127
0.147484
2,285
25
898
91.4
0.825462
0.019694
0
0.315789
1
0.105263
0.686327
0.067024
0.052632
0
0
0
0
1
0
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f97f38a859495c61236410fe5299461a178fbd25
24,842
py
Python
EPI_DLMH/model.py
20032303092/StackEPI
106c0f3142f55aead0259a5f7f4d21a14fb8dcef
[ "CECILL-B" ]
null
null
null
EPI_DLMH/model.py
20032303092/StackEPI
106c0f3142f55aead0259a5f7f4d21a14fb8dcef
[ "CECILL-B" ]
null
null
null
EPI_DLMH/model.py
20032303092/StackEPI
106c0f3142f55aead0259a5f7f4d21a14fb8dcef
[ "CECILL-B" ]
null
null
null
from keras import initializers from keras.engine.topology import Layer, InputSpec from keras import backend as K from keras.layers import * from keras.models import * from keras.optimizers import Adam from keras.regularizers import l1, l2 import keras import numpy as np MAX_LEN_en = 3000 MAX_LEN_pr = 2000 NB_WORDS = 4097 EMBEDDING_DIM = 100 embedding_matrix = np.load('embedding_matrix.npy') embedding_matrix_one_hot = np.array([[0, 0, 0, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) class AttLayer(Layer): def __init__(self, attention_dim): # self.init = initializers.get('normal') self.init = initializers.RandomNormal(seed=10) self.supports_masking = True self.attention_dim = attention_dim super(AttLayer, self).__init__() def build(self, input_shape): assert len(input_shape) == 3 self.W = K.variable(self.init((input_shape[-1], self.attention_dim))) self.b = K.variable(self.init((self.attention_dim, ))) self.u = K.variable(self.init((self.attention_dim, 1))) self.trainable_weights = [self.W, self.b, self.u] super(AttLayer, self).build(input_shape) def compute_mask(self, inputs, mask=None): return mask def call(self, x, mask=None): # size of x :[batch_size, sel_len, attention_dim] # size of u :[batch_size, attention_dim] # uit = tanh(xW+b) uit = K.tanh(K.bias_add(K.dot(x, self.W), self.b)) ait = K.dot(uit, self.u) ait = K.squeeze(ait, -1) ait = K.exp(ait) if mask is not None: # Cast the mask to floatX to avoid float64 upcasting in theano ait *= K.cast(mask, K.floatx()) ait /= K.cast(K.sum(ait, axis=1, keepdims=True) + K.epsilon(), K.floatx()) ait = K.expand_dims(ait) weighted_input = x * ait output = K.sum(weighted_input, axis=1) return output def compute_output_shape(self, input_shape): return (input_shape[0], input_shape[-1]) def get_simCNN(): enhancer_length = 3000 # TODO: get this from input promoter_length = 2000 # TODO: get this from input n_kernels = 1024 # Number of kernels; used to be 1024 filter_length = 40 # Length of each kernel LSTM_out_dim = 50 # Output direction of ONE DIRECTION of LSTM; used to be 512 dense_layer_size = 800 enhancers = Input(shape=(MAX_LEN_en,)) promoters = Input(shape=(MAX_LEN_pr,)) # Convolutional/maxpooling layers to extract prominent motifs # Separate identically initialized convolutional layers are trained for # enhancers and promoters # Define enhancer layers enhancer_conv_layer = Convolution1D(input_dim=4, input_length=enhancer_length, nb_filter=n_kernels, filter_length=filter_length, border_mode="valid", subsample_length=1, W_regularizer=l2(1e-5)) enhancer_max_pool_layer = MaxPooling1D(pool_length=int( filter_length / 2), stride=int(filter_length / 2)) enhancer_length_slim = enhancer_length + filter_length - 1 n_kernels_slim = 200 filter_length_slim = 20 enhancer_conv_layer_slim = Convolution1D(input_dim=4, input_length=enhancer_length_slim, nb_filter=n_kernels_slim, filter_length=filter_length_slim, border_mode="valid", subsample_length=1, W_regularizer=l2(1e-5)) # Build enhancer branch enhancer_branch = Sequential() enhancer_branch.add(Embedding(5, 4, weights=[embedding_matrix_one_hot], input_length=MAX_LEN_en, trainable=False)) enhancer_branch.add(enhancer_conv_layer) enhancer_branch.add(Activation("relu")) enhancer_branch.add(enhancer_conv_layer_slim) enhancer_branch.add(Activation("relu")) enhancer_branch.add(enhancer_max_pool_layer) enhancer_branch = enhancer_branch(enhancers) # Define promoter layers branch: promoter_conv_layer = Convolution1D(input_dim=4, input_length=promoter_length, nb_filter=n_kernels, filter_length=filter_length, border_mode="valid", subsample_length=1, W_regularizer=l2(1e-5)) promoter_max_pool_layer = MaxPooling1D(pool_length=int( filter_length / 2), stride=int(filter_length / 2)) promoter_length_slim = promoter_length + filter_length - 1 n_kernels_slim = 200 filter_length_slim = 20 promoter_conv_layer_slim = Convolution1D(input_dim=4, input_length=promoter_length_slim, nb_filter=n_kernels_slim, filter_length=filter_length_slim, border_mode="valid", subsample_length=1, W_regularizer=l2(1e-5)) # Build promoter branch promoter_branch = Sequential() promoter_branch.add(Embedding(5, 4, weights=[embedding_matrix_one_hot], input_length=MAX_LEN_pr, trainable=False)) promoter_branch.add(promoter_conv_layer) promoter_branch.add(Activation("relu")) promoter_branch.add(promoter_conv_layer_slim) promoter_branch.add(Activation("relu")) promoter_branch.add(promoter_max_pool_layer) promoter_branch = promoter_branch(promoters) # Define main model layers # Concatenate outputs of enhancer and promoter convolutional layers #merge_layer = keras.Merge([enhancer_branch, promoter_branch],mode='concat',concat_axis=1) merge_all = concatenate([enhancer_branch, promoter_branch], axis=1) dense_layer = Dense(output_dim=dense_layer_size, init="glorot_uniform", W_regularizer=l2(1e-6)) # Logistic regression layer to make final binary prediction LR_classifier_layer = Dense(output_dim=1) model = Sequential() model.add(BatchNormalization()) model.add(Dropout(0.25)) model.add(Flatten()) model.add(dense_layer) model.add(BatchNormalization()) model.add(Activation("relu")) model.add(Dropout(0.5)) model.add(LR_classifier_layer) model.add(BatchNormalization()) model.add(Activation("sigmoid")) pres = model(merge_all) model = Model([enhancers, promoters], pres) model.compile(loss='binary_crossentropy', optimizer=keras.optimizers.Adam( lr=1e-5), metrics=['accuracy']) return model def get_speid(): enhancers = Input(shape=(MAX_LEN_en,)) promoters = Input(shape=(MAX_LEN_pr,)) enhancer_conv_layer = Convolution1D(input_dim=4, input_length=3000, nb_filter=1024, filter_length=40, border_mode="valid", subsample_length=1, W_regularizer=l2(1e-5)) enhancer_max_pool_layer = MaxPooling1D(pool_length=20, stride=20) enhancer_branch = Sequential() enhancer_branch.add(Embedding(5, 4, weights=[embedding_matrix_one_hot], input_length=MAX_LEN_en, trainable=False)) enhancer_branch.add(enhancer_conv_layer) enhancer_branch.add(Activation("relu")) enhancer_branch.add(enhancer_max_pool_layer) enhancer_branch = enhancer_branch(enhancers) # Build promoter branch promoter_conv_layer = Convolution1D(input_dim=4, input_length=2000, nb_filter=1024, filter_length=40, border_mode="valid", subsample_length=1, W_regularizer=l2(1e-5)) promoter_max_pool_layer = MaxPooling1D(pool_length=20, stride=20) # Build promoter branch promoter_branch = Sequential() promoter_branch.add(Embedding(5, 4, weights=[embedding_matrix_one_hot], input_length=MAX_LEN_pr, trainable=False)) promoter_branch.add(promoter_conv_layer) promoter_branch.add(Activation("relu")) promoter_branch.add(promoter_max_pool_layer) promoter_branch = promoter_branch(promoters) # Define main model layers # Concatenate outputs of enhancer and promoter convolutional layers merge_layer = concatenate([enhancer_branch, promoter_branch], axis=1) biLSTM_layer = Bidirectional(LSTM(input_dim=1024, output_dim=512, return_sequences=True)) dense_layer = Dense(output_dim=800, init="glorot_uniform", W_regularizer=l2(1e-6)) LR_classifier_layer = Dense(output_dim=1) # merge_all = concatenate([conv_enhancers, conv_promoter], axis=2) # print(conv_promoter_seq.summary()) model = Sequential() # model.add(merge_layer) model.add(BatchNormalization()) model.add(Dropout(0.25)) model.add(biLSTM_layer) model.add(BatchNormalization()) model.add(Dropout(0.5)) model.add(Flatten()) model.add(dense_layer) model.add(BatchNormalization()) model.add(Activation("relu")) model.add(Dropout(0.5)) model.add(LR_classifier_layer) model.add(BatchNormalization()) model.add(Activation("sigmoid")) pre = model(merge_layer) model = Model([enhancers, promoters], pre) model.compile(loss='binary_crossentropy', optimizer=keras.optimizers.Adam( lr=1e-5), metrics=['accuracy']) return model # print(model.summary()) def get_model(): enhancers = Input(shape=(MAX_LEN_en,)) promoters = Input(shape=(MAX_LEN_pr,)) emb_en = Embedding(NB_WORDS, EMBEDDING_DIM, weights=[ embedding_matrix], trainable=True)(enhancers) emb_pr = Embedding(NB_WORDS, EMBEDDING_DIM, weights=[ embedding_matrix], trainable=True)(promoters) enhancer_conv_layer = Convolution1D(input_dim=100, input_length=3000, nb_filter=64, filter_length=60, border_mode="same", # "same" ) enhancer_max_pool_layer = MaxPooling1D(pool_length=int(30), stride=int(30)) # Build enhancer branch enhancer_branch = Sequential() enhancer_branch.add(enhancer_conv_layer) enhancer_branch.add(Activation("relu")) enhancer_branch.add(enhancer_max_pool_layer) enhancer_branch.add(BatchNormalization()) enhancer_branch.add(Dropout(0.5)) enhancer_out = enhancer_branch(emb_en) promoter_conv_layer = Convolution1D(input_dim=100, input_length=2000, nb_filter=64, filter_length=40, border_mode="same", ) promoter_max_pool_layer = MaxPooling1D(pool_length=int(20), stride=int(20)) # promoter_length_slim = 2039 # n_kernels_slim = 200 # filter_length_slim = 20 # Build promoter branch promoter_branch = Sequential() promoter_branch.add(promoter_conv_layer) promoter_branch.add(Activation("relu")) promoter_branch.add(promoter_max_pool_layer) promoter_branch.add(BatchNormalization()) promoter_branch.add(Dropout(0.5)) promoter_out = promoter_branch(emb_pr) #enhancer_conv_layer = Conv1D(filters = 32,kernel_size = 40,padding = "valid",activation='relu')(emb_en) #enhancer_max_pool_layer = MaxPooling1D(pool_size = 30, strides = 30)(enhancer_conv_layer) #promoter_conv_layer = Conv1D(filters = 32,kernel_size = 40,padding = "valid",activation='relu')(emb_pr) #promoter_max_pool_layer = MaxPooling1D(pool_size = 20, strides = 20)(promoter_conv_layer) l_gru_1 = Bidirectional(GRU(50, return_sequences=True))(enhancer_out) l_gru_2 = Bidirectional(GRU(50, return_sequences=True))(promoter_out) l_att_1 = AttLayer(50)(l_gru_1) l_att_2 = AttLayer(50)(l_gru_2) subtract_layer = Subtract()([l_att_1, l_att_2]) multiply_layer = Multiply()([l_att_1, l_att_2]) #merge_layer=Concatenate(axis=1)([l_att_1, l_att_2, subtract_layer, multiply_layer]) merge_layer = Concatenate(axis=1)([l_att_1, l_att_2]) bn = BatchNormalization()(merge_layer) dt = Dropout(0.5)(bn) #l_gru = Bidirectional(LSTM(50))(dt) #l_att = AttLayer(50)(l_gru) #bn2 = BatchNormalization()(l_gru) #dt2 = Dropout(0.5)(bn2) #dt = BatchNormalization()(dt) #dt = Dropout(0.5)(dt) dt = Dense(output_dim=64, init="glorot_uniform")(dt) dt = BatchNormalization()(dt) dt = Activation("relu")(dt) dt = Dropout(0.5)(dt) preds = Dense(1, activation='sigmoid')(dt) model = Model([enhancers, promoters], preds) adam = keras.optimizers.adam(lr=5e-6) model.compile(loss='binary_crossentropy', optimizer=adam, metrics=['accuracy']) return model def get_model_C_mul(): enhancers = Input(shape=(MAX_LEN_en,)) promoters = Input(shape=(MAX_LEN_pr,)) emb_en = Embedding(NB_WORDS, EMBEDDING_DIM, weights=[ embedding_matrix], trainable=True)(enhancers) emb_pr = Embedding(NB_WORDS, EMBEDDING_DIM, weights=[ embedding_matrix], trainable=True)(promoters) enhancer_conv_layer = Convolution1D(input_dim=100, input_length=3000, nb_filter=64, filter_length=60, border_mode="same", # "same" ) enhancer_max_pool_layer = MaxPooling1D(pool_length=int(30), stride=int(30)) # Build enhancer branch enhancer_branch = Sequential() enhancer_branch.add(enhancer_conv_layer) enhancer_branch.add(Activation("relu")) enhancer_branch.add(enhancer_max_pool_layer) enhancer_branch.add(BatchNormalization()) enhancer_branch.add(Dropout(0.5)) enhancer_out = enhancer_branch(emb_en) promoter_conv_layer = Convolution1D(input_dim=100, input_length=2000, nb_filter=64, filter_length=40, border_mode="same", ) promoter_max_pool_layer = MaxPooling1D(pool_length=int(20), stride=int(20)) # promoter_length_slim = 2039 # n_kernels_slim = 200 # filter_length_slim = 20 # Build promoter branch promoter_branch = Sequential() promoter_branch.add(promoter_conv_layer) promoter_branch.add(Activation("relu")) promoter_branch.add(promoter_max_pool_layer) promoter_branch.add(BatchNormalization()) promoter_branch.add(Dropout(0.5)) promoter_out = promoter_branch(emb_pr) #enhancer_conv_layer = Conv1D(filters = 32,kernel_size = 40,padding = "valid",activation='relu')(emb_en) #enhancer_max_pool_layer = MaxPooling1D(pool_size = 30, strides = 30)(enhancer_conv_layer) #promoter_conv_layer = Conv1D(filters = 32,kernel_size = 40,padding = "valid",activation='relu')(emb_pr) #promoter_max_pool_layer = MaxPooling1D(pool_size = 20, strides = 20)(promoter_conv_layer) l_gru_1 = Bidirectional(GRU(50, return_sequences=True))(enhancer_out) l_gru_2 = Bidirectional(GRU(50, return_sequences=True))(promoter_out) l_att_1 = AttLayer(50)(l_gru_1) l_att_2 = AttLayer(50)(l_gru_2) subtract_layer = Subtract()([l_att_1, l_att_2]) multiply_layer = Multiply()([l_att_1, l_att_2]) merge_layer = Concatenate(axis=1)([l_att_1, l_att_2, multiply_layer]) bn = BatchNormalization()(merge_layer) dt = Dropout(0.5)(bn) #l_gru = Bidirectional(LSTM(50))(dt) #l_att = AttLayer(50)(l_gru) #bn2 = BatchNormalization()(l_gru) #dt2 = Dropout(0.5)(bn2) #dt = BatchNormalization()(dt) #dt = Dropout(0.5)(dt) dt = Dense(output_dim=64, init="glorot_uniform")(dt) dt = BatchNormalization()(dt) dt = Activation("relu")(dt) dt = Dropout(0.5)(dt) preds = Dense(1, activation='sigmoid')(dt) model = Model([enhancers, promoters], preds) adam = keras.optimizers.adam(lr=5e-6) model.compile(loss='binary_crossentropy', optimizer=adam, metrics=['accuracy']) return model def get_model_C_sub(): enhancers = Input(shape=(MAX_LEN_en,)) promoters = Input(shape=(MAX_LEN_pr,)) emb_en = Embedding(NB_WORDS, EMBEDDING_DIM, weights=[ embedding_matrix], trainable=True)(enhancers) emb_pr = Embedding(NB_WORDS, EMBEDDING_DIM, weights=[ embedding_matrix], trainable=True)(promoters) enhancer_conv_layer = Convolution1D(input_dim=100, input_length=3000, nb_filter=64, filter_length=60, border_mode="same", # "same" ) enhancer_max_pool_layer = MaxPooling1D(pool_length=int(30), stride=int(30)) # Build enhancer branch enhancer_branch = Sequential() enhancer_branch.add(enhancer_conv_layer) enhancer_branch.add(Activation("relu")) enhancer_branch.add(enhancer_max_pool_layer) enhancer_branch.add(BatchNormalization()) enhancer_branch.add(Dropout(0.5)) enhancer_out = enhancer_branch(emb_en) promoter_conv_layer = Convolution1D(input_dim=100, input_length=2000, nb_filter=64, filter_length=40, border_mode="same", ) promoter_max_pool_layer = MaxPooling1D(pool_length=int(20), stride=int(20)) # promoter_length_slim = 2039 # n_kernels_slim = 200 # filter_length_slim = 20 # Build promoter branch promoter_branch = Sequential() promoter_branch.add(promoter_conv_layer) promoter_branch.add(Activation("relu")) promoter_branch.add(promoter_max_pool_layer) promoter_branch.add(BatchNormalization()) promoter_branch.add(Dropout(0.5)) promoter_out = promoter_branch(emb_pr) #enhancer_conv_layer = Conv1D(filters = 32,kernel_size = 40,padding = "valid",activation='relu')(emb_en) #enhancer_max_pool_layer = MaxPooling1D(pool_size = 30, strides = 30)(enhancer_conv_layer) #promoter_conv_layer = Conv1D(filters = 32,kernel_size = 40,padding = "valid",activation='relu')(emb_pr) #promoter_max_pool_layer = MaxPooling1D(pool_size = 20, strides = 20)(promoter_conv_layer) l_gru_1 = Bidirectional(GRU(50, return_sequences=True))(enhancer_out) l_gru_2 = Bidirectional(GRU(50, return_sequences=True))(promoter_out) l_att_1 = AttLayer(50)(l_gru_1) l_att_2 = AttLayer(50)(l_gru_2) subtract_layer = Subtract()([l_att_1, l_att_2]) multiply_layer = Multiply()([l_att_1, l_att_2]) merge_layer = Concatenate(axis=1)([l_att_1, l_att_2, subtract_layer]) #merge_layer = Concatenate(axis=1)([l_att_1,l_att_2]) bn = BatchNormalization()(merge_layer) dt = Dropout(0.5)(bn) #l_gru = Bidirectional(LSTM(50))(dt) #l_att = AttLayer(50)(l_gru) #bn2 = BatchNormalization()(l_gru) #dt2 = Dropout(0.5)(bn2) #dt = BatchNormalization()(dt) #dt = Dropout(0.5)(dt) dt = Dense(output_dim=64, init="glorot_uniform")(dt) dt = BatchNormalization()(dt) dt = Activation("relu")(dt) dt = Dropout(0.5)(dt) preds = Dense(1, activation='sigmoid')(dt) model = Model([enhancers, promoters], preds) adam = keras.optimizers.adam(lr=5e-6) model.compile(loss='binary_crossentropy', optimizer=adam, metrics=['accuracy']) return model def get_model_max(): enhancers = Input(shape=(MAX_LEN_en,)) promoters = Input(shape=(MAX_LEN_pr,)) emb_en = Embedding(NB_WORDS, EMBEDDING_DIM, weights=[ embedding_matrix], trainable=True)(enhancers) emb_pr = Embedding(NB_WORDS, EMBEDDING_DIM, weights=[ embedding_matrix], trainable=True)(promoters) enhancer_conv_layer = Convolution1D(input_dim=100, input_length=3000, nb_filter=64, filter_length=60, border_mode="same", # "same" ) enhancer_max_pool_layer = MaxPooling1D(pool_length=int(30), stride=int(30)) # Build enhancer branch enhancer_branch = Sequential() enhancer_branch.add(enhancer_conv_layer) enhancer_branch.add(Activation("relu")) enhancer_branch.add(enhancer_max_pool_layer) enhancer_branch.add(BatchNormalization()) enhancer_branch.add(Dropout(0.5)) enhancer_out = enhancer_branch(emb_en) promoter_conv_layer = Convolution1D(input_dim=100, input_length=2000, nb_filter=64, filter_length=40, border_mode="same", ) promoter_max_pool_layer = MaxPooling1D(pool_length=int(20), stride=int(20)) # promoter_length_slim = 2039 # n_kernels_slim = 200 # filter_length_slim = 20 # Build promoter branch promoter_branch = Sequential() promoter_branch.add(promoter_conv_layer) promoter_branch.add(Activation("relu")) promoter_branch.add(promoter_max_pool_layer) promoter_branch.add(BatchNormalization()) promoter_branch.add(Dropout(0.5)) promoter_out = promoter_branch(emb_pr) #enhancer_conv_layer = Conv1D(filters = 32,kernel_size = 40,padding = "valid",activation='relu')(emb_en) #enhancer_max_pool_layer = MaxPooling1D(pool_size = 30, strides = 30)(enhancer_conv_layer) #promoter_conv_layer = Conv1D(filters = 32,kernel_size = 40,padding = "valid",activation='relu')(emb_pr) #promoter_max_pool_layer = MaxPooling1D(pool_size = 20, strides = 20)(promoter_conv_layer) l_gru_1 = Bidirectional(GRU(50, return_sequences=True))(enhancer_out) l_gru_2 = Bidirectional(GRU(50, return_sequences=True))(promoter_out) l_att_1 = AttLayer(50)(l_gru_1) l_att_2 = AttLayer(50)(l_gru_2) subtract_layer = Subtract()([l_att_1, l_att_2]) multiply_layer = Multiply()([l_att_1, l_att_2]) merge_layer = Concatenate(axis=1)( [l_att_1, l_att_2, subtract_layer, multiply_layer]) #merge_layer = Concatenate(axis=1)([l_att_1,l_att_2]) bn = BatchNormalization()(merge_layer) dt = Dropout(0.5)(bn) #l_gru = Bidirectional(LSTM(50))(dt) #l_att = AttLayer(50)(l_gru) #bn2 = BatchNormalization()(l_gru) #dt2 = Dropout(0.5)(bn2) #dt = BatchNormalization()(dt) #dt = Dropout(0.5)(dt) dt = Dense(output_dim=64, init="glorot_uniform")(dt) dt = BatchNormalization()(dt) dt = Activation("relu")(dt) dt = Dropout(0.5)(dt) preds = Dense(1, activation='sigmoid')(dt) model = Model([enhancers, promoters], preds) adam = keras.optimizers.adam(lr=5e-6) model.compile(loss='binary_crossentropy', optimizer=adam, metrics=['accuracy']) return model
44.841155
108
0.600958
2,856
24,842
4.932773
0.080532
0.03833
0.027257
0.034072
0.853563
0.844762
0.843058
0.827513
0.815801
0.799901
0
0.03706
0.298325
24,842
553
109
44.922242
0.771155
0.162306
0
0.762353
0
0
0.021725
0
0
0
0
0.001808
0.002353
1
0.025882
false
0
0.021176
0.004706
0.070588
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f9d0d64470854b6105e996ccfb84fe140e28fbf6
3,551
py
Python
config/config_yelp.py
SmilesDZgk/DU-VAE
6c590922a5b634fadff814bd70d05065d584fa9f
[ "MIT" ]
3
2021-12-01T12:11:30.000Z
2022-02-17T06:01:10.000Z
config/config_yelp.py
SmilesDZgk/DU-VAE
6c590922a5b634fadff814bd70d05065d584fa9f
[ "MIT" ]
null
null
null
config/config_yelp.py
SmilesDZgk/DU-VAE
6c590922a5b634fadff814bd70d05065d584fa9f
[ "MIT" ]
null
null
null
params={ 'enc_type': 'lstm', 'dec_type': 'lstm', 'nz': 32, 'ni': 512, 'enc_nh': 1024, 'dec_nh': 1024, 'dec_dropout_in': 0.5, 'dec_dropout_out': 0.5, 'batch_size': 32, 'epochs': 150, 'test_nepoch': 5, 'train_data': 'data/yelp_data/yelp.train.txt', 'val_data': 'data/yelp_data/yelp.valid.txt', 'test_data': 'data/yelp_data/yelp.test.txt', 'vocab_file': 'data/yelp_data/vocab.txt', 'label':True } params_ss_10={ 'enc_type': 'lstm', 'dec_type': 'lstm', 'nz': 32, 'ni': 512, 'enc_nh': 1024, 'dec_nh': 1024, 'log_niter': 50, 'dec_dropout_in': 0.5, 'dec_dropout_out': 0.5, # 'batch_size': 32, #'epochs': 100, 'test_nepoch': 5, 'train_data': 'data/yelp_data/yelp.train.10.txt', 'val_data': 'data/yelp_data/yelp.valid.txt', 'test_data': 'data/yelp_data/yelp.test.txt', 'vocab_file': 'data/yelp_data/vocab.txt', 'ncluster': 5, "label": True } params_ss_100={ 'enc_type': 'lstm', 'dec_type': 'lstm', 'nz': 32, 'ni': 512, 'enc_nh': 1024, 'dec_nh': 1024, 'log_niter': 50, 'dec_dropout_in': 0.5, 'dec_dropout_out': 0.5, # 'batch_size': 32, #'epochs': 100, 'test_nepoch': 5, 'train_data': 'data/yelp_data/yelp.train.100.txt', 'val_data': 'data/yelp_data/yelp.valid.txt', 'test_data': 'data/yelp_data/yelp.test.txt', 'vocab_file': 'data/yelp_data/vocab.txt', 'ncluster': 5, "label": True } params_ss_500={ 'enc_type': 'lstm', 'dec_type': 'lstm', 'nz': 32, 'ni': 512, 'enc_nh': 1024, 'dec_nh': 1024, 'log_niter': 50, 'dec_dropout_in': 0.5, 'dec_dropout_out': 0.5, #'batch_size': 50, #'epochs': 100, 'test_nepoch': 5, 'train_data': 'data/yelp_data/yelp.train.500.txt', 'val_data': 'data/yelp_data/yelp.valid.txt', 'test_data': 'data/yelp_data/yelp.test.txt', 'vocab_file': 'data/yelp_data/vocab.txt', 'ncluster': 5, "label": True } params_ss_1000={ 'enc_type': 'lstm', 'dec_type': 'lstm', 'nz': 32, 'ni': 512, 'enc_nh': 1024, 'dec_nh': 1024, 'log_niter': 50, 'dec_dropout_in': 0.5, 'dec_dropout_out': 0.5, # 'batch_size': 32, #'epochs': 100, 'test_nepoch': 5, 'train_data': 'data/yelp_data/yelp.train.1000.txt', 'val_data': 'data/yelp_data/yelp.valid.txt', 'test_data': 'data/yelp_data/yelp.test.txt', 'vocab_file': 'data/yelp_data/vocab.txt', 'ncluster': 5, "label": True } params_ss_2000={ 'enc_type': 'lstm', 'dec_type': 'lstm', 'nz': 32, 'ni': 512, 'enc_nh': 1024, 'dec_nh': 1024, 'log_niter': 50, 'dec_dropout_in': 0.5, 'dec_dropout_out': 0.5, # 'batch_size': 32, #'epochs': 100, 'test_nepoch': 5, 'train_data': 'data/yelp_data/yelp.train.2000.txt', 'val_data': 'data/yelp_data/yelp.valid.txt', 'test_data': 'data/yelp_data/yelp.test.txt', 'vocab_file': 'data/yelp_data/vocab.txt', 'ncluster': 5, "label": True } params_ss_10000={ 'enc_type': 'lstm', 'dec_type': 'lstm', 'nz': 32, 'ni': 512, 'enc_nh': 1024, 'dec_nh': 1024, 'log_niter': 50, 'dec_dropout_in': 0.5, 'dec_dropout_out': 0.5, # 'batch_size': 32, #'epochs': 100, 'test_nepoch': 5, 'train_data': 'data/yelp_data/yelp.train.10000.txt', 'val_data': 'data/yelp_data/yelp.valid.txt', 'test_data': 'data/yelp_data/yelp.test.txt', 'vocab_file': 'data/yelp_data/vocab.txt', 'ncluster': 5, "label": True }
23.832215
56
0.576739
524
3,551
3.633588
0.082061
0.205882
0.176471
0.176471
0.963235
0.963235
0.963235
0.963235
0.963235
0.963235
0
0.079525
0.217404
3,551
149
57
23.832215
0.605614
0.053506
0
0.809524
0
0
0.528375
0.238053
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
f9e085f8d9cb786f9a7ca988222c1bf57a84eb52
2,774
py
Python
workq/job.py
hhatto/python-workq
55214769f34eeb02bedf98d0de30069f47ed334b
[ "MIT" ]
3
2016-12-06T06:02:51.000Z
2018-09-28T11:35:13.000Z
workq/job.py
hhatto/python-workq
55214769f34eeb02bedf98d0de30069f47ed334b
[ "MIT" ]
null
null
null
workq/job.py
hhatto/python-workq
55214769f34eeb02bedf98d0de30069f47ed334b
[ "MIT" ]
null
null
null
class BackgroundJob(object): def __init__(self, jobid, name, ttr, ttl, payload, priority=0, max_attempts=0, max_fails=0): self.id = jobid self.name = name self.ttr = ttr self.ttl = ttl self.payload = payload self.priority = priority self.max_attempts = max_attempts self.max_fails = max_fails def to_proto(self): options = [] if self.priority != 0: options.append("-priority=%d" % self.priority) if self.max_attempts != 0: options.append("-max-attempts=%d" % self.max_attempts) if self.max_fails != 0: options.append("-max-fails=%d" % self.max_fails) option_arg = "" if len(options) == 0 else " " + " ".join(options) msg = "add %s %s %d %d %d%s\r\n%s\r\n" % ( self.id, self.name, self.ttr, self.ttl, len(self.payload), option_arg, self.payload) return msg class ScheduledJob(object): def __init__(self, jobid, name, ttr, ttl, time, payload, priority=0, max_attempts=0, max_fails=0): self.id = jobid self.name = name self.ttr = ttr self.ttl = ttl self.time = time self.payload = payload self.priority = priority self.max_attempts = max_attempts self.max_fails = max_fails def to_proto(self): options = [] if self.priority != 0: options.append("-priority=%d" % self.priority) if self.max_attempts != 0: options.append("-max-attempts=%d" % self.max_attempts) if self.max_fails != 0: options.append("-max-fails=%d" % self.max_fails) option_arg = "" if len(options) == 0 else " " + " ".join(options) t = self.time.isoformat("T").split('.')[0] + "Z" msg = "schedule %s %s %d %d %s %d%s\r\n%s\r\n" % ( self.id, self.name, self.ttr, self.ttl, t, len(self.payload), option_arg, self.payload) return msg class ForegroundJob(object): def __init__(self, jobid, name, ttr, timeout, payload, priority=0): self.id = jobid self.name = name self.ttr = ttr self.timeout = timeout self.payload = payload self.priority = priority def to_proto(self): options = [] if self.priority != 0: options.append("-priority=%d" % self.priority) option_arg = "" if len(options) == 0 else " " + " ".join(options) msg = "run %s %s %d %d %d%s\r\n%s\r\n" % ( self.id, self.name, self.ttr, self.timeout, len(self.payload), option_arg, self.payload) return msg class LeasedJob(object): def __init__(self, jobid, name, payload): self.id = jobid self.name = name self.payload = payload
34.246914
102
0.56633
371
2,774
4.113208
0.121294
0.086501
0.06422
0.044561
0.88401
0.88401
0.842071
0.805374
0.763434
0.763434
0
0.009193
0.29416
2,774
80
103
34.675
0.770174
0
0
0.746269
0
0.044776
0.072459
0
0.044776
0
0
0
0
1
0.104478
false
0
0
0
0.208955
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ddecd5eafba460d15378b71c061c695912bba283
2,015
py
Python
balebot/models/constants/default_purchase_message_photo.py
naderAbolfazli/bale-bot-python
1e694adfd0850cb9e288d180ed0231f148f4c223
[ "Apache-2.0" ]
24
2018-07-08T12:17:55.000Z
2022-03-05T22:00:28.000Z
balebot/models/constants/default_purchase_message_photo.py
naderAbolfazli/bale-bot-python
1e694adfd0850cb9e288d180ed0231f148f4c223
[ "Apache-2.0" ]
21
2018-08-30T03:18:25.000Z
2022-03-11T23:36:16.000Z
balebot/models/constants/default_purchase_message_photo.py
naderAbolfazli/bale-bot-python
1e694adfd0850cb9e288d180ed0231f148f4c223
[ "Apache-2.0" ]
12
2018-07-07T08:29:12.000Z
2022-03-05T22:00:05.000Z
class DefaultPhoto: file_id = '4813274878314219265' access_hash = '1471278867' name = "purchase.jpg" file_size = '41430' mime_type = 'image/jpeg' thumb = "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAA4KCw0LCQ4NDA0QDw4RFiQXFhQUFiwgIRokNC43NjMuMjI6QVNGOj1OPjIySGJJTlZYXV5dOEVmbWVabFNbXVn/2wBDAQ8QEBYTFioXFypZOzI7WVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVn/wAARCABaAFoDASIAAhEBAxEB/8QAGgABAQEBAQEBAAAAAAAAAAAAAAQFAwIBB//EADwQAAEEAQEEBAkKBwAAAAAAAAEAAgMEEQUSEyExNUFhsRQVIjJCUXFzkSNkdIGCk6GyweEkJVNjcqKj/8QAFwEBAQEBAAAAAAAAAAAAAAAAAAIBA//EACcRAQACAQEGBwEBAAAAAAAAAAEAAhESAxMhMUFRIjJCcYGRsSOh/9oADAMBAAIRAxEAPwD9DREVSIRESIRESIRESIRESIRESIRT3+j7PundxUFPS4zUhkjnswl8bXOEcmASQrKiZWc7WS2Amuiz/Ffz6999+y8jRarnbUxmnPrkkJ7kxXvGq/b/AGWSWq8Ti2SeJjh1OeAVIdapnAidJM8nAZGw5PxXaLTKUQw2tGf8htd6qa0NaGtAaByAHJPAR/R7Ez/GFmRxEGnTEDmZSI+9A/VpMkRVYh1Ne4k/EcFZPLHFGd5M2Ha4BziBg/WseWaoHHfatZfIBx3Rw0+zAx+Kupq5H6znd087fhPd06nWqPsPtxgtx5DIwRxOOZW0sia4yxVEPi+5KwgAbTSAfV5WV38L1DHDTf8Au1LVU5Y+iKWBeK/bNBFPRs+GU459jY28+TnOMEj9FQuKI4Z3ETJJ7/R9n3Tu4pQ6Pre6b3BL/R9n3Tu4pQ6Pre6b3BX6PmR6/iRRWNRsS2Nx4LsRyujG8Ds8PYuv83+Y/wC6+aT5176U9aKq9sOAkUq2rlWZ251SR3l2oIR/bZtd6eLZXkmfULLif6Z2B8Foqe1ZMO7ZGwSTSnZY3OPaT2BYXsuCU0qGbfrOEWkUYiCIA4jreS7P1clZFFHC3ZijZGDxw1oCidYuVQJLbYHQ8A8xZyztweYWgss26uZtCvQxIpLFzeuZFRywHAe6UAHtxzVMBmMf8QGB+fQJI/FdEUrk5SiqOczP0PoiD7X5itBZ+h9EQfa/MVoKtp533k7LyV9iT3+j7PundxXjTZopKMDWSMc5sTQ4BwJHAc1XzXCKpXhl3sULI37Ozloxw9iwTThmtXVkkuk+de+lPWis7SfOvfSnr06rfLiRqOyCeA3DeCq4NnjIopQwZl6juxyCWCzG0yGAnLBzc0jjjtVEDJGQtbLLvXjm/Z2c/UuigcM6JqJnWJ5LkJrwQzMMow58kZaGN6+fM9gWiotOlfKbe8cXbNhzW56gMYC9Wrza8oj3E8riNr5Jm1hUjnSSKoGpZWizheuSZMWmv2eovkDD8CgOrvbnZpx56jtEj4cE3b1Zu8Og/U+6H0RB9r8xWgptPrGpSjgc4Oc3OSO05/VUrLubKTdmJQHtCIimXIJNKgfM6WN80EjiS4xPxklfPFfz6999+y0EV7y3ec91TtM12kRvI3tm3IB6L5cjuVdux4LDvd257ARt49EdZXdfCAQQRkHmCs1L5ppQB08Jj0rscTp2sBlfNbdsNYeY4Zd7MLZUlPTq9J8joWnaeeZOcD1DsVa3aNV8MnZVsHihERROsIiJEIiJEIiJEIiJEIiJEIiJEIiJE//Z" width = 90 height = 90 ext_width = 1110 ext_height = 1110
167.916667
1,774
0.925558
79
2,015
23.531646
0.924051
0
0
0
0
0
0
0
0
0
0
0.141019
0.035732
2,015
11
1,775
183.181818
0.815749
0
0
0
0
0.090909
0.901241
0.873449
0
1
0
0
0
1
0
false
0
0
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
1
0
0
7
fb3d6b696f0c22591b3a3de7e4185a249766c985
1,714
py
Python
mahjonggscoring/rules/test/test_four_concealed_pungs.py
kajiki/py-mahjongg-scoring
b23202de018a8206a4be5594247faa0754e7e54e
[ "MIT" ]
null
null
null
mahjonggscoring/rules/test/test_four_concealed_pungs.py
kajiki/py-mahjongg-scoring
b23202de018a8206a4be5594247faa0754e7e54e
[ "MIT" ]
null
null
null
mahjonggscoring/rules/test/test_four_concealed_pungs.py
kajiki/py-mahjongg-scoring
b23202de018a8206a4be5594247faa0754e7e54e
[ "MIT" ]
null
null
null
import unittest2 from mahjonggscoring.rules import FourConcealedPungs from mahjonggscoring import Hand #Kongs are scored also. class TestFourConcealedPungs(unittest2.TestCase): def setUp(self): data = [["6●", "6●", "6●"], ["B", "B", "B"], ["3●", "3●", "3●", "3●"], ["2/", "2/"], ["1#", "1#", "1#"]] hand = Hand(data, {"concealed": [True, True, True, False, True]}) self.examination = FourConcealedPungs(hand) self.passed = self.examination.evaluate() def test_passed(self): self.assertTrue(self.passed) def test_points(self): self.assertEqual(self.examination.points, 64) class TestFourConcealedPungsFull(unittest2.TestCase): def setUp(self): data = [["6●", "6●", "6●"], ["B", "B", "B"], ["3●", "3●", "3●"], ["2/", "2/"], ["1#", "1#", "1#"]] hand = Hand(data, {"concealed": True}) self.examination = FourConcealedPungs(hand) self.passed = self.examination.evaluate() def test_passed(self): self.assertTrue(self.passed) def test_points(self): self.assertEqual(self.examination.points, 64) class TestNotFourConcealedPungs(unittest2.TestCase): def test_not_four_pungs(self): data = [["3#", "4#", "5#"], ["C", "C"], ["6●", "6●", "6●"], ["7#", "7#", "7#"], ["8/", "8/", "8/", "8/"]] hand = Hand(data, {"concealed": True}) self.examination = FourConcealedPungs(hand) self.passed = self.examination.evaluate() self.assertFalse(self.passed) def test_not_concealed(self): data = [["6●", "6●", "6●"], ["B", "B", "B"], ["3●", "3●", "3●"], ["2/", "2/"], ["1#", "1#", "1#", "1#"]] hand = Hand(data) self.examination = FourConcealedPungs(hand) self.passed = self.examination.evaluate() self.assertFalse(self.passed) if __name__ == '__main__': unittest2.main()
35.708333
107
0.618436
236
1,714
4.512712
0.207627
0.022535
0.022535
0.030047
0.719249
0.719249
0.701408
0.701408
0.701408
0.701408
0
0.03841
0.134189
1,714
48
108
35.708333
0.66442
0.012835
0
0.578947
0
0
0.083924
0
0
0
0
0
0.157895
1
0.210526
false
0.263158
0.078947
0
0.368421
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
348a8b8248732c10838a9cd1df039cb313d7809f
388,347
pyt
Python
eran/NNet/nnet/ACASXU_run2a_1_6_batch_2000_16bit.pyt
pauls658/ReluDiff-ICSE2020-Artifact
212854fe04f482183c239e5dfec70106a9a83df8
[ "Apache-2.0" ]
7
2020-01-27T21:25:49.000Z
2022-01-07T04:37:37.000Z
eran/NNet/nnet/ACASXU_run2a_1_6_batch_2000_16bit.pyt
yqtianust/ReluDiff-ICSE2020-Artifact
149f6efe4799602db749faa576980c36921a07c7
[ "Apache-2.0" ]
1
2022-01-25T17:41:54.000Z
2022-01-26T02:27:51.000Z
eran/NNet/nnet/ACASXU_run2a_1_6_batch_2000_16bit.pyt
yqtianust/ReluDiff-ICSE2020-Artifact
149f6efe4799602db749faa576980c36921a07c7
[ "Apache-2.0" ]
3
2020-03-14T17:12:17.000Z
2022-03-16T09:50:46.000Z
ReLU [[0.0757265, 0.390525, 0.536794, 0.372584, -0.0462552], [0.0347555, 0.167795, -0.0624365, 0.334343, -0.43094], [0.289983, -0.0414354, -0.0545657, 0.198848, -0.0189019], [0.0477393, -0.925532, -0.0879031, 0.0295315, -0.0929011], [-0.129882, 0.161167, 0.837348, 0.0436584, 0.0229265], [-0.00859446, -0.00679297, -0.0188045, -0.407778, 0.0206749], [0.0175423, 0.0023728, -0.066116, 0.45217, -0.546977], [0.242976, -0.00709865, 0.000819349, 0.045623, -0.026782], [1.1621, -0.0126711, -0.00306683, -0.0741918, -0.809888], [-0.00921931, -0.448443, -0.168357, -0.0878082, 0.00328136], [-1.59976, 0.0376406, 0.00783161, -0.00457798, -0.021562], [0.0167103, -0.775372, 0.768174, 0.0272442, 0.10119], [-0.00765333, -0.00931993, -0.0126365, -0.0563882, 0.992517], [-0.135918, -0.115076, -0.650577, 0.186289, 0.00239425], [-0.00385216, -0.00303199, -0.0286583, 0.00575357, 0.000406354], [-0.0536095, -0.993565, -0.9859, 0.557202, -0.0592903], [-0.0303326, -0.645778, 0.781846, 0.122503, -0.419255], [0.00318378, -0.00315137, 0.00483857, -0.0156648, -0.00634133], [-0.121507, -0.0819598, -0.498118, -0.0832313, 0.0387913], [0.0792433, -0.618976, 0.444577, -0.401577, 0.242794], [-0.424615, 0.0254654, -0.000264581, 0.102192, 0.381687], [-0.174488, -0.146493, 0.0469507, -0.0984051, -0.145497], [0.0207249, 0.782341, -0.712456, 0.014926, 0.0963037], [-1.36611, 0.0189408, 0.00269447, -0.00112104, 0.0105524], [-0.438715, 0.119436, -0.153675, 0.227327, -0.320228], [-0.000549668, -0.00244677, -0.000356751, 0.00237183, 0.00332109], [0.47463, -0.147153, -0.173533, -0.135463, -0.156339], [0.0225491, 0.973599, -1.0281, 0.11734, -0.142923], [0.317758, -0.230383, 0.0340079, 0.0639598, -0.760226], [0.00644855, 0.945287, -0.0175071, -0.00077638, -0.0074736], [0.0156684, 0.746568, 0.14623, 0.00610078, 0.0131787], [-0.115777, 0.00511494, -0.00841278, 0.0669437, 0.231459], [0.00677079, -1.00572, 1.01539, 0.0904698, 0.0414083], [-0.0539082, 0.0156371, 0.0441452, -0.733625, -0.202825], [0.0015296, -0.019634, -0.827723, 0.00370509, 0.00391425], [-0.144973, 0.0115503, 0.000776999, 0.126818, 0.206755], [0.0114423, -0.0745693, -0.354879, -0.20911, 0.0762054], [0.00921445, -0.27833, -0.0302597, -0.0558347, 0.135308], [0.0771795, 0.403666, 0.478096, -0.0824412, 0.0353088], [0.0443571, 0.0251078, 0.182318, 0.335166, -0.274514], [-0.0781514, 1.39051, 0.127444, 0.311146, -0.0547451], [-0.222504, -0.116302, 0.0430376, -0.017722, 0.215843], [0.00643998, -0.403491, 0.456314, -0.0438069, 0.0691913], [0.328049, 0.00258069, -0.0133715, 0.203803, -0.0779019], [0.0065525, 0.00145844, -0.0179705, 0.00130668, 0.00359425], [-0.0414642, 0.0591386, -0.00579607, -0.468602, 0.339233], [0.180532, 0.186341, -0.133492, -0.177745, -0.881704], [0.0312709, 0.899567, 0.180968, 0.0567752, -0.177884], [0.00297557, -0.735367, -0.336342, 0.32317, -0.0234152], [-0.357875, -0.155444, 0.139395, 0.236314, -0.325258], [0.07574, 0.3906, 0.5366, 0.3726, -0.04626], [0.03476, 0.1678, -0.06244, 0.3342, -0.431], [0.29, -0.04144, -0.05457, 0.1989, -0.0189], [0.04773, -0.9253, -0.0879, 0.02953, -0.0929], [-0.1299, 0.1611, 0.8374, 0.04367, 0.02293], [-0.00859, -0.006794, -0.0188, -0.4077, 0.02068], [0.01755, 0.002373, -0.0661, 0.4521, -0.547], [0.2429, -0.0071, 0.000819, 0.04562, -0.02678], [1.162, -0.01267, -0.003067, -0.0742, -0.81], [-0.00922, -0.4485, -0.1683, -0.0878, 0.00328], [-1.6, 0.03763, 0.007835, -0.004578, -0.02156], [0.01671, -0.7754, 0.768, 0.02724, 0.1012], [-0.007652, -0.00932, -0.012634, -0.0564, 0.9927], [-0.1359, -0.11505, -0.6504, 0.1863, 0.002394], [-0.003853, -0.003033, -0.02866, 0.005753, 0.0004063], [-0.05362, -0.9937, -0.986, 0.557, -0.0593], [-0.03033, -0.646, 0.7817, 0.1225, -0.4192], [0.003183, -0.00315, 0.004837, -0.01567, -0.00634], [-0.1215, -0.082, -0.498, -0.08325, 0.0388], [0.0792, -0.619, 0.4446, -0.4016, 0.2428], [-0.4246, 0.02547, -0.0002646, 0.1022, 0.3816], [-0.1744, -0.1465, 0.04694, -0.0984, -0.1455], [0.02072, 0.782, -0.7124, 0.01492, 0.0963], [-1.366, 0.01894, 0.002695, -0.001121, 0.01055], [-0.4387, 0.11945, -0.1537, 0.2273, -0.3203], [-0.00055, -0.002447, -0.0003567, 0.002373, 0.00332], [0.4746, -0.1471, -0.1736, -0.1355, -0.1564], [0.02255, 0.9736, -1.028, 0.1173, -0.143], [0.3179, -0.2303, 0.034, 0.06396, -0.7603], [0.006447, 0.9453, -0.0175, -0.0007763, -0.007473], [0.01567, 0.7466, 0.1462, 0.0061, 0.013176], [-0.1158, 0.005116, -0.008415, 0.06696, 0.2314], [0.00677, -1.006, 1.016, 0.09045, 0.0414], [-0.0539, 0.01564, 0.04416, -0.7334, -0.2029], [0.00153, -0.01964, -0.8276, 0.003706, 0.003914], [-0.145, 0.01155, 0.000777, 0.1268, 0.2068], [0.011444, -0.0746, -0.355, -0.2091, 0.07623], [0.00922, -0.2783, -0.03026, -0.05585, 0.1353], [0.0772, 0.4036, 0.478, -0.08246, 0.0353], [0.04434, 0.0251, 0.1824, 0.3352, -0.2744], [-0.0781, 1.391, 0.1274, 0.311, -0.05475], [-0.2225, -0.1163, 0.04303, -0.01772, 0.2158], [0.00644, -0.4036, 0.4563, -0.0438, 0.0692], [0.3281, 0.00258, -0.013374, 0.2039, -0.0779], [0.006554, 0.001458, -0.01797, 0.001307, 0.003593], [-0.04147, 0.05914, -0.005795, -0.4685, 0.339], [0.1805, 0.1864, -0.1335, -0.1777, -0.882], [0.03128, 0.8994, 0.1809, 0.05676, -0.1779], [0.002975, -0.7354, -0.3364, 0.3232, -0.02342], [-0.358, -0.1554, 0.1394, 0.2363, -0.3252]] [0.0294444, -0.0154436, 0.00167328, -0.0172477, 0.0305429, 0.0805958, 0.0902623, 0.0763289, 0.00141075, 0.03521, -0.32215, -0.273978, -0.248473, 0.0727868, -0.0207039, -0.195192, 0.0208743, -0.0176616, -0.0224842, -0.317893, 0.111035, -0.0879414, -0.269813, -0.181175, -0.0337711, -0.0145461, -0.0176909, -0.0508363, -0.190306, 0.0325915, 0.13095, 0.00610069, -0.134762, -0.310597, 0.011187, 0.119552, 0.0491563, 0.0103368, 0.0650814, -0.0116333, 0.103975, 0.00755979, 0.231028, 0.208736, -0.0208957, -0.0465871, -0.313607, -0.0311411, 0.0907556, -0.0307049, 0.02945, -0.01544, 0.001674, -0.01724, 0.03055, 0.08057, 0.0903, 0.07635, 0.0014105, 0.03522, -0.3223, -0.274, -0.2484, 0.0728, -0.0207, -0.1952, 0.02087, -0.01765, -0.02249, -0.3179, 0.111, -0.08795, -0.2698, -0.1812, -0.03378, -0.01455, -0.01768, -0.05084, -0.1903, 0.0326, 0.131, 0.0061, -0.1348, -0.3105, 0.011185, 0.11957, 0.04916, 0.01034, 0.06506, -0.011635, 0.104, 0.00756, 0.2311, 0.2087, -0.02089, -0.0466, -0.3137, -0.03114, 0.09076, -0.0307] ReLU [[-0.0326625, 0.0370903, -0.0837334, -0.0375633, -0.0180247, -0.0137576, -0.0486872, 0.0143387, 0.00863393, -0.0647141, -0.0273741, 0.0118701, -0.00952416, 0.00846763, 0.00963528, -0.0233782, 0.0282353, 0.0435056, 0.0302222, -0.0119817, -0.030565, -0.0538374, 0.0292134, 0.0274648, -0.0228934, -0.0062786, -0.0112794, -0.0347718, 0.00949978, 0.0228404, -0.000230984, -0.0751558, 0.0152449, -0.0361376, -0.0471747, -0.0437152, 0.00538333, 0.0233432, -0.0470954, -0.0559001, -0.00837433, -0.0558501, 0.0236582, -0.00462657, 0.00141121, -0.00782602, 0.0182786, -0.0649094, 0.0115024, -0.0266948, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.003875, 0.442176, 1.41636, -2.40266, 0.339157, 0.337609, 0.942509, -0.720679, 0.0266722, -0.958033, 0.306293, -0.643893, -0.0934753, 0.357719, -0.035878, 0.139005, -0.0327307, -0.0183687, -0.299907, -1.00246, -6.13458, 0.122765, 0.310763, 0.619445, 1.06258, -0.0287832, 0.135059, -0.847488, 0.15506, -0.996224, -1.29067, -0.22314, -0.878677, 0.7299, 0.166662, -4.37311, 0.038083, -1.37002, -0.0221319, 0.987599, -0.911146, -1.48161, -0.0911517, -1.04261, 0.0122546, -0.333976, 1.71943, -0.177735, -0.737788, 0.757927, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0140875, 0.588484, 0.180807, -0.170736, 0.634298, 0.210769, 0.0932247, 0.186418, 0.112124, -0.0823659, -0.0395019, -0.133983, 0.0217618, -0.122574, -0.00342015, -0.313401, 0.284779, 0.0253621, 0.161573, 0.438272, 0.0153899, -0.135753, 2.15466, 0.171427, 0.248871, 0.0341026, -0.0268365, 0.695657, -0.161044, 0.0884567, -0.232024, -0.344697, 1.1511, -0.316744, -0.0181961, -0.259211, -0.20003, 0.43498, -0.00638194, -0.0517662, -0.333357, 0.405919, -0.162797, -0.0272908, -0.040339, 0.610496, -0.122364, 0.245319, 0.694145, -0.306832, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0718685, -0.0835511, -0.107927, 0.140013, 0.205005, -0.693148, 0.471733, 0.169163, -0.119355, -0.167226, 1.03089, 0.486141, 0.378688, -0.00982852, -0.0485773, -0.121798, 0.586082, -0.0223388, -0.0336569, -0.15695, -0.35453, -0.369886, -0.0713165, 0.787047, 0.480715, -0.0360265, -0.489124, 0.206345, 0.651576, 0.180628, -0.0430227, 0.847111, -0.0334082, -0.385281, 0.645749, -0.255736, -0.457713, 0.0141378, -0.0948859, -0.320718, -0.122413, -0.202046, 0.00485264, -0.503862, 0.0239364, 0.127869, 0.808648, -0.0946398, -0.0435369, 0.142947, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.886979, -0.0736948, 1.29105, -0.441745, 1.15492, 0.744783, -0.651311, -0.368234, -0.0389058, 0.131842, -0.209265, -0.836333, -0.635927, -0.918326, -0.023508, -0.0346196, -0.26996, 0.0429227, 0.826737, 0.0849071, 0.817267, -0.200446, -0.169848, 0.458059, -0.661551, 0.00860077, -0.124848, -0.223985, -0.427035, -0.773869, 0.039996, -1.39655, -0.315295, 0.304893, 0.268872, 0.826588, -0.141084, 0.266626, 0.742907, 1.00039, -0.47011, 0.139433, 0.0297505, -0.438618, 0.0350463, 0.351724, -0.596932, 0.221862, 0.156152, -0.315454, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0813604, -0.452667, -0.0232929, 0.0958377, -0.733969, 0.256693, -0.217392, 0.287891, 0.0760186, 0.113175, -0.233503, -1.08652, -0.0984505, 0.860594, 0.0123012, 0.16565, -0.433138, -0.00450715, -0.22425, 0.106254, -0.205942, -0.0190419, -0.959656, -0.199437, -0.0094584, -0.0145484, -0.0664003, -0.628377, 0.196275, -0.484131, 0.087007, -0.475394, -0.776591, 0.271275, -0.0335562, 0.0419825, 0.210712, -0.177947, -0.293873, -0.655291, 0.0383451, -0.133905, 0.247737, 0.396633, 0.0354111, 0.670126, -0.592837, -0.566621, 0.382973, -0.00194576, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.118713, -0.714172, -0.304059, 0.0351548, 0.36353, 0.196254, -0.340301, -0.0482933, 0.0671643, 0.541961, 0.132875, -0.142568, -0.192205, 0.0408082, -0.00211411, -0.21125, 0.13039, 0.0134424, 0.336696, 0.657458, -0.314128, -0.12371, 0.584494, 0.295115, -0.460052, 0.0147101, 0.170806, 0.465071, -0.335529, 0.120218, 0.186277, 0.940047, 0.550716, 0.675858, -0.16094, -1.32272, 0.159835, -0.11509, 0.136065, -2.27752, -0.0688769, 0.240953, -0.258301, -0.337507, 0.0129824, 1.07574, 0.236401, 0.155096, 0.268211, 0.485653, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0321721, 0.806901, -0.0366333, 0.134301, -0.093758, -0.421538, 0.353715, -0.358155, 0.237446, 1.01089, -0.290284, 2.63754, 0.177584, 0.776103, 0.0135117, -0.28984, 0.552744, -0.00556565, 0.0175352, -0.00022331, -0.283489, 0.328635, 1.66326, -0.169953, -0.0443272, -0.003113, -0.305813, 0.61062, 0.183255, 0.0137784, 0.318073, 0.379442, 0.371048, -0.655595, 0.270411, -0.272328, 0.290472, 0.345427, -0.325781, -0.888991, 0.632452, 0.027322, -0.300795, -0.531841, -0.0360949, -0.43719, 0.0293309, -0.458278, -0.67809, 0.384933, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.250193, -2.96251, -1.03597, 0.149939, 0.0105213, 0.281927, -0.76845, -0.105716, 0.10124, 0.193945, -0.278788, -0.0844659, 0.619692, 0.135113, -0.00585822, 0.394863, -0.0853543, -0.0249076, -0.160504, 0.0186709, -1.273, 0.227773, 0.196874, -0.00903935, 0.212081, -0.0445747, 0.442513, -0.104712, -0.115418, -0.156539, 0.471806, 0.594507, -0.0971316, 0.807836, -0.249723, -1.48799, 0.13621, -0.240694, -0.0613813, 1.98345, 0.0236083, -0.113637, 0.088513, -0.0526117, 0.0202226, 0.494137, -0.36844, -0.318525, -0.613549, -0.180264, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.625611, 0.0294389, -0.218176, -0.388734, 0.0833597, 0.103236, -0.362142, 0.222991, -0.0802118, 0.203521, -1.81072, 1.84266, -0.0457697, -0.1265, -0.0132348, -0.264467, 0.48624, -0.0203474, 0.457042, 0.281377, 0.0666751, 0.114906, 3.01122, -0.148911, -0.33406, -0.0347955, 0.244639, 0.490975, -0.224444, 0.0420521, -0.932487, -0.457242, 0.596048, 0.35501, 0.0947963, -0.126278, -0.199702, -0.120134, 0.267646, -0.552363, -0.0906135, -0.0226478, 0.121646, 0.119519, -0.00335095, 0.158441, -0.230259, 0.44635, -0.351791, -0.41209, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.416094, -0.123402, 0.357088, -0.102453, -0.0741077, 0.0743293, -0.548486, 0.0277702, -0.104496, -0.499979, -0.274544, -0.511111, -0.0357481, 0.346349, -0.0267271, 0.420396, 0.160692, 0.0437075, 0.0766753, -0.108076, -0.0107872, -0.456348, -0.119992, 0.144293, -0.234734, -0.00222935, 0.112356, 0.852801, -0.380807, 0.00366328, 0.54074, -0.648488, 1.35183, 0.563288, 0.313788, -0.298801, -0.00730857, -0.153793, 0.266441, -0.423896, 0.495121, 0.367474, -0.786021, -0.267848, -0.0307769, 1.06922, -0.306603, -0.19157, 0.116484, -0.205946, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.155311, 0.481633, 0.288249, -1.74896, 0.206459, 0.220347, 0.357178, -0.332032, 0.0998589, 0.0962979, -0.132356, 0.478046, -0.134659, -0.0533389, -0.000885761, 0.0818692, -0.672108, 0.00655062, -0.130244, 0.0686514, -0.557582, -0.00439789, 0.45224, 0.0941233, 0.335535, 0.0047991, 0.0531807, -0.551366, 0.229413, -0.255797, -0.24614, -0.288347, -0.132214, 0.123156, 0.0644953, -1.53447, 0.131652, -1.05421, -0.0227193, 0.157238, 0.170964, -0.774003, -0.0925274, -0.490794, -0.0199398, -0.5854, 0.680169, 0.343023, -0.0901775, 0.312499, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0760657, 0.965792, 0.952925, -0.86622, -0.0572867, -0.124341, 0.149614, -0.294627, 0.031303, 0.232142, -0.244521, -0.405516, -0.151286, 0.423765, 0.0408277, -0.232184, 0.274048, -0.0130003, 0.113825, 0.217464, 0.311466, 0.20352, 0.648406, 0.0982456, 0.387159, 0.0334887, -0.1345, -0.0318334, -0.415143, -0.526672, -0.455369, 0.361518, 0.00918837, -0.125084, 0.0258059, 0.484353, -0.274865, -0.150994, -0.463139, 0.475629, -0.374402, -0.124089, 0.057149, -0.555032, 0.00473992, -0.448092, -0.311975, 0.0679889, -0.413898, 0.105219, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0266768, -0.00825097, 0.0387468, -0.0372524, -0.0423643, -0.0513047, -0.0536479, -0.0295456, -0.0431677, 0.0209966, -0.033385, -0.00347086, -0.00835324, -0.0290647, -0.0247219, 0.0149368, 0.00995893, -0.0379412, 0.0193171, -0.039445, -0.0484455, 0.0196718, -0.01876, -0.0409312, -0.0152856, -0.0100962, -0.0147172, 0.0380068, 0.0160412, -0.0239902, -0.0557165, 0.0325608, -0.0486275, 0.0304606, -0.0153965, 0.0228813, -0.0451237, 0.000427086, -0.0480434, -0.0094576, -0.0129811, -0.0259686, -0.015916, 0.00314026, -0.0316566, 0.0391059, 0.0167259, -0.00680488, 0.0369484, -0.0459857, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.226155, 1.00559, 0.0070498, 0.210282, -0.250785, -0.605636, -0.935269, 0.611806, 0.649956, 0.85522, -0.286741, 0.372133, 0.788975, -0.140804, 0.0214905, -0.0607357, -0.237759, -0.0150182, -0.243944, -0.573943, -0.196873, -0.687038, -0.136646, -0.0536463, -0.312828, -0.0416501, 0.0351352, -0.0921929, -0.210724, 0.136614, 0.249677, 1.14592, -0.0817884, 0.392958, -0.312167, -0.828149, -0.151669, 0.317873, -0.00573024, 0.195205, -0.117572, 0.0248211, -0.184483, 0.651239, -0.00723394, -0.340491, 0.310844, 0.136664, -0.24702, -0.572582, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.411188, -0.71536, -0.769334, 0.602099, 0.249116, 0.00791796, -0.408052, 0.272292, 0.00502142, -0.0338355, -0.061481, -0.784746, -0.093313, 0.0347379, -0.0411223, -1.07122, -0.185887, 0.0179867, -0.0412321, -0.385351, -0.443287, -0.490707, -1.18886, -0.103967, 0.0329183, -0.00244529, 0.0158682, -0.366099, -0.0687569, 0.227462, 0.248834, 0.0813728, -0.628746, 0.00898414, -0.924405, -0.0681813, -0.0387104, -0.0130856, -0.0918216, 0.518475, 0.347604, 0.43196, 0.401776, 0.249116, -0.0320944, 0.699142, 0.244398, 0.174603, -0.569001, 0.125069, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.10139, 0.0486294, -0.66593, 0.726263, -0.0846554, -0.931486, 0.891555, -0.0475816, -0.137469, 0.377273, -0.415082, -1.16224, 0.931531, 0.575808, 0.00692532, 0.0831898, 0.72969, -0.0275605, -0.173846, -0.533248, -0.378697, -0.0170334, 0.558881, -0.320469, -0.0517526, -0.00706272, -0.188067, 0.0137411, -0.0363545, -0.602395, -1.65885, -0.434296, -0.384904, -0.956684, 0.356288, -0.204654, -0.149745, -0.974029, -0.22185, 0.0612339, -0.697456, -0.266319, 0.21185, 0.103835, 0.0129643, -1.25456, 0.816777, -0.4326, -0.189383, 0.246524, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.857142, 0.886848, 0.440586, 0.265597, -0.123306, -0.118308, -0.0143421, 0.0140616, 0.332468, 0.480661, -0.739278, 0.523818, 0.739038, -0.00495904, -0.00884483, -0.476347, 0.0521844, 0.0401446, 0.228489, 0.0158617, -1.06242, 0.0917796, 0.0905348, 0.312703, -0.795891, 0.00352323, 0.202979, 0.175814, -0.132832, 0.154966, -0.0303333, 0.251624, -0.0328945, 0.150038, 0.0694592, -0.9517, 0.3057, -0.492631, -0.539098, 1.83226, -0.291294, 0.0579854, 0.20146, -0.015716, 0.0238491, 0.089334, -0.434383, 0.859946, -0.225838, -0.471398, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0282771, -0.0212092, -0.00365813, 0.00992689, -0.0546019, -0.0185588, -0.0245872, -0.0381559, 0.0375728, 0.0330942, 0.0284032, -0.031738, -0.0313596, 0.000252115, -0.00346533, -0.020706, -0.0318831, -0.0347068, -0.0288844, 0.00864857, 0.0145703, -0.0297864, -0.00393007, -0.0314038, -0.0351199, 0.0391694, -0.0507778, -0.0337045, -0.0173242, -0.0100999, -0.0494245, -0.0196312, 0.0256413, 0.0159833, -0.0394288, -0.0137922, -0.0435518, -0.0238768, -0.0220382, -0.018822, 0.0364536, 0.0237229, 0.0204116, -0.0078546, -0.0268764, -0.000868345, 0.035548, -0.0219367, 0.0260129, -0.0304653, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0483298, -0.0534411, -0.00723468, -0.0168085, 0.0143005, -0.0225458, -0.0173433, -0.0204095, -0.0501055, 0.0172662, 0.0147087, -0.0477662, 0.00952658, 0.00399505, 0.0415615, 0.0188927, 0.0110073, -0.0457768, 0.00400046, -0.03715, -0.0555388, -0.0223504, -0.0420415, 0.0267444, 0.0279178, -0.0104221, -0.0613495, 0.0297591, 0.0152978, 0.0109139, -0.0546753, -0.0582217, -0.0346276, 0.0397938, 0.0289379, -0.00228907, -0.0402301, -0.0583242, 0.0126251, 0.00721795, -0.0384373, -0.0277917, 0.0343227, -0.0166046, 0.0163388, -0.0333353, 0.00964278, -0.00346156, -0.0520436, -0.0497759, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.319853, -0.783512, -0.306024, 0.571606, 0.254799, -0.819952, 0.718909, 0.00596193, 0.0221247, -0.292902, -0.105161, 1.31663, 0.578733, 0.607738, -0.0151527, 0.153827, 0.864479, 0.0340768, 0.730969, -0.0172006, -0.0200185, -0.157828, 0.370929, 0.221849, 0.269881, 0.0032026, 0.0364604, -0.0360086, 0.541659, -0.62514, -0.468314, -0.0866683, 0.320106, -0.693944, 1.37145, -0.0750508, -0.478751, -0.783747, -0.0577214, -0.778135, 0.350313, -0.616892, 0.187451, 0.14805, 0.0207654, -0.403425, 0.0721744, 0.115285, 0.0284456, -0.137571, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.17551, 0.441239, 0.386022, 0.443365, -0.163506, 0.0785393, -0.347779, -0.0783017, 0.0414558, -0.00784242, -0.676091, 0.129684, 0.102821, 0.0131349, 0.00820944, -0.292546, -0.0189258, -0.0266768, -0.0423639, 0.0583642, 1.34476, 0.0377897, 0.114512, -0.320197, -0.465406, 0.0507156, -0.666569, -0.246813, 0.489262, -0.480114, 0.202917, -0.626412, -0.120429, 0.412953, 0.479801, 0.731366, 0.554844, -0.462727, 0.307241, 0.0138185, 0.137075, -0.0972868, -0.037639, -0.157587, 0.0334584, -0.134317, -0.497063, -0.149455, -0.193496, 0.0630156, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.323473, -0.440756, 0.357335, -0.389286, 0.0979811, -0.369294, 0.659358, -0.211213, -0.0504367, 0.00180956, 0.01229, -0.626128, -0.0245438, -0.423688, 0.0414096, 0.0861982, -0.133624, 0.031186, 0.443289, 0.262055, 0.0569857, -0.774531, 0.270295, 0.457478, -0.145836, 0.0224077, 0.0590167, -0.206193, -0.0323516, 0.160694, 0.389281, -0.157617, -0.283713, -0.713379, -0.0499157, 0.0511801, -0.425366, -0.59488, 0.0207247, -0.521469, -0.293493, 0.462533, 0.286802, -0.22602, 0.0430968, -0.0714991, -0.29043, 0.191452, 0.114522, -0.0497528, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0966184, -0.145338, -0.358796, -0.132503, -0.164618, 0.353932, 0.341548, -0.597378, 0.285141, -0.147821, 0.185276, 0.118374, -0.0047574, -0.135005, -0.0237236, 0.297749, 0.238795, -0.0174878, 0.130486, -0.766926, -1.64051, 0.232361, -0.714303, 0.697665, -0.115623, 0.0109223, 0.124033, 0.00311642, -0.162215, 0.187464, 0.124027, -0.396888, -0.0959152, 1.16367, -0.00975244, -2.01974, 0.178627, 0.315333, -0.108853, -0.976839, -0.0523566, 0.105882, -0.0551659, -0.686948, 0.0271011, 0.064392, 0.315881, -0.0259145, -0.325475, 0.0816113, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0734328, 0.561658, 0.000625922, -1.38063, -1.28564, -0.615779, 0.169969, -0.0439401, 0.0783865, -0.686387, 0.2277, -0.288394, 0.357278, 0.410102, -0.0122226, -0.40885, 1.49637, -0.0122904, 0.0393996, 0.128528, 0.00366381, 0.793925, 2.25767, 0.00378724, 0.200761, 0.0427149, -0.165178, 0.959078, 0.061439, 0.174426, 0.221676, -0.0984112, -0.349048, -0.750044, 0.312002, -0.0239644, 0.0253172, -0.0114476, -0.447563, -0.346187, 0.170728, -0.247536, -2.25729, -0.015236, -0.0013549, -0.663739, -0.0104283, -0.198429, -0.590694, -0.0669923, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0305551, -0.0174794, -0.0607648, -0.0308064, -0.0444055, -0.0408395, -0.036478, -0.0212395, -0.0500552, 0.0344495, -0.0572276, -0.0403753, -0.0256103, 0.00196669, -0.0249244, -0.0527133, -0.0341744, 0.0309057, 0.0252491, -0.0312404, 0.0078298, -0.0250129, 0.0168991, -0.0259114, 0.0379913, 0.0512272, -0.0133813, 0.00393013, 0.040097, 0.024157, 0.0232886, -0.0473572, -0.018574, 0.0118521, -0.00245902, -0.0302037, 0.0146863, -0.0449793, -0.0588785, -0.0296574, -0.0561812, 0.0053744, 0.0221578, -0.026244, 0.0116511, 0.0236716, 0.0345433, -0.017267, 0.0324172, 0.0229972, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.421653, -0.0612853, -0.242212, 0.0563478, 0.346053, 0.107225, 0.059894, -0.255523, 0.0409563, 0.618486, 0.168133, -1.314, -0.0460123, -0.533169, 0.0335016, -0.0157314, -0.839533, -0.00962062, 0.168924, -0.505367, -0.197194, -0.268695, -0.305972, -0.170014, -0.0866004, -0.0413944, 0.0164578, -1.13974, -0.215159, -0.114468, 0.278951, 0.0276514, -1.49912, 0.174036, 0.184758, -0.495498, 0.269572, 0.409465, 0.724069, -0.0437464, 0.0343164, 0.620167, 0.418127, 0.231361, 0.0184991, 0.00886988, -0.26035, 0.345603, 0.332035, 0.0989238, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0769791, -0.0320239, 0.309773, 0.147305, 0.0285036, 0.143572, 0.204996, -0.227577, 0.143056, 0.494415, 0.150524, -0.964699, -0.0838707, -0.144117, -0.0194075, -0.0762283, -0.0124922, -0.035577, 0.0869774, -0.248892, -1.49469, 0.00921135, -0.711206, 0.147508, 0.034917, -0.0277795, -0.356954, -0.193378, 0.401964, -1.68141, -0.660237, -0.181513, 0.000795433, 0.232048, 0.122232, -0.780734, -0.0754469, -0.0697227, 0.178963, -0.0661889, 0.174089, -0.123252, 0.175803, -0.292054, 0.00643458, -0.486456, 0.259848, -1.10582, 0.0220499, 0.434004, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.269928, 1.37966, 0.0852425, -0.182927, 0.268486, 0.0253771, 0.596988, -0.552676, 0.118088, -0.725477, 0.18377, 1.2827, -0.270863, -0.372797, -0.00390575, 0.22917, -0.134991, 0.030054, 0.291813, 1.04687, -0.74925, -0.390642, 2.71215, 0.271881, 0.272694, 0.0179615, -0.0441258, -0.761913, -0.119515, -2.07965, 0.195371, 1.66712, -0.601579, 0.281729, 0.416004, -0.886435, 0.178517, -0.702517, 0.28816, -0.394957, -0.279541, -0.0443761, 0.00346534, -0.654295, -0.00196306, -0.141231, 0.692071, -0.165616, -0.251694, 0.123535, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0877033, 0.107335, -0.0412265, 0.0861867, -0.622508, -0.109711, 0.158548, -0.200176, 0.253806, -0.118174, -0.195288, 0.0963941, 0.152544, 0.436815, 0.0467246, 0.0115029, -0.152712, 0.0105804, 0.368233, 0.393099, -0.109043, -0.0963397, -0.120173, -0.0842167, -0.222698, -0.0281558, -0.150154, -0.14826, 0.418001, -0.148577, 0.23403, 0.227635, -0.0927351, 0.014941, 1.41578, -0.506315, 0.0559697, 0.149512, 0.00163814, -0.134762, 0.114754, 0.13711, 0.100257, 0.0387407, 0.0291296, -0.163373, -0.0882555, -0.0596988, -0.121729, -0.227877, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0147752, -0.0107904, -0.00132274, -0.0375878, 0.0393391, -0.0301768, -0.0291688, -0.0127939, -0.0403912, -0.0681181, -0.0292429, -0.0265837, 0.0316286, -0.0285663, -0.0194548, -0.0358336, 0.0123154, 0.00192921, 0.0180816, 0.00858474, -0.0077612, 0.0145135, 0.0290614, -0.0541615, 0.0337632, -0.0352909, -0.0444554, -0.0464132, 0.02035, 0.0173843, -0.0386198, 0.00219042, -0.0116842, 0.0398584, -0.00529979, -0.0433983, -0.0449375, 0.0327423, -0.0510036, -0.0547278, -0.0503134, -0.014001, 0.00255291, 0.0267588, 0.003696, 0.041774, 0.0138998, -0.0166569, -0.0107694, 0.0277678, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0156372, -0.0315696, -0.0270297, -0.0469123, -0.0330899, -0.0239286, 0.0192202, -0.00586268, -0.0482057, 0.0151407, 0.00599311, -0.0555214, 0.0179884, 0.0338356, 0.0350895, -0.0419999, -0.0282764, -0.00394041, 0.0508286, -0.00463627, -0.0449001, -0.0470814, -0.0320501, 0.0264983, -0.0300945, -0.035777, -0.035538, -0.0234438, -0.0642581, -0.0229419, 0.00841149, -0.013856, 0.0079649, 0.0177466, 0.0432412, -0.0449836, -0.0419015, -0.0258721, -0.0134394, -0.0442196, 0.0175924, -0.0627645, 0.0174719, 0.0115281, -0.0447528, -0.0576424, 0.00214588, -0.053708, -0.0395681, 0.0126492, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.591144, 0.551588, 0.153209, -1.14824, 0.0201787, 0.209575, -0.942177, -0.0241001, -0.0840207, -0.406175, 0.0443419, -0.481601, -0.286804, 0.0177561, -0.0221719, 0.276086, -0.171676, 0.00769668, 0.0785252, 0.351051, 0.21037, -0.118456, -0.726094, -0.120401, -0.625098, -0.0103358, 0.148385, -0.749089, -0.35778, -0.330333, 0.109079, 0.0979905, -0.643629, 0.467696, 0.0257163, -0.151145, 0.438715, 0.0914196, 0.0361058, 0.848373, -0.0978069, -0.161225, 0.278174, -0.0230091, -0.0230623, 0.474476, 0.0638535, -0.130429, -0.246916, -1.14386, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.29392, -0.0397721, -0.246054, 0.237536, -0.00475317, 0.228247, -0.462536, -0.207766, 0.0994669, -0.0483697, -0.0243376, -0.176812, -1.87908, -0.248732, 0.038521, -0.0150076, 0.0983753, 0.0512512, 0.424852, 0.372839, -0.541739, 0.0228073, 0.328442, 0.147854, 0.366077, -0.011359, -0.0545238, -0.177547, -0.122761, 0.172644, -0.11207, 1.05707, -0.0092965, 0.077665, 0.424774, -0.464481, 0.231077, -0.43033, 0.0125506, 0.129, 0.0920219, -0.0526203, 0.305213, -0.20989, 0.0475553, -0.413164, 0.233875, 0.242399, -0.276049, -0.157458, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.1194, 0.48541, -1.20038, 0.411385, 0.0548271, 0.0378894, -0.000204876, -0.551373, -0.0996362, -0.231993, 0.538906, -0.238617, -0.745936, -0.376886, -0.0140558, 0.0778063, -0.0681533, -0.0531878, 0.250651, 0.00504995, 1.26579, 0.212902, -0.0876133, 1.25023, 0.0601643, 0.000658809, 0.171667, 0.0747038, -0.0607501, 0.0421191, -0.311946, -0.343233, 0.426056, -0.208097, 0.54007, -0.329375, 0.104781, -0.0493405, -0.016127, 0.705206, 0.338317, 0.12763, 0.0957224, -0.862505, -0.0407196, 0.864795, -0.731172, 0.192338, 0.0238066, -0.327901, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.619214, -0.266837, -0.343781, -0.328343, -0.357728, -0.406696, -0.0343209, 0.235478, -0.311884, -0.0777501, -0.478851, 1.51576, -0.123573, -0.409677, 0.0427099, -0.0329462, 0.569713, -0.031682, -0.229923, -0.0491363, 0.537568, -0.0656158, 1.38878, -0.354454, 0.372222, -0.0450244, 0.160224, 1.28715, 0.757382, 0.29887, 0.0206287, -0.476206, 1.27153, -0.220032, -0.206731, 0.361379, -0.0487086, -0.0585098, -0.0676717, 0.664899, -0.0916988, 0.203413, -0.330206, 0.102744, -0.00560135, -0.466837, -0.378131, 0.0252728, -0.396817, 0.119612, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00973335, -0.263475, 0.399098, 0.496805, -0.0720941, -0.0670593, 0.0272851, 0.630671, 0.0853659, 0.266308, -0.836417, 0.554681, -0.164767, -0.110426, 0.0179891, 0.0960893, -0.350425, 0.00439831, -0.00903259, -0.201532, -0.252652, -0.0832514, 0.635279, -0.785616, -0.0712307, -0.0328702, 0.0777742, -0.431525, 0.363589, 0.157456, 0.373029, 0.265967, -0.700071, -0.0349057, 0.148253, -0.498792, 0.254162, 0.026454, 0.120803, 0.145976, 0.0283847, 0.194664, 0.607732, 1.27132, -0.0107586, 0.33393, 0.232249, 0.289646, 0.059842, -0.115592, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0282452, 0.0478866, 0.129032, -0.205626, 0.263456, -0.738783, 0.189399, 0.00163917, 0.064521, -0.205164, -0.0102865, 1.4872, 0.124766, -0.469377, -0.0220318, -0.45286, 0.340579, -0.0249225, -0.280161, 0.163786, 0.00817072, 0.341182, -0.00195252, -0.146122, 0.147126, 0.0168263, -0.296044, 0.00931367, -0.147486, -1.50533, -0.249507, -0.0490271, 0.958635, -0.205305, -5.32869, -0.204758, -1.09501, 0.00565585, 0.102253, 0.115482, -1.01978, 0.186618, 0.257943, -0.0251784, 0.0513865, -0.213028, -0.368874, -0.567814, 0.241959, -0.189919, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0344092, 0.00874676, -0.000385693, 0.0237692, 0.0282049, -0.0452431, 0.0226141, -0.0506558, 0.0365748, 0.00595049, -0.044129, -0.0265513, -0.0354098, -0.0563448, 0.0444686, -0.0429803, -0.0340378, -0.0242255, 0.0310248, -0.0341057, 0.0130755, -0.00627875, 0.0129227, 0.0300271, -0.0197376, 7.53626e-05, -0.0536312, 0.00373341, 0.0210234, -0.0146015, 0.0193881, -0.0218184, 6.62842e-05, -0.0370638, -0.041726, -0.0153495, -0.0314314, -0.0588592, 0.00454597, -0.0482531, -0.0574663, 0.0295241, -0.0172792, 0.0109428, -0.0404167, 0.0253552, -0.0271062, 0.0226244, -0.0257134, 0.00467962, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.227071, -0.839838, 1.51003, 0.222368, -0.75883, 0.496543, 0.267864, -0.579707, -0.353832, 0.364545, -0.478224, 0.629922, -0.241754, 0.620922, 0.0308699, 0.050676, -0.036551, 0.00798507, -0.436375, 0.0484045, 0.145939, 0.171987, 1.9012, 0.014845, -0.475133, 0.0152779, 0.291146, 0.261333, -0.225874, 0.0536136, 0.0968147, -0.216515, -0.0739841, -0.215837, -2.00998, -0.136354, 0.235674, 0.14664, 0.068287, 0.852205, 0.208975, 0.612563, 0.0689368, -0.71328, -0.0355644, -0.676146, -0.0745697, 0.441561, 0.717805, -0.294552, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00403782, -0.00239479, -0.0448522, -0.0356606, 0.0276923, 0.00695417, -0.0158692, 0.01398, -0.0102904, 0.00565536, 0.0177747, 0.0181837, 0.00993734, 0.0343994, 0.00129896, 0.0161611, -0.0199642, 0.0413362, -0.0290958, -0.0426556, -0.0091678, -0.0376644, 0.0415489, 0.0165756, -0.0376055, 0.010762, 0.0350418, -0.0113165, -0.00591456, -0.00992371, -0.053365, -0.0124374, 0.0320591, 0.032662, -0.0328898, -0.0521598, 0.0210268, -0.0121562, -0.0496869, -0.0203304, 0.0361378, 0.00236347, 0.0229553, -0.0242205, -0.0253968, -0.0165859, -0.0434128, -0.00811433, -0.0537734, -0.00331187, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.379326, -1.65888, -1.28839, 0.29156, 0.288373, -0.334575, 0.316877, 0.0505124, 0.867635, 0.0521982, -0.266063, -0.324503, -2.62698, 0.0535183, -0.00790557, -0.236802, 0.232272, -0.0156253, 0.0807067, 0.789189, -0.397869, 0.426332, 0.609068, -0.813241, -0.217309, -0.0266521, -0.45187, 0.1772, 0.719298, -0.0909029, -0.185507, -0.441022, -0.083886, 0.89421, -0.0929816, 1.40454, 0.0208697, 0.00277711, -0.247364, -0.747438, 0.29829, -0.160566, -0.264399, 0.156865, 0.0414923, -0.235899, 0.775903, -0.280138, -0.335033, 0.135023, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0283653, 0.00261124, 0.0390801, -0.0157435, 0.00123588, 0.00475332, -0.0499126, -0.0187614, -0.0205012, -0.0377393, -0.0504166, -0.0278979, 0.0267166, -0.0328124, 0.00705431, 0.0255912, -0.031047, -0.0501655, 0.0365643, -0.0345281, 0.00384251, 0.00543549, 0.025721, -0.00409516, -0.0116115, 0.00468343, -0.00236773, 0.0056163, -0.0119354, -0.0516111, 0.0223973, -0.0236461, -0.00132009, 0.00524931, -0.0401616, -0.0125245, 0.0160797, 0.00949096, 0.0251477, 0.0353339, -0.0242607, -0.0330091, -0.0520583, 0.00907417, -0.0351981, -0.0390944, -0.00214254, -0.0195672, -0.0296877, 0.007257, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.162778, 0.640589, -0.785946, -0.625903, 0.476085, -0.880153, 0.44446, 0.0990865, 0.0954816, -0.657092, -0.543362, -0.727452, 0.655827, -0.257936, 0.0225042, -0.0938014, -0.500535, -0.0313144, -0.0854068, 0.0759063, -0.569177, -0.646152, -1.64427, -0.32707, 0.168798, -0.0111819, -0.321127, -0.400876, 0.0852418, 0.634464, 0.101324, -0.732732, -0.130057, -0.143675, -0.262011, -0.62276, -0.197318, 0.956213, 0.362322, -0.525478, 0.351356, 0.0844688, 0.430193, 0.217985, 0.0276109, -0.44425, 0.845078, 0.174772, -0.00585361, 0.29881, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.261105, 0.310939, 0.146731, 0.240106, -0.00198576, -0.577585, 0.514549, -0.227261, 0.0309068, -0.204584, 0.215141, 2.21889, 0.319739, -0.132265, -0.0187347, -0.230198, 0.559871, 0.041535, -0.775772, 0.0838581, -0.133792, -0.153829, 0.0400994, -0.0581669, 0.327415, 0.00107731, -0.190379, -0.425075, 0.18, -1.15216, -0.641729, -0.10104, 1.16863, -0.592131, -4.63368, -0.625625, -1.22863, 0.0390831, -0.603512, -0.206277, -0.899725, 0.0564822, 0.243402, -0.217427, 0.0479017, -0.516134, 0.469606, -0.011564, 0.117018, 0.391537, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0213288, -0.0377688, -0.0314997, -0.0274784, 0.0290075, 0.0234546, 0.0140199, -0.028934, 0.0171275, 0.0353121, -0.0104415, 0.0324205, 0.0419986, 0.0168837, 0.0136454, 0.0113554, -0.0401205, -0.0250285, 0.00968826, -0.0454011, 0.0182093, 0.0159166, -0.0493594, -0.0298983, -0.0297989, 0.0325649, -0.02798, -0.00585235, -0.0293648, -0.0399953, -0.0470931, 0.0115829, 0.0389869, -0.0440781, -0.0192176, -0.0462056, -0.0069237, -0.0502989, -0.0231404, 0.0105968, 0.0186374, -0.0284306, -0.0199731, -0.0254128, 0.0257697, -0.0488757, -0.00363952, 0.0468538, 0.00565034, 0.000205015, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.71935, -0.0846374, 0.244822, 0.220071, 0.41099, -0.192004, 0.161804, -0.770147, 0.251705, -0.325013, 0.280676, 0.430674, 1.29456, -0.115484, -0.0401641, -0.263437, 0.0734514, -0.0229954, 0.0011527, 0.794122, -0.572826, 0.33541, -0.160082, 0.545615, 0.578718, 0.0493093, -0.911247, 0.245256, 0.543316, -1.11284, 0.375988, 0.288978, 0.274105, 0.0822376, -1.32821, -1.82611, -1.16673, 0.277162, 0.114857, 1.04049, -0.326348, -0.45564, -0.22326, -1.35277, -0.0340449, -0.764109, 0.976569, -0.234915, -0.34501, 0.04836, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.510369, 0.946371, 0.602217, -1.194, 0.359757, 0.379436, 0.35746, 0.191107, -0.227246, 0.856329, -0.245953, -0.363073, 0.193993, -0.357274, 0.0421878, -0.108879, -0.628471, 0.00396448, 0.804847, 0.691171, 0.450868, 0.325244, 0.895768, -0.0546729, 0.418599, 0.0145297, 0.116741, 0.164174, -0.358156, -0.16308, -0.0714317, 0.0906478, -0.0722832, -0.739385, 0.384815, 0.237935, -1.6396, -0.989796, 0.186745, -0.036124, 0.0889772, 0.452142, 0.175919, 0.350246, -0.00622205, -1.13433, -0.0134677, 0.940983, -0.861811, -0.261909, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0532704, 0.106095, -0.160497, 0.451055, 0.0605952, -0.0025086, -0.0757618, 0.560192, -1.55684, 0.0163929, 2.41282, 0.631319, -0.0722062, 0.131486, -0.014519, 0.0384155, -0.114939, 0.042521, 0.066045, 0.358701, 0.62657, 0.229493, 1.06825, 1.44682, 0.333801, 0.050442, 0.166356, -0.0820074, 0.173453, 0.113304, -0.0305493, -0.242962, -0.00459367, 0.284304, -0.127965, 0.184351, -0.141041, -0.131482, -0.0545919, 0.229182, -0.0328668, 0.236765, -0.0788022, -1.72472, 0.00108703, -0.140468, 0.261539, 0.140319, 0.210872, 0.376764, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.37026, -1.01467, -0.133861, 0.118186, -0.334911, 0.0790786, -0.713957, -0.257601, 0.17595, -0.304299, 1.05776, 0.240159, 0.0232159, 0.377797, 0.0551753, -0.00422295, 0.63622, 0.0277169, 0.481898, 0.00464228, -2.51732, 0.180659, -0.205595, 0.839573, -0.0195297, 0.0547909, -0.369876, 0.0173943, 0.352053, 0.118995, 0.201316, -0.00145582, -0.150687, 0.534704, 0.564273, -2.25185, -0.0774567, -0.190438, -0.116027, 0.157867, 0.155941, -0.135831, -0.1442, -0.653727, -0.0169741, -0.0187177, 0.457861, 0.0473011, -0.821859, -0.187747, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03265, 0.03708, -0.08374, -0.03757, -0.01802, -0.013756, -0.04868, 0.014336, 0.00864, -0.0647, -0.02737, 0.01187, -0.00952, 0.00847, 0.009636, -0.02338, 0.02823, 0.04352, 0.03023, -0.01198, -0.03056, -0.05383, 0.02922, 0.02747, -0.02289, -0.00628, -0.01128, -0.03476, 0.0095, 0.02284, -0.000231, -0.07513, 0.01524, -0.03613, -0.04718, -0.0437, 0.005383, 0.02335, -0.0471, -0.0559, -0.00838, -0.05585, 0.02365, -0.004627, 0.001411, -0.00783, 0.01828, -0.0649, 0.011505, -0.02669], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.003876, 0.4421, 1.416, -2.402, 0.339, 0.3376, 0.9424, -0.7207, 0.02667, -0.958, 0.3064, -0.644, -0.09344, 0.3577, -0.0359, 0.139, -0.03275, -0.01837, -0.2998, -1.003, -6.133, 0.12274, 0.3108, 0.6196, 1.0625, -0.02878, 0.135, -0.8477, 0.155, -0.996, -1.291, -0.2231, -0.879, 0.73, 0.1666, -4.375, 0.0381, -1.37, -0.02213, 0.988, -0.911, -1.481, -0.0911, -1.043, 0.01225, -0.334, 1.72, -0.1777, -0.738, 0.758], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.014084, 0.5884, 0.1808, -0.1708, 0.6343, 0.2108, 0.0932, 0.1864, 0.1121, -0.08234, -0.0395, -0.134, 0.02176, -0.12256, -0.00342, -0.3135, 0.2847, 0.02536, 0.1616, 0.4382, 0.01539, -0.1357, 2.154, 0.1714, 0.2489, 0.0341, -0.02684, 0.696, -0.161, 0.08844, -0.232, -0.3447, 1.151, -0.3167, -0.01819, -0.2593, -0.2001, 0.435, -0.006382, -0.05176, -0.3333, 0.406, -0.1628, -0.0273, -0.04034, 0.6104, -0.1224, 0.2454, 0.6943, -0.307], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.07184, -0.08356, -0.1079, 0.14, 0.205, -0.6934, 0.4717, 0.1692, -0.1194, -0.1672, 1.031, 0.486, 0.3787, -0.00983, -0.04858, -0.1218, 0.586, -0.02234, -0.03366, -0.157, -0.3545, -0.3699, -0.0713, 0.787, 0.4807, -0.03604, -0.489, 0.2063, 0.6514, 0.1807, -0.04303, 0.847, -0.03342, -0.3853, 0.6455, -0.2556, -0.4578, 0.01414, -0.0949, -0.3208, -0.12244, -0.202, 0.004852, -0.504, 0.02394, 0.1279, 0.8086, -0.09467, -0.04355, 0.143], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.887, -0.07367, 1.291, -0.4417, 1.155, 0.7446, -0.6514, -0.3682, -0.0389, 0.1318, -0.2092, -0.8364, -0.6357, -0.9185, -0.02351, -0.0346, -0.27, 0.0429, 0.8267, 0.0849, 0.8174, -0.2004, -0.1698, 0.458, -0.6616, 0.0086, -0.1249, -0.224, -0.427, -0.774, 0.04, -1.396, -0.3152, 0.305, 0.2688, 0.8267, -0.1411, 0.2666, 0.7427, 1.0, -0.4702, 0.1394, 0.02975, -0.4387, 0.03503, 0.3518, -0.597, 0.2218, 0.1561, -0.3154], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.08136, -0.4526, -0.0233, 0.0958, -0.734, 0.2566, -0.2174, 0.2878, 0.076, 0.11316, -0.2335, -1.087, -0.09845, 0.8604, 0.0123, 0.1656, -0.433, -0.00451, -0.2242, 0.10626, -0.2059, -0.01904, -0.9595, -0.1995, -0.00946, -0.01455, -0.0664, -0.6284, 0.1963, -0.4841, 0.08704, -0.4753, -0.7764, 0.2712, -0.03357, 0.042, 0.2107, -0.178, -0.294, -0.6553, 0.03833, -0.1339, 0.2477, 0.3967, 0.0354, 0.67, -0.593, -0.5664, 0.383, -0.0019455], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1187, -0.7144, -0.304, 0.03516, 0.3635, 0.1963, -0.3403, -0.04828, 0.06714, 0.542, 0.1329, -0.1426, -0.1923, 0.0408, -0.002113, -0.2113, 0.1304, 0.01344, 0.3367, 0.657, -0.3142, -0.1237, 0.5845, 0.2952, -0.46, 0.01471, 0.1708, 0.465, -0.3354, 0.12024, 0.1863, 0.94, 0.551, 0.676, -0.1609, -1.322, 0.1598, -0.1151, 0.1361, -2.277, -0.06885, 0.241, -0.2583, -0.3374, 0.012985, 1.076, 0.2365, 0.1552, 0.2683, 0.4856], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03217, 0.807, -0.03662, 0.1343, -0.09375, -0.4216, 0.3538, -0.3582, 0.2374, 1.011, -0.2903, 2.637, 0.1776, 0.776, 0.01351, -0.2898, 0.5527, -0.005566, 0.01753, -0.0002233, -0.2834, 0.3286, 1.663, -0.1699, -0.04434, -0.003113, -0.306, 0.611, 0.1832, 0.01378, 0.318, 0.3794, 0.371, -0.656, 0.2705, -0.2722, 0.2905, 0.3455, -0.3257, -0.889, 0.6323, 0.02733, -0.3008, -0.5317, -0.0361, -0.4373, 0.02933, -0.4583, -0.678, 0.385], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2502, -2.963, -1.036, 0.1499, 0.01052, 0.282, -0.7686, -0.1057, 0.10126, 0.194, -0.2788, -0.0845, 0.6196, 0.1351, -0.00586, 0.3948, -0.0853, -0.0249, -0.1605, 0.01868, -1.273, 0.2278, 0.1969, -0.00904, 0.212, -0.0446, 0.4426, -0.10474, -0.1154, -0.1565, 0.472, 0.5947, -0.0971, 0.8076, -0.2498, -1.488, 0.1362, -0.2407, -0.06137, 1.983, 0.0236, -0.11365, 0.0885, -0.0526, 0.02022, 0.4941, -0.3684, -0.3186, -0.614, -0.1803], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.6255, 0.02943, -0.2181, -0.3887, 0.0834, 0.1032, -0.362, 0.223, -0.0802, 0.2035, -1.811, 1.843, -0.04578, -0.1265, -0.01324, -0.2644, 0.4863, -0.02034, 0.457, 0.2815, 0.06665, 0.1149, 3.012, -0.1489, -0.334, -0.0348, 0.2446, 0.491, -0.2245, 0.04205, -0.9326, -0.4573, 0.596, 0.355, 0.0948, -0.1262, -0.1997, -0.1201, 0.2676, -0.5522, -0.09064, -0.02264, 0.12164, 0.1195, -0.003351, 0.1584, -0.2302, 0.4463, -0.3518, -0.412], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.416, -0.1234, 0.3572, -0.1025, -0.0741, 0.07434, -0.5483, 0.02777, -0.1045, -0.5, -0.2747, -0.511, -0.03574, 0.3464, -0.02673, 0.4204, 0.1606, 0.0437, 0.07666, -0.1081, -0.01079, -0.4563, -0.12, 0.1443, -0.2347, -0.00223, 0.11237, 0.853, -0.3809, 0.003664, 0.5405, -0.6484, 1.352, 0.5635, 0.3137, -0.2988, -0.00731, -0.1538, 0.2664, -0.4238, 0.495, 0.3674, -0.786, -0.2678, -0.03078, 1.069, -0.3066, -0.1915, 0.11646, -0.2059], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1553, 0.4817, 0.2883, -1.749, 0.2064, 0.2203, 0.3572, -0.332, 0.09985, 0.0963, -0.1323, 0.478, -0.1346, -0.05334, -0.000886, 0.08185, -0.672, 0.00655, -0.1302, 0.06866, -0.5576, -0.0044, 0.4521, 0.0941, 0.3354, 0.0048, 0.0532, -0.5513, 0.2294, -0.2559, -0.2461, -0.2883, -0.1322, 0.12317, 0.0645, -1.534, 0.1316, -1.055, -0.02272, 0.1572, 0.171, -0.774, -0.0925, -0.4907, -0.01994, -0.5854, 0.68, 0.343, -0.09015, 0.3125], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.07605, 0.966, 0.953, -0.866, -0.05728, -0.1243, 0.1497, -0.2947, 0.0313, 0.2322, -0.2445, -0.4055, -0.1512, 0.4238, 0.04083, -0.2322, 0.2742, -0.013, 0.11383, 0.2174, 0.3115, 0.2035, 0.6484, 0.09827, 0.3872, 0.03348, -0.1345, -0.03183, -0.415, -0.527, -0.4553, 0.3616, 0.009186, -0.1251, 0.0258, 0.4844, -0.275, -0.151, -0.4631, 0.4756, -0.3745, -0.1241, 0.05716, -0.555, 0.00474, -0.448, -0.312, 0.068, -0.4138, 0.1052], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02667, -0.00825, 0.03876, -0.03726, -0.04236, -0.0513, -0.05365, -0.02954, -0.04318, 0.021, -0.0334, -0.003471, -0.008354, -0.02907, -0.02472, 0.01494, 0.00996, -0.03793, 0.01932, -0.03946, -0.04843, 0.01967, -0.01875, -0.04092, -0.01529, -0.01009, -0.01472, 0.038, 0.01604, -0.02399, -0.05573, 0.03256, -0.0486, 0.03046, -0.015396, 0.02289, -0.04514, 0.000427, -0.04803, -0.00946, -0.01298, -0.02597, -0.01591, 0.00314, -0.03165, 0.0391, 0.01672, -0.006805, 0.03696, -0.046], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2262, 1.006, 0.00705, 0.2103, -0.2507, -0.6055, -0.935, 0.612, 0.65, 0.855, -0.2866, 0.372, 0.789, -0.1407, 0.02148, -0.06073, -0.2378, -0.015015, -0.2439, -0.5737, -0.1969, -0.687, -0.1366, -0.05365, -0.3127, -0.04166, 0.03513, -0.09216, -0.2107, 0.1366, 0.2496, 1.1455, -0.0818, 0.393, -0.3123, -0.828, -0.1516, 0.3179, -0.00573, 0.1952, -0.11755, 0.02483, -0.1844, 0.6514, -0.007233, -0.3406, 0.3108, 0.1367, -0.2471, -0.5728], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4111, -0.7153, -0.7695, 0.602, 0.2491, 0.00792, -0.408, 0.2722, 0.00502, -0.03384, -0.0615, -0.7847, -0.0933, 0.03473, -0.0411, -1.071, -0.1859, 0.01799, -0.04123, -0.3853, -0.4434, -0.4907, -1.188, -0.10394, 0.03293, -0.002445, 0.01587, -0.3662, -0.0688, 0.2274, 0.2488, 0.08136, -0.629, 0.00899, -0.9243, -0.0682, -0.0387, -0.013084, -0.0918, 0.5186, 0.3477, 0.432, 0.4019, 0.2491, -0.0321, 0.699, 0.2444, 0.1746, -0.569, 0.1251], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1014, 0.0486, -0.666, 0.726, -0.08466, -0.9316, 0.8916, -0.04758, -0.1375, 0.3772, -0.415, -1.162, 0.9316, 0.5757, 0.006924, 0.0832, 0.7295, -0.02756, -0.1738, -0.533, -0.3787, -0.01703, 0.559, -0.3206, -0.05176, -0.00706, -0.1881, 0.01374, -0.03635, -0.6025, -1.659, -0.4343, -0.385, -0.9565, 0.3562, -0.2047, -0.1498, -0.974, -0.2218, 0.06125, -0.6973, -0.2664, 0.2118, 0.1038, 0.01296, -1.255, 0.817, -0.4326, -0.1893, 0.2466], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.857, 0.8867, 0.4407, 0.2656, -0.1233, -0.1183, -0.01434, 0.01406, 0.3325, 0.4807, -0.7393, 0.524, 0.7393, -0.00496, -0.00884, -0.4763, 0.0522, 0.04013, 0.2285, 0.01587, -1.0625, 0.0918, 0.0905, 0.3127, -0.796, 0.003523, 0.203, 0.1758, -0.1328, 0.1549, -0.03033, 0.2517, -0.0329, 0.15, 0.06946, -0.9517, 0.3057, -0.4927, -0.539, 1.832, -0.2913, 0.05798, 0.2014, -0.01572, 0.02385, 0.08936, -0.4343, 0.86, -0.2258, -0.4714], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02827, -0.02121, -0.003658, 0.009926, -0.0546, -0.01855, -0.02458, -0.03815, 0.03757, 0.03308, 0.0284, -0.03174, -0.03137, 0.000252, -0.003466, -0.0207, -0.0319, -0.0347, -0.02888, 0.00865, 0.01457, -0.02979, -0.00393, -0.0314, -0.03513, 0.03918, -0.05078, -0.0337, -0.01732, -0.0101, -0.04944, -0.01964, 0.02563, 0.01598, -0.03943, -0.013794, -0.04355, -0.02388, -0.02203, -0.01883, 0.03647, 0.02373, 0.02042, -0.00786, -0.02687, -0.0008683, 0.03555, -0.02194, 0.02602, -0.03047], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04834, -0.05344, -0.007236, -0.01682, 0.0143, -0.02255, -0.01735, -0.02042, -0.0501, 0.01727, 0.01471, -0.04776, 0.00953, 0.003994, 0.04156, 0.01889, 0.01101, -0.04578, 0.004, -0.03714, -0.05554, -0.02235, -0.04205, 0.02675, 0.02792, -0.01042, -0.06134, 0.02975, 0.0153, 0.01092, -0.0547, -0.05823, -0.03464, 0.0398, 0.02893, -0.002289, -0.04022, -0.05832, 0.01263, 0.007217, -0.03845, -0.02779, 0.03433, -0.0166, 0.01634, -0.03333, 0.00964, -0.003462, -0.05203, -0.04977], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3198, -0.7837, -0.306, 0.572, 0.255, -0.82, 0.7188, 0.005962, 0.02213, -0.293, -0.10516, 1.316, 0.5786, 0.608, -0.01515, 0.1538, 0.8643, 0.0341, 0.731, -0.0172, -0.02002, -0.1578, 0.3708, 0.2218, 0.2698, 0.003202, 0.03647, -0.036, 0.5415, -0.625, -0.4683, -0.0867, 0.32, -0.694, 1.371, -0.0751, -0.4788, -0.7837, -0.0577, -0.7783, 0.3503, -0.6167, 0.1875, 0.1481, 0.02077, -0.4033, 0.0722, 0.1153, 0.02844, -0.1376], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1755, 0.4412, 0.386, 0.4434, -0.1635, 0.07855, -0.348, -0.0783, 0.04144, -0.00784, -0.6763, 0.1296, 0.10284, 0.01314, 0.00821, -0.2925, -0.01892, -0.02667, -0.04236, 0.05835, 1.345, 0.03778, 0.1145, -0.3203, -0.4653, 0.05072, -0.6665, -0.2468, 0.4893, -0.4802, 0.2029, -0.6265, -0.1204, 0.4128, 0.4797, 0.7314, 0.5547, -0.4626, 0.3071, 0.01382, 0.1371, -0.0973, -0.03763, -0.1576, 0.03345, -0.1343, -0.497, -0.1494, -0.1935, 0.063], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3235, -0.4407, 0.3574, -0.3894, 0.09796, -0.3694, 0.659, -0.2112, -0.05045, 0.001809, 0.01229, -0.626, -0.02455, -0.4236, 0.0414, 0.0862, -0.1337, 0.03119, 0.4434, 0.262, 0.05698, -0.7744, 0.2703, 0.4575, -0.1459, 0.02242, 0.05902, -0.2062, -0.03235, 0.1606, 0.3892, -0.1576, -0.2837, -0.7134, -0.04993, 0.05118, -0.4253, -0.5947, 0.02072, -0.5215, -0.2935, 0.4626, 0.2869, -0.2261, 0.0431, -0.0715, -0.2905, 0.1914, 0.1145, -0.04974], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0966, -0.1454, -0.359, -0.1324, -0.1647, 0.354, 0.3416, -0.597, 0.2852, -0.1478, 0.1853, 0.11835, -0.004757, -0.135, -0.02373, 0.2979, 0.2388, -0.01749, 0.1305, -0.767, -1.641, 0.2324, -0.7144, 0.6978, -0.1156, 0.010925, 0.124, 0.003117, -0.1622, 0.1875, 0.124, -0.397, -0.0959, 1.164, -0.00975, -2.02, 0.1786, 0.3154, -0.1088, -0.977, -0.05237, 0.1059, -0.05518, -0.687, 0.0271, 0.0644, 0.316, -0.02591, -0.3254, 0.0816], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0734, 0.5615, 0.000626, -1.381, -1.285, -0.6157, 0.1699, -0.04395, 0.07837, -0.6865, 0.2277, -0.2883, 0.3572, 0.4102, -0.01222, -0.409, 1.496, -0.01229, 0.0394, 0.1285, 0.003664, 0.794, 2.258, 0.003788, 0.2008, 0.04272, -0.1652, 0.959, 0.06143, 0.1744, 0.2217, -0.0984, -0.349, -0.75, 0.312, -0.02397, 0.02531, -0.011444, -0.4475, -0.3462, 0.1708, -0.2476, -2.258, -0.015236, -0.001355, -0.6636, -0.01043, -0.1985, -0.591, -0.067], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03055, -0.01749, -0.06076, -0.0308, -0.0444, -0.04083, -0.03647, -0.02124, -0.05005, 0.03445, -0.05722, -0.04037, -0.0256, 0.001966, -0.02492, -0.0527, -0.03418, 0.0309, 0.02525, -0.03123, 0.00783, -0.02501, 0.01689, -0.02591, 0.038, 0.05124, -0.01338, 0.00393, 0.0401, 0.02415, 0.02328, -0.04736, -0.01857, 0.01185, -0.002459, -0.0302, 0.01469, -0.04498, -0.05887, -0.02966, -0.05618, 0.005375, 0.02216, -0.02625, 0.01165, 0.02367, 0.03455, -0.01727, 0.0324, 0.023], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4216, -0.06128, -0.2422, 0.05634, 0.346, 0.10724, 0.0599, -0.2556, 0.04095, 0.6187, 0.1681, -1.314, -0.04602, -0.533, 0.0335, -0.01573, -0.8394, -0.00962, 0.169, -0.5054, -0.1971, -0.2688, -0.306, -0.17, -0.0866, -0.04138, 0.01646, -1.14, -0.2152, -0.11444, 0.279, 0.02765, -1.499, 0.1741, 0.1848, -0.4956, 0.2695, 0.4094, 0.724, -0.04373, 0.0343, 0.62, 0.4182, 0.2313, 0.0185, 0.00887, -0.2603, 0.3457, 0.332, 0.09894], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.07697, -0.032, 0.3098, 0.1473, 0.0285, 0.1436, 0.205, -0.2275, 0.1431, 0.4944, 0.1505, -0.965, -0.08386, -0.1442, -0.01941, -0.07623, -0.01249, -0.03558, 0.087, -0.2489, -1.495, 0.00921, -0.7114, 0.1475, 0.0349, -0.02779, -0.357, -0.1934, 0.4019, -1.682, -0.66, -0.1815, 0.0007954, 0.232, 0.12225, -0.781, -0.07544, -0.0697, 0.179, -0.06616, 0.1741, -0.1232, 0.1758, -0.292, 0.006435, -0.4866, 0.2598, -1.105, 0.02205, 0.434], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.27, 1.38, 0.08527, -0.183, 0.2686, 0.02538, 0.597, -0.5527, 0.1181, -0.7256, 0.1837, 1.282, -0.2708, -0.3728, -0.003906, 0.2291, -0.135, 0.03006, 0.2917, 1.047, -0.749, -0.3906, 2.713, 0.272, 0.2727, 0.01796, -0.04413, -0.7617, -0.1195, -2.08, 0.1953, 1.667, -0.6016, 0.2817, 0.416, -0.886, 0.1785, -0.7026, 0.288, -0.395, -0.2795, -0.04437, 0.003466, -0.6543, -0.001963, -0.1412, 0.692, -0.1656, -0.2517, 0.12354], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0877, 0.10736, -0.04123, 0.0862, -0.6226, -0.10974, 0.1586, -0.2002, 0.254, -0.11816, -0.1953, 0.0964, 0.1526, 0.4368, 0.04672, 0.011505, -0.1527, 0.01058, 0.3682, 0.393, -0.1091, -0.0963, -0.1202, -0.0842, -0.2227, -0.02815, -0.1501, -0.1483, 0.418, -0.1486, 0.234, 0.2277, -0.0927, 0.01494, 1.416, -0.5063, 0.05597, 0.1495, 0.001638, -0.1348, 0.11475, 0.1371, 0.1003, 0.03873, 0.02913, -0.1633, -0.08826, -0.0597, -0.1217, -0.2279], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01478, -0.01079, -0.001323, -0.0376, 0.03934, -0.03018, -0.02917, -0.012794, -0.0404, -0.0681, -0.02924, -0.02658, 0.03162, -0.02856, -0.01945, -0.03583, 0.012314, 0.001929, 0.01808, 0.00858, -0.007763, 0.01451, 0.02907, -0.05417, 0.03375, -0.03528, -0.04446, -0.04642, 0.02036, 0.01738, -0.0386, 0.00219, -0.01168, 0.03986, -0.0053, -0.0434, -0.04495, 0.03275, -0.051, -0.05472, -0.05032, -0.014, 0.002552, 0.02676, 0.003696, 0.04178, 0.0139, -0.01666, -0.01077, 0.02777], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01564, -0.03156, -0.02702, -0.0469, -0.03308, -0.02393, 0.01923, -0.005863, -0.04822, 0.015144, 0.005993, -0.0555, 0.01799, 0.03384, 0.0351, -0.042, -0.02827, -0.00394, 0.05084, -0.004635, -0.0449, -0.0471, -0.03204, 0.0265, -0.03009, -0.03577, -0.03555, -0.02344, -0.0643, -0.02295, 0.008415, -0.013855, 0.007965, 0.01775, 0.04324, -0.04498, -0.0419, -0.02588, -0.01344, -0.04422, 0.0176, -0.06274, 0.01747, 0.01153, -0.04474, -0.05765, 0.002146, -0.0537, -0.03958, 0.01265], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5913, 0.552, 0.1532, -1.148, 0.02017, 0.2096, -0.9424, -0.0241, -0.08405, -0.4062, 0.04434, -0.4817, -0.2869, 0.01776, -0.02217, 0.2761, -0.1716, 0.007698, 0.07855, 0.351, 0.2103, -0.11847, -0.726, -0.1204, -0.625, -0.01034, 0.1484, -0.749, -0.3577, -0.3303, 0.1091, 0.09796, -0.6436, 0.4678, 0.02571, -0.1511, 0.4387, 0.09143, 0.0361, 0.848, -0.0978, -0.1613, 0.278, -0.02301, -0.02306, 0.4744, 0.06384, -0.1304, -0.247, -1.144], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.294, -0.03976, -0.2461, 0.2375, -0.004753, 0.2283, -0.4626, -0.2078, 0.0995, -0.04837, -0.02434, -0.1768, -1.879, -0.2488, 0.0385, -0.01501, 0.0984, 0.05124, 0.4248, 0.3728, -0.5415, 0.02281, 0.3284, 0.1478, 0.366, -0.01136, -0.05453, -0.1775, -0.12274, 0.1726, -0.11206, 1.057, -0.0093, 0.07764, 0.4248, -0.4646, 0.2311, -0.4304, 0.01255, 0.129, 0.09204, -0.0526, 0.3052, -0.2098, 0.04755, -0.413, 0.2339, 0.2424, -0.2761, -0.1575], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1194, 0.4854, -1.2, 0.4114, 0.05484, 0.0379, -0.0002049, -0.5513, -0.0996, -0.2319, 0.539, -0.2386, -0.746, -0.377, -0.01405, 0.0778, -0.0682, -0.0532, 0.2507, 0.00505, 1.266, 0.2129, -0.0876, 1.25, 0.06015, 0.000659, 0.1716, 0.0747, -0.06076, 0.0421, -0.312, -0.3433, 0.426, -0.2081, 0.54, -0.3293, 0.1048, -0.04935, -0.01613, 0.705, 0.3384, 0.1277, 0.0957, -0.8623, -0.0407, 0.8647, -0.731, 0.1924, 0.0238, -0.328], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.619, -0.2668, -0.3438, -0.3284, -0.3577, -0.4067, -0.03433, 0.2355, -0.3118, -0.07776, -0.4788, 1.516, -0.1236, -0.4097, 0.04272, -0.03296, 0.57, -0.03168, -0.23, -0.04913, 0.5376, -0.0656, 1.389, -0.3545, 0.3723, -0.045, 0.1603, 1.287, 0.7573, 0.2988, 0.02063, -0.4763, 1.271, -0.2201, -0.2068, 0.3613, -0.0487, -0.0585, -0.0677, 0.665, -0.0917, 0.2034, -0.3303, 0.1027, -0.0056, -0.4668, -0.3782, 0.02527, -0.3967, 0.1196], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.009735, -0.2634, 0.3992, 0.4968, -0.0721, -0.0671, 0.02728, 0.631, 0.0854, 0.2664, -0.8364, 0.5547, -0.1648, -0.1104, 0.01799, 0.09607, -0.3503, 0.0044, -0.00903, -0.2015, -0.2527, -0.08325, 0.6353, -0.7856, -0.0712, -0.03287, 0.07776, -0.4316, 0.3635, 0.1575, 0.373, 0.2659, -0.7, -0.0349, 0.1482, -0.4988, 0.2542, 0.02646, 0.1208, 0.146, 0.02838, 0.1947, 0.608, 1.271, -0.01076, 0.334, 0.2323, 0.2896, 0.05984, -0.1156], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02824, 0.04788, 0.129, -0.2056, 0.2634, -0.739, 0.1895, 0.001639, 0.0645, -0.2052, -0.010284, 1.487, 0.12476, -0.4695, -0.02203, -0.453, 0.3406, -0.02492, -0.2803, 0.1638, 0.00817, 0.341, -0.001952, -0.1461, 0.1471, 0.01683, -0.2961, 0.009315, -0.1475, -1.505, -0.2495, -0.04904, 0.9585, -0.2053, -5.33, -0.2047, -1.095, 0.005657, 0.10223, 0.1155, -1.02, 0.1866, 0.258, -0.02518, 0.0514, -0.213, -0.369, -0.568, 0.242, -0.19], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03442, 0.00874, -0.0003858, 0.02377, 0.0282, -0.04526, 0.02261, -0.05066, 0.03656, 0.00595, -0.04413, -0.02655, -0.0354, -0.05634, 0.04446, -0.04297, -0.03403, -0.02423, 0.03102, -0.03412, 0.01308, -0.00628, 0.012924, 0.03003, -0.01974, 7.534e-05, -0.05362, 0.003733, 0.02103, -0.0146, 0.0194, -0.02182, 6.63e-05, -0.03708, -0.04172, -0.01535, -0.03143, -0.05887, 0.004547, -0.04825, -0.05746, 0.02953, -0.01727, 0.01094, -0.0404, 0.02536, -0.0271, 0.02263, -0.02571, 0.00468], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.227, -0.84, 1.51, 0.2224, -0.759, 0.4966, 0.2678, -0.5796, -0.3538, 0.3645, -0.4783, 0.63, -0.2417, 0.621, 0.03087, 0.0507, -0.03656, 0.00799, -0.4363, 0.0484, 0.146, 0.172, 1.901, 0.01485, -0.475, 0.01528, 0.2913, 0.2612, -0.2258, 0.05362, 0.0968, -0.2166, -0.074, -0.2158, -2.01, -0.1364, 0.2357, 0.1466, 0.0683, 0.852, 0.209, 0.613, 0.0689, -0.7134, -0.03555, -0.6763, -0.0746, 0.4417, 0.718, -0.2944], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.004036, -0.002396, -0.04486, -0.03568, 0.0277, 0.006954, -0.01587, 0.01398, -0.01029, 0.005657, 0.01778, 0.01819, 0.00994, 0.0344, 0.001299, 0.01616, -0.01996, 0.04135, -0.0291, -0.04266, -0.00917, -0.03766, 0.04153, 0.01657, -0.0376, 0.010765, 0.03503, -0.011314, -0.005913, -0.009926, -0.05338, -0.012436, 0.03207, 0.03265, -0.0329, -0.05215, 0.02103, -0.01215, -0.04968, -0.02032, 0.03613, 0.002363, 0.02295, -0.02422, -0.02539, -0.01659, -0.04343, -0.00812, -0.05377, -0.003311], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3794, -1.659, -1.288, 0.2915, 0.2883, -0.3345, 0.317, 0.0505, 0.8677, 0.0522, -0.266, -0.3245, -2.627, 0.05353, -0.007904, -0.2368, 0.2323, -0.01563, 0.0807, 0.789, -0.398, 0.4263, 0.609, -0.8135, -0.2173, -0.02666, -0.452, 0.1772, 0.719, -0.0909, -0.1855, -0.441, -0.08386, 0.894, -0.09296, 1.404, 0.02087, 0.002777, -0.2473, -0.7476, 0.2983, -0.1605, -0.2644, 0.1569, 0.0415, -0.2358, 0.776, -0.28, -0.335, 0.135], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02837, 0.002611, 0.0391, -0.01575, 0.001236, 0.004753, -0.04993, -0.01877, -0.02051, -0.03775, -0.0504, -0.0279, 0.02672, -0.0328, 0.007053, 0.02559, -0.03105, -0.05017, 0.03656, -0.03452, 0.003843, 0.005436, 0.02573, -0.004097, -0.01161, 0.004684, -0.002367, 0.005615, -0.01193, -0.0516, 0.0224, -0.02365, -0.00132, 0.00525, -0.04016, -0.01253, 0.01608, 0.00949, 0.02515, 0.03534, -0.02426, -0.03302, -0.05206, 0.00907, -0.0352, -0.0391, -0.002142, -0.01956, -0.0297, 0.007256], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1627, 0.6406, -0.786, -0.626, 0.476, -0.8804, 0.4446, 0.09906, 0.09546, -0.657, -0.5435, -0.7275, 0.656, -0.258, 0.0225, -0.0938, -0.5005, -0.0313, -0.0854, 0.0759, -0.5693, -0.646, -1.645, -0.3271, 0.1688, -0.011185, -0.321, -0.401, 0.08527, 0.6343, 0.1013, -0.733, -0.13, -0.1437, -0.262, -0.6226, -0.1973, 0.956, 0.3623, -0.5254, 0.3513, 0.0845, 0.4302, 0.218, 0.02762, -0.4443, 0.845, 0.1748, -0.00585, 0.2988], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.261, 0.311, 0.1467, 0.2401, -0.001986, -0.5776, 0.5146, -0.2273, 0.03091, -0.2046, 0.2151, 2.219, 0.3198, -0.1323, -0.01874, -0.2302, 0.56, 0.04153, -0.776, 0.08386, -0.1338, -0.1538, 0.0401, -0.05817, 0.3274, 0.001078, -0.1904, -0.425, 0.18, -1.152, -0.6416, -0.101, 1.169, -0.5923, -4.633, -0.6255, -1.229, 0.0391, -0.6035, -0.2063, -0.9, 0.0565, 0.2434, -0.2174, 0.0479, -0.516, 0.4697, -0.011566, 0.117, 0.3916], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02133, -0.03778, -0.0315, -0.02748, 0.029, 0.02345, 0.01402, -0.02893, 0.01712, 0.0353, -0.010445, 0.0324, 0.042, 0.01688, 0.01365, 0.01135, -0.04013, -0.02502, 0.00969, -0.0454, 0.0182, 0.01591, -0.04935, -0.02989, -0.0298, 0.03256, -0.02798, -0.00585, -0.02936, -0.04, -0.0471, 0.01158, 0.039, -0.04407, -0.01921, -0.0462, -0.006924, -0.0503, -0.02315, 0.0106, 0.01863, -0.02843, -0.01997, -0.0254, 0.02577, -0.0489, -0.00364, 0.04684, 0.00565, 0.000205], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.719, -0.08466, 0.2449, 0.2201, 0.411, -0.192, 0.1617, -0.77, 0.2517, -0.325, 0.2808, 0.4307, 1.295, -0.1155, -0.04016, -0.2634, 0.0734, -0.023, 0.001153, 0.794, -0.5728, 0.3354, -0.16, 0.5454, 0.5786, 0.04932, -0.911, 0.2452, 0.5435, -1.113, 0.376, 0.289, 0.2742, 0.0822, -1.328, -1.826, -1.167, 0.277, 0.11487, 1.04, -0.3264, -0.4556, -0.2233, -1.353, -0.03406, -0.764, 0.9766, -0.2349, -0.345, 0.04837], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5103, 0.9463, 0.602, -1.194, 0.3599, 0.3794, 0.3574, 0.1912, -0.2273, 0.8564, -0.246, -0.363, 0.194, -0.3572, 0.04218, -0.1089, -0.6284, 0.003963, 0.8047, 0.6914, 0.451, 0.3252, 0.896, -0.0547, 0.4187, 0.01453, 0.11676, 0.1642, -0.3582, -0.1631, -0.0714, 0.09064, -0.07227, -0.7393, 0.3848, 0.2379, -1.64, -0.9897, 0.1868, -0.03613, 0.089, 0.4521, 0.1759, 0.3503, -0.00622, -1.135, -0.013466, 0.941, -0.862, -0.262], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.05328, 0.1061, -0.1605, 0.4512, 0.0606, -0.002508, -0.07574, 0.56, -1.557, 0.01639, 2.412, 0.6313, -0.0722, 0.1315, -0.01452, 0.03842, -0.1149, 0.0425, 0.06604, 0.3586, 0.6265, 0.2295, 1.068, 1.447, 0.3337, 0.05045, 0.1664, -0.08203, 0.1735, 0.1133, -0.03055, -0.2429, -0.004593, 0.2844, -0.1279, 0.1843, -0.141, -0.1315, -0.0546, 0.2291, -0.03287, 0.2368, -0.0788, -1.725, 0.001087, -0.1405, 0.2615, 0.1403, 0.2108, 0.3767], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3704, -1.015, -0.1339, 0.11816, -0.335, 0.0791, -0.714, -0.2576, 0.1759, -0.3042, 1.058, 0.2401, 0.02321, 0.3777, 0.05518, -0.004223, 0.636, 0.02771, 0.482, 0.004642, -2.518, 0.1807, -0.2056, 0.8394, -0.01953, 0.05478, -0.3699, 0.0174, 0.352, 0.119, 0.2013, -0.001456, -0.1506, 0.5347, 0.5645, -2.252, -0.07745, -0.1904, -0.116, 0.1578, 0.1559, -0.1359, -0.1442, -0.654, -0.01697, -0.01872, 0.4578, 0.0473, -0.822, -0.1877]] [-0.00856845, 0.0956379, -0.317822, -0.240984, 0.026884, 0.227062, -0.467697, -0.225992, -0.0620177, -0.331811, -0.303979, -0.0192535, 0.39479, -0.00751795, 0.213117, -0.0454472, 0.322588, -0.238291, -0.0176011, -0.0174304, -0.276555, 0.0961039, 0.16005, -0.184641, -0.204785, -0.0177105, 0.303799, -0.085427, 0.11147, 0.215514, -0.0127453, -0.0140532, 0.401512, -0.00321646, -0.068603, -0.057071, 0.176739, -0.27863, -0.0171689, -0.0709359, -0.0194033, -0.209183, -0.00576475, 0.417277, -0.28466, -0.00825037, -0.134326, -0.194798, -0.513957, -0.33145, -0.00857, 0.09564, -0.3179, -0.241, 0.02689, 0.227, -0.4678, -0.226, -0.062, -0.3318, -0.304, -0.01926, 0.3948, -0.00752, 0.2131, -0.04544, 0.3225, -0.2383, -0.01761, -0.01743, -0.2766, 0.0961, 0.16, -0.1847, -0.2048, -0.01772, 0.3037, -0.08545, 0.11145, 0.2155, -0.01275, -0.01405, 0.4016, -0.003216, -0.0686, -0.05707, 0.1768, -0.2786, -0.01717, -0.0709, -0.01941, -0.2092, -0.005764, 0.4172, -0.2847, -0.00825, -0.1343, -0.1948, -0.514, -0.3315] ReLU [[-0.0084855, 0.000782626, 0.0181726, 0.490073, -0.153884, -0.196699, -0.122893, 0.314459, 0.609754, 0.322067, -0.071718, 1.31227, -0.0172705, -0.0138803, 0.16912, 0.269437, 0.231004, 0.00612733, 0.0188248, 0.0381722, -0.221009, -0.251481, 0.986868, 0.0679762, 0.0586105, -0.0280121, 0.202747, 1.67121, 0.0723362, 0.0322855, -0.0450437, 0.0184736, -0.0599793, -0.0684753, -0.294044, -0.497894, -0.416844, 0.130765, 0.0119245, 0.0237613, -0.0497807, 0.362297, -0.00851293, 0.541494, 0.0179288, -0.048585, 0.0878438, -0.0135596, 0.244708, -0.858034, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00689495, 0.124719, -0.272036, 0.748505, -0.0116539, -0.0444393, -0.0265818, -0.352395, 0.543077, -0.0648496, 0.0687701, 0.535227, 0.542302, -0.0168816, -0.00436297, 0.0919922, 0.100116, -0.112185, -0.0233923, 0.0451024, 0.278269, 0.0626977, 0.270349, -0.398435, 0.57849, -0.0429701, 0.297352, -0.547238, -0.379941, -0.158341, 0.0320963, 0.0345164, 0.0115854, -0.437194, 0.0874491, -0.0271251, 0.122649, 0.074931, -0.0234356, -0.763502, -0.0197075, 0.445992, 0.000306908, -0.135083, 0.00699697, 0.0229973, -0.111401, -0.183011, 0.726862, -0.713052, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0289127, -0.0173833, -0.13508, -0.265565, -0.388965, 0.0318055, 0.0442944, 0.126447, 0.0150795, -0.0207186, 0.210309, -1.34714, -0.299233, -0.0312099, -0.00397093, 0.882841, 0.576867, -0.156673, 0.0202054, -0.0401361, 0.376712, 0.201594, -0.171745, -0.0842728, -0.663722, 0.0072354, 0.140962, 0.36252, 0.134873, -0.469946, 0.00908121, 0.00819188, 0.710166, -0.120943, 0.506847, -0.0138823, 0.346558, 0.119707, -0.0198856, -0.510671, -0.01553, -0.313039, -0.0447506, -0.152449, -0.173049, 0.0458324, 0.378618, -0.25885, -0.086835, -0.30151, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0400104, -0.330538, -0.568953, 0.395655, 0.178389, -0.632089, -0.472446, 0.52976, 0.0834438, -0.0285372, 0.0783863, 0.319822, -0.318332, 0.0135947, -0.353281, -0.31275, -0.350224, -1.12732, 0.0207464, -0.0116409, -0.244653, -0.375708, 0.328998, -0.0830254, 0.296845, -0.0470484, -0.117624, 0.447868, -0.1083, -0.104752, 0.00430276, -0.0217411, 0.649409, 0.17622, 0.0918116, 0.014978, -0.0772626, -0.159118, 0.00317248, -0.124926, 0.0470486, -0.791195, -0.0265965, 0.377411, 0.0107271, -0.0427247, -0.192167, -0.0127973, 0.00903456, -0.0885139, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00450001, 1.2008, 0.114854, -0.60647, 0.107143, 0.207331, -0.307259, 0.175557, 0.315194, -0.303221, 0.533183, -1.11447, 0.661879, -0.0253822, -0.115669, 0.795053, -0.176717, 0.256623, 0.0226658, 0.0367322, 0.104666, -0.0863147, 0.245783, -0.353149, -0.258753, 0.0310628, -1.03782, -0.200655, 1.18777, 0.386147, 0.0209112, -0.00876795, -0.215088, -0.0707409, -0.380378, -0.446123, -0.425797, 0.73919, 0.0299915, 0.998339, 0.0136085, 0.633912, 0.0449254, -0.210993, -0.314689, 0.00646385, 0.054583, -0.296355, -0.728909, -0.0259667, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0130004, 0.328613, 0.395281, -0.114378, 0.0952465, -0.34487, 0.445595, -0.856714, 0.281162, 0.674723, 0.348873, 0.693528, 0.256123, 0.0351984, 0.0196326, -0.041739, 0.770414, 0.358312, -0.0241683, -0.00519474, 0.112915, -0.116158, -0.309964, -0.00136723, -0.0774401, -0.024742, -0.104012, -0.15661, 0.599222, -0.21674, 0.006048, -0.0391472, -0.725986, -0.466605, -0.570142, 0.404981, -0.156136, 0.657318, -0.0216125, -0.419232, 0.0280971, 0.343771, 0.0353681, -0.315726, 1.2332, -0.0101366, -0.0695763, -0.832109, 0.146017, -0.130969, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0486773, 0.398987, 0.0250166, 0.0361491, 0.00165216, 0.118916, -0.191122, 0.167753, -0.415535, 0.0546172, -0.490041, 0.684191, 0.0104905, 0.0447621, -0.581724, 0.355339, 0.048664, -0.626934, 0.0119455, 0.0265817, 0.103888, -0.312705, -0.403834, 0.46619, 0.381415, -0.0535302, 0.137614, -0.221031, 0.195835, -0.0717356, 0.00680098, 0.0308802, -0.201031, 0.0158184, -0.393825, -0.189605, -0.163352, 0.213373, 0.0158178, 0.0348651, 0.0472726, 0.262224, 0.0033127, 0.11295, -0.0359876, -0.0278595, 0.438653, -0.0129713, 0.951542, 0.462707, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00582224, 0.301739, 0.601181, -0.894791, -0.152264, -0.635563, 0.887382, 0.406634, 0.101822, 0.974068, 0.595284, 0.131857, -0.0106071, -0.017386, -0.322851, -0.405643, -0.0984804, -0.368244, 0.000914043, 0.0184779, -0.950886, -0.167678, -0.828682, 0.0491232, 1.52323, -0.00542646, -1.62188, 0.51622, 0.205356, 0.251755, -0.0269823, -0.0109162, -1.23081, -0.766014, 0.0911636, 0.703956, -0.00609696, 0.896728, 0.0383734, 0.0659384, -0.00893709, 0.215359, -0.0379904, -0.191361, 0.915374, 0.0237491, -1.303, -0.628713, -0.27498, -1.1554, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0365821, 0.0632005, 0.285297, 0.375345, -0.588181, -0.538581, -0.668903, -0.212078, -0.00288474, 0.103204, 0.040343, -5.8265, -0.30528, 0.0453345, 0.368062, -0.251825, 0.425529, -0.145468, -0.0308123, -0.0254361, 0.0429325, -0.262969, 0.355119, 0.32073, -0.395241, 0.0120455, 0.0777534, -0.287955, 0.0332483, -0.405421, 0.0140371, -0.0251635, -0.398191, 0.17211, -0.310004, 0.0103868, 0.255296, -0.0167912, -0.00751809, 0.383429, -0.0151366, -0.834612, -0.0180905, -0.209013, -0.878841, -0.022631, -0.0396491, -0.400541, 0.252735, -0.222248, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0476965, 0.465415, 0.00267882, 0.0458303, 0.0855529, 0.0412539, 0.0131179, -0.183759, 0.38601, -0.141332, -0.177973, -0.273029, -0.142441, -0.00470193, -0.0582625, 0.166354, 0.174989, 0.524678, -0.0291526, -0.0193434, 0.10143, -0.60452, -0.259285, 0.177351, 0.104671, 0.0194175, 0.190014, 0.616937, 0.0817212, 0.24248, -0.0197197, 0.00274412, 0.550135, -0.0609848, 0.119063, 0.0211442, -0.0763725, 0.177426, 0.0169732, 0.144914, 0.0329593, -0.167225, -0.0299152, 0.137885, 0.28243, -0.0339204, -0.0163909, 0.0107972, 1.27129, 0.437603, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0355245, -0.369322, 0.269426, 0.116237, 0.127975, 0.138172, -1.44497, -0.0794275, -0.409781, -0.0267489, 0.1094, 1.19104, 0.170874, 0.0196386, -0.244709, 0.00593918, 0.234529, 0.0514049, 0.0249631, 0.0145966, -0.302493, 0.131933, 0.482922, 0.499304, -0.159767, 0.00424391, -0.41393, 0.178845, -0.142726, 0.370369, 0.00963879, -0.0304786, -0.338336, 0.153746, -0.277579, -0.229208, 0.438827, 0.268932, -0.0131307, -0.314761, -0.0453657, -0.462573, -0.0383537, 0.0344272, -0.324318, -0.0329576, 0.466634, -0.0410655, -0.391218, -0.406606, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0330229, -0.154747, -0.398065, 0.356754, 0.12453, -0.152233, -0.18585, -0.0726699, 0.563338, 0.22921, -0.434841, 0.396779, 0.0358668, -0.0382127, -0.071621, -0.59458, -0.0350805, 0.132455, 0.0166066, -0.0124785, -0.0795669, -0.265314, 0.346268, 0.180154, -0.0252482, 0.000804893, 0.363572, -0.295046, -0.0816433, -0.145059, -0.0062219, 0.0174037, 0.200018, 0.25664, -0.0438331, 0.185837, -0.195312, 0.0203569, -0.00585589, -0.186761, 0.0404227, -0.31172, -0.0221364, 0.285974, 0.168117, 0.00322857, -0.46101, 0.0476074, -0.268342, -0.0644152, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0234677, 0.100079, -0.355312, -0.32723, -0.0520107, -0.567389, -0.0040061, -0.239415, 0.0158554, -0.570571, -0.477202, 0.604145, -0.489057, -0.000858944, 0.24352, -0.0314853, 0.0866209, -0.31563, 0.0562843, 0.0292691, 0.505654, -0.258007, 0.701583, 0.100468, 0.404934, 0.0070085, 0.405673, -0.924203, 0.306694, -0.115156, -0.0167674, 0.0202818, 0.450639, -0.114525, -0.402179, -0.164301, 0.360938, -0.483966, -0.0002901, 0.325685, -0.0286699, -0.0586837, -0.0120967, 0.113693, 0.492221, -0.0124825, 0.639447, 0.16819, -0.320311, -0.274902, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0182669, -0.207568, -0.450152, -0.288022, 0.0708817, -0.0396637, -0.100108, -0.249262, 0.694453, 0.276328, -0.0917052, 0.516844, -0.287692, 0.0279689, -0.393473, -0.862443, 0.189675, -0.768607, -0.0448016, -0.00454723, 0.204696, -0.0141591, -0.590048, 0.595524, 0.182355, 0.0332899, 0.28487, -0.457047, 0.42731, 0.0580665, 0.0271609, 0.047026, 0.432423, -0.0212996, 0.429851, -0.357901, 0.395809, -1.24135, -0.00759837, 0.189388, -0.0353808, 0.419576, -0.034475, -0.233887, 0.26778, -0.0186942, 0.645322, 0.368432, 0.207434, 0.286133, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00478052, 0.457876, -0.0680369, -0.280188, 0.430923, -0.200643, -0.0931063, 0.409988, 0.580791, 0.137457, -0.188266, 0.464104, -0.0775197, 0.00671714, -0.3327, 0.167546, -0.169694, 1.31458, 0.00995971, -0.0121261, 0.0858946, -0.0419696, 0.043178, 0.464163, 0.65408, -0.0363217, -0.0577402, -2.3666, -0.308728, -0.214869, 0.0554931, -0.0200065, 0.0839217, -0.148093, -0.0616356, -0.281909, -0.41846, -0.665912, -0.0222054, 0.151265, 0.0037324, -0.0099975, -0.0123788, 0.385404, 0.48591, -0.000130836, -0.425115, -0.22405, -0.230982, 0.849383, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0528792, -0.267358, -0.471913, 0.313979, -0.443237, 0.678026, -0.128585, -0.713454, 0.494996, -0.0725642, -0.504314, -2.08037, 0.401054, -0.0288785, -0.304702, 0.492633, 0.505772, -0.227049, -0.0431962, -0.0184456, 1.08016, 0.43706, -0.0287521, -0.436792, -1.57237, -0.0122013, 0.339212, -0.307571, -0.0312122, -0.452846, -0.00477003, 0.0201182, 0.917613, -0.0356414, 0.0486991, -0.556795, 0.612625, 0.690883, -0.0492027, 0.174372, -0.012619, 0.681263, -0.0333678, -0.77436, 1.20329, 0.0259938, -0.457269, -0.260309, -0.66164, -0.00481035, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0269914, -0.793833, 0.265162, -0.0334137, -0.268278, 0.92847, 0.459518, -0.382767, 0.597222, 0.213974, -0.762199, 1.95701, 0.545119, -0.023867, -0.0539691, 1.74814, -0.168576, -0.0898341, -0.0240331, -0.0177397, -0.81828, 0.00455512, -0.326899, -0.00146943, -0.565837, -0.00539378, 0.0461532, -0.242607, 0.121839, 0.683998, 0.00997302, -0.00978361, -0.740765, 0.179369, -0.112506, 0.462325, -0.101354, 1.50949, 0.0194265, 0.100582, 0.0360921, 0.0674222, -0.0428157, 0.0207871, -1.05983, 0.0404707, 0.23487, -0.769655, 0.422983, -0.352054, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00274516, -0.312853, -0.623476, 0.674809, 0.527894, -0.247892, -0.0374944, 0.519134, 0.46705, 0.0193409, -0.166503, 2.15919, 0.167592, -0.00590457, -0.25205, -0.369301, -0.778401, -0.127349, 0.0127281, -0.0349494, -0.497332, 0.0604514, 0.43121, 0.400274, 1.64176, 0.00902165, 0.769043, -0.599409, -0.74206, 0.0713458, 0.0206606, -0.00272189, 0.294432, 0.206472, -0.356795, -0.232143, 0.368023, -0.839911, 0.0388077, 0.122518, -0.0180498, -0.322264, 0.00243066, 0.324347, -2.96923, -0.0451672, 0.378525, 0.251559, -0.608281, -0.519459, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0385655, -0.0558148, -0.269554, -0.228072, 0.473289, 0.34203, -0.643691, 0.426154, -1.27895, 0.608017, -0.0851909, 0.827128, 0.512199, 0.0156437, -0.72562, 0.602192, 0.0723295, 0.79826, -0.0320038, 0.0332459, 0.509805, 0.322885, 0.0448724, -0.0430288, 0.988706, -0.0159924, 0.506626, -0.288645, -0.459683, -0.200375, -0.0434665, 0.0105846, 0.0563104, -0.145194, -0.258464, -0.21453, 0.292707, 0.212621, 0.0178179, -0.359464, -0.0207728, 0.439499, -0.0263423, 0.572027, 0.946769, -0.00469762, -0.140567, 0.0257831, -0.435921, 0.314085, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0411132, -0.0248734, 0.0423367, -0.124147, -0.0579081, -0.347655, -0.239414, -0.468367, 0.541693, -0.509389, -0.113341, -0.751339, 0.177501, -0.0442068, 0.332014, 0.232818, -0.101209, -1.16266, -0.0469253, 0.0170201, -0.313435, 0.260894, -0.205029, 0.00471848, -0.599329, -0.00814502, -0.0123286, 0.424472, -0.423483, -2.05136, -0.00704517, 0.025975, 0.121627, 0.366845, 0.210446, -0.115722, -0.242139, -0.159479, -0.0367143, 0.641352, -0.0294074, -0.00476029, -0.0405299, 0.00566386, 0.45244, 0.0329209, -0.455866, 0.27887, 0.051714, -0.392293, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00877223, 0.296563, -0.173781, -0.155536, 0.389854, 0.471193, -0.292171, -0.126041, -0.451785, -0.0305193, 0.0355516, -0.378871, 0.148494, -0.0424485, 0.629466, -0.144102, 0.0130839, -0.158332, 0.00868252, -0.0334194, 0.00270201, 0.646282, 0.391488, -0.440946, 0.231966, 0.0141409, -0.243794, -0.136425, -0.0367925, 0.261392, -0.0387986, 0.00952734, 0.19001, -1.0673, 0.574329, 0.203723, 0.231504, 0.13493, -0.0198544, 0.0910067, -0.0226277, 0.483919, 0.013319, 0.219933, 0.318307, 0.0396546, 0.0752515, -0.100341, -0.132399, 0.159531, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0128477, -0.358798, -0.454719, 0.0593647, 0.144972, -0.130695, -0.850428, -0.199011, 1.14981, 0.232904, -0.0734884, 0.869744, 0.614037, -0.0360056, 0.114281, -0.533877, 0.175564, -0.895378, -0.0315189, -0.000393972, 0.370779, 0.333234, 0.653175, -0.0586974, 0.137114, 0.00369768, -0.427709, -0.249628, 0.0367449, 0.269144, 0.00890953, 0.039093, 0.229344, -0.546818, 0.463182, 0.473714, -0.348167, 0.0986506, 0.0266422, -0.799389, -0.00886982, 0.224183, -0.00533589, -0.0458653, 0.319967, -0.00622309, -0.114598, 0.118645, -0.361474, 0.372931, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0359632, 0.116253, -0.318228, -0.245501, -0.768509, 0.265559, 0.00104535, -0.306298, -0.285447, 0.199629, -0.118552, -0.354303, 0.0290213, -0.0121448, 0.340116, -0.137855, 0.397032, -0.369336, 0.008151, 0.0121451, -0.48738, 0.337296, 1.00177, 0.508628, -0.0108584, -0.0181159, 0.263685, 0.42829, -0.0787401, -0.204582, 0.0130479, 0.00394687, -0.0807809, 0.0769164, 0.129237, 0.0792452, 0.367552, -0.740303, 0.0094221, 0.525335, -0.00325554, -0.0802015, -0.0408319, 0.26227, 0.485042, -0.0440963, 0.785237, -0.211314, -0.094763, 0.58187, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0210783, -0.184379, -0.0556727, -0.248398, -0.312634, 0.307804, -0.284952, -0.159449, 0.16982, 0.258446, -0.224979, -0.362722, 0.20122, 0.0426704, 0.0600267, -0.0111827, 0.143386, -0.521048, 0.0455244, -0.0206821, -0.230736, -0.0807837, 0.315248, -0.290935, 0.217324, 0.0112137, -0.32001, 0.258702, -0.0681189, 0.116716, -0.00431761, 0.0320906, 0.212766, 0.209133, -0.109559, -0.032398, -0.00688767, -0.391663, 0.02657, -0.0716025, 0.0250589, 0.37444, 0.0044963, -0.00948384, 0.141568, -0.0318794, -1.01162, -0.195227, 0.00280749, 0.493397, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0287255, -0.751206, -0.617098, -0.906253, 0.372992, -0.179244, -0.369124, -0.102473, 0.0887727, -0.381571, 0.00718384, 0.244755, -0.11182, 0.0224721, 0.0150922, 0.703549, -0.113996, 0.102338, -0.0449616, 0.00661678, -0.0796634, 0.190477, -0.00370871, 0.00806003, -0.802202, -0.00894322, 0.343924, -1.24453, -0.235417, -0.0887324, 0.0360206, -0.037225, 0.678116, 0.554424, 0.170945, -0.513439, 0.195169, 0.217605, 0.0409163, 0.0945622, 0.00544763, -0.393825, -0.0137425, -0.0222077, -0.263389, 0.0321423, -0.0981863, 0.039843, -0.0146457, -0.627673, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0472006, -0.0210775, 0.027358, -0.00626985, 0.0109403, -0.0656435, -0.0394616, -0.0297206, -0.0151404, 0.00319569, -0.0294797, -0.0265749, -0.040415, -0.0286527, -0.0328251, -0.0662371, -0.0234955, 0.00994467, 0.0269333, 0.0377438, -0.00691371, -0.0121728, -0.0290089, -0.0422879, 0.0042575, -0.0402732, -0.045667, -0.0178842, -0.0586543, -0.0244551, 0.0444671, -0.00833129, 0.0271937, 0.0428038, -0.0209318, 0.0310334, -0.0271716, -0.0514195, -0.0216973, -0.0118519, -0.0473804, -0.0202649, 0.0234005, -0.0454517, -0.0461593, -0.0393776, 0.0051004, -0.0394244, -0.0398068, 0.015137, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0165534, 0.686936, -0.159917, -0.137587, -0.285997, -0.624419, -0.809689, -0.178069, 0.195186, 0.323755, -0.0701098, 0.58286, -0.597277, -0.00895011, 0.676538, -0.00730271, 0.168448, -0.324496, 0.0229601, 0.0547253, -0.0902182, -0.338304, -0.0776198, -0.0474996, 0.50502, -0.0178599, -0.0548183, 1.20528, -0.520949, 0.473089, 0.000937191, 0.0269605, 0.139008, 0.242798, -0.31224, -0.136972, 0.107381, -0.313462, 0.0368353, -0.137257, 0.0157405, 0.984042, -0.00322914, 0.186379, 0.614334, -0.0359622, 0.60222, 0.463286, -0.792214, -0.093986, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0284544, -0.45113, 0.117397, 0.541443, 0.237617, -0.520713, 0.248398, 0.0645162, 0.0237141, -0.0593225, -0.225874, 1.37069, 0.468979, 0.015704, -0.359076, 0.17729, -0.190122, 0.28254, -0.0414209, -0.0552005, 0.270305, 0.176881, -0.569672, 0.320356, -0.51843, 0.0360249, -0.0580443, -0.439901, -0.591982, 0.155143, 0.00321681, 0.0243137, -0.067474, 0.0023204, 0.0921572, -0.176654, -0.0814798, -0.350632, 0.0491631, -0.0743522, 0.00183664, -0.249319, -0.00301649, -0.180477, -0.139152, 0.00294495, -0.239024, -0.423063, -0.532824, -0.218842, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0142535, -0.614061, 0.283167, -0.406685, 0.182009, -0.756635, 0.710377, 0.461935, -0.0172022, 0.378782, 0.367742, 1.05063, -0.040338, -0.0264081, 0.0675197, 0.552835, -0.253015, 0.188852, -0.0231089, -0.0325865, 0.0144987, -0.0331546, 0.544646, -0.0482655, 0.211629, 0.023503, -0.31178, 0.362662, -0.28255, -0.182318, 0.0364117, 0.0220188, -0.191001, -0.308397, -0.0306299, -0.217048, 0.337569, -1.29648, -0.00938821, 0.254524, 0.0230573, 0.189575, -0.0352344, 0.350499, 0.00170412, 0.0193745, -0.0556882, 0.222422, -1.08057, 0.00651013, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.018301, -0.253921, -0.16136, 0.208188, 0.140977, 0.0924606, 0.0804673, -0.309875, 0.157209, -0.15672, -0.347482, 0.451854, -0.222139, -0.0213483, -0.486991, -0.146262, -0.109261, 0.0755847, 0.0137119, -0.0184065, -0.0240137, -0.0888529, -0.058895, -0.0990941, 0.325259, 0.0478343, 0.0633348, -0.513025, -0.110329, 0.208856, 0.0290271, -0.0334879, 0.215237, 0.149885, 0.181583, 0.101043, 1.07487, -0.167009, 0.0190209, -0.059992, -0.0161629, 0.326641, 0.0509298, -0.115544, 0.507773, 0.0285879, -0.156872, 0.116188, -0.342283, 0.338579, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0345179, 0.0897686, -0.162413, 0.43377, -0.0418334, 0.0211696, -0.308804, -0.215762, 0.0846802, -0.323171, -0.214323, -0.300154, 0.0805625, 0.00435511, -0.326326, -0.067477, -0.222816, -0.102049, 0.0404846, -0.00260843, 0.584041, -0.166563, -0.00514911, -0.288881, -0.514106, 0.00617423, -0.012225, 0.111199, -3.27845e-05, 0.157838, 0.0204367, 0.0232856, -0.134904, -0.475068, 0.200913, 0.199628, 0.238604, -0.168872, -0.0244348, -0.188949, 0.0256935, 0.171057, -0.00718868, 0.301357, 0.206075, -0.0135936, -0.473933, 0.34906, 0.046678, -0.951663, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0239505, 0.294093, 0.104998, 0.319559, 0.213361, -0.300254, 0.430715, -0.303168, -1.41476, -0.0372967, 0.370302, 0.294268, -0.488507, 0.042827, -0.56046, 0.0518829, -0.451566, -0.254087, 0.0141844, 0.0356363, 0.0308889, 0.248877, -0.187374, -0.832241, 0.294299, -0.0461198, -0.537955, -0.345482, -0.645597, -0.141991, 0.0350661, 0.0184154, -0.125424, 0.129929, 0.552521, 0.0333231, -0.386604, -0.10738, 0.0343333, -0.419975, 0.0107509, -0.0290901, 0.0136474, -0.310263, 0.119639, -0.00892562, -0.331591, -0.00856683, -0.252883, -0.41503, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0186826, 0.0908949, -0.0877771, -1.57102, -0.594452, -0.539547, -0.10898, -0.393551, 0.388257, -0.129726, 0.372153, 1.54671, -0.701141, 0.0459301, 0.536348, -0.901804, 0.332785, -0.423805, 0.00615808, 0.0518739, -0.0670957, -0.173815, 0.399178, -0.0295764, -0.155244, 0.028502, -0.0475903, -0.192034, -0.72601, 0.0846452, 0.000982214, 0.0092302, -0.244152, 0.346414, -0.780975, -0.0302298, 0.22741, -0.111665, -0.0155262, -0.962064, -0.0172286, 0.201696, 0.0201064, -0.130183, 0.575537, 0.0298597, 1.42285, 0.746275, -0.519108, 1.01834, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0428412, 0.547873, -0.250259, -0.730849, -0.0545673, -0.645279, -0.653182, 0.00372141, -0.447495, -0.446754, -0.237396, -1.03372, 0.172773, -0.0336936, -0.826316, -0.104893, -0.195337, 0.647346, -0.00149268, -0.0260035, 0.0949351, 0.47574, 0.0528782, -2.19011, 0.516182, -0.0170738, 0.299287, 0.0271578, 0.321142, -0.719912, 0.00743471, -0.0164877, -0.601816, 0.0559835, 0.00275613, -0.284921, 0.102421, 0.208067, -0.0532233, -0.32446, 0.0221067, 0.25041, 0.0123686, -0.127327, -0.0327766, 0.0310684, -0.557527, 0.549861, 0.850834, -2.76759, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0361926, 0.401721, 0.336691, 0.0142266, -0.339803, -0.410003, 0.608497, 0.56626, -0.203103, 0.166411, 0.516399, -1.15388, -0.473086, 0.035322, -0.346536, -0.171077, 0.0835577, -1.23554, 0.0261305, -0.0453158, -0.337602, -0.118624, -0.598626, 0.133413, -0.666126, -0.0273007, 0.323155, 0.0778866, -0.0658344, 0.0291962, -0.014554, 0.0241346, -0.018709, 0.345123, 0.356358, 0.499324, 0.0150713, 1.21268, -0.0268585, 1.08781, -0.0128795, -0.659919, -0.00732053, 0.2363, -1.21951, 0.0470334, -0.208131, 0.278066, -0.0602283, -1.12657, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0135035, 0.311922, 0.169353, -0.28339, -0.526164, -0.600855, 0.251884, -0.526836, -0.483737, 0.349877, -0.522979, 1.35499, -0.282946, 0.0396161, 0.0373458, 0.643226, 0.456695, 0.379819, 0.0437746, -0.033392, -0.910303, 0.207663, -0.973263, 0.100327, -0.311354, -0.0166788, -0.424947, 0.242875, -0.576536, 0.193027, -0.0294579, 0.0171966, 0.201909, 0.406664, 0.397677, 0.387912, 0.0709023, -0.227948, -0.00542568, 0.123797, 0.0264331, -0.263186, -0.0427858, -0.188345, 0.833705, -0.0410569, -0.367594, 0.337778, -0.302067, -1.04042, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0050509, -0.125605, 0.0187778, 0.192442, 0.0932751, -0.194849, -0.0412296, 0.0220576, 0.622108, -0.167802, -0.0818167, 0.105119, -0.113484, -0.0233251, 0.054846, -0.287078, 0.00967016, -1.04786, 0.0314194, -0.016125, 0.061656, 0.247706, -0.263022, 0.204174, 0.163782, -0.0054029, -0.00169888, -0.106722, -0.356371, 0.136732, 0.0432753, 0.0304245, 0.565104, -0.320341, -0.0244176, 0.203505, 1.30264, -0.475973, 0.0196849, -0.312205, 0.0313871, 0.0998952, 0.0180104, 0.0958847, 0.349485, 0.0359414, -0.13346, -0.10322, -0.590653, -0.0106439, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00695752, 0.0833823, -0.204732, -0.583056, -0.0145758, -0.0546488, -0.111436, -0.237034, -0.143678, 0.112931, 0.248073, -0.118536, -0.264042, -0.0411703, -0.289588, -0.812629, 0.169187, -0.135807, -0.0424186, -0.0356646, -0.16166, 0.00185874, 0.385141, -0.310092, -0.0416747, -0.0255983, -0.243783, 0.252746, 0.0492681, 0.206099, 0.0398651, 0.00525243, 0.0939753, -0.0651295, -0.134911, 0.00382241, 0.0688126, 0.00242392, 0.000871334, 0.00750492, -0.0351993, -0.100426, 0.0375043, -0.116046, 0.0674433, 0.0187147, 0.564743, 0.0793915, 0.0421085, 0.404686, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0378716, 0.332487, -0.0678821, 0.36822, -0.905564, -0.285377, 0.218789, 1.3342, 1.44464, 0.100031, -0.217198, -0.945518, -0.951985, -0.0311748, 0.393708, -0.130819, -0.203123, -0.0780586, -0.0429481, 0.0223231, -0.760099, -0.842648, -0.219145, 0.072958, -0.967513, 0.0396177, 0.128794, 0.347927, -1.30534, -0.256537, 0.00800264, -0.00402369, -0.62919, -0.1432, 0.362199, -0.0200842, -0.0835543, -0.539078, -0.010856, -0.310481, -0.0203491, 1.24165, -0.0175757, 0.815513, 0.158105, 0.0366939, -0.613885, 1.29512, -0.0901274, -0.443792, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0418531, 0.0127946, 0.0134315, -0.0445762, 0.0325211, -0.0581046, 0.0275842, -0.0408114, 0.0354297, -0.0168223, -0.0429236, -0.0317817, -0.000268012, 0.0499249, -0.0436667, -0.0276784, -0.0202491, 0.0291972, 0.00398563, 0.0019939, 0.00245619, -0.0201904, -0.0669832, 0.0275729, -0.0470613, -0.0247648, -0.0159615, 0.0339546, -0.0407961, 0.031805, 0.0267688, 0.0171054, -0.0104412, -0.00198299, -0.0193089, -0.0272002, -0.017372, -0.00191276, -0.0321613, 0.0241315, 0.009287, 0.00762415, 0.0112803, -0.0243605, -0.0280808, 0.038908, -0.00394519, -0.0326964, -0.0156121, -0.0326795, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00379718, 0.470147, -0.0260918, -0.14163, 0.0467811, -0.0143939, -0.615346, -0.242009, 0.118944, -0.315062, -0.401192, 1.33038, -0.279978, 0.0117133, -0.0261333, -0.0826304, -0.163161, 0.557489, 0.0227688, 0.0217303, 0.551074, -0.0957626, -0.159999, -0.358673, 0.253029, -0.0141097, 0.0959846, -0.827561, -0.586803, -0.426174, 0.0390993, 0.0219418, -1.19957, -0.035896, -0.0712944, 0.22059, 0.0699383, 0.0208859, 0.0173206, 0.297312, -0.0499812, -0.0423724, -0.0148642, -0.641459, -0.384693, 0.0393254, 0.63847, 0.480686, -0.228113, 0.294804, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0477329, -0.00854302, -0.0210636, -0.0336733, 0.0166466, -0.0503934, -0.0332903, 0.0187046, -0.0633979, 0.0328137, 0.0135171, -0.0179755, 0.021861, 0.0280167, 0.00650567, -0.0223575, -0.0143793, -0.00754665, -0.000250874, 0.0436804, -0.0461149, 0.0258642, -0.0298319, 0.026816, -0.0541459, -0.0415447, -0.0312132, -0.0348486, -0.00829615, 0.00884221, -0.0204312, -0.00470548, -0.0400015, -0.0183472, -0.02381, 0.0204328, -0.0250805, -0.0599155, 0.0165123, -0.0174846, 0.0114511, 0.00810351, 0.0277775, -0.0474079, 0.00332666, 0.0120967, 0.0254952, -0.00662779, 0.00112296, -0.0479298, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0125475, 0.157206, -0.343802, -0.198921, -0.163697, 0.418476, -0.456043, -0.141204, 0.229378, -0.945247, -0.681841, -1.07757, -0.043151, 0.0101855, -0.19395, 0.539551, -0.471376, 0.0423919, -0.0292632, -0.0160935, 0.107432, 0.0896801, -0.749231, -0.189661, -0.217727, -0.0233922, 0.288141, 0.111288, -0.491773, 0.214535, 0.0260784, 0.00392238, 0.524744, 0.260288, 0.147632, -0.371046, 0.134115, -0.473319, 0.0161993, 0.114528, 0.0317133, -0.188602, -0.00463344, -0.431471, -0.830947, 0.0329062, 0.272318, 0.758871, -0.175504, -0.487371, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0453899, 0.0195217, -0.730701, -0.284808, 0.245771, 0.16693, 0.808095, 0.133304, 0.464405, -1.24093, -0.171713, -0.974783, 0.194786, -0.0178747, 0.110891, -0.292378, 0.647055, 0.657409, -0.00828338, -0.0193722, -0.444196, -0.585056, 0.195872, 0.168959, -0.465191, -0.0280986, 0.547792, 0.253971, -0.361036, 0.121614, 0.00806341, 0.0475556, -0.196501, -0.218438, 0.164888, 0.37776, -0.56625, -2.60884, -0.0292615, 0.401515, -0.0491913, 0.459974, -0.0293555, -0.0729286, -0.501506, 0.0311565, 0.137792, 0.257595, -0.408003, -0.119849, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00318593, 0.278706, 0.0870422, -0.499718, -0.444434, 0.373404, 0.0165091, -0.278029, 0.191308, -0.538282, -0.555453, -0.266921, -0.446093, -0.0168004, 0.186551, 0.475346, 0.498147, -0.06752, -0.0149038, -0.045345, 0.126995, -0.171368, -0.00333775, 0.0773017, -0.106323, 0.0174078, 0.499091, -0.225884, 0.095392, 0.0281787, 0.028945, 0.0164016, 0.78193, 0.588966, -0.14194, -0.336384, 0.336929, -0.0237641, -0.040234, -0.0621901, 0.0252521, 0.505267, 0.0529761, 0.138192, 0.851789, -0.0459478, -0.00701865, 0.198801, -0.657965, -0.03493, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0208837, 0.272235, 0.0802359, 0.283569, 0.35377, 0.0854091, 0.903071, -0.667995, 0.750418, 0.327002, 0.202323, -0.378369, -0.384306, -0.00829956, -0.137589, -0.349071, 0.434802, -0.240721, -0.000677424, 0.0110757, 0.652304, 0.120567, 0.259436, 0.676303, -0.670191, -0.0169804, -0.00611327, 0.907883, 0.622977, 0.520074, 0.00058889, 0.0310436, 0.340035, 0.30095, -0.292198, -0.138382, -0.0104358, 0.606363, 0.0411583, -0.804049, 0.0385907, -0.917441, -0.0420564, 0.0386458, 0.356379, -0.01073, -0.465541, 0.433611, -1.15288, 0.0336951, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0161224, -0.757481, -0.120012, -0.402381, -0.332082, -0.0517142, 0.151114, 0.0536223, 0.319032, -0.164905, 0.0266911, -0.102648, 0.00502189, 0.00223395, 0.135521, 0.276759, 0.118966, -0.116634, -0.0451965, 0.0489823, -0.394133, -0.0292633, 0.17661, 0.0493821, -0.409949, 0.00791821, -0.144369, -0.402339, -0.0643992, -0.386209, -0.0460763, -0.0152882, 0.188225, 0.000677462, -0.103929, -0.0560346, 0.00572079, 0.18126, -0.0202093, -0.282703, -0.0375231, -0.229331, -0.0220714, -0.205114, -0.545104, 0.01216, -0.727551, -0.0675739, 0.0508056, 0.0160437, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0466972, -0.135534, -0.926477, 0.755261, -0.374146, -0.953197, 0.0722116, 0.668906, 0.740887, 0.320093, 1.00225, 0.569802, 1.15518, 0.0358206, -0.583965, -0.0971365, 1.15162, -4.39813, -0.00465905, -0.0295265, -0.931152, 0.389178, 0.0226186, -0.894583, 0.880782, 0.0173076, 0.497157, -0.13406, 0.740307, 0.0499624, 0.0213769, 0.00106501, -0.741878, 0.160197, -0.0366991, -0.261275, -1.06718, 1.89874, 0.0210802, 0.27032, -0.0422251, -2.36777, 0.0392841, 0.420523, -0.0452485, -0.0360049, 1.15358, -0.416043, 0.405233, -0.868091, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0183385, -0.204149, 0.0629234, 0.660082, 0.561649, 0.0513419, 0.425195, 0.158568, 0.236234, 0.269925, -0.173706, 0.196274, -0.175585, 0.0223615, -0.103089, 0.510275, 0.0277711, 0.303967, -0.0460417, -0.0462276, -0.258987, -0.0527851, -0.822155, -0.743608, 0.492033, -0.0169967, -1.39124, -0.352962, -0.923662, 0.363574, -0.0418832, 0.030488, -0.516466, 0.0873195, 0.0589876, -0.22628, -0.0969616, -0.161515, 0.0109976, 0.61249, 0.0225514, -0.379398, 0.0445942, 0.19251, 0.550411, 0.0477716, 1.11791, 0.375766, -0.256823, -0.0211426, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0110932, -0.55354, -0.187705, 0.117095, 0.154566, 0.529811, -0.30962, -0.389653, -0.333319, 0.383811, 0.433156, 0.692863, -0.580335, 0.0123528, 0.303357, -0.375161, -0.104631, -0.104274, -0.0465037, -0.0280074, 0.39154, 0.110789, 0.0932442, 0.587921, 0.441158, 0.0347984, 0.259387, 0.396567, -0.376323, -0.0209187, 0.015564, 0.0356981, 0.424521, 0.586446, 0.117312, -0.320842, -0.211487, -0.761256, -0.0341987, -0.416367, -0.00988599, 0.422791, -0.030982, 0.3422, 0.840918, 0.0484217, -0.0855944, -0.12796, 0.0861318, -0.0343407, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.008484, 0.0007825, 0.01817, 0.49, -0.1539, -0.1967, -0.12286, 0.3145, 0.61, 0.322, -0.0717, 1.3125, -0.01727, -0.01388, 0.1691, 0.2695, 0.231, 0.006126, 0.01883, 0.03818, -0.2211, -0.2515, 0.987, 0.068, 0.05862, -0.02802, 0.2028, 1.671, 0.0723, 0.0323, -0.04504, 0.01848, -0.05997, -0.0685, -0.294, -0.4978, -0.4167, 0.1307, 0.011925, 0.02376, -0.04977, 0.3623, -0.008514, 0.5415, 0.01793, -0.04858, 0.0878, -0.01356, 0.2448, -0.858], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.006893, 0.1247, -0.272, 0.7485, -0.01165, -0.04443, -0.02658, -0.3523, 0.543, -0.0648, 0.0688, 0.535, 0.5425, -0.01688, -0.004364, 0.092, 0.1001, -0.1122, -0.02339, 0.0451, 0.2783, 0.0627, 0.2703, -0.3984, 0.5786, -0.04297, 0.2974, -0.5474, -0.38, -0.1583, 0.0321, 0.03452, 0.01159, -0.4373, 0.08746, -0.02713, 0.1226, 0.07495, -0.02344, -0.7637, -0.01971, 0.446, 0.0003068, -0.1351, 0.006996, 0.023, -0.1114, -0.183, 0.727, -0.713], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02892, -0.01738, -0.1351, -0.2656, -0.389, 0.0318, 0.04428, 0.1265, 0.01508, -0.02072, 0.2103, -1.347, -0.2993, -0.0312, -0.00397, 0.883, 0.5767, -0.1566, 0.0202, -0.04013, 0.3767, 0.2015, -0.1718, -0.0843, -0.6636, 0.007236, 0.141, 0.3625, 0.1349, -0.47, 0.00908, 0.008194, 0.71, -0.121, 0.507, -0.013885, 0.3467, 0.1197, -0.01988, -0.5107, -0.01553, -0.313, -0.04474, -0.1525, -0.1731, 0.04584, 0.3787, -0.2588, -0.08685, -0.3015], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04, -0.3306, -0.569, 0.3958, 0.1783, -0.6323, -0.4724, 0.53, 0.08344, -0.02853, 0.07837, 0.3198, -0.3184, 0.013596, -0.3533, -0.3127, -0.3503, -1.127, 0.02075, -0.01164, -0.2446, -0.3757, 0.329, -0.083, 0.2969, -0.04706, -0.1176, 0.4478, -0.1083, -0.10474, 0.004303, -0.02174, 0.6494, 0.1763, 0.0918, 0.01498, -0.0773, -0.159, 0.003172, -0.12494, 0.04706, -0.791, -0.0266, 0.3774, 0.01073, -0.04272, -0.1921, -0.012794, 0.00903, -0.0885], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0045, 1.201, 0.11487, -0.6064, 0.1071, 0.2073, -0.3074, 0.1755, 0.3152, -0.3032, 0.533, -1.114, 0.662, -0.02538, -0.11566, 0.795, -0.1768, 0.2566, 0.02266, 0.03674, 0.1047, -0.0863, 0.2457, -0.353, -0.2588, 0.03107, -1.038, -0.2007, 1.1875, 0.3862, 0.0209, -0.008766, -0.2151, -0.07074, -0.3804, -0.446, -0.4258, 0.7393, 0.03, 0.9985, 0.01361, 0.634, 0.04492, -0.2109, -0.3147, 0.006462, 0.0546, -0.2964, -0.729, -0.02597], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.013, 0.3286, 0.3953, -0.1144, 0.0953, -0.345, 0.4456, -0.857, 0.2812, 0.675, 0.3489, 0.6934, 0.256, 0.0352, 0.01964, -0.04175, 0.7705, 0.3584, -0.02417, -0.005196, 0.1129, -0.11615, -0.31, -0.001368, -0.07745, -0.02473, -0.104, -0.1566, 0.599, -0.2168, 0.006046, -0.03915, -0.726, -0.4666, -0.5703, 0.405, -0.1561, 0.657, -0.0216, -0.4192, 0.02809, 0.3438, 0.03537, -0.3157, 1.233, -0.01014, -0.0696, -0.832, 0.146, -0.131], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04868, 0.399, 0.02501, 0.03616, 0.001652, 0.1189, -0.1912, 0.1677, -0.4155, 0.05463, -0.49, 0.684, 0.01049, 0.04477, -0.5815, 0.3552, 0.04868, -0.627, 0.01195, 0.02658, 0.1039, -0.3127, -0.4038, 0.4663, 0.3813, -0.05353, 0.1376, -0.2211, 0.1958, -0.0717, 0.0068, 0.03088, -0.201, 0.01582, -0.3938, -0.1896, -0.1633, 0.2134, 0.01582, 0.03485, 0.04727, 0.2622, 0.003313, 0.113, -0.03598, -0.02786, 0.4387, -0.01297, 0.9517, 0.4626], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.00582, 0.3018, 0.601, -0.895, -0.1522, -0.6357, 0.887, 0.4067, 0.1018, 0.974, 0.595, 0.1318, -0.010605, -0.01738, -0.3228, -0.4058, -0.0985, -0.3682, 0.000914, 0.01848, -0.9507, -0.1677, -0.8286, 0.04913, 1.523, -0.00543, -1.622, 0.516, 0.2053, 0.2517, -0.02698, -0.01092, -1.23, -0.766, 0.0912, 0.704, -0.006096, 0.8965, 0.03836, 0.0659, -0.008934, 0.2153, -0.038, -0.1914, 0.9155, 0.02374, -1.303, -0.629, -0.275, -1.155], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0366, 0.0632, 0.2854, 0.3752, -0.5884, -0.5386, -0.669, -0.212, -0.002884, 0.1032, 0.04034, -5.83, -0.3052, 0.04535, 0.3682, -0.2517, 0.4255, -0.1455, -0.0308, -0.02544, 0.04294, -0.263, 0.3552, 0.3208, -0.3953, 0.01205, 0.07776, -0.2878, 0.03323, -0.4055, 0.01404, -0.02516, -0.3982, 0.1721, -0.31, 0.01038, 0.2554, -0.01678, -0.00752, 0.3835, -0.01514, -0.8345, -0.0181, -0.209, -0.879, -0.02263, -0.03964, -0.4006, 0.2527, -0.2223], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0477, 0.4653, 0.002678, 0.04584, 0.0856, 0.04126, 0.013115, -0.1837, 0.386, -0.1414, -0.178, -0.273, -0.1425, -0.004704, -0.05826, 0.1664, 0.175, 0.525, -0.02916, -0.01935, 0.10144, -0.6045, -0.2593, 0.1774, 0.1047, 0.01942, 0.1901, 0.6167, 0.0817, 0.2424, -0.01971, 0.002745, 0.5503, -0.06097, 0.1191, 0.02115, -0.07635, 0.1774, 0.01697, 0.1449, 0.03296, -0.1672, -0.02992, 0.138, 0.2825, -0.03394, -0.01639, 0.010796, 1.271, 0.4375], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03552, -0.3694, 0.2695, 0.1162, 0.1279, 0.1382, -1.445, -0.0794, -0.4097, -0.02675, 0.1094, 1.191, 0.1709, 0.01964, -0.2448, 0.00594, 0.2345, 0.0514, 0.02496, 0.014595, -0.3025, 0.132, 0.483, 0.4993, -0.1598, 0.004246, -0.4138, 0.1788, -0.1427, 0.3704, 0.009636, -0.03047, -0.3384, 0.1537, -0.2776, -0.2292, 0.4387, 0.269, -0.01313, -0.3147, -0.04538, -0.4626, -0.03836, 0.03442, -0.3242, -0.03296, 0.4666, -0.04108, -0.391, -0.4065], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03302, -0.1548, -0.398, 0.3567, 0.1245, -0.1522, -0.1858, -0.0727, 0.5635, 0.2292, -0.4348, 0.3967, 0.03586, -0.0382, -0.0716, -0.5947, -0.0351, 0.1324, 0.0166, -0.01248, -0.0796, -0.2654, 0.3462, 0.1802, -0.02525, 0.000805, 0.3635, -0.2952, -0.08167, -0.145, -0.00622, 0.01741, 0.2001, 0.2566, -0.04382, 0.1858, -0.1953, 0.02036, -0.005856, -0.1868, 0.04044, -0.3118, -0.02214, 0.286, 0.1681, 0.00323, -0.461, 0.0476, -0.2683, -0.0644], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02347, 0.1001, -0.3552, -0.3271, -0.052, -0.5674, -0.004005, -0.2394, 0.01585, -0.571, -0.4773, 0.604, -0.489, -0.000859, 0.2435, -0.0315, 0.0866, -0.3157, 0.05627, 0.02927, 0.506, -0.258, 0.7017, 0.10046, 0.405, 0.007008, 0.4058, -0.9243, 0.3066, -0.1152, -0.01677, 0.02028, 0.4507, -0.1145, -0.402, -0.1643, 0.3608, -0.484, -0.0002902, 0.3257, -0.02867, -0.0587, -0.0121, 0.1137, 0.4922, -0.01248, 0.6396, 0.1682, -0.3203, -0.275], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01826, -0.2075, -0.4502, -0.288, 0.07086, -0.03967, -0.1001, -0.2493, 0.6943, 0.2764, -0.0917, 0.5166, -0.2876, 0.02797, -0.3936, -0.8623, 0.1897, -0.7686, -0.0448, -0.004547, 0.2047, -0.01416, -0.59, 0.5957, 0.1824, 0.0333, 0.285, -0.457, 0.4272, 0.05807, 0.02716, 0.04703, 0.4324, -0.0213, 0.43, -0.358, 0.3958, -1.241, -0.0076, 0.1893, -0.03537, 0.4197, -0.0345, -0.2339, 0.2678, -0.01869, 0.6455, 0.3684, 0.2074, 0.2861], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00478, 0.4578, -0.06805, -0.2803, 0.431, -0.2007, -0.0931, 0.41, 0.5806, 0.1375, -0.1882, 0.464, -0.0775, 0.006718, -0.3328, 0.1676, -0.1697, 1.314, 0.00996, -0.01212, 0.0859, -0.04196, 0.04318, 0.464, 0.6543, -0.03632, -0.05774, -2.367, -0.3088, -0.2148, 0.05548, -0.02, 0.0839, -0.1481, -0.06165, -0.282, -0.4185, -0.666, -0.0222, 0.1512, 0.003733, -0.009995, -0.01238, 0.3855, 0.4858, -0.0001309, -0.425, -0.224, -0.231, 0.8496], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0529, -0.2673, -0.472, 0.314, -0.443, 0.678, -0.1285, -0.7134, 0.495, -0.0726, -0.5044, -2.08, 0.4011, -0.02888, -0.3047, 0.4927, 0.506, -0.227, -0.04318, -0.01845, 1.08, 0.437, -0.02875, -0.4368, -1.572, -0.0122, 0.339, -0.3076, -0.03122, -0.453, -0.00477, 0.02011, 0.9175, -0.03564, 0.0487, -0.5566, 0.613, 0.691, -0.0492, 0.1743, -0.01262, 0.681, -0.03336, -0.7744, 1.203, 0.026, -0.4573, -0.2603, -0.6616, -0.00481], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.027, -0.794, 0.2651, -0.03342, -0.2683, 0.9287, 0.4595, -0.3828, 0.597, 0.214, -0.762, 1.957, 0.545, -0.02386, -0.05396, 1.748, -0.1686, -0.08984, -0.02403, -0.01775, -0.8184, 0.004555, -0.327, -0.00147, -0.566, -0.005394, 0.04614, -0.2426, 0.1218, 0.684, 0.00997, -0.00978, -0.7407, 0.1793, -0.1125, 0.4624, -0.1014, 1.51, 0.01942, 0.1006, 0.0361, 0.06744, -0.04282, 0.02078, -1.06, 0.04047, 0.2349, -0.7695, 0.423, -0.352], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.002745, -0.3127, -0.6235, 0.675, 0.528, -0.2479, -0.0375, 0.519, 0.467, 0.01935, -0.1665, 2.16, 0.1676, -0.005905, -0.252, -0.3694, -0.7783, -0.1273, 0.012726, -0.03494, -0.4973, 0.06046, 0.4312, 0.4004, 1.642, 0.00902, 0.769, -0.5996, -0.742, 0.07135, 0.02066, -0.002722, 0.2944, 0.2064, -0.3567, -0.2322, 0.368, -0.84, 0.03882, 0.1225, -0.01805, -0.3223, 0.00243, 0.3245, -2.969, -0.04517, 0.3784, 0.2515, -0.6084, -0.5195], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03857, -0.05582, -0.2695, -0.228, 0.4734, 0.342, -0.6436, 0.4263, -1.279, 0.608, -0.0852, 0.827, 0.512, 0.01564, -0.7256, 0.602, 0.0723, 0.7983, -0.032, 0.03323, 0.51, 0.323, 0.04486, -0.04303, 0.989, -0.01599, 0.507, -0.2886, -0.4597, -0.2003, -0.04346, 0.01058, 0.0563, -0.1451, -0.2585, -0.2145, 0.2927, 0.2126, 0.01782, -0.3594, -0.02077, 0.4395, -0.02634, 0.5723, 0.947, -0.004696, -0.1406, 0.02579, -0.436, 0.314], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0411, -0.02487, 0.04233, -0.12415, -0.05792, -0.3477, -0.2394, -0.4683, 0.5415, -0.5093, -0.11334, -0.7515, 0.1775, -0.04422, 0.332, 0.2328, -0.1012, -1.163, -0.04694, 0.01701, -0.3135, 0.261, -0.2051, 0.00472, -0.599, -0.00815, -0.01233, 0.4246, -0.4236, -2.05, -0.007046, 0.02597, 0.12164, 0.367, 0.2104, -0.1157, -0.2422, -0.1594, -0.0367, 0.641, -0.0294, -0.00476, -0.04053, 0.005665, 0.4524, 0.03293, -0.4558, 0.2788, 0.05173, -0.3923], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00877, 0.2966, -0.1738, -0.1555, 0.39, 0.4712, -0.2922, -0.1261, -0.452, -0.03052, 0.03555, -0.379, 0.1484, -0.04245, 0.6294, -0.144, 0.013084, -0.1583, 0.00868, -0.03342, 0.002703, 0.6465, 0.3916, -0.441, 0.2319, 0.01414, -0.2438, -0.1365, -0.0368, 0.2615, -0.0388, 0.00953, 0.1901, -1.067, 0.574, 0.2037, 0.2314, 0.1349, -0.01985, 0.091, -0.02263, 0.484, 0.01332, 0.22, 0.3184, 0.03964, 0.07526, -0.10034, -0.1324, 0.1595], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01285, -0.359, -0.4548, 0.05936, 0.145, -0.1307, -0.8506, -0.199, 1.149, 0.2329, -0.0735, 0.8696, 0.6143, -0.036, 0.11426, -0.5337, 0.1755, -0.8955, -0.03152, -0.0003939, 0.3708, 0.3333, 0.6533, -0.0587, 0.1371, 0.003698, -0.4277, -0.2496, 0.03674, 0.269, 0.00891, 0.0391, 0.2294, -0.547, 0.4631, 0.4736, -0.3481, 0.09863, 0.02664, -0.7993, -0.00887, 0.2242, -0.005337, -0.04587, 0.32, -0.00622, -0.1146, 0.11865, -0.3616, 0.373], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03595, 0.1163, -0.318, -0.2455, -0.7686, 0.2656, 0.001045, -0.3064, -0.2854, 0.1996, -0.1185, -0.3542, 0.02902, -0.012146, 0.34, -0.1378, 0.397, -0.3694, 0.00815, 0.012146, -0.4873, 0.3374, 1.002, 0.509, -0.01086, -0.01811, 0.2637, 0.4282, -0.07874, -0.2046, 0.01305, 0.00395, -0.0808, 0.0769, 0.1293, 0.0792, 0.3674, -0.74, 0.00942, 0.5254, -0.003256, -0.0802, -0.04083, 0.2622, 0.485, -0.0441, 0.785, -0.2113, -0.0948, 0.582], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02107, -0.1843, -0.05566, -0.2484, -0.3127, 0.3079, -0.285, -0.1594, 0.1698, 0.2585, -0.225, -0.3628, 0.2012, 0.04266, 0.06003, -0.011185, 0.1434, -0.521, 0.04553, -0.02068, -0.2307, -0.0808, 0.3152, -0.291, 0.2173, 0.011215, -0.32, 0.2588, -0.0681, 0.1167, -0.00432, 0.0321, 0.2128, 0.2091, -0.10956, -0.0324, -0.00689, -0.3916, 0.02657, -0.0716, 0.02505, 0.3745, 0.004498, -0.00948, 0.1416, -0.0319, -1.012, -0.1952, 0.002808, 0.4934], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02873, -0.751, -0.617, -0.9062, 0.373, -0.1792, -0.3691, -0.1025, 0.08875, -0.3816, 0.007183, 0.2448, -0.1118, 0.02248, 0.01509, 0.7036, -0.114, 0.10236, -0.04495, 0.00662, -0.07965, 0.1904, -0.003708, 0.00806, -0.8022, -0.00894, 0.344, -1.244, -0.2355, -0.08875, 0.036, -0.03723, 0.678, 0.554, 0.1709, -0.5137, 0.1952, 0.2177, 0.04092, 0.09454, 0.005447, -0.3938, -0.01374, -0.0222, -0.2634, 0.03214, -0.0982, 0.03986, -0.01465, -0.6274], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0472, -0.02107, 0.02736, -0.00627, 0.01094, -0.0657, -0.03946, -0.02972, -0.01514, 0.003195, -0.02948, -0.02658, -0.0404, -0.02866, -0.03284, -0.0662, -0.0235, 0.00994, 0.02693, 0.03775, -0.006912, -0.01218, -0.029, -0.0423, 0.004257, -0.04028, -0.04565, -0.01788, -0.05865, -0.02446, 0.04446, -0.00833, 0.02719, 0.04282, -0.02094, 0.03104, -0.02718, -0.05142, -0.0217, -0.01185, -0.0474, -0.02026, 0.0234, -0.04544, -0.04617, -0.03937, 0.0051, -0.03943, -0.0398, 0.01514], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01656, 0.687, -0.1599, -0.1376, -0.286, -0.6245, -0.8096, -0.1781, 0.1952, 0.3237, -0.0701, 0.583, -0.597, -0.00895, 0.677, -0.0073, 0.1685, -0.3245, 0.02296, 0.05472, -0.0902, -0.3384, -0.07764, -0.0475, 0.505, -0.01785, -0.0548, 1.205, -0.521, 0.4731, 0.000937, 0.02696, 0.139, 0.2428, -0.3123, -0.137, 0.10736, -0.3135, 0.03683, -0.1372, 0.01575, 0.984, -0.00323, 0.1864, 0.6143, -0.03595, 0.602, 0.4634, -0.792, -0.094], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02846, -0.4512, 0.1174, 0.5415, 0.2377, -0.5205, 0.2484, 0.0645, 0.02371, -0.05933, -0.2258, 1.371, 0.469, 0.0157, -0.3591, 0.1772, -0.1901, 0.2825, -0.0414, -0.0552, 0.2703, 0.1769, -0.57, 0.3203, -0.5186, 0.036, -0.05804, -0.44, -0.592, 0.1552, 0.003218, 0.0243, -0.06744, 0.002321, 0.09216, -0.1766, -0.0815, -0.3506, 0.04916, -0.07434, 0.001837, -0.2493, -0.003017, -0.1804, -0.1392, 0.002945, -0.239, -0.423, -0.5327, -0.2189], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01425, -0.6143, 0.2832, -0.4067, 0.182, -0.757, 0.7104, 0.462, -0.0172, 0.3787, 0.3677, 1.051, -0.04034, -0.02641, 0.0675, 0.5527, -0.253, 0.1888, -0.0231, -0.0326, 0.014496, -0.03314, 0.5444, -0.04828, 0.2117, 0.0235, -0.3118, 0.3625, -0.2825, -0.1824, 0.0364, 0.02202, -0.191, -0.3083, -0.03062, -0.217, 0.3376, -1.297, -0.00939, 0.2546, 0.02306, 0.1896, -0.03525, 0.3506, 0.001704, 0.01938, -0.0557, 0.2224, -1.081, 0.00651], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0183, -0.254, -0.1614, 0.2081, 0.141, 0.09247, 0.08044, -0.3098, 0.1572, -0.1567, -0.3474, 0.452, -0.2222, -0.02135, -0.487, -0.1462, -0.10925, 0.07556, 0.01371, -0.0184, -0.02402, -0.08887, -0.0589, -0.0991, 0.3252, 0.04782, 0.06335, -0.513, -0.11035, 0.2089, 0.02902, -0.03348, 0.2152, 0.1499, 0.1816, 0.101, 1.075, -0.167, 0.01903, -0.06, -0.01616, 0.3267, 0.05093, -0.11554, 0.508, 0.0286, -0.1569, 0.1162, -0.3423, 0.3386], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03452, 0.0898, -0.1624, 0.4338, -0.04184, 0.02116, -0.3088, -0.2158, 0.08466, -0.3232, -0.2144, -0.3, 0.08057, 0.004356, -0.3264, -0.0675, -0.2228, -0.10205, 0.0405, -0.00261, 0.584, -0.1665, -0.00515, -0.2888, -0.514, 0.006176, -0.01222, 0.1112, -3.28e-05, 0.1578, 0.02043, 0.02328, -0.1349, -0.475, 0.2009, 0.1996, 0.2386, -0.1688, -0.02443, -0.189, 0.0257, 0.171, -0.007187, 0.3013, 0.206, -0.013596, -0.4739, 0.349, 0.0467, -0.9517], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02396, 0.2942, 0.105, 0.3196, 0.2134, -0.3003, 0.4307, -0.3032, -1.415, -0.0373, 0.3704, 0.2942, -0.4885, 0.04282, -0.5605, 0.05188, -0.4517, -0.2542, 0.01418, 0.03564, 0.03088, 0.2489, -0.1874, -0.832, 0.2942, -0.0461, -0.538, -0.3455, -0.6455, -0.142, 0.03506, 0.01842, -0.1254, 0.1299, 0.5527, 0.03333, -0.3867, -0.10736, 0.03433, -0.42, 0.01075, -0.02908, 0.01365, -0.3103, 0.1196, -0.00893, -0.3315, -0.00857, -0.253, -0.415], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01868, 0.0909, -0.08777, -1.571, -0.594, -0.5396, -0.109, -0.3936, 0.3882, -0.1298, 0.372, 1.547, -0.701, 0.04593, 0.536, -0.902, 0.3328, -0.4238, 0.006157, 0.05188, -0.0671, -0.1738, 0.3992, -0.02957, -0.1553, 0.0285, -0.04758, -0.192, -0.726, 0.08466, 0.000982, 0.00923, -0.2441, 0.3464, -0.781, -0.03023, 0.2274, -0.1117, -0.015526, -0.962, -0.01723, 0.2017, 0.02011, -0.1301, 0.5757, 0.02986, 1.423, 0.746, -0.519, 1.019], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.04285, 0.548, -0.2502, -0.731, -0.05457, -0.6455, -0.6533, 0.003721, -0.4475, -0.4468, -0.2374, -1.034, 0.1727, -0.0337, -0.826, -0.1049, -0.1953, 0.6475, -0.0014925, -0.026, 0.0949, 0.4758, 0.0529, -2.19, 0.516, -0.01707, 0.2993, 0.02716, 0.321, -0.7197, 0.007435, -0.0165, -0.602, 0.05597, 0.002756, -0.285, 0.1024, 0.208, -0.05322, -0.3245, 0.02211, 0.2505, 0.01237, -0.1273, -0.03278, 0.03107, -0.5576, 0.55, 0.851, -2.768], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0362, 0.4016, 0.3367, 0.01423, -0.3398, -0.41, 0.6084, 0.5664, -0.2031, 0.1664, 0.5166, -1.154, -0.4731, 0.0353, -0.3464, -0.171, 0.08356, -1.235, 0.02612, -0.04532, -0.3376, -0.11865, -0.5986, 0.1334, -0.666, -0.0273, 0.3232, 0.0779, -0.06586, 0.02919, -0.01456, 0.02414, -0.0187, 0.3452, 0.3564, 0.4993, 0.01507, 1.213, -0.02686, 1.088, -0.01288, -0.66, -0.00732, 0.2363, -1.22, 0.04703, -0.2081, 0.278, -0.06024, -1.127], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.013504, 0.312, 0.1693, -0.2834, -0.5264, -0.601, 0.252, -0.527, -0.4836, 0.3499, -0.523, 1.355, -0.283, 0.0396, 0.03735, 0.643, 0.4568, 0.38, 0.04376, -0.0334, -0.91, 0.2076, -0.973, 0.10034, -0.3113, -0.01668, -0.425, 0.2429, -0.5767, 0.193, -0.02946, 0.0172, 0.2019, 0.4067, 0.3977, 0.388, 0.0709, -0.2279, -0.005424, 0.1238, 0.02643, -0.2632, -0.0428, -0.1884, 0.8335, -0.04105, -0.3677, 0.338, -0.302, -1.04], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00505, -0.1256, 0.01878, 0.1924, 0.09326, -0.1948, -0.04123, 0.02206, 0.622, -0.1678, -0.0818, 0.1051, -0.11346, -0.02333, 0.05484, -0.287, 0.00967, -1.048, 0.03143, -0.01613, 0.06165, 0.2477, -0.263, 0.2042, 0.1638, -0.0054, -0.0016985, -0.10675, -0.3564, 0.1367, 0.04327, 0.03043, 0.565, -0.3203, -0.02441, 0.2035, 1.303, -0.476, 0.01968, -0.3123, 0.03137, 0.0999, 0.018, 0.0959, 0.3494, 0.03595, -0.1334, -0.1032, -0.591, -0.01064], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.006958, 0.0834, -0.2047, -0.583, -0.01457, -0.05466, -0.11145, -0.237, -0.1437, 0.1129, 0.248, -0.1185, -0.2642, -0.04117, -0.2896, -0.8125, 0.1692, -0.1359, -0.04242, -0.03568, -0.1616, 0.001859, 0.3853, -0.31, -0.0417, -0.0256, -0.2438, 0.2527, 0.04926, 0.206, 0.03986, 0.005253, 0.094, -0.0651, -0.1349, 0.003822, 0.0688, 0.002424, 0.000871, 0.007504, -0.0352, -0.1004, 0.0375, -0.116, 0.06744, 0.0187, 0.565, 0.0794, 0.0421, 0.4048], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03787, 0.3325, -0.0679, 0.3682, -0.906, -0.2854, 0.2188, 1.334, 1.444, 0.10004, -0.2172, -0.9453, -0.952, -0.03117, 0.3938, -0.1309, -0.2031, -0.07806, -0.04294, 0.02232, -0.7603, -0.843, -0.2191, 0.07294, -0.9673, 0.0396, 0.1288, 0.348, -1.306, -0.2566, 0.008, -0.004025, -0.6294, -0.1432, 0.3623, -0.02008, -0.08356, -0.539, -0.01086, -0.3105, -0.02036, 1.241, -0.01758, 0.8154, 0.1581, 0.03668, -0.614, 1.295, -0.09015, -0.4438], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.04184, 0.012794, 0.01343, -0.0446, 0.03253, -0.0581, 0.02759, -0.0408, 0.03543, -0.01682, -0.04294, -0.03177, -0.000268, 0.04993, -0.04367, -0.02768, -0.02025, 0.02919, 0.003986, 0.001993, 0.002457, -0.02019, -0.06696, 0.02757, -0.04706, -0.02477, -0.01596, 0.03397, -0.0408, 0.0318, 0.02676, 0.0171, -0.010445, -0.001984, -0.0193, -0.0272, -0.01736, -0.001913, -0.03217, 0.02412, 0.009285, 0.007626, 0.011284, -0.02435, -0.02808, 0.0389, -0.003944, -0.03268, -0.01561, -0.03268], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.003798, 0.4702, -0.0261, -0.1416, 0.04678, -0.0144, -0.615, -0.2421, 0.11896, -0.315, -0.4011, 1.33, -0.28, 0.01171, -0.02614, -0.08264, -0.1632, 0.5576, 0.02277, 0.02173, 0.5513, -0.09576, -0.16, -0.3586, 0.253, -0.01411, 0.096, -0.8276, -0.587, -0.4263, 0.0391, 0.02194, -1.199, -0.0359, -0.0713, 0.2206, 0.06995, 0.02089, 0.01732, 0.2974, -0.05, -0.04236, -0.01486, -0.6416, -0.3848, 0.03934, 0.6387, 0.4807, -0.2281, 0.295], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04773, -0.008545, -0.02106, -0.03366, 0.01665, -0.05038, -0.0333, 0.0187, -0.0634, 0.0328, 0.01352, -0.01797, 0.02187, 0.02802, 0.006504, -0.02235, -0.01438, -0.007545, -0.0002508, 0.04367, -0.0461, 0.02586, -0.02983, 0.02681, -0.05414, -0.04153, -0.03122, -0.03485, -0.00829, 0.00884, -0.02043, -0.004707, -0.04, -0.01834, -0.0238, 0.02043, -0.02509, -0.0599, 0.01651, -0.01749, 0.01145, 0.0081, 0.02777, -0.0474, 0.003326, 0.0121, 0.0255, -0.006626, 0.001123, -0.04794], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01255, 0.1572, -0.3438, -0.199, -0.1637, 0.4185, -0.456, -0.1412, 0.2294, -0.9453, -0.6816, -1.077, -0.04315, 0.010185, -0.194, 0.5396, -0.4714, 0.0424, -0.02927, -0.0161, 0.1074, 0.08966, -0.749, -0.1897, -0.2178, -0.02339, 0.288, 0.11127, -0.4917, 0.2145, 0.02608, 0.00392, 0.525, 0.2603, 0.1476, -0.371, 0.1342, -0.4734, 0.0162, 0.1145, 0.0317, -0.1886, -0.004635, -0.4314, -0.831, 0.0329, 0.2722, 0.759, -0.1755, -0.4873], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04538, 0.01952, -0.7305, -0.285, 0.2457, 0.1669, 0.808, 0.1333, 0.4644, -1.241, -0.1718, -0.9746, 0.1948, -0.01787, 0.1109, -0.2925, 0.647, 0.657, -0.008286, -0.01938, -0.444, -0.585, 0.1959, 0.169, -0.465, -0.02809, 0.548, 0.254, -0.361, 0.12164, 0.008064, 0.04755, -0.1965, -0.2184, 0.1649, 0.3777, -0.5664, -2.61, -0.02927, 0.4016, -0.0492, 0.46, -0.02936, -0.07294, -0.5015, 0.03116, 0.1378, 0.2576, -0.408, -0.1199], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.003185, 0.2788, 0.08704, -0.4998, -0.4443, 0.3733, 0.01651, -0.278, 0.1913, -0.538, -0.5557, -0.2668, -0.446, -0.0168, 0.1865, 0.4753, 0.498, -0.0675, -0.0149, -0.04535, 0.127, -0.1714, -0.003338, 0.07733, -0.1063, 0.01741, 0.499, -0.2258, 0.0954, 0.02818, 0.02895, 0.0164, 0.7817, 0.589, -0.142, -0.3364, 0.337, -0.02376, -0.04022, -0.0622, 0.02525, 0.5054, 0.05298, 0.1382, 0.8516, -0.04596, -0.00702, 0.1989, -0.658, -0.03494], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02089, 0.2722, 0.08026, 0.2834, 0.3538, 0.0854, 0.903, -0.668, 0.7505, 0.327, 0.2023, -0.3784, -0.3843, -0.0083, -0.1376, -0.349, 0.4348, -0.2407, -0.0006776, 0.01108, 0.6523, 0.12054, 0.2595, 0.6763, -0.6704, -0.01698, -0.006115, 0.9077, 0.623, 0.52, 0.000589, 0.03104, 0.34, 0.301, -0.2922, -0.1384, -0.01044, 0.6064, 0.04117, -0.804, 0.0386, -0.9175, -0.04205, 0.03864, 0.3564, -0.01073, -0.4656, 0.4336, -1.153, 0.0337], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01613, -0.7573, -0.12, -0.4023, -0.332, -0.05173, 0.1511, 0.05362, 0.319, -0.1649, 0.02669, -0.10266, 0.00502, 0.002234, 0.1355, 0.2769, 0.11896, -0.11664, -0.0452, 0.04898, -0.394, -0.02927, 0.1766, 0.04938, -0.41, 0.00792, -0.1444, -0.4023, -0.0644, -0.3862, -0.04608, -0.01529, 0.1882, 0.0006776, -0.10394, -0.05603, 0.005722, 0.1813, -0.0202, -0.2827, -0.03754, -0.2294, -0.02206, -0.2051, -0.545, 0.01216, -0.7275, -0.06757, 0.0508, 0.01604], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0467, -0.1355, -0.9263, 0.7554, -0.3743, -0.953, 0.0722, 0.669, 0.7407, 0.32, 1.002, 0.57, 1.155, 0.03583, -0.584, -0.0971, 1.151, -4.4, -0.004658, -0.02953, -0.931, 0.3892, 0.02261, -0.8945, 0.881, 0.0173, 0.497, -0.134, 0.74, 0.04996, 0.02138, 0.001065, -0.7417, 0.1602, -0.0367, -0.2612, -1.067, 1.898, 0.02109, 0.2703, -0.04224, -2.367, 0.03928, 0.4204, -0.04526, -0.036, 1.153, -0.416, 0.4053, -0.868], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01834, -0.2041, 0.0629, 0.66, 0.5615, 0.05133, 0.4253, 0.1586, 0.2362, 0.27, -0.1737, 0.1963, -0.1755, 0.02235, -0.1031, 0.5103, 0.02777, 0.304, -0.04605, -0.04623, -0.259, -0.0528, -0.8223, -0.7437, 0.492, -0.017, -1.392, -0.353, -0.924, 0.3635, -0.04187, 0.03049, -0.5166, 0.08734, 0.059, -0.2263, -0.097, -0.1615, 0.010994, 0.6123, 0.02255, -0.3794, 0.0446, 0.1925, 0.5503, 0.04776, 1.118, 0.3757, -0.2568, -0.02115], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01109, -0.5537, -0.1877, 0.11707, 0.1545, 0.53, -0.3096, -0.3896, -0.3333, 0.3838, 0.433, 0.693, -0.5806, 0.01235, 0.3035, -0.3752, -0.1046, -0.10425, -0.0465, -0.028, 0.3916, 0.1108, 0.09326, 0.588, 0.4412, 0.0348, 0.2593, 0.3965, -0.3762, -0.02092, 0.015564, 0.0357, 0.4246, 0.5864, 0.1173, -0.3208, -0.2115, -0.761, -0.0342, -0.4163, -0.00989, 0.4229, -0.03098, 0.3423, 0.841, 0.04843, -0.0856, -0.1279, 0.0861, -0.03433]] [-0.299686, -0.00257513, -0.312812, -0.0166993, 0.439914, -0.037437, -0.326448, -0.195486, 0.0569669, -0.501916, -0.373766, 0.0852017, 0.274336, -0.210739, -0.0107462, 0.232523, -0.425631, 0.0596546, -0.0474075, 0.236563, -0.200222, -0.264787, -0.0364529, 0.0188611, -0.102708, -0.00795707, 0.334384, 0.357792, 0.234438, -0.230158, 0.1046, 0.375183, -0.0659578, -0.11317, -0.0450768, -0.0765553, 0.145857, 0.187856, -0.0155105, -0.0193419, 0.227651, -0.0128275, 0.215523, -0.223015, 0.080024, 0.00810436, 0.302148, -0.364743, -0.272953, 0.0777072, -0.2998, -0.002575, -0.3127, -0.0167, 0.44, -0.03745, -0.3264, -0.1954, 0.05698, -0.502, -0.3738, 0.0852, 0.2744, -0.2107, -0.01075, 0.2325, -0.4255, 0.05966, -0.0474, 0.2366, -0.2002, -0.265, -0.03644, 0.01886, -0.1027, -0.00796, 0.3345, 0.358, 0.2345, -0.2301, 0.1046, 0.3752, -0.066, -0.11316, -0.04507, -0.07654, 0.1459, 0.1879, -0.01551, -0.01935, 0.2277, -0.012825, 0.2156, -0.223, 0.08, 0.0081, 0.3022, -0.3647, -0.273, 0.0777] ReLU [[0.842495, 0.42723, 1.0318, 0.525571, 0.0958661, 0.0676523, -0.15527, 0.16739, -0.615961, 0.280113, 0.920784, 0.0154462, -0.105537, -0.406026, 0.00186012, 0.0505263, 1.13006, -0.0763606, -0.18924, 0.343387, -0.0276701, 0.0968275, -0.466169, 0.961183, 0.369717, 0.0233595, -0.260967, 0.115336, 0.020314, -0.190252, -0.147406, 0.262463, 0.475676, 0.501615, -0.433631, 0.708597, -0.0244726, 0.00906912, 0.211886, 0.00266373, 0.0668375, 0.0309211, -0.552387, 0.383028, 0.0547505, 0.205702, 0.0233836, -0.0970282, -0.0576899, -0.0600926, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.137392, -0.677836, 0.0312923, 0.0286284, 0.110559, 0.1252, -0.183076, 0.0748877, -1.17003, 0.278381, 0.216504, -1.75714, -0.44752, 0.134448, 0.116932, -0.453, -0.690544, -0.0262214, -0.193623, -0.474197, 0.00550986, -0.0969578, 0.36197, 0.640553, -0.561514, 0.0435619, 0.219867, 0.0583159, -0.290911, -0.394477, 0.734814, 0.571149, -0.178729, 0.0347782, -0.167895, -0.00843807, 0.0279404, 0.518014, 0.0715093, 0.0160334, 1.20092, 0.0360323, -0.0736371, 0.762956, -0.0856906, 0.00452975, 0.170592, 0.0250767, -0.139736, 0.453947, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.459815, -0.24578, -0.943975, 0.529372, -0.0586895, 0.18, 0.0599311, -0.221764, 0.627433, -0.211741, -0.655838, -0.0279141, -0.178882, -0.0190221, -0.440081, -0.00115533, -0.186304, -0.0539221, 0.0412936, -0.289223, -0.0536252, -0.10913, -0.175979, 0.467704, 0.292639, 0.00864191, 0.153062, 0.475766, 0.345084, -0.589481, 0.833209, -0.116812, 0.307463, 0.0338969, -0.541831, -0.144799, -0.356844, 0.482995, -0.206975, 0.0238972, 0.170818, -0.00564763, 0.102189, 0.151003, 0.23454, 0.439899, -0.683689, 0.252037, -0.22133, -0.00883889, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.532109, 0.431933, -2.23856, -0.817313, -0.100469, 0.299227, 0.549829, -1.20754, 1.21602, -0.150371, 0.650811, 0.443917, -1.02869, 0.563719, 1.00698, -0.188, -0.578766, -0.24319, -0.101048, 1.39007, 0.196575, -1.70133, -0.0839114, 0.44573, -2.26978, -0.0496193, 0.203645, 0.455516, 0.635286, -0.125803, 0.703474, 0.255471, -3.14539, -0.437946, 0.139765, -0.209531, -0.482061, 0.49587, -0.0157174, -0.0099211, 0.711769, -0.0433613, 0.437468, 1.18222, 0.562786, 0.0257705, 0.966307, -0.167408, 0.0991388, 0.25098, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0365515, -0.508774, 0.211916, 0.125844, 0.0183327, -1.03349, -0.959955, 0.10558, 0.074887, 0.0294614, 1.17585, 0.0239712, -0.241242, 0.754902, 0.410233, 0.0714015, -0.798412, 0.239319, -0.14065, -0.0723121, -0.325428, 0.828124, 0.0380752, 0.715205, -0.219289, -0.00197649, 0.217554, 0.216742, 0.287467, 0.134465, -0.0854838, -0.363415, 0.321843, 0.812059, 0.296422, 0.65764, -0.22627, 0.639461, -0.164649, -0.0453632, -0.167771, -0.0289088, 0.278948, 0.033611, -0.0661872, -0.270153, 1.07329, -0.607337, -0.144173, -0.178268, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.19983, 0.537195, 1.03711, 0.141455, 0.135104, -0.213345, -0.620694, -0.124619, -0.32282, 0.0120165, -1.46023, 0.693266, -0.336341, 0.533474, 0.156523, -0.121713, 0.235468, 0.0195981, -0.107383, -0.0665405, 0.742158, 0.660779, -0.703703, 0.598745, 0.259553, 0.0600697, -0.27904, 0.648769, 0.350426, -0.556012, 0.676682, 0.553487, -0.313922, -0.0637157, -0.178303, 0.634634, -1.17823, 1.16019, -0.171777, 0.0431422, -0.0704859, 0.0117361, -0.227309, -0.145033, 0.286483, -0.156017, -1.37448, 0.41014, 0.257603, -0.424676, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0483469, -1.00348, 0.219336, -0.425246, 0.108254, 0.667259, -1.41805, 0.413228, 0.725184, -0.442962, 0.561457, 0.377897, 0.237395, -0.245446, 1.07697, 0.00682665, 1.06987, 0.0205918, -0.886324, -0.154716, -0.10631, 0.639643, -0.322116, 0.396954, 0.607673, 0.0372079, 0.0979613, 0.835113, -0.0908074, 0.491652, 0.258182, 0.584028, -0.474283, 0.789443, -0.0862978, 0.372414, -0.0168431, 1.42841, 0.0436562, -0.0272936, -0.666426, -0.0664257, -0.871934, 0.539686, -0.85204, -0.134489, 0.763755, -0.0983581, -0.626585, 0.921002, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.608249, 0.0306565, 0.545697, 0.754315, -0.178121, 0.341294, -0.337114, 0.426275, 0.0994869, 0.914393, -0.57571, 0.0955258, 0.34508, 0.303491, -0.660117, 0.418711, 0.599939, -0.213986, -0.211547, 0.705712, 0.0621982, 0.311226, -0.402655, 1.21334, -0.44129, -0.000951218, 0.243121, 0.254952, 0.154387, -1.18759, -0.568128, 0.418079, 1.00124, 0.544641, -0.483812, -0.168353, -0.623092, 0.201578, 0.235589, -0.00564294, -0.717881, 0.00742519, 0.13355, 1.27671, -0.834812, 0.152861, 0.24381, -0.321813, -0.363936, 0.416581, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.11526, -0.211208, 0.102696, 0.0799053, -0.701048, 0.329396, -0.931023, 0.992299, -1.10065, -0.647473, -0.137344, 1.06377, -0.496417, 0.343606, -0.126169, -0.0344505, -0.0429715, 0.1518, 0.111102, -0.0148396, 0.0979603, -0.353531, -0.127809, -1.53042, 0.370188, 0.0445004, -0.025273, -0.290218, 0.212767, -0.054817, 0.0372623, 0.106279, -0.827725, 0.115028, 0.42685, -0.0831681, 0.451933, 0.12046, 0.107911, -0.0295031, 0.779542, -0.045117, 1.31834, -0.424566, -0.276582, -0.00993185, 1.10503, -0.230651, 0.211448, 0.104293, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.203786, -0.0484536, -0.782604, 0.506255, -0.274328, -1.72308, 0.942071, -2.25346, -0.95186, -1.70225, 0.766149, -0.0135498, -0.232813, -0.302983, -0.553998, -0.0688893, -0.460224, -0.0488728, 0.0854161, 0.246803, -0.29089, -0.305043, 0.525585, -0.588414, 0.164098, 0.01782, -0.0894428, 0.0114722, 0.0834738, 0.733431, -0.0862524, -0.545052, -0.867399, 0.469184, 0.0208932, -0.477806, -0.0406958, 1.05019, -0.319853, -0.00763106, 0.194825, -0.0234426, 0.279571, -0.787731, -0.138186, 0.231075, 1.00335, -0.102679, -0.337091, -0.00886336, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0120346, -0.37826, 0.441792, -0.233674, 0.0423207, -0.529599, -0.031791, 0.396052, -0.863948, 0.0996638, -0.106804, 0.507751, 0.242058, -0.147945, 0.177967, -0.108763, -0.403153, 0.331337, 0.183067, 0.206032, -0.373886, 0.0667373, 0.0136246, -0.930193, 0.928733, -0.0105755, 0.251809, 0.0944292, 0.0343182, -0.0547969, 0.352048, -0.0136845, 0.373586, 0.768973, -0.163547, 1.09787, 0.242166, -0.0505113, 0.0571674, 0.0054018, -0.365787, 0.0460824, -1.041, -0.449986, -0.346038, -0.500213, 0.315257, -0.0890035, 0.453261, 0.290606, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.906161, 0.216096, 0.411543, 0.456123, -0.214003, 0.386929, 0.300416, -0.483176, 0.655666, -0.289506, -0.323177, -0.321791, -0.513362, 0.0341684, 1.35472, 0.711886, 0.706151, -0.429461, -0.506394, -0.446291, 0.0113147, 0.0850531, -0.144843, -0.771433, 0.0337406, 0.0061492, 0.191393, -0.0499675, 0.19151, -1.18458, 0.560386, -0.0710689, 0.298276, 0.414999, -0.292145, 0.632591, 0.182839, 0.0315003, 0.195799, 0.0375764, -0.359351, -0.0184427, -0.112644, 0.051018, -0.104439, -0.23911, -1.04799, -0.555512, 0.287159, -0.319912, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.19121, -0.240198, 0.293945, 0.0750839, -0.452145, 0.505912, -0.959776, 0.0973457, 0.617183, -0.813584, 0.430622, -1.43588, -0.0951179, -0.0719404, 0.864233, 1.05048, 0.0494442, 0.675078, -0.0391037, -0.470061, -0.00635143, -0.23756, -0.153584, -0.826095, 0.352854, -0.0135618, -0.0972497, 0.404989, -0.703133, -0.102721, -0.186687, 0.0781091, -0.0431921, 0.393774, 0.30322, -0.132865, 0.0970523, 0.12646, -0.0153841, 0.000210647, -0.495203, -0.0352122, 0.698753, 1.60068, 0.300149, 0.138759, -0.128672, -0.333163, -0.357823, 0.0701154, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.973747, 0.370423, -0.914748, 0.22493, -0.1042, 0.284431, -0.039444, -0.4443, 0.177053, 0.368362, -0.344955, 0.702761, 0.284843, -0.761174, -0.595429, -0.25169, 0.410144, 0.301353, 0.0675748, 1.14593, -0.320659, 0.142312, 0.00123522, -1.27201, 0.121513, -0.00946533, 0.481472, -0.345431, 0.884309, 0.244128, -0.292098, -0.376643, 0.173251, 0.345508, -0.285257, 1.2733, -0.359336, 0.173685, -0.230971, -0.00658719, -0.0785444, -0.0145885, -0.344973, -0.458053, 0.152724, -0.488831, 0.262259, 0.19108, 0.189418, 0.416573, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.347002, 0.290976, 0.0314351, -0.139553, -0.7638, 0.42184, -0.256057, 0.435994, -1.01793, 0.169487, -0.230723, 0.758048, 0.0336099, 0.970459, 0.25989, 0.091414, 0.7438, 0.274889, 0.373195, 0.708329, -0.201669, -0.360649, -0.433692, -0.969258, -0.781057, 0.0470876, 0.713177, -0.41607, 0.264518, -0.18643, -0.526792, 0.466149, 0.0955507, 0.832241, 0.173457, 0.35396, 0.359063, -0.571046, 0.263303, -0.0459104, -0.443189, -0.0147414, -0.285798, -0.603867, -0.801428, -0.338573, -0.932559, -0.242168, -0.321153, -0.0363357, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0565592, 0.182392, 0.293407, -0.210758, 0.113038, 0.166054, 0.0137644, 0.0941573, -1.15452, -0.551291, 0.558547, 0.841261, 0.503337, 0.614851, 0.0139252, -0.0302769, 1.35329, -0.0266671, -0.150276, 0.285711, -0.33511, 0.0791163, -0.0334929, 0.666333, -0.159343, 0.0423523, 0.171107, -0.133078, -0.14286, 0.305695, 0.418071, 0.0252715, -4.15928, 0.146006, -0.294129, -0.448968, -0.522581, 0.642649, -0.197439, 0.0224274, 0.745024, 0.0432434, -0.326944, 0.334386, -0.352515, -0.362911, -0.235673, 0.0513381, 0.347981, -0.162573, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.235312, -0.0973191, -0.326377, 0.0594681, -0.485394, 0.106257, 0.224139, -0.144784, 0.294297, 0.193142, -0.85867, -0.126654, -0.269462, -0.795898, 0.510175, 0.00406802, -1.15344, -0.0390578, -0.19757, 0.396208, -0.185385, 0.234975, 0.0512861, -1.51526, -0.105659, -0.0205921, -0.382055, 0.306572, 0.274734, 0.221214, -0.0647924, 0.158317, -0.308876, -0.214068, -0.0690796, 0.270466, 0.294257, 0.315858, 0.157778, -0.0224449, 0.301106, 0.0259046, -0.181629, -1.06401, 0.107326, -0.249307, 0.0515291, 0.238162, -0.0110205, -0.118605, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.159823, 0.181823, -1.59226, 0.278857, 0.0527955, 0.841587, -0.0699263, -0.874977, 0.728109, 0.614952, 0.581515, -0.405803, -0.345237, -0.128348, -0.85336, 0.295311, -0.644362, -0.769589, -0.222127, -0.882129, 0.0953539, 0.119407, 0.262791, 1.08832, -0.735417, 0.000374439, 0.0234093, 0.0683867, -0.435254, -0.23957, 0.251548, 0.406057, -0.764107, -0.391186, 0.470061, -1.23264, 0.178938, 0.126236, -0.258089, 0.0266428, -0.00699858, 0.0120506, 1.06623, -0.306487, 0.0714561, 0.094659, 0.326541, 0.104517, -1.14329, -0.0706412, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.442722, -0.15674, -0.782971, 0.00367712, -0.155609, -0.212526, 0.060468, -0.495481, -0.693761, 0.255166, 0.702381, 0.739282, -0.605451, 0.676664, 0.691574, -0.154146, -0.00713286, -0.151659, -0.477116, -1.20352, -0.363477, 0.650797, 0.316914, 1.64226, -2.04943, 0.029423, -0.0723337, -0.913283, 0.131922, 0.361175, -1.1622, 0.65876, -2.52523, -0.282811, 0.557361, -3.27568, 0.378196, 0.416423, 0.110869, 0.0245519, 0.826476, 0.0187932, -0.377652, -1.11868, -0.702821, -0.22832, 0.276538, 0.317776, -0.200639, -0.256703, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.0647, -0.731283, 0.611121, -1.19318, -0.486662, -0.234388, 0.291186, 0.457688, 0.379326, -0.991922, 0.61818, -0.199156, -0.0830185, -0.273458, 0.275136, 0.659436, 0.0863823, 0.704197, 0.595667, -0.253826, -0.22544, -0.345966, -0.208558, -0.0931956, 0.20672, 0.049576, -0.000951153, -0.639264, -0.703037, 0.191077, -0.146692, -0.407162, -1.10514, -0.220946, -0.0729124, 1.84274, 0.272568, 1.24808, 0.4021, -0.0129827, 0.40485, -0.020979, -0.450492, -0.143274, 0.00138383, 0.0468864, 1.03005, -0.134329, -0.31492, 0.277852, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.425925, 0.178039, 0.3144, -0.845629, -0.158385, -0.401497, -0.767576, -0.993718, -0.11082, -0.42799, 0.00341975, -0.972751, -0.198784, 0.275035, 0.233023, 0.101727, 0.963809, 0.0577912, -0.155978, -0.330065, 0.255769, -0.30855, 0.146017, 1.2892, -0.246709, -0.0135263, -0.190135, 0.692125, 0.0676742, -0.0367898, 0.675665, -0.557547, 0.331661, 0.0298271, 0.401247, 0.303876, -0.330051, 0.272619, -0.727591, 0.00693701, 0.00878432, 0.0199109, 0.352795, 0.414756, 0.0786109, 0.185011, -0.316518, -0.129072, 0.182651, 0.213666, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.899207, 0.123508, -0.335461, -0.0672347, -0.389384, -0.742816, 0.493024, 0.137976, -0.343227, -0.0500653, -0.587461, -0.394852, -0.412819, 1.04669, 0.334413, 0.175364, -0.199171, -0.212099, 0.194948, 0.12466, -0.247643, 0.158748, 1.0767, -0.572428, 0.831309, 0.0491166, 0.081392, -0.290983, -0.48455, -0.184784, 0.897707, 0.471936, -0.389584, 0.10619, 0.234751, 0.870704, -0.621636, -1.15594, 0.296157, 0.0350549, 0.153706, 0.0100689, -0.0807227, -1.08216, 0.43636, -0.312607, 0.664247, 0.0358612, 0.601781, 0.483409, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0266575, -0.542039, 1.00796, -0.105192, 0.00539625, -0.820454, 0.263016, -0.0953974, 0.498278, 0.1441, -0.0168567, 0.798695, -0.0320839, 0.0630524, -0.243312, -0.144204, -0.02049, -0.0303703, 0.167517, 0.214536, 0.0706147, 0.0473798, -0.116488, 0.69964, -0.171481, 0.00539234, 0.130362, -0.152231, 0.188071, -0.210126, 0.20511, -0.672161, 0.360032, -0.18149, 0.165133, -2.33993, -0.398523, 0.867723, 0.12366, 0.03422, 0.102528, 0.0103954, -0.076201, -0.482342, 0.272491, -0.358883, 1.31557, 0.229114, -0.331929, -0.0348978, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.39909, -0.123141, -0.598672, 0.353871, -0.171967, -0.158372, -0.892711, 0.206258, -0.0175703, 0.0685689, 0.075818, 0.0171831, -0.18282, 0.108191, -0.34776, -0.118478, -0.657237, -0.269149, -0.134709, -0.29597, -0.0463778, 0.00398377, 0.463161, 0.0684163, 0.359413, 0.0412226, 0.317302, -0.107885, -0.252165, -0.124296, 0.473314, -0.0863236, -0.0967039, 0.287614, 0.147218, -0.299941, 0.150777, 0.0814966, -0.0229158, -0.0181842, 0.648581, -0.00815468, 0.104502, 0.0440344, -0.151213, -0.090802, 0.53091, -0.110035, 0.2805, 0.00570818, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0923006, -0.305357, 0.767691, 0.620225, -0.294337, 0.302207, -1.92105, 0.674071, 0.4869, -0.559161, 1.15771, -0.00891721, 0.643402, -0.314054, -0.0727166, 0.708654, 0.13515, 0.102734, 0.18433, 0.00205369, 0.542216, -0.721154, -0.184174, 0.510349, 0.500518, -0.0159785, 0.423646, -0.495799, -0.126226, 0.616818, -0.15616, -0.129445, -0.288145, 0.602562, -0.0189227, 0.0729238, 0.0495065, -0.574617, 0.218986, 0.00731873, -0.0437997, 0.0679835, 0.488338, 1.16797, -0.195318, -0.00530127, -1.35932, -0.227961, -0.184764, 0.0226239, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.13484, 0.106948, -0.271876, -0.230047, 0.0035874, 0.134287, -0.121783, 0.539894, -0.220527, 0.0774726, 0.129054, -0.0951044, 0.631804, 0.521281, -0.0318292, -0.201376, 0.331538, -0.0305521, -0.244922, 0.108096, 0.51201, 0.246096, -0.0541403, -1.18733, 0.0377473, -0.0113512, 0.305833, -0.136626, 0.0959405, 0.139462, 0.195552, 0.213823, -0.23899, -0.197024, -0.141917, -0.158229, -0.0466705, -0.072413, -0.0910052, -0.0349911, 0.178072, -0.026233, -0.119756, 0.970901, 0.248411, -0.10912, -0.35591, 0.0532321, -0.370457, 0.188713, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.095113, -0.0920814, -0.0193317, 1.43829, 0.218624, -0.215974, -0.69488, -0.0424472, 0.649812, -0.0044925, 1.16609, 0.289609, 0.666836, 0.220645, -0.258736, 0.291266, -1.46526, 0.293269, 0.117328, 0.519129, -0.365424, 0.481025, 0.46298, 0.456903, 0.131527, -0.0122341, 0.0848427, -0.883516, -0.053245, -0.571372, -1.21864, 0.229651, -0.152798, 0.724023, 0.246805, 0.519143, -0.198331, -1.44634, -0.0543006, -0.0533386, 0.450372, 0.0234682, -0.605074, -2.23918, -0.151664, 0.171031, -1.38082, -0.304478, 0.713036, -0.498488, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.818441, 0.010281, -0.138643, -0.460875, -0.0679211, 0.596301, -1.38382, 0.448125, 0.629774, -0.792262, 0.43746, -1.25918, -0.111259, 0.675139, -0.92848, 0.21904, 1.65288, -0.1844, -0.373603, 0.667209, 0.304683, 0.814013, 0.420538, 0.10796, -0.116938, 0.0229309, -0.160588, 0.768362, 0.217284, 0.38298, -0.690604, -0.599962, -0.230403, -1.15235, -0.269253, -0.782582, -0.0485275, -0.0120202, 0.224026, -0.0110794, 0.566457, -0.0202551, 0.258326, -0.318495, 0.635018, 0.577767, -0.220054, 0.158306, -0.147497, 1.32532, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.642675, 0.209906, 0.61468, 0.377323, -0.237439, 0.318877, -0.366105, 0.641706, 0.0352791, 0.389018, -0.124112, -0.0869076, 0.212359, -0.133594, -0.156498, 0.494482, 0.359928, 0.417654, 0.192902, -0.302436, 0.0657863, -0.705689, 0.150271, 0.0594622, 0.303416, 0.0284204, -0.159411, -0.136584, 0.0217738, 0.779893, -0.00722468, -0.178403, -0.23034, 0.139999, 0.0204339, 0.0990608, -0.127529, -0.365492, 0.321522, 0.0159594, 0.593779, 0.0199213, 0.584434, 1.50213, -0.254695, 0.10696, -0.849909, -0.356645, -0.322759, 0.720672, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.43609, 0.714033, -0.668625, 0.0643987, -0.407818, 0.148461, 1.22104, -0.64305, -0.176456, 0.415324, 0.13078, 0.0618137, -0.445767, -0.294995, 0.38089, 0.263372, -0.37027, -0.237127, 0.250771, 1.23124, -0.398058, 0.435995, 0.0323975, -0.804841, -0.0825885, 0.0291455, -0.0504101, 0.278103, 0.553653, 0.929475, -1.11013, -0.279323, -2.61281, 0.590734, 0.0936295, 0.510832, -0.0198121, 0.239279, 0.54324, -0.0228475, 0.422357, 0.00512079, -0.942708, -0.87686, -0.668516, -0.129266, 0.737519, -0.522079, -0.0845244, -0.714928, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.145434, -0.0907838, 0.104227, 0.405461, 0.0202741, 0.279589, 0.547912, 0.0312194, 0.261481, -0.614852, 0.339834, 0.0343998, -0.124971, -0.190108, -0.0837926, -0.104602, 0.357689, 0.0616549, -0.0823755, 0.141636, -0.0317463, -0.126235, 0.268791, 1.08434, 0.144127, 0.0101709, 0.105445, -0.192989, -0.00407881, -0.123336, 0.2339, -0.209959, -0.835603, 0.0940396, -0.0493138, 0.237663, 0.108903, 0.417082, -0.0160755, 0.0158678, -0.202786, 0.0459585, 0.376307, 0.281699, -0.120437, -0.0691508, -0.597554, -0.0214495, -0.141458, 0.197789, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.311263, -0.236334, 0.290617, 0.645377, -0.424654, 0.20576, -2.40251, 1.23677, -0.547483, -1.26452, -1.69078, 0.606911, 1.01591, 0.325317, -0.549813, -0.258957, -0.691334, 0.0318648, 0.0340801, -0.232175, -0.0102612, 0.191074, -0.185646, 0.599795, 1.66899, -0.0259124, -0.826956, -0.129416, 0.369976, 0.453041, -0.0640524, -0.0017579, 0.567318, 0.724421, 0.0074186, 0.426791, 0.379242, 0.0398024, 0.490398, 0.0144998, 0.568782, 0.0232465, -0.320068, -1.57467, -0.217431, 0.288107, 0.548611, -0.574414, 0.472748, -0.0227863, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.23405, 0.0260423, 0.6889, -0.240105, -0.134995, -0.409597, 0.197208, 0.268453, -0.0978221, -0.0832373, 0.34764, -0.194125, -0.0409972, 0.550024, 0.564965, 0.134031, -0.685698, 0.301839, 0.244458, 0.259544, 0.410673, -0.482362, -0.308501, -0.570754, 0.210739, -0.0138975, -0.299235, 0.25694, 0.112115, -0.0592421, -0.0553818, 0.43111, 0.558831, -0.966279, -0.268931, 0.626748, -0.0863427, -0.0342955, 0.409528, 0.012541, -0.899996, 0.0174856, -0.252048, -0.690644, -0.328391, -0.395901, -0.596464, 0.111489, 0.10599, -0.399491, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0151267, -0.0335615, -0.0229872, 0.0399837, -0.0134902, -0.0394348, 0.00640381, -0.0472244, 0.00671903, -0.0415231, 0.000186934, -0.0283955, 0.0132575, 0.0432353, 0.0102189, -0.021692, -0.0349268, -0.0501363, -0.0275985, -0.0290836, -0.0452564, -0.0461735, -0.00503219, 0.0123223, -0.0482041, -0.0254787, 0.0176275, -0.0398735, -0.0392027, 0.00338727, -0.031119, 0.0404606, -0.0371421, -0.00633046, -0.0454385, -0.0298628, 0.0103478, 0.0361373, 0.021564, -0.0458973, -0.0199056, -0.0399318, 0.0388202, 0.000312797, -0.00312203, -0.0231115, 0.00802094, -0.00447164, 0.00819917, -0.0239673, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.908431, 0.00536311, 0.0417339, -0.948905, 0.717174, 0.112914, 0.925194, -0.13465, -0.251206, -0.0136447, 1.11332, 0.812143, 0.995436, 1.01951, 1.13121, -1.04939, -1.16969, -0.201285, -0.54051, 0.0806504, -0.496377, -0.580318, 0.725223, 0.1517, 0.255125, 0.0235228, 0.007396, 0.951207, -0.875566, -1.12796, 0.624337, 1.38847, -0.116989, -0.0891016, -0.209661, -0.248662, -0.0122124, -0.578804, -0.308826, -0.0283853, -1.39409, -0.018532, 0.988249, -0.630611, -0.421154, -0.358721, 0.8429, 0.55564, 0.604893, -0.0729248, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.379415, -0.483238, -0.00332154, 0.371156, -0.181763, 0.118404, -0.208016, -0.17216, 0.0595258, -0.554617, -0.221523, -0.0817984, 0.172802, 0.127129, -0.0938358, 0.411988, 0.625744, -0.248297, 0.2201, 0.0498467, -0.0031336, -0.209938, -0.146062, 0.484413, -0.224177, 0.0105992, 0.358986, 0.0474874, -0.168692, -0.274315, -0.439292, 0.132215, -0.346819, -0.105903, -0.0644936, -0.307068, 0.218361, 0.237384, 0.340678, -0.0170714, -1.15489, -0.0434313, -0.0624551, -0.125349, -0.467716, -0.130125, -0.0630116, -0.136271, 0.0114306, 0.254412, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.128492, 0.404373, -0.0791387, -0.234909, 0.110657, 0.111299, -0.205085, -0.514693, -0.220226, -0.0693862, 0.0165782, -0.0747558, 0.0889757, -0.206369, 0.0769286, -0.241, 0.397947, -0.206597, -0.132577, 0.294027, -0.203831, 0.045161, -0.0271825, -0.285172, -0.0481464, -0.0341988, 0.130411, 0.327339, 0.208436, 0.238665, -0.212412, -0.294316, 0.0682058, -0.130128, 0.209395, 0.671002, 0.339791, 0.458507, 0.0267739, -0.0301326, -0.206493, 0.0201768, 0.253119, 0.0537494, -0.497914, 0.0760754, 1.06438, -0.247446, -0.618067, 0.238479, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.267655, 0.366374, -0.804445, 0.317387, 0.0606318, -0.485271, 0.952243, -0.147017, -0.884354, 0.366929, -0.92521, 0.458222, -0.10685, 0.376759, 0.0528569, -0.276546, -0.0679621, -0.0457995, -0.540682, -0.20412, 0.14585, 0.786508, -0.306588, 1.92985, 0.345859, 0.015249, -0.296731, 0.200582, -0.141231, -0.229786, -0.124833, 0.241212, -0.0785266, 0.500264, 0.486346, 0.824345, -0.994475, 2.21389, 0.0572949, 0.0410887, -0.899604, -0.0522504, 0.278147, -0.0233837, -0.281406, -0.551768, 1.77042, -0.00694417, 0.267413, 0.409919, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.250131, -0.20784, 0.963473, -0.2734, -0.118049, 0.232521, -0.168252, -0.349947, 0.139555, -0.168049, 1.00342, -0.573974, 0.0109634, 0.0919363, 0.803646, 0.412032, 0.527737, 0.290072, -0.0045306, -0.11162, -0.0916757, -0.393338, 0.474851, 0.844508, 0.760634, -0.0282706, 0.400887, 0.0417896, -0.0176004, -0.487601, 0.953244, 0.40051, -0.287706, -0.211741, -0.569883, -0.312385, -0.113499, -0.201298, 0.337032, -0.000318572, -0.256899, 0.0554341, -0.5409, 0.28344, 0.0225728, -0.0866215, -0.664921, 0.111405, 0.0987568, 0.0446328, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.670115, -0.0661582, -0.0726064, -0.0446912, 0.114905, -0.0706679, 0.98494, -0.0867853, 0.610791, 0.637279, -2.25239, -0.194992, -1.02743, 0.218739, -0.939997, 0.0281656, -0.539514, -0.196592, 0.0402072, 0.545368, 0.0922359, -0.746861, 0.359341, 0.605094, 0.460896, -0.0255358, -0.990836, 0.383334, 0.109114, 0.732565, -0.733468, 0.783307, 0.404153, 0.310366, 0.402099, -0.126888, 0.329092, -0.293476, -0.458512, -0.0451611, -0.626952, -0.0031787, 0.19711, -0.655475, -0.726261, -0.0572125, -0.48944, -0.215532, 0.256156, 0.298677, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.183899, 0.106952, -0.0547926, -0.0227996, 0.0774146, -0.414366, -0.12649, -0.0689999, -0.000129474, 0.210167, -0.498473, 0.0196491, -0.351184, -0.254697, -0.112756, 0.0649734, 0.00798496, -0.0915069, 0.0950148, 0.121081, -0.303289, -0.174387, -0.0930692, -0.290859, 0.114745, -0.0206296, 0.00832874, 0.152707, 0.169608, -0.0946687, -0.195926, -0.182205, 0.294102, -0.032509, 0.196509, 0.249853, -0.0588363, 0.342412, 0.0135989, 0.0153809, 0.273494, 0.0351846, 0.0187785, -0.16652, 0.0400202, -0.00849391, 0.362017, 0.0283325, 0.0264286, -0.0790373, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.552102, -0.736291, -1.03204, 0.58766, 0.325188, 0.926622, 0.549052, -1.20558, 0.446095, 0.353906, 1.71447, 0.53784, -0.962245, 0.672875, -0.209047, -0.114766, -0.751127, 0.0248659, -0.602366, -0.166458, -0.268263, 0.781469, 0.135471, -0.162804, -0.749241, 0.00950107, -0.126914, -0.209915, 0.467464, 0.570464, -0.464, 0.200864, -0.41555, -0.0913203, 0.139603, 0.183051, 0.0886262, 0.447607, -0.189228, 0.0333388, 0.11408, 0.0240886, 0.264526, -0.135398, -0.226133, 0.0218253, 0.797081, -0.353667, -0.382817, -0.0654878, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0167586, 0.24706, 0.2092, 0.123428, -0.274858, 0.11213, -0.00974143, 0.211008, 0.399103, 0.598398, 0.193688, -0.15278, 0.123598, -0.241752, 0.606995, 0.384175, 0.808014, 0.437592, -0.529009, -0.193213, -0.0176538, -0.210491, 0.203888, 0.0312432, 0.377265, 0.0166307, 0.343706, -0.102866, -0.240957, -0.601436, 0.607616, 0.0461656, -1.04153, -0.0969491, -0.129623, 0.0173959, -1.10137, -0.28942, 0.174882, 0.00388671, 0.28435, 0.0316195, 0.628127, 0.78096, -0.264885, -0.147986, -0.649884, 0.0856875, 0.0131077, 0.550947, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0160428, 0.305146, -0.256783, 0.603872, -0.524634, 0.499847, -1.95416, 0.636068, 0.252902, -0.683785, 1.1834, -1.27854, -0.149941, 0.485429, 0.435967, 0.633476, 0.685517, 0.329366, 0.0133234, -0.0125903, -0.105905, -0.390532, 0.387511, -0.169953, 0.762474, -0.0139667, 0.73226, -0.542398, 0.192045, 0.725901, 0.470423, -0.22239, -0.357826, -0.376368, -0.095608, -0.826135, -0.139093, -0.379766, 0.0963439, 0.0238455, 0.0753452, 0.0176566, 0.374433, -0.395708, 0.437751, 0.038596, 0.398832, -0.565108, 0.81318, 0.0762899, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.637017, -0.0580866, -0.609279, 0.526584, 0.0930033, 1.40434, -0.493311, -0.720405, 0.804507, 0.111543, 0.480276, -0.0470012, -0.563636, 0.372215, -1.11141, 0.244348, -0.144264, -0.823907, -0.0985841, -0.57675, 0.26504, 0.22948, 0.490961, 0.493537, -1.07293, -0.0107505, 0.246877, 0.236668, -0.816581, 0.134164, -0.381292, -0.16274, -0.250213, -0.0698536, 0.176016, -0.50348, -0.0532003, 0.163997, 0.1113, 0.032427, 0.375635, 0.0233899, 1.38549, 0.831927, -0.0166679, 0.526204, 0.184351, 0.0149146, -1.19261, -0.291201, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.365757, 0.127916, -0.403881, 0.612767, 0.174886, -0.234999, 0.530741, 0.0378394, 0.176756, 1.1259, -0.163755, 0.162037, 0.197673, 0.0138383, -0.719678, -0.261268, -0.126561, -0.0442006, -0.20991, 0.639419, 0.156651, 0.307769, -0.188557, 0.202703, 0.046113, -0.000747181, 0.21668, 0.472463, 0.072567, -0.575793, 0.333357, 0.507108, -0.395437, 0.0532854, -0.632617, 0.753763, -0.989194, -0.0147432, -0.076956, 0.0159625, 0.928787, 0.00611113, 0.11672, 0.806508, -0.102526, 0.238669, -2.13204, 0.43463, -0.250877, 0.342246, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.223873, -0.247161, 0.28129, 0.828202, 0.256998, 0.358767, -0.192181, -0.0705386, 0.278092, -0.255442, -1.06902, -0.25667, 0.118017, 1.10239, 0.0235346, 0.135243, 0.596614, -0.0683884, 0.417904, 0.639763, -0.847077, -0.165998, -0.525945, -0.355187, -0.934829, 0.0171372, 0.873141, -0.102162, 0.322102, 0.798857, 0.595345, 0.603762, 0.172168, -0.169767, -0.141386, 0.21932, -0.0427529, 0.868733, 0.0616005, 0.0357592, 0.244913, -0.0238139, -0.107176, 1.23241, -0.333348, -0.548907, -0.419792, 0.264235, -0.235735, -0.166718, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.318132, -0.48584, 1.1479, -0.660638, 0.309713, -0.229262, -0.341176, -0.0947187, -0.0913731, -0.569265, -0.395221, 0.804763, 0.738336, -0.521045, 0.0678949, -0.212423, 0.404431, 0.11067, 0.252864, -0.019012, -0.266388, -0.0459431, -0.176079, 0.953006, -0.0664902, 0.00197334, 0.289308, 0.446384, -0.105602, 0.00148422, 0.310278, -0.0059687, -0.651501, 0.0783694, -0.312669, -1.02134, 0.0334435, -0.555072, 0.24477, 0.0210058, 0.373686, -0.0165893, -0.599829, 0.71226, -0.327724, 0.270239, 0.915383, 0.0854345, 0.0325794, 0.23733, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.228913, -0.0390494, 0.371262, 0.14694, -0.44518, -0.409211, -2.22823, -0.321003, -0.498433, 0.380607, 1.21023, 0.26753, -0.379863, 0.152171, -1.29092, -0.366922, 0.140548, 0.0163575, -0.353453, 0.218365, 0.225803, 0.669938, 0.216145, 1.20964, -0.379448, 0.0278677, 0.387711, 0.879091, -0.624395, 0.371414, 0.16537, 0.43699, -2.88781, -0.373821, 0.71472, -0.0134865, -0.635013, -0.445189, -0.563793, 0.0238547, 0.286975, -0.0135064, 0.642509, -0.0114814, 0.829646, 0.0490664, -0.263341, 0.189282, 0.437329, 0.111981, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.200202, 0.419308, -0.222124, 0.315585, 0.162974, 0.213912, -0.661347, 0.0158122, 0.164483, -0.169073, 0.393186, 0.216946, 0.135082, 0.045139, 0.0308797, -0.0297154, 0.278854, 0.0221762, 0.0106808, -0.14888, 0.390057, 0.0809185, 0.0885804, 0.324202, 0.0961085, -0.0124246, 0.0554869, -0.141504, -0.115775, -0.306639, 0.491692, 0.249998, 0.328527, 0.203018, 0.0272562, 0.0841367, -0.0552484, -0.0655162, -0.0845832, 0.0033145, 0.299956, -0.00286147, 0.223849, -0.0691456, 0.0607006, -0.0836637, 0.117137, 0.0851041, -0.036964, -0.208702, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.8423, 0.4272, 1.032, 0.5254, 0.0959, 0.0676, -0.1553, 0.1674, -0.6157, 0.28, 0.921, 0.01545, -0.1055, -0.406, 0.00186, 0.05054, 1.13, -0.07635, -0.1892, 0.3435, -0.02766, 0.0968, -0.466, 0.9614, 0.3696, 0.02336, -0.261, 0.11536, 0.02031, -0.1903, -0.1475, 0.2625, 0.4756, 0.5015, -0.4336, 0.7085, -0.02448, 0.00907, 0.2119, 0.002665, 0.06683, 0.03091, -0.5522, 0.383, 0.05475, 0.2057, 0.02338, -0.09705, -0.05768, -0.0601], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1375, -0.6777, 0.03128, 0.02863, 0.11053, 0.1252, -0.1831, 0.0749, -1.17, 0.2783, 0.2166, -1.757, -0.4475, 0.1344, 0.11694, -0.453, -0.6904, -0.02621, -0.1936, -0.474, 0.00551, -0.097, 0.362, 0.6406, -0.5615, 0.04355, 0.2198, 0.05832, -0.291, -0.3945, 0.735, 0.5713, -0.1787, 0.0348, -0.1678, -0.00844, 0.02794, 0.518, 0.07153, 0.01604, 1.201, 0.03604, -0.0736, 0.763, -0.0857, 0.004528, 0.1705, 0.02507, -0.1398, 0.4539], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4597, -0.2457, -0.944, 0.5293, -0.0587, 0.18, 0.05994, -0.2218, 0.6274, -0.2118, -0.656, -0.02791, -0.1788, -0.01903, -0.4402, -0.001155, -0.1863, -0.05392, 0.0413, -0.2893, -0.05362, -0.10913, -0.176, 0.4678, 0.2927, 0.008644, 0.1531, 0.4758, 0.345, -0.5894, 0.833, -0.1168, 0.3074, 0.0339, -0.542, -0.1448, -0.357, 0.483, -0.207, 0.0239, 0.1708, -0.005646, 0.1022, 0.151, 0.2345, 0.44, -0.6836, 0.252, -0.2213, -0.00884], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.532, 0.432, -2.238, -0.8174, -0.10046, 0.2993, 0.55, -1.208, 1.216, -0.1504, 0.651, 0.4438, -1.028, 0.5635, 1.007, -0.188, -0.5786, -0.2432, -0.1011, 1.39, 0.1965, -1.701, -0.0839, 0.4458, -2.27, -0.04962, 0.2036, 0.4556, 0.6353, -0.1259, 0.7036, 0.2554, -3.145, -0.438, 0.1398, -0.2095, -0.4822, 0.4958, -0.01572, -0.00992, 0.712, -0.04337, 0.4375, 1.183, 0.563, 0.02577, 0.9663, -0.1674, 0.0991, 0.251], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03656, -0.509, 0.2119, 0.1259, 0.01833, -1.033, -0.96, 0.1056, 0.0749, 0.02946, 1.176, 0.02397, -0.2412, 0.755, 0.4102, 0.0714, -0.7983, 0.2394, -0.1406, -0.0723, -0.3254, 0.828, 0.0381, 0.7153, -0.2192, -0.001976, 0.2175, 0.2168, 0.2874, 0.1345, -0.0855, -0.3635, 0.3218, 0.812, 0.2964, 0.6577, -0.2263, 0.6396, -0.1647, -0.04535, -0.1677, -0.02892, 0.279, 0.0336, -0.06616, -0.2703, 1.073, -0.6074, -0.1442, -0.1782], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.2, 0.537, 1.037, 0.1415, 0.1351, -0.2134, -0.6206, -0.12463, -0.3228, 0.01202, -1.46, 0.6934, -0.3364, 0.5337, 0.1565, -0.1217, 0.2355, 0.01959, -0.10736, -0.0665, 0.742, 0.6606, -0.7036, 0.5986, 0.2595, 0.06006, -0.279, 0.649, 0.3503, -0.556, 0.677, 0.5537, -0.314, -0.0637, -0.1783, 0.635, -1.179, 1.16, -0.1718, 0.04315, -0.0705, 0.011734, -0.2273, -0.145, 0.2864, -0.156, -1.374, 0.4102, 0.2576, -0.4246], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.04834, -1.004, 0.2194, -0.4253, 0.1083, 0.6675, -1.418, 0.4133, 0.725, -0.4429, 0.5615, 0.378, 0.2374, -0.2455, 1.077, 0.00683, 1.07, 0.0206, -0.886, -0.1547, -0.1063, 0.6396, -0.322, 0.397, 0.608, 0.0372, 0.09796, 0.835, -0.0908, 0.4917, 0.2583, 0.584, -0.4744, 0.7896, -0.0863, 0.3723, -0.01685, 1.429, 0.04367, -0.0273, -0.6665, -0.0664, -0.872, 0.5396, -0.852, -0.1345, 0.7637, -0.0983, -0.6265, 0.921], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.6084, 0.03065, 0.546, 0.7544, -0.1781, 0.3413, -0.3372, 0.4263, 0.0995, 0.9146, -0.5757, 0.0955, 0.345, 0.3035, -0.66, 0.4187, 0.6, -0.214, -0.2115, 0.7056, 0.0622, 0.3113, -0.4026, 1.213, -0.4414, -0.0009513, 0.2432, 0.255, 0.1544, -1.1875, -0.5684, 0.418, 1.001, 0.5444, -0.484, -0.1683, -0.623, 0.2015, 0.2356, -0.005642, -0.718, 0.007423, 0.1335, 1.276, -0.835, 0.1528, 0.2438, -0.3218, -0.364, 0.4165], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.115, -0.2112, 0.1027, 0.0799, -0.701, 0.3293, -0.931, 0.992, -1.101, -0.6475, -0.1373, 1.063, -0.4963, 0.3435, -0.1262, -0.03445, -0.04297, 0.1519, 0.1111, -0.01484, 0.09796, -0.3535, -0.1278, -1.53, 0.37, 0.0445, -0.02527, -0.2903, 0.2128, -0.0548, 0.03726, 0.10626, -0.8276, 0.11505, 0.4268, -0.0832, 0.452, 0.1205, 0.1079, -0.02951, 0.78, -0.0451, 1.318, -0.4246, -0.2766, -0.00993, 1.105, -0.2306, 0.2114, 0.1043], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2037, -0.04846, -0.7827, 0.5063, -0.2744, -1.723, 0.942, -2.254, -0.9517, -1.702, 0.766, -0.01355, -0.2328, -0.303, -0.554, -0.0689, -0.4602, -0.04886, 0.0854, 0.2468, -0.2908, -0.305, 0.5254, -0.5884, 0.1641, 0.01782, -0.0894, 0.011475, 0.0835, 0.7334, -0.08624, -0.545, -0.867, 0.4692, 0.02089, -0.4778, -0.0407, 1.05, -0.3198, -0.00763, 0.1948, -0.02344, 0.2795, -0.7876, -0.1382, 0.2311, 1.003, -0.10266, -0.3372, -0.008865], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01203, -0.3782, 0.442, -0.2336, 0.04233, -0.53, -0.0318, 0.396, -0.864, 0.0997, -0.1068, 0.508, 0.2421, -0.148, 0.178, -0.10876, -0.403, 0.3313, 0.1831, 0.206, -0.3738, 0.0667, 0.013626, -0.93, 0.9287, -0.010574, 0.2517, 0.0944, 0.03433, -0.0548, 0.352, -0.01369, 0.3735, 0.769, -0.1636, 1.098, 0.2422, -0.0505, 0.05716, 0.0054, -0.3657, 0.04608, -1.041, -0.45, -0.346, -0.5, 0.3152, -0.089, 0.4534, 0.2905], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9062, 0.2161, 0.4116, 0.456, -0.214, 0.387, 0.3005, -0.4832, 0.656, -0.2896, -0.3232, -0.3218, -0.513, 0.03418, 1.3545, 0.712, 0.706, -0.4294, -0.5063, -0.4463, 0.011314, 0.0851, -0.1449, -0.7715, 0.03375, 0.00615, 0.1914, -0.04996, 0.1915, -1.185, 0.5605, -0.07104, 0.2983, 0.415, -0.2922, 0.633, 0.1829, 0.0315, 0.1958, 0.03757, -0.3594, -0.01845, -0.1127, 0.05103, -0.10443, -0.2391, -1.048, -0.5557, 0.287, -0.3198], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.191, -0.2402, 0.294, 0.0751, -0.4521, 0.506, -0.96, 0.09735, 0.617, -0.8135, 0.4307, -1.436, -0.0951, -0.07196, 0.8643, 1.051, 0.04944, 0.6753, -0.0391, -0.47, -0.00635, -0.2375, -0.1536, -0.826, 0.3528, -0.013565, -0.0972, 0.405, -0.703, -0.1027, -0.1866, 0.0781, -0.04318, 0.3938, 0.3032, -0.1328, 0.09705, 0.1265, -0.01538, 0.0002106, -0.495, -0.03522, 0.6987, 1.601, 0.3, 0.1388, -0.1287, -0.3333, -0.358, 0.0701], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.9736, 0.3704, -0.9146, 0.225, -0.1042, 0.2844, -0.03946, -0.4443, 0.177, 0.3684, -0.345, 0.7026, 0.285, -0.761, -0.595, -0.2517, 0.4102, 0.3013, 0.06757, 1.1455, -0.3206, 0.1423, 0.001235, -1.272, 0.1215, -0.00947, 0.4814, -0.3455, 0.8843, 0.2441, -0.292, -0.3767, 0.1732, 0.3455, -0.2852, 1.273, -0.3594, 0.1737, -0.231, -0.006588, -0.07855, -0.01459, -0.345, -0.458, 0.1527, -0.4888, 0.2622, 0.191, 0.1895, 0.4165], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.347, 0.291, 0.03143, -0.1395, -0.7637, 0.4219, -0.256, 0.436, -1.018, 0.1694, -0.2307, 0.758, 0.0336, 0.9707, 0.26, 0.09143, 0.7437, 0.275, 0.3733, 0.7085, -0.2017, -0.3606, -0.4336, -0.969, -0.7812, 0.0471, 0.7134, -0.416, 0.2644, -0.1864, -0.527, 0.466, 0.0956, 0.832, 0.1735, 0.354, 0.3591, -0.5713, 0.2632, -0.0459, -0.443, -0.01474, -0.286, -0.604, -0.8013, -0.3386, -0.9326, -0.2422, -0.321, -0.03635], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.05655, 0.1824, 0.2935, -0.2108, 0.11304, 0.166, 0.01376, 0.0942, -1.154, -0.5513, 0.5586, 0.8413, 0.5034, 0.6147, 0.01392, -0.03027, 1.354, -0.02667, -0.1503, 0.2856, -0.3352, 0.0791, -0.03348, 0.6665, -0.1593, 0.04236, 0.1711, -0.133, -0.1428, 0.3057, 0.418, 0.02527, -4.16, 0.146, -0.2942, -0.449, -0.5225, 0.6426, -0.1974, 0.02243, 0.745, 0.04324, -0.327, 0.3345, -0.3525, -0.3628, -0.2357, 0.05133, 0.348, -0.1626], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2354, -0.0973, -0.3264, 0.05948, -0.4854, 0.10626, 0.2241, -0.1448, 0.2942, 0.1931, -0.859, -0.1267, -0.2695, -0.796, 0.5103, 0.004066, -1.153, -0.03906, -0.1975, 0.3962, -0.1854, 0.235, 0.0513, -1.516, -0.10565, -0.0206, -0.382, 0.3066, 0.2747, 0.2212, -0.0648, 0.1583, -0.3088, -0.2141, -0.0691, 0.2705, 0.2942, 0.316, 0.1578, -0.02245, 0.301, 0.02591, -0.1816, -1.064, 0.1073, -0.2493, 0.05154, 0.2382, -0.01102, -0.1186], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1598, 0.1818, -1.592, 0.2788, 0.0528, 0.842, -0.06995, -0.875, 0.728, 0.6147, 0.5815, -0.4058, -0.3452, -0.1283, -0.8535, 0.2954, -0.6445, -0.7695, -0.2222, -0.8823, 0.09534, 0.1194, 0.2627, 1.088, -0.7354, 0.0003746, 0.0234, 0.06836, -0.4353, -0.2396, 0.2515, 0.406, -0.764, -0.391, 0.47, -1.232, 0.179, 0.1262, -0.258, 0.02664, -0.007, 0.01205, 1.066, -0.3064, 0.0715, 0.09467, 0.3267, 0.1045, -1.144, -0.0706], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4426, -0.1567, -0.783, 0.003677, -0.1556, -0.2125, 0.06046, -0.4954, -0.694, 0.2551, 0.702, 0.7393, -0.6055, 0.677, 0.6914, -0.1542, -0.007133, -0.1516, -0.477, -1.203, -0.3635, 0.651, 0.317, 1.643, -2.049, 0.02942, -0.0723, -0.913, 0.132, 0.361, -1.162, 0.6587, -2.525, -0.2827, 0.557, -3.275, 0.3782, 0.4165, 0.11084, 0.02455, 0.8267, 0.0188, -0.3777, -1.119, -0.7026, -0.2283, 0.2766, 0.3179, -0.2007, -0.2566], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.064, -0.7314, 0.6113, -1.193, -0.4866, -0.2344, 0.2913, 0.4578, 0.3794, -0.9917, 0.618, -0.1991, -0.083, -0.2734, 0.2751, 0.6597, 0.08636, 0.704, 0.5957, -0.254, -0.2255, -0.346, -0.2086, -0.0932, 0.2067, 0.0496, -0.0009513, -0.639, -0.703, 0.191, -0.1467, -0.4072, -1.105, -0.221, -0.07294, 1.843, 0.2725, 1.248, 0.402, -0.012985, 0.4048, -0.02098, -0.4504, -0.1433, 0.001384, 0.04688, 1.03, -0.1343, -0.315, 0.2778], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.426, 0.178, 0.3145, -0.8457, -0.1583, -0.4016, -0.7676, -0.9937, -0.11084, -0.428, 0.00342, -0.9727, -0.1987, 0.2751, 0.233, 0.10175, 0.964, 0.0578, -0.156, -0.33, 0.2559, -0.3086, 0.146, 1.289, -0.2467, -0.01353, -0.1902, 0.692, 0.0677, -0.0368, 0.676, -0.5576, 0.3315, 0.02983, 0.4014, 0.304, -0.33, 0.2727, -0.7275, 0.006935, 0.00878, 0.01991, 0.3528, 0.4148, 0.0786, 0.185, -0.3164, -0.129, 0.1826, 0.2136], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.8994, 0.12354, -0.3354, -0.06726, -0.3894, -0.7427, 0.493, 0.138, -0.3433, -0.05008, -0.5874, -0.3948, -0.4128, 1.047, 0.3345, 0.1754, -0.1992, -0.2122, 0.195, 0.12463, -0.2477, 0.1587, 1.077, -0.5723, 0.8315, 0.0491, 0.0814, -0.291, -0.4846, -0.1848, 0.898, 0.472, -0.3896, 0.1062, 0.2347, 0.8706, -0.6216, -1.156, 0.2961, 0.03506, 0.1537, 0.01007, -0.08075, -1.082, 0.4363, -0.3125, 0.664, 0.03586, 0.6016, 0.4834], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02666, -0.542, 1.008, -0.10516, 0.005398, -0.8203, 0.263, -0.0954, 0.4983, 0.144, -0.01686, 0.799, -0.03207, 0.06305, -0.2433, -0.1442, -0.0205, -0.03036, 0.1675, 0.2145, 0.0706, 0.0474, -0.1165, 0.6997, -0.1715, 0.005394, 0.1304, -0.1522, 0.1881, -0.2101, 0.2051, -0.6724, 0.36, -0.1815, 0.1652, -2.34, -0.3984, 0.8677, 0.12366, 0.0342, 0.10254, 0.0104, -0.0762, -0.4824, 0.2725, -0.359, 1.315, 0.2291, -0.332, -0.0349], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3992, -0.12317, -0.5986, 0.3538, -0.172, -0.1583, -0.8926, 0.2063, -0.01756, 0.06854, 0.0758, 0.01718, -0.1829, 0.1082, -0.3477, -0.11847, -0.657, -0.269, -0.1348, -0.296, -0.0464, 0.003983, 0.4631, 0.0684, 0.3594, 0.04123, 0.3174, -0.1079, -0.2522, -0.12427, 0.4734, -0.0863, -0.0967, 0.2876, 0.1472, -0.3, 0.1508, 0.0815, -0.02292, -0.01819, 0.6484, -0.008156, 0.1045, 0.04404, -0.1512, -0.0908, 0.531, -0.11005, 0.2805, 0.005707], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0923, -0.3054, 0.7676, 0.62, -0.2944, 0.3022, -1.921, 0.674, 0.4868, -0.559, 1.157, -0.00892, 0.6436, -0.314, -0.0727, 0.7085, 0.1351, 0.1027, 0.1843, 0.002054, 0.542, -0.721, -0.1842, 0.5103, 0.5005, -0.01598, 0.4236, -0.4958, -0.1262, 0.6167, -0.1561, -0.1294, -0.288, 0.6025, -0.01892, 0.07294, 0.0495, -0.5747, 0.219, 0.00732, -0.0438, 0.068, 0.4883, 1.168, -0.1953, -0.005302, -1.359, -0.2279, -0.1848, 0.02263], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.135, 0.10693, -0.272, -0.2301, 0.003588, 0.1343, -0.12177, 0.54, -0.2206, 0.07745, 0.129, -0.0951, 0.632, 0.5215, -0.03183, -0.2014, 0.3315, -0.03055, -0.2449, 0.1081, 0.512, 0.2461, -0.05414, -1.1875, 0.03775, -0.01135, 0.306, -0.1366, 0.09595, 0.1394, 0.1956, 0.2139, -0.239, -0.197, -0.142, -0.1582, -0.04666, -0.0724, -0.091, -0.035, 0.1781, -0.02623, -0.11975, 0.9707, 0.2484, -0.10913, -0.356, 0.05322, -0.3704, 0.1887], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0951, -0.0921, -0.01933, 1.438, 0.2186, -0.216, -0.695, -0.04245, 0.65, -0.004494, 1.166, 0.2896, 0.667, 0.2207, -0.2588, 0.2913, -1.465, 0.2932, 0.1173, 0.519, -0.3655, 0.481, 0.463, 0.4568, 0.1315, -0.01224, 0.08484, -0.8833, -0.05325, -0.5713, -1.219, 0.2296, -0.1528, 0.724, 0.2468, 0.519, -0.1984, -1.446, -0.0543, -0.05334, 0.4504, 0.02347, -0.605, -2.238, -0.1516, 0.171, -1.381, -0.3044, 0.713, -0.4985], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.8184, 0.010284, -0.1387, -0.461, -0.06793, 0.596, -1.384, 0.4482, 0.63, -0.7925, 0.4375, -1.259, -0.11127, 0.6753, -0.9287, 0.219, 1.653, -0.1844, -0.3735, 0.667, 0.3047, 0.814, 0.4207, 0.108, -0.11694, 0.02293, -0.1606, 0.7686, 0.2173, 0.383, -0.6904, -0.6, -0.2303, -1.152, -0.2693, -0.7827, -0.04852, -0.012024, 0.224, -0.01108, 0.5664, -0.02025, 0.2583, -0.3186, 0.6353, 0.5776, -0.2201, 0.1583, -0.1475, 1.325], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.6426, 0.21, 0.6147, 0.3774, -0.2374, 0.3188, -0.3662, 0.6416, 0.03528, 0.389, -0.1241, -0.0869, 0.2124, -0.1335, -0.1565, 0.4944, 0.3599, 0.4177, 0.1929, -0.3025, 0.0658, -0.7056, 0.1503, 0.05945, 0.3035, 0.02843, -0.1594, -0.1366, 0.02177, 0.78, -0.007225, -0.1783, -0.2303, 0.14, 0.02043, 0.09906, -0.1276, -0.3655, 0.3215, 0.01596, 0.5938, 0.01993, 0.5845, 1.502, -0.2546, 0.10693, -0.85, -0.3567, -0.3228, 0.7207], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.436, 0.714, -0.6685, 0.0644, -0.4077, 0.1484, 1.221, -0.643, -0.1765, 0.4153, 0.1307, 0.06183, -0.4458, -0.295, 0.3809, 0.2634, -0.3704, -0.2372, 0.2507, 1.231, -0.398, 0.436, 0.0324, -0.8047, -0.0826, 0.02914, -0.0504, 0.278, 0.5537, 0.9297, -1.11, -0.2793, -2.613, 0.591, 0.0936, 0.5107, -0.0198, 0.2393, 0.5435, -0.02284, 0.4224, 0.00512, -0.943, -0.877, -0.6685, -0.1293, 0.7373, -0.522, -0.08453, -0.715], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1454, -0.09076, 0.10425, 0.4055, 0.02028, 0.2795, 0.548, 0.03122, 0.2615, -0.6147, 0.3398, 0.0344, -0.125, -0.1901, -0.0838, -0.1046, 0.3577, 0.06165, -0.0824, 0.1416, -0.03174, -0.1262, 0.2688, 1.084, 0.1442, 0.01017, 0.10547, -0.193, -0.004078, -0.12335, 0.2339, -0.21, -0.8354, 0.09406, -0.04932, 0.2377, 0.1089, 0.417, -0.01608, 0.01587, -0.2028, 0.04596, 0.3762, 0.2817, -0.1204, -0.06915, -0.5977, -0.02145, -0.1415, 0.1978], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3113, -0.2363, 0.2905, 0.6455, -0.4246, 0.2058, -2.402, 1.236, -0.5474, -1.265, -1.69, 0.607, 1.016, 0.3252, -0.55, -0.259, -0.6914, 0.03186, 0.0341, -0.2322, -0.01026, 0.191, -0.1857, 0.5996, 1.669, -0.02591, -0.827, -0.1294, 0.3699, 0.4531, -0.064, -0.001758, 0.5674, 0.7246, 0.00742, 0.4268, 0.3792, 0.0398, 0.4905, 0.0145, 0.569, 0.02324, -0.32, -1.574, -0.2174, 0.288, 0.549, -0.574, 0.4727, -0.02278], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.234, 0.02605, 0.689, -0.2401, -0.135, -0.4097, 0.1973, 0.2686, -0.09784, -0.08325, 0.3477, -0.1941, -0.041, 0.55, 0.565, 0.134, -0.6855, 0.3018, 0.2445, 0.2595, 0.4106, -0.4824, -0.3086, -0.571, 0.2107, -0.0139, -0.2993, 0.2568, 0.1121, -0.05923, -0.0554, 0.4312, 0.5586, -0.9663, -0.269, 0.627, -0.08636, -0.0343, 0.4094, 0.01254, -0.9, 0.01749, -0.252, -0.6904, -0.3284, -0.396, -0.5967, 0.1115, 0.106, -0.3994], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01513, -0.03357, -0.02298, 0.03998, -0.01349, -0.03943, 0.006405, -0.0472, 0.006718, -0.04153, 0.0001869, -0.0284, 0.01326, 0.04324, 0.010216, -0.0217, -0.0349, -0.05014, -0.0276, -0.02908, -0.04526, -0.04617, -0.00503, 0.01232, -0.04822, -0.02548, 0.01762, -0.0399, -0.0392, 0.003387, -0.03111, 0.04047, -0.03714, -0.00633, -0.04544, -0.02986, 0.010345, 0.03613, 0.02156, -0.0459, -0.01991, -0.03992, 0.03882, 0.0003128, -0.003122, -0.02312, 0.00802, -0.00447, 0.0082, -0.02397], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.908, 0.005363, 0.04175, -0.9487, 0.7173, 0.1129, 0.9253, -0.1346, -0.2512, -0.01364, 1.113, 0.812, 0.9956, 1.02, 1.131, -1.05, -1.17, -0.2013, -0.5405, 0.0806, -0.4963, -0.58, 0.725, 0.1517, 0.2551, 0.02353, 0.007397, 0.951, -0.8755, -1.128, 0.6245, 1.389, -0.117, -0.0891, -0.2097, -0.2487, -0.012215, -0.5786, -0.3088, -0.02838, -1.395, -0.01854, 0.9883, -0.6304, -0.4211, -0.3586, 0.843, 0.5557, 0.605, -0.07294], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3794, -0.4832, -0.00332, 0.371, -0.1818, 0.1184, -0.208, -0.1721, 0.05954, -0.5547, -0.2216, -0.0818, 0.1729, 0.1271, -0.0938, 0.412, 0.626, -0.2483, 0.2201, 0.04984, -0.003134, -0.21, -0.1461, 0.4844, -0.2241, 0.0106, 0.359, 0.0475, -0.1687, -0.2744, -0.4392, 0.1322, -0.347, -0.1059, -0.0645, -0.3071, 0.2184, 0.2374, 0.3406, -0.01707, -1.155, -0.04343, -0.06247, -0.1254, -0.4678, -0.1301, -0.063, -0.1362, 0.01143, 0.2544], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1285, 0.4043, -0.07916, -0.2349, 0.11066, 0.1113, -0.2051, -0.5146, -0.2202, -0.0694, 0.01657, -0.07477, 0.089, -0.2064, 0.0769, -0.241, 0.398, -0.2065, -0.1326, 0.294, -0.2039, 0.04517, -0.02718, -0.2852, -0.04816, -0.0342, 0.1304, 0.3274, 0.2085, 0.2386, -0.2124, -0.2944, 0.0682, -0.1301, 0.2094, 0.671, 0.3398, 0.4585, 0.02678, -0.03014, -0.2065, 0.02017, 0.2532, 0.05374, -0.4978, 0.07605, 1.064, -0.2474, -0.618, 0.2385], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2676, 0.3665, -0.8047, 0.3174, 0.06064, -0.4854, 0.952, -0.147, -0.8843, 0.367, -0.9253, 0.4583, -0.1069, 0.3767, 0.05286, -0.2766, -0.06793, -0.0458, -0.5405, -0.2041, 0.1459, 0.7866, -0.3066, 1.93, 0.346, 0.01525, -0.2966, 0.2006, -0.1412, -0.2297, -0.1248, 0.2412, -0.07855, 0.5005, 0.4863, 0.824, -0.9946, 2.215, 0.05728, 0.04108, -0.8994, -0.05225, 0.278, -0.02338, -0.2815, -0.552, 1.7705, -0.006943, 0.2673, 0.41], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2502, -0.2079, 0.9634, -0.2734, -0.11804, 0.2325, -0.1682, -0.3499, 0.1395, -0.1681, 1.004, -0.5737, 0.01096, 0.0919, 0.8037, 0.412, 0.528, 0.29, -0.00453, -0.11163, -0.0917, -0.3933, 0.4749, 0.8447, 0.7607, -0.02827, 0.401, 0.04178, -0.0176, -0.4875, 0.953, 0.4004, -0.2876, -0.2118, -0.57, -0.3125, -0.1135, -0.2013, 0.337, -0.0003185, -0.2568, 0.05542, -0.541, 0.2834, 0.02257, -0.0866, -0.665, 0.1114, 0.09875, 0.04465], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.67, -0.06616, -0.07263, -0.04468, 0.1149, -0.0707, 0.985, -0.0868, 0.611, 0.637, -2.252, -0.195, -1.027, 0.2188, -0.94, 0.02817, -0.5396, -0.1965, 0.04022, 0.5454, 0.0922, -0.747, 0.3594, 0.605, 0.461, -0.02554, -0.9907, 0.3833, 0.10913, 0.7324, -0.7334, 0.783, 0.404, 0.3103, 0.402, -0.1268, 0.329, -0.2935, -0.4585, -0.04517, -0.627, -0.00318, 0.1971, -0.6553, -0.726, -0.05722, -0.4895, -0.2156, 0.256, 0.2986], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.184, 0.10693, -0.05478, -0.0228, 0.0774, -0.4143, -0.1265, -0.069, -0.0001295, 0.2102, -0.4985, 0.01965, -0.351, -0.2546, -0.11273, 0.065, 0.00799, -0.0915, 0.09503, 0.1211, -0.3032, -0.1744, -0.0931, -0.2908, 0.11475, -0.02063, 0.00833, 0.1527, 0.1696, -0.09467, -0.1959, -0.1823, 0.2942, -0.0325, 0.1965, 0.2499, -0.05884, 0.3425, 0.013596, 0.01538, 0.2734, 0.0352, 0.01878, -0.1665, 0.04, -0.00849, 0.362, 0.02834, 0.02643, -0.07904], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5522, -0.7363, -1.032, 0.588, 0.3252, 0.927, 0.549, -1.206, 0.446, 0.354, 1.715, 0.5376, -0.9624, 0.673, -0.2091, -0.11475, -0.751, 0.02487, -0.6025, -0.1665, -0.2683, 0.7812, 0.1355, -0.1628, -0.749, 0.0095, -0.127, -0.21, 0.4675, 0.5703, -0.464, 0.2008, -0.4155, -0.0913, 0.1396, 0.1831, 0.0886, 0.4475, -0.1892, 0.03333, 0.1141, 0.0241, 0.2644, -0.1354, -0.2261, 0.02182, 0.797, -0.3538, -0.3828, -0.0655], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01675, 0.2471, 0.2092, 0.1234, -0.275, 0.1121, -0.00974, 0.211, 0.3992, 0.5986, 0.1937, -0.1528, 0.1236, -0.2417, 0.607, 0.3843, 0.808, 0.4375, -0.529, -0.1932, -0.01765, -0.2104, 0.2039, 0.03125, 0.3772, 0.01663, 0.3438, -0.10284, -0.241, -0.6016, 0.6074, 0.04617, -1.042, -0.0969, -0.1296, 0.0174, -1.102, -0.2893, 0.1749, 0.003887, 0.2844, 0.03162, 0.628, 0.781, -0.265, -0.148, -0.65, 0.0857, 0.01311, 0.551], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01604, 0.3052, -0.2568, 0.604, -0.5244, 0.4998, -1.954, 0.636, 0.253, -0.6836, 1.184, -1.278, -0.1499, 0.4854, 0.436, 0.6333, 0.6855, 0.3293, 0.01332, -0.01259, -0.1059, -0.3906, 0.3875, -0.1699, 0.7627, -0.01397, 0.7324, -0.5425, 0.192, 0.726, 0.4705, -0.2224, -0.358, -0.3765, -0.0956, -0.826, -0.139, -0.38, 0.0963, 0.02385, 0.0753, 0.01765, 0.3745, -0.3958, 0.4377, 0.0386, 0.399, -0.565, 0.813, 0.0763], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.637, -0.05807, -0.6094, 0.5264, 0.093, 1.404, -0.4934, -0.72, 0.8047, 0.1116, 0.4802, -0.047, -0.5635, 0.3723, -1.111, 0.2444, -0.1443, -0.8237, -0.0986, -0.5767, 0.2651, 0.2295, 0.491, 0.4937, -1.073, -0.01075, 0.2468, 0.2367, -0.8164, 0.1342, -0.3813, -0.1627, -0.2502, -0.0698, 0.176, -0.5034, -0.0532, 0.164, 0.1113, 0.03244, 0.3757, 0.02339, 1.386, 0.832, -0.01666, 0.5264, 0.1843, 0.014915, -1.192, -0.2913], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3657, 0.1279, -0.4038, 0.613, 0.1749, -0.235, 0.531, 0.03784, 0.1768, 1.126, -0.1637, 0.162, 0.1976, 0.01384, -0.7197, -0.2612, -0.1266, -0.0442, -0.21, 0.6396, 0.1566, 0.3079, -0.1886, 0.2028, 0.0461, -0.000747, 0.2167, 0.4724, 0.0726, -0.5757, 0.3333, 0.5073, -0.3955, 0.05328, -0.633, 0.754, -0.9893, -0.01474, -0.07697, 0.01596, 0.9287, 0.00611, 0.1167, 0.8066, -0.10254, 0.2386, -2.133, 0.4346, -0.251, 0.3423], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2239, -0.2472, 0.2812, 0.828, 0.257, 0.359, -0.1921, -0.07056, 0.278, -0.2554, -1.069, -0.2566, 0.11804, 1.103, 0.02353, 0.1353, 0.5967, -0.06836, 0.418, 0.6396, -0.847, -0.166, -0.526, -0.3552, -0.935, 0.01714, 0.873, -0.1022, 0.322, 0.799, 0.595, 0.604, 0.1721, -0.1698, -0.1414, 0.2194, -0.04276, 0.8687, 0.0616, 0.03577, 0.2449, -0.02382, -0.1072, 1.232, -0.3333, -0.549, -0.4197, 0.2642, -0.2357, -0.1667], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.318, -0.4858, 1.147, -0.6606, 0.3098, -0.2292, -0.341, -0.0947, -0.0914, -0.5693, -0.3953, 0.8047, 0.7383, -0.521, 0.0679, -0.2124, 0.4045, 0.11066, 0.253, -0.01901, -0.2664, -0.04593, -0.176, 0.953, -0.06647, 0.001974, 0.2893, 0.4463, -0.1056, 0.001484, 0.3103, -0.00597, -0.6514, 0.07837, -0.3127, -1.021, 0.03345, -0.555, 0.2448, 0.02101, 0.3738, -0.01659, -0.5996, 0.7124, -0.3276, 0.2703, 0.9155, 0.08545, 0.0326, 0.2373], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2289, -0.03906, 0.3713, 0.147, -0.445, -0.4092, -2.229, -0.321, -0.4985, 0.3806, 1.21, 0.2676, -0.38, 0.1522, -1.291, -0.367, 0.1405, 0.01636, -0.3535, 0.2184, 0.2258, 0.67, 0.2162, 1.21, -0.3794, 0.02786, 0.3877, 0.879, -0.6245, 0.3713, 0.1654, 0.437, -2.889, -0.3738, 0.715, -0.01349, -0.6353, -0.445, -0.564, 0.02385, 0.2869, -0.013504, 0.6426, -0.01148, 0.8296, 0.04907, -0.2634, 0.1893, 0.4373, 0.112], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2002, 0.4192, -0.2222, 0.3157, 0.163, 0.2139, -0.661, 0.01581, 0.1644, -0.1691, 0.393, 0.2169, 0.1351, 0.04514, 0.03088, -0.02971, 0.2788, 0.02217, 0.01068, -0.1489, 0.3901, 0.08093, 0.08856, 0.3242, 0.0961, -0.01243, 0.05548, -0.1415, -0.1158, -0.3066, 0.4917, 0.25, 0.3286, 0.203, 0.02725, 0.0841, -0.05524, -0.0655, -0.0846, 0.003315, 0.3, -0.002861, 0.2239, -0.06915, 0.0607, -0.0837, 0.1171, 0.0851, -0.03696, -0.2087]] [-0.31504, -0.330539, -0.160876, -0.846629, -0.306192, 0.169306, 0.3567, 0.0125304, -0.139788, 0.0568154, -0.0231085, 0.0345211, -0.342376, -0.114426, -0.194269, 0.0909744, -0.312678, 0.129142, -0.0755599, -0.308036, -0.387208, 0.0555531, -0.255939, 0.118645, -0.210556, -0.0575825, -0.220594, -0.659519, -1.20123, -0.442617, 0.0140384, -0.93725, 0.236647, -0.00665808, 0.984128, 0.0184263, -0.134016, -0.759995, 0.0266232, -0.872871, 0.192631, 0.0398461, -0.322005, -1.23493, 0.166718, -0.0131982, -0.181044, -0.0883032, -0.448761, 0.051279, -0.315, -0.3306, -0.1609, -0.8467, -0.3062, 0.1693, 0.3567, 0.01253, -0.1398, 0.05682, -0.0231, 0.03452, -0.3423, -0.11444, -0.1942, 0.091, -0.3127, 0.1292, -0.07556, -0.308, -0.3872, 0.05554, -0.2559, 0.11865, -0.2106, -0.0576, -0.2206, -0.6597, -1.201, -0.4426, 0.01404, -0.937, 0.2367, -0.006657, 0.984, 0.01843, -0.134, -0.76, 0.02663, -0.873, 0.1926, 0.03986, -0.322, -1.235, 0.1667, -0.0132, -0.181, -0.0883, -0.4487, 0.05127] ReLU [[-0.194778, -1.23661, 0.108833, 0.287692, -0.115473, -0.306316, 0.0326098, 0.444809, 0.249074, -0.133964, -0.204356, 1.1141, -0.284316, 0.197462, -0.561575, 0.200163, 0.600313, -0.814152, -1.73453, -0.257392, -2.86689, 0.329034, -1.05781, 0.618619, -0.121637, -0.235165, 0.358767, -0.0660498, -0.137346, 0.193085, 0.178663, -0.334949, 0.0550208, 0.0426504, 0.0441027, -0.374627, 0.114675, -1.25998, -0.212989, -0.223487, 0.0669113, -0.653633, -1.00254, -0.0432623, -1.1996, -0.224098, 0.107991, 0.378731, -1.09912, -0.108102, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0199317, 0.246817, -0.148277, -0.109963, -0.101017, 0.0308682, -0.0296104, 0.0657149, 0.0938756, 0.1314, 0.13085, 0.126038, 0.161918, 0.10936, 0.0690631, -0.0777244, -0.164943, 0.11887, 0.10437, -0.127241, 0.164826, 0.0870294, 0.128246, -0.0538321, 0.282961, -0.00356459, 0.0364765, -0.0182615, -0.0874919, -0.0969264, 0.134711, -0.0558081, 0.121866, 0.0202719, -0.0491223, 0.223593, -0.148639, -0.141034, 0.0330558, -0.0678646, 0.00218864, 0.121771, -0.216561, -0.102818, 0.113841, -0.0805083, -0.0229364, 0.0952502, 0.0594982, 0.342659, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.301127, 0.145709, 0.26562, 0.196549, 0.587066, -0.0130607, 0.0451974, 0.429621, -0.435572, -0.114093, -0.478015, -0.160167, -0.304126, 0.18712, -0.0403495, 0.169022, 0.529405, -0.0283299, -0.0987795, 0.413614, -0.244726, 0.0259593, 0.595454, -0.684964, 0.00521991, -0.0301476, 0.616513, -0.126522, -0.0933392, 0.401688, -0.906775, 0.337201, 0.106836, 0.00324164, 0.0118138, -0.485736, 0.469264, -0.103977, -0.143141, 0.148229, -0.0542697, -0.159358, 0.0495634, -0.119388, -0.126782, -0.128322, -0.262735, -0.138473, -0.150358, 0.220431, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.303171, 0.941019, 0.159851, 0.454481, -0.516307, 0.201251, -0.0640084, -0.277677, -0.0494006, -0.346756, -0.171731, -0.612872, -0.259132, -0.117288, 0.776029, -0.173143, -0.344368, 0.475916, 0.99086, -0.553397, 0.295516, -0.105425, 0.406149, 0.28399, 0.164816, -0.342751, -0.252107, -0.00421017, 0.11104, -0.814957, -0.194978, -0.415288, 0.0395092, -0.040835, -0.213731, -0.0466782, 0.450681, 0.402896, -0.232794, 0.0332645, -1.03548, 0.678675, 0.424116, -0.23738, 0.199051, 0.0597019, -0.443027, -0.129856, -0.85371, -0.256088, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-4.67771, 0.43037, 0.0471606, 0.521305, -1.14888, -0.166798, 0.0786353, -0.260611, 0.0252378, 0.96231, 0.501009, -0.548583, 0.163002, -0.19515, 0.14504, -0.535507, -2.67842, 0.146212, -0.269198, -0.0167852, -0.409212, -0.0418332, -0.894641, -0.187957, 0.0603191, -0.423757, -0.202568, -0.25073, 0.136734, -0.707526, 0.130915, -0.817885, -0.225425, 0.00910845, 0.283514, -0.88768, 0.150006, -4.40412, 0.0474038, 0.0706263, -0.781336, -0.0741962, -0.0362667, -0.422205, 0.0582158, 0.116838, -0.0826744, 0.00566389, 0.345183, -0.51424, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.100652, -0.422167, 0.018896, 0.452048, 1.00946, -0.293468, 0.0937251, -0.264835, -0.0922435, -0.247335, -0.277633, -0.10772, -0.103535, 0.0048768, -0.0776054, 0.538349, 0.472661, -0.0459916, 0.203911, -0.0471734, -0.0934353, 0.137649, -0.561918, -0.104271, -0.021002, -0.265261, 0.252156, 0.0181701, -0.166973, -0.346463, 0.0191754, 0.147095, -0.338491, 0.0343487, 0.0374042, 0.529518, 0.149895, 0.242023, -0.183393, -0.690948, 0.547344, 0.672653, -0.20139, 0.0299787, -0.0729854, 0.122275, 0.0238504, -0.0782766, 0.055213, -0.495502, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0242385, 0.446747, 0.203536, -0.253826, -0.272412, -0.0107814, 0.284087, 0.237177, 0.0992396, 0.000266391, 0.139342, 0.393252, -0.45523, 0.130389, -0.297927, -0.225874, 0.237974, 0.0264269, 0.163026, -0.116526, 0.376759, -0.106266, -0.312269, 0.144899, 0.0892643, -0.497344, -0.110993, -0.182356, -0.304482, 0.0361234, 0.295293, -0.592324, 0.235386, 0.0320451, 0.145777, 0.309434, 0.304862, 0.0849248, -0.439196, 0.0323159, -0.000405976, 0.177204, -0.114892, 0.411986, -0.126891, -0.0629262, -0.176035, 0.293619, 0.0660113, 0.120187, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.676329, -0.13212, 0.440093, 0.863076, -0.553328, -0.187493, 0.360437, 0.287368, -0.0736549, 0.35882, -0.194873, -0.178395, 0.149533, 0.177543, 0.341425, 0.694047, -0.0471471, 0.22059, -0.201775, 0.0253276, -1.17851, 0.163679, -0.424482, 0.609565, -0.11531, -0.00400023, -0.182678, -0.0523397, 0.310158, -0.585255, 0.146677, -0.172198, 0.381768, -0.0137218, -0.146794, -0.219516, -0.530368, 0.0210333, 0.264689, -1.13487, 0.136127, 0.319037, -0.0540312, -0.143996, -0.0498402, -0.198669, -0.520693, -0.360866, 0.510206, -1.29494, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0437242, 0.0167657, 0.0111522, 0.0452703, 0.0199793, -0.0515634, 0.0144299, -0.000944213, -0.0243473, -0.0262493, -0.0585737, -0.00914533, 0.0207733, 0.0150732, -0.0484969, 0.0111114, 0.0208696, 0.000301585, -0.0246836, 0.0233266, 0.0156515, 0.030027, -0.0401052, -0.0521565, -0.0521568, 0.00645518, 0.0127056, -0.0308732, 0.00721174, 0.0405717, -0.0305154, 0.0136891, -0.0465925, -0.0232919, -0.00547698, -0.0429433, 0.0344266, -0.0105522, 0.0141333, -0.0131416, -0.00904314, -0.027756, 0.0339798, 0.0332724, -0.0283752, -0.0474117, -0.00923523, -0.0157362, -0.0351317, 0.0111233, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.221209, -0.990539, -0.00159325, -0.385702, -0.62257, -0.187862, 0.125094, -0.193198, 0.0876356, 0.061274, 0.347693, 0.313591, 0.389381, 0.102766, -0.135117, -0.0427341, -0.3871, -0.215012, -0.229766, -0.132222, 0.272742, 0.0266404, 0.279571, 0.278686, -0.335297, -0.0525339, 0.129709, 0.0172506, -0.158997, -0.12743, 0.145048, -0.00604142, -0.105863, -0.0248556, -0.120508, -0.0227162, -0.487137, -0.295826, 0.0746361, -0.130254, -0.2938, -0.0704005, -0.0785547, 0.0200251, -0.108306, 0.0741895, 0.183992, -0.00895233, 0.168075, -0.0810099, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.08519, -0.113291, 0.0175049, -0.690864, 0.21016, -0.453802, -0.181305, 0.24985, -0.149873, 0.23564, 0.00249746, -0.46418, -0.558051, 0.221585, -0.230319, -0.0374807, 0.0322641, -0.240515, -0.220193, 0.114136, 0.372105, -0.0315253, -0.545926, 0.689546, -0.655156, 0.155421, -0.0892569, -0.0736163, -1.64912, 0.0121588, -0.106693, -0.0170465, 0.077175, -3.78263e-05, 0.161046, -0.349891, -0.187239, 0.019021, 0.052019, -0.145121, 0.463443, -0.282848, -0.0512177, 0.268232, 0.122045, -0.225485, -0.151571, 0.253365, -0.683816, -0.0597135, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.361085, -0.240019, 0.351375, -0.61242, -0.163258, -0.175435, -0.0714864, 0.128842, -0.156579, 0.190419, -0.22039, 0.0100884, -0.361948, -0.084775, -0.0959877, 0.146756, 0.346032, -0.00722004, -0.128821, -0.0925004, -0.101248, -0.0368163, -0.460176, 0.335015, -0.275866, 0.122492, -0.0267446, -0.0177447, 0.828276, -0.12087, 0.136117, 0.0884959, -0.206197, 0.00462072, 0.21469, 0.317426, 0.130883, -0.430535, 0.033806, -0.204215, 0.518845, 0.051731, -0.188485, -0.0871906, -0.168707, -0.238171, -0.122197, -0.123925, -0.057604, -0.200463, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.83824, -1.06116, -0.103536, 0.431067, 0.136546, -0.105088, -0.199268, -0.311255, -0.118669, 0.0210231, 0.149383, -0.160237, 0.0720835, -0.0016971, -0.00424688, -0.0907426, 0.592937, -0.0603543, 0.306942, 0.0192162, -0.48567, 0.210025, -0.428959, 0.272972, 0.0313651, 0.056485, -0.0307065, 0.0727799, -0.0860162, 0.0145964, 0.211625, -0.00383992, -0.12041, 0.00671177, 0.00908302, 0.0476464, 0.198049, -1.91648, -0.230331, 0.091828, -0.293428, -0.0857066, -0.866499, 0.065063, 0.178012, -0.593302, 0.0260299, 0.104813, -0.431034, -0.318071, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.146134, -0.30906, 0.00691353, -0.0539928, -0.184252, -0.331997, -0.0460622, 0.0203603, -0.412949, 0.545964, -0.367289, -0.227786, -0.291399, -0.175187, 0.472999, 0.378991, 0.216455, -0.0467075, -0.259415, -0.432883, -0.123576, -0.0645412, -0.854086, 0.901498, -3.12119, 0.23197, 0.351307, 0.0741293, 0.121555, -0.478697, 0.0280163, -0.926579, 0.230925, 0.043552, 0.00143428, 0.348652, -0.279932, -0.0277242, 0.211133, -1.06391, 0.475157, 0.298788, -0.116618, 0.101131, -0.19381, 0.169934, 0.146684, 0.233433, 0.36212, -0.581452, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.128824, 0.0901368, 0.140423, 0.0966401, -0.0427528, -0.0960807, 0.157279, -0.0247977, 0.00820024, -0.345634, -0.222764, -0.473012, 0.00393303, 0.0716697, -0.0242569, 0.0820247, -0.358681, -0.093123, 0.0585388, 0.326622, 0.108231, -0.17993, 0.521024, 0.20253, -0.139357, -0.0609262, 0.213674, -0.0163819, -1.78616, -0.172125, 0.199861, 0.073889, -0.236064, 0.0381872, 0.0589901, -0.0617291, -0.180923, 0.174507, -0.00031353, -0.246606, 0.370756, 0.0471697, 0.464382, -0.295098, -0.0583543, -0.125349, 0.109516, -0.288027, 0.0336102, 0.201098, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0688475, 0.521399, -0.489226, -0.00944622, -0.180779, 0.319779, -0.0187594, -0.149459, 0.0863942, -0.816827, -0.0842601, -0.217072, 0.183923, 0.19441, 0.201534, -0.287677, -0.25692, -0.0584715, 0.38242, -0.0428943, 0.67735, -0.171171, 0.357469, -0.239619, -0.160783, 0.0915176, -0.108032, 0.147336, -0.406212, 0.291601, -0.522764, 0.226917, -0.404741, 0.00566205, 0.115241, 0.774658, 0.504498, 0.318523, 0.087952, 0.647837, -1.04652, 0.294949, 0.801159, -0.142771, -0.08387, 0.421612, 0.151533, -0.65517, -0.124413, -0.38578, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0229755, 0.0893041, -0.0978346, -1.94899, 0.352821, 0.0976074, -0.0580872, -0.206863, -0.0532233, -0.173546, -0.151056, 0.109319, -0.125748, 0.0331517, -0.146302, -0.218839, 0.533133, -0.0876317, -0.0714029, 0.097472, 0.0914841, 0.0660318, -0.0788784, 0.0847498, -0.176144, 0.238881, 0.174478, 0.0109435, -0.27158, -0.252885, 0.125081, 0.121943, -0.0417494, 0.0434932, -0.125311, 0.108031, 0.0251773, -0.126679, 0.0399267, -0.305589, -0.265591, -0.0629085, -0.369241, 0.0875902, 0.0763982, -0.0216944, 0.152073, -0.0772251, 0.149608, -0.191115, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0176094, 0.112914, -0.555284, -0.110018, 0.542975, -0.411554, 0.153654, -0.162635, -0.146138, 0.341272, 0.19034, 0.295223, 0.123542, 0.114016, 0.0922058, 0.478841, 0.61762, -0.49971, -0.132745, 0.158239, -0.149665, -0.0745803, 0.0962001, 0.254548, -0.0849398, 0.384224, 0.204119, -0.293712, 0.276267, 0.475576, -0.28486, -0.206335, 0.0356104, -0.0462191, 0.0780977, 0.739971, -0.17318, -0.260909, 0.0399875, 0.141866, -0.0304855, -0.244516, -0.628941, -0.310067, 0.270763, -0.0959231, -0.590077, -0.460816, 0.262709, 0.298023, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.399186, -0.416398, 0.147524, 0.316496, -0.0931864, -1.07761, 0.00200949, -0.0850174, -0.00079957, -0.0415473, 0.0279702, 0.0402845, 0.0331341, -0.0945632, 0.110811, -0.216158, 0.0609095, -0.0517535, -0.063794, -0.028581, 0.0918198, -0.0565476, 0.147486, 0.0108971, 0.0120489, -0.0450434, -0.162598, 0.0126963, -0.445887, 0.0148197, 0.108611, 0.00829653, -0.173201, -0.031282, -0.0810568, -0.0602195, 0.0904381, -1.38197, -0.0172843, 0.0429949, -0.100923, 0.0148568, 0.355136, 0.0797814, 0.0194058, -0.247241, 0.021838, -0.0992132, -0.35705, -0.306355, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.320338, 0.10374, -0.346685, 0.111719, -1.13853, 0.137955, -0.183933, 0.092697, -0.221644, -1.02692, -0.104318, -0.0511955, -0.61542, -0.186074, 0.0497813, -0.464491, -0.0940294, -0.106594, 0.189128, -0.313943, 0.262187, -0.196445, 0.158012, -1.46861, -0.332772, 0.0518477, -0.181755, -0.202568, 0.28029, 0.409602, -0.464552, 0.305252, -0.0075118, 0.0380097, 0.255037, -0.504929, -0.270884, 1.76577, -0.0524875, 1.55539, -0.48373, -0.145354, 0.46156, -0.0679195, 0.177266, 0.27689, -0.239979, 0.241871, -0.672557, -9.30916, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.122556, 0.819487, 0.363256, 0.360096, 0.0383176, -0.309188, -0.110991, 0.131716, 0.012859, 0.0806576, -0.294433, 0.340295, -0.0346436, -0.0721828, -0.123136, 0.155265, 0.935183, -0.151591, -0.384632, 0.0555755, -1.19048, 0.0600225, -0.237636, 0.0291403, -0.272927, 0.124899, 0.105812, -0.155834, -1.47573, 0.32434, 0.0531931, 0.0811108, 0.16405, -0.0153804, 0.00528086, -0.320907, -0.35147, -0.487298, -0.0888958, 0.0195341, 0.231994, -0.179123, -0.0687972, 0.133519, -0.425041, -0.0760907, 0.090371, 0.126633, -0.110623, 0.574925, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.307386, -0.438724, 0.160159, 0.0540516, -0.722764, -0.0364675, -0.0790111, 0.0372618, -0.102151, 0.120451, -0.253806, 0.0990262, 0.233754, -0.189101, -0.151954, 0.302022, -0.720818, 0.208051, 0.0506942, -0.0609479, 0.16598, 0.00305324, 0.115985, 0.460554, -0.00348149, 0.106634, -0.486338, -0.0104669, 0.0321938, -0.525965, -0.0553742, -0.190323, 0.153126, -0.0211933, 0.0693333, 0.16462, -0.378768, -0.0757971, -0.165608, -0.114393, -0.408169, -0.018454, 0.157462, 0.0237136, -0.331369, -0.0979282, 0.0386016, -0.0658102, -0.254353, -0.113981, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.280495, -0.592562, -0.479894, 3.94013, 0.374963, -0.727832, -0.489253, -0.519711, 0.70453, -0.255207, 0.482237, -0.316429, 0.599331, 0.254588, -0.0247693, -0.998996, -0.0740565, -0.12071, -0.0513378, 0.0994576, 0.680811, -0.281071, -0.0336767, -0.0685875, 0.21914, -0.0616184, -0.617884, 0.476267, -0.964808, 0.408241, 0.216711, 0.474919, 0.106945, -0.00755663, -0.527847, -0.297946, -0.893813, 0.217408, 0.53518, -0.216513, -0.649623, -0.0982678, -2.58157, -0.157663, 0.349023, -0.969624, 0.355315, -0.0546182, -1.06094, 0.0347347, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0353399, -0.0310928, 0.0384823, 0.00796702, -0.0159417, -0.073047, 0.00780046, 0.0118652, 0.0253048, 0.031237, -0.0122922, 0.0152086, -0.0627646, -0.0060272, -0.0285478, 0.0054458, -0.0165202, 0.00548202, -0.0441504, 0.0157606, 0.0314509, -0.0206174, -0.0477635, -0.0543043, -0.0172788, -0.0398627, 0.0228758, 0.0074905, 0.0132722, -0.00742083, -0.0309832, -0.0489942, -0.0109632, -0.00543698, -0.015278, 0.0125733, -0.014314, 0.0111359, -0.0414479, -0.0205763, -0.0256492, -0.0163349, 0.0413733, 0.0142534, -0.0166051, -0.0165818, 0.00307552, 0.0267847, -0.0101873, -0.000505051, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.467386, 0.251349, 0.280279, 0.986541, 0.267818, -0.0151985, 0.0794972, -0.649092, 0.0925083, -0.0763304, -0.047584, 0.456806, -0.101841, -0.0349377, -0.330698, 0.660656, -0.499946, -0.602303, -0.389238, 0.0611723, -2.78195, -0.10162, -0.121348, 0.101955, 0.196687, 0.00642335, 0.0186974, 0.0388492, -1.48577, 0.386977, 0.0654449, -0.0601128, 0.029883, -0.0320597, -0.166361, 0.0944577, 0.0541847, 0.8774, -0.222393, -0.318728, 0.435112, -0.295597, 0.672221, 0.00600267, -0.440852, -0.00569939, -0.218376, 0.185157, 0.0103653, -0.346063, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.576929, -2.03337, 1.03187, 0.231331, -0.473785, -1.25368, 0.0757266, -0.16224, -0.264083, 0.256954, -0.00343698, 1.44062, -0.734298, -0.0637748, 1.01725, 0.694904, 0.348484, -0.460953, 0.182319, 0.419405, -0.125447, -0.0510943, 0.800315, 1.05256, 0.0570268, -0.543194, -0.954236, 0.133675, -1.91442, -0.40217, 0.662561, 0.280058, -1.06287, 0.00525235, -0.160102, 0.398582, 0.551475, -0.777914, -0.841404, 0.30824, 0.670874, 0.460957, 0.917782, -0.88247, 0.00236904, 0.69942, -0.261713, 0.576276, 0.765732, 0.457284, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.843268, 0.62669, 0.0354781, 0.467075, 0.839374, -0.0960368, 0.0219385, 0.242811, -0.0495521, -0.619947, 0.00938127, 0.0692893, 0.267177, 0.147648, 0.120187, 0.315664, -0.198329, 0.100202, 0.336543, -0.599452, 0.223514, -0.400544, 0.012436, 0.261187, 0.0814772, 0.0361864, 0.326856, -0.0551068, 0.451973, -1.26583, 0.278613, -0.0385638, 0.198894, 0.00602552, 0.11339, 0.219107, 0.461007, 0.634411, -0.0708625, -0.457279, -0.470334, 0.296336, 0.0250937, -0.169309, -0.0243929, -0.287079, -0.0343243, -0.00704245, 0.307084, 0.0737608, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0779707, 0.595653, -0.0649035, -0.451776, 0.855657, -0.144377, 0.0838441, 0.274639, 0.281281, 0.299076, 0.115352, -0.007664, 0.043369, 0.35409, -0.241277, 0.3935, 0.939928, 0.0996485, -0.344519, -0.123636, -0.0798236, 0.0386489, -0.157909, 0.378144, 0.0453554, 0.114678, 0.0463283, -0.172972, 0.028504, 0.114047, -0.0816498, -0.292986, 0.0331505, -0.0405412, 0.0262153, 0.184699, 0.202855, -0.384956, 0.095735, 0.0516244, 0.462747, -0.301158, -0.22313, -0.0969781, -0.0501222, 0.260481, 0.0219547, -0.210547, -0.0658869, 0.0775927, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.141687, -0.284731, 0.174302, 0.22337, -0.0900533, 0.227948, 0.22758, -0.00632182, -0.618653, 0.147284, -0.265125, 0.180433, -0.0755221, 0.350605, 0.0758571, -0.0309265, -0.66513, 0.118208, 0.0483352, 0.230057, -0.345213, 0.082209, 0.0348347, 0.277627, -0.0841411, -0.299897, 0.237481, -0.00777746, -0.707606, 0.922343, 0.00803155, 0.0464193, 0.171454, 0.0229648, -0.132043, 0.127451, 0.340433, -1.71552, -0.225907, 0.365433, 0.0837962, -0.225991, 0.239298, -0.0985461, -0.0158714, 0.0689334, 0.0341673, 0.473021, 0.462877, -0.659966, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.21965, -0.239367, 0.0429419, 0.856018, -1.50555, -0.405809, 0.0994151, 0.389823, -2.67326, -1.16626, 0.147135, -0.211991, -0.221699, -0.207805, 0.00754312, 0.523872, -3.57934, 0.341203, 0.243865, -2.32046, -2.23608, 0.157887, 1.05787, -0.900244, -1.94144, 0.256262, 0.36046, -0.104514, -3.15475, 0.292736, 0.572578, -0.232447, 0.137184, -0.0347404, -0.216049, -0.597573, -0.439691, -0.907868, 0.208495, -2.84729, 0.2974, 0.154277, -0.768173, -0.0335151, -0.171808, 0.0438911, 0.00474107, 0.0577964, 0.365616, -2.05202, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0825839, 0.126687, 0.0256405, 0.0904953, 0.0626164, -0.104374, -0.073192, 0.0328359, -0.0150826, 0.0785503, 0.00621996, 0.0446433, -0.0653848, -0.0192894, 0.0962366, 0.0310872, 0.0416945, -0.0803368, 0.157835, -0.0433216, 0.188223, 0.0452884, -0.0788696, -0.116484, -0.0156785, -0.0348716, -0.089734, -0.0958042, 0.0498385, -0.163913, 0.171588, -0.00250251, 0.0313332, 0.0260548, -0.0480117, -0.0878013, 0.10629, 0.188686, -0.0100899, -0.0741519, -0.0354999, 0.0337051, -0.217539, 0.0156883, 0.0988989, 0.00410249, -0.0947221, -0.0301248, -0.0861746, 0.184776, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.120985, 0.655129, -0.260646, -0.0463108, 0.007575, -0.0454501, -0.02323, 0.0335863, -0.0368815, 0.034944, -0.0662747, -0.123539, -0.0684773, 0.0725329, -0.0473336, -0.089622, 0.200121, -0.275185, -0.165899, -0.24242, 0.275396, 0.0664261, -0.127587, 0.329334, 0.00381484, -0.120348, 0.210763, -0.00453026, 0.0896251, 0.0053119, -0.140195, -0.301836, -0.0667905, -0.0210314, 0.00121052, 0.0730146, 0.0722884, 0.10077, -0.202831, 0.131402, 0.222295, -0.163263, 0.301784, -0.274845, -0.100953, -0.0545422, -0.133658, 0.145189, -0.263776, -0.0192481, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0433788, 0.0965877, -0.192134, 0.515219, 0.332145, -0.790651, 0.0710277, -0.121521, -0.0919879, -0.0875097, -0.0127716, 0.63904, -0.454754, 0.0951719, -0.495641, -0.868688, -0.542394, -0.0464844, -0.470337, 0.00391646, 0.0639156, -0.0746541, -0.695522, -0.462296, -0.282201, 0.0198551, 0.134284, -0.092714, 0.584046, -0.66458, 0.213568, -0.139756, 0.471596, -0.0442032, -0.0527172, 0.691328, 0.690975, -0.352382, -0.366296, -0.0178317, 0.381568, -0.0178781, 0.00636127, -0.575126, 0.0286068, 0.403418, 0.45735, -0.233406, 0.70495, 0.13424, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.245438, -0.0716405, 0.169825, 0.0208297, 1.45789, 0.342735, -0.010434, -0.097327, -0.178475, -0.541688, -0.31817, 0.0229397, -0.462143, 0.0162562, -0.0222656, -0.0556865, -0.165351, -0.142154, -0.0799317, -0.546477, -0.035808, -0.242459, -0.170645, 0.0217187, -0.215683, 0.106551, -0.0231416, 0.00120066, 0.328248, 0.399409, -0.248462, -0.311603, -0.022757, 0.0468094, 0.0816141, -0.300911, 0.318894, 0.509888, -0.06037, 0.401447, -0.250602, 0.0798097, 0.518843, -0.0735423, -0.161844, 0.217976, -0.356622, -0.280251, 0.255561, 0.0384004, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0839983, -1.21489, 0.131321, 0.421986, 0.857773, -0.635288, -0.0778874, -0.132056, -0.0522303, -0.171525, -2.7092, -1.08345, -0.565904, -0.910631, 0.381231, -0.0253212, -0.0549727, -0.186732, -3.68377, 0.31545, 0.558292, 0.524529, 0.770206, 0.399464, -0.339033, -0.271889, 0.768812, -0.0366275, -1.5644, -1.01023, 0.189736, -0.372872, 0.0756187, 0.0159807, -0.0253858, -0.0523158, 0.0520201, -1.46323, 0.244272, -0.450836, 0.328074, 0.232153, -0.749463, -0.126731, 0.779882, -0.139425, -0.0969253, 0.248281, -0.652479, 0.0149887, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.667704, -2.30068, -1.10831, 2.85555, 1.18362, -0.909308, -0.964158, -1.02805, 1.00513, -0.709318, 0.581113, -0.153861, 0.803728, 0.771549, -0.0182529, -1.97836, 0.286218, 0.0746332, 0.0811419, 0.4513, 0.70983, -0.508228, -0.297202, 0.555296, 0.479065, 0.0945968, -1.01357, 1.17578, -0.905913, -0.332635, -0.013265, 0.992502, -0.216984, 0.0268283, -0.666919, -0.164533, -0.915129, -1.84397, 0.984052, -0.480949, -0.931205, -0.37053, -7.5115, -0.660973, 0.136105, -1.70361, 1.219, -0.221289, -1.66157, 0.0518181, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.708014, -1.32927, 0.19448, 0.98979, 0.0709868, -0.952044, 0.22369, -0.458559, -0.0183815, 0.546395, 0.245773, -0.0783878, -0.0243786, -0.409795, 0.153155, -0.461806, 0.120242, 0.135533, 0.204575, 0.27125, 0.535231, -0.170769, 1.02991, 1.07612, 0.347207, -0.17103, 0.264345, 0.311926, -0.790772, 1.12983, -0.856646, 0.318413, -0.374976, -0.0317811, 0.170377, -0.586172, -0.0478946, 0.540667, 0.270957, -0.444284, 0.187666, -1.07549, 0.0418151, -0.450948, 0.370324, 0.665173, 0.240887, 0.199605, -0.817579, -0.479232, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00308355, 0.372817, 0.171787, 0.390127, 0.533042, -0.44664, 0.0431374, -0.240742, -0.114407, 0.261375, -0.690751, 0.135413, -0.0267726, -0.00124668, 0.0461318, 0.243725, 0.0353045, -0.221025, -0.38249, 0.00982894, -0.596248, 0.0128664, 0.10725, -0.315771, -0.756069, 0.138593, 0.265235, -0.160827, 0.0630029, 0.448608, 0.699077, 0.149874, 0.268004, 0.002392, 0.242838, -0.184344, 0.0438375, -0.289991, -0.134488, -0.238034, 0.529709, -0.288685, 0.365921, 0.42095, -0.0434297, -0.00745894, -0.273386, -0.0657425, -0.28396, -0.968147, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.19041, -1.02273, -0.0713309, 0.538819, -0.326095, -0.316605, -0.349791, -0.161419, 0.088478, -0.221964, 0.00663137, 0.182882, 0.112973, 0.179895, 0.203582, -0.518364, 0.609759, 0.0275402, 0.254127, 0.140845, 0.269455, -0.155188, 0.0784988, 0.453478, 0.00312742, 0.274771, -0.137821, 0.192442, 0.47162, -0.520362, 0.0409325, 0.178697, 0.0254261, 0.0473594, -0.118878, 0.237336, -0.0795789, -0.609983, 0.275757, -0.101628, -0.199408, 0.147424, -2.82116, -0.339305, 0.0793958, -0.493748, 0.139552, -0.0672621, -0.42951, -0.0696361, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0609269, 0.700542, 0.238324, -0.347416, 0.254759, -0.129981, 0.0838216, 0.00576584, -0.0206584, -0.0698214, -0.224571, -0.153423, 0.191324, 0.0392121, 0.0473542, 0.0318192, 0.132721, -0.109121, 0.272614, -0.0934123, 0.0991522, -0.0187913, -0.410891, 0.0433641, -0.0918096, -0.0783408, 0.231352, -0.121246, -0.149722, -0.154425, -0.0329257, 0.00617197, 0.0499402, 0.00137152, 0.000724639, 0.140608, -0.25917, -0.11559, -0.0249738, -0.011162, 0.151889, 0.110834, -0.0680963, 0.0852244, 0.224505, -0.0350711, -0.011367, -0.0353987, 0.097653, 0.189997, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0138805, 0.000500275, 0.028567, -0.0275876, 0.00386277, 0.0210304, -0.016287, -0.00373575, 0.0252901, -0.00374834, -0.0487061, 0.0399352, -0.019849, 6.74566e-05, 0.00211884, -0.000363902, -0.0227903, -0.0489264, -0.0387734, -0.0213276, 0.0478683, 0.0148548, -0.00611798, 0.0247079, -0.0537173, -0.0290829, -8.37766e-05, -0.0445841, -0.0292838, 0.0244715, 0.0401655, -0.000254128, -0.0266221, 0.0494145, -0.0448899, 0.00399891, -0.0411236, 0.0357497, -0.0153265, 0.0298172, -0.0210073, -0.0441757, 0.0370863, 0.0288621, -0.0452874, -0.0455008, 0.0361574, -0.0108566, -0.0166912, -0.0491611, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0685497, -0.855065, 0.071466, 0.2255, -0.220479, -0.369958, 0.0363709, 0.130267, 0.120338, -0.0305011, -0.334116, -0.306284, -0.146895, 0.0759779, -0.093028, 0.317376, -0.0351317, 0.0340919, 0.235933, 0.0101443, -0.26116, 0.209, -0.302306, 0.146326, -0.0587617, 0.00643658, 0.0322158, 0.0218653, -0.405246, -0.108227, -0.0654267, -0.173315, -0.169347, 0.010156, -0.0101196, 0.373821, 0.0435751, 0.206085, -0.038575, 0.0889083, -0.155767, -0.0332462, -0.430261, -0.0107206, -0.0151028, -0.252248, 0.0255348, -0.0347574, -0.294569, 0.281382, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.272006, 0.620679, 0.128313, -1.64252, 0.191282, -0.274917, -0.0900116, 0.117291, -0.0188361, -0.178014, 0.0217231, -0.00246782, -0.0758234, -0.0209558, -0.0393575, -0.0988358, 0.144932, 0.0187465, -0.263191, 0.0878677, -0.763707, 0.0883391, -0.106472, -0.0214215, 0.0158084, -0.23974, 0.000548778, 0.0809156, -0.607055, -0.482752, 0.0731862, 0.120818, 0.207217, 0.00381012, 0.00454856, -0.100369, 0.0716065, -0.287604, -0.271919, -0.135715, 0.226158, 0.0365895, -0.520642, -0.494391, -0.249438, -0.0745267, 0.0090339, 0.200381, -0.00356567, 0.295298, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0532103, -1.89649, 0.105028, 0.494038, 0.23716, -0.0587993, -0.00240876, -0.0984696, 0.10289, -0.437269, 0.037196, 0.245383, -0.0437974, -0.436909, 0.12743, 0.476368, -0.277863, 0.107243, -0.381392, 0.0407265, -0.0933856, -0.392785, -1.69824, -0.367107, 0.0801273, -0.0847988, -0.467123, -0.0582771, -0.449698, 0.115888, -0.829366, -0.0452713, -0.297004, -0.0371872, 0.00573174, 0.394987, -0.115795, 1.18663, -0.0578203, -0.17247, 0.389738, 0.0746368, 0.270144, -0.17908, -0.101259, -0.319885, 0.0639049, -0.0982738, -0.0687424, -0.014203, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.191522, 0.764565, 0.170364, 0.0905881, -0.208917, -0.886594, -0.154831, -0.769774, -0.256638, 0.0249718, -0.163613, -2.6648, -0.321774, -0.00740319, -0.0512287, 0.016798, 0.407374, -0.0308149, 0.439961, 0.160177, 0.224153, 0.125496, -0.363739, 0.245075, -0.271272, 0.143912, -0.47644, -0.0138207, 0.341007, -0.443802, 0.0488836, 0.060161, 0.0198201, 0.00762843, 0.0491245, -0.103566, 0.0672548, 0.913003, 0.0475598, 0.265863, -0.812166, -0.0352379, -0.0278798, 0.0872442, 0.0318698, -0.134349, -0.100423, 0.256013, 0.00771866, 0.0278743, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.806784, 0.0862919, 0.0803336, 0.0525253, -0.521266, -0.147522, 0.0520743, 0.0130111, -0.25165, -0.178016, 0.1572, 0.593223, 0.288005, 0.0733371, -0.0463824, 0.378413, 0.00726889, -0.590884, -0.44996, 0.180188, -2.99214, 0.0224799, 0.197293, -0.252283, -0.130615, 0.127247, -0.0476512, -0.037862, -0.335182, 0.587069, -0.37036, 0.143365, 0.14101, 0.00844367, -0.0325403, -0.524887, 0.12508, -0.455421, 0.150689, -0.0935375, -0.0139019, -0.214305, -0.0085985, -0.112514, -0.585091, 0.197523, 0.126703, -0.263862, 0.3799, -0.0966588, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.224358, 0.167353, -0.0662825, 0.342707, 0.279024, -0.33001, 0.0597509, -0.193055, -0.0417542, 0.0532701, 0.0530644, -0.0526741, -0.00358969, 0.0979895, -0.273428, 0.187284, -0.498815, -0.22319, -0.483932, 0.0931271, -0.00642317, 0.0812803, -0.0463489, 0.434699, -0.309641, -0.0720964, 0.00171577, 0.117297, -0.551411, 0.568103, 0.0807247, -0.216152, 0.168453, -0.0386124, 0.0583226, 0.109608, -0.559172, -1.4369, -0.193939, 0.183476, 0.625839, -0.0695031, -0.165689, 0.0905244, -0.441103, 0.0624169, -0.00599097, 0.380139, 0.0353325, 0.309113, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.326887, -0.236265, -0.443441, -0.679716, -0.784223, 0.274144, 0.0791587, 0.147962, -0.152951, -0.204867, -0.696859, -1.18151, -2.86186, 0.0857677, -0.523726, 0.190156, 0.58414, 0.294217, -0.221548, 0.728514, -0.481476, -0.13612, 0.0784291, 0.763322, -0.305645, -0.273322, -0.327107, 0.102046, -0.0491299, 0.060955, 0.145548, -0.974298, -0.606731, 0.012342, 0.159737, -4.42915, -0.178312, -0.602792, -0.256964, -0.033845, 0.0587021, 0.22635, -0.0601575, -0.158482, -0.653325, -0.0189144, -0.120868, -0.0963279, 0.121707, -0.0182063, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.526305, 1.71408, 0.372727, -0.582606, 2.26835, 0.0308952, 0.249987, 0.716547, -0.237899, 1.29742, 0.759837, -0.750451, 0.559214, 0.083477, -0.138228, 0.0422491, 1.17899, 0.21491, 1.43661, -0.103369, 0.85932, -0.00630826, 1.03313, 0.911829, -0.263989, 0.273578, 0.243129, -0.396771, -0.624171, 1.41538, 0.773388, -0.348153, 0.942395, 0.0105548, -0.302486, -2.1152, 0.310123, -0.630047, 0.0110817, 0.607408, -1.4456, -0.260142, -0.343844, -0.134661, 0.34345, 0.19171, -0.29952, 0.43305, 0.341816, 1.07424, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.126784, -0.242457, 0.142808, 1.17478, -0.118502, -0.392071, 0.0292872, -0.37369, 0.222451, -0.196881, 0.0776157, -0.143507, 0.289716, 0.0452543, -0.217626, 0.460591, 0.0400446, -0.0818519, 0.12061, -0.0926846, 0.0116325, -0.166399, -0.214031, -0.0445302, 0.0452673, -0.0402233, -0.104201, 0.178601, -1.35112, 0.230142, 0.181682, 0.09159, 0.250049, 0.0372567, -0.31564, -0.337757, -0.0924307, 1.44583, -0.0302327, -0.117097, -0.125365, -0.181032, -0.023779, -0.168492, 0.0999448, 0.239675, 0.159604, -0.193724, -0.0262318, -0.624146, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1948, -1.236, 0.1088, 0.2876, -0.1155, -0.3064, 0.03262, 0.4448, 0.249, -0.1339, -0.2043, 1.114, -0.2844, 0.1975, -0.5615, 0.2002, 0.6, -0.814, -1.734, -0.2573, -2.867, 0.329, -1.058, 0.6187, -0.12164, -0.2351, 0.359, -0.06604, -0.1373, 0.1931, 0.1787, -0.335, 0.05502, 0.04266, 0.0441, -0.3745, 0.1147, -1.26, -0.213, -0.2235, 0.0669, -0.654, -1.003, -0.04327, -1.199, -0.2241, 0.108, 0.3787, -1.099, -0.1081], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01993, 0.2468, -0.1483, -0.11, -0.101, 0.03087, -0.02962, 0.06573, 0.0939, 0.1313, 0.1309, 0.1261, 0.1619, 0.1094, 0.0691, -0.0777, -0.1649, 0.1189, 0.1044, -0.1272, 0.1648, 0.08704, 0.1283, -0.05383, 0.283, -0.003565, 0.03647, -0.01826, -0.08746, -0.0969, 0.1348, -0.05582, 0.1219, 0.02028, -0.04913, 0.2236, -0.1487, -0.141, 0.03305, -0.0679, 0.002188, 0.12177, -0.2166, -0.10284, 0.11383, -0.0805, -0.02293, 0.0953, 0.0595, 0.3428], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.301, 0.1458, 0.2656, 0.1965, 0.587, -0.01306, 0.0452, 0.4297, -0.4355, -0.1141, -0.478, -0.1602, -0.3042, 0.1871, -0.04034, 0.1691, 0.5293, -0.02834, -0.09875, 0.4136, -0.2448, 0.02596, 0.595, -0.685, 0.00522, -0.03015, 0.6167, -0.1265, -0.0933, 0.4016, -0.9067, 0.3372, 0.1068, 0.003242, 0.01181, -0.4858, 0.4692, -0.104, -0.1432, 0.1482, -0.05426, -0.1593, 0.04956, -0.1194, -0.1268, -0.1283, -0.2627, -0.1384, -0.1504, 0.2205], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3032, 0.941, 0.1598, 0.4546, -0.516, 0.2013, -0.064, -0.2776, -0.0494, -0.3467, -0.1718, -0.613, -0.259, -0.1173, 0.776, -0.1731, -0.3445, 0.4758, 0.9907, -0.553, 0.2954, -0.1054, 0.4062, 0.284, 0.1648, -0.3428, -0.2522, -0.00421, 0.111, -0.815, -0.195, -0.4153, 0.03952, -0.04083, -0.2137, -0.0467, 0.4507, 0.4028, -0.2328, 0.03326, -1.035, 0.6787, 0.424, -0.2374, 0.1991, 0.0597, -0.443, -0.1299, -0.8535, -0.256], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -4.676, 0.4304, 0.04715, 0.5215, -1.148, -0.1667, 0.0786, -0.2605, 0.02524, 0.9624, 0.501, -0.5483, 0.163, -0.1952, 0.145, -0.5356, -2.678, 0.1462, -0.2693, -0.01678, -0.4092, -0.04184, -0.8945, -0.188, 0.06033, -0.4238, -0.2025, -0.2507, 0.1367, -0.7075, 0.1309, -0.818, -0.2255, 0.00911, 0.2834, -0.8877, 0.15, -4.402, 0.0474, 0.0706, -0.7812, -0.0742, -0.03625, -0.422, 0.05823, 0.1168, -0.0827, 0.005665, 0.3452, -0.514], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.10065, -0.422, 0.01889, 0.4521, 1.01, -0.2935, 0.09375, -0.265, -0.0922, -0.2473, -0.2776, -0.1077, -0.1035, 0.004875, -0.0776, 0.5386, 0.4727, -0.046, 0.2039, -0.04718, -0.09344, 0.1377, -0.562, -0.10425, -0.021, -0.2654, 0.2522, 0.01817, -0.167, -0.3464, 0.01918, 0.1471, -0.3384, 0.03436, 0.0374, 0.5293, 0.1499, 0.2421, -0.1833, -0.691, 0.5474, 0.673, -0.2014, 0.02998, -0.073, 0.12225, 0.02385, -0.07825, 0.0552, -0.4956], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02423, 0.4468, 0.2035, -0.254, -0.2725, -0.01078, 0.2842, 0.2372, 0.09924, 0.0002663, 0.1393, 0.3933, -0.4553, 0.1304, -0.2979, -0.2258, 0.2379, 0.02643, 0.1631, -0.1165, 0.3767, -0.10626, -0.3123, 0.1449, 0.0893, -0.4973, -0.111, -0.1824, -0.3044, 0.03613, 0.2954, -0.5923, 0.2354, 0.03204, 0.1458, 0.3093, 0.305, 0.0849, -0.4392, 0.03232, -0.000406, 0.1772, -0.11487, 0.4119, -0.1268, -0.0629, -0.176, 0.2937, 0.06604, 0.1202], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.6763, -0.1321, 0.4402, 0.8633, -0.553, -0.1875, 0.3604, 0.2874, -0.07367, 0.359, -0.1948, -0.1783, 0.1495, 0.1775, 0.3413, 0.694, -0.04715, 0.2206, -0.2018, 0.02533, -1.179, 0.1637, -0.4246, 0.6094, -0.1153, -0.004, -0.1826, -0.05234, 0.31, -0.5854, 0.1467, -0.1722, 0.3818, -0.013725, -0.1469, -0.2195, -0.5303, 0.02103, 0.2646, -1.135, 0.1361, 0.319, -0.05402, -0.144, -0.04984, -0.1986, -0.5205, -0.3608, 0.5103, -1.295], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04373, 0.01677, 0.011154, 0.04526, 0.01997, -0.05157, 0.01443, -0.000944, -0.02435, -0.02625, -0.05856, -0.00915, 0.02077, 0.015076, -0.0485, 0.01111, 0.02087, 0.0003016, -0.02469, 0.02333, 0.01566, 0.03003, -0.0401, -0.05215, -0.05215, 0.006454, 0.0127, -0.03087, 0.007214, 0.04056, -0.03052, 0.01369, -0.0466, -0.02328, -0.005478, -0.04294, 0.03442, -0.01055, 0.01413, -0.01314, -0.00904, -0.02776, 0.03397, 0.03326, -0.02838, -0.04742, -0.00923, -0.01573, -0.03513, 0.01112], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2212, -0.9907, -0.001594, -0.3857, -0.6226, -0.1879, 0.1251, -0.1932, 0.08765, 0.06128, 0.3477, 0.3135, 0.3894, 0.1028, -0.1351, -0.04272, -0.3872, -0.215, -0.2297, -0.1322, 0.2727, 0.02664, 0.2795, 0.2786, -0.3352, -0.05252, 0.1298, 0.01726, -0.159, -0.1274, 0.145, -0.006042, -0.10583, -0.02486, -0.1205, -0.02272, -0.487, -0.296, 0.07465, -0.1302, -0.2937, -0.0704, -0.07855, 0.02002, -0.1083, 0.0742, 0.184, -0.00895, 0.1681, -0.081], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.085, -0.1133, 0.0175, -0.691, 0.2102, -0.4539, -0.1813, 0.2499, -0.1499, 0.2356, 0.002497, -0.464, -0.558, 0.2216, -0.2303, -0.03748, 0.03226, -0.2405, -0.2202, 0.11414, 0.372, -0.03152, -0.546, 0.6895, -0.6553, 0.1554, -0.08923, -0.0736, -1.649, 0.01216, -0.1067, -0.01704, 0.07715, -3.785e-05, 0.161, -0.3499, -0.1873, 0.01903, 0.05203, -0.1451, 0.4634, -0.283, -0.0512, 0.2683, 0.1221, -0.2255, -0.1516, 0.2534, -0.6836, -0.05972], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.361, -0.24, 0.3513, -0.6123, -0.1632, -0.1754, -0.0715, 0.1288, -0.1566, 0.1904, -0.2203, 0.010086, -0.362, -0.0848, -0.096, 0.1467, 0.346, -0.00722, -0.1288, -0.0925, -0.10126, -0.0368, -0.4602, 0.335, -0.276, 0.1225, -0.02675, -0.01775, 0.828, -0.12085, 0.1361, 0.0885, -0.2062, 0.00462, 0.2147, 0.3174, 0.1309, -0.4304, 0.0338, -0.2042, 0.519, 0.05173, -0.1885, -0.0872, -0.1687, -0.2382, -0.1222, -0.1239, -0.05762, -0.2004], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.8384, -1.062, -0.1035, 0.4312, 0.1366, -0.1051, -0.1992, -0.3113, -0.11865, 0.02103, 0.1494, -0.1603, 0.0721, -0.001698, -0.004246, -0.09076, 0.593, -0.06036, 0.307, 0.01921, -0.4856, 0.2101, -0.429, 0.273, 0.03137, 0.0565, -0.0307, 0.07275, -0.086, 0.014595, 0.2117, -0.00384, -0.1204, 0.00671, 0.00909, 0.04764, 0.198, -1.916, -0.2303, 0.09186, -0.2935, -0.0857, -0.8667, 0.06506, 0.178, -0.5933, 0.02603, 0.1048, -0.4312, -0.318], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1461, -0.309, 0.006912, -0.054, -0.1842, -0.332, -0.04605, 0.02036, -0.4128, 0.546, -0.3672, -0.2278, -0.2915, -0.1752, 0.473, 0.379, 0.2164, -0.04672, -0.2595, -0.4329, -0.1236, -0.0645, -0.854, 0.9014, -3.121, 0.2319, 0.3513, 0.07416, 0.1216, -0.4788, 0.02802, -0.927, 0.231, 0.04355, 0.001434, 0.3486, -0.28, -0.02773, 0.2112, -1.063, 0.475, 0.2988, -0.11664, 0.10114, -0.1938, 0.1699, 0.1467, 0.2334, 0.362, -0.5815], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1288, 0.09015, 0.1404, 0.0966, -0.04276, -0.09607, 0.1572, -0.0248, 0.0082, -0.3457, -0.2228, -0.473, 0.003933, 0.07166, -0.02426, 0.08203, -0.3586, -0.09314, 0.05853, 0.3267, 0.1082, -0.1799, 0.521, 0.2025, -0.1394, -0.0609, 0.2136, -0.01639, -1.786, -0.1721, 0.1998, 0.0739, -0.2361, 0.03818, 0.059, -0.06174, -0.1809, 0.1746, -0.0003135, -0.2466, 0.3708, 0.04718, 0.4644, -0.2952, -0.05835, -0.1254, 0.1095, -0.288, 0.0336, 0.201], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.06885, 0.5215, -0.4893, -0.009445, -0.1808, 0.3198, -0.01875, -0.1494, 0.08636, -0.817, -0.0843, -0.217, 0.184, 0.1945, 0.2015, -0.2876, -0.2568, -0.05847, 0.3823, -0.0429, 0.6772, -0.1711, 0.3574, -0.2396, -0.1608, 0.0915, -0.10803, 0.1473, -0.4062, 0.2915, -0.523, 0.2269, -0.4048, 0.00566, 0.11523, 0.7744, 0.5044, 0.3186, 0.08795, 0.648, -1.047, 0.295, 0.8013, -0.1428, -0.08386, 0.4216, 0.1515, -0.6553, -0.1244, -0.3857], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02298, 0.0893, -0.09784, -1.949, 0.3528, 0.0976, -0.05807, -0.2069, -0.05322, -0.1736, -0.151, 0.1093, -0.1257, 0.03314, -0.1464, -0.2189, 0.533, -0.08765, -0.0714, 0.0975, 0.0915, 0.06604, -0.07886, 0.0848, -0.1761, 0.2389, 0.1744, 0.01094, -0.2715, -0.253, 0.1251, 0.12195, -0.04175, 0.0435, -0.1254, 0.10803, 0.02518, -0.1267, 0.03992, -0.3057, -0.2656, -0.0629, -0.3691, 0.0876, 0.0764, -0.0217, 0.1521, -0.0772, 0.1497, -0.1912], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01761, 0.1129, -0.555, -0.11005, 0.543, -0.4116, 0.1537, -0.1626, -0.1461, 0.3413, 0.1903, 0.2952, 0.12354, 0.114, 0.0922, 0.4788, 0.6177, -0.4998, -0.1327, 0.1582, -0.1497, -0.0746, 0.0962, 0.2546, -0.08496, 0.3843, 0.2041, -0.2937, 0.2764, 0.4756, -0.285, -0.2063, 0.0356, -0.04623, 0.0781, 0.7397, -0.1732, -0.261, 0.03998, 0.1418, -0.03049, -0.2445, -0.629, -0.31, 0.2708, -0.09595, -0.59, -0.461, 0.2627, 0.298], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3992, -0.4165, 0.1476, 0.3164, -0.0932, -1.077, 0.00201, -0.085, -0.0007997, -0.04153, 0.02797, 0.04028, 0.03314, -0.09454, 0.11084, -0.2162, 0.0609, -0.05176, -0.0638, -0.02858, 0.0918, -0.05655, 0.1475, 0.010895, 0.01205, -0.04504, -0.1626, 0.012695, -0.4458, 0.01482, 0.1086, 0.00829, -0.1732, -0.03128, -0.08105, -0.0602, 0.09045, -1.382, -0.01729, 0.043, -0.10095, 0.014854, 0.3552, 0.0798, 0.01941, -0.2472, 0.02184, -0.09924, -0.357, -0.3064], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3203, 0.10376, -0.3467, 0.1117, -1.139, 0.138, -0.184, 0.0927, -0.2217, -1.027, -0.1043, -0.0512, -0.615, -0.186, 0.04977, -0.4646, -0.09406, -0.10657, 0.1891, -0.314, 0.2622, -0.1964, 0.158, -1.469, -0.3328, 0.05185, -0.1818, -0.2025, 0.2803, 0.4097, -0.4646, 0.3052, -0.00751, 0.03802, 0.2551, -0.505, -0.271, 1.766, -0.0525, 1.556, -0.4836, -0.1454, 0.4617, -0.06793, 0.1772, 0.2769, -0.24, 0.2418, -0.6724, -9.31], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.12256, 0.8193, 0.3633, 0.36, 0.03833, -0.309, -0.11096, 0.1317, 0.012856, 0.0806, -0.2944, 0.3403, -0.03464, -0.0722, -0.1231, 0.1553, 0.935, -0.1516, -0.3845, 0.05557, -1.19, 0.06003, -0.2377, 0.02914, -0.273, 0.1249, 0.10583, -0.1559, -1.476, 0.3242, 0.0532, 0.0811, 0.1641, -0.01538, 0.00528, -0.3208, -0.3516, -0.4873, -0.08887, 0.01953, 0.2319, -0.1791, -0.0688, 0.1335, -0.425, -0.0761, 0.0904, 0.1266, -0.1106, 0.5747], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3074, -0.4387, 0.1602, 0.05405, -0.7227, -0.03647, -0.07904, 0.03726, -0.1022, 0.1204, -0.254, 0.099, 0.2338, -0.1891, -0.152, 0.302, -0.7207, 0.208, 0.0507, -0.06094, 0.166, 0.003054, 0.11597, 0.4604, -0.00348, 0.1066, -0.4863, -0.01047, 0.0322, -0.526, -0.0554, -0.1903, 0.1531, -0.0212, 0.06934, 0.1647, -0.3787, -0.0758, -0.1656, -0.1144, -0.4082, -0.01845, 0.1575, 0.02371, -0.3313, -0.0979, 0.0386, -0.0658, -0.2544, -0.11395], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2805, -0.593, -0.48, 3.94, 0.375, -0.728, -0.4893, -0.5195, 0.7046, -0.2551, 0.4822, -0.3164, 0.599, 0.2546, -0.02477, -0.999, -0.07404, -0.1207, -0.05133, 0.0995, 0.6807, -0.281, -0.0337, -0.0686, 0.2191, -0.0616, -0.6177, 0.4763, -0.965, 0.4082, 0.2167, 0.4749, 0.10693, -0.007557, -0.528, -0.2979, -0.894, 0.2174, 0.535, -0.2166, -0.6494, -0.09827, -2.582, -0.1577, 0.349, -0.9697, 0.3552, -0.05463, -1.061, 0.03473], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03534, -0.0311, 0.03848, 0.007965, -0.01595, -0.07306, 0.0078, 0.01186, 0.0253, 0.03123, -0.01229, 0.015205, -0.06274, -0.006027, -0.02855, 0.005447, -0.01653, 0.00548, -0.04416, 0.01576, 0.03146, -0.02061, -0.04776, -0.0543, -0.01727, -0.03986, 0.02287, 0.007492, 0.013275, -0.00742, -0.03099, -0.04898, -0.01096, -0.005436, -0.01528, 0.01257, -0.01431, 0.01114, -0.04144, -0.02057, -0.02565, -0.01634, 0.04138, 0.01425, -0.0166, -0.01659, 0.003075, 0.02678, -0.010185, -0.000505], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4673, 0.2515, 0.2803, 0.9863, 0.2678, -0.0152, 0.07947, -0.649, 0.0925, -0.07635, -0.04758, 0.4568, -0.10187, -0.03494, -0.3308, 0.6606, -0.5, -0.6025, -0.3892, 0.06116, -2.781, -0.1016, -0.12134, 0.1019, 0.1967, 0.006424, 0.01869, 0.03885, -1.485, 0.387, 0.0654, -0.06012, 0.02988, -0.03207, -0.1664, 0.0945, 0.0542, 0.8774, -0.2224, -0.3188, 0.435, -0.2957, 0.6724, 0.006004, -0.441, -0.0057, -0.2184, 0.1852, 0.01037, -0.346], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.577, -2.033, 1.032, 0.2313, -0.4739, -1.254, 0.07574, -0.1622, -0.2642, 0.2568, -0.003437, 1.44, -0.7344, -0.0638, 1.018, 0.695, 0.3484, -0.461, 0.1824, 0.4194, -0.1255, -0.0511, 0.8003, 1.053, 0.05704, -0.543, -0.954, 0.1337, -1.914, -0.402, 0.6626, 0.28, -1.0625, 0.005253, -0.1602, 0.3987, 0.5513, -0.778, -0.8413, 0.3083, 0.671, 0.461, 0.918, -0.8823, 0.002369, 0.699, -0.2617, 0.576, 0.7656, 0.4573], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.8433, 0.6265, 0.0355, 0.467, 0.8394, -0.096, 0.02194, 0.2428, -0.04956, -0.62, 0.009384, 0.0693, 0.267, 0.1477, 0.1202, 0.3157, -0.1984, 0.1002, 0.3364, -0.5996, 0.2235, -0.4006, 0.012436, 0.2612, 0.0815, 0.0362, 0.327, -0.0551, 0.452, -1.266, 0.2786, -0.03857, 0.1989, 0.006027, 0.1134, 0.2191, 0.461, 0.6343, -0.07086, -0.4573, -0.4702, 0.2964, 0.0251, -0.1693, -0.0244, -0.287, -0.03433, -0.007042, 0.3071, 0.0737], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.07794, 0.5957, -0.0649, -0.4517, 0.8555, -0.1444, 0.08386, 0.2747, 0.2812, 0.299, 0.11536, -0.007664, 0.04337, 0.354, -0.2413, 0.3936, 0.94, 0.0997, -0.3445, -0.12366, -0.07983, 0.03864, -0.158, 0.3782, 0.04535, 0.1147, 0.04633, -0.173, 0.0285, 0.1141, -0.08167, -0.293, 0.03314, -0.04053, 0.02621, 0.1847, 0.2029, -0.385, 0.09576, 0.05164, 0.4626, -0.3013, -0.2231, -0.097, -0.0501, 0.2605, 0.02196, -0.2106, -0.06586, 0.0776], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1417, -0.2847, 0.1743, 0.2234, -0.09, 0.2279, 0.2275, -0.00632, -0.6187, 0.1473, -0.2651, 0.1804, -0.0755, 0.3506, 0.07587, -0.03093, -0.665, 0.1182, 0.04834, 0.2301, -0.3452, 0.0822, 0.03482, 0.2776, -0.08417, -0.2998, 0.2374, -0.00778, -0.7075, 0.9224, 0.00803, 0.04642, 0.1715, 0.02296, -0.1321, 0.1274, 0.3403, -1.716, -0.226, 0.3655, 0.0838, -0.226, 0.2393, -0.0986, -0.01587, 0.0689, 0.03418, 0.473, 0.463, -0.66], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.22, -0.2394, 0.04294, 0.856, -1.506, -0.4058, 0.0994, 0.39, -2.674, -1.166, 0.1471, -0.212, -0.2217, -0.2078, 0.00754, 0.524, -3.58, 0.3413, 0.2439, -2.32, -2.236, 0.1578, 1.058, -0.9004, -1.941, 0.2563, 0.3604, -0.1045, -3.154, 0.2927, 0.5728, -0.2324, 0.1372, -0.03473, -0.2161, -0.5977, -0.4397, -0.9077, 0.2085, -2.848, 0.2974, 0.1543, -0.768, -0.0335, -0.1718, 0.04388, 0.00474, 0.0578, 0.3657, -2.053], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0826, 0.1267, 0.02563, 0.0905, 0.0626, -0.1044, -0.0732, 0.03284, -0.01508, 0.07855, 0.00622, 0.04465, -0.06537, -0.01929, 0.09625, 0.03108, 0.0417, -0.0803, 0.1578, -0.04333, 0.1882, 0.0453, -0.07886, -0.11646, -0.01569, -0.03488, -0.0897, -0.0958, 0.04984, -0.164, 0.1716, -0.002502, 0.03134, 0.02606, -0.048, -0.0878, 0.10626, 0.1887, -0.01009, -0.07416, -0.0355, 0.0337, -0.2175, 0.01569, 0.0989, 0.0041, -0.0947, -0.03012, -0.0862, 0.1848], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.121, 0.6553, -0.2607, -0.04633, 0.007576, -0.04544, -0.02322, 0.0336, -0.0369, 0.03494, -0.0663, -0.12354, -0.0685, 0.0725, -0.04733, -0.0896, 0.2001, -0.2751, -0.1659, -0.2424, 0.2754, 0.0664, -0.1276, 0.3293, 0.003815, -0.12036, 0.2108, -0.00453, 0.0896, 0.00531, -0.1401, -0.3018, -0.0668, -0.02103, 0.00121, 0.073, 0.07227, 0.10077, -0.2029, 0.1313, 0.2223, -0.1632, 0.3018, -0.275, -0.10095, -0.05453, -0.1337, 0.1451, -0.2637, -0.01924], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04337, 0.09656, -0.1921, 0.515, 0.332, -0.7905, 0.07104, -0.1215, -0.092, -0.0875, -0.01277, 0.639, -0.4548, 0.09515, -0.4956, -0.8687, -0.5425, -0.04648, -0.4705, 0.003918, 0.0639, -0.07465, -0.6953, -0.4624, -0.2822, 0.01985, 0.1343, -0.0927, 0.584, -0.6646, 0.2136, -0.1398, 0.4717, -0.0442, -0.0527, 0.6914, 0.691, -0.3523, -0.3662, -0.01784, 0.3816, -0.01788, 0.006363, -0.575, 0.02861, 0.4033, 0.4573, -0.2334, 0.705, 0.1343], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2455, -0.07166, 0.1698, 0.02083, 1.458, 0.3428, -0.01044, -0.09735, -0.1785, -0.5415, -0.318, 0.02293, -0.4622, 0.01625, -0.02226, -0.0557, -0.1654, -0.1422, -0.07996, -0.5464, -0.0358, -0.2424, -0.1707, 0.02171, -0.2157, 0.10657, -0.02315, 0.001201, 0.3284, 0.3994, -0.2484, -0.3115, -0.02275, 0.0468, 0.0816, -0.301, 0.3188, 0.51, -0.06036, 0.4014, -0.2505, 0.07983, 0.519, -0.07355, -0.1619, 0.218, -0.3567, -0.2803, 0.2556, 0.0384], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.084, -1.215, 0.1313, 0.4219, 0.858, -0.6353, -0.0779, -0.1321, -0.05222, -0.1715, -2.709, -1.083, -0.566, -0.9106, 0.3813, -0.02531, -0.05496, -0.1868, -3.684, 0.3154, 0.558, 0.5244, 0.77, 0.3994, -0.339, -0.272, 0.769, -0.03662, -1.564, -1.01, 0.1897, -0.3728, 0.0756, 0.01598, -0.02539, -0.0523, 0.05203, -1.463, 0.2443, -0.451, 0.3281, 0.2322, -0.7495, -0.1267, 0.78, -0.1394, -0.0969, 0.2483, -0.6523, 0.01499], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.6675, -2.3, -1.108, 2.855, 1.184, -0.909, -0.9644, -1.028, 1.005, -0.7095, 0.581, -0.1538, 0.8037, 0.7715, -0.01825, -1.979, 0.2861, 0.07465, 0.0811, 0.4514, 0.71, -0.5083, -0.297, 0.555, 0.479, 0.0946, -1.014, 1.176, -0.906, -0.3325, -0.01327, 0.9927, -0.217, 0.02682, -0.667, -0.1646, -0.915, -1.844, 0.984, -0.481, -0.931, -0.3706, -7.51, -0.661, 0.1361, -1.703, 1.219, -0.2213, -1.661, 0.05182], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.708, -1.329, 0.1945, 0.9897, 0.071, -0.952, 0.2236, -0.4585, -0.01839, 0.5464, 0.2457, -0.07837, -0.02438, -0.41, 0.1532, -0.462, 0.12024, 0.1355, 0.2046, 0.2712, 0.535, -0.1708, 1.03, 1.076, 0.3472, -0.171, 0.2644, 0.312, -0.791, 1.13, -0.8564, 0.3184, -0.375, -0.03177, 0.1704, -0.586, -0.04788, 0.5405, 0.271, -0.4443, 0.1876, -1.075, 0.0418, -0.451, 0.3704, 0.665, 0.2408, 0.1996, -0.8174, -0.4792], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.003084, 0.3728, 0.1718, 0.3901, 0.533, -0.4465, 0.04315, -0.2407, -0.1144, 0.2615, -0.691, 0.1354, -0.02678, -0.001246, 0.04614, 0.2438, 0.0353, -0.2211, -0.3826, 0.00983, -0.596, 0.01286, 0.10724, -0.3157, -0.756, 0.1385, 0.2651, -0.1608, 0.063, 0.4485, 0.699, 0.1499, 0.268, 0.002392, 0.2428, -0.1843, 0.04382, -0.29, -0.1345, -0.238, 0.53, -0.2886, 0.366, 0.421, -0.04343, -0.007458, -0.2734, -0.06573, -0.284, -0.9683], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1904, -1.022, -0.07135, 0.539, -0.3262, -0.3167, -0.3499, -0.1614, 0.0885, -0.2219, 0.00663, 0.1829, 0.113, 0.1799, 0.2036, -0.5186, 0.61, 0.02754, 0.2542, 0.1409, 0.2695, -0.1552, 0.0785, 0.4534, 0.003128, 0.2747, -0.1378, 0.1924, 0.4717, -0.5205, 0.04092, 0.1787, 0.02542, 0.04736, -0.1189, 0.2373, -0.0796, -0.61, 0.276, -0.1016, -0.1995, 0.1475, -2.82, -0.3394, 0.0794, -0.4937, 0.1395, -0.06726, -0.4294, -0.06964], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0609, 0.7007, 0.2383, -0.3474, 0.2546, -0.13, 0.0838, 0.005764, -0.02066, -0.0698, -0.2246, -0.1534, 0.1913, 0.0392, 0.04736, 0.03183, 0.1327, -0.10913, 0.2727, -0.0934, 0.0992, -0.0188, -0.411, 0.04337, -0.0918, -0.07837, 0.2313, -0.1212, -0.1498, -0.1544, -0.03293, 0.006172, 0.04993, 0.001371, 0.000725, 0.1406, -0.2593, -0.1156, -0.02498, -0.01116, 0.1519, 0.11084, -0.0681, 0.0852, 0.2245, -0.03506, -0.01137, -0.0354, 0.09766, 0.19], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01388, 0.0005, 0.02856, -0.02759, 0.003862, 0.02103, -0.01628, -0.003736, 0.02528, -0.003748, -0.0487, 0.03995, -0.01985, 6.75e-05, 0.00212, -0.0003638, -0.0228, -0.04892, -0.0388, -0.02133, 0.04788, 0.014854, -0.00612, 0.0247, -0.0537, -0.02908, -8.38e-05, -0.0446, -0.02928, 0.02448, 0.04016, -0.0002542, -0.02663, 0.0494, -0.0449, 0.003998, -0.04114, 0.03574, -0.01533, 0.02982, -0.02101, -0.0442, 0.03708, 0.02887, -0.0453, -0.0455, 0.03616, -0.01086, -0.0167, -0.04916], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.06854, -0.855, 0.0715, 0.2255, -0.2205, -0.3699, 0.03638, 0.1302, 0.12036, -0.0305, -0.3342, -0.3064, -0.1469, 0.076, -0.093, 0.3174, -0.03513, 0.0341, 0.236, 0.01015, -0.2612, 0.209, -0.3022, 0.1464, -0.05878, 0.006435, 0.03223, 0.02187, -0.4053, -0.1082, -0.0654, -0.1733, -0.1693, 0.010155, -0.01012, 0.3738, 0.04358, 0.206, -0.03857, 0.0889, -0.1558, -0.03323, -0.4302, -0.01072, -0.01511, -0.2522, 0.02553, -0.03476, -0.2947, 0.2815], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.272, 0.6206, 0.1283, -1.643, 0.1913, -0.275, -0.09, 0.1173, -0.01883, -0.178, 0.02173, -0.002468, -0.0758, -0.02095, -0.03937, -0.0988, 0.1449, 0.01875, -0.2632, 0.0879, -0.7637, 0.0883, -0.10645, -0.02142, 0.01581, -0.2397, 0.000549, 0.08093, -0.607, -0.4827, 0.0732, 0.1208, 0.2073, 0.00381, 0.004547, -0.10034, 0.0716, -0.2876, -0.272, -0.1357, 0.2262, 0.0366, -0.5205, -0.4944, -0.2494, -0.0745, 0.00903, 0.2004, -0.003565, 0.2954], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.05322, -1.896, 0.10504, 0.4941, 0.2372, -0.0588, -0.002409, -0.09845, 0.1029, -0.4373, 0.0372, 0.2454, -0.0438, -0.437, 0.1274, 0.4763, -0.2778, 0.10724, -0.3813, 0.04074, -0.0934, -0.3928, -1.698, -0.3672, 0.08014, -0.0848, -0.467, -0.0583, -0.4497, 0.1159, -0.8296, -0.04526, -0.297, -0.0372, 0.005733, 0.395, -0.1158, 1.187, -0.05783, -0.1725, 0.3896, 0.07465, 0.2703, -0.1791, -0.10126, -0.3198, 0.0639, -0.09827, -0.0687, -0.014206], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1915, 0.7646, 0.1704, 0.0906, -0.2089, -0.8867, -0.1548, -0.7695, -0.2566, 0.02498, -0.1636, -2.664, -0.3218, -0.007404, -0.05124, 0.0168, 0.4075, -0.0308, 0.44, 0.1602, 0.2241, 0.1255, -0.3638, 0.2451, -0.2712, 0.1439, -0.4763, -0.013824, 0.341, -0.4438, 0.0489, 0.06015, 0.01982, 0.00763, 0.04913, -0.1036, 0.06726, 0.913, 0.04755, 0.2659, -0.812, -0.03525, -0.02788, 0.0872, 0.03186, -0.1344, -0.1004, 0.256, 0.007717, 0.02788], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.8066, 0.0863, 0.0803, 0.05252, -0.5215, -0.1476, 0.05206, 0.01301, -0.2517, -0.178, 0.1572, 0.5933, 0.288, 0.07336, -0.0464, 0.3784, 0.007267, -0.591, -0.45, 0.1802, -2.992, 0.02248, 0.1973, -0.2522, -0.1306, 0.1272, -0.04764, -0.03787, -0.3352, 0.587, -0.3704, 0.1433, 0.141, 0.008446, -0.03253, -0.525, 0.1251, -0.4553, 0.1506, -0.09357, -0.0139, -0.2144, -0.0086, -0.1125, -0.585, 0.1975, 0.1267, -0.264, 0.38, -0.0967], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2244, 0.1674, -0.0663, 0.3428, 0.279, -0.33, 0.05975, -0.1931, -0.04175, 0.05328, 0.05307, -0.05267, -0.00359, 0.09796, -0.2734, 0.1873, -0.4988, -0.2231, -0.484, 0.09314, -0.006424, 0.0813, -0.04636, 0.4348, -0.3096, -0.0721, 0.001716, 0.1173, -0.5513, 0.568, 0.08075, -0.2162, 0.1685, -0.0386, 0.05832, 0.1096, -0.559, -1.437, -0.194, 0.1835, 0.626, -0.0695, -0.1656, 0.0905, -0.4412, 0.0624, -0.00599, 0.3801, 0.03534, 0.309], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.327, -0.2362, -0.4434, -0.6797, -0.784, 0.2742, 0.07916, 0.148, -0.153, -0.2048, -0.697, -1.182, -2.861, 0.08575, -0.524, 0.1902, 0.584, 0.2942, -0.2216, 0.7285, -0.4814, -0.1361, 0.0784, 0.763, -0.3057, -0.2734, -0.3271, 0.10205, -0.04913, 0.06094, 0.1455, -0.974, -0.607, 0.012344, 0.1598, -4.43, -0.1783, -0.603, -0.257, -0.03384, 0.05872, 0.2263, -0.06015, -0.1584, -0.6533, -0.01892, -0.12085, -0.0963, 0.1217, -0.0182], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5264, 1.714, 0.3728, -0.5825, 2.268, 0.0309, 0.25, 0.7163, -0.2379, 1.298, 0.76, -0.7505, 0.559, 0.0835, -0.1382, 0.04224, 1.179, 0.215, 1.437, -0.1034, 0.8594, -0.00631, 1.033, 0.9116, -0.264, 0.2737, 0.2432, -0.3967, -0.624, 1.415, 0.7734, -0.3481, 0.9424, 0.01055, -0.3025, -2.115, 0.31, -0.63, 0.011086, 0.6074, -1.445, -0.2603, -0.3438, -0.1346, 0.3435, 0.1917, -0.2996, 0.433, 0.3418, 1.074], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1268, -0.2424, 0.1428, 1.175, -0.1185, -0.392, 0.02928, -0.3738, 0.2224, -0.1969, 0.07764, -0.1436, 0.2898, 0.04526, -0.2177, 0.4607, 0.04004, -0.08185, 0.1206, -0.0927, 0.011635, -0.1664, -0.214, -0.04453, 0.04526, -0.04022, -0.1042, 0.1786, -1.352, 0.2301, 0.1816, 0.0916, 0.25, 0.03726, -0.3157, -0.3376, -0.0924, 1.446, -0.03023, -0.1171, -0.1254, -0.181, -0.02377, -0.1685, 0.0999, 0.2396, 0.1595, -0.1937, -0.02623, -0.624]] [0.370795, -0.152619, 0.048162, 0.0157031, -0.521196, 0.98311, -0.299583, -0.122592, -0.0288876, 0.28131, 0.247144, 0.291131, 0.120048, -0.25239, -0.020042, 0.0662301, 0.175796, -0.124619, 0.176211, -0.450682, -0.0487707, 0.134942, -1.54423, -0.0328708, 0.153854, -0.862966, -0.505743, -0.512484, -0.269037, 0.0731699, 0.101459, 0.165944, -0.635692, -0.216815, 0.158696, -1.96927, -0.766438, 0.299881, -0.606542, 0.107044, -0.0182208, 0.137277, -0.0887583, 0.12604, 0.0769094, 0.507144, 0.251952, -0.157838, -2.00164, 0.0357676, 0.3708, -0.1526, 0.04816, 0.0157, -0.521, 0.983, -0.2996, -0.1226, -0.02888, 0.2812, 0.2472, 0.291, 0.12006, -0.2524, -0.02003, 0.0662, 0.1758, -0.12463, 0.1763, -0.4507, -0.04877, 0.1349, -1.544, -0.03287, 0.1538, -0.863, -0.506, -0.5127, -0.269, 0.0732, 0.10144, 0.1659, -0.6357, -0.2168, 0.1587, -1.97, -0.7666, 0.2998, -0.6064, 0.10706, -0.01822, 0.1373, -0.08875, 0.1261, 0.0769, 0.5073, 0.252, -0.1578, -2.002, 0.03577] ReLU [[-0.0387133, -0.0155046, -0.471759, -0.0604356, 0.00311442, -0.0498351, 0.110855, -0.221669, -0.0073964, 0.0607576, -0.342119, -0.0605663, 0.193996, 0.701415, 0.00392149, 0.00140415, 0.0290869, 0.470526, 0.501767, 0.0165008, -0.215703, 0.0423069, -0.471235, 0.0182599, 0.0935315, 0.0667285, 0.101212, -0.310859, -1.41384, -0.635545, 0.426009, 0.0733308, -3.28564, -1.32084, -0.00588527, -0.0364263, -0.115237, -0.133925, 0.201589, -0.123174, -0.00455959, 0.160313, 0.296453, 0.330597, 0.177701, -0.122676, -0.132326, -1.01916, 0.0359761, 0.118164, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0271778, -0.00684705, 0.234241, -0.0695814, 0.0203713, 0.0693473, 0.0606626, 0.0480524, -0.0342943, -0.0498718, -0.0481669, -0.181714, -0.31486, -0.739782, 0.00480711, -0.0305836, -0.151011, -0.0913162, -0.438389, 0.348026, 0.0688034, -0.165293, -0.308572, 0.0355372, -0.0501784, 0.0590432, 0.0342841, -0.00568914, -0.155133, -0.160543, 0.0422484, 0.162773, 0.512521, -0.157687, -0.0741121, -0.0265581, -0.114588, 0.18364, -0.181117, -0.0812208, -0.00993477, -0.0902501, 0.0858901, 0.163902, 0.0250323, 0.117265, 0.0653323, 0.0677966, -0.0592896, 0.13407, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.105781, 0.0404694, 0.122207, 0.0318382, 0.292984, -0.127011, -0.234063, -0.244256, 0.0159392, 0.0111015, 0.0649614, 0.426696, 0.161512, 0.896349, 0.275678, 0.0302785, 0.358614, 0.0349979, 0.591311, 0.0887291, 0.152321, -0.102288, 0.0141934, 0.0115649, 0.119646, 0.474179, 0.00472399, 0.0311445, -0.267023, 0.421847, 0.0671359, 0.0564203, 0.980772, 0.00108223, -0.0569022, 0.00183732, -0.0448277, -0.432374, -0.193652, -0.611226, 0.0482962, -0.15391, 0.335117, 0.344546, 0.0690599, -0.0802563, -0.0933876, 0.0896617, -0.0201126, 0.0320444, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0372012, -0.19625, 0.00342054, -0.457142, 0.274464, 0.129284, 0.109524, -0.801141, -0.0329932, -0.0389148, -0.0875551, -0.217129, 0.0593401, -0.619848, -0.135083, -0.176369, -0.115911, 0.0240468, -0.456519, -0.648244, 0.00386267, 0.162096, -0.632595, 0.0289735, 0.0331694, 0.200402, -0.402239, 0.00119674, -0.115805, -0.957493, 0.478423, -0.0327202, 0.295927, 0.122284, -0.302353, 0.0772711, -0.0935471, 0.109239, -0.560196, -0.011331, -0.0113826, 0.0263148, -0.232477, -0.127447, 0.063959, 0.0925639, 0.0525322, 0.0913253, -0.0159089, -0.488305, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.071527, -0.0117178, -0.189455, -0.0422951, 0.413368, -0.013531, -0.04438, 0.0925133, 0.036778, 0.01944, 0.19394, -0.146447, -0.0161503, 0.510431, -0.0769086, -0.00461432, -0.0802574, -0.00291291, 0.0135803, -0.931091, -0.0274592, -0.0999718, -0.157237, 0.00224774, -0.0620489, 0.174409, -0.00924972, -0.125031, -0.0443752, -0.323637, 0.126524, 0.0858043, 0.47644, -0.137102, 0.0648558, 0.033765, 0.00849229, -0.0833672, -0.051078, 0.0381275, -0.0347272, 0.00351821, -0.0371411, 0.134324, -0.313504, 0.0210024, 0.00430295, 0.23531, -0.0543459, 0.10417, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0156214, -0.0645308, -0.00769147, -0.0145777, 0.404918, 0.0665176, 0.0170048, -0.0441023, -0.00481472, -0.00750421, -0.0211176, 0.130614, -0.0218892, -0.555602, -0.00655125, 0.00147039, 0.0013983, -0.0317096, 0.11102, 0.457199, -0.00371411, -0.0382232, -0.0491151, 0.0462189, -0.00207698, 0.00599692, 0.0105255, 0.00207348, 0.034502, 0.338289, -0.0578796, 0.0365157, 0.56811, -0.0159337, 0.00457181, -0.0474958, -0.0194112, -0.0311011, -0.0143427, 0.0539885, 0.0536445, 0.0404775, 0.0369055, -0.0742015, -0.0563313, 0.00274992, -0.00227578, 0.180415, 0.00434646, 0.00612896, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.01012, -0.0150611, -0.387257, 0.196751, -0.109736, 0.0148003, -0.371625, -0.228441, 0.0169521, 0.140555, -0.744928, -0.0210758, -0.00789743, -0.00742495, 0.301097, -0.00453209, 0.362208, 0.145243, 0.131618, -0.19477, -0.570968, -0.0671691, 0.0333943, -0.0417785, 0.166028, -0.0771416, -1.52012, 0.153132, -1.15283, -0.452032, -0.378442, -0.151338, -0.859338, -1.59213, -0.444162, -0.107314, -0.155716, -0.681751, -0.301501, 0.0301596, 0.0367455, 0.0495872, 0.0429096, 0.188033, -0.400503, -0.0179248, -0.40964, -0.274869, -0.107625, 0.297468, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.19889, -0.280864, 0.0309847, 0.0125023, 0.217867, 0.00162556, -0.257526, -0.0956868, -0.0368895, 0.28294, -0.0647958, 0.178945, 0.146105, 0.0784659, 0.0218127, 0.035339, -0.00240826, 0.00465485, -0.344217, 0.23568, -0.170936, 0.102816, -0.0219928, -0.0519228, -0.0418659, -0.171999, 0.137984, 0.0776427, 0.179279, -0.258097, -0.362012, 0.195535, 0.122994, -0.495941, -0.0764048, -0.115574, -0.125875, -0.0545997, 0.0460382, -0.125264, 0.0420197, -0.0688064, 0.602965, 0.0756125, -0.299597, -0.039835, 0.0453727, 0.0852775, 0.103476, -0.307117, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00658204, 0.204758, -0.651702, 0.210403, -0.556037, -0.353617, -0.430694, 0.258721, 0.0046955, -0.882671, 0.0102242, -0.0716994, -0.0130201, 0.385454, -0.284671, 0.249774, 0.342899, -0.0737421, 0.0148179, -1.27806, -0.0495757, 0.408314, -0.10251, -0.012039, 0.105585, -0.0311388, -0.138836, 0.177964, -0.636671, -0.0184184, 0.733021, -2.14589, -0.994717, 0.0273711, 0.00853863, -0.0882216, -0.0311352, -0.589536, -0.0359702, -0.148744, -0.00574387, 0.000891984, 0.0393928, -0.148963, -0.246334, -1.57218, -0.0405831, -0.0313906, -0.022804, -0.68832, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0108831, -0.132197, 0.0457422, -0.159739, -0.126589, -0.00599264, -0.51333, 0.0291658, -0.0261439, -0.0825805, 0.210571, -0.0761859, -0.0638584, 0.342658, -0.0103999, 0.0392722, -0.0451786, -0.190416, -0.145077, 0.0530679, -0.592518, 0.0403734, -0.197311, 0.0206729, 0.197949, -0.00277762, -0.339795, -0.112721, 0.0398799, 0.269299, 0.344324, 0.312753, -0.319316, -0.124154, -0.0133715, 0.0581529, 0.0754788, -0.00128276, -0.135524, -0.109892, -0.00865668, -0.484141, -0.055592, 0.124607, -1.2249, -0.0199003, -0.520173, -0.678168, -1.11122, 0.141972, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.175459, -0.013454, 0.065885, -0.0142125, 0.183688, -0.00560977, 0.0344003, 0.12705, -0.0242007, 0.018285, -0.0560116, -0.0326208, 0.0134358, 0.19906, -0.0443385, -0.013267, 0.0450793, 0.0318397, -0.125303, -0.0843542, 0.017631, -0.085437, -0.0723942, -0.0203916, 0.0343754, 0.0228453, -0.0514256, 0.0275078, -0.0583875, 0.00733918, -0.0476828, 0.0568559, 0.635944, -0.0237138, -0.0270132, 0.0154862, -0.00863968, -0.0849042, -0.0273137, -0.0548886, 0.0236569, -0.0878011, 0.0174821, -0.00313224, 0.0961912, 0.0171303, 0.0414183, 0.0263661, -0.0132858, -0.010021, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0115427, -0.0429275, 0.0372358, -0.0434663, -0.0286051, -0.0392265, -0.0384613, -0.00863227, -0.0176019, -0.030873, -0.0295995, -0.0384931, 0.0359073, -0.0261506, -0.0271163, -0.0266909, -0.0277741, -0.00760552, -0.00204933, 0.026434, -0.0474937, -0.00229492, -0.0215642, 0.0418416, -0.0272576, -0.0145614, 0.0197663, 0.0180043, -0.0359028, -0.0349623, 0.0357507, 0.0211188, -0.0495883, 0.0262672, -0.00157672, 0.0143734, -0.0500123, -0.0180167, -0.0131078, -0.0266114, -0.0222604, -0.026124, 0.0293658, 0.0227276, 0.0488844, -0.0325501, 0.036423, 0.0250749, -0.0454212, 0.025355, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.474201, 0.125672, 0.281593, -0.376269, 0.403451, -0.227013, 0.297623, 0.381765, -0.00147778, 0.133071, 0.242124, 0.169897, 0.960656, 0.323994, 0.175239, -0.132018, -1.77088, -0.420663, 1.19253, 0.133261, -1.00373, -0.715424, -2.45056, 0.0227642, 0.0226842, 0.297386, 0.497053, 0.198332, 0.142456, -0.807355, 1.5852, 0.563641, 0.534198, -0.674008, -0.295287, -0.100538, -0.639762, 0.244751, -2.63589, -0.0239201, 0.0245622, -0.0971206, 0.319002, 2.34995, -0.816394, 0.639679, 0.658932, 1.88114, -0.3373, 0.319977, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.149127, -0.926198, -0.76082, -0.454979, -0.679495, -0.0184885, 0.216555, -0.0224595, -0.0177976, -0.0175735, -0.293495, -0.623205, -0.591034, 0.378732, -0.359773, -0.0665518, 0.275039, 0.556414, 0.593373, 0.720026, -0.629898, -0.134016, -0.44132, 0.0241523, -0.0552607, 0.14146, -0.38178, -0.884936, 0.321014, 1.64959, 0.940476, 0.551359, 1.54475, -0.677266, -0.71491, 0.0496575, 0.226462, -0.38879, 0.318851, 0.345019, 0.0439984, 0.506659, -2.00773, -0.676945, 0.162514, -0.456655, -0.825185, 1.07302, -0.0139071, -0.0771223, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.200725, -0.00703634, 0.381013, -0.424057, 0.920631, -0.214178, 0.204593, 0.0891365, -0.0101977, 0.0447701, 0.16311, 0.228495, 0.183383, 0.178977, 0.390417, -0.0889822, -0.0458371, -0.0539813, 0.177821, 0.302256, -0.00787988, 0.0220694, -0.408683, 0.0136326, 0.184543, 0.204175, 0.0631948, -0.100548, 0.149692, 0.975994, 0.556428, 0.427273, 0.477995, -0.389855, -0.195648, -0.0267814, -0.0151038, -0.0740532, -0.183425, -0.397915, 0.00241736, -0.125263, 0.428774, 0.915886, -0.185132, 0.158631, 0.0905402, 0.129139, -0.0236033, 0.313661, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0635431, -0.546138, 0.933736, -1.14993, 0.167025, -0.0699506, -0.147134, 0.276309, 0.0293985, 0.162479, -0.235579, 0.349983, 0.683354, 0.638412, -0.671533, -0.0685216, 0.677099, 0.0201253, 0.454019, 0.2644, -0.831554, 0.525827, -0.284387, -0.00977424, -0.117658, -0.591279, 0.444686, 0.0422155, -0.249346, 0.32408, 1.22879, -0.0520214, 0.0604257, 0.0286828, -0.527184, -2.23226, 0.175166, 0.127677, -0.617515, 0.685934, 0.0466551, 0.332969, 0.675024, 1.06479, 0.467583, 0.0112824, 0.426669, 0.421485, -0.0905103, -0.695117, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.267085, 0.00964561, 0.360574, -0.434805, -0.879605, -0.218097, 0.197585, -0.0972844, 0.047187, -0.0793245, -0.0669474, 0.133273, 0.105435, 0.205263, 0.484972, -0.0217513, 0.212528, -0.0120123, 0.206003, 0.382917, 0.0527551, -0.0252335, -0.200712, 0.00636266, 0.18418, 0.0755579, -0.181502, -0.0523431, 0.0170893, 0.241613, 0.125682, 0.235423, 0.372166, -0.319971, -0.242811, -0.0103763, -0.131779, 0.0386721, -0.150354, -0.202989, -0.0387123, -0.0363925, 0.101976, 0.386699, 0.141443, 0.11969, 0.0369052, 0.261843, 0.00106762, 0.259787, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.037262, -0.337871, 0.2072, -1.22555, 0.350365, -0.122084, -0.0944926, -0.141918, -0.000659147, 0.134374, 0.028733, 0.152172, 0.346963, 0.115959, -0.554853, -0.288894, -0.285303, -0.0227962, 0.235421, 0.311543, -0.321947, -0.543643, 0.216317, -0.00119051, -0.0238464, -0.0595209, 0.393038, -0.0467724, 0.128221, 0.679259, 1.00673, 0.165174, 0.355219, -0.359784, 0.0065414, -0.136362, -0.176711, 0.0301079, -0.451236, -0.0496714, -0.0252386, 0.270989, 0.0937528, 0.501769, -0.481472, 0.114598, 0.479824, 1.32108, -0.175589, 0.480117, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0916469, -0.230152, -0.0103893, 0.0071895, -0.282429, -0.134394, -0.0852286, -0.060181, 0.0266415, 0.0256688, -0.0811237, 0.0471833, 0.0414653, 0.22569, 0.0548229, -0.0357184, 0.0491573, -0.00366027, 0.787259, 0.069456, -0.0550427, -0.140385, -0.246428, -0.0233539, -0.144091, -0.0335778, -0.0821428, 0.0809684, 0.0756236, 0.367691, -0.0796953, 0.0450373, -0.0115632, -0.0735462, 0.0274737, -0.0041765, -0.0664887, 0.0160521, -0.325265, -0.0200879, -0.020348, -0.154004, -0.295878, 0.217102, 0.179139, -0.0356375, 0.0483896, -0.302822, 0.0177153, -0.15524, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.197818, 0.053563, -0.00240006, -0.0267333, 0.276979, -0.0308019, -0.0326443, 0.027457, 0.00491336, -0.0455002, 0.0142839, 0.195795, 0.136174, 0.469778, -0.139149, -0.0085288, 0.204828, 0.152895, 0.177129, -0.411493, 0.0138226, -0.0248368, -0.148452, -0.0171041, 0.14417, 0.0957312, -0.0581702, 0.00556156, -0.0530825, 0.630908, 0.0714455, -0.291973, -0.697118, 0.0346639, 0.0243121, -0.0218977, 0.03909, -0.120074, -0.063828, -0.0715857, -0.0349176, -0.21121, -0.335633, -0.207926, -0.291356, -0.0102966, 0.0591598, 0.108618, 0.0289791, 0.135969, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0703824, -0.213137, 0.408365, -0.169631, 0.236376, 0.30102, 0.302051, -0.134991, -0.0144341, 0.516169, 0.15939, 0.108356, 0.0192409, 0.0964803, 0.475893, -0.386898, 0.364201, 0.125915, 1.05347, -0.668988, 0.369139, -0.668291, -0.0211872, 0.0439238, 0.369493, -0.0978868, -0.556981, 0.0678761, 0.30629, -0.0551805, 0.587066, 0.397829, -0.14206, -0.230884, -0.114881, -3.02897, 0.182175, 0.0470939, -0.0419597, -0.0817854, 0.0351601, 0.595851, 0.753667, 0.52813, 0.696841, -0.0184664, -0.199139, -0.359995, 0.316743, 0.00644472, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0180786, -4.97917e-05, 0.00971148, 0.0586483, 0.118032, 0.135333, 0.00196591, -0.00303476, -0.0127463, 0.063335, -0.0333583, 0.117655, -0.068614, 0.386806, 0.00822476, 0.00319811, -0.0391584, -0.0482898, -0.165693, 0.333021, -0.0554215, 0.153803, -0.843939, 0.0135401, 0.0839463, 0.013592, -0.214922, 0.0421842, 0.0584153, -0.0625294, -0.301399, 0.105769, -0.385096, -0.0880628, -0.0252759, -0.0574208, 0.0397318, 0.0432672, 0.0724905, -0.0178566, 0.00503559, 0.0131056, -0.170046, -0.0909361, 0.0627588, 0.0105319, -0.0267779, -0.238349, 0.0258909, 0.0691154, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0113662, -0.00245519, -0.00727976, 0.0233898, -0.0280893, -0.0470913, 0.00931684, 0.0077784, 0.041984, -0.0413044, -0.0451724, -0.0376413, -0.0333265, 0.0349097, 0.0198314, -0.0285405, 0.00208493, 0.0299392, -0.00762245, -0.0135224, -0.054092, 0.0102816, -0.0150505, -0.0193126, -0.0190329, 0.0410903, 0.0278557, -0.0173682, 0.0220545, 0.0152135, -0.040239, 0.0154835, -0.0255298, -0.0248213, -0.0162413, -0.012882, 0.0302812, -0.00504352, 0.0347661, -0.0434862, 0.00245697, -0.0201772, -0.0172461, -0.0021078, 0.043158, 0.0109648, -0.00861946, -0.0542196, -0.0303561, 0.0182179, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0883952, -0.0123616, 0.016068, -0.0181013, 0.100448, 0.00164904, 0.017368, 0.217478, 0.0414161, 0.00615337, 0.196734, 0.0585695, 0.0578707, 0.335885, -0.736962, -0.00273062, -0.156907, 0.0581393, 0.159102, -0.514549, -0.00427407, -0.357916, -0.52281, 0.035126, 0.0764801, 0.0149386, -0.231591, 0.0395114, 0.0268473, -0.478896, -0.0565847, 0.087693, 0.4073, -0.0126051, -0.081177, -0.119974, 0.127568, -0.293691, 0.265556, -0.0476018, 0.0239567, 0.0403349, -0.167026, -0.0442115, 0.0105235, 0.00544291, -0.0249532, -0.158792, 0.00319414, 0.00699157, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0199682, -0.17935, 0.0371529, -0.224879, 0.176314, 0.0152811, 0.00583628, -0.783069, -0.033736, 0.0351299, -0.150399, 0.0890055, -0.326985, 0.451348, -0.106726, -0.0336103, 0.0165015, -0.0279497, 0.196932, 0.119176, -0.00912536, -0.0501385, 0.0813914, 0.00714329, -0.0644967, 0.0928343, 0.0192603, 0.0178011, 0.120768, 0.495436, 0.373595, 0.0981367, 0.975317, -0.822896, -0.122867, -0.112593, -0.230235, -0.0338499, -1.77944, 0.0215935, -0.00703651, 0.250598, -0.0317961, -0.0584034, 0.040128, 0.0311925, -0.0504534, -0.0736464, 0.0187823, 0.266724, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.313117, -0.0603527, -0.179379, -0.0318374, 0.0166099, 0.0652166, 0.0554167, -0.00079802, 0.032346, -0.100763, 0.0357312, -0.0640065, -0.0493647, 0.0661642, 0.0539365, -0.092906, -0.17119, -0.107657, 0.134051, 0.0331478, 0.00987101, 0.0107853, -0.158132, -0.0295101, -0.132167, 0.136642, 0.0102203, -0.0311908, -0.22391, 0.39022, 0.21261, -0.00319344, -0.334506, -0.0299083, 0.0405275, -0.00855287, -0.00414851, 0.0927966, -0.0382706, 0.103229, 0.046856, 0.0992205, 0.0544831, -0.0722116, -0.135628, -0.147072, -0.088137, 0.270028, -0.035572, 0.0991096, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0116112, -0.00840649, -0.0229682, -0.0434081, -0.00201303, 0.00126291, -0.0394103, -0.000986218, -0.040989, 0.0173038, 0.0151178, -0.0116825, 0.00044861, 0.00349979, -0.0517678, -0.0590339, -0.00102651, -0.000949034, 0.0087222, 0.0222501, -0.0531423, -0.0140151, -0.00451355, 0.0215498, -0.0449772, 0.00318728, 0.00967179, -0.0211726, -0.00414924, -0.0467354, 0.0233006, -0.0547618, 0.011908, -0.0282071, -0.0360828, -0.0232458, -0.0464747, 0.0250087, 0.0417176, 0.0218931, -0.0425734, -0.0438946, 0.0421399, -0.0354284, 0.00844704, -0.0457147, 0.00583799, -0.0227639, -0.0403092, -0.0276366, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0141326, -0.24169, -0.00749814, -0.0643074, 0.158886, 0.0383236, -0.00587108, 0.0230184, 0.0180144, -0.19334, -0.0167162, -0.0572041, -0.0823097, -0.160368, -0.0971788, -0.0289486, 0.0842023, -0.0498573, -0.161323, 0.135764, -0.0423803, 0.0724781, -1.12533, -0.0256095, -0.075157, -0.0623705, -0.058507, -0.0317855, 0.0317049, 0.256174, 0.060676, 0.134534, 0.168899, -0.0586089, 0.00844347, -0.0253021, -0.000711474, 0.096538, -2.16053, 0.115148, 0.0203141, -0.120009, -0.22175, -0.0969566, -0.12688, -0.0549517, 0.0670455, 0.0516273, 0.00398784, -0.556301, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.38888, -0.127611, -1.78038, -0.576544, -0.0560502, -0.128803, 0.387252, 0.233958, 0.0316299, -1.18731, 0.171453, -0.031477, 0.806891, 0.939508, 1.03449, 0.215012, 1.03077, 0.244478, 1.27725, -0.175658, 0.107461, -0.590533, -0.0059161, -0.00885573, 0.058147, 0.469873, -1.16593, 0.568868, -0.245337, 0.234179, 2.71444, 0.655537, 1.42326, 0.0085375, -0.449559, -1.04054, -0.687763, 0.489187, -0.125898, 0.333384, 0.0350611, 0.1977, 1.76372, 0.434549, 0.233791, -0.148652, 0.327559, 0.469182, -1.0263, -0.159332, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.215109, -0.0996699, -0.198666, -1.36094, 1.45472, -0.0212551, 0.0511791, -1.24043, 0.0417257, 0.15272, -0.1176, -0.295747, 0.315437, -0.167816, 0.111005, -0.263645, -0.0511553, 0.0828089, 0.269946, 1.19387, -0.0245539, 0.617627, -0.0561889, -0.0475677, 0.436117, -0.167482, 0.233339, -0.0231377, 0.297168, 1.35344, 0.877203, -0.547256, 3.61431, -0.379685, -0.151303, -0.116974, 0.0234222, -2.37875, -0.1491, -0.528464, 0.0124862, -0.509277, -0.0215364, 0.461828, -0.533526, 0.194007, 0.131358, 0.753417, 0.0717123, 0.107066, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.202269, -0.137663, -0.0595528, -0.194803, 0.365262, 0.149802, 0.217761, 0.357336, 0.035769, -0.54213, -0.370941, 0.241097, 0.350857, 0.611074, 0.984705, -0.255606, 0.359714, 0.0980631, 0.298851, 0.392322, 0.457099, 0.476308, -0.174004, -0.0410365, -0.418098, 0.181487, -0.354129, -0.36401, 0.407983, 0.597852, 0.800324, 0.0450085, -0.488556, -0.386944, 0.148533, -0.0143668, 0.228441, -0.0591159, -0.56358, 0.397961, 0.0128626, -0.251427, 0.341187, 0.185442, -0.0416504, -0.704436, -0.365316, 0.0443165, -0.21286, -1.65855, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0283468, -0.148725, -0.0101855, -0.0109055, -0.259649, 0.0552617, 0.0491301, -0.0342704, 0.0497894, -0.0447252, -0.0425363, 0.139537, -0.232978, -0.318694, 0.0467394, 0.0350877, -0.0766013, 0.0298241, 0.285665, 0.254375, -0.0897389, 0.039428, -0.314122, 0.0394197, 0.0266788, 0.0635787, 0.0135203, -0.0216116, 0.00160504, -0.57648, -0.17105, -0.0270322, -0.477097, -0.07013, -0.0363387, 0.00791652, -0.00985228, -0.0210459, -0.0563623, -0.0143285, -0.00839085, 0.051672, -0.16121, -0.0882111, 0.0198487, 0.00497312, -0.025473, -0.0676163, 0.00489256, 0.0902448, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.650576, -0.105629, 0.643855, -0.171923, 0.333392, -0.000104775, 0.363915, 0.212462, 0.0097045, 0.569217, -0.342338, 0.284054, -0.104971, 0.655297, 0.852865, -0.0106724, 0.0860861, -0.673639, 1.05741, 0.164502, -3.18953, 0.0879236, -2.06959, -0.0475138, 0.118785, -0.121865, -0.769147, -0.114732, 0.302338, -0.634418, 0.884711, 0.367641, 0.361512, 0.167932, 0.0649995, -0.289991, -0.905544, -0.0429975, -1.49507, 0.768877, -0.015222, 0.454888, 1.47124, -0.308118, -3.3645, -0.154899, -0.182438, 0.490673, -5.15568, 0.815672, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0393733, 0.0133011, 0.0081625, 0.0124119, -0.118367, -0.0233358, 0.00338447, 0.177114, 0.0525306, 0.0111834, 0.0272871, -0.027818, -0.195582, 0.414752, 0.00887155, 0.00323448, -0.0618827, 0.0223009, -0.0327395, -0.122354, 0.0344835, 0.0212364, -0.0275612, -0.00653014, -0.0387749, 0.0783506, -1.9907e-05, 0.00780328, -0.0158701, -0.199946, 0.001598, 0.0814281, -0.163076, -0.00536731, -0.00631607, -0.250169, -0.00143791, 0.0376444, 0.527679, -0.0105441, -0.0345406, 0.00650723, 0.0332723, 0.0300247, -0.00473203, -0.00439882, -0.00780128, -0.111592, -0.0114081, 0.0636513, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.279439, -0.119387, -2.9129, 0.0349458, -0.29993, 0.163989, -0.305905, -0.578118, 0.0301059, 0.306124, 0.489467, -0.232425, -0.195547, 0.0916871, -0.472274, -0.0116109, -1.15207, -1.48449, -3.7145, 0.0735535, -0.671803, -0.0638782, -2.8261, 0.0124141, -3.47561, -0.639251, -0.68154, -3.21177, -1.74098, 0.60807, -1.08084, -1.38123, -2.7332, 0.200027, -0.314295, 0.0964947, -0.838924, 0.501454, -0.70872, -0.606197, -0.0420664, -0.315569, -0.163204, -2.45986, 0.159084, 0.106191, 0.436206, -1.59692, -5.14393, -2.52849, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00223025, -0.187013, 0.0402831, 0.0372673, 0.11882, 0.0780116, -0.0603123, 0.0142743, 0.0328432, 0.00598496, 0.0320181, 0.126686, -0.189046, -0.0117486, -0.025597, -0.0712438, -0.0343746, 0.0296064, 0.406345, 0.0583838, -0.277031, 0.051398, -0.00644203, -0.0389472, -0.0856144, -0.00975349, 0.173198, 0.00846143, 0.0782647, 0.120002, 0.139186, -0.0573114, 0.0987278, 0.0119049, -0.00412228, -1.08174, 0.0429645, 0.089876, -0.0388087, -0.1513, -0.0435544, -0.0975808, 0.242225, 0.31282, -0.181616, -0.0917074, -0.0239781, 0.178113, -1.73558, 0.123105, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.237614, -0.371719, -0.448749, -1.6044, -1.19099, 0.240405, -0.00153531, -2.8606, -0.0284999, 0.00535037, -0.0114678, -0.639143, -0.381525, -0.235469, 0.523129, -1.29353, -0.226988, -0.19821, 0.187407, 0.160928, 0.0538535, 0.230738, -0.484183, 0.0322779, 0.474848, -0.632966, -0.417356, 0.103108, -0.340153, -0.0303972, 0.450814, -0.163185, 0.982338, -1.69076, -1.7492, 0.0222978, -0.189474, -0.46579, -0.320181, -0.979039, -0.0309115, -0.106433, -0.194304, -0.628674, -1.52979, -0.0351413, -0.10131, -0.822963, 0.100218, 0.0192899, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0744863, -0.0543303, -0.820603, -0.090519, -0.669673, -0.0453014, -0.27528, 0.267555, 0.0457793, 0.0814048, 0.162682, 0.334752, -0.0466619, 0.2024, -0.196339, 0.048139, -0.0699711, -0.403787, -0.154818, -0.464264, -0.0252144, 0.0404862, -0.19602, 0.0419637, -0.380499, -0.531525, 0.0183143, -0.0552291, 0.434812, -0.661857, 0.256467, -0.126673, 0.860093, -1.63222, 0.033099, 0.118132, -0.00218837, -0.528337, -0.216238, 0.0890195, -0.0233236, -0.0541493, -0.179068, 0.25235, -0.385004, -0.0179127, -0.0300063, 0.293769, -0.0289561, 0.190258, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.06041, -0.411273, 1.73166, -0.159033, 1.64874, -0.630602, 1.02071, 1.55567, -0.0179663, 0.766108, 0.173875, 0.191029, 1.73683, 1.03575, 0.694106, 0.00211629, 1.74129, -0.84966, 1.38242, 0.369633, -0.656698, 1.96285, -0.846443, -0.0336381, 1.15694, 0.89415, 0.449675, 0.681017, -0.151727, -0.663991, 2.46961, 0.260243, 1.97573, -0.37829, -0.440372, -0.179499, -0.653408, 0.382127, 0.342284, 1.20658, 0.000427064, 0.296213, 2.45478, 4.82208, 1.10991, 0.789399, 0.148678, 2.46525, -0.214793, 0.367166, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0500258, -0.0502349, 0.0776788, 0.0180979, 0.226756, 0.0255436, 0.0916693, -0.0455443, -0.0105401, -0.00195257, 0.0590242, 0.0783509, 0.00549043, 0.693627, 0.0311623, -0.0241549, -0.0285505, -0.00658086, 0.316517, -0.189643, 0.0950301, -0.000281165, -0.0640722, -0.0165181, 0.117036, 0.0458235, -0.00847641, 0.0397033, -0.0348903, 0.32319, -0.101625, 0.0571807, -0.277999, -0.058666, -0.0204851, 0.0116445, -0.0344643, 0.10749, -0.0326735, -0.00927018, 0.0490085, -0.0647846, -0.163295, 0.0255829, -0.14524, 0.00118977, 0.0413099, 0.077328, -0.0211111, 0.1054, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.129737, -0.230567, -0.26805, -0.139926, -0.0912322, 0.00730567, -0.104624, 0.0320676, 0.013663, 0.0515924, 0.0845043, -0.00284042, 0.0350065, 0.0377764, 0.149147, -0.104043, -0.165764, 0.0468937, 0.179, 0.203111, 0.0465812, -0.0705557, -2.77889, 0.0178953, 0.0634357, 0.131931, 0.151644, 0.01673, 0.158228, -0.244627, 0.119446, 0.090257, 0.0740399, 0.01143, 0.117783, -0.0374347, 0.0102764, -0.0381603, -3.28196, 0.0822818, -0.0205884, 0.052474, 0.0264396, -0.39288, -0.104962, -0.181651, -0.0528824, 0.207722, -0.0391749, 0.205653, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.177301, -0.103014, -0.136514, -0.00160181, -0.894688, 0.000859905, 0.0451331, 0.133094, -0.0295571, -0.0206973, -0.187192, 0.1226, -0.0595983, -0.592742, 0.0868965, -0.00652535, 0.00152203, -0.0434598, 0.147015, -0.0267082, -0.0858903, 0.0440425, -0.194942, 0.0382223, -0.267817, -0.127578, 0.0399145, -0.151762, 0.115828, 0.74532, -0.0113384, 0.173772, 0.696984, -0.0483122, 0.012928, -0.00687306, -0.0117462, -0.199649, 0.0396094, 0.0900116, 0.0429852, 0.0052684, 0.214761, -0.0555687, 0.0994121, -0.152164, 0.0287603, 0.0472693, -0.0496136, 0.130397, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.504179, -0.151237, -0.0672686, 0.133361, 0.0878173, 0.280547, -0.409315, -0.126483, 0.016411, -0.0142133, -0.584323, -1.24521, 0.075683, 1.13424, 0.720548, -1.52631, -0.33193, -1.98887, 1.05839, 1.68554, -1.37796, -0.57388, -0.432667, -0.021144, 0.242911, -0.502212, 0.0634966, -0.360612, 0.718913, 2.20778, -1.1868, 0.0227068, 1.39041, 0.0123016, 0.104352, -0.172268, 0.0424808, -0.135175, 0.693166, 0.916479, 0.0274939, -0.388124, 0.220878, -0.526612, 0.574042, 0.0478665, 0.386244, 1.40456, -0.0649597, 0.239554, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.494064, -0.191116, -0.0204553, -0.0160079, 0.987573, 0.2203, 0.0717474, 0.366877, 0.00821643, -0.186981, 0.526863, -0.758465, 0.132274, 1.20509, -0.190678, -0.542882, -0.38601, -0.173311, 0.871053, 0.368322, 0.840109, 0.702835, -1.52599, -0.00908711, -0.870229, 0.253145, 0.274128, 0.240839, 0.357536, 1.21695, 0.654484, -0.117519, 0.801081, -0.0140198, 0.143688, -0.171969, -0.0798382, -0.238043, -0.450019, -0.175178, 0.0201166, 0.205199, 0.338835, 0.192882, -0.382375, -0.243216, -0.774254, 0.509948, 0.199226, 0.529373, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.160829, -0.488476, 1.94644, 0.00494042, 1.44235, -0.504942, 0.396077, -0.465409, -0.0380561, 0.463308, -0.00536395, 0.261721, 1.93909, 1.17528, 1.36527, -0.043689, 0.68192, -0.984563, 1.5117, 0.730241, -1.03756, 0.331971, -2.69149, -0.0414767, 1.02138, 0.339929, -1.79013, 1.07187, 0.247953, 0.290328, 0.82611, -0.767759, 1.45458, -1.13804, -0.872258, 0.0256288, -1.25366, -0.111387, -2.22502, 0.285113, -0.00666552, 1.54048, 0.642787, 2.54099, -0.444399, 0.0275378, -1.45349, 1.94032, -1.11276, 1.09235, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0288868, -0.0436915, -0.0198821, -0.00201239, -0.0395128, 0.0425992, 0.0140909, 0.255479, -0.025428, 0.0120707, 0.0121013, -0.0783462, -0.00628039, -0.0439156, 0.00398938, 0.00491993, -0.0164241, -0.0362057, 0.118016, -0.069044, -0.0798515, -0.00698967, -0.123973, -0.0210811, -0.120517, -0.043306, 0.00671393, -0.000972946, 0.0358686, 0.195055, 0.0100402, 0.0118994, 0.270106, -0.0208571, 0.0191907, 0.0484976, -0.0043997, -0.00406144, -0.0990142, 0.0487439, -0.049793, 0.0916977, 0.0897601, 0.00511776, 0.0586921, -0.00728676, -0.0257995, -0.0351927, -0.0192379, 0.105675, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.187898, 0.0458089, 0.451659, 0.0113026, 0.171736, -0.101375, -0.205972, 0.0354476, -0.0424353, -0.0636833, -0.0369857, 0.28012, -0.017485, 0.413816, 0.0774939, -0.161754, -0.716413, -0.123294, 0.599428, 0.062237, 0.175241, 0.0600889, -0.681568, -0.0302249, -0.0588356, 0.0189524, -0.0409512, 0.0892705, -0.200858, 0.124098, 0.0292155, 0.320417, 0.135278, -0.0585099, -0.253175, 0.102311, -0.138041, 0.157556, -0.31629, -0.263075, 0.00311991, -0.267037, -0.0989478, 0.558329, -0.0845503, 0.134237, 0.0651448, -0.385684, -0.0411957, 0.296001, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.240915, -0.397368, 0.903042, 0.0382218, -3.28424, -0.222844, 0.646187, 0.50742, -0.00631467, 0.424106, 0.437688, -0.274529, 1.41008, 0.816733, -0.341285, -0.00783974, 1.28201, -2.50198, 1.06116, -0.822106, -1.83977, -7.72426, 0.446595, 0.00291716, 0.567561, 0.435686, -0.866599, 0.742072, 0.0442671, -0.837767, 1.53188, 0.335638, 0.753428, -1.95807, -0.309396, -0.0421698, -0.778318, 0.330947, -2.48136, 0.319096, 0.0109009, 0.0958953, 0.869887, 2.89822, -1.47277, 0.185763, 0.874143, -5.73608, -2.65886, -3.01281, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0909372, -0.0196971, 0.17762, 0.0444827, 0.302979, 0.0521816, -0.168353, 0.017513, 0.0155336, -0.0325572, 0.0924729, 0.0707132, -0.0016527, -0.0168328, -0.0297233, -0.136797, -0.27698, -0.100346, 0.474389, 0.307597, 0.127139, 0.0127944, -0.210696, 0.0250977, -0.229297, 0.234021, -0.199657, -0.0108295, -0.084001, 0.22246, 0.0769748, 0.201229, 1.34134, 0.0367725, -0.0124169, -0.0189093, -0.0775355, 0.12864, 0.0139209, -0.0910232, -0.0202979, -0.0600392, 0.101459, 0.473065, -0.136017, 0.034278, 0.0139802, -0.461477, 0.000870525, 0.280059, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.418376, -0.849912, 0.650226, 0.137866, 0.957038, -0.0106113, 0.272858, 0.209806, 0.0406727, 0.695567, 0.062912, 0.0523531, 0.607514, -0.137078, 0.34117, -0.0125975, 0.463803, -0.84382, 0.837436, 1.79942, -1.46921, -1.12174, -2.99488, -0.0456862, 0.147745, -0.209967, -1.23257, 0.246151, 0.227342, -0.61289, -0.106285, 0.685104, 0.286984, -0.364463, -0.141934, -0.0884274, -0.34369, 0.102988, 1.69222, -0.172347, 0.0431485, -1.43544, 1.66366, 2.30717, 0.412132, -0.196452, -0.0721182, -1.11883, -0.186051, 0.832784, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03873, -0.0155, -0.4717, -0.06042, 0.003115, -0.04984, 0.11084, -0.2217, -0.007397, 0.06076, -0.342, -0.06058, 0.194, 0.701, 0.00392, 0.001404, 0.02908, 0.4705, 0.502, 0.0165, -0.2157, 0.0423, -0.4712, 0.01826, 0.0935, 0.0667, 0.1012, -0.3108, -1.414, -0.6357, 0.426, 0.0733, -3.285, -1.321, -0.005886, -0.03644, -0.11523, -0.1339, 0.2015, -0.12317, -0.00456, 0.1603, 0.2964, 0.3306, 0.1777, -0.1227, -0.1323, -1.02, 0.03598, 0.11816], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02718, -0.006847, 0.2343, -0.0696, 0.02037, 0.06934, 0.06067, 0.04807, -0.0343, -0.04987, -0.04816, -0.1818, -0.315, -0.7397, 0.004807, -0.03058, -0.151, -0.0913, -0.4385, 0.3481, 0.0688, -0.1653, -0.3086, 0.03552, -0.05017, 0.05905, 0.03427, -0.005688, -0.1552, -0.1605, 0.04224, 0.1627, 0.5127, -0.1577, -0.0741, -0.02657, -0.11456, 0.1836, -0.1812, -0.08124, -0.00993, -0.0903, 0.0859, 0.164, 0.02504, 0.11725, 0.0653, 0.0678, -0.0593, 0.134], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1058, 0.04047, 0.1222, 0.03183, 0.293, -0.127, -0.234, -0.2443, 0.01595, 0.0111, 0.06494, 0.4268, 0.1615, 0.8965, 0.2756, 0.03027, 0.3586, 0.035, 0.5913, 0.08875, 0.1523, -0.1023, 0.01419, 0.011566, 0.1196, 0.474, 0.004723, 0.03114, -0.267, 0.4219, 0.06714, 0.05643, 0.981, 0.001082, -0.05692, 0.001838, -0.04483, -0.4324, -0.1936, -0.6113, 0.0483, -0.1539, 0.3352, 0.3445, 0.06903, -0.08026, -0.0934, 0.08966, -0.02011, 0.03204], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0372, -0.1963, 0.00342, -0.457, 0.2744, 0.1293, 0.1095, -0.8013, -0.033, -0.0389, -0.0876, -0.2172, 0.05933, -0.6196, -0.1351, -0.1764, -0.1159, 0.02405, -0.4565, -0.6484, 0.003862, 0.1621, -0.633, 0.02898, 0.03317, 0.2004, -0.4023, 0.001197, -0.1158, -0.9575, 0.4785, -0.0327, 0.296, 0.1223, -0.3022, 0.0773, -0.09357, 0.10925, -0.56, -0.01133, -0.01138, 0.02632, -0.2324, -0.1274, 0.06396, 0.0926, 0.05252, 0.0913, -0.01591, -0.4883], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.07153, -0.01172, -0.1895, -0.0423, 0.4133, -0.013535, -0.04437, 0.0925, 0.03677, 0.01944, 0.194, -0.1465, -0.01614, 0.5103, -0.0769, -0.004616, -0.08026, -0.002913, 0.01358, -0.931, -0.02747, -0.1, -0.1572, 0.002247, -0.06204, 0.1744, -0.00925, -0.125, -0.04437, -0.3237, 0.1265, 0.0858, 0.4763, -0.1371, 0.0649, 0.03375, 0.00849, -0.0834, -0.0511, 0.03812, -0.03473, 0.00352, -0.03714, 0.1343, -0.3135, 0.021, 0.004303, 0.2354, -0.05435, 0.1042], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01563, -0.0645, -0.00769, -0.01458, 0.405, 0.0665, 0.017, -0.0441, -0.004814, -0.007504, -0.02112, 0.1306, -0.0219, -0.5557, -0.00655, 0.001471, 0.001398, -0.0317, 0.111, 0.4573, -0.003714, -0.0382, -0.0491, 0.04623, -0.002077, 0.005997, 0.01053, 0.002073, 0.03452, 0.3384, -0.0579, 0.03653, 0.568, -0.01593, 0.00457, -0.0475, -0.01941, -0.0311, -0.01434, 0.054, 0.05365, 0.04047, 0.0369, -0.0742, -0.05634, 0.00275, -0.002275, 0.1804, 0.004345, 0.00613], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.01, -0.01506, -0.3872, 0.1968, -0.10974, 0.0148, -0.3716, -0.2284, 0.01695, 0.1405, -0.745, -0.02107, -0.0079, -0.007423, 0.301, -0.00453, 0.3623, 0.1453, 0.1316, -0.1948, -0.571, -0.06714, 0.0334, -0.04178, 0.166, -0.07715, -1.5205, 0.1531, -1.152, -0.4521, -0.3784, -0.1514, -0.8594, -1.592, -0.444, -0.1073, -0.1558, -0.6816, -0.3015, 0.03017, 0.03674, 0.0496, 0.0429, 0.188, -0.4004, -0.01793, -0.4097, -0.275, -0.1076, 0.2974], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1989, -0.2808, 0.03099, 0.012505, 0.2179, 0.001626, -0.2576, -0.0957, -0.0369, 0.283, -0.0648, 0.179, 0.1461, 0.0785, 0.02182, 0.03534, -0.002409, 0.004654, -0.3442, 0.2357, -0.1709, 0.10284, -0.02199, -0.0519, -0.04187, -0.172, 0.138, 0.07764, 0.1793, -0.258, -0.362, 0.1956, 0.123, -0.4958, -0.0764, -0.1156, -0.1259, -0.0546, 0.04605, -0.1252, 0.04202, -0.0688, 0.603, 0.0756, -0.2996, -0.03983, 0.04538, 0.08527, 0.10345, -0.3071], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.00658, 0.2047, -0.652, 0.2104, -0.556, -0.3535, -0.4307, 0.2588, 0.004696, -0.883, 0.01022, -0.0717, -0.01302, 0.3855, -0.2847, 0.2498, 0.343, -0.0737, 0.01482, -1.278, -0.04956, 0.4082, -0.10254, -0.01204, 0.1056, -0.03114, -0.1388, 0.178, -0.6367, -0.01842, 0.733, -2.146, -0.9946, 0.02737, 0.00854, -0.0882, -0.03113, -0.5894, -0.03598, -0.1488, -0.005745, 0.000892, 0.0394, -0.1489, -0.2463, -1.572, -0.0406, -0.0314, -0.0228, -0.6885], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01088, -0.1322, 0.04575, -0.1598, -0.1266, -0.005993, -0.513, 0.02916, -0.02614, -0.0826, 0.2106, -0.0762, -0.06384, 0.3428, -0.0104, 0.03928, -0.04517, -0.1904, -0.145, 0.05307, -0.5923, 0.04037, -0.1973, 0.02068, 0.198, -0.002777, -0.3398, -0.11273, 0.0399, 0.2693, 0.3442, 0.3127, -0.3193, -0.12415, -0.013374, 0.05817, 0.0755, -0.001283, -0.1355, -0.10986, -0.00866, -0.4841, -0.0556, 0.12463, -1.225, -0.0199, -0.52, -0.678, -1.111, 0.142], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1754, -0.01345, 0.06586, -0.01421, 0.1837, -0.00561, 0.0344, 0.1271, -0.0242, 0.01828, -0.056, -0.03262, 0.013435, 0.1991, -0.04434, -0.01327, 0.04507, 0.03183, -0.1252, -0.08435, 0.01762, -0.08545, -0.0724, -0.02039, 0.03436, 0.02284, -0.05142, 0.02751, -0.05838, 0.00734, -0.04767, 0.05685, 0.6357, -0.02371, -0.02701, 0.01549, -0.00864, -0.0849, -0.02731, -0.0549, 0.02365, -0.0878, 0.01749, -0.003132, 0.0962, 0.01714, 0.0414, 0.02637, -0.01328, -0.01002], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01154, -0.04294, 0.03723, -0.04346, -0.02861, -0.0392, -0.03845, -0.00863, -0.01761, -0.03087, -0.0296, -0.03848, 0.03592, -0.02615, -0.02711, -0.02669, -0.02777, -0.007607, -0.002048, 0.02643, -0.0475, -0.002295, -0.02156, 0.04184, -0.02725, -0.014565, 0.01976, 0.018, -0.0359, -0.03497, 0.03574, 0.02112, -0.0496, 0.02626, -0.001576, 0.01437, -0.05002, -0.01802, -0.01311, -0.02661, -0.02226, -0.02612, 0.02937, 0.02272, 0.0489, -0.03256, 0.03644, 0.02507, -0.0454, 0.02536], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.474, 0.1257, 0.2815, -0.3762, 0.4036, -0.227, 0.2976, 0.3818, -0.001478, 0.133, 0.2421, 0.1699, 0.9604, 0.324, 0.1753, -0.132, -1.7705, -0.4207, 1.192, 0.1333, -1.004, -0.7153, -2.451, 0.02277, 0.02269, 0.2974, 0.497, 0.1984, 0.1425, -0.807, 1.585, 0.5635, 0.534, -0.674, -0.2952, -0.1005, -0.6396, 0.2448, -2.637, -0.02393, 0.02457, -0.0971, 0.319, 2.35, -0.8164, 0.6396, 0.6587, 1.881, -0.3374, 0.32], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1492, -0.9263, -0.7607, -0.455, -0.6797, -0.0185, 0.2166, -0.02246, -0.01779, -0.01758, -0.2935, -0.623, -0.591, 0.3787, -0.3599, -0.0665, 0.2751, 0.5566, 0.5933, 0.72, -0.63, -0.134, -0.4414, 0.02415, -0.05527, 0.1415, -0.3818, -0.885, 0.321, 1.649, 0.9404, 0.5513, 1.545, -0.6772, -0.715, 0.04965, 0.2264, -0.3887, 0.3188, 0.345, 0.044, 0.507, -2.008, -0.677, 0.1625, -0.4565, -0.825, 1.073, -0.01391, -0.07715], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2007, -0.00704, 0.381, -0.424, 0.9204, -0.2142, 0.2046, 0.0891, -0.0102, 0.04477, 0.1631, 0.2285, 0.1833, 0.179, 0.3904, -0.089, -0.04584, -0.054, 0.1779, 0.3022, -0.00788, 0.02206, -0.4087, 0.01363, 0.1846, 0.2042, 0.0632, -0.1005, 0.1497, 0.976, 0.5566, 0.4272, 0.478, -0.39, -0.1957, -0.02678, -0.01511, -0.07404, -0.1835, -0.398, 0.002417, -0.1252, 0.4287, 0.916, -0.1852, 0.1587, 0.0905, 0.1292, -0.0236, 0.3137], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.06354, -0.546, 0.9336, -1.15, 0.167, -0.06995, -0.1471, 0.2764, 0.0294, 0.1625, -0.2356, 0.35, 0.6836, 0.638, -0.6714, -0.06854, 0.6772, 0.02013, 0.454, 0.2644, -0.8315, 0.526, -0.2844, -0.00977, -0.1177, -0.5913, 0.4446, 0.0422, -0.2494, 0.324, 1.229, -0.05203, 0.06042, 0.02869, -0.5273, -2.232, 0.1752, 0.1277, -0.6177, 0.686, 0.04666, 0.333, 0.675, 1.064, 0.4675, 0.011284, 0.4268, 0.4214, -0.0905, -0.6953], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.267, 0.00964, 0.3606, -0.4348, -0.8794, -0.2181, 0.1976, -0.0973, 0.04718, -0.07935, -0.06696, 0.1333, 0.1054, 0.2053, 0.4849, -0.02174, 0.2125, -0.01201, 0.206, 0.3828, 0.05276, -0.02524, -0.2007, 0.006363, 0.1842, 0.07556, -0.1815, -0.05234, 0.01709, 0.2416, 0.1257, 0.2355, 0.372, -0.32, -0.2428, -0.010376, -0.1318, 0.03867, -0.1504, -0.203, -0.03873, -0.0364, 0.102, 0.3867, 0.1415, 0.1197, 0.0369, 0.262, 0.001067, 0.2598], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03726, -0.338, 0.2072, -1.226, 0.3503, -0.1221, -0.0945, -0.142, -0.000659, 0.1344, 0.02873, 0.1522, 0.347, 0.11597, -0.5547, -0.2888, -0.2854, -0.0228, 0.2355, 0.3115, -0.322, -0.5435, 0.2163, -0.00119, -0.02385, -0.0595, 0.393, -0.04678, 0.1282, 0.679, 1.007, 0.1652, 0.3552, -0.3599, 0.006542, -0.1364, -0.1768, 0.0301, -0.4512, -0.04968, -0.02524, 0.271, 0.09375, 0.502, -0.4814, 0.1146, 0.4797, 1.321, -0.1755, 0.4802], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0917, -0.2301, -0.01039, 0.00719, -0.2825, -0.1344, -0.0852, -0.06018, 0.02664, 0.02567, -0.0811, 0.04718, 0.04147, 0.2257, 0.0548, -0.0357, 0.04916, -0.00366, 0.787, 0.06946, -0.05505, -0.1404, -0.2465, -0.02336, -0.144, -0.03357, -0.08215, 0.081, 0.0756, 0.3677, -0.0797, 0.04504, -0.011566, -0.07355, 0.02748, -0.004177, -0.06647, 0.01605, -0.3252, -0.02008, -0.02036, -0.154, -0.296, 0.217, 0.1792, -0.03564, 0.0484, -0.3027, 0.01772, -0.1553], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1979, 0.05356, -0.0024, -0.02673, 0.277, -0.0308, -0.03265, 0.02745, 0.004913, -0.0455, 0.01428, 0.1958, 0.1362, 0.4697, -0.1392, -0.00853, 0.2048, 0.153, 0.1771, -0.4114, 0.013824, -0.02484, -0.1484, -0.0171, 0.1442, 0.0957, -0.05817, 0.00556, -0.05307, 0.631, 0.0715, -0.292, -0.6973, 0.03467, 0.0243, -0.0219, 0.0391, -0.12006, -0.06384, -0.0716, -0.0349, -0.2112, -0.3357, -0.2079, -0.2913, -0.0103, 0.05917, 0.10864, 0.02898, 0.136], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0704, -0.2131, 0.4084, -0.1697, 0.2363, 0.301, 0.302, -0.135, -0.014435, 0.516, 0.1594, 0.10834, 0.01924, 0.0965, 0.4758, -0.387, 0.3643, 0.1259, 1.054, -0.669, 0.3691, -0.6685, -0.0212, 0.0439, 0.3694, -0.0979, -0.557, 0.0679, 0.3064, -0.05518, 0.587, 0.398, -0.1421, -0.2308, -0.11487, -3.03, 0.1821, 0.0471, -0.04196, -0.0818, 0.03516, 0.5957, 0.754, 0.5283, 0.697, -0.01846, -0.1991, -0.36, 0.3167, 0.006443], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01808, -4.977e-05, 0.00971, 0.05865, 0.11804, 0.1354, 0.001966, -0.003035, -0.01275, 0.06335, -0.03336, 0.1177, -0.0686, 0.3867, 0.008224, 0.003199, -0.03915, -0.04828, -0.1656, 0.333, -0.05542, 0.1538, -0.8438, 0.01354, 0.0839, 0.013596, -0.215, 0.04218, 0.0584, -0.0625, -0.3015, 0.1058, -0.385, -0.0881, -0.02527, -0.05743, 0.03973, 0.04327, 0.0725, -0.01785, 0.005035, 0.01311, -0.17, -0.09094, 0.06274, 0.01053, -0.02678, -0.2384, 0.0259, 0.0691], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01137, -0.002455, -0.00728, 0.02339, -0.02809, -0.0471, 0.009315, 0.00778, 0.042, -0.0413, -0.04517, -0.03763, -0.03333, 0.0349, 0.01984, -0.02853, 0.002085, 0.02994, -0.00762, -0.01352, -0.05408, 0.010284, -0.01505, -0.01932, -0.01903, 0.04108, 0.02786, -0.01736, 0.02205, 0.01521, -0.04025, 0.01548, -0.02553, -0.02483, -0.01624, -0.01288, 0.03029, -0.005043, 0.03476, -0.0435, 0.002457, -0.02017, -0.01724, -0.002108, 0.04315, 0.01096, -0.00862, -0.05423, -0.03035, 0.01822], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0884, -0.01236, 0.01607, -0.0181, 0.10046, 0.001649, 0.01736, 0.2175, 0.0414, 0.006153, 0.1968, 0.05856, 0.05786, 0.336, -0.737, -0.002731, -0.1569, 0.05814, 0.159, -0.5146, -0.004272, -0.358, -0.523, 0.03513, 0.0765, 0.01494, -0.2316, 0.03952, 0.02684, -0.479, -0.05658, 0.0877, 0.4072, -0.0126, -0.0812, -0.12, 0.1276, -0.2937, 0.2656, -0.0476, 0.02396, 0.04034, -0.167, -0.04422, 0.01052, 0.005444, -0.02495, -0.1588, 0.003195, 0.006992], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01997, -0.1793, 0.03714, -0.2249, 0.1763, 0.01528, 0.005836, -0.783, -0.03372, 0.03513, -0.1504, 0.089, -0.327, 0.4514, -0.10675, -0.0336, 0.0165, -0.02795, 0.1969, 0.1192, -0.009125, -0.05014, 0.0814, 0.007145, -0.0645, 0.09283, 0.01926, 0.0178, 0.1208, 0.4954, 0.3735, 0.09814, 0.975, -0.8228, -0.12286, -0.1126, -0.2302, -0.03384, -1.779, 0.02159, -0.00704, 0.2505, -0.0318, -0.0584, 0.04013, 0.03119, -0.05045, -0.07367, 0.01878, 0.2668], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3132, -0.06036, -0.1793, -0.03183, 0.01662, 0.06525, 0.05542, -0.000798, 0.03235, -0.10077, 0.03574, -0.064, -0.04938, 0.06616, 0.05392, -0.0929, -0.1711, -0.10767, 0.134, 0.03314, 0.00987, 0.01079, -0.1581, -0.02951, -0.1322, 0.1366, 0.01022, -0.03119, -0.2239, 0.3901, 0.2126, -0.003193, -0.3345, -0.0299, 0.04053, -0.00855, -0.00415, 0.0928, -0.03827, 0.1032, 0.04684, 0.09924, 0.05447, -0.0722, -0.1356, -0.1471, -0.08813, 0.27, -0.03558, 0.0991], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01161, -0.00841, -0.02296, -0.0434, -0.002012, 0.001263, -0.0394, -0.000986, -0.041, 0.0173, 0.01512, -0.01168, 0.0004487, 0.0035, -0.05176, -0.05902, -0.001026, -0.000949, 0.00872, 0.02225, -0.05313, -0.014015, -0.004513, 0.02155, -0.04498, 0.003187, 0.009674, -0.02118, -0.00415, -0.04672, 0.0233, -0.05475, 0.01191, -0.02821, -0.03607, -0.02324, -0.04648, 0.02501, 0.04172, 0.0219, -0.04257, -0.04388, 0.04214, -0.03543, 0.008446, -0.04572, 0.005836, -0.02277, -0.0403, -0.02763], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01413, -0.2417, -0.0075, -0.06433, 0.1589, 0.03833, -0.00587, 0.02303, 0.01802, -0.1934, -0.01672, -0.0572, -0.08234, -0.1604, -0.09717, -0.02895, 0.0842, -0.04987, -0.1614, 0.1357, -0.0424, 0.07245, -1.125, -0.0256, -0.07513, -0.06238, -0.0585, -0.0318, 0.0317, 0.256, 0.06067, 0.1345, 0.169, -0.0586, 0.008446, -0.0253, -0.0007114, 0.09656, -2.16, 0.1152, 0.02031, -0.12, -0.2218, -0.097, -0.1268, -0.05496, 0.067, 0.05164, 0.003986, -0.556], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.389, -0.1276, -1.78, -0.5767, -0.05606, -0.1288, 0.3872, 0.234, 0.03162, -1.1875, 0.1715, -0.03146, 0.807, 0.9395, 1.034, 0.215, 1.031, 0.2445, 1.277, -0.1757, 0.1075, -0.5903, -0.005917, -0.00886, 0.05814, 0.47, -1.166, 0.569, -0.2454, 0.2341, 2.715, 0.656, 1.423, 0.00854, -0.4495, -1.041, -0.688, 0.4893, -0.1259, 0.3335, 0.03506, 0.1978, 1.764, 0.4346, 0.2338, -0.1487, 0.3276, 0.4692, -1.026, -0.1593], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2151, -0.0997, -0.1986, -1.361, 1.455, -0.02126, 0.05118, -1.24, 0.04172, 0.1527, -0.1176, -0.2957, 0.3154, -0.1678, 0.111, -0.2637, -0.05115, 0.0828, 0.27, 1.194, -0.02455, 0.6177, -0.05618, -0.04758, 0.436, -0.1675, 0.2334, -0.02313, 0.297, 1.354, 0.8774, -0.5474, 3.615, -0.3796, -0.1512, -0.117, 0.02342, -2.379, -0.149, -0.5283, 0.01249, -0.5093, -0.02153, 0.462, -0.5337, 0.194, 0.1313, 0.7534, 0.0717, 0.10706], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2023, -0.1377, -0.05954, -0.1948, 0.3652, 0.1498, 0.2178, 0.3574, 0.03577, -0.542, -0.3708, 0.2411, 0.3508, 0.611, 0.985, -0.2556, 0.3596, 0.0981, 0.2988, 0.3923, 0.457, 0.4763, -0.174, -0.04105, -0.4182, 0.1815, -0.3542, -0.364, 0.408, 0.5977, 0.8003, 0.045, -0.4885, -0.387, 0.1486, -0.014366, 0.2284, -0.0591, -0.5635, 0.398, 0.01286, -0.2515, 0.3413, 0.1854, -0.04166, -0.7046, -0.3652, 0.0443, -0.2129, -1.658], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02835, -0.1487, -0.010185, -0.0109, -0.2598, 0.05527, 0.04913, -0.03427, 0.04977, -0.04474, -0.04254, 0.1395, -0.233, -0.3186, 0.04675, 0.0351, -0.0766, 0.02983, 0.2856, 0.2544, -0.0897, 0.03943, -0.3142, 0.03943, 0.02667, 0.0636, 0.01352, -0.0216, 0.001605, -0.5767, -0.171, -0.02704, -0.477, -0.0701, -0.03635, 0.00792, -0.00985, -0.02104, -0.05637, -0.01433, -0.00839, 0.05167, -0.1613, -0.0882, 0.01985, 0.004974, -0.02547, -0.0676, 0.004894, 0.0903], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.6504, -0.10565, 0.644, -0.1719, 0.3335, -0.0001048, 0.364, 0.2124, 0.009705, 0.5693, -0.3423, 0.284, -0.105, 0.6553, 0.853, -0.01067, 0.08606, -0.674, 1.058, 0.1646, -3.19, 0.08795, -2.07, -0.04752, 0.1188, -0.1219, -0.769, -0.11475, 0.3022, -0.6343, 0.885, 0.3677, 0.3616, 0.168, 0.065, -0.29, -0.906, -0.043, -1.495, 0.769, -0.01522, 0.4548, 1.472, -0.308, -3.365, -0.1549, -0.1825, 0.4907, -5.156, 0.8154], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03937, 0.0133, 0.00816, 0.01241, -0.11835, -0.02333, 0.003384, 0.1771, 0.05252, 0.011185, 0.02728, -0.02782, -0.1956, 0.4148, 0.00887, 0.003235, -0.0619, 0.02231, -0.03275, -0.1224, 0.0345, 0.02124, -0.02756, -0.00653, -0.0388, 0.07837, -1.99e-05, 0.007805, -0.01587, -0.2, 0.001598, 0.0814, -0.1631, -0.005367, -0.006317, -0.2502, -0.001438, 0.03766, 0.528, -0.010544, -0.03455, 0.006508, 0.03326, 0.03003, -0.00473, -0.0044, -0.0078, -0.1116, -0.011406, 0.06366], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2795, -0.1194, -2.912, 0.03494, -0.3, 0.164, -0.306, -0.578, 0.0301, 0.3062, 0.4895, -0.2324, -0.1956, 0.0917, -0.4722, -0.01161, -1.152, -1.484, -3.715, 0.07355, -0.672, -0.0639, -2.826, 0.01241, -3.477, -0.639, -0.6816, -3.21, -1.741, 0.608, -1.081, -1.381, -2.732, 0.2001, -0.3142, 0.0965, -0.839, 0.5015, -0.7085, -0.606, -0.04205, -0.3157, -0.1632, -2.459, 0.159, 0.1062, 0.4363, -1.597, -5.145, -2.53], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00223, -0.187, 0.04028, 0.03726, 0.11884, 0.078, -0.0603, 0.014275, 0.03284, 0.005985, 0.032, 0.1267, -0.1891, -0.01175, -0.0256, -0.0712, -0.03436, 0.0296, 0.4062, 0.05838, -0.277, 0.0514, -0.006443, -0.03894, -0.08563, -0.00975, 0.1732, 0.00846, 0.07825, 0.12, 0.1392, -0.0573, 0.09875, 0.0119, -0.004124, -1.082, 0.04297, 0.0899, -0.03882, -0.1512, -0.04355, -0.0976, 0.2422, 0.3127, -0.1816, -0.09174, -0.02397, 0.1781, -1.735, 0.1231], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2377, -0.3718, -0.4487, -1.6045, -1.191, 0.2404, -0.001535, -2.861, -0.0285, 0.005352, -0.01147, -0.639, -0.3816, -0.2355, 0.523, -1.294, -0.2269, -0.1982, 0.1874, 0.1609, 0.05386, 0.2307, -0.4841, 0.0323, 0.4749, -0.633, -0.4172, 0.1031, -0.34, -0.0304, 0.451, -0.1632, 0.9824, -1.69, -1.749, 0.0223, -0.1895, -0.4658, -0.32, -0.979, -0.03091, -0.10645, -0.1943, -0.629, -1.53, -0.03516, -0.1013, -0.8228, 0.1002, 0.01929], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.07446, -0.05432, -0.821, -0.0905, -0.6694, -0.0453, -0.2754, 0.2676, 0.04578, 0.0814, 0.1627, 0.3347, -0.04666, 0.2024, -0.1963, 0.04813, -0.06995, -0.4038, -0.1548, -0.4644, -0.0252, 0.0405, -0.196, 0.04196, -0.3806, -0.5317, 0.01831, -0.05524, 0.4348, -0.6616, 0.2563, -0.1267, 0.86, -1.632, 0.0331, 0.1181, -0.002188, -0.5283, -0.2162, 0.089, -0.02333, -0.05414, -0.1791, 0.2524, -0.385, -0.01791, -0.03, 0.2937, -0.02896, 0.1903], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.061, -0.4114, 1.731, -0.159, 1.648, -0.6304, 1.0205, 1.556, -0.01796, 0.766, 0.1738, 0.191, 1.737, 1.036, 0.6943, 0.002117, 1.741, -0.8496, 1.383, 0.3696, -0.6567, 1.963, -0.8467, -0.03363, 1.157, 0.894, 0.4497, 0.681, -0.1517, -0.664, 2.469, 0.2603, 1.976, -0.3782, -0.4404, -0.1794, -0.6533, 0.382, 0.3423, 1.207, 0.000427, 0.2961, 2.455, 4.82, 1.11, 0.7896, 0.1487, 2.465, -0.2148, 0.3672], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.05002, -0.05023, 0.0777, 0.0181, 0.2268, 0.02554, 0.0917, -0.04553, -0.010544, -0.001952, 0.05902, 0.07837, 0.00549, 0.694, 0.03116, -0.02415, -0.02855, -0.00658, 0.3164, -0.1897, 0.09503, -0.000281, -0.0641, -0.01653, 0.11707, 0.04584, -0.00848, 0.0397, -0.03488, 0.3232, -0.1016, 0.0572, -0.278, -0.05865, -0.0205, 0.01164, -0.03445, 0.1075, -0.03268, -0.00927, 0.049, -0.06476, -0.1633, 0.02559, -0.1453, 0.00119, 0.04132, 0.07733, -0.02112, 0.1054], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1298, -0.2306, -0.268, -0.1399, -0.09125, 0.007305, -0.1046, 0.03207, 0.013664, 0.0516, 0.08453, -0.00284, 0.035, 0.03778, 0.1492, -0.10406, -0.1658, 0.0469, 0.179, 0.2031, 0.04657, -0.07056, -2.78, 0.0179, 0.0634, 0.132, 0.1516, 0.01672, 0.1582, -0.2446, 0.11945, 0.0903, 0.07404, 0.01143, 0.1178, -0.03745, 0.01028, -0.03815, -3.281, 0.0823, -0.02058, 0.05246, 0.02644, -0.3928, -0.105, -0.1816, -0.0529, 0.2078, -0.03918, 0.2057], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1772, -0.103, -0.1365, -0.001602, -0.8945, 0.0008597, 0.04514, 0.133, -0.02956, -0.02069, -0.1871, 0.1226, -0.0596, -0.593, 0.0869, -0.006527, 0.001522, -0.04346, 0.147, -0.0267, -0.0859, 0.04404, -0.195, 0.0382, -0.2678, -0.1276, 0.03992, -0.1517, 0.11584, 0.745, -0.01134, 0.1738, 0.697, -0.0483, 0.012924, -0.006874, -0.01175, -0.1997, 0.0396, 0.09, 0.043, 0.00527, 0.2147, -0.05557, 0.0994, -0.1522, 0.02876, 0.04727, -0.04962, 0.1304], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5044, -0.1512, -0.06726, 0.1333, 0.0878, 0.2805, -0.4094, -0.1265, 0.01642, -0.01421, -0.5845, -1.245, 0.0757, 1.134, 0.7207, -1.526, -0.332, -1.989, 1.059, 1.686, -1.378, -0.5737, -0.4326, -0.02115, 0.2429, -0.5024, 0.0635, -0.3606, 0.7188, 2.207, -1.187, 0.0227, 1.391, 0.0123, 0.1044, -0.1722, 0.04248, -0.1351, 0.6934, 0.9165, 0.0275, -0.3882, 0.2208, -0.527, 0.574, 0.04785, 0.3862, 1.404, -0.06494, 0.2395], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4941, -0.1912, -0.02046, -0.016, 0.988, 0.2203, 0.0718, 0.367, 0.00822, -0.187, 0.527, -0.7583, 0.1323, 1.205, -0.1907, -0.543, -0.386, -0.1733, 0.871, 0.3684, 0.8403, 0.7026, -1.526, -0.00909, -0.87, 0.2532, 0.2742, 0.2408, 0.3574, 1.217, 0.6543, -0.1175, 0.8013, -0.01402, 0.1437, -0.172, -0.07983, -0.238, -0.45, -0.1752, 0.02011, 0.2052, 0.3389, 0.1929, -0.3823, -0.2432, -0.7744, 0.51, 0.1992, 0.5293], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1609, -0.4885, 1.946, 0.00494, 1.442, -0.505, 0.396, -0.4653, -0.03806, 0.4634, -0.005363, 0.2617, 1.939, 1.175, 1.365, -0.0437, 0.682, -0.9844, 1.512, 0.7305, -1.037, 0.332, -2.691, -0.04147, 1.021, 0.3398, -1.79, 1.072, 0.2479, 0.2903, 0.826, -0.7676, 1.454, -1.138, -0.872, 0.02563, -1.254, -0.1114, -2.225, 0.2852, -0.006664, 1.54, 0.6426, 2.541, -0.4443, 0.02754, -1.453, 1.94, -1.112, 1.093], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02888, -0.0437, -0.01988, -0.002012, -0.03952, 0.0426, 0.01409, 0.2554, -0.02542, 0.01207, 0.0121, -0.07837, -0.00628, -0.0439, 0.00399, 0.00492, -0.01642, -0.0362, 0.11804, -0.06903, -0.07983, -0.00699, -0.12396, -0.02109, -0.12054, -0.0433, 0.006714, -0.0009727, 0.03586, 0.1951, 0.01004, 0.0119, 0.27, -0.02086, 0.0192, 0.0485, -0.0044, -0.004063, -0.099, 0.04874, -0.0498, 0.0917, 0.0898, 0.00512, 0.0587, -0.007286, -0.0258, -0.0352, -0.01924, 0.10565], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1879, 0.0458, 0.4517, 0.0113, 0.1718, -0.1014, -0.2059, 0.03546, -0.04245, -0.06366, -0.037, 0.28, -0.01749, 0.4138, 0.0775, -0.1617, -0.7163, -0.1233, 0.5996, 0.06223, 0.1753, 0.0601, -0.6816, -0.03023, -0.05884, 0.01895, -0.04095, 0.0893, -0.2008, 0.1241, 0.02922, 0.3203, 0.1353, -0.0585, -0.2532, 0.1023, -0.1381, 0.1576, -0.3164, -0.2632, 0.00312, -0.267, -0.09894, 0.558, -0.08453, 0.1343, 0.0651, -0.3857, -0.0412, 0.296], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.241, -0.3975, 0.903, 0.0382, -3.285, -0.2229, 0.646, 0.5073, -0.006313, 0.424, 0.4377, -0.2744, 1.41, 0.817, -0.3413, -0.00784, 1.282, -2.502, 1.062, -0.8223, -1.84, -7.723, 0.4465, 0.002916, 0.5674, 0.4358, -0.8667, 0.742, 0.04428, -0.838, 1.532, 0.3357, 0.7534, -1.958, -0.3093, -0.04218, -0.7783, 0.331, -2.48, 0.319, 0.0109, 0.0959, 0.87, 2.898, -1.473, 0.1858, 0.874, -5.734, -2.658, -3.014], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.09094, -0.0197, 0.1776, 0.0445, 0.303, 0.0522, -0.1683, 0.01752, 0.01553, -0.03256, 0.09247, 0.07074, -0.001653, -0.01683, -0.02972, -0.1368, -0.277, -0.10034, 0.4744, 0.3076, 0.1272, 0.012794, -0.2107, 0.0251, -0.2292, 0.234, -0.1997, -0.010826, -0.084, 0.2224, 0.07697, 0.2012, 1.342, 0.03677, -0.01242, -0.0189, -0.0775, 0.1287, 0.01392, -0.091, -0.0203, -0.06003, 0.10144, 0.4731, -0.136, 0.03427, 0.01398, -0.4614, 0.0008707, 0.28], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4185, -0.85, 0.6504, 0.1378, 0.957, -0.01061, 0.273, 0.2098, 0.04068, 0.696, 0.0629, 0.05237, 0.6074, -0.1371, 0.341, -0.012596, 0.4639, -0.8438, 0.8374, 1.8, -1.469, -1.122, -2.994, -0.0457, 0.1477, -0.21, -1.232, 0.2461, 0.2273, -0.613, -0.10626, 0.685, 0.2869, -0.3645, -0.142, -0.08844, -0.3438, 0.10297, 1.692, -0.1724, 0.04315, -1.436, 1.664, 2.307, 0.412, -0.1964, -0.07214, -1.119, -0.186, 0.833]] [-0.0929378, -0.0196711, -0.0828095, -0.0544712, -0.0326848, 0.11851, -0.135104, -0.156385, -0.660301, -0.0441554, 0.0315922, -0.039562, -0.809438, 0.115339, -0.105965, -0.399015, -0.107923, -0.293031, 0.144139, -0.0659397, -0.921603, -0.127837, -0.0385602, 0.0267692, -0.0158454, 0.0284409, -0.031933, 0.126613, -0.957331, -0.335019, -0.271828, 0.0613186, -0.599495, 0.0827466, -0.28043, -0.129351, 0.081349, -0.0775165, -2.15957, 0.0469741, 0.0769392, 0.0716576, -0.487051, -0.235985, -1.21155, 0.0476632, -0.14831, -0.962496, -0.0524307, -0.918029, -0.09296, -0.01967, -0.0828, -0.05447, -0.03268, 0.1185, -0.1351, -0.1564, -0.66, -0.04416, 0.0316, -0.03955, -0.8096, 0.11536, -0.10596, -0.399, -0.1079, -0.293, 0.1442, -0.0659, -0.9214, -0.1278, -0.03857, 0.02676, -0.01584, 0.02844, -0.03192, 0.1266, -0.9575, -0.335, -0.2717, 0.0613, -0.5996, 0.08276, -0.2805, -0.1294, 0.08136, -0.0775, -2.16, 0.04697, 0.07697, 0.07166, -0.487, -0.236, -1.212, 0.04767, -0.1483, -0.9624, -0.05243, -0.918] Affine [[0.0250813, 0.00181914, -0.00103757, -0.00203003, -0.00970521, 0.0352573, 0.0378342, -0.0362668, 0.00872685, 0.0309249, 0.00446412, 0.0367099, 0.00238045, -0.0107506, -0.00278604, 0.00185138, 0.000464212, 0.00157666, 0.010922, 0.0104397, 0.0259353, 0.0609641, 0.0147218, -0.00341705, 0.0416123, -0.00248739, 0.019045, 0.0362775, 0.00495041, -0.0104291, -0.0023305, 0.0413011, 0.00276264, 0.0501222, 0.00121498, 0.0701264, 0.00299967, -0.00203075, 0.00035534, 0.0163232, 0.000310754, 0.00312443, -0.00249334, -0.011068, 0.0145898, 0.00164396, -0.016594, -0.000492159, 0.0100722, -0.0198001, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0033051, 0.039133, -0.00270945, 0.0231764, -0.00196191, 0.00562295, 0.0134524, 0.0196821, 0.00333077, 0.0523618, 0.0231384, 0.0129999, 0.0191995, -0.011128, 0.0271882, 0.0345962, -0.0347369, -0.0439486, 0.020789, -0.00205228, 0.0238343, 0.0544254, 0.0157851, 0.0133507, 0.00405925, -0.00204185, 0.00534683, 0.0124992, -0.0158314, -0.0381837, -0.00219587, 0.0304678, -0.00433253, -0.00149848, 0.0209881, 0.0982029, 0.0017013, -0.00172543, -0.0193481, 0.0345675, -0.000909845, -0.0121968, -0.00221381, -0.00382741, 0.00648828, 0.0126127, -0.039921, 0.0206645, 0.0358443, -0.0230481, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00109383, -0.013333, 0.00290391, -0.0160661, -0.0112593, 0.00695788, 0.0277816, -0.045736, 0.00471348, 0.0455669, -0.0103738, 0.0198279, -0.00107909, -0.0151768, 0.00262902, -0.00756274, -0.00344261, -0.00138058, -0.00969838, -0.00493487, 0.0539657, 0.0865372, 0.0346582, -0.00814101, 0.00576758, 0.0389582, 0.040153, 0.0392327, 0.0355396, -0.00178134, 0.0393584, 0.0295278, 0.0140173, -0.000782615, 0.000982319, 0.0578499, 0.0129159, -0.00877905, -0.00200432, 0.0222594, 0.0402298, 0.0318006, -0.0232696, -0.0264243, 0.0086562, 0.0233323, 0.00503959, -0.00114149, 0.000255231, -0.0106998, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0123733, 0.0349874, 0.0163397, 0.0137641, 0.00800421, 0.025601, 0.0604151, -0.0627358, 0.0227058, 0.0401972, 0.0353501, 0.0336845, 0.0216441, -0.00120247, 0.0373397, 0.0300134, -0.0518114, -0.052566, 0.0142214, 0.00495704, 0.0419754, 0.0652466, 0.0378176, -0.0119794, 0.0466763, -0.0238492, 0.0089486, 0.0245202, -0.0295983, -0.0410505, 0.00381445, 0.0290732, 0.00367641, -0.00414848, 0.0236822, 0.0277835, 0.00294784, -0.00139327, -0.0229097, 0.018783, -0.0046581, 0.0135624, 0.00158252, -0.0123138, 0.0239951, 0.0151638, -0.0130424, 0.0213103, -0.00976383, -0.0181409, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00539698, 0.0105184, 0.0147722, -0.00100675, 0.0119808, 0.0247538, 0.0452445, -0.0411122, 0.023069, 0.0342449, -0.00433515, -0.0332808, 0.000491624, -0.0288048, -0.0114712, -0.012706, 0.0102246, 0.00196311, 0.00863511, -0.00212479, -0.00726589, 0.0531922, 0.0435123, 0.00183821, 0.0452657, 0.047826, -0.0230906, 0.044995, 0.0404499, -0.0014912, 0.0449302, 0.0315693, 0.0159926, -0.00262565, 0.000682614, 0.0838122, -0.0119608, -0.0171052, 0.00206865, 0.00785517, 0.0116031, 0.0190339, -0.0231266, -0.0304322, 0.0360597, 0.0305988, -0.00484952, -0.000827981, -0.000204033, -0.0181366, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02509, 0.00182, -0.001038, -0.00203, -0.009705, 0.03525, 0.03784, -0.03625, 0.00873, 0.03093, 0.004463, 0.0367, 0.00238, -0.01075, -0.002787, 0.001851, 0.0004642, 0.001576, 0.010925, 0.01044, 0.02594, 0.06097, 0.014725, -0.003418, 0.04163, -0.002487, 0.01904, 0.0363, 0.00495, -0.01043, -0.00233, 0.0413, 0.002762, 0.0501, 0.001215, 0.0701, 0.003, -0.002031, 0.0003552, 0.01633, 0.0003107, 0.003124, -0.002493, -0.01107, 0.01459, 0.001644, -0.0166, -0.000492, 0.01007, -0.0198], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.003305, 0.03912, -0.00271, 0.02318, -0.001963, 0.005623, 0.01345, 0.01968, 0.00333, 0.05237, 0.02313, 0.013, 0.0192, -0.01113, 0.02719, 0.0346, -0.03473, -0.04395, 0.02078, -0.002052, 0.02383, 0.0544, 0.01578, 0.01335, 0.00406, -0.002043, 0.00535, 0.0125, -0.01584, -0.03818, -0.002195, 0.03047, -0.004333, -0.001498, 0.02098, 0.0982, 0.001701, -0.001725, -0.01935, 0.03458, -0.00091, -0.0122, -0.002214, -0.003828, 0.00649, 0.01261, -0.03992, 0.02066, 0.03586, -0.02304], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.001094, -0.013336, 0.002903, -0.01607, -0.01126, 0.006958, 0.02779, -0.04575, 0.004715, 0.04556, -0.010376, 0.01982, -0.00108, -0.015175, 0.002628, -0.007565, -0.003443, -0.001381, -0.0097, -0.004936, 0.05396, 0.08655, 0.03467, -0.00814, 0.005768, 0.03897, 0.04016, 0.03925, 0.03555, -0.001781, 0.03937, 0.02953, 0.014015, -0.0007825, 0.000982, 0.05786, 0.01292, -0.00878, -0.002005, 0.02226, 0.04022, 0.0318, -0.02327, -0.02643, 0.00866, 0.02333, 0.00504, -0.001142, 0.0002553, -0.0107], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.012375, 0.03497, 0.01634, 0.01376, 0.008, 0.0256, 0.06042, -0.06274, 0.0227, 0.0402, 0.03534, 0.0337, 0.02164, -0.001203, 0.03735, 0.03001, -0.05182, -0.05255, 0.01422, 0.004955, 0.04196, 0.06525, 0.0378, -0.01198, 0.04666, -0.02385, 0.00895, 0.02452, -0.0296, -0.04105, 0.003815, 0.02907, 0.003675, -0.004147, 0.02368, 0.02779, 0.002949, -0.001393, -0.0229, 0.01878, -0.004658, 0.013565, 0.001582, -0.012314, 0.024, 0.01517, -0.01304, 0.02132, -0.009766, -0.01814], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.005398, 0.01052, 0.01477, -0.001007, 0.01198, 0.02475, 0.04526, -0.0411, 0.02307, 0.03424, -0.004333, -0.0333, 0.0004916, -0.02881, -0.011475, -0.0127, 0.01022, 0.001963, 0.00864, -0.002125, -0.007267, 0.0532, 0.04352, 0.001839, 0.04526, 0.04782, -0.02309, 0.04498, 0.04044, -0.001492, 0.04492, 0.03156, 0.01599, -0.002626, 0.000683, 0.0838, -0.01196, -0.0171, 0.00207, 0.00786, 0.011604, 0.01903, -0.02313, -0.03043, 0.03607, 0.0306, -0.00485, -0.000828, -0.0002041, -0.01814]] [-0.0201359, -0.0193657, -0.019445, -0.0192374, -0.019343, -0.02014, -0.01936, -0.01944, -0.01924, -0.01935]
17,652.136364
74,300
0.559252
104,243
388,347
2.08344
0.185442
0.469436
0.697178
0.920289
0.237867
0.237504
0.237504
0.237504
0.237504
0.237504
0
0.645802
0.134202
388,347
21
74,301
18,492.714286
0.000137
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
34b244a534c783c9b718ccfbd0a4fea6d2510ca3
157
py
Python
cupy/misc/__init__.py
mnicely/cupy
9ed1d0db1404e9baa3c139032515d6028078bc91
[ "MIT" ]
1
2020-03-30T20:56:52.000Z
2020-03-30T20:56:52.000Z
cupy/misc/__init__.py
mnicely/cupy
9ed1d0db1404e9baa3c139032515d6028078bc91
[ "MIT" ]
null
null
null
cupy/misc/__init__.py
mnicely/cupy
9ed1d0db1404e9baa3c139032515d6028078bc91
[ "MIT" ]
null
null
null
from cupy.misc.memory_ranges import may_share_memory # NOQA from cupy.misc.memory_ranges import shares_memory # NOQA from cupy.misc.who import who # NOQA
39.25
60
0.808917
26
157
4.692308
0.423077
0.196721
0.295082
0.295082
0.754098
0.491803
0
0
0
0
0
0
0.133758
157
3
61
52.333333
0.897059
0.089172
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
fd54d071d1e79be6c9bd9291a7ad4d09bbb0b741
131,245
py
Python
dnacentersdk/api/v2_2_1/devices.py
oboehmer/dnacentersdk
25c4e99900640deee91a56aa886874d9cb0ca960
[ "MIT" ]
32
2019-09-05T05:16:56.000Z
2022-03-22T09:50:38.000Z
dnacentersdk/api/v2_2_1/devices.py
oboehmer/dnacentersdk
25c4e99900640deee91a56aa886874d9cb0ca960
[ "MIT" ]
35
2019-09-07T18:58:54.000Z
2022-03-24T19:29:36.000Z
dnacentersdk/api/v2_2_1/devices.py
oboehmer/dnacentersdk
25c4e99900640deee91a56aa886874d9cb0ca960
[ "MIT" ]
18
2019-09-09T11:07:21.000Z
2022-03-25T08:49:59.000Z
# -*- coding: utf-8 -*- """Cisco DNA Center Devices API wrapper. Copyright (c) 2019-2021 Cisco Systems. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ from __future__ import ( absolute_import, division, print_function, unicode_literals, ) from builtins import * from past.builtins import basestring from ...restsession import RestSession from ...utils import ( check_type, dict_from_items_with_values, apply_path_params, dict_of_str, ) class Devices(object): """Cisco DNA Center Devices API (version: 2.2.1). Wraps the DNA Center Devices API and exposes the API as native Python methods that return native Python objects. """ def __init__(self, session, object_factory, request_validator): """Initialize a new Devices object with the provided RestSession. Args: session(RestSession): The RESTful session object to be used for API calls to the DNA Center service. Raises: TypeError: If the parameter types are incorrect. """ check_type(session, RestSession) super(Devices, self).__init__() self._session = session self._object_factory = object_factory self._request_validator = request_validator def threat_detail_count(self, endTime=None, isNewThreat=None, limit=None, offset=None, siteId=None, startTime=None, threatLevel=None, threatType=None, headers=None, payload=None, active_validation=True, **request_parameters): """The details count for the Rogue and aWIPS threats. Args: endTime(integer): Devices's endTime. isNewThreat(boolean): Devices's isNewThreat. limit(integer): Devices's limit. offset(integer): Devices's offset. siteId(list): Devices's siteId (list of strings). startTime(integer): Devices's startTime. threatLevel(list): Devices's threatLevel (list of strings). threatType(list): Devices's threatType (list of strings). headers(dict): Dictionary of HTTP Headers to send with the Request . payload(dict): A JSON serializable Python object to send in the body of the Request. active_validation(bool): Enable/Disable payload validation. Defaults to True. **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(payload, dict) if headers is not None: if 'Content-Type' in headers: check_type(headers.get('Content-Type'), basestring, may_be_none=False) if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } _payload = { 'offset': offset, 'limit': limit, 'startTime': startTime, 'endTime': endTime, 'siteId': siteId, 'threatLevel': threatLevel, 'threatType': threatType, 'isNewThreat': isNewThreat, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) if active_validation: self._request_validator('jsd_c7266d89581c9601b79b7304fda3_v2_2_1')\ .validate(_payload) with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/security/threats/details/count') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.post(endpoint_full_url, params=_params, json=_payload, headers=_headers) else: json_data = self._session.post(endpoint_full_url, params=_params, json=_payload) return self._object_factory('bpm_c7266d89581c9601b79b7304fda3_v2_2_1', json_data) def threat_summary(self, endTime=None, siteId=None, startTime=None, threatLevel=None, threatType=None, headers=None, payload=None, active_validation=True, **request_parameters): """The Threat Summary for the Rogues and aWIPS. Args: endTime(integer): Devices's endTime. siteId(list): Devices's siteId (list of strings). startTime(integer): Devices's startTime. threatLevel(list): Devices's threatLevel (list of strings). threatType(list): Devices's threatType (list of strings). headers(dict): Dictionary of HTTP Headers to send with the Request . payload(dict): A JSON serializable Python object to send in the body of the Request. active_validation(bool): Enable/Disable payload validation. Defaults to True. **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(payload, dict) if headers is not None: if 'Content-Type' in headers: check_type(headers.get('Content-Type'), basestring, may_be_none=False) if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } _payload = { 'startTime': startTime, 'endTime': endTime, 'siteId': siteId, 'threatLevel': threatLevel, 'threatType': threatType, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) if active_validation: self._request_validator('jsd_e6eed78cb55d51a1bfe669729df25689_v2_2_1')\ .validate(_payload) with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/security/threats/summary') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.post(endpoint_full_url, params=_params, json=_payload, headers=_headers) else: json_data = self._session.post(endpoint_full_url, params=_params, json=_payload) return self._object_factory('bpm_e6eed78cb55d51a1bfe669729df25689_v2_2_1', json_data) def threat_details(self, endTime=None, isNewThreat=None, limit=None, offset=None, siteId=None, startTime=None, threatLevel=None, threatType=None, headers=None, payload=None, active_validation=True, **request_parameters): """The details for the Rogue and aWIPS threats. Args: endTime(integer): Devices's endTime. isNewThreat(boolean): Devices's isNewThreat. limit(integer): Devices's limit. offset(integer): Devices's offset. siteId(list): Devices's siteId (list of strings). startTime(integer): Devices's startTime. threatLevel(list): Devices's threatLevel (list of strings). threatType(list): Devices's threatType (list of strings). headers(dict): Dictionary of HTTP Headers to send with the Request . payload(dict): A JSON serializable Python object to send in the body of the Request. active_validation(bool): Enable/Disable payload validation. Defaults to True. **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(payload, dict) if headers is not None: if 'Content-Type' in headers: check_type(headers.get('Content-Type'), basestring, may_be_none=False) if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } _payload = { 'offset': offset, 'limit': limit, 'startTime': startTime, 'endTime': endTime, 'siteId': siteId, 'threatLevel': threatLevel, 'threatType': threatType, 'isNewThreat': isNewThreat, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) if active_validation: self._request_validator('jsd_f4ce55b5f235924903516ef31dc9e3c_v2_2_1')\ .validate(_payload) with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/security/threats/details') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.post(endpoint_full_url, params=_params, json=_payload, headers=_headers) else: json_data = self._session.post(endpoint_full_url, params=_params, json=_payload) return self._object_factory('bpm_f4ce55b5f235924903516ef31dc9e3c_v2_2_1', json_data) def get_module_info_by_id(self, id, headers=None, **request_parameters): """Returns Module info by id. Args: id(basestring): id path parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'id': id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/module/{id}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_a4588640da5b018b499c5760f4092a_v2_2_1', json_data) def get_device_by_id(self, id, headers=None, **request_parameters): """Returns the network device details for the given device ID. Args: id(basestring): id path parameter. Device ID. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'id': id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/{id}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_d86f657f8592f97014d2ebf8d37ac_v2_2_1', json_data) def delete_device_by_id(self, id, is_force_delete=None, headers=None, **request_parameters): """Deletes the network device for the given Id. Args: id(basestring): id path parameter. Device ID. is_force_delete(bool): isForceDelete query parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(is_force_delete, bool) check_type(id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'isForceDelete': is_force_delete, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'id': id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/{id}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.delete(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.delete(endpoint_full_url, params=_params) return self._object_factory('bpm_e01233fa258e393239c4b41882806_v2_2_1', json_data) def return_power_supply_fan_details_for_the_given_device(self, device_uuid, type, headers=None, **request_parameters): """Return PowerSupply/ Fan details for the Given device. Args: device_uuid(basestring): deviceUuid path parameter. type(basestring): type query parameter. Type value should be PowerSupply or Fan. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(type, basestring, may_be_none=False) check_type(device_uuid, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'type': type, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'deviceUuid': device_uuid, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/{deviceUuid}/equipment') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_c1cb24a2b53ce8d29d119c6ee1112_v2_2_1', json_data) def get_device_interface_vlans(self, id, interface_type=None, headers=None, **request_parameters): """Returns Device Interface VLANs. Args: id(basestring): id path parameter. interface_type(basestring): interfaceType query parameter. Vlan assocaited with sub-interface. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(interface_type, basestring) check_type(id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'interfaceType': interface_type, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'id': id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/{id}/vlan') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_fd5fb603cba6523abb25c8ec131fbb8b_v2_2_1', json_data) def get_device_interfaces_by_specified_range(self, device_id, records_to_return, start_index, headers=None, **request_parameters): """Returns the list of interfaces for the device for the specified range. Args: device_id(basestring): deviceId path parameter. Device ID. start_index(int): startIndex path parameter. Start index. records_to_return(int): recordsToReturn path parameter. Number of records to return. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(device_id, basestring, may_be_none=False) check_type(start_index, int, may_be_none=False) check_type(records_to_return, int, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'deviceId': device_id, 'startIndex': start_index, 'recordsToReturn': records_to_return, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/interface/network-' + 'device/{deviceId}/{startIndex}/{recordsToReturn}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_a3d52c630ba5deaada16fe3b07af744_v2_2_1', json_data) def get_polling_interval_for_all_devices(self, headers=None, **request_parameters): """Returns polling interval of all devices. Args: headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/collection-' + 'schedule/global') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_ce94ab18ad505e8a9846f6c4c9df0d2b_v2_2_1', json_data) def sync_devices_using_forcesync(self, force_sync=None, headers=None, payload=None, active_validation=True, **request_parameters): """Synchronizes the devices. If forceSync param is false (default) then the sync would run in normal priority thread. If forceSync param is true then the sync would run in high priority thread if available, else the sync will fail. Result can be seen in the child task of each device. Args: force_sync(bool): forceSync query parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . payload(list): A JSON serializable Python object to send in the body of the Request. active_validation(bool): Enable/Disable payload validation. Defaults to True. **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(payload, list) check_type(force_sync, bool) if headers is not None: if 'Content-Type' in headers: check_type(headers.get('Content-Type'), basestring, may_be_none=False) if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'forceSync': force_sync, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } _payload = payload or [] if active_validation: self._request_validator('jsd_f2c120b855cb8c852806ce72e54d_v2_2_1')\ .validate(_payload) with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/sync') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.put(endpoint_full_url, params=_params, json=_payload, headers=_headers) else: json_data = self._session.put(endpoint_full_url, params=_params, json=_payload) return self._object_factory('bpm_f2c120b855cb8c852806ce72e54d_v2_2_1', json_data) def get_device_interface_count(self, headers=None, **request_parameters): """Returns the count of interfaces for all devices. Args: headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/interface/count') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_da44fbc3e415a99aac0bdd291e9a87a_v2_2_1', json_data) def get_device_list(self, headers=None, **request_parameters): """Get device list. Args: headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: list: JSON response. A list of MyDict objects. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_fe602e8165035b5cbc304fada4ee2f26_v2_2_1', json_data) def sync_devices(self, cliTransport=None, computeDevice=None, enablePassword=None, extendedDiscoveryInfo=None, httpPassword=None, httpPort=None, httpSecure=None, httpUserName=None, ipAddress=None, merakiOrgId=None, netconfPort=None, password=None, serialNumber=None, snmpAuthPassphrase=None, snmpAuthProtocol=None, snmpMode=None, snmpPrivPassphrase=None, snmpPrivProtocol=None, snmpROCommunity=None, snmpRWCommunity=None, snmpRetry=None, snmpTimeout=None, snmpUserName=None, snmpVersion=None, type=None, updateMgmtIPaddressList=None, userName=None, headers=None, payload=None, active_validation=True, **request_parameters): """Sync the devices provided as input. Args: cliTransport(string): Devices's cliTransport. computeDevice(boolean): Devices's computeDevice. enablePassword(string): Devices's enablePassword. extendedDiscoveryInfo(string): Devices's extendedDiscoveryInfo. httpPassword(string): Devices's httpPassword. httpPort(string): Devices's httpPort. httpSecure(boolean): Devices's httpSecure. httpUserName(string): Devices's httpUserName. ipAddress(list): Devices's ipAddress (list of strings). merakiOrgId(list): Devices's merakiOrgId (list of strings). netconfPort(string): Devices's netconfPort. password(string): Devices's password. serialNumber(string): Devices's serialNumber. snmpAuthPassphrase(string): Devices's snmpAuthPassphrase. snmpAuthProtocol(string): Devices's snmpAuthProtocol. snmpMode(string): Devices's snmpMode. snmpPrivPassphrase(string): Devices's snmpPrivPassphrase. snmpPrivProtocol(string): Devices's snmpPrivProtocol. snmpROCommunity(string): Devices's snmpROCommunity. snmpRWCommunity(string): Devices's snmpRWCommunity. snmpRetry(integer): Devices's snmpRetry. snmpTimeout(integer): Devices's snmpTimeout. snmpUserName(string): Devices's snmpUserName. snmpVersion(string): Devices's snmpVersion. type(string): Devices's type. Available values are 'COMPUTE_DEVICE', 'MERAKI_DASHBOARD', 'NETWORK_DEVICE' and 'NODATACHANGE'. updateMgmtIPaddressList(list): Devices's updateMgmtIPaddressList (list of objects). userName(string): Devices's userName. headers(dict): Dictionary of HTTP Headers to send with the Request . payload(dict): A JSON serializable Python object to send in the body of the Request. active_validation(bool): Enable/Disable payload validation. Defaults to True. **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(payload, dict) if headers is not None: if 'Content-Type' in headers: check_type(headers.get('Content-Type'), basestring, may_be_none=False) if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } _payload = { 'cliTransport': cliTransport, 'computeDevice': computeDevice, 'enablePassword': enablePassword, 'extendedDiscoveryInfo': extendedDiscoveryInfo, 'httpPassword': httpPassword, 'httpPort': httpPort, 'httpSecure': httpSecure, 'httpUserName': httpUserName, 'ipAddress': ipAddress, 'merakiOrgId': merakiOrgId, 'netconfPort': netconfPort, 'password': password, 'serialNumber': serialNumber, 'snmpAuthPassphrase': snmpAuthPassphrase, 'snmpAuthProtocol': snmpAuthProtocol, 'snmpMode': snmpMode, 'snmpPrivPassphrase': snmpPrivPassphrase, 'snmpPrivProtocol': snmpPrivProtocol, 'snmpROCommunity': snmpROCommunity, 'snmpRWCommunity': snmpRWCommunity, 'snmpRetry': snmpRetry, 'snmpTimeout': snmpTimeout, 'snmpUserName': snmpUserName, 'snmpVersion': snmpVersion, 'type': type, 'updateMgmtIPaddressList': updateMgmtIPaddressList, 'userName': userName, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) if active_validation: self._request_validator('jsd_fe06867e548bba1919024b40d992_v2_2_1')\ .validate(_payload) with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.put(endpoint_full_url, params=_params, json=_payload, headers=_headers) else: json_data = self._session.put(endpoint_full_url, params=_params, json=_payload) return self._object_factory('bpm_fe06867e548bba1919024b40d992_v2_2_1', json_data) def add_device(self, cliTransport=None, computeDevice=None, enablePassword=None, extendedDiscoveryInfo=None, httpPassword=None, httpPort=None, httpSecure=None, httpUserName=None, ipAddress=None, merakiOrgId=None, netconfPort=None, password=None, serialNumber=None, snmpAuthPassphrase=None, snmpAuthProtocol=None, snmpMode=None, snmpPrivPassphrase=None, snmpPrivProtocol=None, snmpROCommunity=None, snmpRWCommunity=None, snmpRetry=None, snmpTimeout=None, snmpUserName=None, snmpVersion=None, type=None, updateMgmtIPaddressList=None, userName=None, headers=None, payload=None, active_validation=True, **request_parameters): """Adds the device with given credential. Args: cliTransport(string): Devices's cliTransport. computeDevice(boolean): Devices's computeDevice. enablePassword(string): Devices's enablePassword. extendedDiscoveryInfo(string): Devices's extendedDiscoveryInfo. httpPassword(string): Devices's httpPassword. httpPort(string): Devices's httpPort. httpSecure(boolean): Devices's httpSecure. httpUserName(string): Devices's httpUserName. ipAddress(list): Devices's ipAddress (list of strings). merakiOrgId(list): Devices's merakiOrgId (list of strings). netconfPort(string): Devices's netconfPort. password(string): Devices's password. serialNumber(string): Devices's serialNumber. snmpAuthPassphrase(string): Devices's snmpAuthPassphrase. snmpAuthProtocol(string): Devices's snmpAuthProtocol. snmpMode(string): Devices's snmpMode. snmpPrivPassphrase(string): Devices's snmpPrivPassphrase. snmpPrivProtocol(string): Devices's snmpPrivProtocol. snmpROCommunity(string): Devices's snmpROCommunity. snmpRWCommunity(string): Devices's snmpRWCommunity. snmpRetry(integer): Devices's snmpRetry. snmpTimeout(integer): Devices's snmpTimeout. snmpUserName(string): Devices's snmpUserName. snmpVersion(string): Devices's snmpVersion. type(string): Devices's type. Available values are 'COMPUTE_DEVICE', 'MERAKI_DASHBOARD', 'NETWORK_DEVICE' and 'NODATACHANGE'. updateMgmtIPaddressList(list): Devices's updateMgmtIPaddressList (list of objects). userName(string): Devices's userName. headers(dict): Dictionary of HTTP Headers to send with the Request . payload(dict): A JSON serializable Python object to send in the body of the Request. active_validation(bool): Enable/Disable payload validation. Defaults to True. **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(payload, dict) if headers is not None: if 'Content-Type' in headers: check_type(headers.get('Content-Type'), basestring, may_be_none=False) if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } _payload = { 'cliTransport': cliTransport, 'computeDevice': computeDevice, 'enablePassword': enablePassword, 'extendedDiscoveryInfo': extendedDiscoveryInfo, 'httpPassword': httpPassword, 'httpPort': httpPort, 'httpSecure': httpSecure, 'httpUserName': httpUserName, 'ipAddress': ipAddress, 'merakiOrgId': merakiOrgId, 'netconfPort': netconfPort, 'password': password, 'serialNumber': serialNumber, 'snmpAuthPassphrase': snmpAuthPassphrase, 'snmpAuthProtocol': snmpAuthProtocol, 'snmpMode': snmpMode, 'snmpPrivPassphrase': snmpPrivPassphrase, 'snmpPrivProtocol': snmpPrivProtocol, 'snmpROCommunity': snmpROCommunity, 'snmpRWCommunity': snmpRWCommunity, 'snmpRetry': snmpRetry, 'snmpTimeout': snmpTimeout, 'snmpUserName': snmpUserName, 'snmpVersion': snmpVersion, 'type': type, 'updateMgmtIPaddressList': updateMgmtIPaddressList, 'userName': userName, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) if active_validation: self._request_validator('jsd_fe3ec7651e79d891fce37a0d860_v2_2_1')\ .validate(_payload) with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.post(endpoint_full_url, params=_params, json=_payload, headers=_headers) else: json_data = self._session.post(endpoint_full_url, params=_params, json=_payload) return self._object_factory('bpm_fe3ec7651e79d891fce37a0d860_v2_2_1', json_data) def get_interface_details(self, device_id, name, headers=None, **request_parameters): """Returns interface by specified device Id and interface name. Args: device_id(basestring): deviceId path parameter. Device ID. name(basestring): name query parameter. Interface name. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(name, basestring, may_be_none=False) check_type(device_id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'name': name, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'deviceId': device_id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/interface/network-' + 'device/{deviceId}/interface-name') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_bef9e9b306085d879b877598fad71b51_v2_2_1', json_data) def get_device_count(self, headers=None, **request_parameters): """Returns the count of network devices based on the filter criteria by management IP address, mac address, hostname and location name. Args: headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/count') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_bbfe7340fe6752e5bc273a303d165654_v2_2_1', json_data) def get_device_interface_count_by_id(self, device_id, headers=None, **request_parameters): """Returns the interface count for the given device. Args: device_id(basestring): deviceId path parameter. Device ID. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(device_id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'deviceId': device_id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/interface/network-' + 'device/{deviceId}/count') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_b7d6c62ea6522081fcf55de7eb9fd7_v2_2_1', json_data) def get_ospf_interfaces(self, headers=None, **request_parameters): """Returns the interfaces that has OSPF enabled. Args: headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/interface/ospf') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_a2868ff45f5621965f6ece01a742ce_v2_2_1', json_data) def get_device_summary(self, id, headers=None, **request_parameters): """Returns brief summary of device info such as hostname, management IP address for the given device Id. Args: id(basestring): id path parameter. Device ID. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'id': id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/{id}/brief') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_fe0153ca24205608b8741d51f5a6d54a_v2_2_1', json_data) def get_functional_capability_by_id(self, id, headers=None, **request_parameters): """Returns functional capability with given Id. Args: id(basestring): id path parameter. Functional Capability UUID. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'id': id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/functional-' + 'capability/{id}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_f494532c45654fdaeda8d46a0d9753d_v2_2_1', json_data) def get_polling_interval_by_id(self, id, headers=None, **request_parameters): """Returns polling interval by device id. Args: id(basestring): id path parameter. Device ID. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'id': id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/{id}/collection-' + 'schedule') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_f90daf1c279351f884ba3198d3b2d641_v2_2_1', json_data) def get_isis_interfaces(self, headers=None, **request_parameters): """Returns the interfaces that has ISIS enabled. Args: headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/interface/isis') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_af71ea437c8755869b00d26ba9234dff_v2_2_1', json_data) def get_device_config_by_id(self, network_device_id, headers=None, **request_parameters): """Returns the device config by specified device ID. Args: network_device_id(basestring): networkDeviceId path parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(network_device_id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'networkDeviceId': network_device_id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-' + 'device/{networkDeviceId}/config') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_af0bbf34adb5146b931ec874fc2cc40_v2_2_1', json_data) def get_organization_list_for_meraki(self, id, headers=None, **request_parameters): """Returns list of organizations for meraki dashboard. Args: id(basestring): id path parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'id': id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/{id}/meraki-' + 'organization') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_b4ba6d23d5e7eb62cbba4c9e1a29d_v2_2_1', json_data) def get_device_config_count(self, headers=None, **request_parameters): """Returns the count of device configs. Args: headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/config/count') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_dc0a72537a3578ca31cc5ef29131d35_v2_2_1', json_data) def poe_details_(self, device_uuid, headers=None, **request_parameters): """Returns POE details for device. Args: device_uuid(basestring): deviceUuid path parameter. uuid of the device. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ return self.poe_details(device_uuid, headers=headers, **request_parameters) def poe_details(self, device_uuid, headers=None, **request_parameters): """Returns POE details for device. Args: device_uuid(basestring): deviceUuid path parameter. uuid of the device. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(device_uuid, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'deviceUuid': device_uuid, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/{deviceUuid}/poe') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_f7a67aba0b365a1e9dae62d148511a25_v2_2_1', json_data) def get_module_count(self, device_id, name_list=None, operational_state_code_list=None, part_number_list=None, vendor_equipment_type_list=None, headers=None, **request_parameters): """Returns Module Count. Args: device_id(basestring): deviceId query parameter. name_list(basestring, list, set, tuple): nameList query parameter. vendor_equipment_type_list(basestring, list, set, tuple): vendorEquipmentTypeList query parameter. part_number_list(basestring, list, set, tuple): partNumberList query parameter. operational_state_code_list(basestring, list, set, tuple): operationalStateCodeList query parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(device_id, basestring, may_be_none=False) check_type(name_list, (basestring, list, set, tuple)) check_type(vendor_equipment_type_list, (basestring, list, set, tuple)) check_type(part_number_list, (basestring, list, set, tuple)) check_type(operational_state_code_list, (basestring, list, set, tuple)) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'deviceId': device_id, 'nameList': name_list, 'vendorEquipmentTypeList': vendor_equipment_type_list, 'partNumberList': part_number_list, 'operationalStateCodeList': operational_state_code_list, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/module/count') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_fb11f997009751c991884b5fc02087c5_v2_2_1', json_data) def get_device_config_for_all_devices(self, headers=None, **request_parameters): """Returns the config for all devices. Args: headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/config') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_ed2bca4be412527198720a4dfec9604a_v2_2_1', json_data) def get_interface_by_id(self, id, headers=None, **request_parameters): """Returns the interface for the given interface ID. Args: id(basestring): id path parameter. Interface ID. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'id': id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/interface/{id}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_b16bff74ae54ca88a02b34df169218_v2_2_1', json_data) def get_interface_info_by_id(self, device_id, headers=None, **request_parameters): """Returns list of interfaces by specified device. Args: device_id(basestring): deviceId path parameter. Device ID. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(device_id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'deviceId': device_id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/interface/network-device/{deviceId}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_e057192b97615f0d99a10e2b66bab13a_v2_2_1', json_data) def update_device_role(self, id=None, role=None, roleSource=None, headers=None, payload=None, active_validation=True, **request_parameters): """Updates the role of the device as access, core, distribution, border router. Args: id(string): Devices's id. role(string): Devices's role. roleSource(string): Devices's roleSource. headers(dict): Dictionary of HTTP Headers to send with the Request . payload(dict): A JSON serializable Python object to send in the body of the Request. active_validation(bool): Enable/Disable payload validation. Defaults to True. **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(payload, dict) if headers is not None: if 'Content-Type' in headers: check_type(headers.get('Content-Type'), basestring, may_be_none=False) if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } _payload = { 'id': id, 'role': role, 'roleSource': roleSource, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) if active_validation: self._request_validator('jsd_aa11f09d28165f4ea6c81b8642e59cc4_v2_2_1')\ .validate(_payload) with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/brief') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.put(endpoint_full_url, params=_params, json=_payload, headers=_headers) else: json_data = self._session.put(endpoint_full_url, params=_params, json=_payload) return self._object_factory('bpm_aa11f09d28165f4ea6c81b8642e59cc4_v2_2_1', json_data) def get_functional_capability_for_devices(self, device_id, function_name=None, headers=None, **request_parameters): """Returns the functional-capability for given devices. Args: device_id(basestring): deviceId query parameter. Accepts comma separated deviceid's and return list of functional-capabilities for the given id's. If invalid or not-found id's are provided, null entry will be returned in the list. function_name(basestring, list, set, tuple): functionName query parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(device_id, basestring, may_be_none=False) check_type(function_name, (basestring, list, set, tuple)) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'deviceId': device_id, 'functionName': function_name, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/functional-capability') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_ad8cea95d71352f0842a2c869765e6cf_v2_2_1', json_data) def register_device_for_wsa(self, macaddress=None, serial_number=None, headers=None, **request_parameters): """Registers a device for WSA notification. Args: serial_number(basestring): serialNumber query parameter. Serial number of the device. macaddress(basestring): macaddress query parameter. Mac addres of the device. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(serial_number, basestring) check_type(macaddress, basestring) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'serialNumber': serial_number, 'macaddress': macaddress, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/tenantinfo/macaddress') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_b2c39feb5e48913492c33add7f13_v2_2_1', json_data) def get_interface_by_ip(self, ip_address, headers=None, **request_parameters): """Returns list of interfaces for specified device management IP address. Args: ip_address(basestring): ipAddress path parameter. IP address of the interface. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(ip_address, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'ipAddress': ip_address, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/interface/ip-address/{ipAddress}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_cf7fa95e3ed4527aa5ba8ca871a8c142_v2_2_1', json_data) def export_device_list(self, deviceUuids=None, id=None, operationEnum=None, parameters=None, password=None, headers=None, payload=None, active_validation=True, **request_parameters): """Exports the selected network device to a file. Args: deviceUuids(list): Devices's deviceUuids (list of strings). id(string): Devices's id. operationEnum(string): Devices's operationEnum. Available values are 'CREDENTIALDETAILS' and 'DEVICEDETAILS'. parameters(list): Devices's parameters (list of strings). password(string): Devices's password. headers(dict): Dictionary of HTTP Headers to send with the Request . payload(dict): A JSON serializable Python object to send in the body of the Request. active_validation(bool): Enable/Disable payload validation. Defaults to True. **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(payload, dict) if headers is not None: if 'Content-Type' in headers: check_type(headers.get('Content-Type'), basestring, may_be_none=False) if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } _payload = { 'deviceUuids': deviceUuids, 'id': id, 'operationEnum': operationEnum, 'parameters': parameters, 'password': password, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) if active_validation: self._request_validator('jsd_e6ec627d3c587288978990aae75228_v2_2_1')\ .validate(_payload) with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/file') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.post(endpoint_full_url, params=_params, json=_payload, headers=_headers) else: json_data = self._session.post(endpoint_full_url, params=_params, json=_payload) return self._object_factory('bpm_e6ec627d3c587288978990aae75228_v2_2_1', json_data) def get_network_device_by_ip(self, ip_address, headers=None, **request_parameters): """Returns the network device by specified IP address. Args: ip_address(basestring): ipAddress path parameter. Device IP address. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(ip_address, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'ipAddress': ip_address, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/ip-address/{ipAddress}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_dc74c2052a3a4eb7e2a01eaa8e7_v2_2_1', json_data) def get_device_by_serial_number(self, serial_number, headers=None, **request_parameters): """Returns the network device with given serial number. Args: serial_number(basestring): serialNumber path parameter. Device serial number. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(serial_number, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'serialNumber': serial_number, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/serial-' + 'number/{serialNumber}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_c53d56c282e5f108c659009d21f9d26_v2_2_1', json_data) def get_modules(self, device_id, limit=None, name_list=None, offset=None, operational_state_code_list=None, part_number_list=None, vendor_equipment_type_list=None, headers=None, **request_parameters): """Returns modules by specified device id. Args: device_id(basestring): deviceId query parameter. limit(basestring): limit query parameter. offset(basestring): offset query parameter. name_list(basestring, list, set, tuple): nameList query parameter. vendor_equipment_type_list(basestring, list, set, tuple): vendorEquipmentTypeList query parameter. part_number_list(basestring, list, set, tuple): partNumberList query parameter. operational_state_code_list(basestring, list, set, tuple): operationalStateCodeList query parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(device_id, basestring, may_be_none=False) check_type(limit, basestring) check_type(offset, basestring) check_type(name_list, (basestring, list, set, tuple)) check_type(vendor_equipment_type_list, (basestring, list, set, tuple)) check_type(part_number_list, (basestring, list, set, tuple)) check_type(operational_state_code_list, (basestring, list, set, tuple)) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'deviceId': device_id, 'limit': limit, 'offset': offset, 'nameList': name_list, 'vendorEquipmentTypeList': vendor_equipment_type_list, 'partNumberList': part_number_list, 'operationalStateCodeList': operational_state_code_list, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/module') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_ce9e547725c45c66824afda98179d12f_v2_2_1', json_data) def get_network_device_by_pagination_range(self, records_to_return, start_index, headers=None, **request_parameters): """Returns the list of network devices for the given pagination range. Args: start_index(int): startIndex path parameter. Start index. records_to_return(int): recordsToReturn path parameter. Number of records to return. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(start_index, int, may_be_none=False) check_type(records_to_return, int, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'startIndex': start_index, 'recordsToReturn': records_to_return, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-' + 'device/{startIndex}/{recordsToReturn}') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_d7b6ce5abd5dad837e22ace817a6f0_v2_2_1', json_data) def get_all_interfaces(self, limit=None, offset=None, headers=None, **request_parameters): """Returns all available interfaces. This endpoint can return a maximum of 500 interfaces. Args: offset(int): offset query parameter. limit(int): limit query parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(offset, int) check_type(limit, int) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'offset': offset, 'limit': limit, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/interface') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_d3d71136d95562afc211b40004d109_v2_2_1', json_data) def get_wireless_lan_controller_details_by_id(self, id, headers=None, **request_parameters): """Returns the wireless lan controller info with given device ID. Args: id(basestring): id path parameter. Device ID. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(id, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { 'id': id, } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/{id}/wireless-info') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_c01ee650fcf858789ca00c8deda969b9_v2_2_1', json_data) def retrieves_all_network_devices(self, associated_wlc_ip=None, collection_interval=None, collection_status=None, error_code=None, family=None, hostname=None, limit=None, mac_address=None, management_ip_address=None, offset=None, platform_id=None, reachability_failure_reason=None, reachability_status=None, role=None, role_source=None, serial_number=None, series=None, software_type=None, software_version=None, type=None, up_time=None, vrf_name=None, headers=None, **request_parameters): """Gets the list of first 500 network devices sorted lexicographically based on host name. It can be filtered using management IP address, mac address, hostname and location name. If id param is provided, it will be returning the list of network-devices for the given id's and other request params will be ignored. In case of autocomplete request, returns the list of specified attributes. Args: vrf_name(basestring): vrfName query parameter. management_ip_address(basestring): managementIpAddress query parameter. hostname(basestring): hostname query parameter. mac_address(basestring): macAddress query parameter. family(basestring): family query parameter. collection_status(basestring): collectionStatus query parameter. collection_interval(basestring): collectionInterval query parameter. software_version(basestring): softwareVersion query parameter. software_type(basestring): softwareType query parameter. reachability_status(basestring): reachabilityStatus query parameter. reachability_failure_reason(basestring): reachabilityFailureReason query parameter. error_code(basestring): errorCode query parameter. platform_id(basestring): platformId query parameter. series(basestring): series query parameter. type(basestring): type query parameter. serial_number(basestring): serialNumber query parameter. up_time(basestring): upTime query parameter. role(basestring): role query parameter. role_source(basestring): roleSource query parameter. associated_wlc_ip(basestring): associatedWlcIp query parameter. offset(basestring): offset query parameter. limit(basestring): limit query parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(vrf_name, basestring) check_type(management_ip_address, basestring) check_type(hostname, basestring) check_type(mac_address, basestring) check_type(family, basestring) check_type(collection_status, basestring) check_type(collection_interval, basestring) check_type(software_version, basestring) check_type(software_type, basestring) check_type(reachability_status, basestring) check_type(reachability_failure_reason, basestring) check_type(error_code, basestring) check_type(platform_id, basestring) check_type(series, basestring) check_type(type, basestring) check_type(serial_number, basestring) check_type(up_time, basestring) check_type(role, basestring) check_type(role_source, basestring) check_type(associated_wlc_ip, basestring) check_type(offset, basestring) check_type(limit, basestring) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'vrfName': vrf_name, 'managementIpAddress': management_ip_address, 'hostname': hostname, 'macAddress': mac_address, 'family': family, 'collectionStatus': collection_status, 'collectionInterval': collection_interval, 'softwareVersion': software_version, 'softwareType': software_type, 'reachabilityStatus': reachability_status, 'reachabilityFailureReason': reachability_failure_reason, 'errorCode': error_code, 'platformId': platform_id, 'series': series, 'type': type, 'serialNumber': serial_number, 'upTime': up_time, 'role': role, 'roleSource': role_source, 'associatedWlcIp': associated_wlc_ip, 'offset': offset, 'limit': limit, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/network-device/autocomplete') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_b5a5c8da4aaa526da6a06e97c80a38be_v2_2_1', json_data) def get_device_detail(self, identifier, search_by, timestamp=None, headers=None, **request_parameters): """Returns detailed Network Device information retrieved by Mac Address, Device Name or UUID for any given point of time. . Args: timestamp(basestring): timestamp query parameter. Epoch time(in milliseconds) when the device data is required. search_by(basestring): searchBy query parameter. MAC Address or Device Name value or UUID of the network device. identifier(basestring): identifier query parameter. One of keywords : macAddress or uuid or nwDeviceName. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(timestamp, basestring) check_type(search_by, basestring, may_be_none=False) check_type(identifier, basestring, may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'timestamp': timestamp, 'searchBy': search_by, 'identifier': identifier, } if _params['timestamp'] is None: _params['timestamp'] = '' _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/device-detail') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_c9ee787eb5a0391309f45ddf392ca_v2_2_1', json_data) def devices(self, device_role=None, end_time=None, health=None, limit=None, offset=None, site_id=None, start_time=None, headers=None, **request_parameters): """Intent API for accessing DNA Assurance Device object for generating reports, creating dashboards or creating additional value added services. Args: device_role(basestring): deviceRole query parameter. The device role (One of CORE, ACCESS, DISTRIBUTION, ROUTER, WLC, AP). site_id(basestring): siteId query parameter. Assurance site UUID value. health(basestring): health query parameter. The device overall health (One of POOR, FAIR, GOOD). start_time(int): startTime query parameter. UTC epoch time in milliseconds. end_time(int): endTime query parameter. UTC epoch time in miliseconds. limit(int): limit query parameter. Max number of device entries in the response (default to 50. Max at 1000). offset(int): offset query parameter. The offset of the first device in the returned data. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: MyDict: JSON response. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) check_type(device_role, basestring) check_type(site_id, basestring) check_type(health, basestring) check_type(start_time, int) check_type(end_time, int) check_type(limit, int) check_type(offset, int) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { 'deviceRole': device_role, 'siteId': site_id, 'health': health, 'startTime': start_time, 'endTime': end_time, 'limit': limit, 'offset': offset, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/device-health') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_c75e364632e15384a18063458e2ba0e3_v2_2_1', json_data) def get_device_enrichment_details(self, headers=None, **request_parameters): """Enriches a given network device context (device id or device Mac Address or device management IP address) with details about the device and neighbor topology. Args: headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides support for parameters that may be added in the future). Returns: list: JSON response. A list of MyDict objects. Access the object's properties by using the dot notation or the bracket notation. Raises: TypeError: If the parameter types are incorrect. MalformedRequest: If the request body created is invalid. ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) if headers is not None: if 'entity_type' in headers: check_type(headers.get('entity_type'), basestring, may_be_none=False) if 'entity_value' in headers: check_type(headers.get('entity_value'), basestring, may_be_none=False) if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), basestring, may_be_none=False) _params = { } _params.update(request_parameters) _params = dict_from_items_with_values(_params) path_params = { } with_custom_headers = False _headers = self._session.headers or {} if headers: _headers.update(dict_of_str(headers)) with_custom_headers = True e_url = ('/dna/intent/api/v1/device-enrichment-details') endpoint_full_url = apply_path_params(e_url, path_params) if with_custom_headers: json_data = self._session.get(endpoint_full_url, params=_params, headers=_headers) else: json_data = self._session.get(endpoint_full_url, params=_params) return self._object_factory('bpm_a20c25e0fa518bb186fd7747450ef6_v2_2_1', json_data)
39.495937
123
0.569881
13,288
131,245
5.388998
0.041014
0.024005
0.032761
0.02441
0.855716
0.847044
0.836543
0.824603
0.813864
0.800416
0
0.015001
0.364098
131,245
3,322
124
39.507827
0.843013
0.313543
0
0.790698
0
0
0.088998
0.054643
0
0
0
0
0
1
0.024267
false
0.016684
0.003033
0
0.051567
0.000506
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b5ed61ff90fd136a8d0cda4734453d953fece182
6,740
py
Python
FUEL/dataload.py
cuis15/FCFL
59302004f9cfc20e305222ebb512235c6679cca8
[ "MIT" ]
5
2021-11-08T08:08:44.000Z
2022-03-21T07:10:32.000Z
FUEL/dataload.py
cuis15/FCFL
59302004f9cfc20e305222ebb512235c6679cca8
[ "MIT" ]
1
2021-06-15T07:13:57.000Z
2021-06-15T07:17:00.000Z
FUEL/dataload.py
cuis15/FCFL
59302004f9cfc20e305222ebb512235c6679cca8
[ "MIT" ]
2
2021-02-15T05:34:55.000Z
2021-02-15T14:46:03.000Z
import os import random import numpy as np from utils import read_data import torch from torch.utils.data import Dataset, DataLoader import pdb class Federated_Dataset(Dataset): def __init__(self, X, Y, A): self.X = X self.Y = Y self.A = A def __getitem__(self, index): X = self.X[index] Y = self.Y[index] A = self.A[index] return X, Y, A def __len__(self): return self.X.shape[0] #### adult dataset x("51 White", "52 Asian-Pac-Islander", "53 Amer-Indian-Eskimo", "54 Other", "55 Black", "56 Female", "57 Male") def LoadDataset(args): clients_name, groups, train_data, test_data = read_data(args.train_dir, args.test_dir) # client_name [phd, non-phd] client_train_loads = [] client_test_loads = [] args.n_clients = len(clients_name) # clients_name = clients_name[:1] if args.dataset == "adult": for client in clients_name: X = np.array(train_data[client]["x"]).astype(np.float32) Y = np.array(train_data[client]["y"]).astype(np.float32) if args.sensitive_attr == "race": A = X[:,51] # [1: white, 0: other] X = np.delete(X, [51, 52, 53, 54, 55], axis = 1) args.n_feats = X.shape[1] elif args.sensitive_attr == "sex": A = X[:, 56] # [1: female, 0: male] X = np.delete(X, [56, 57], axis = 1) args.n_feats = X.shape[1] elif args.sensitive_attr == "none-race": A = X[:, 51] # [1: white, 0: other] args.n_feats = X.shape[1] elif args.sensitive_attr == "none-sex": A = X[:, 56] args.n_feats = X.shape[1] else: print("error sensitive attr") exit() dataset = Federated_Dataset(X, Y, A) client_train_loads.append(DataLoader(dataset, X.shape[0], shuffle = args.shuffle, num_workers = args.num_workers, pin_memory = True, drop_last = args.drop_last)) for client in clients_name: X = np.array(test_data[client]["x"]).astype(np.float32) Y = np.array(test_data[client]["y"]).astype(np.float32) if args.sensitive_attr =="race": A = X[:,51] # [1: white, 0: other] X = np.delete(X, [51, 52, 53, 54, 55],axis = 1) elif args.sensitive_attr == "sex": A = X[:, 56] # [1: female, 0: male] X = np.delete(X, [56, 57], axis = 1) elif args.sensitive_attr == "none-race": A = X[:, 51] # [1: white, 0: other] args.n_feats = X.shape[1] elif args.sensitive_attr == "none-sex": A = X[:, 56] args.n_feats = X.shape[1] else: print("error sensitive attr") exit() dataset = Federated_Dataset(X, Y, A) client_test_loads.append(DataLoader(dataset, X.shape[0], shuffle = args.shuffle, num_workers = args.num_workers, pin_memory = True, drop_last = args.drop_last)) elif "eicu" in args.dataset: # elif args.dataset == "eicu_d" or args.dataset == "eicu_los": for client in clients_name: X = np.array(train_data[client]["x"]).astype(np.float32) Y = np.array(train_data[client]["y"]).astype(np.float32) if args.sensitive_attr == "race": A = train_data[client]["race"] args.n_feats = X.shape[1] elif args.sensitive_attr == "sex": A = train_data[client]["gender"] args.n_feats = X.shape[1] else: A = train_data[client]["race"] args.n_feats = X.shape[1] dataset = Federated_Dataset(X, Y, A) client_train_loads.append(DataLoader(dataset, X.shape[0], shuffle = args.shuffle, num_workers = args.num_workers, pin_memory = True, drop_last = args.drop_last)) for client in clients_name: X = np.array(test_data[client]["x"]).astype(np.float32) Y = np.array(test_data[client]["y"]).astype(np.float32) if args.sensitive_attr =="race": A = test_data[client]["race"] elif args.sensitive_attr == "sex": A = test_data[client]["gender"] else: A = test_data[client]["race"] dataset = Federated_Dataset(X, Y, A) client_test_loads.append(DataLoader(dataset, X.shape[0], shuffle = args.shuffle, num_workers = args.num_workers, pin_memory = True, drop_last = args.drop_last)) elif args.dataset == "health": for client in clients_name: X = np.array(train_data[client]["x"]).astype(np.float32) Y = np.array(train_data[client]["y"]).astype(np.float32) if args.sensitive_attr == "race": A = train_data[client]["race"] args.n_feats = X.shape[1] elif args.sensitive_attr == "sex": A = train_data[client]["isfemale"] args.n_feats = X.shape[1] else: A = train_data[client]["isfemale"] args.n_feats = X.shape[1] dataset = Federated_Dataset(X, Y, A) client_train_loads.append(DataLoader(dataset, X.shape[0], shuffle=args.shuffle, num_workers=args.num_workers, pin_memory=True, drop_last=args.drop_last)) for client in clients_name: X = np.array(test_data[client]["x"]).astype(np.float32) Y = np.array(test_data[client]["y"]).astype(np.float32) if args.sensitive_attr == "race": A = test_data[client]["race"] elif args.sensitive_attr == "sex": A = test_data[client]["isfemale"] else: A = np.zeros(X.shape[0]) dataset = Federated_Dataset(X, Y, A) client_test_loads.append(DataLoader(dataset, X.shape[0], shuffle=args.shuffle, num_workers=args.num_workers, pin_memory=True, drop_last=args.drop_last)) return client_train_loads, client_test_loads
38.514286
130
0.504303
817
6,740
3.988984
0.118727
0.070574
0.083461
0.040503
0.8027
0.79687
0.777846
0.777846
0.777846
0.777846
0
0.028059
0.370772
6,740
174
131
38.735632
0.740391
0.055045
0
0.777778
0
0
0.031948
0
0
0
0
0
0
1
0.027778
false
0
0.048611
0.006944
0.104167
0.013889
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b5f199f73c8e33d3bb18aa457b4a884588b7dc09
184
py
Python
perlin_cupy/__init__.py
jpvt/perlin-cupy
9c00354b45b1960e682a8eb05f40759bd5766cae
[ "MIT" ]
3
2021-07-22T15:56:24.000Z
2021-07-29T01:21:16.000Z
perlin_cupy/__init__.py
jpvt/perlin-cupy
9c00354b45b1960e682a8eb05f40759bd5766cae
[ "MIT" ]
null
null
null
perlin_cupy/__init__.py
jpvt/perlin-cupy
9c00354b45b1960e682a8eb05f40759bd5766cae
[ "MIT" ]
null
null
null
from .perlin3d import generate_fractal_noise_3d, generate_perlin_noise_3d from .perlin2d import generate_perlin_noise_2d, generate_fractal_noise_2d from .interpolant import interpolant
61.333333
73
0.902174
26
184
5.923077
0.423077
0.181818
0.25974
0
0
0
0
0
0
0
0
0.035088
0.070652
184
3
74
61.333333
0.865497
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
1fb2bb07e55829d9df45acc307d18c77d06727b2
4,902
py
Python
ifaces/r/tests.py
RossBrunton/RThing
9c9b352b93eab4ff1f841cbca9ea3c1a0d6f6929
[ "MIT" ]
null
null
null
ifaces/r/tests.py
RossBrunton/RThing
9c9b352b93eab4ff1f841cbca9ea3c1a0d6f6929
[ "MIT" ]
null
null
null
ifaces/r/tests.py
RossBrunton/RThing
9c9b352b93eab4ff1f841cbca9ea3c1a0d6f6929
[ "MIT" ]
null
null
null
"""Unit tests for R interface""" from django.test import TestCase from ifaces import r class RTestCase(TestCase): """Test case for R interface""" def test_works(self): """Test basic functionality""" result = r.run({"namespace":"0", "commands":"1 + 1"}) self.assertTrue("2" in result["out"]) self.assertFalse(result["is_error"]) result = r.run({"namespace":"0", "commands":"aoeu"}) self.assertTrue("aoeu" in result["err"]) self.assertTrue(result["is_error"]) def test_media(self): """Test images""" result = r.run({"namespace":"0", "commands":"1 + 1", "uses_image":True}) self.assertFalse(result["media"]) # Empty image; nothing has been plotted self.assertFalse(result["is_error"]) result = r.run({"namespace":"0", "commands":"plot(0:10)", "uses_image":True}) self.assertTrue(result["media"]) self.assertFalse(result["is_error"]) def test_equivalence(self): """Test that is_equivilant works""" self.assertTrue(r.is_equivalent("", "")) self.assertTrue(r.is_equivalent("1 + 1", "1 + 1")) self.assertTrue(r.is_equivalent("1+1", "1 + 1")) self.assertTrue(r.is_equivalent("1 + 1", "1+1")) self.assertTrue(r.is_equivalent(" 1 + 1", "1 + 1")) self.assertTrue(r.is_equivalent("1 + 1", " 1 + 1")) self.assertTrue(r.is_equivalent("1 + 1 ", "1 + 1")) self.assertTrue(r.is_equivalent("1 + 1", "1 + 1 ")) self.assertTrue(r.is_equivalent("print()", "print()")) self.assertTrue(r.is_equivalent("print ()", "print()")) self.assertTrue(r.is_equivalent("print()", "print ()")) self.assertTrue(r.is_equivalent("print()", "print()")) self.assertTrue(r.is_equivalent("print( )", "print()")) self.assertTrue(r.is_equivalent("print()", "print( )")) self.assertFalse(r.is_equivalent("pr int()", "print()")) self.assertFalse(r.is_equivalent("print()", "pr int()")) self.assertFalse(r.is_equivalent("print('Hello World!')", "print('Hello World!')")) self.assertFalse(r.is_equivalent("print('Hello World!')", "print('Hello World!')")) self.assertTrue(r.is_equivalent("print('Hello World!')", "print('Hello World!')")) self.assertFalse(r.is_equivalent("print('Hello \\'World!')", "print('Hello \\' World!')")) self.assertTrue(r.is_equivalent("print('Hello \\'World!')", "print('Hello \\'World!')")) self.assertTrue(r.is_equivalent("print( 'Hello World!')", "print('Hello World!')")) self.assertTrue(r.is_equivalent("print('Hello World!')", "print( 'Hello World!')")) self.assertTrue(r.is_equivalent("print('Hello World!' )", "print('Hello World!')")) self.assertTrue(r.is_equivalent("print('Hello World!')", "print('Hello World!' )")) self.assertTrue(r.is_equivalent("1.5", "1.5")) self.assertFalse(r.is_equivalent("1. 5", "1.5")) self.assertFalse(r.is_equivalent("1.5", "1. 5")) self.assertFalse(r.is_equivalent("1 .5", "1.5")) self.assertFalse(r.is_equivalent("1.5", "1 .5")) self.assertTrue(r.is_equivalent("1.5e+12", "1.5e+12")) self.assertTrue(r.is_equivalent("1.5e-12", "1.5e-12")) self.assertFalse(r.is_equivalent("1.5e +12", "1.5e+12")) self.assertFalse(r.is_equivalent("1.5e+12", "1.5e +12")) self.assertFalse(r.is_equivalent("1.5e+ 12", "1.5e+12")) self.assertFalse(r.is_equivalent("1.5e+12", "1.5e+ 12")) self.assertFalse(r.is_equivalent("1.5e +12", "1.5e+12")) self.assertFalse(r.is_equivalent("1.5e+12", "1.5e +12")) self.assertFalse(r.is_equivalent("1.5e -12", "1.5e-12")) self.assertFalse(r.is_equivalent("1.5e-12", "1.5e -12")) self.assertFalse(r.is_equivalent("1.5e- 12", "1.5e-12")) self.assertFalse(r.is_equivalent("1.5e-12", "1.5e- 12")) self.assertFalse(r.is_equivalent("1.5e -12", "1.5e-12")) self.assertFalse(r.is_equivalent("1.5e-12", "1.5e -12")) self.assertTrue(r.is_equivalent("0xff", "0xff")) self.assertFalse(r.is_equivalent("0xff", "0x ff")) self.assertFalse(r.is_equivalent("0x ff", "0xff")) self.assertFalse(r.is_equivalent("0xff", "0 xff")) self.assertFalse(r.is_equivalent("0 xff", "0xff")) self.assertTrue(r.is_equivalent("plot(1:10, 1:10)", "plot(1:10, 1:10)")) self.assertTrue(r.is_equivalent("plot(1:10, 1:10)", "plot(1:10,1:10)")) self.assertTrue(r.is_equivalent("plot(1:10,1:10)", "plot(1:10, 1:10)")) self.assertTrue(r.is_equivalent("plot(1:10, 1:10)", "plot(1:10 ,1:10)")) self.assertTrue(r.is_equivalent("plot(1:10 , 1:10)", "plot(1:10, 1:10)"))
50.020408
100
0.580783
666
4,902
4.178679
0.093093
0.058211
0.252246
0.177147
0.84585
0.796263
0.773985
0.748114
0.726554
0.726554
0
0.062195
0.206242
4,902
97
101
50.536082
0.653045
0.032232
0
0.694444
0
0
0.257312
0
0
0
0.005087
0
0.861111
1
0.041667
false
0
0.027778
0
0.083333
0.236111
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
9518885d88cf2db0b8d1cf23c674667f75f6f3f1
1,732
py
Python
src/unittest/python/image_kernels_tests.py
AjayNandoriya/ImageDecomposition
40f92b311cc48f26595d844d1a50d12e4bca1908
[ "MIT" ]
null
null
null
src/unittest/python/image_kernels_tests.py
AjayNandoriya/ImageDecomposition
40f92b311cc48f26595d844d1a50d12e4bca1908
[ "MIT" ]
1
2021-07-22T11:47:25.000Z
2021-07-22T11:47:25.000Z
src/unittest/python/image_kernels_tests.py
AjayNandoriya/ImageDecomposition
40f92b311cc48f26595d844d1a50d12e4bca1908
[ "MIT" ]
null
null
null
import unittest import image_kernels import numpy as np class TestImageKernels(unittest.TestCase): def test_get_avg_angular_kernel_0(self): """Test the get_avg_angular_kernel() function with 0 degree.""" kernel_half_width = 5 # Get the average angular kernel. avg_angular_kernel = image_kernels.get_avg_angular_kernel(kernel_half_width=kernel_half_width, angle=0, tight=True) gt_avg_angular_kernel = np.ones((1, 2*kernel_half_width+1))/(2*kernel_half_width+1) self.assertAlmostEqual(gt_avg_angular_kernel, avg_angular_kernel, delta=0.0001) def test_get_avg_angular_kernel_45(self): """Test the get_avg_angular_kernel() function with 45 degree.""" kernel_half_width = 5 # Get the average angular kernel. avg_angular_kernel = image_kernels.get_avg_angular_kernel(kernel_half_width=kernel_half_width, angle=45, tight=True) # gt_avg_angular_kernel = np.ones((1, 2*kernel_half_width+1))/(2*kernel_half_width+1) # diff = np.abs(gt_avg_angular_kernel - avg_angular_kernel).max() # self.assertAlmostEqual(gt_avg_angular_kernel, avg_angular_kernel, delta=0.0001) def test_get_avg_angular_kernel_90(self): """Test the get_avg_angular_kernel() function with 90 degree.""" kernel_half_width = 5 # Get the average angular kernel. avg_angular_kernel = image_kernels.get_avg_angular_kernel(kernel_half_width=kernel_half_width, angle=90, tight=True) gt_avg_angular_kernel = np.ones((2*kernel_half_width+1, 1))/(2*kernel_half_width+1) self.assertAlmostEqual(gt_avg_angular_kernel, avg_angular_kernel, delta=0.0001) if __name__ == '__main__': unittest.main()
43.3
124
0.733256
254
1,732
4.566929
0.173228
0.291379
0.317241
0.147414
0.885345
0.87069
0.848276
0.818966
0.790517
0.681897
0
0.033613
0.17552
1,732
40
125
43.3
0.778711
0.288684
0
0.263158
0
0
0.006601
0
0
0
0
0
0.105263
1
0.157895
false
0
0.157895
0
0.368421
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
1f2d8567602f6df607f19c95c4d6ef558e1122b7
44
py
Python
ARLO/input_loader/__init__.py
arlo-lib/ARLO
159669884044686e36e07bd1cc0948884ed7cc8d
[ "MIT" ]
null
null
null
ARLO/input_loader/__init__.py
arlo-lib/ARLO
159669884044686e36e07bd1cc0948884ed7cc8d
[ "MIT" ]
null
null
null
ARLO/input_loader/__init__.py
arlo-lib/ARLO
159669884044686e36e07bd1cc0948884ed7cc8d
[ "MIT" ]
null
null
null
from ARLO.input_loader.input_loader import *
44
44
0.863636
7
44
5.142857
0.714286
0.611111
0
0
0
0
0
0
0
0
0
0
0.068182
44
1
44
44
0.878049
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
2f23864c02e25c16d33ab0c228c60909ee12db27
887
py
Python
Python3/324.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
Python3/324.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
Python3/324.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 180 ms submission class Solution: def wiggleSort(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ nums.sort() mid=len(nums[::2]) nums[::2],nums[1::2]=nums[:mid][::-1],nums[mid:][::-1] __________________________________________________________________________________________________ sample 14024 kb submission class Solution: def wiggleSort(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ nums.sort() mid = (len(nums) + 1) // 2 nums[::2], nums[1::2] = nums[:mid][::-1], nums[mid:][::-1] __________________________________________________________________________________________________
40.318182
98
0.684329
79
887
3.962025
0.35443
0.095847
0.102236
0.095847
0.920128
0.920128
0.920128
0.920128
0.920128
0.920128
0
0.029167
0.188275
887
21
99
42.238095
0.405556
0
0
0.733333
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
9
2f45af11abba2a3bf642b84c4db5987d92c7d035
128
py
Python
Api/views/dummy_view.py
JoyLubega/Glory-Recipes
9073123beaab494d45f5620752a10f2ef20ab051
[ "Apache-2.0" ]
null
null
null
Api/views/dummy_view.py
JoyLubega/Glory-Recipes
9073123beaab494d45f5620752a10f2ef20ab051
[ "Apache-2.0" ]
2
2019-06-26T11:12:06.000Z
2021-06-01T23:51:56.000Z
Api/views/dummy_view.py
JoyLubega/Glory-Recipes
9073123beaab494d45f5620752a10f2ef20ab051
[ "Apache-2.0" ]
1
2019-07-02T15:16:38.000Z
2019-07-02T15:16:38.000Z
from ..api import app from ..error_handlers import * @app.route('/index') def index(): return "Welcome to Glory Recipes!"
16
38
0.6875
18
128
4.833333
0.777778
0.206897
0
0
0
0
0
0
0
0
0
0
0.171875
128
7
39
18.285714
0.820755
0
0
0
0
0
0.242188
0
0
0
0
0
0
1
0.2
true
0
0.4
0.2
0.8
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
1
1
0
0
7
2f78d993081ddc42fb8169310fa7eb01bbc36788
188
py
Python
06/01/0.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
null
null
null
06/01/0.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
39
2017-07-31T22:54:01.000Z
2017-08-31T00:19:03.000Z
06/01/0.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
null
null
null
d = {'k0':'v0', 'k1':'v1'}; print(d) print(list(d.keys())) print(list(d.values())) print(list(d.items())) del d['k0'] print(list(d.keys())) print(list(d.values())) print(list(d.items()))
18.8
36
0.590426
34
188
3.264706
0.323529
0.486486
0.540541
0.252252
0.810811
0.810811
0.810811
0.810811
0.810811
0.810811
0
0.028736
0.074468
188
9
37
20.888889
0.609195
0
0
0.75
0
0
0.053191
0
0
0
0
0
0
1
0
false
0
0
0
0
0.875
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
12
85fb96c3b0b7b19de6f746959170024f58933efb
363
py
Python
Learning/ExpertRep/__init__.py
Kieran-Bacon/Expert-Opinions-Vegetation-Change
5b1e9a47beaecea1207979ff0a5ee02a26e5f3a9
[ "Apache-2.0" ]
null
null
null
Learning/ExpertRep/__init__.py
Kieran-Bacon/Expert-Opinions-Vegetation-Change
5b1e9a47beaecea1207979ff0a5ee02a26e5f3a9
[ "Apache-2.0" ]
null
null
null
Learning/ExpertRep/__init__.py
Kieran-Bacon/Expert-Opinions-Vegetation-Change
5b1e9a47beaecea1207979ff0a5ee02a26e5f3a9
[ "Apache-2.0" ]
null
null
null
import os from ExpertRep.concrete.MainBackend import Backend as ExpertModelAPI from ExpertRep.concrete.MainBackend import _veg_ml_dir from ExpertRep.concrete.netcdf_file import NetCDFFile as ClimateModelOutput from ExpertRep.registry.model_registry import available_models as available_models from ExpertRep.abstract.ClimateEvalAPI import ModelNotTrainedException
60.5
82
0.898072
44
363
7.25
0.522727
0.203762
0.197492
0.200627
0.238245
0
0
0
0
0
0
0
0.07438
363
6
83
60.5
0.949405
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
c09294ed64358eba7f0ee1f1ec3e50ed96f6505d
7,871
py
Python
bitwise/state/SIPO.py
jamesjiang52/Bitwise
c71f151d23034b3f9e2a939f637be0eaa16c45c3
[ "MIT" ]
null
null
null
bitwise/state/SIPO.py
jamesjiang52/Bitwise
c71f151d23034b3f9e2a939f637be0eaa16c45c3
[ "MIT" ]
null
null
null
bitwise/state/SIPO.py
jamesjiang52/Bitwise
c71f151d23034b3f9e2a939f637be0eaa16c45c3
[ "MIT" ]
null
null
null
""" The following classes are defined: SerialToParallelConverter1To4 SerialToParallelConverter1To8 SerialToParallelConverter1To16 """ from .. import wire from . import SHIFT Wire = wire.Wire Bus4 = wire.Bus4 Bus8 = wire.Bus8 Bus16 = wire.Bus16 class SerialToParallelConverter1To4: """Construct a new serial-to-4-bit-parallel converter. Args: enable: An object of type Wire. Enables the converter. clear_n: An object of type Wire. Clears all 4 internal registers to 0 asynchronously if its value is 0. data: An object of type Wire. The serial data input. clock: An object of type Wire or Clock. The clock input. output_bus: An object of type Bus4. The parallel output of the converter. output[0] corresponds to the most recent serial data input. Raises: TypeError: If output_bus is not a bus of width 4. """ def __init__(self, enable, clear_n, data, clock, output_bus): if len(output_bus) != 4: raise TypeError( "Expected bus of width 4, received bus of width {0}.".format( len(output_bus) ) ) vcc = Wire() vcc.value = 1 gnd = Wire() gnd.value = 0 d_1 = Wire() d_2 = Wire() d_3 = Wire() d_4 = Wire() b = Wire() d_bus = Bus4(d_1, d_2, d_3, d_4) SHIFT.ShiftRegister4( enable, clear_n, vcc, d_bus, data, clock, output_bus, b ) self.enable = enable self.clear_n = clear_n self.data = data self.clock = clock self.output_bus = output_bus def __str__(self): str_ = "" str_ += "enable: " + str(self.enable.value) + "\n" str_ += "clear_n: " + str(self.clear_n.value) + "\n" str_ += "data: " + str(self.data.value) + "\n" str_ += "clock: " + str(self.clock.value) + "\n" str_ += "output_bus: " + self.output_bus.__str__() return str_ def __call__( self, *, enable=None, clear_n=None, data=None, clock=None, output_bus=None ): if enable is not None: self.enable.value = enable if clear_n is not None: self.clear_n.value = clear_n if data is not None: self.data.value = data if clock is not None: self.clock.value = clock if output_bus is not None: self.output_bus.wire_values = output_bus class SerialToParallelConverter1To8: """Construct a new serial-to-8-bit-parallel converter. Args: enable: An object of type Wire. Enables the converter. clear_n: An object of type Wire. Clears all 8 internal registers to 0 asynchronously if its value is 0. data: An object of type Wire. The serial data input. clock: An object of type Wire or Clock. The clock input. output_bus: An object of type Bus8. The parallel output of the converter. output[0] corresponds to the most recent serial data input. Raises: TypeError: If output_bus is not a bus of width 8. """ def __init__(self, enable, clear_n, data, clock, output_bus): if len(output_bus) != 8: raise TypeError( "Expected bus of width 8, received bus of width {0}.".format( len(output_bus) ) ) vcc = Wire() vcc.value = 1 gnd = Wire() gnd.value = 0 d_1 = Wire() d_2 = Wire() d_3 = Wire() d_4 = Wire() d_5 = Wire() d_6 = Wire() d_7 = Wire() d_8 = Wire() b = Wire() d_bus = Bus8(d_1, d_2, d_3, d_4, d_5, d_6, d_7, d_8) SHIFT.ShiftRegister8( enable, clear_n, vcc, d_bus, data, clock, output_bus, b ) self.enable = enable self.clear_n = clear_n self.data = data self.clock = clock self.output_bus = output_bus def __str__(self): str_ = "" str_ += "enable: " + str(self.enable.value) + "\n" str_ += "clear_n: " + str(self.clear_n.value) + "\n" str_ += "data: " + str(self.data.value) + "\n" str_ += "clock: " + str(self.clock.value) + "\n" str_ += "output_bus: " + self.output_bus.__str__() return str_ def __call__( self, *, enable=None, clear_n=None, data=None, clock=None, output_bus=None ): if enable is not None: self.enable.value = enable if clear_n is not None: self.clear_n.value = clear_n if data is not None: self.data.value = data if clock is not None: self.clock.value = clock if output_bus is not None: self.output_bus.wire_values = output_bus class SerialToParallelConverter1To16: """Construct a new serial-to-16-bit-parallel converter. Args: enable: An object of type Wire. Enables the converter. clear_n: An object of type Wire. Clears all 16 internal registers to 0 asynchronously if its value is 0. data: An object of type Wire. The serial data input. clock: An object of type Wire or Clock. The clock input. output_bus: An object of type Bus16. The parallel output of the converter. output[0] corresponds to the most recent serial data input. Raises: TypeError: If output_bus is not a bus of width 16. """ def __init__(self, enable, clear_n, data, clock, output_bus): if len(output_bus) != 16: raise TypeError( "Expected bus of width 16, received bus of width {0}.".format( len(output_bus) ) ) vcc = Wire() vcc.value = 1 gnd = Wire() gnd.value = 0 d_1 = Wire() d_2 = Wire() d_3 = Wire() d_4 = Wire() d_5 = Wire() d_6 = Wire() d_7 = Wire() d_8 = Wire() d_9 = Wire() d_10 = Wire() d_11 = Wire() d_12 = Wire() d_13 = Wire() d_14 = Wire() d_15 = Wire() d_16 = Wire() b = Wire() d_bus = Bus16( d_1, d_2, d_3, d_4, d_5, d_6, d_7, d_8, d_9, d_10, d_11, d_12, d_13, d_14, d_15, d_16 ) SHIFT.ShiftRegister16( enable, clear_n, vcc, d_bus, data, clock, output_bus, b ) self.enable = enable self.clear_n = clear_n self.data = data self.clock = clock self.output_bus = output_bus def __str__(self): str_ = "" str_ += "enable: " + str(self.enable.value) + "\n" str_ += "clear_n: " + str(self.clear_n.value) + "\n" str_ += "data: " + str(self.data.value) + "\n" str_ += "clock: " + str(self.clock.value) + "\n" str_ += "output_bus: " + self.output_bus.__str__() return str_ def __call__( self, *, enable=None, clear_n=None, data=None, clock=None, output_bus=None ): if enable is not None: self.enable.value = enable if clear_n is not None: self.clear_n.value = clear_n if data is not None: self.data.value = data if clock is not None: self.clock.value = clock if output_bus is not None: self.output_bus.wire_values = output_bus
28.110714
78
0.52344
1,021
7,871
3.830558
0.090108
0.09665
0.038353
0.053695
0.880593
0.856558
0.832012
0.832012
0.829967
0.829967
0
0.029242
0.383052
7,871
279
79
28.21147
0.776153
0.234786
0
0.782178
0
0
0.051939
0
0
0
0
0
0
1
0.044554
false
0
0.009901
0
0.084158
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c0f5c792616030549e6477667de3427c1451e131
5,180
py
Python
src/nn_training.py
mkachuee/DynamicFeatureSelection
22fd416ca0c917e17513649b4c59385c8bc2314c
[ "MIT" ]
null
null
null
src/nn_training.py
mkachuee/DynamicFeatureSelection
22fd416ca0c917e17513649b4c59385c8bc2314c
[ "MIT" ]
null
null
null
src/nn_training.py
mkachuee/DynamicFeatureSelection
22fd416ca0c917e17513649b4c59385c8bc2314c
[ "MIT" ]
null
null
null
import pdb import numpy as np import sklearn.preprocessing def feed_data(ph_input_features, ph_input_mask, ph_output_targets, ph_input_features_full, dataset_features, dataset_targets, phase, experiment='real_mask', size_batch=100, missing_portion=(1,1), seed=None): inds_tst = np.arange(1,dataset_features.shape[0]*0.15, dtype=np.int) inds_val = np.arange(dataset_features.shape[0]*0.15, dataset_features.shape[0]*0.30, dtype=np.int) inds_trn = np.arange(dataset_features.shape[0]*0.30, dataset_features.shape[0]*1.00, dtype=np.int) # if the phase is validation if phase == 'validation': phase_features = dataset_features[inds_val,:] phase_targets = dataset_targets[inds_val,:] # if the phase is test elif phase == 'test': phase_features = dataset_features[inds_tst,:] phase_targets = dataset_targets[inds_tst,:] # if the phase is train elif phase == 'train': phase_features = dataset_features[inds_trn,:] phase_targets = dataset_targets[inds_trn,:] elif phase == 'all': phase_features = dataset_features[:,:] phase_targets = dataset_targets[:,:] else: raise NotImplementedError('phase not found.') if phase == 'all': # select from the begining features = phase_features[:size_batch,:] targets = phase_targets[:size_batch,:] else: # select a random batch np.random.seed(seed) inds_sel = np.random.permutation(phase_features.shape[0])[:size_batch] features = phase_features[inds_sel,:] targets = phase_targets[inds_sel,:] # inject missing values # if input is tuple, use latent beta distribution if type(missing_portion) == tuple: zs = np.random.beta(missing_portion[0], missing_portion[1], (features.shape[0],1)) # else use fixed probability random else: zs = missing_portion mask = np.random.rand(features.shape[0], features.shape[1]) >= zs features_full = np.copy(features) features[np.logical_not(mask)] = 0 # see if it is a dummy mask if experiment == 'ones_mask': mask = np.ones(features.shape, dtype=np.float) return {ph_input_features:features, ph_input_mask:mask, ph_output_targets:targets, ph_input_features_full:features_full} def feed_data_nhanes(ph_input_features, ph_input_mask, ph_output_targets, ph_input_features_full, dataset_features, dataset_targets, phase, experiment='real_mask', size_batch=100, missing_portion=(1,1), seed=None): # preliminary checks n_classes = dataset_targets.shape[1] inds_tst = np.arange(1,dataset_features.shape[0]*0.15, dtype=np.int) inds_val = np.arange(dataset_features.shape[0]*0.15, dataset_features.shape[0]*0.30, dtype=np.int) inds_trn = np.arange(dataset_features.shape[0]*0.30, dataset_features.shape[0]*1.00, dtype=np.int) # if the phase is validation if phase == 'validation': phase_features = dataset_features[inds_val,:] phase_targets = dataset_targets[inds_val,:] # if the phase is test elif phase == 'test': phase_features = dataset_features[inds_tst,:] phase_targets = dataset_targets[inds_tst,:] # if the phase is train elif phase == 'train': phase_features = dataset_features[inds_trn,:] phase_targets = dataset_targets[inds_trn,:] elif phase == 'all': phase_features = dataset_features[:,:] phase_targets = dataset_targets[:,:] else: raise NotImplementedError('phase not found.') # select a random and balanced batch phase_targets_dense = np.argmax(phase_targets, 1) np.random.seed(seed) inds_perm = np.random.permutation(phase_features.shape[0]) inds_sel = [] for cl in range(n_classes): inds_cl = inds_perm[phase_targets_dense[inds_perm] == cl] inds_sel.extend(inds_cl[:size_batch//n_classes]) inds_sel = np.random.permutation(inds_sel) features = phase_features[inds_sel,:] targets = phase_targets[inds_sel,:] # inject missing values # if input is tuple, use latent beta distribution if type(missing_portion) == tuple: zs = np.random.beta(missing_portion[0], missing_portion[1], (features.shape[0],1)) # else use fixed probability random else: zs = missing_portion mask = np.random.rand(features.shape[0], features.shape[1]) >= zs features_full = np.copy(features) features[np.logical_not(mask)] = 0 # see if it is a dummy mask if experiment == 'ones_mask': mask = np.ones(features.shape, dtype=np.float) return {ph_input_features:features, ph_input_mask:mask, ph_output_targets:targets, ph_input_features_full:features_full}
37.810219
78
0.630116
658
5,180
4.717325
0.145897
0.096649
0.072165
0.067655
0.86308
0.840851
0.840851
0.816366
0.816366
0.816366
0
0.018407
0.26583
5,180
136
79
38.088235
0.797791
0.097683
0
0.83
0
0
0.024715
0
0
0
0
0
0
1
0.02
false
0
0.03
0
0.07
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f1d6a630b1496d9b6b62ccce8d69cb0c90673ef9
19,538
py
Python
Monster-Fight-Simulation.py
K-Everette123/Monster-Fight-Simulation
863d4e994257d27860e66a810eda1bc297fdf16a
[ "MIT" ]
null
null
null
Monster-Fight-Simulation.py
K-Everette123/Monster-Fight-Simulation
863d4e994257d27860e66a810eda1bc297fdf16a
[ "MIT" ]
null
null
null
Monster-Fight-Simulation.py
K-Everette123/Monster-Fight-Simulation
863d4e994257d27860e66a810eda1bc297fdf16a
[ "MIT" ]
null
null
null
''' Name: Monster-Fight-Simulation Author: Kyle Everette Date Last Modified: 2/17/16 Simulates a fight between multiple monsters with a loot system. ''' import random roll = input("Type f to begin or q to quit: ") print("\n") p_health = 100 #Initializes beginning variables m_health = 40 kills = 0 exp = 0 level = 0 lp_dmg = 5 #Player low and and high damage hp_dmg = 30 #Monster low and hight damage lm_dmg = 1 hm_dmg = 5 item_dmg = 0 tuff = 0 loot_list = ["shiny_dagger", "shield", "sword"] #Create loot list while roll != "q": #Creates main menu p_dmg = random.randint(lp_dmg, hp_dmg) m_dmg = random.randint(lm_dmg, hm_dmg) if roll != "f" and roll != "q": print("Invalid Choice") print("\n") roll = input("Type f to begin or q to quit: ") print("\n") else: if p_health >= 1: #Combat mechanics print("Number of kills: " + str(kills)) print("\n") print("Your level: " + str(level)) print("\n") print("Your experience: " + str(exp)) print("\n") if m_health >= 1: p_health = p_health - (m_dmg + tuff) m_health = m_health - (p_dmg + item_dmg) print("The skeleton has hit you for " + str(m_dmg) + " damage") print("\n") print("Your health is: " + str(p_health)) print("\n") print("You have hit the skeleton for " + str(p_dmg) + " damage") print("\n") print("Your enemies health is: " + str(m_health)) print("\n") if m_health <= 0 and p_health <= 0: print("You have both died in combat.") print("\n") print("GAME OVER") print("\n") elif p_health <= 0: print("You have died.") print("\n") print("GAME OVER") print("\n") roll = input("Type q to quit: ") print("\n") elif m_health <= 0: #Loot system print("You've slayed the skeleton") print("\n") loot = random.randint(1, 10) if loot_list[2] == "false" and loot_list[1] == "false": if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 elif loot_list[0] == "false" and loot_list[1] == "false": if loot == 10: print("The skeleton dropped a sword!") print("\n") loot_list.pop(2) loot_list.insert(2, "false") item_dmg = 10 if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 elif loot_list[2] == "false": if loot == 8 or loot == 9: print("The skeleton dropped a shield!") print("\n") tuff = -1 loot_list.pop(1) loot_list.insert(1, "false") if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 elif loot_list[0] == "false": if loot == 8 or loot == 9: print("The skeleton dropped a shield!") print("\n") tuff = -1 loot_list.pop(1) loot_list.insert(1, "false") if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 elif loot == 10: print("The skeleton dropped a sword!") print("\n") loot_list.pop(2) loot_list.insert(2, "false") item_dmg = 10 if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: if loot == 6 or loot == 7: print("The skeleton dropped a shiny dagger!") print("\n") loot_list.pop(0) loot_list.insert(0, "false") item_dmg = 1 if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 elif loot == 8 or loot == 9: print("The skeleton has dropped a shield") print("\n") tuff = -1 loot_list.pop(1) loot_list.insert(1, "false") if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 elif loot == 10: print("The skeleton has dropped a sword") print("\n") loot_list.pop(2) loot_list.insert(2, "false") item_dmg = 10 if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: if exp % 20: level += 1 exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") print("You leveled up!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: exp += 10 print("You have slayed the skeleton!") print("\n") print("You gain 10 experience points!") print("\n") roll = input("Type f to continue or q to quit: ") print("\n") m_health = 25 kills += 1 else: roll = input("Type f to continue or q to quit: ") print("\n") else: roll = input("Type f to continue or q to quit: ") print("\n") else: roll = input("Type q to quit: ") print("\n")
47.653659
92
0.287747
1,516
19,538
3.655673
0.077177
0.118008
0.085348
0.093468
0.846084
0.829123
0.812162
0.79502
0.783652
0.783652
0
0.038488
0.631641
19,538
409
93
47.770171
0.731555
0.015099
0
0.875318
0
0
0.173546
0
0
0
0
0
0
1
0
false
0
0.002545
0
0.002545
0.480916
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
9
7b1ae7f9449411798edbcc0925bd23b94c1c9675
176
py
Python
example/custom_functions.py
blakeNaccarato/pdpipewrench
e0a7ebc53931d9a3a137cd2bb690b16858a8c70d
[ "MIT" ]
5
2020-04-14T10:25:02.000Z
2021-12-20T18:48:13.000Z
example/custom_functions.py
neilbartlett/datapipeliner
94b84b3c843842599a1d6fa08365634bbe4b33f2
[ "MIT" ]
9
2020-03-05T17:51:57.000Z
2020-05-01T16:21:04.000Z
example/custom_functions.py
neilbartlett/datapipeliner
94b84b3c843842599a1d6fa08365634bbe4b33f2
[ "MIT" ]
2
2020-04-15T10:10:00.000Z
2021-03-28T20:31:14.000Z
def add_to_col(df, col_name, val): df.loc[:, col_name] = df.loc[:, col_name] + val return df def high_enough(df, col_name, val): return df.loc[:, col_name] > val
22
51
0.636364
32
176
3.25
0.34375
0.336538
0.384615
0.346154
0.519231
0
0
0
0
0
0
0
0.204545
176
7
52
25.142857
0.742857
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
9e3d3ed7a6ef1d734b2fcc29363f447ababcdce7
11,341
py
Python
src/genie/libs/parser/iosxe/tests/ShowVersionRunning/cli/equal/golden_output_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowVersionRunning/cli/equal/golden_output_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowVersionRunning/cli/equal/golden_output_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
expected_output = { "version_running": { 1: { "built": "n/a", "by": "n/a", "file": "consolidated:packages.conf", "file_sha_checksum": "5320a1aa65add90d5c7cfb0ccf4d5a68f6a4fe39", "on": "RP0", "package": "Provisioning File", "role": "provisioning file", "status": "active", "version": "n/a", }, 2: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-rpbase.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "ac93b8faa50c0c5b3d1e3f044e914ad3df34ccc5", "on": "RP0", "package": "rpbase", "role": "rp_base", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 3: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-rpboot.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "n/a", "on": "RP0", "package": "rpboot", "role": "rp_boot", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 4: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-guestshell.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "c42ea329f864e9eb830cf5a7e99864e488496558", "on": "RP0/0", "package": "guestshell", "role": "guestshell", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 5: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-rpbase.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "ac93b8faa50c0c5b3d1e3f044e914ad3df34ccc5", "on": "RP0/0", "package": "rpbase", "role": "rp_daemons", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 6: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-rpbase.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "ac93b8faa50c0c5b3d1e3f044e914ad3df34ccc5", "on": "RP0/0", "package": "rpbase", "role": "rp_iosd", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 7: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-rpbase.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "ac93b8faa50c0c5b3d1e3f044e914ad3df34ccc5", "on": "RP0/0", "package": "rpbase", "role": "rp_security", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 8: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-webui.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "836bc1e3e0b6fa3c4ef24239a76ef7f9896456c7", "on": "RP0/0", "package": "webui", "role": "rp_webui", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 9: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-srdriver.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "f0a09b32013bcdde0f9ed18583dd60d290cf02ab", "on": "RP0/0", "package": "srdriver", "role": "srdriver", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 10: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-rpbase.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "ac93b8faa50c0c5b3d1e3f044e914ad3df34ccc5", "on": "RP1", "package": "rpbase", "role": "rp_base", "status": "n/a", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 11: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-rpboot.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "n/a", "on": "RP1", "package": "rpboot", "role": "rp_boot", "status": "n/a", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 12: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-wlc.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "76aa35c084aacb3f7944e9b52d873d4405c4145c", "on": "RP1", "package": "wlc", "role": "rp_wlc", "status": "n/a", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 13: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-guestshell.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "c42ea329f864e9eb830cf5a7e99864e488496558", "on": "RP1/0", "package": "guestshell", "role": "guestshell", "status": "n/a", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 14: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-rpbase.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "ac93b8faa50c0c5b3d1e3f044e914ad3df34ccc5", "on": "RP1/0", "package": "rpbase", "role": "rp_daemons", "status": "n/a", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 15: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-rpbase.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "ac93b8faa50c0c5b3d1e3f044e914ad3df34ccc5", "on": "RP1/0", "package": "rpbase", "role": "rp_iosd", "status": "n/a", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 16: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-rpbase.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "ac93b8faa50c0c5b3d1e3f044e914ad3df34ccc5", "on": "RP1/0", "package": "rpbase", "role": "rp_security", "status": "n/a", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 17: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-webui.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "836bc1e3e0b6fa3c4ef24239a76ef7f9896456c7", "on": "RP1/0", "package": "webui", "role": "rp_webui", "status": "n/a", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 18: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "/tmp/sw/isos/cat9k-srdriver.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "f0a09b32013bcdde0f9ed18583dd60d290cf02ab", "on": "RP1/0", "package": "srdriver", "role": "srdriver", "status": "n/a", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 19: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-cc_srdriver.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "685a30ff7ddb5383b30b72abbd1468980882987f", "on": "SLOT1", "package": "cc_srdriver", "role": "cc_srdriver", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 20: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-cc_srdriver.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "685a30ff7ddb5383b30b72abbd1468980882987f", "on": "SLOT2", "package": "cc_srdriver", "role": "cc_srdriver", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 21: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-cc_srdriver.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "685a30ff7ddb5383b30b72abbd1468980882987f", "on": "SLOT3", "package": "cc_srdriver", "role": "cc_srdriver", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 22: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-cc_srdriver.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "685a30ff7ddb5383b30b72abbd1468980882987f", "on": "SLOT4", "package": "cc_srdriver", "role": "cc_srdriver", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 23: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-cc_srdriver.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "685a30ff7ddb5383b30b72abbd1468980882987f", "on": "SLOT5", "package": "cc_srdriver", "role": "cc_srdriver", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 24: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-cc_srdriver.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "685a30ff7ddb5383b30b72abbd1468980882987f", "on": "SLOT6", "package": "cc_srdriver", "role": "cc_srdriver", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, 25: { "built": "2021-11-08_11.20", "by": "mcpre", "file": "consolidated:cat9k-cc_srdriver.BLD_POLARIS_DEV_LATEST_20211108_175756.SSA.pkg", "file_sha_checksum": "685a30ff7ddb5383b30b72abbd1468980882987f", "on": "SLOT7", "package": "cc_srdriver", "role": "cc_srdriver", "status": "active", "version": "BLD_POLARIS_DEV_LATEST_20211108_175756", }, } }
40.503571
100
0.530641
1,051
11,341
5.392959
0.085633
0.084686
0.110092
0.160903
0.935251
0.935251
0.899259
0.884086
0.884086
0.814926
0
0.208728
0.321136
11,341
279
101
40.648746
0.527471
0
0
0.734767
0
0
0.545543
0.319901
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
c8b5d2007c10f002703d0bedf900526232bf8a9b
44,122
py
Python
alibabacloud/clients/polardb_20170801.py
wallisyan/alibabacloud-python-sdk-v2
6e024c97cded2403025a7dd8fea8261e41872156
[ "Apache-2.0" ]
21
2018-12-20T07:34:13.000Z
2020-03-05T14:32:08.000Z
alibabacloud/clients/polardb_20170801.py
wallisyan/alibabacloud-python-sdk-v2
6e024c97cded2403025a7dd8fea8261e41872156
[ "Apache-2.0" ]
22
2018-12-21T13:22:33.000Z
2020-06-29T08:37:09.000Z
alibabacloud/clients/polardb_20170801.py
wallisyan/alibabacloud-python-sdk-v2
6e024c97cded2403025a7dd8fea8261e41872156
[ "Apache-2.0" ]
12
2018-12-29T05:45:55.000Z
2022-01-05T09:59:30.000Z
# Copyright 2019 Alibaba Cloud Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from alibabacloud.client import AlibabaCloudClient from alibabacloud.request import APIRequest from alibabacloud.utils.parameter_validation import verify_params class PolardbClient(AlibabaCloudClient): def __init__(self, client_config, credentials_provider=None, retry_policy=None, endpoint_resolver=None): AlibabaCloudClient.__init__(self, client_config, credentials_provider=credentials_provider, retry_policy=retry_policy, endpoint_resolver=endpoint_resolver) self.product_code = 'polardb' self.api_version = '2017-08-01' self.location_service_code = 'polardb' self.location_endpoint_type = 'openAPI' def continue_db_cluster_migration( self, resource_owner_id=None, security_token=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('ContinueDBClusterMigration', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "SecurityToken": security_token, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def abort_db_cluster_migration( self, resource_owner_id=None, security_token=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('AbortDBClusterMigration', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "SecurityToken": security_token, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def unlock_db_cluster_deletion( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('UnlockDBClusterDeletion', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def lock_db_cluster_deletion( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('LockDBClusterDeletion', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def describe_db_cluster_migration( self, resource_owner_id=None, security_token=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DescribeDBClusterMigration', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "SecurityToken": security_token, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def close_db_cluster_migration( self, resource_owner_id=None, continue_enable_binlog=None, security_token=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('CloseDBClusterMigration', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ContinueEnableBinlog": continue_enable_binlog, "SecurityToken": security_token, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def modify_db_cluster_migration( self, resource_owner_id=None, security_token=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, source_rdsdb_instance_id=None, new_master_instance_id=None, owner_id=None): api_request = APIRequest('ModifyDBClusterMigration', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "SecurityToken": security_token, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "SourceRDSDBInstanceId": source_rdsdb_instance_id, "NewMasterInstanceId": new_master_instance_id, "OwnerId": owner_id} return self._handle_request(api_request).result def modify_auto_renew_attribute( self, duration=None, resource_owner_id=None, period_unit=None, resource_owner_account=None, region_id=None, owner_account=None, renewal_status=None, owner_id=None, db_cluster_ids=None): api_request = APIRequest('ModifyAutoRenewAttribute', 'GET', 'http', 'RPC', 'query') api_request._params = { "Duration": duration, "ResourceOwnerId": resource_owner_id, "PeriodUnit": period_unit, "ResourceOwnerAccount": resource_owner_account, "RegionId": region_id, "OwnerAccount": owner_account, "RenewalStatus": renewal_status, "OwnerId": owner_id, "DBClusterIds": db_cluster_ids} return self._handle_request(api_request).result def modify_db_node_class( self, resource_owner_id=None, resource_owner_account=None, client_token=None, db_cluster_id=None, owner_account=None, modify_type=None, db_node_target_class=None, owner_id=None): api_request = APIRequest('ModifyDBNodeClass', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "ClientToken": client_token, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "ModifyType": modify_type, "DBNodeTargetClass": db_node_target_class, "OwnerId": owner_id} return self._handle_request(api_request).result def describe_auto_renew_attribute( self, resource_owner_id=None, resource_owner_account=None, region_id=None, owner_account=None, page_size=None, owner_id=None, page_number=None, db_cluster_ids=None): api_request = APIRequest('DescribeAutoRenewAttribute', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "RegionId": region_id, "OwnerAccount": owner_account, "PageSize": page_size, "OwnerId": owner_id, "PageNumber": page_number, "DBClusterIds": db_cluster_ids} return self._handle_request(api_request).result def create_db_nodes( self, resource_owner_id=None, resource_owner_account=None, client_token=None, db_cluster_id=None, owner_account=None, owner_id=None, list_of_db_node=None): api_request = APIRequest('CreateDBNodes', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "ClientToken": client_token, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id, "DBNode": list_of_db_node} repeat_info = {"DBNode": ('DBNode', 'list', 'dict', [('TargetClass', 'str', None, None), ('ZoneId', 'str', None, None), ]), } verify_params(api_request._params, repeat_info) return self._handle_request(api_request).result def delete_db_nodes( self, resource_owner_id=None, list_of_db_node_id=None, resource_owner_account=None, client_token=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DeleteDBNodes', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "DBNodeId": list_of_db_node_id, "ResourceOwnerAccount": resource_owner_account, "ClientToken": client_token, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} repeat_info = {"DBNodeId": ('DBNodeId', 'list', 'str', None), } verify_params(api_request._params, repeat_info) return self._handle_request(api_request).result def untag_resources( self, all_=None, resource_owner_id=None, list_of_resource_id=None, resource_owner_account=None, region_id=None, owner_account=None, owner_id=None, list_of_tag_key=None, resource_type=None): api_request = APIRequest('UntagResources', 'GET', 'http', 'RPC', 'query') api_request._params = { "All": all_, "ResourceOwnerId": resource_owner_id, "ResourceId": list_of_resource_id, "ResourceOwnerAccount": resource_owner_account, "RegionId": region_id, "OwnerAccount": owner_account, "OwnerId": owner_id, "TagKey": list_of_tag_key, "ResourceType": resource_type} repeat_info = {"ResourceId": ('ResourceId', 'list', 'str', None), "TagKey": ('TagKey', 'list', 'str', None), } verify_params(api_request._params, repeat_info) return self._handle_request(api_request).result def tag_resources( self, resource_owner_id=None, list_of_resource_id=None, resource_owner_account=None, region_id=None, owner_account=None, list_of_tag=None, owner_id=None, resource_type=None): api_request = APIRequest('TagResources', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceId": list_of_resource_id, "ResourceOwnerAccount": resource_owner_account, "RegionId": region_id, "OwnerAccount": owner_account, "Tag": list_of_tag, "OwnerId": owner_id, "ResourceType": resource_type} repeat_info = {"ResourceId": ('ResourceId', 'list', 'str', None), "Tag": ('Tag', 'list', 'dict', [('Value', 'str', None, None), ('Key', 'str', None, None), ]), } verify_params(api_request._params, repeat_info) return self._handle_request(api_request).result def list_tag_resources( self, resource_owner_id=None, list_of_resource_id=None, resource_owner_account=None, region_id=None, next_token=None, owner_account=None, list_of_tag=None, owner_id=None, resource_type=None): api_request = APIRequest('ListTagResources', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceId": list_of_resource_id, "ResourceOwnerAccount": resource_owner_account, "RegionId": region_id, "NextToken": next_token, "OwnerAccount": owner_account, "Tag": list_of_tag, "OwnerId": owner_id, "ResourceType": resource_type} repeat_info = {"ResourceId": ('ResourceId', 'list', 'str', None), "Tag": ('Tag', 'list', 'dict', [('Value', 'str', None, None), ('Key', 'str', None, None), ]), } verify_params(api_request._params, repeat_info) return self._handle_request(api_request).result def modify_db_endpoint_address( self, resource_owner_id=None, connection_string_prefix=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, net_type=None, db_endpoint_id=None, owner_id=None): api_request = APIRequest('ModifyDBEndpointAddress', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ConnectionStringPrefix": connection_string_prefix, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "NetType": net_type, "DBEndpointId": db_endpoint_id, "OwnerId": owner_id} return self._handle_request(api_request).result def modify_db_description( self, resource_owner_id=None, db_name=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, db_description=None, owner_id=None): api_request = APIRequest('ModifyDBDescription', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "DBName": db_name, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "DBDescription": db_description, "OwnerId": owner_id} return self._handle_request(api_request).result def modify_db_cluster_parameters( self, resource_owner_id=None, resource_owner_account=None, effective_time=None, db_cluster_id=None, owner_account=None, owner_id=None, parameters=None): api_request = APIRequest('ModifyDBClusterParameters', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "EffectiveTime": effective_time, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id, "Parameters": parameters} return self._handle_request(api_request).result def modify_db_cluster_endpoint( self, auto_add_new_nodes=None, resource_owner_id=None, nodes=None, read_write_mode=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, db_endpoint_id=None, endpoint_config=None, owner_id=None): api_request = APIRequest('ModifyDBClusterEndpoint', 'GET', 'http', 'RPC', 'query') api_request._params = { "AutoAddNewNodes": auto_add_new_nodes, "ResourceOwnerId": resource_owner_id, "Nodes": nodes, "ReadWriteMode": read_write_mode, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "DBEndpointId": db_endpoint_id, "EndpointConfig": endpoint_config, "OwnerId": owner_id} return self._handle_request(api_request).result def modify_account_password( self, resource_owner_id=None, account_name=None, new_account_password=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('ModifyAccountPassword', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "AccountName": account_name, "NewAccountPassword": new_account_password, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def describe_db_cluster_parameters( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DescribeDBClusterParameters', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def describe_db_cluster_endpoints( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, db_endpoint_id=None, owner_id=None): api_request = APIRequest('DescribeDBClusterEndpoints', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "DBEndpointId": db_endpoint_id, "OwnerId": owner_id} return self._handle_request(api_request).result def delete_db_endpoint_address( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, net_type=None, db_endpoint_id=None, owner_id=None): api_request = APIRequest('DeleteDBEndpointAddress', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "NetType": net_type, "DBEndpointId": db_endpoint_id, "OwnerId": owner_id} return self._handle_request(api_request).result def delete_db_cluster_endpoint( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, db_endpoint_id=None, owner_id=None): api_request = APIRequest('DeleteDBClusterEndpoint', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "DBEndpointId": db_endpoint_id, "OwnerId": owner_id} return self._handle_request(api_request).result def create_db_endpoint_address( self, resource_owner_id=None, connection_string_prefix=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, net_type=None, db_endpoint_id=None, owner_id=None): api_request = APIRequest('CreateDBEndpointAddress', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ConnectionStringPrefix": connection_string_prefix, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "NetType": net_type, "DBEndpointId": db_endpoint_id, "OwnerId": owner_id} return self._handle_request(api_request).result def create_db_cluster_endpoint( self, auto_add_new_nodes=None, resource_owner_id=None, resource_owner_account=None, client_token=None, db_cluster_id=None, owner_account=None, endpoint_config=None, owner_id=None, nodes=None, read_write_mode=None, endpoint_type=None): api_request = APIRequest('CreateDBClusterEndpoint', 'GET', 'http', 'RPC', 'query') api_request._params = { "AutoAddNewNodes": auto_add_new_nodes, "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "ClientToken": client_token, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "EndpointConfig": endpoint_config, "OwnerId": owner_id, "Nodes": nodes, "ReadWriteMode": read_write_mode, "EndpointType": endpoint_type} return self._handle_request(api_request).result def restart_db_node( self, resource_owner_id=None, db_node_id=None, resource_owner_account=None, owner_account=None, owner_id=None): api_request = APIRequest('RestartDBNode', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "DBNodeId": db_node_id, "ResourceOwnerAccount": resource_owner_account, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def modify_db_cluster_access_whitelist( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, security_ips=None, db_cluster_ip_array_name=None, owner_id=None, db_cluster_ip_array_attribute=None): api_request = APIRequest('ModifyDBClusterAccessWhitelist', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "SecurityIps": security_ips, "DBClusterIPArrayName": db_cluster_ip_array_name, "OwnerId": owner_id, "DBClusterIPArrayAttribute": db_cluster_ip_array_attribute} return self._handle_request(api_request).result def describe_db_cluster_access_whitelist( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DescribeDBClusterAccessWhitelist', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def modify_db_cluster_maintain_time( self, maintain_time=None, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('ModifyDBClusterMaintainTime', 'GET', 'http', 'RPC', 'query') api_request._params = { "MaintainTime": maintain_time, "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def revoke_account_privilege( self, resource_owner_id=None, account_name=None, db_name=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('RevokeAccountPrivilege', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "AccountName": account_name, "DBName": db_name, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def reset_account( self, resource_owner_id=None, account_password=None, account_name=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('ResetAccount', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "AccountPassword": account_password, "AccountName": account_name, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def grant_account_privilege( self, resource_owner_id=None, account_name=None, db_name=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None, account_privilege=None): api_request = APIRequest('GrantAccountPrivilege', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "AccountName": account_name, "DBName": db_name, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id, "AccountPrivilege": account_privilege} return self._handle_request(api_request).result def describe_databases( self, resource_owner_id=None, db_name=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DescribeDatabases', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "DBName": db_name, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def delete_database( self, resource_owner_id=None, db_name=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DeleteDatabase', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "DBName": db_name, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def delete_account( self, resource_owner_id=None, account_name=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DeleteAccount', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "AccountName": account_name, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def create_database( self, resource_owner_id=None, db_name=None, account_name=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, db_description=None, owner_id=None, character_set_name=None, account_privilege=None): api_request = APIRequest('CreateDatabase', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "DBName": db_name, "AccountName": account_name, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "DBDescription": db_description, "OwnerId": owner_id, "CharacterSetName": character_set_name, "AccountPrivilege": account_privilege} return self._handle_request(api_request).result def delete_backup( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, backup_id=None, owner_id=None): api_request = APIRequest('DeleteBackup', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "BackupId": backup_id, "OwnerId": owner_id} return self._handle_request(api_request).result def modify_db_cluster_description( self, resource_owner_id=None, db_cluster_description=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('ModifyDBClusterDescription', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "DBClusterDescription": db_cluster_description, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def modify_account_description( self, resource_owner_id=None, account_name=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None, account_description=None): api_request = APIRequest('ModifyAccountDescription', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "AccountName": account_name, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id, "AccountDescription": account_description} return self._handle_request(api_request).result def describe_regions( self, resource_owner_id=None, resource_owner_account=None, owner_account=None, owner_id=None): api_request = APIRequest('DescribeRegions', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def describe_accounts( self, resource_owner_id=None, account_name=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DescribeAccounts', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "AccountName": account_name, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def delete_db_cluster( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DeleteDBCluster', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def create_db_cluster( self, resource_owner_id=None, db_cluster_description=None, period=None, resource_owner_account=None, client_token=None, owner_account=None, owner_id=None, used_time=None, cluster_network_type=None, vswitch_id=None, db_node_class=None, auto_renew=None, engine=None, vpc_id=None, db_type=None, zone_id=None, db_version=None, creation_option=None, source_resource_id=None, clone_data_point=None, pay_type=None): api_request = APIRequest('CreateDBCluster', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "DBClusterDescription": db_cluster_description, "Period": period, "ResourceOwnerAccount": resource_owner_account, "ClientToken": client_token, "OwnerAccount": owner_account, "OwnerId": owner_id, "UsedTime": used_time, "ClusterNetworkType": cluster_network_type, "VSwitchId": vswitch_id, "DBNodeClass": db_node_class, "AutoRenew": auto_renew, "Engine": engine, "VPCId": vpc_id, "DBType": db_type, "ZoneId": zone_id, "DBVersion": db_version, "CreationOption": creation_option, "SourceResourceId": source_resource_id, "CloneDataPoint": clone_data_point, "PayType": pay_type} return self._handle_request(api_request).result def create_backup( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('CreateBackup', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def create_account( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, account_type=None, owner_id=None, account_description=None, account_privilege=None, account_password=None, account_name=None, db_name=None): api_request = APIRequest('CreateAccount', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "AccountType": account_type, "OwnerId": owner_id, "AccountDescription": account_description, "AccountPrivilege": account_privilege, "AccountPassword": account_password, "AccountName": account_name, "DBName": db_name} return self._handle_request(api_request).result def describe_backups( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, backup_id=None, end_time=None, start_time=None, owner_id=None, page_number=None, backup_status=None, page_size=None, backup_mode=None): api_request = APIRequest('DescribeBackups', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "BackupId": backup_id, "EndTime": end_time, "StartTime": start_time, "OwnerId": owner_id, "PageNumber": page_number, "BackupStatus": backup_status, "PageSize": page_size, "BackupMode": backup_mode} return self._handle_request(api_request).result def modify_backup_policy( self, preferred_backup_time=None, preferred_backup_period=None, backup_retention_period=None, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('ModifyBackupPolicy', 'GET', 'http', 'RPC', 'query') api_request._params = { "PreferredBackupTime": preferred_backup_time, "PreferredBackupPeriod": preferred_backup_period, "BackupRetentionPeriod": backup_retention_period, "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def describe_backup_policy( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DescribeBackupPolicy', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result def describe_db_clusters( self, resource_owner_id=None, db_cluster_description=None, db_cluster_status=None, resource_owner_account=None, owner_account=None, owner_id=None, page_number=None, region_id=None, db_type=None, page_size=None, list_of_tag=None, db_cluster_ids=None): api_request = APIRequest('DescribeDBClusters', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "DBClusterDescription": db_cluster_description, "DBClusterStatus": db_cluster_status, "ResourceOwnerAccount": resource_owner_account, "OwnerAccount": owner_account, "OwnerId": owner_id, "PageNumber": page_number, "RegionId": region_id, "DBType": db_type, "PageSize": page_size, "Tag": list_of_tag, "DBClusterIds": db_cluster_ids} repeat_info = {"Tag": ('Tag', 'list', 'dict', [('Value', 'str', None, None), ('Key', 'str', None, None), ]), } verify_params(api_request._params, repeat_info) return self._handle_request(api_request).result def describe_db_cluster_attribute( self, resource_owner_id=None, resource_owner_account=None, db_cluster_id=None, owner_account=None, owner_id=None): api_request = APIRequest('DescribeDBClusterAttribute', 'GET', 'http', 'RPC', 'query') api_request._params = { "ResourceOwnerId": resource_owner_id, "ResourceOwnerAccount": resource_owner_account, "DBClusterId": db_cluster_id, "OwnerAccount": owner_account, "OwnerId": owner_id} return self._handle_request(api_request).result
39.3595
99
0.587575
4,136
44,122
5.874275
0.080754
0.109154
0.062973
0.039883
0.826556
0.817336
0.79581
0.764323
0.747201
0.725881
0
0.000535
0.322039
44,122
1,120
100
39.394643
0.811687
0.013032
0
0.784221
0
0
0.155514
0.018216
0
0
0
0
0
1
0.04943
false
0.007605
0.002852
0
0.101711
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7405ab20efb289c638887f50fd04fec1c0b9c637
40
py
Python
oldSlicerVMTKWork/slicervmtklvlst/VMTKNetworkExtraction/__init__.py
mschumak/ProjectWeek2018
7f179945d57ed5a3b95d1768d3b69ed6bd6b4668
[ "Apache-2.0" ]
null
null
null
oldSlicerVMTKWork/slicervmtklvlst/VMTKNetworkExtraction/__init__.py
mschumak/ProjectWeek2018
7f179945d57ed5a3b95d1768d3b69ed6bd6b4668
[ "Apache-2.0" ]
null
null
null
oldSlicerVMTKWork/slicervmtklvlst/VMTKNetworkExtraction/__init__.py
mschumak/ProjectWeek2018
7f179945d57ed5a3b95d1768d3b69ed6bd6b4668
[ "Apache-2.0" ]
2
2018-07-17T17:38:05.000Z
2018-07-17T18:18:17.000Z
from VMTKNetworkExtractionGUI import *
13.333333
38
0.85
3
40
11.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.125
40
2
39
20
0.971429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
cdbac1c87c80ea1251f10cfd8e441b0b0281d20c
1,650
py
Python
examples/chksum-gen-input-pkts.py
Emil-501/p4pktgen
11ad5af43436ec9863ad6db2159521b3cfccdaf8
[ "BSD-3-Clause" ]
53
2017-11-18T08:09:45.000Z
2022-03-29T14:15:25.000Z
examples/chksum-gen-input-pkts.py
Emil-501/p4pktgen
11ad5af43436ec9863ad6db2159521b3cfccdaf8
[ "BSD-3-Clause" ]
62
2017-11-18T01:11:48.000Z
2021-06-30T09:31:21.000Z
examples/chksum-gen-input-pkts.py
Emil-501/p4pktgen
11ad5af43436ec9863ad6db2159521b3cfccdaf8
[ "BSD-3-Clause" ]
14
2017-11-17T23:52:39.000Z
2022-01-07T17:46:16.000Z
#! /usr/bin/env python from __future__ import print_function import os, sys import re #import collections import random from scapy.all import * def rand_l4_port(): return random.getrandbits(16) def rand_ipv4_addr(): return "%d.%d.%d.%d" % (random.getrandbits(8), random.getrandbits(8), random.getrandbits(8), random.getrandbits(8)) def rand_ipv6_addr(): return ("%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x" "" % (random.getrandbits(16), random.getrandbits(16), random.getrandbits(16), random.getrandbits(16), random.getrandbits(16), random.getrandbits(16), random.getrandbits(16), random.getrandbits(16))) num_of_each_hdr_stack = 10 random.seed(42) pkts = [] for i in range(num_of_each_hdr_stack): pkt1 = Ether() / IP(src=rand_ipv4_addr(), dst=rand_ipv4_addr()) / TCP(sport=rand_l4_port(), dport=rand_l4_port()) pkts.append(pkt1) for i in range(num_of_each_hdr_stack): pkt1 = Ether() / IP(src=rand_ipv4_addr(), dst=rand_ipv4_addr()) / UDP(sport=rand_l4_port(), dport=rand_l4_port()) pkts.append(pkt1) for i in range(num_of_each_hdr_stack): pkt1 = Ether() / IPv6(src=rand_ipv6_addr(), dst=rand_ipv6_addr()) / TCP(sport=rand_l4_port(), dport=rand_l4_port()) pkts.append(pkt1) for i in range(num_of_each_hdr_stack): pkt1 = Ether() / IPv6(src=rand_ipv6_addr(), dst=rand_ipv6_addr()) / UDP(sport=rand_l4_port(), dport=rand_l4_port()) pkts.append(pkt1) wrpcap("0_in.pcap", pkts)
30
119
0.621818
231
1,650
4.164502
0.238095
0.22973
0.093555
0.181913
0.761954
0.744283
0.744283
0.719335
0.719335
0.644491
0
0.057234
0.237576
1,650
54
120
30.555556
0.707472
0.023636
0
0.421053
0
0
0.036669
0.024239
0
0
0
0
0
1
0.078947
false
0
0.131579
0.078947
0.289474
0.026316
0
0
0
null
1
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a830a563bf21e8d3eaa7b1d091ec9fafb2cc0598
38
py
Python
config/settings/test.py
huntflow/api-report-gdocs
5adfe938c31905707530f981b5c00ab230417f77
[ "MIT" ]
null
null
null
config/settings/test.py
huntflow/api-report-gdocs
5adfe938c31905707530f981b5c00ab230417f77
[ "MIT" ]
null
null
null
config/settings/test.py
huntflow/api-report-gdocs
5adfe938c31905707530f981b5c00ab230417f77
[ "MIT" ]
1
2020-09-30T08:28:36.000Z
2020-09-30T08:28:36.000Z
from .base import * # noqa F403 F401
19
37
0.684211
6
38
4.333333
1
0
0
0
0
0
0
0
0
0
0
0.206897
0.236842
38
1
38
38
0.689655
0.368421
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
b52f77b267a18c2c6dc0716bb2582d5cc513ae59
39,276
py
Python
src/MyStamp.py
yooooou/MyEmulator
d0a957799a93fb88f6d8b164d1b4c321c578c161
[ "MIT" ]
null
null
null
src/MyStamp.py
yooooou/MyEmulator
d0a957799a93fb88f6d8b164d1b4c321c578c161
[ "MIT" ]
null
null
null
src/MyStamp.py
yooooou/MyEmulator
d0a957799a93fb88f6d8b164d1b4c321c578c161
[ "MIT" ]
null
null
null
# coding: utf-8 # python 2.7 import math from Tkconstants import END import numpy as np def dc_stamp(col_br_list, MNA_dc, RHS_dc, RHS_ac, v_list, i_list, d_list, mos_list, element_list, l_list): col_normal = col_br_list[0] branch = col_br_list[1] rows = col_normal + branch for vsrc in v_list: n1 = vsrc['node+'] - 1 n2 = vsrc['node-'] - 1 br = vsrc['branch_info'] + col_normal - 1 RHS_dc[br] = vsrc['dc_value'] RHS_ac[br] = vsrc['ac_mag'] MNA_dc[n1, br] += 1 MNA_dc[br, n1] += 1 if n2 >= 0: MNA_dc[n2, br] += -1 MNA_dc[br, n2] += -1 for isrc in i_list: n1 = isrc['node+'] - 1 n2 = isrc['node-'] - 1 if n1 < 0: RHS_dc[n2] += isrc['dc_value'] RHS_ac[n2] += isrc['ac_mag'] else: RHS_dc[n1] += -isrc['dc_value'] RHS_ac[n1] += -isrc['ac_mag'] if n2 >= 0: RHS_dc[n2] += isrc['dc_value'] RHS_ac[n2] += isrc['ac_mag'] for element in element_list: n1 = element[1] - 1 n2 = element[2] - 1 if element[0][0] == "r": g = 1.0 / element[3] MNA_dc[n1, n1] += g if n2 >= 0: MNA_dc[n1, n2] += -g MNA_dc[n2, n1] += -g MNA_dc[n2, n2] += g elif element[0][0] == "e": br = element[-1] + col_normal - 1 n3 = element[3] - 1 n4 = element[4] - 1 MNA_dc[n1, br] += 1 MNA_dc[br, n1] += 1 MNA_dc[br, n3] += -element[5] if n2 >= 0: MNA_dc[n2, br] += -1 MNA_dc[br, n2] += -1 if n4 >= 0: MNA_dc[br, n4] += element[5] elif element[0][0] == "f": for v_comp in v_list: if v_comp[0] == element[3]: br = v_comp[-1] + col_normal - 1 if n1 >= 0: MNA_dc[n1, br] += element[4] if n2 >= 0: MNA_dc[n2, br] += -element[4] break elif element[0][0] == "g": n3 = element[3] - 1 n4 = element[4] - 1 if n1 >= 0: MNA_dc[n1, n3] += element[5] if n4 >= 0: MNA_dc[n1, n4] += -element[5] if n2 >= 0: MNA_dc[n2, n3] += -element[5] if n4 >= 0: MNA_dc[n1, n4] += element[5] elif element[0][0] == "h": br_vs = element[-1] + col_normal - 1 MNA_dc[n1, br_vs] += 1 MNA_dc[br_vs, n1] += 1 if n2 >= 0: MNA_dc[n2, br_vs] += -1 MNA_dc[br_vs, n2] += -1 for v_comp in v_list: if v_comp[0] == element[3]: br = v_comp[-1] + col_normal - 1 MNA_dc[br_vs, br] = -element[4] break for l_element in l_list: n1 = l_element[1] - 1 n2 = l_element[2] - 1 br_l = l_element[-1] + col_normal - 1 MNA_dc[n1, br_l] += 1 MNA_dc[br_l, n1] += 1 if n2 >= 0: MNA_dc[n2, br_l] += -1 MNA_dc[br_l, n2] += -1 return res_compute(d_list, mos_list, MNA_dc, RHS_dc, rows) def dc_sweep(control_command, MNA_dc, RHS_dc, v_list, i_list, dc_sweep_list, dc_2srcs_res_list, dc_2srcs_sweep_list, rows, col_normal, d_list, mos_list, src2_name, text_output): RHS_dc_sweep = RHS_dc src1_n1 = 0 src1_n2 = 0 src1_br = 0 src1 = control_command[1] src1_start = control_command[2] src1_cur_value = src1_start src1_end = control_command[3] src1_step = control_command[4] dc_res_list = [] if len(control_command) == 5: # one src if src1[0] == 'v': for vsrc in v_list: if vsrc['name'] == src1: src1_br = vsrc['branch_info'] + col_normal - 1 RHS_dc_sweep[src1_br] += src1_start - vsrc['dc_value'] break while src1_cur_value <= src1_end: dc_res_list.append(res_compute(d_list, mos_list, MNA_dc, RHS_dc_sweep, rows)) dc_sweep_list.append(src1_cur_value) text_output.insert(END, '\n' + src1 + '=' + str(src1_cur_value) + 'V\n' + 'result: ') text_output.insert(END, dc_res_list[-1]) src1_cur_value += src1_step RHS_dc_sweep[src1_br] += src1_step else: for isrc in i_list: if isrc['name'] == src1: src1_n1 = isrc['node+'] - 1 src1_n2 = isrc['node-'] - 1 if src1_n1 < 0: RHS_dc_sweep[src1_n2] += src1_start - isrc['dc_value'] else: RHS_dc_sweep[src1_n1] += - src1_start - isrc['dc_value'] if src1_n2 >= 0: RHS_dc_sweep[src1_n2] += src1_start - isrc['dc_value'] break while src1_cur_value <= src1_end: dc_res_list.append(res_compute(d_list, mos_list, MNA_dc, RHS_dc_sweep, rows)) dc_sweep_list.append(src1_cur_value) text_output.insert(END, '\n' + src1 + '=' + str(src1_cur_value) + 'A\n' + 'result: ') text_output.insert(END, dc_res_list[-1]) src1_cur_value += src1_step if src1_n1 < 0: RHS_dc_sweep[src1_n2] += src1_step else: RHS_dc_sweep[src1_n1] += - src1_step if src1_n2 >= 0: RHS_dc_sweep[src1_n2] += src1_step dc_2srcs_res_list.append(dc_res_list) else: # 2 srcs src2_n1 = 0 src2_n2 = 0 src2_br = 0 src2 = control_command[5] src2_start = control_command[6] src2_cur_value = src2_start src2_end = control_command[7] src2_step = control_command[8] src2_name.append(src2) for vsrc in v_list: if vsrc['name'] == src1: src1_br = vsrc['branch_info'] + col_normal - 1 RHS_dc_sweep[src1_br] += src1_start - vsrc['dc_value'] elif vsrc['name'] == src2: src2_br = vsrc['branch_info'] + col_normal - 1 RHS_dc_sweep[src2_br] += src2_start - vsrc['dc_value'] for isrc in i_list: if isrc['name'] == src1: src1_n1 = isrc['node+'] - 1 src1_n2 = isrc['node-'] - 1 if src1_n1 < 0: RHS_dc_sweep[src1_n2] += src1_start - isrc['dc_value'] else: RHS_dc_sweep[src1_n1] += - src1_start - isrc['dc_value'] if src1_n2 >= 0: RHS_dc_sweep[src1_n2] += src1_start - isrc['dc_value'] elif isrc['name'] == src2: src2_n1 = isrc['node+'] - 1 src2_n2 = isrc['node-'] - 1 if src2_n1 < 0: RHS_dc_sweep[src2_n2] += src2_start - isrc['dc_value'] else: RHS_dc_sweep[src2_n1] += - src2_start - isrc['dc_value'] if src2_n2 >= 0: RHS_dc_sweep[src2_n2] += src2_start - isrc['dc_value'] if src2[0] == "v": while src2_cur_value <= src2_end: text_output.insert(END, '\n\n' + src2 + '=' + str(src2_cur_value) + 'V:') dc_res_list = [] src1_cur_value = src1_start if src1[0] == "v": while src1_cur_value <= src1_end: dc_res_list.append(res_compute(d_list, mos_list, MNA_dc, RHS_dc_sweep, rows)) if src2_cur_value == src2_start: dc_sweep_list.append(src1_cur_value) text_output.insert(END, '\n' + src1 + '=' + str(src1_cur_value) + 'V\n' + 'result: ') text_output.insert(END, dc_res_list[-1]) src1_cur_value += src1_step RHS_dc_sweep[src1_br] += src1_step RHS_dc_sweep[src1_br] -= src1_cur_value - src1_start else: # isrc while src1_cur_value <= src1_end: dc_res_list.append(res_compute(d_list, mos_list, MNA_dc, RHS_dc_sweep, rows)) dc_sweep_list.append(src1_cur_value) if src2_cur_value == src2_start: dc_sweep_list.append(src1_cur_value) text_output.insert(END, '\n' + src1 + '=' + str(src1_cur_value) + 'A\n' + 'result: ') text_output.insert(END, dc_res_list[-1]) src1_cur_value += src1_step if src1_n1 < 0: RHS_dc_sweep[src1_n2] += src1_step else: RHS_dc_sweep[src1_n1] += - src1_step if src1_n2 >= 0: RHS_dc_sweep[src1_n2] += src1_step if src1_n1 < 0: RHS_dc_sweep[src1_n2] -= src1_cur_value - src1_start else: RHS_dc_sweep[src1_n1] += src1_cur_value - src1_start if src1_n2 >= 0: RHS_dc_sweep[src1_n2] -= src1_cur_value - src1_start dc_2srcs_res_list.append(dc_res_list) dc_2srcs_sweep_list.append(src2_cur_value) src2_cur_value += src2_step RHS_dc_sweep[src2_br] += src2_step else: while src2_cur_value <= src2_end: text_output.insert(END, '\n\n' + src2 + '=' + str(src2_cur_value) + 'A:') dc_res_list = [] src1_cur_value = src1_start if src1[0] == "v": while src1_cur_value <= src1_end: dc_res_list.append(res_compute(d_list, mos_list, MNA_dc, RHS_dc_sweep, rows)) if src2_cur_value == control_command[6]: dc_sweep_list.append(src1_cur_value) text_output.insert(END, '\n' + src1 + '=' + str(src1_cur_value) + 'V\n' + 'result: ') text_output.insert(END, dc_res_list[-1]) src1_cur_value += src1_step RHS_dc_sweep[src1_br] += src1_step RHS_dc_sweep[src1_br] -= src1_cur_value - src1_start else: while src1_cur_value <= src1_end: dc_res_list.append(res_compute(d_list, mos_list, MNA_dc, RHS_dc_sweep, rows)) if src2_cur_value == control_command[6]: dc_sweep_list.append(src1_cur_value) text_output.insert(END, '\n' + src1 + '=' + str(src1_cur_value) + 'A\n' + 'result: ') text_output.insert(END, dc_res_list[-1]) src1_cur_value += src1_step if src1_n1 < 0: RHS_dc_sweep[src1_n2] += src1_step else: RHS_dc_sweep[src1_n1] += - src1_step if src1_n2 >= 0: RHS_dc_sweep[src1_n2] += src1_step if src1_n1 < 0: RHS_dc_sweep[src1_n2] -= src1_cur_value - src1_start else: RHS_dc_sweep[src1_n1] += src1_cur_value - src1_start if src1_n2 >= 0: RHS_dc_sweep[src1_n2] -= src1_cur_value - src1_start dc_2srcs_res_list.append(dc_res_list) dc_2srcs_sweep_list.append(src2_cur_value) src2_cur_value += src2_step if src2_n1 < 0: RHS_dc_sweep[src2_n2] += src2_step else: RHS_dc_sweep[src2_n1] += - src2_step if src2_n2 >= 0: RHS_dc_sweep[src2_n2] += src2_step def ac_sweep(rows, col_normal, c_list, l_list, MNA_dc, RHS_ac, points, step, ac_res_list, freq_list, start, type, text_output): for i in range(points): MNA_ac = np.zeros((rows, rows), complex) if type == "lin": freq = start + i * step elif type == "dec": freq = 10 ** (start + i * step) else: freq = 2 ** (start + i * step) omega = freq * 2 * math.pi for c_element in c_list: n1 = c_element[1] - 1 n2 = c_element[2] - 1 sc = complex(0, omega * c_element[3]) MNA_ac[n1][n1] += sc if n2 >= 0: MNA_ac[n1, n2] += -sc MNA_ac[n2, n1] += -sc MNA_ac[n2, n2] += sc for l_element in l_list: sl = complex(0, omega * l_element[3]) br_l = l_element[-1] + col_normal - 1 MNA_ac[br_l, br_l] += -sl MNA_ac += MNA_dc # print "MNA_ac:", MNA_ac ac_res = np.linalg.solve(MNA_ac, RHS_ac) # print "ac results:", ac_res text_output.insert(END, ("\nfreq = %e Hz\nresult: " % freq)) text_output.insert(END, ac_res) ac_res_list.append(ac_res) freq_list.append(freq) def ac_analysis(control_command, rows, col_normal, c_list, l_list, MNA_dc, RHS_ac, ac_res_list, freq_list, text_output): start = control_command[3] end = control_command[4] if control_command[1] == "lin": step = (end - start) / (control_command[2] + 1.0) ac_sweep(rows, col_normal, c_list, l_list, MNA_dc, RHS_ac, control_command[2] + 2, step, ac_res_list, freq_list, start, "lin", text_output) elif control_command[1] == "dec": dec_start = math.log10(start) dec_end = math.log10(end) dec_step = 1 / (control_command[2] + 1.0) dec_points = (dec_end - dec_start) * (control_command[2] + 1) + 1 ac_sweep(rows, col_normal, c_list, l_list, MNA_dc, RHS_ac, int(dec_points), dec_step, ac_res_list, freq_list, dec_start, "dec", text_output) else: oct_start = math.log(start, 2) oct_end = math.log(end, 2) oct_step = 1 / (control_command[2] + 1.0) oct_points = (oct_end - oct_start) * (control_command[2] + 1) + 1 ac_sweep(rows, col_normal, c_list, l_list, MNA_dc, RHS_ac, int(oct_points), oct_step, ac_res_list, freq_list, oct_start, "oct", text_output) def tran_analysis(control_command, MNA_tran, tran_res_list, tran_print_list,c_list, l_list, v_list, i_list, d_list, mos_list, time_list, rows, col_normal, tran_rows,text_output): tstep_print = control_command[1] tstop = control_command[2] if len(control_command) > 3: tstart = control_command[3] else: tstart = 0 if len(control_command) > 4: tmax = control_command[4] else: tmax = tstep_print tmax_cmp = (tstop - tstart) / 50.0 if tstep_print > tmax_cmp: tmax = tmax_cmp for c_element in c_list: n1 = c_element[1] - 1 n2 = c_element[2] - 1 br_c = rows + c_element[-1] - 1 MNA_tran[n1][br_c] += 1 MNA_tran[br_c][n1] += c_element[3] / float(tmax) MNA_tran[br_c][br_c] += -0.5 if n2 >= 0: MNA_tran[n2][br_c] += -1 MNA_tran[br_c][n2] += -c_element[3] / float(tmax) for l_element in l_list: br_l = col_normal + l_element[-1] - 1 MNA_tran[br_l, br_l] += -(2.0 * l_element[3]) / tmax # print ("tmax:%e s" % tmax) # print ("print step:%e s" % tstep_print) # print "MNA_tran:", MNA_tran time = 0 if tstart == 0: time_list.append(time) # print ("start time = %f s" % time) # print "results:", tran_res_list[-1] text_output.insert(END, ("\nstart time = %e s\nresult: " % time)) text_output.insert(END, tran_res_list[-1]) tran_print_list.append(tran_res_list[-1]) else: while time < tstart: last_res = tran_res_list[-1] RHS_tran = [0] * tran_rows time += tmax for c_element in c_list: n1 = c_element[1] - 1 n2 = c_element[2] - 1 br_c = rows + c_element[-1] - 1 v_lt = last_res[n1] # V(t-h) i_lt = last_res[br_c] # I(t-h) if n2 >= 0: v_lt -= last_res[n2] RHS_tran[br_c] += 0.5 * i_lt + v_lt * c_element[3] / float(tmax) for l_element in l_list: n1 = l_element[1] - 1 n2 = l_element[2] - 1 br_l = col_normal + l_element[-1] - 1 v_lt = last_res[n1] # V(t-h) i_lt = last_res[br_l] # I(t-h) if n2 >= 0: v_lt -= last_res[n2] RHS_tran[br_l] += -v_lt - 2 * i_lt * l_element[3] / float(tmax) pi2 = 2 * math.pi for vsrc in v_list: br = vsrc['branch_info'] + col_normal - 1 if (vsrc['tran_type'] == "sin"): RHS_tran[br] += vsrc['dc_value'] + vsrc['tran_mag'] * math.sin(pi2 * vsrc['tran_freq'] * time) if (vsrc['tran_type'] == "pulse"): slope_r = (vsrc['pulse_v2'] - vsrc['pulse_v1']) / vsrc['tr'] slope_f = -(vsrc['pulse_v2'] - vsrc['pulse_v1']) / vsrc['tf'] if time <= vsrc['td']: RHS_tran[br] += vsrc['dc_value'] else: time_in_per = time - vsrc['td'] - int((time - vsrc['td']) / vsrc['per']) * vsrc['per'] # print "time_in_per",time_in_per if time_in_per < vsrc['tr']: RHS_tran[br] += vsrc['pulse_v1'] + time_in_per * slope_r elif time_in_per < vsrc['tr'] + vsrc['pw']: RHS_tran[br] += vsrc['pulse_v2'] elif time_in_per < vsrc['tr'] + vsrc['pw'] + vsrc['tf']: RHS_tran[br] += vsrc['pulse_v2'] + slope_f * (time_in_per - vsrc['tr'] - vsrc['pw']) else: RHS_tran[br] += vsrc['pulse_v1'] for isrc in i_list: n1 = isrc['node+'] - 1 n2 = isrc['node-'] - 1 if n1 < 0: if (isrc['tran_type'] == "sin"): value_plus = isrc['dc_value'] + isrc['tran_mag'] * math.sin(pi2 * isrc['tran_freq'] * time) if (isrc['tran_type'] == "pulse"): slope_r = (isrc['pulse_v2'] - isrc['pulse_v1']) / isrc['tr'] slope_f = -(isrc['pulse_v2'] - isrc['pulse_v1']) / isrc['tf'] if time <= isrc['td']: value_plus = isrc['dc_value'] else: time_in_per = time - isrc['td'] - int((time - isrc['td']) / isrc['per']) * isrc['per'] if time_in_per < isrc['tr']: value_plus = isrc['pulse_v1'] + time_in_per * slope_r elif time_in_per < isrc['tr'] + isrc['pw']: value_plus = isrc['pulse_v2'] elif time_in_per < isrc['tr'] + isrc['pw'] + isrc['tf']: value_plus = isrc['pulse_v2'] + slope_f * (time_in_per - isrc['tr'] - isrc['pw']) else: value_plus = isrc['pulse_v1'] RHS_tran[n2] += value_plus else: RHS_tran[n1] += -value_plus if n2 >= 0: RHS_tran[n2] += value_plus cur_res = res_compute_tran(d_list, mos_list, MNA_tran, RHS_tran, tran_rows, last_res) # cur_res = np.linalg.solve(MNA_tran, RHS_tran) tran_res_list.append(cur_res) time_list.append(time) # print ("start time = %f s" % time) # print "results:", tran_res_list[-1] text_output.insert(END, ("\nstart time = %e s\nresult: " % time)) text_output.insert(END, tran_res_list[-1]) tran_print_list.append(tran_res_list[-1]) time_n_printstep = time + tstep_print while time < tstop: last_res = tran_res_list[-1] RHS_tran = [0] * tran_rows time += tmax for c_element in c_list: n1 = c_element[1] - 1 n2 = c_element[2] - 1 br_c = rows + c_element[-1] - 1 v_lt = last_res[n1] # V(t-h) i_lt = last_res[br_c] # I(t-h) if n2 >= 0: v_lt -= last_res[n2] RHS_tran[br_c] += 0.5 * i_lt + v_lt * c_element[3] / float(tmax) for l_element in l_list: n1 = l_element[1] - 1 n2 = l_element[2] - 1 br_l = col_normal + l_element[-1] - 1 v_lt = last_res[n1] # V(t-h) i_lt = last_res[br_l] # I(t-h) if n2 >= 0: v_lt -= last_res[n2] RHS_tran[br_l] += -v_lt - 2 * i_lt * l_element[3] / float(tmax) pi2 = 2 * math.pi for vsrc in v_list: br = vsrc['branch_info'] + col_normal - 1 if (vsrc['tran_type'] == "non"): RHS_tran[br] += vsrc['dc_value'] elif (vsrc['tran_type'] == "sin"): RHS_tran[br] += vsrc['dc_value'] + vsrc['tran_mag'] * math.sin(pi2 * vsrc['tran_freq'] * time) else: slope_r = (vsrc['pulse_v2'] - vsrc['pulse_v1']) / vsrc['tr'] slope_f = -(vsrc['pulse_v2'] - vsrc['pulse_v1']) / vsrc['tf'] if time <= vsrc['td']: RHS_tran[br] += vsrc['dc_value'] else: time_in_per = time - vsrc['td'] - int((time - vsrc['td']) / vsrc['per']) * vsrc['per'] # print "time_in_per", time_in_per if time_in_per < vsrc['tr']: RHS_tran[br] += vsrc['pulse_v1'] + time_in_per * slope_r elif time_in_per < vsrc['tr'] + vsrc['pw']: RHS_tran[br] += vsrc['pulse_v2'] elif time_in_per < vsrc['tr'] + vsrc['pw'] + vsrc['tf']: RHS_tran[br] += vsrc['pulse_v2'] + slope_f * (time_in_per - vsrc['tr'] - vsrc['pw']) else: RHS_tran[br] += vsrc['pulse_v1'] for isrc in i_list: n1 = isrc['node+'] - 1 n2 = isrc['node-'] - 1 if (isrc['tran_type'] == "non"): value_plus += isrc['dc_value'] elif (isrc['tran_type'] == "sin"): value_plus = isrc['dc_value'] + isrc['tran_mag'] * math.sin(pi2 * isrc['tran_freq'] * time) else: slope_r = (isrc['pulse_v2'] - isrc['pulse_v1']) / isrc['tr'] slope_f = -(isrc['pulse_v2'] - isrc['pulse_v1']) / isrc['tf'] if time <= isrc['td']: value_plus = isrc['dc_value'] else: time_in_per = time - isrc['td'] - int((time - isrc['td']) / isrc['per']) * isrc['per'] if time_in_per < isrc['tr']: value_plus = isrc['pulse_v1'] + time_in_per * slope_r elif time_in_per < isrc['tr'] + isrc['pw']: value_plus = isrc['pulse_v2'] elif time_in_per < isrc['tr'] + isrc['pw'] + isrc['tf']: value_plus = isrc['pulse_v2'] + slope_f * (time_in_per - isrc['tr'] - isrc['pw']) else: value_plus = isrc['pulse_v1'] if n1 < 0: RHS_tran[n2] += value_plus else: RHS_tran[n1] += -value_plus if n2 >= 0: RHS_tran[n2] += value_plus cur_res = res_compute_tran(d_list, mos_list, MNA_tran, RHS_tran, tran_rows, last_res) # cur_res = np.linalg.solve(MNA_tran, RHS_tran) tran_res_list.append(cur_res) if time >= time_n_printstep: time_list.append(time) # print " " # print ("time = %e s" % time) # print "RHS_tran:", RHS_tran # print "results:", cur_res text_output.insert(END, ("\ntime = %e s\nresult: " % time)) text_output.insert(END, cur_res) tran_print_list.append(cur_res) time_n_printstep += tstep_print def res_compute(d_list, mos_list, MNA_base, RHS_base, rows): if (len(d_list) == 0) and (len(mos_list) == 0): # print "linear" # print "MNA:", MNA_base # print "RHS:", RHS_base res = np.linalg.solve(MNA_base, RHS_base) # print "results:", res else: # print "Nonlinear" flag = 0 times = 1 while flag == 0: flag = 1 MNA_nonlinear = np.zeros((rows, rows)) RHS_nonlinear = [0] * rows if len(d_list) != 0: for d_element in d_list: n1 = d_element[1] - 1 n2 = d_element[2] - 1 if times == 1: vd = 0.5 flag = 0 elif times == 2: vd = res[n1] if n2 >= 0: vd -= res[n2] vd_last = 0.5 if abs(vd - vd_last) > 0.02 * abs(vd_last): flag = 0 else: vd = res[n1] vd_last = res_last[n1] if n2 >= 0: vd -= res[n2] vd_last -= res_last[n2] if abs(vd - vd_last) > 0.02 * abs(vd_last): flag = 0 G0 = 40 * math.exp(40 * vd) I0 = -G0 * vd + math.exp(40 * vd) - 1 MNA_nonlinear[n1, n1] += G0 RHS_nonlinear[n1] += -I0 if n2 >= 0: MNA_nonlinear[n1, n2] += -G0 MNA_nonlinear[n2, n1] += -G0 MNA_nonlinear[n2, n2] += G0 RHS_nonlinear[n2] += I0 if len(mos_list) != 0: for mos_element in mos_list: drain_node = mos_element['drain'] - 1 source_node = mos_element['source'] - 1 gate_node = mos_element['gate'] - 1 # body_node = mos_element['body'] - 1 width = mos_element['width'] length = mos_element['length'] if times == 1: if mos_element['model_name'] == 'nmos': vgs = 0.9 vds = 0.2 else: vgs = -0.9 vds = -0.2 flag = 0 else: vgs = res[gate_node] vds = res[drain_node] if source_node >= 0: vgs -= res[source_node] vds -= res[source_node] if times == 2: if mos_element['model_name'] == 'nmos': vgs_last = 0.9 vds_last = 0.2 else: vgs_last = -0.9 vds_last = -0.2 else: vgs_last = res_last[gate_node] vds_last = res_last[drain_node] if source_node >= 0: vgs_last -= res_last[source_node] vds_last -= res_last[source_node] if (abs(vgs - vgs_last) > 0.02 * abs(vgs_last)) or (abs(vds - vds_last) > 0.02 * abs(vds_last)): flag = 0 if mos_element['model_name'] == 'nmos': vt0 = 0.43 # gamma = 0.4 # phi = 0.6 k = 1.15e-4 Lambda = 0.06 vov = vgs - vt0 if vov >= 0: if (vds <= vov) and (vds > 0): ids = k * (vov * vds - 0.5 * vds * vds) * (1 + Lambda * vds) * width / length gm = k * vds * (1 + Lambda * vds) * width / length gds = k * (vov + ( 2 * Lambda * vov - 1) * vds - 1.5 * Lambda * vds * vds) * width / length elif vds > vov: ids = 0.5 * k * vov * vov * (1 + Lambda * vds) * width / length gm = k * vds * vov * width / length gds = Lambda * ids else: ids = k * (vov * vds - 0.5 * vds * vds) * width / length gm = k * vds * width / length gds = k * (vov - vds) * width / length else: ids = 0 gm = 0 gds = 0 else: vt0 = -0.4 # gamma = -0.4 # phi = 0.6 k = -3.0e-5 Lambda = -0.1 vov = vgs - vt0 if vov <= 0: if (vds >= vov) and (vds < 0): ids = k * (vov * vds - 0.5 * vds * vds) * (1 + Lambda * vds) * width / length gm = k * vds * (1 + Lambda * vds) * width / length gds = k * (vov + ( 2 * Lambda * vov - 1) * vds - 1.5 * Lambda * vds * vds) * width / length elif vds < vov: ids = 0.5 * k * vov * vov * (1 + Lambda * vds) * width / length gm = k * vds * vov * width / length gds = Lambda * ids else: ids = k * (vov * vds - 0.5 * vds * vds) * width / length gm = k * vds * width / length gds = k * (vov - vds) * width / length else: ids = 0 gm = 0 gds = 0 I0 = ids - gm * vgs - gds * vds MNA_nonlinear[drain_node, drain_node] += gds MNA_nonlinear[drain_node, gate_node] += gm RHS_nonlinear[drain_node] += -I0 if source_node >= 0: MNA_nonlinear[drain_node, source_node] += -gds - gm MNA_nonlinear[source_node, source_node] += gds + gm MNA_nonlinear[source_node, drain_node] += -gds MNA_nonlinear[source_node, gate_node] += -gm RHS_nonlinear[source_node] += I0 if flag == 1: # print "final results:", res break MNA_nonlinear += MNA_base RHS_nonlinear = map(lambda (a, b): a + b, zip(RHS_nonlinear, RHS_base)) if times > 1: res_last = res res = list(np.linalg.solve(MNA_nonlinear, RHS_nonlinear)) # print "times:", times # print "MNA:", MNA_nonlinear # print "RHS:", RHS_nonlinear # print "results:", res times += 1 if times > 500: break return res def res_compute_tran(d_list, mos_list, MNA_base, RHS_base, rows, res): if (len(d_list) == 0) and (len(mos_list) == 0): # print "linear" # print "MNA:", MNA_base # print "RHS:", RHS_base res = np.linalg.solve(MNA_base, RHS_base) # print "results:", res else: # print "Nonlinear" flag = 0 times = 1 while flag == 0: flag = 1 MNA_nonlinear = np.zeros((rows, rows)) RHS_nonlinear = [0] * rows if len(d_list) != 0: for d_element in d_list: n1 = d_element[1] - 1 n2 = d_element[2] - 1 vd = res[n1] if n2 >= 0: vd -= res[n2] if times > 1: vd_last = res_last[n1] if n2 >= 0: vd_last -= res_last[n2] if abs(vd - vd_last) > 0.02 * abs(vd_last): flag = 0 else: flag = 0 G0 = 40 * math.exp(40 * vd) I0 = -G0 * vd + math.exp(40 * vd) - 1 MNA_nonlinear[n1, n1] += G0 RHS_nonlinear[n1] += -I0 if n2 >= 0: MNA_nonlinear[n1, n2] += -G0 MNA_nonlinear[n2, n1] += -G0 MNA_nonlinear[n2, n2] += G0 RHS_nonlinear[n2] += I0 if len(mos_list) != 0: for mos_element in mos_list: drain_node = mos_element['drain'] - 1 source_node = mos_element['source'] - 1 gate_node = mos_element['gate'] - 1 # body_node = mos_element['body'] - 1 width = mos_element['width'] length = mos_element['length'] vgs = res[gate_node] vds = res[drain_node] if source_node >= 0: vgs -= res[source_node] vds -= res[source_node] if times == 1: flag = 0 else: vgs_last = res_last[gate_node] vds_last = res_last[drain_node] if source_node >= 0: vgs_last -= res_last[source_node] vds_last -= res_last[source_node] if (abs(vgs - vgs_last) > 0.02 * abs(vgs_last)) or (abs(vds - vds_last) > 0.02 * abs(vds_last)): flag = 0 if mos_element['model_name'] == 'nmos': vt0 = 0.43 # gamma = 0.4 # phi = 0.6 k = 1.15e-4 Lambda = 0.06 vov = vgs - vt0 if vov >= 0: if (vds <= vov) and (vds > 0): ids = k * (vov * vds - 0.5 * vds * vds) * (1 + Lambda * vds) * width / length gm = k * vds * (1 + Lambda * vds) * width / length gds = k * (vov + ( 2 * Lambda * vov - 1) * vds - 1.5 * Lambda * vds * vds) * width / length elif vds > vov: ids = 0.5 * k * vov * vov * (1 + Lambda * vds) * width / length gm = k * vds * vov * width / length gds = Lambda * ids else: ids = k * (vov * vds - 0.5 * vds * vds) * width / length gm = k * vds * width / length gds = k * (vov - vds) * width / length else: ids = 0 gm = 0 gds = 0 else: vt0 = -0.4 # gamma = -0.4 # phi = 0.6 k = -3.0e-5 Lambda = -0.1 vov = vgs - vt0 if vov <= 0: if (vds >= vov) and (vds < 0): ids = k * (vov * vds - 0.5 * vds * vds) * (1 + Lambda * vds) * width / length gm = k * vds * (1 + Lambda * vds) * width / length gds = k * (vov + ( 2 * Lambda * vov - 1) * vds - 1.5 * Lambda * vds * vds) * width / length elif vds < vov: ids = 0.5 * k * vov * vov * (1 + Lambda * vds) * width / length gm = k * vds * vov * width / length gds = Lambda * ids else: ids = k * (vov * vds - 0.5 * vds * vds) * width / length gm = k * vds * width / length gds = k * (vov - vds) * width / length else: ids = 0 gm = 0 gds = 0 I0 = ids - gm * vgs - gds * vds MNA_nonlinear[drain_node, drain_node] += gds MNA_nonlinear[drain_node, gate_node] += gm RHS_nonlinear[drain_node] += -I0 if source_node >= 0: MNA_nonlinear[drain_node, source_node] += -gds - gm MNA_nonlinear[source_node, source_node] += gds + gm MNA_nonlinear[source_node, drain_node] += -gds MNA_nonlinear[source_node, gate_node] += -gm RHS_nonlinear[source_node] += I0 if flag == 1: # print "final results:", res break MNA_nonlinear += MNA_base RHS_nonlinear = map(lambda (a, b): a + b, zip(RHS_nonlinear, RHS_base)) res_last = res res = list(np.linalg.solve(MNA_nonlinear, RHS_nonlinear)) print "times:", times print "MNA:", MNA_nonlinear print "RHS:", RHS_nonlinear print "results:", res times += 1 if times > 500: break return res
45.196778
120
0.424941
4,691
39,276
3.282669
0.039437
0.023638
0.027924
0.025456
0.844925
0.819274
0.808624
0.785181
0.77044
0.751218
0
0.048678
0.462827
39,276
868
121
45.248848
0.681202
0.029509
0
0.770619
0
0
0.034341
0
0.007732
0
0
0
0
0
null
null
0
0.003866
null
null
0.018041
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
8d12fc14bbf021c209f5b6df541b3d6e614019f9
208
py
Python
src/ua_generator/__init__.py
iamdual/ua-generator
1773eb2bd89233aa1e9116ade070be10ff58ea2b
[ "Apache-2.0" ]
null
null
null
src/ua_generator/__init__.py
iamdual/ua-generator
1773eb2bd89233aa1e9116ade070be10ff58ea2b
[ "Apache-2.0" ]
null
null
null
src/ua_generator/__init__.py
iamdual/ua-generator
1773eb2bd89233aa1e9116ade070be10ff58ea2b
[ "Apache-2.0" ]
null
null
null
""" Random User-Agent Copyright: 2022 Ekin Karadeniz (github.com/iamdual) License: Apache License 2.0 """ from . import useragent def generate(**kwargs): return useragent.UserAgent().generate(**kwargs)
18.909091
51
0.735577
26
208
5.884615
0.807692
0.183007
0
0
0
0
0
0
0
0
0
0.033149
0.129808
208
10
52
20.8
0.812155
0.466346
0
0
1
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
8d6458e2ca961d99add1f48a2806475a9649f9dd
8,469
py
Python
python_modules/libraries/dagster-fivetran/dagster_fivetran/ops.py
kstennettlull/dagster
dd6f57e170ff03bf145f1dd1417e0b2c3156b1d6
[ "Apache-2.0" ]
null
null
null
python_modules/libraries/dagster-fivetran/dagster_fivetran/ops.py
kstennettlull/dagster
dd6f57e170ff03bf145f1dd1417e0b2c3156b1d6
[ "Apache-2.0" ]
null
null
null
python_modules/libraries/dagster-fivetran/dagster_fivetran/ops.py
kstennettlull/dagster
dd6f57e170ff03bf145f1dd1417e0b2c3156b1d6
[ "Apache-2.0" ]
null
null
null
from dagster_fivetran.resources import DEFAULT_POLL_INTERVAL from dagster_fivetran.types import FivetranOutput from dagster_fivetran.utils import generate_materializations from dagster import Array, AssetKey, Bool, Field, In, Noneable, Nothing, Out, Output, Permissive, op @op( required_resource_keys={"fivetran"}, ins={"start_after": In(Nothing)}, out=Out( FivetranOutput, description="Parsed json dictionary representing the details of the Fivetran connector after " "the sync successfully completes. " "See the [Fivetran API Docs](https://fivetran.com/docs/rest-api/connectors#retrieveconnectordetails) " "to see detailed information on this response.", ), config_schema={ "connector_id": Field( str, is_required=True, description="The Fivetran Connector ID that this op will sync. You can retrieve this " 'value from the "Setup" tab of a given connector in the Fivetran UI.', ), "poll_interval": Field( float, default_value=DEFAULT_POLL_INTERVAL, description="The time (in seconds) that will be waited between successive polls.", ), "poll_timeout": Field( Noneable(float), default_value=None, description="The maximum time that will waited before this operation is timed out. By " "default, this will never time out.", ), "yield_materializations": Field( config=Bool, default_value=True, description=( "If True, materializations corresponding to the results of the Fivetran sync will " "be yielded when the op executes." ), ), "asset_key_prefix": Field( config=Array(str), default_value=["fivetran"], description=( "If provided and yield_materializations is True, these components will be used to " "prefix the generated asset keys." ), ), }, tags={"kind": "fivetran"}, ) def fivetran_sync_op(context): """ Executes a Fivetran sync for a given ``connector_id``, and polls until that sync completes, raising an error if it is unsuccessful. It outputs a FivetranOutput which contains the details of the Fivetran connector after the sync successfully completes, as well as details about which tables the sync updates. It requires the use of the :py:class:`~dagster_fivetran.fivetran_resource`, which allows it to communicate with the Fivetran API. Examples: .. code-block:: python from dagster import job from dagster_fivetran import fivetran_resource, fivetran_sync_op my_fivetran_resource = fivetran_resource.configured( { "api_key": {"env": "FIVETRAN_API_KEY"}, "api_secret": {"env": "FIVETRAN_API_SECRET"}, } ) sync_foobar = fivetran_sync_op.configured({"connector_id": "foobar"}, name="sync_foobar") @job(resource_defs={"fivetran": my_fivetran_resource}) def my_simple_fivetran_job(): sync_foobar() @job(resource_defs={"fivetran": my_fivetran_resource}) def my_composed_fivetran_job(): final_foobar_state = sync_foobar(start_after=some_op()) other_op(final_foobar_state) """ fivetran_output = context.resources.fivetran.sync_and_poll( connector_id=context.op_config["connector_id"], poll_interval=context.op_config["poll_interval"], poll_timeout=context.op_config["poll_timeout"], ) if context.op_config["yield_materializations"]: yield from generate_materializations( fivetran_output, asset_key_prefix=context.op_config["asset_key_prefix"] ) yield Output(fivetran_output) @op( required_resource_keys={"fivetran"}, ins={"start_after": In(Nothing)}, out=Out( FivetranOutput, description="Parsed json dictionary representing the details of the Fivetran connector after " "the resync successfully completes. " "See the [Fivetran API Docs](https://fivetran.com/docs/rest-api/connectors#retrieveconnectordetails) " "to see detailed information on this response.", ), config_schema={ "connector_id": Field( str, is_required=True, description="The Fivetran Connector ID that this op will sync. You can retrieve this " 'value from the "Setup" tab of a given connector in the Fivetran UI.', ), "resync_parameters": Field( Permissive(), is_required=True, description="The resync parameters to send in the payload to the Fivetran API. You " "can find an example resync payload here: https://fivetran.com/docs/rest-api/connectors#request_6", ), "poll_interval": Field( float, default_value=DEFAULT_POLL_INTERVAL, description="The time (in seconds) that will be waited between successive polls.", ), "poll_timeout": Field( Noneable(float), default_value=None, description="The maximum time that will waited before this operation is timed out. By " "default, this will never time out.", ), "yield_materializations": Field( config=Bool, default_value=True, description=( "If True, materializations corresponding to the results of the Fivetran sync will " "be yielded when the op executes." ), ), "asset_key_prefix": Field( config=Array(str), default_value=["fivetran"], description=( "If provided and yield_materializations is True, these components will be used to " "prefix the generated asset keys." ), ), }, tags={"kind": "fivetran"}, ) def fivetran_resync_op(context): """ Executes a Fivetran historical resync for a given ``connector_id``, and polls until that resync completes, raising an error if it is unsuccessful. It outputs a FivetranOutput which contains the details of the Fivetran connector after the resync successfully completes, as well as details about which tables the resync updates. It requires the use of the :py:class:`~dagster_fivetran.fivetran_resource`, which allows it to communicate with the Fivetran API. Examples: .. code-block:: python from dagster import job from dagster_fivetran import fivetran_resource, fivetran_resync_op my_fivetran_resource = fivetran_resource.configured( { "api_key": {"env": "FIVETRAN_API_KEY"}, "api_secret": {"env": "FIVETRAN_API_SECRET"}, } ) sync_foobar = fivetran_resync_op.configured( { "connector_id": "foobar", "resync_parameters": { "schema_a": ["table_a", "table_b"], "schema_b": ["table_c"] } }, name="sync_foobar" ) @job(resource_defs={"fivetran": my_fivetran_resource}) def my_simple_fivetran_job(): sync_foobar() @job(resource_defs={"fivetran": my_fivetran_resource}) def my_composed_fivetran_job(): final_foobar_state = sync_foobar(start_after=some_op()) other_op(final_foobar_state) """ fivetran_output = context.resources.fivetran.resync_and_poll( connector_id=context.op_config["connector_id"], resync_parameters=context.op_config["resync_parameters"], poll_interval=context.op_config["poll_interval"], poll_timeout=context.op_config["poll_timeout"], ) if context.op_config["yield_materializations"]: asset_key_filter = [ AssetKey(context.op_config["asset_key_prefix"] + [schema, table]) for schema, tables in context.op_config["resync_parameters"].items() for table in tables ] for mat in generate_materializations( fivetran_output, asset_key_prefix=context.op_config["asset_key_prefix"] ): if mat.asset_key in asset_key_filter: yield mat yield Output(fivetran_output)
38.495455
111
0.628882
947
8,469
5.417107
0.174234
0.032164
0.038012
0.011696
0.869006
0.830019
0.824366
0.817154
0.817154
0.785575
0
0.000165
0.284685
8,469
219
112
38.671233
0.846649
0.301807
0
0.761194
1
0.022388
0.389792
0.023313
0
0
0
0
0
1
0.014925
false
0
0.029851
0
0.044776
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a5c2296356cb53b6fdbe32bee2e1b2a4ce71239b
125
py
Python
ermaket/api/scripts/__init__.py
SqrtMinusOne/ERMaket_Experiment
c4a7b61651edd15a619d9b690e2aaeaab4de282d
[ "Apache-2.0" ]
null
null
null
ermaket/api/scripts/__init__.py
SqrtMinusOne/ERMaket_Experiment
c4a7b61651edd15a619d9b690e2aaeaab4de282d
[ "Apache-2.0" ]
null
null
null
ermaket/api/scripts/__init__.py
SqrtMinusOne/ERMaket_Experiment
c4a7b61651edd15a619d9b690e2aaeaab4de282d
[ "Apache-2.0" ]
null
null
null
from .script_config import * from .script_manager import * from .script_tools import * from .server_script_executor import *
25
37
0.808
17
125
5.647059
0.470588
0.3125
0.333333
0
0
0
0
0
0
0
0
0
0.128
125
4
38
31.25
0.880734
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
a5c4940558f2423589f3645fbd12515d56340242
15,759
py
Python
ner_evaluation/tests/test_evaluator.py
j-rossi-nl/NER-Evaluation
7ee4d3be0d5188c80135424f20927d9c015f269e
[ "MIT" ]
178
2018-05-18T01:07:28.000Z
2022-03-28T23:09:00.000Z
ner_evaluation/tests/test_evaluator.py
j-rossi-nl/NER-Evaluation
7ee4d3be0d5188c80135424f20927d9c015f269e
[ "MIT" ]
20
2018-06-17T13:18:20.000Z
2021-06-17T09:03:38.000Z
ner_evaluation/tests/test_evaluator.py
j-rossi-nl/NER-Evaluation
7ee4d3be0d5188c80135424f20927d9c015f269e
[ "MIT" ]
46
2018-09-28T14:10:24.000Z
2022-03-27T15:07:09.000Z
import pytest from ner_evaluation.ner_eval import Evaluator def test_evaluator_simple_case(): true = [ ['O', 'O', 'B-PER', 'I-PER', 'O'], ['O', 'B-LOC', 'I-LOC', 'B-LOC', 'I-LOC', 'O'], ] pred = [ ['O', 'O', 'B-PER', 'I-PER', 'O'], ['O', 'B-LOC', 'I-LOC', 'B-LOC', 'I-LOC', 'O'], ] evaluator = Evaluator(true, pred, tags=['LOC', 'PER']) results, results_agg = evaluator.evaluate() expected = { 'strict': { 'correct': 3, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 3, 'actual': 3, 'precision': 1.0, 'recall': 1.0 }, 'ent_type': { 'correct': 3, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 3, 'actual': 3, 'precision': 1.0, 'recall': 1.0 }, 'partial': { 'correct': 3, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 3, 'actual': 3, 'precision': 1.0, 'recall': 1.0 }, 'exact': { 'correct': 3, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 3, 'actual': 3, 'precision': 1.0, 'recall': 1.0 } } assert results['strict'] == expected['strict'] assert results['ent_type'] == expected['ent_type'] assert results['partial'] == expected['partial'] assert results['exact'] == expected['exact'] def test_evaluator_simple_case_filtered_tags(): """ Check that tags can be exluded by passing the tags argument """ true = [ ['O', 'O', 'B-PER', 'I-PER', 'O'], ['O', 'B-LOC', 'I-LOC', 'B-LOC', 'I-LOC', 'O'], ['O', 'B-MISC', 'I-MISC', 'O', 'O', 'O'], ] pred = [ ['O', 'O', 'B-PER', 'I-PER', 'O'], ['O', 'B-LOC', 'I-LOC', 'B-LOC', 'I-LOC', 'O'], ['O', 'B-MISC', 'I-MISC', 'O', 'O', 'O'], ] evaluator = Evaluator(true, pred, tags=['PER', 'LOC']) results, results_agg = evaluator.evaluate() expected = { 'strict': { 'correct': 3, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 3, 'actual': 3, 'precision': 1.0, 'recall': 1.0 }, 'ent_type': { 'correct': 3, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 3, 'actual': 3, 'precision': 1.0, 'recall': 1.0 }, 'partial': { 'correct': 3, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 3, 'actual': 3, 'precision': 1.0, 'recall': 1.0 }, 'exact': { 'correct': 3, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 3, 'actual': 3, 'precision': 1.0, 'recall': 1.0 } } assert results['strict'] == expected['strict'] assert results['ent_type'] == expected['ent_type'] assert results['partial'] == expected['partial'] assert results['exact'] == expected['exact'] def test_evaluator_extra_classes(): """ Case when model predicts a class that is not in the gold (true) data """ true = [ ['O', 'B-ORG', 'I-ORG', 'I-ORG', 'O', 'O'], ] pred = [ ['O', 'B-FOO', 'I-FOO', 'I-FOO', 'O', 'O'], ] evaluator = Evaluator(true, pred, tags=['ORG', 'FOO']) results, results_agg = evaluator.evaluate() expected = { 'strict': { 'correct': 0, 'incorrect': 1, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 0, 'recall': 0.0 }, 'ent_type': { 'correct': 0, 'incorrect': 1, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 0, 'recall': 0.0 }, 'partial': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 1.0, 'recall': 1.0 }, 'exact': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 1.0, 'recall': 1.0 } } assert results['strict'] == expected['strict'] assert results['ent_type'] == expected['ent_type'] assert results['partial'] == expected['partial'] assert results['exact'] == expected['exact'] def test_evaluator_no_entities_in_prediction(): """ Case when model predicts a class that is not in the gold (true) data """ true = [ ['O', 'O', 'B-PER', 'I-PER', 'O', 'O'], ] pred = [ ['O', 'O', 'O', 'O', 'O', 'O'], ] evaluator = Evaluator(true, pred, tags=['PER']) results, results_agg = evaluator.evaluate() expected = { 'strict': { 'correct': 0, 'incorrect': 0, 'partial': 0, 'missed': 1, 'spurious': 0, 'possible': 1, 'actual': 0, 'precision': 0, 'recall': 0 }, 'ent_type': { 'correct': 0, 'incorrect': 0, 'partial': 0, 'missed': 1, 'spurious': 0, 'possible': 1, 'actual': 0, 'precision': 0, 'recall': 0 }, 'partial': { 'correct': 0, 'incorrect': 0, 'partial': 0, 'missed': 1, 'spurious': 0, 'possible': 1, 'actual': 0, 'precision': 0, 'recall': 0 }, 'exact': { 'correct': 0, 'incorrect': 0, 'partial': 0, 'missed': 1, 'spurious': 0, 'possible': 1, 'actual': 0, 'precision': 0, 'recall': 0 } } assert results['strict'] == expected['strict'] assert results['ent_type'] == expected['ent_type'] assert results['partial'] == expected['partial'] assert results['exact'] == expected['exact'] def test_evaluator_compare_results_and_results_agg(): """ Check that the label level results match the total results. """ true = [ ['O', 'O', 'B-PER', 'I-PER', 'O', 'O'], ] pred = [ ['O', 'O', 'B-PER', 'I-PER', 'O', 'O'], ] evaluator = Evaluator(true, pred, tags=['PER']) results, results_agg = evaluator.evaluate() expected = { 'strict': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 1, 'recall': 1 }, 'ent_type': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 1, 'recall': 1 }, 'partial': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 1, 'recall': 1 }, 'exact': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 1, 'recall': 1 } } expected_agg = { 'PER': { 'strict': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 1, 'recall': 1 }, 'ent_type': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 1, 'recall': 1 }, 'partial': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 1, 'recall': 1 }, 'exact': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 0, 'possible': 1, 'actual': 1, 'precision': 1, 'recall': 1 } } } assert results_agg["PER"]["strict"] == expected_agg["PER"]["strict"] assert results_agg["PER"]["ent_type"] == expected_agg["PER"]["ent_type"] assert results_agg["PER"]["partial"] == expected_agg["PER"]["partial"] assert results_agg["PER"]["exact"] == expected_agg["PER"]["exact"] assert results['strict'] == expected['strict'] assert results['ent_type'] == expected['ent_type'] assert results['partial'] == expected['partial'] assert results['exact'] == expected['exact'] assert results['strict'] == expected_agg['PER']['strict'] assert results['ent_type'] == expected_agg['PER']['ent_type'] assert results['partial'] == expected_agg['PER']['partial'] assert results['exact'] == expected_agg['PER']['exact'] def test_evaluator_compare_results_and_results_agg_1(): """ Test case when model predicts a label not in the test data. """ true = [ ['O', 'O', 'O', 'O', 'O', 'O'], ['O', 'O', 'B-ORG', 'I-ORG', 'O', 'O'], ['O', 'O', 'B-MISC', 'I-MISC', 'O', 'O'], ] pred = [ ['O', 'O', 'B-PER', 'I-PER', 'O', 'O'], ['O', 'O', 'B-ORG', 'I-ORG', 'O', 'O'], ['O', 'O', 'B-MISC', 'I-MISC', 'O', 'O'], ] evaluator = Evaluator(true, pred, tags=['PER', 'ORG', 'MISC']) results, results_agg = evaluator.evaluate() expected = { 'strict': { 'correct': 2, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 2, 'actual': 3, 'precision': 0.6666666666666666, 'recall': 1.0, }, 'ent_type': { 'correct': 2, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 2, 'actual': 3, 'precision': 0.6666666666666666, 'recall': 1.0, }, 'partial': { 'correct': 2, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 2, 'actual': 3, 'precision': 0.6666666666666666, 'recall': 1.0, }, 'exact': { 'correct': 2, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 2, 'actual': 3, 'precision': 0.6666666666666666, 'recall': 1.0, } } expected_agg = { 'ORG': { 'strict': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 1, 'actual': 2, 'precision': 0.5, 'recall': 1 }, 'ent_type': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 1, 'actual': 2, 'precision': 0.5, 'recall': 1 }, 'partial': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 1, 'actual': 2, 'precision': 0.5, 'recall': 1 }, 'exact': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 1, 'actual': 2, 'precision': 0.5, 'recall': 1 } }, 'MISC': { 'strict': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 1, 'actual': 2, 'precision': 0.5, 'recall': 1 }, 'ent_type': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 1, 'actual': 2, 'precision': 0.5, 'recall': 1 }, 'partial': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 1, 'actual': 2, 'precision': 0.5, 'recall': 1 }, 'exact': { 'correct': 1, 'incorrect': 0, 'partial': 0, 'missed': 0, 'spurious': 1, 'possible': 1, 'actual': 2, 'precision': 0.5, 'recall': 1 } } } assert results_agg["ORG"]["strict"] == expected_agg["ORG"]["strict"] assert results_agg["ORG"]["ent_type"] == expected_agg["ORG"]["ent_type"] assert results_agg["ORG"]["partial"] == expected_agg["ORG"]["partial"] assert results_agg["ORG"]["exact"] == expected_agg["ORG"]["exact"] assert results_agg["MISC"]["strict"] == expected_agg["MISC"]["strict"] assert results_agg["MISC"]["ent_type"] == expected_agg["MISC"]["ent_type"] assert results_agg["MISC"]["partial"] == expected_agg["MISC"]["partial"] assert results_agg["MISC"]["exact"] == expected_agg["MISC"]["exact"] assert results['strict'] == expected['strict'] assert results['ent_type'] == expected['ent_type'] assert results['partial'] == expected['partial'] assert results['exact'] == expected['exact'] def test_evaluator_wrong_prediction_length(): true = [ ['O', 'B-ORG', 'I-ORG', 'O', 'O'], ] pred = [ ['O', 'B-MISC', 'I-MISC', 'O'], ] evaluator = Evaluator(true, pred, tags=['PER', 'MISC']) with pytest.raises(ValueError): evaluator.evaluate() def test_evaluator_non_matching_corpus_length(): true = [ ['O', 'B-ORG', 'I-ORG', 'O', 'O'], ['O', 'O', 'O', 'O'] ] pred = [ ['O', 'B-MISC', 'I-MISC', 'O'], ] with pytest.raises(ValueError): evaluator = Evaluator(true, pred, tags=['PER', 'MISC'])
25.336013
78
0.398502
1,463
15,759
4.220779
0.0581
0.016842
0.081619
0.099109
0.890202
0.847611
0.838381
0.794656
0.779109
0.735061
0
0.046214
0.419189
15,759
621
79
25.376812
0.628428
0.020115
0
0.816176
0
0
0.23913
0
0
0
0
0
0.073529
1
0.014706
false
0
0.003676
0
0.018382
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
93af5f5f34d9c2306ae45ec956c95dea1dd2d208
35,325
py
Python
experiment code/GPU Experiments Code/MultiTemplate.py
qore-dl/qore-dl-code
dc60df8fd072df5c641005992630f43892b7f78e
[ "Apache-2.0" ]
null
null
null
experiment code/GPU Experiments Code/MultiTemplate.py
qore-dl/qore-dl-code
dc60df8fd072df5c641005992630f43892b7f78e
[ "Apache-2.0" ]
null
null
null
experiment code/GPU Experiments Code/MultiTemplate.py
qore-dl/qore-dl-code
dc60df8fd072df5c641005992630f43892b7f78e
[ "Apache-2.0" ]
null
null
null
import yaml template = \ {'apiVersion': 'kubeflow.org/v1', 'kind': 'TFJob', 'metadata': {'name': 'vgg1', 'namespace': 'vgg1'}, 'spec': {'tfReplicaSpecs': {'PS': {'replicas': 2, 'restartPolicy': 'Never', 'template': {'spec': {'containers': [{'name': 'tensorflow', 'image': 'qinhua/vgg:1.0', 'args': ['--train_steps=100'], 'volumeMounts': [{'name': 'vgg1', 'mountPath': '/tmp/train', 'readOnly': False}]}], 'volumes': [{'name': 'vgg1', 'hostPath': {'path': '/tfdata/k8snfs/vgg1'}} ] } } }, 'Worker': {'replicas': 4, 'restartPolicy': 'Never', 'template': {'spec': {'containers': [ {'name': 'tensorflow', 'image': 'qinhua/vgg:1.0', 'args': ['--train_steps=100'], 'volumeMounts': [{'name': 'vgg1', 'mountPath': '/tmp/train', 'readOnly': False}] } ], 'volumes': [{'name': 'vgg1', 'hostPath': {'path': '/tfdata/k8snfs/vgg1'}}] } } } } } } sa_file = open('yamltemplate/res-1-1-sa.yml') sa_template = yaml.load(sa_file.read()) print(sa_template) vgg_file = open('yamltemplate/vgg-258-258.yaml') vgg_template = yaml.load(vgg_file.read()) print(vgg_template) res_file = open('yamltemplate/res-462-462.yaml') res_template = yaml.load(res_file.read()) print(res_template) bind_file = open('yamltemplate/res-1-1-bind.yaml') bind0 = yaml.load(bind_file.read()) print(bind0) # vgg_file = open('tf_job_vgg.yaml','r') # # vgg_template = yaml.load(vgg_file.read()) # print(vgg_template) # res_file = open('tf_job_res.yaml','r') # res_template = yaml.load(res_file.read()) # print(res_template) # res2_file = open('tf_job_res2.yaml','r') # res2_template = yaml.load(res2_file.read()) # print(res2_template) # xception_file = open('tf_job_xception.yaml','r') # xception_template = yaml.load(xception_file.read()) # print(xception_template) # den_file = open('tf_job_den.yaml','r') # den_template = yaml.load(den_file.read()) # print(den_template) # ns_file = open('namespace_temp.yaml','r') # ns_template = yaml.load(ns_file.read()) # print(ns_template) # print(vgg_template['spec']['tfReplicaSpecs']['PS']['template']['spec']['volumes'][0]['hostPath']['path']) vgg0 = {'apiVersion': 'kubeflow.org/v1', 'kind': 'TFJob', 'metadata': { 'name': 'vgg-2-2', 'namespace': 'vgg-2-2' }, 'spec': { 'tfReplicaSpecs': { 'PS': { 'replicas': 1, 'restartPolicy': 'Never', 'template': { 'spec': { 'serviceAccount': 'vgg-2-2-reader', 'hostPID': True, 'affinity': { 'nodeAffinity': { 'preferredDuringSchedulingIgnoredDuringExecution': [ {'preference': { 'matchExpressions': [ {'key': 'cpusch', 'operator': 'In', 'values': ['true']} ]}, 'weight': 10}, {'preference': { 'matchExpressions': [ {'key': 'cpukpro', 'operator': 'In', 'values': ['0', '1']} ]}, 'weight': 5}, {'preference': { 'matchExpressions': [ {'key': 'wokpro', 'operator': 'In', 'values': ['2']} ] }, 'weight': 2} ] } }, 'containers': [ {'args': ['--training_step=20000', '--batch_size=8', '--interval=0.3', '--task_id=2', '--rtimes=2', '--tag=ms', '--retry=0', '--dbhost=172.16.190.97', '--update_min_step=2000', '--step_update=200', '--update_start=0.25', '--update_end=0.75','--update_delay=2.0', '--channel1=32', '--channel2=64', '--channel3=128', '--channel4=256', '--channel5=512', '--num_layer1=2', '--num_layer2=3', '--num_layer3=1', '--num_layer4=2', '--num_layer5=2', '--num_layers=21', '--num_gpus=1'], 'image': '172.16.190.90:5000/vgg-ps:1.25', 'name': 'tensorflow', 'volumeMounts': [ {'mountPath': '/tmp/train', 'name': 'vgg-2-2', 'readOnly': False}, {'mountPath': '/tfdata/imagenet_data', 'name': 'vgg-2-2-data', 'readOnly': False} ] } ], 'volumes': [ {'hostPath': {'path': '/data/tfdata/k8snfs/vgg-2-2'}, 'name': 'vgg-2-2'}, {'hostPath': {'path': '/data/tfdata/imagenet_data'}, 'name': 'vgg-2-2-data'} ] } } }, 'Worker': { 'replicas': 1, 'restartPolicy': 'Never', 'template': { 'spec': { 'serviceAccount': 'vgg-2-2-reader', 'hostPID': True, 'affinity': { 'nodeAffinity': { 'requiredDuringSchedulingIgnoredDuringExecution': { 'nodeSelectorTerms': [ {'matchExpressions': [ {'key': 'gpu', 'operator': 'In', 'values': ['true']} ] } ] }, 'preferredDuringSchedulingIgnoredDuringExecution': [ {'preference': { 'matchExpressions': [ {'key': 'gpusch', 'operator': 'In', 'values': ['true']} ] }, 'weight': 12}, {'preference': { 'matchExpressions': [ {'key': 'gpupro', 'operator': 'In', 'values': ['0', '1']} ] }, 'weight': 6}, {'preference': { 'matchExpressions': [ {'key': 'gpupro', 'operator': 'In', 'values': ['2']} ] }, 'weight': 3} ] } }, 'containers': [ {'args': ['--training_step=20000', '--batch_size=8', '--interval=0.3', '--task_id=2', '--rtimes=2', '--tag=ms', '--retry=0', '--dbhost=172.16.190.97', '--update_min_step=2000', '--step_update=200', '--update_start=0.25', '--update_end=0.75', '--update_delay=2.0', '--channel1=32', '--channel2=64', '--channel3=128', '--channel4=256', '--channel5=512', '--num_layer1=2', '--num_layer2=3', '--num_layer3=1', '--num_layer4=2', '--num_layer5=2', '--num_layers=21', '--num_gpus=1'], 'image': '172.16.190.90:5000/vgg-worker:1.25', 'name': 'tensorflow', 'resources': { 'limits': {'nvidia.com/gpu': 1}, 'requests': {'nvidia.com/gpu': 1} }, 'volumeMounts': [ {'mountPath': '/tmp/train', 'name': 'vgg-2-2', 'readOnly': False}, {'mountPath': '/tfdata/imagenet_data', 'name': 'vgg-2-2-data', 'readOnly': False}] } ], 'volumes': [ {'hostPath': {'path': '/data/tfdata/k8snfs/vgg-2-2'}, 'name': 'vgg-2-2'}, {'hostPath': {'path': '/data/tfdata/imagenet_data'}, 'name': 'vgg-2-2-data'}] } } } } } } res0 = {'apiVersion': 'kubeflow.org/v1', 'kind': 'TFJob', 'metadata': { 'name': 'res-1-1', 'namespace': 'res-1-1' }, 'spec': { 'tfReplicaSpecs': { 'PS': { 'replicas': 1, 'restartPolicy': 'Never', 'template': { 'spec': { 'serviceAccount': 'res-1-1-reader', 'hostPID': True, 'affinity': { 'nodeAffinity': { 'preferredDuringSchedulingIgnoredDuringExecution': [ {'preference': { 'matchExpressions': [ {'key': 'cpusch', 'operator': 'In', 'values': ['true']} ] }, 'weight': 10}, {'preference': { 'matchExpressions': [ {'key': 'cpukpro', 'operator': 'In', 'values': ['0', '1']} ] }, 'weight': 5}, {'preference': { 'matchExpressions': [ {'key': 'wokpro', 'operator': 'In', 'values': ['2']}] }, 'weight': 2} ] } }, 'containers': [ {'args': ['--training_step=21000', '--batch_size=8', '--interval=0.3', '--task_id=1', '--rtimes=1', '--tag=ms', '--retry=0', '--dbhost=172.16.190.97', '--update_min_step=2000', '--step_update=200', '--update_start=0.25', '--update_end=0.75','--update_delay=2.0', '--bot=1', '--channel1=64', '--channel2=128', '--channel3=256', '--channel4=400', '--block1=3', '--block2=4', '--block3=7', '--block4=6', '--rate1=4', '--rate2=4', '--rate3=4', '--rate4=4', '--k0=7', '--k11=1', '--k12=3', '--k21=1', '--k22=3', '--k31=1', '--k32=3', '--k41=1', '--k42=3', '--num_gpus=1'], 'image': '172.16.190.90:5000/res-ps:1.25', 'name': 'tensorflow', 'volumeMounts': [ {'mountPath': '/tmp/train', 'name': 'res-1-1', 'readOnly': False}, {'mountPath': '/tfdata/imagenet_data', 'name': 'res-1-1-data', 'readOnly': False} ] } ], 'volumes': [ {'hostPath': {'path': '/data/tfdata/k8snfs/res-1-1'}, 'name': 'res-1-1'}, {'hostPath': {'path': '/data/tfdata/imagenet_data'}, 'name': 'res-1-1-data'} ] } } }, 'Worker': { 'replicas': 2, 'restartPolicy': 'Never', 'template': { 'spec': { 'serviceAccount': 'res-1-1-reader', 'hostPID': True, 'affinity': { 'nodeAffinity': { 'requiredDuringSchedulingIgnoredDuringExecution': { 'nodeSelectorTerms': [ {'matchExpressions': [ {'key': 'gpu', 'operator': 'In', 'values': ['true']} ] } ] }, 'preferredDuringSchedulingIgnoredDuringExecution': [ {'preference': { 'matchExpressions': [ {'key': 'gpusch', 'operator': 'In', 'values': ['true']} ] }, 'weight': 12}, {'preference': {'matchExpressions': [ {'key': 'gpupro', 'operator': 'In', 'values': ['0', '1'] } ] }, 'weight': 6 }, {'preference': { 'matchExpressions': [ {'key': 'gpupro', 'operator': 'In', 'values': ['2']} ] }, 'weight': 3} ] } }, 'containers': [ {'args': ['--training_step=21000', '--batch_size=8', '--interval=0.3', '--task_id=1', '--rtimes=1', '--tag=ms', '--retry=0', '--dbhost=172.16.190.97','--update_min_step=2000', '--step_update=200', '--update_start=0.25', '--update_end=0.75','--update_delay=2.0', '--bot=1', '--channel1=64', '--channel2=128', '--channel3=256', '--channel4=400', '--block1=3', '--block2=4', '--block3=7', '--block4=6', '--rate1=4', '--rate2=4', '--rate3=4', '--rate4=4', '--k0=7', '--k11=1', '--k12=3', '--k21=1', '--k22=3', '--k31=1', '--k32=3', '--k41=1', '--k42=3', '--num_gpus=1'], 'image': '172.16.190.90:5000/res-worker:1.25', 'name': 'tensorflow', 'resources': { 'limits': {'nvidia.com/gpu': 1}, 'requests': {'nvidia.com/gpu': 1} }, 'volumeMounts': [ {'mountPath': '/tmp/train', 'name': 'res-1-1', 'readOnly': False}, {'mountPath': '/tfdata/imagenet_data', 'name': 'res-1-1-data', 'readOnly': False} ] } ], 'volumes': [ {'hostPath': {'path': '/data/tfdata/k8snfs/res-1-1'}, 'name': 'res-1-1'}, {'hostPath': {'path': '/data/tfdata/imagenet_data'}, 'name': 'res-1-1-data'} ] } } } } } } class TaskTemplate(): VGG = {'apiVersion': 'kubeflow.org/v1', 'kind': 'TFJob', 'metadata': { 'name': 'vgg-2-2', 'namespace': 'vgg-2-2' }, 'spec': { 'tfReplicaSpecs': { 'PS': { 'replicas': 1, 'restartPolicy': 'Never', 'template': { 'spec': { 'serviceAccount': 'vgg-2-2-reader', 'hostPID': True, 'affinity': { 'nodeAffinity': { 'preferredDuringSchedulingIgnoredDuringExecution': [ {'preference': { 'matchExpressions': [ {'key': 'cpusch', 'operator': 'In', 'values': ['true']} ]}, 'weight': 10}, {'preference': { 'matchExpressions': [ {'key': 'cpukpro', 'operator': 'In', 'values': ['0', '1']} ]}, 'weight': 5}, {'preference': { 'matchExpressions': [ {'key': 'wokpro', 'operator': 'In', 'values': ['2']} ] }, 'weight': 2} ] } }, 'containers': [ {'args': ['--training_step=20000', '--batch_size=8', '--interval=0.3', '--task_id=2', '--rtimes=2', '--tag=ms', '--retry=0', '--dbhost=172.16.190.97', '--update_min_step=2000', '--step_update=200', '--update_start=0.25', '--update_end=0.75','--update_delay=2.0', '--channel1=32', '--channel2=64', '--channel3=128', '--channel4=256', '--channel5=512', '--num_layer1=2', '--num_layer2=3', '--num_layer3=1', '--num_layer4=2', '--num_layer5=2', '--num_layers=21','--kernel=3', '--unit1=4096', '--unit2=4096','--num_gpus=1'], 'image': '172.16.190.90:5000/vgg-ps:1.25', 'name': 'tensorflow', 'volumeMounts': [ {'mountPath': '/tmp/train', 'name': 'vgg-2-2', 'readOnly': False}, {'mountPath': '/tfdata/imagenet_data', 'name': 'vgg-2-2-data', 'readOnly': False} ] } ], 'volumes': [ {'hostPath': {'path': '/data/tfdata/k8snfs/vgg-2-2'}, 'name': 'vgg-2-2'}, {'hostPath': {'path': '/data/tfdata/imagenet_data'}, 'name': 'vgg-2-2-data'} ] } } }, 'Worker': { 'replicas': 1, 'restartPolicy': 'Never', 'template': { 'spec': { 'serviceAccount': 'vgg-2-2-reader', 'hostPID': True, 'affinity': { 'nodeAffinity': { 'requiredDuringSchedulingIgnoredDuringExecution': { 'nodeSelectorTerms': [ {'matchExpressions': [ {'key': 'gpu', 'operator': 'In', 'values': ['true']} ] } ] }, 'preferredDuringSchedulingIgnoredDuringExecution': [ {'preference': { 'matchExpressions': [ {'key': 'gpusch', 'operator': 'In', 'values': ['true']} ] }, 'weight': 12}, {'preference': { 'matchExpressions': [ {'key': 'gpupro', 'operator': 'In', 'values': ['0', '1']} ] }, 'weight': 6}, {'preference': { 'matchExpressions': [ {'key': 'gpupro', 'operator': 'In', 'values': ['2']} ] }, 'weight': 3} ] } }, 'containers': [ {'args': ['--training_step=20000', '--batch_size=8', '--interval=0.3', '--task_id=2', '--rtimes=2', '--tag=ms', '--retry=0', '--dbhost=172.16.190.97', '--update_min_step=2000', '--step_update=200', '--update_start=0.25', '--update_end=0.75', '--update_delay=2.0', '--channel1=32', '--channel2=64', '--channel3=128', '--channel4=256', '--channel5=512', '--num_layer1=2', '--num_layer2=3', '--num_layer3=1', '--num_layer4=2', '--num_layer5=2', '--num_layers=21','--kernel=3', '--unit1=4096', '--unit2=4096', '--num_gpus=1'], 'image': '172.16.190.90:5000/vgg-worker:1.25', 'name': 'tensorflow', 'resources': { 'limits': {'nvidia.com/gpu': 1}, 'requests': {'nvidia.com/gpu': 1} }, 'volumeMounts': [ {'mountPath': '/tmp/train', 'name': 'vgg-2-2', 'readOnly': False}, {'mountPath': '/tfdata/imagenet_data', 'name': 'vgg-2-2-data', 'readOnly': False}] } ], 'volumes': [ {'hostPath': {'path': '/data/tfdata/k8snfs/vgg-2-2'}, 'name': 'vgg-2-2'}, {'hostPath': {'path': '/data/tfdata/imagenet_data'}, 'name': 'vgg-2-2-data'}] } } } } } } RES = {'apiVersion': 'kubeflow.org/v1', 'kind': 'TFJob', 'metadata': { 'name': 'res-1-1', 'namespace': 'res-1-1' }, 'spec': { 'tfReplicaSpecs': { 'PS': { 'replicas': 1, 'restartPolicy': 'Never', 'template': { 'spec': { 'serviceAccount': 'res-1-1-reader', 'hostPID': True, 'affinity': { 'nodeAffinity': { 'preferredDuringSchedulingIgnoredDuringExecution': [ {'preference': { 'matchExpressions': [ {'key': 'cpusch', 'operator': 'In', 'values': ['true']} ] }, 'weight': 10}, {'preference': { 'matchExpressions': [ {'key': 'cpukpro', 'operator': 'In', 'values': ['0', '1']} ] }, 'weight': 5}, {'preference': { 'matchExpressions': [ {'key': 'wokpro', 'operator': 'In', 'values': ['2']}] }, 'weight': 2} ] } }, 'containers': [ {'args': ['--training_step=21000', '--batch_size=8', '--interval=0.3', '--task_id=1', '--rtimes=1', '--tag=ms', '--retry=0', '--dbhost=172.16.190.97', '--update_min_step=2000', '--step_update=200', '--update_start=0.25', '--update_end=0.75','--update_delay=2.0', '--bot=1', '--channel1=64', '--channel2=128', '--channel3=256', '--channel4=400', '--block1=3', '--block2=4', '--block3=7', '--block4=6', '--rate1=4', '--rate2=4', '--rate3=4', '--rate4=4', '--k0=7', '--k11=1', '--k12=3', '--k21=1', '--k22=3', '--k31=1', '--k32=3', '--k41=1', '--k42=3', '--num_gpus=1'], 'image': '172.16.190.90:5000/res-ps:1.25', 'name': 'tensorflow', 'volumeMounts': [ {'mountPath': '/tmp/train', 'name': 'res-1-1', 'readOnly': False}, {'mountPath': '/tfdata/imagenet_data', 'name': 'res-1-1-data', 'readOnly': False} ] } ], 'volumes': [ {'hostPath': {'path': '/data/tfdata/k8snfs/res-1-1'}, 'name': 'res-1-1'}, {'hostPath': {'path': '/data/tfdata/imagenet_data'}, 'name': 'res-1-1-data'} ] } } }, 'Worker': { 'replicas': 2, 'restartPolicy': 'Never', 'template': { 'spec': { 'serviceAccount': 'res-1-1-reader', 'hostPID': True, 'affinity': { 'nodeAffinity': { 'requiredDuringSchedulingIgnoredDuringExecution': { 'nodeSelectorTerms': [ {'matchExpressions': [ {'key': 'gpu', 'operator': 'In', 'values': ['true']} ] } ] }, 'preferredDuringSchedulingIgnoredDuringExecution': [ {'preference': { 'matchExpressions': [ {'key': 'gpusch', 'operator': 'In', 'values': ['true']} ] }, 'weight': 12}, {'preference': {'matchExpressions': [ {'key': 'gpupro', 'operator': 'In', 'values': ['0', '1'] } ] }, 'weight': 6 }, {'preference': { 'matchExpressions': [ {'key': 'gpupro', 'operator': 'In', 'values': ['2']} ] }, 'weight': 3} ] } }, 'containers': [ {'args': ['--training_step=21000', '--batch_size=8', '--interval=0.3', '--task_id=1', '--rtimes=1', '--tag=ms', '--retry=0', '--dbhost=172.16.190.97','--update_min_step=2000', '--step_update=200', '--update_start=0.25', '--update_end=0.75','--update_delay=2.0', '--bot=1', '--channel1=64', '--channel2=128', '--channel3=256', '--channel4=400', '--block1=3', '--block2=4', '--block3=7', '--block4=6', '--rate1=4', '--rate2=4', '--rate3=4', '--rate4=4', '--k0=7', '--k11=1', '--k12=3', '--k21=1', '--k22=3', '--k31=1', '--k32=3', '--k41=1', '--k42=3', '--num_gpus=1'], 'image': '172.16.190.90:5000/res-worker:1.25', 'name': 'tensorflow', 'resources': { 'limits': {'nvidia.com/gpu': 1}, 'requests': {'nvidia.com/gpu': 1} }, 'volumeMounts': [ {'mountPath': '/tmp/train', 'name': 'res-1-1', 'readOnly': False}, {'mountPath': '/tfdata/imagenet_data', 'name': 'res-1-1-data', 'readOnly': False} ] } ], 'volumes': [ {'hostPath': {'path': '/data/tfdata/k8snfs/res-1-1'}, 'name': 'res-1-1'}, {'hostPath': {'path': '/data/tfdata/imagenet_data'}, 'name': 'res-1-1-data'} ] } } } } } } NS = {'apiVersion': 'v1', 'kind': 'Namespace', 'metadata': {'name': 'res1'}} class SATemplate(): SA = {'apiVersion': 'v1', 'kind': 'ServiceAccount', 'metadata': { 'name': 'res-1-1-reader', 'namespace': 'res-1-1' } } BIND = {'kind': 'RoleBinding', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': { 'name': 'read-pods', 'namespace': 'res-1-1' }, 'subjects': [ {'kind': 'ServiceAccount', 'name': 'res-1-1-reader', 'namespace': 'res-1-1'} ], 'roleRef': { 'kind': 'ClusterRole', 'name': 'tfcluster', 'apiGroup': 'rbac.authorization.k8s.io' } } if __name__ == '__main__': print(SATemplate.SA['metadata']['name']) print(TaskTemplate.VGG['spec']['tfReplicaSpecs']['PS']['template']['spec'][ 'serviceAccount'])
54.767442
140
0.279377
2,028
35,325
4.777613
0.093688
0.014449
0.018062
0.018578
0.898442
0.89101
0.884921
0.884921
0.88038
0.874394
0
0.070873
0.573815
35,325
644
141
54.852484
0.5727
0.020977
0
0.644481
0
0
0.288603
0.060643
0
0
0
0
0
1
0
false
0
0.001623
0
0.012987
0.00974
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
93b3ba7c5562ee05fc327d0adff07828ffbc564c
355
py
Python
temboo/core/Library/Zendesk/TicketMetrics/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Zendesk/TicketMetrics/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Zendesk/TicketMetrics/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
from temboo.Library.Zendesk.TicketMetrics.GetTicketMetrics import GetTicketMetrics, GetTicketMetricsInputSet, GetTicketMetricsResultSet, GetTicketMetricsChoreographyExecution from temboo.Library.Zendesk.TicketMetrics.ListTicketMetrics import ListTicketMetrics, ListTicketMetricsInputSet, ListTicketMetricsResultSet, ListTicketMetricsChoreographyExecution
118.333333
179
0.921127
22
355
14.863636
0.636364
0.061162
0.103976
0.146789
0.2263
0
0
0
0
0
0
0
0.039437
355
2
180
177.5
0.958944
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
f58d56c6da0d8f8d51845a6a83b9ee0e098d7328
9,086
py
Python
humann/tests/functional_tests_humann.py
wbazant/humann
13e8c7910d9aff4cabb58df19aa652a3c20e101b
[ "MIT" ]
72
2020-02-28T11:17:46.000Z
2022-03-29T07:40:37.000Z
humann/tests/functional_tests_humann.py
wbazant/humann
13e8c7910d9aff4cabb58df19aa652a3c20e101b
[ "MIT" ]
25
2020-03-20T10:30:13.000Z
2022-03-07T23:39:22.000Z
humann/tests/functional_tests_humann.py
wbazant/humann
13e8c7910d9aff4cabb58df19aa652a3c20e101b
[ "MIT" ]
41
2020-03-20T15:01:59.000Z
2022-02-22T01:12:27.000Z
import unittest import subprocess import tempfile import os import filecmp import shutil import cfg import utils class TestFunctionalHumannEndtoEnd(unittest.TestCase): """ Test humann with end to end functional tests """ def test_humann_fastq(self): """ Test the standard humann flow on a fastq input file """ # create a temp directory for output tempdir = utils.create_temp_folder("fastq") # run humann test command = ["humann","--input",cfg.demo_fastq,"--output",tempdir] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_fasta(self): """ Test the standard humann flow on a fasta input file """ # create a temp directory for output tempdir = utils.create_temp_folder("fasta") # run humann test command = ["humann","--input",cfg.demo_fasta,"--output",tempdir] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_sam(self): """ Test the standard humann flow on a sam input file """ # create a temp directory for output tempdir = utils.create_temp_folder("sam") # run humann test command = ["humann","--input",cfg.demo_sam,"--output",tempdir] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_m8(self): """ Test the standard humann flow on a m8 input file """ # create a temp directory for output tempdir = utils.create_temp_folder("m8") # run humann test command = ["humann","--input",cfg.demo_m8,"--output",tempdir] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_gene_families(self): """ Test the standard humann flow on a gene families output file as input """ # create a temp directory for output tempdir = utils.create_temp_folder("gene_families") # run humann test command = ["humann","--input",cfg.demo_gene_families,"--output",tempdir] utils.run_humann(command) # check the output files are as expected # it will include all output files except the gene families output file # since this file was used as input for expression, message in utils.check_output(cfg.expected_demo_output_files_genefamilies_input, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_fastq_bypass_nucleotide_search(self): """ Test the standard humann flow on a fastq input file Test with bypassing nucleotide search """ # create a temp directory for output tempdir = utils.create_temp_folder("fastq_bypass_nucleotide_search") # run humann test command = ["humann","--input",cfg.demo_fastq,"--output",tempdir,"--bypass-nucleotide-search"] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_fasta_bypass_nucleotide_search(self): """ Test the standard humann flow on a fasta input file Test with bypassing nucleotide search """ # create a temp directory for output tempdir = utils.create_temp_folder("fasta_bypass_nucleotide_search") # run humann test command = ["humann","--input",cfg.demo_fasta,"--output",tempdir,"--bypass-nucleotide-search"] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_fastq_bypass_translated_search(self): """ Test the standard humann flow on a fastq input file Test with bypassing translated search """ # create a temp directory for output tempdir = utils.create_temp_folder("fastq_bypass_translated_search") # run humann test command = ["humann","--input",cfg.demo_fastq,"--output",tempdir,"--bypass-translated-search"] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_fasta_bypass_translated_search(self): """ Test the standard humann flow on a fasta input file Test with bypassing translated search """ # create a temp directory for output tempdir = utils.create_temp_folder("fasta_bypass_translated_search") # run humann test command = ["humann","--input",cfg.demo_fasta,"--output",tempdir,"--bypass-translated-search"] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_fastq_bypass_prescreen(self): """ Test the standard humann flow on a fastq input file Test with bypassing prescreen """ # create a temp directory for output tempdir = utils.create_temp_folder("fastq_bypass_prescreen") # run humann test command = ["humann","--input",cfg.demo_fastq,"--output",tempdir,"--bypass-prescreen"] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_fasta_bypass_prescreen(self): """ Test the standard humann flow on a fasta input file Test with bypassing prescreen """ # create a temp directory for output tempdir = utils.create_temp_folder("fasta_bypass_prescreen") # run humann test command = ["humann","--input",cfg.demo_fasta,"--output",tempdir,"--bypass-prescreen"] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir) def test_humann_fastq_custom_taxonomic_profile(self): """ Test the standard humann flow on a fastq input file Test with a custom taxonomic profile """ # create a temp directory for output tempdir = utils.create_temp_folder("fastq_custom_taxonomic_profile") # run humann test command = ["humann","--input",cfg.demo_fastq,"--output",tempdir,"--taxonomic-profile", cfg.demo_bugs_list] utils.run_humann(command) # check the output files are as expected for expression, message in utils.check_output(cfg.expected_demo_output_files, tempdir): self.assertTrue(expression,message) # remove the temp directory utils.remove_temp_folder(tempdir)
35.913043
114
0.635923
1,049
9,086
5.327931
0.071497
0.049204
0.05475
0.040794
0.913043
0.913043
0.913043
0.913043
0.87547
0.87547
0
0.000617
0.286155
9,086
252
115
36.055556
0.861085
0.267114
0
0.5
0
0
0.101086
0.047589
0
0
0
0
0.12766
1
0.12766
false
0.191489
0.085106
0
0.223404
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
19145ebcc397191c20fe8a392e86f71c6db38904
57
py
Python
test/files/idents_optics_out1.py
symbiont-sam-halliday/hpython
9789be34cd0879f2699daf11f2440a985175497f
[ "BSD-3-Clause" ]
160
2017-08-13T16:47:07.000Z
2022-03-29T11:37:55.000Z
test/files/idents_optics_out1.py
symbiont-sam-halliday/hpython
9789be34cd0879f2699daf11f2440a985175497f
[ "BSD-3-Clause" ]
66
2017-08-09T06:30:20.000Z
2020-06-22T01:26:35.000Z
test/files/idents_optics_out1.py
symbiont-sam-halliday/hpython
9789be34cd0879f2699daf11f2440a985175497f
[ "BSD-3-Clause" ]
13
2017-09-06T01:16:35.000Z
2021-02-07T06:20:00.000Z
def b(b, b, *b, **b): b += b[b(b,b), b] return b
14.25
21
0.368421
14
57
1.5
0.214286
0.952381
1.285714
1.52381
0.52381
0.52381
0.52381
0.52381
0.52381
0.52381
0
0
0.333333
57
3
22
19
0.552632
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
1
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
27099ac526a6a284eca1d60996d63f186488a445
20,378
py
Python
venv/lib/python3.6/site-packages/ansible_collections/netapp/cloudmanager/tests/unit/plugins/modules/test_na_cloudmanager_cvo_aws.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/netapp/cloudmanager/tests/unit/plugins/modules/test_na_cloudmanager_cvo_aws.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/netapp/cloudmanager/tests/unit/plugins/modules/test_na_cloudmanager_cvo_aws.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
# (c) 2021, NetApp, Inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ''' unit tests Cloudmanager Ansible module: ''' from __future__ import (absolute_import, division, print_function) __metaclass__ = type import json import sys import pytest from ansible.module_utils import basic from ansible.module_utils._text import to_bytes from ansible_collections.netapp.cloudmanager.tests.unit.compat import unittest from ansible_collections.netapp.cloudmanager.tests.unit.compat.mock import patch from ansible_collections.netapp.cloudmanager.plugins.modules.na_cloudmanager_cvo_aws \ import NetAppCloudManagerCVOAWS as my_module, IMPORT_EXCEPTION if IMPORT_EXCEPTION is not None and sys.version_info < (3, 5): pytestmark = pytest.mark.skip('skipping as missing required imports on 2.6 and 2.7: %s' % IMPORT_EXCEPTION) def set_module_args(args): '''prepare arguments so that they will be picked up during module creation''' args = json.dumps({'ANSIBLE_MODULE_ARGS': args}) basic._ANSIBLE_ARGS = to_bytes(args) # pylint: disable=protected-access class AnsibleExitJson(Exception): '''Exception class to be raised by module.exit_json and caught by the test case''' class AnsibleFailJson(Exception): '''Exception class to be raised by module.fail_json and caught by the test case''' def exit_json(*args, **kwargs): # pylint: disable=unused-argument '''function to patch over exit_json; package return data into an exception''' if 'changed' not in kwargs: kwargs['changed'] = False raise AnsibleExitJson(kwargs) def fail_json(*args, **kwargs): # pylint: disable=unused-argument '''function to patch over fail_json; package return data into an exception''' kwargs['failed'] = True raise AnsibleFailJson(kwargs) class TestMyModule(unittest.TestCase): ''' a group of related Unit Tests ''' def setUp(self): self.mock_module_helper = patch.multiple(basic.AnsibleModule, exit_json=exit_json, fail_json=fail_json) self.mock_module_helper.start() self.addCleanup(self.mock_module_helper.stop) def set_default_args_pass_check(self): return dict({ 'state': 'present', 'name': 'TestA', 'client_id': 'test', 'region': 'us-west-1', 'vpc_id': 'vpc-test', 'subnet_id': 'subnet-test', 'svm_password': 'password', 'refresh_token': 'myrefresh_token', 'is_ha': False }) def set_args_create_cloudmanager_cvo_aws(self): return dict({ 'state': 'present', 'name': 'Dummyname', 'client_id': 'test', 'region': 'us-west-1', 'vpc_id': 'vpc-test', 'subnet_id': 'subnet-test', 'svm_password': 'password', 'refresh_token': 'myrefresh_token', 'is_ha': False }) def set_args_delete_cloudmanager_cvo_aws(self): return dict({ 'state': 'absent', 'name': 'Dummyname', 'client_id': 'test', 'region': 'us-west-1', 'vpc_id': 'vpc-test', 'subnet_id': 'subnet-test', 'svm_password': 'password', 'refresh_token': 'myrefresh_token', 'is_ha': False }) def test_module_fail_when_required_args_missing(self): ''' required arguments are reported as errors ''' with pytest.raises(AnsibleFailJson) as exc: set_module_args({}) my_module() print('Info: %s' % exc.value.args[0]['msg']) @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.get_token') def test_module_fail_when_required_args_present(self, get_token): ''' required arguments are reported as errors ''' with pytest.raises(AnsibleExitJson) as exc: set_module_args(self.set_default_args_pass_check()) get_token.return_value = 'test', 'test' my_module() exit_json(changed=True, msg="TestCase Fail when required args are present") assert exc.value.args[0]['changed'] @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.get_token') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.wait_on_completion') @patch('ansible_collections.netapp.cloudmanager.plugins.modules.na_cloudmanager_cvo_aws.NetAppCloudManagerCVOAWS.get_vpc') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_tenant') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_nss') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_working_environment_details_by_name') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.post') def test_create_cloudmanager_cvo_aws_pass(self, get_post_api, get_working_environment_details_by_name, get_nss, get_tenant, get_vpc, wait_on_completion, get_token): set_module_args(self.set_args_create_cloudmanager_cvo_aws()) get_token.return_value = 'test', 'test' my_obj = my_module() response = {'publicId': 'abcdefg12345'} get_working_environment_details_by_name.return_value = None, None get_post_api.return_value = response, None, None get_nss.return_value = 'nss-test', None get_tenant.return_value = 'test', None get_vpc.return_value = 'test' wait_on_completion.return_value = None with pytest.raises(AnsibleExitJson) as exc: my_obj.apply() print('Info: test_create_cloudmanager_cvo_aws_pass: %s' % repr(exc.value)) assert exc.value.args[0]['changed'] @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.get_token') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.wait_on_completion') @patch('ansible_collections.netapp.cloudmanager.plugins.modules.na_cloudmanager_cvo_aws.NetAppCloudManagerCVOAWS.get_vpc') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_tenant') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_nss') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_working_environment_details_by_name') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.post') def test_create_cloudmanager_cvo_aws_ha_pass(self, get_post_api, get_working_environment_details_by_name, get_nss, get_tenant, get_vpc, wait_on_completion, get_token): data = self.set_args_create_cloudmanager_cvo_aws() data['is_ha'] = True data.pop('subnet_id') set_module_args(data) get_token.return_value = 'test', 'test' my_obj = my_module() response = {'publicId': 'abcdefg12345'} get_working_environment_details_by_name.return_value = None, None get_post_api.return_value = response, None, None get_nss.return_value = 'nss-test', None get_tenant.return_value = 'test', None get_vpc.return_value = 'test' wait_on_completion.return_value = None with pytest.raises(AnsibleExitJson) as exc: my_obj.apply() print('Info: test_create_cloudmanager_cvo_aws_ha_pass: %s' % repr(exc.value)) assert exc.value.args[0]['changed'] @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.get_token') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.wait_on_completion') @patch('ansible_collections.netapp.cloudmanager.plugins.modules.na_cloudmanager_cvo_aws.NetAppCloudManagerCVOAWS.get_vpc') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_tenant') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_nss') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_working_environment_details_by_name') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.post') def test_create_cloudmanager_cvo_aws_capacity_license_pass(self, get_post_api, get_working_environment_details_by_name, get_nss, get_tenant, get_vpc, wait_on_completion, get_token): data = self.set_args_create_cloudmanager_cvo_aws() data['license_type'] = 'capacity-paygo' data['capacity_package_name'] = 'Essential' set_module_args(data) get_token.return_value = 'test', 'test' my_obj = my_module() response = {'publicId': 'abcdefg12345'} get_working_environment_details_by_name.return_value = None, None get_post_api.return_value = response, None, None get_nss.return_value = 'nss-test', None get_tenant.return_value = 'test', None get_vpc.return_value = 'test' wait_on_completion.return_value = None with pytest.raises(AnsibleExitJson) as exc: my_obj.apply() print('Info: test_create_cloudmanager_cvo_aws_pass: %s' % repr(exc.value)) assert exc.value.args[0]['changed'] @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.get_token') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.wait_on_completion') @patch('ansible_collections.netapp.cloudmanager.plugins.modules.na_cloudmanager_cvo_aws.NetAppCloudManagerCVOAWS.get_vpc') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_tenant') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_nss') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_working_environment_details_by_name') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.post') def test_create_cloudmanager_cvo_aws_ha_capacity_license_pass(self, get_post_api, get_working_environment_details_by_name, get_nss, get_tenant, get_vpc, wait_on_completion, get_token): data = self.set_args_create_cloudmanager_cvo_aws() data['is_ha'] = True data['license_type'] = 'ha-capacity-paygo' data['capacity_package_name'] = 'Essential' data.pop('subnet_id') set_module_args(data) get_token.return_value = 'test', 'test' my_obj = my_module() response = {'publicId': 'abcdefg12345'} get_working_environment_details_by_name.return_value = None, None get_post_api.return_value = response, None, None get_nss.return_value = 'nss-test', None get_tenant.return_value = 'test', None get_vpc.return_value = 'test' wait_on_completion.return_value = None with pytest.raises(AnsibleExitJson) as exc: my_obj.apply() print('Info: test_create_cloudmanager_cvo_aws_ha_pass: %s' % repr(exc.value)) assert exc.value.args[0]['changed'] @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.get_token') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.wait_on_completion') @patch('ansible_collections.netapp.cloudmanager.plugins.modules.na_cloudmanager_cvo_aws.NetAppCloudManagerCVOAWS.get_vpc') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_tenant') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_nss') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_working_environment_details_by_name') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.post') def test_create_cloudmanager_cvo_aws_nodebase_license_pass(self, get_post_api, get_working_environment_details_by_name, get_nss, get_tenant, get_vpc, wait_on_completion, get_token): data = self.set_args_create_cloudmanager_cvo_aws() data['license_type'] = 'cot-premium-byol' data['platform_serial_number'] = '12345678' set_module_args(data) get_token.return_value = 'test', 'test' my_obj = my_module() response = {'publicId': 'abcdefg12345'} get_working_environment_details_by_name.return_value = None, None get_post_api.return_value = response, None, None get_nss.return_value = 'nss-test', None get_tenant.return_value = 'test', None get_vpc.return_value = 'test' wait_on_completion.return_value = None with pytest.raises(AnsibleExitJson) as exc: my_obj.apply() print('Info: test_create_cloudmanager_cvo_aws_pass: %s' % repr(exc.value)) assert exc.value.args[0]['changed'] @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.get_token') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.wait_on_completion') @patch('ansible_collections.netapp.cloudmanager.plugins.modules.na_cloudmanager_cvo_aws.NetAppCloudManagerCVOAWS.get_vpc') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_tenant') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_nss') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_working_environment_details_by_name') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.post') def test_create_cloudmanager_cvo_aws_ha_nodebase_license_pass(self, get_post_api, get_working_environment_details_by_name, get_nss, get_tenant, get_vpc, wait_on_completion, get_token): data = self.set_args_create_cloudmanager_cvo_aws() data['license_type'] = 'ha-cot-premium-byol' data['platform_serial_number_node1'] = '12345678' data['platform_serial_number_node2'] = '23456789' set_module_args(data) get_token.return_value = 'test', 'test' my_obj = my_module() response = {'publicId': 'abcdefg12345'} get_working_environment_details_by_name.return_value = None, None get_post_api.return_value = response, None, None get_nss.return_value = 'nss-test', None get_tenant.return_value = 'test', None get_vpc.return_value = 'test' wait_on_completion.return_value = None with pytest.raises(AnsibleExitJson) as exc: my_obj.apply() print('Info: test_create_cloudmanager_cvo_aws_pass: %s' % repr(exc.value)) assert exc.value.args[0]['changed'] @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.get_token') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.wait_on_completion') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_working_environment_details_by_name') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.delete') def test_delete_cloudmanager_cvo_aws_pass(self, get_delete_api, get_working_environment_details_by_name, wait_on_completion, get_token): set_module_args(self.set_args_delete_cloudmanager_cvo_aws()) get_token.return_value = 'test', 'test' my_obj = my_module() my_cvo = { 'name': 'test', 'publicId': 'test'} get_working_environment_details_by_name.return_value = my_cvo, None get_delete_api.return_value = None, None, None wait_on_completion.return_value = None with pytest.raises(AnsibleExitJson) as exc: my_obj.apply() print('Info: test_delete_cloudmanager_cvo_aws_pass: %s' % repr(exc.value)) assert exc.value.args[0]['changed'] @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp.CloudManagerRestAPI.get_token') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.update_tier_level') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.update_cvo_tags') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.update_svm_password') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_working_environment_details') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_working_environment_property') @patch('ansible_collections.netapp.cloudmanager.plugins.module_utils.netapp_module.NetAppModule.get_working_environment_details_by_name') def test_change_cloudmanager_cvo_aws(self, get_cvo, get_property, get_details, update_svm_password, update_cvo_tags, update_tier_level, get_token): set_module_args(self.set_default_args_pass_check()) modify = ['svm_password', 'aws_tag', 'tier_level'] my_cvo = { 'name': 'TestA', 'publicId': 'test', 'cloudProviderName': 'Amazon', 'svm_password': 'password', 'isHa': False, 'svmName': 'svm_TestA', 'tenantId': 'Tenant-test', 'workingEnvironmentType': 'VSA', } get_cvo.return_value = my_cvo, None cvo_property = {'name': 'TestA', 'publicId': 'test', 'ontapClusterProperties': { 'capacityTierInfo': {'tierLevel': 'normal'}, 'licenseType': {'capacityLimit': {'size': 2.0, 'unit': 'TB'}, 'name': 'Cloud Volumes ONTAP Explore'}, 'ontapVersion': '9.10.0', 'writingSpeedState': 'NORMAL'}, } get_property.return_value = cvo_property, None cvo_details = {'cloudProviderName': 'Amazon', 'isHA': False, 'name': 'TestA', 'ontapClusterProperties': None, 'publicId': 'test', 'status': None, 'userTags': {'key1': 'value1'}, 'workingEnvironmentType': 'VSA'} get_details.return_value = cvo_details, None get_token.return_value = 'test', 'test' my_obj = my_module() for item in modify: if item == 'svm_password': update_svm_password.return_value = True, None elif item == 'aws_tag': update_cvo_tags.return_value = True, None elif item == 'tier_level': update_tier_level.return_value = True, None with pytest.raises(AnsibleExitJson) as exc: my_obj.apply() print('Info: test_change_cloudmanager_cvo_aws: %s' % repr(exc.value))
54.196809
141
0.688978
2,334
20,378
5.671808
0.103685
0.077504
0.103339
0.155008
0.836154
0.826635
0.813491
0.775193
0.75729
0.74339
0
0.005598
0.211061
20,378
375
142
54.341333
0.817814
0.036216
0
0.667732
0
0
0.395946
0.315225
0
0
0
0
0.025559
1
0.054313
false
0.083067
0.035144
0.009585
0.108626
0.031949
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
2734f942d6e3294f27fd1906b6aac445ad79ee59
479
py
Python
gtfs_functions/__init__.py
Bondify/gtfs_layers
0fadd44e7f30bc5bfee379103ac6378bfbdde94a
[ "MIT" ]
34
2020-12-07T15:32:35.000Z
2022-03-28T06:44:22.000Z
gtfs_functions/__init__.py
Bondify/gtfs_layers
0fadd44e7f30bc5bfee379103ac6378bfbdde94a
[ "MIT" ]
11
2021-01-05T18:25:59.000Z
2022-03-04T20:24:36.000Z
gtfs_functions/__init__.py
Bondify/gtfs_layers
0fadd44e7f30bc5bfee379103ac6378bfbdde94a
[ "MIT" ]
5
2021-03-31T12:59:00.000Z
2022-02-03T23:13:16.000Z
from gtfs_functions.gtfs_funtions import save_gdf from gtfs_functions.gtfs_funtions import import_gtfs from gtfs_functions.gtfs_funtions import cut_gtfs from gtfs_functions.gtfs_funtions import speeds_from_gtfs from gtfs_functions.gtfs_funtions import stops_freq from gtfs_functions.gtfs_funtions import create_json from gtfs_functions.gtfs_funtions import map_gdf from gtfs_functions.gtfs_funtions import lines_freq from gtfs_functions.gtfs_funtions import segments_freq
53.222222
58
0.891441
73
479
5.465753
0.219178
0.200501
0.383459
0.473684
0.854637
0.854637
0.679198
0
0
0
0
0
0.08977
479
9
59
53.222222
0.915138
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
8
2749571c59c4910b6a469c033c09b9e23261ccac
20,482
py
Python
src/bondora_api/apis/report_api.py
parruc/bondora_api
f36ea8d7149d75a2e5f14a695e5a4e57f0a3518d
[ "Apache-2.0" ]
8
2019-03-09T20:38:27.000Z
2021-02-10T20:44:22.000Z
src/bondora_api/apis/report_api.py
parruc/bondora_api
f36ea8d7149d75a2e5f14a695e5a4e57f0a3518d
[ "Apache-2.0" ]
1
2018-03-06T09:44:21.000Z
2018-03-06T09:44:21.000Z
src/bondora_api/apis/report_api.py
parruc/bondora_api
f36ea8d7149d75a2e5f14a695e5a4e57f0a3518d
[ "Apache-2.0" ]
3
2019-06-03T13:44:05.000Z
2020-11-16T13:17:38.000Z
# coding: utf-8 """ Bondora API V1 Bondora API version 1 OpenAPI spec version: v1 Contact: investor@bondora.com Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ from __future__ import absolute_import import sys import os import re # python 2 and python 3 compatibility library from six import iteritems from ..configuration import Configuration from ..api_client import ApiClient class ReportApi(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen """ def __init__(self, api_client=None): config = Configuration() if api_client: self.api_client = api_client else: if not config.api_client: config.api_client = ApiClient() self.api_client = config.api_client def report_generate_report(self, request, **kwargs): """ Request to generate specified report type for set period. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.report_generate_report(request, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param ReportCreateRequest request: (required) :return: ApiResultCreateReport If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): return self.report_generate_report_with_http_info(request, **kwargs) else: (data) = self.report_generate_report_with_http_info(request, **kwargs) return data def report_generate_report_with_http_info(self, request, **kwargs): """ Request to generate specified report type for set period. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.report_generate_report_with_http_info(request, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param ReportCreateRequest request: (required) :return: ApiResultCreateReport If the method is called asynchronously, returns the request thread. """ all_params = ['request'] all_params.append('callback') all_params.append('_return_http_data_only') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method report_generate_report" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'request' is set if ('request' not in params) or (params['request'] is None): raise ValueError("Missing the required parameter `request` when calling `report_generate_report`") resource_path = '/api/v1/report'.replace('{format}', 'json') path_params = {} query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None if 'request' in params: body_params = params['request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded']) # Authentication setting auth_settings = ['oauth2'] return self.api_client.call_api(resource_path, 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='ApiResultCreateReport', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only')) def report_get_public_dataset(self, **kwargs): """ Provides daily public dataset of all loan data that is not covered by the data protection laws. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.report_get_public_dataset(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param list[str] request_loan_ids: Specific loans to search :param list[str] request_countries: Two letter iso code for country of origin: EE, ES, FI :param list[str] request_ratings: Bondora's rating: AA, A, B, C, D, E, F, HR :param datetime request_loan_date_from: Loan start date from :param datetime request_loan_date_to: Loan start date to :param int request_page_size: Max items in result, default is 1000 :param int request_page_nr: Result page nr :return: ApiResultPublicDataset If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): return self.report_get_public_dataset_with_http_info(**kwargs) else: (data) = self.report_get_public_dataset_with_http_info(**kwargs) return data def report_get_public_dataset_with_http_info(self, **kwargs): """ Provides daily public dataset of all loan data that is not covered by the data protection laws. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.report_get_public_dataset_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param list[str] request_loan_ids: Specific loans to search :param list[str] request_countries: Two letter iso code for country of origin: EE, ES, FI :param list[str] request_ratings: Bondora's rating: AA, A, B, C, D, E, F, HR :param datetime request_loan_date_from: Loan start date from :param datetime request_loan_date_to: Loan start date to :param int request_page_size: Max items in result, default is 1000 :param int request_page_nr: Result page nr :return: ApiResultPublicDataset If the method is called asynchronously, returns the request thread. """ all_params = ['request_loan_ids', 'request_countries', 'request_ratings', 'request_loan_date_from', 'request_loan_date_to', 'request_page_size', 'request_page_nr'] all_params.append('callback') all_params.append('_return_http_data_only') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method report_get_public_dataset" % key ) params[key] = val del params['kwargs'] if 'request_page_size' in params and params['request_page_size'] > 10000.0: raise ValueError("Invalid value for parameter `request_page_size` when calling `report_get_public_dataset`, must be a value less than or equal to `10000.0`") if 'request_page_size' in params and params['request_page_size'] < 1.0: raise ValueError("Invalid value for parameter `request_page_size` when calling `report_get_public_dataset`, must be a value greater than or equal to `1.0`") if 'request_page_nr' in params and params['request_page_nr'] > 2.147483647E9: raise ValueError("Invalid value for parameter `request_page_nr` when calling `report_get_public_dataset`, must be a value less than or equal to `2.147483647E9`") if 'request_page_nr' in params and params['request_page_nr'] < 1.0: raise ValueError("Invalid value for parameter `request_page_nr` when calling `report_get_public_dataset`, must be a value greater than or equal to `1.0`") resource_path = '/api/v1/publicdataset'.replace('{format}', 'json') path_params = {} query_params = {} if 'request_loan_ids' in params: query_params['request.loanIds'] = params['request_loan_ids'] if 'request_countries' in params: query_params['request.countries'] = params['request_countries'] if 'request_ratings' in params: query_params['request.ratings'] = params['request_ratings'] if 'request_loan_date_from' in params: query_params['request.loanDateFrom'] = params['request_loan_date_from'] if 'request_loan_date_to' in params: query_params['request.loanDateTo'] = params['request_loan_date_to'] if 'request_page_size' in params: query_params['request.pageSize'] = params['request_page_size'] if 'request_page_nr' in params: query_params['request.pageNr'] = params['request_page_nr'] header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type([]) # Authentication setting auth_settings = [] return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='ApiResultPublicDataset', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only')) def report_get_report(self, id, **kwargs): """ Get report data for specified report identificator. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.report_get_report(id, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str id: ReportId (required) :return: ApiResultReport If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): return self.report_get_report_with_http_info(id, **kwargs) else: (data) = self.report_get_report_with_http_info(id, **kwargs) return data def report_get_report_with_http_info(self, id, **kwargs): """ Get report data for specified report identificator. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.report_get_report_with_http_info(id, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str id: ReportId (required) :return: ApiResultReport If the method is called asynchronously, returns the request thread. """ all_params = ['id'] all_params.append('callback') all_params.append('_return_http_data_only') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method report_get_report" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'id' is set if ('id' not in params) or (params['id'] is None): raise ValueError("Missing the required parameter `id` when calling `report_get_report`") resource_path = '/api/v1/report/{id}'.replace('{format}', 'json') path_params = {} if 'id' in params: path_params['id'] = params['id'] query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type([]) # Authentication setting auth_settings = ['oauth2'] return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='ApiResultReport', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only')) def report_get_report_list(self, **kwargs): """ List of all reports This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.report_get_report_list(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: ApiResultReportList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): return self.report_get_report_list_with_http_info(**kwargs) else: (data) = self.report_get_report_list_with_http_info(**kwargs) return data def report_get_report_list_with_http_info(self, **kwargs): """ List of all reports This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.report_get_report_list_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: ApiResultReportList If the method is called asynchronously, returns the request thread. """ all_params = [] all_params.append('callback') all_params.append('_return_http_data_only') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method report_get_report_list" % key ) params[key] = val del params['kwargs'] resource_path = '/api/v1/reports'.replace('{format}', 'json') path_params = {} query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type([]) # Authentication setting auth_settings = ['oauth2'] return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='ApiResultReportList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'))
41.714868
174
0.587736
2,217
20,482
5.210194
0.117727
0.055406
0.019392
0.024933
0.850835
0.823392
0.810406
0.786079
0.773959
0.744091
0
0.004894
0.331608
20,482
490
175
41.8
0.83886
0.342008
0
0.628319
1
0.017699
0.218093
0.05174
0
0
0
0
0
1
0.039823
false
0
0.030973
0
0.128319
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
27c3a31d9d386f10abe03309f550181188bbd49c
120
py
Python
src/DeepMatter/__init__.py
m3-learning/DeepMatter
54828a7972bf7912b848b0682b4e4452daa078cb
[ "BSD-3-Clause" ]
2
2021-06-13T21:47:37.000Z
2021-06-15T03:24:24.000Z
src/DeepMatter/__init__.py
m3-learning/DeepMatter
54828a7972bf7912b848b0682b4e4452daa078cb
[ "BSD-3-Clause" ]
null
null
null
src/DeepMatter/__init__.py
m3-learning/DeepMatter
54828a7972bf7912b848b0682b4e4452daa078cb
[ "BSD-3-Clause" ]
null
null
null
from . import rand_util from . import spectral_fitters from . import util from . import Autoencoders from . import viz
17.142857
30
0.783333
17
120
5.411765
0.470588
0.543478
0.304348
0
0
0
0
0
0
0
0
0
0.175
120
6
31
20
0.929293
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
fd8b0ffd06c16a78216796070016cd77b6e75b00
87,951
py
Python
keisan_mondai v2.4.2.py
Mirin0302/keisan_mondai
e100a18b68a44f5f2ccc903f7a0d9707b83733de
[ "MIT" ]
null
null
null
keisan_mondai v2.4.2.py
Mirin0302/keisan_mondai
e100a18b68a44f5f2ccc903f7a0d9707b83733de
[ "MIT" ]
null
null
null
keisan_mondai v2.4.2.py
Mirin0302/keisan_mondai
e100a18b68a44f5f2ccc903f7a0d9707b83733de
[ "MIT" ]
null
null
null
# coding: utf-8 print('アプリ名:keisan_mondai.py バージョン:v2.4.2') print('このアプリは、全部で25問の計算問題があります') print('途中から凄く難しくなりますが、頑張ってください!') print('裏モードもあります! 問題は変わりませんが、おまけ機能なので、裏モードを探してみてください!') print('このアプリは、Python 2.7.12で動作を確認しています') print('このアプリのライセンスは、MITライセンスにてオープンソースで公開されています') print('MITライセンス日本語訳 https://ja.osdn.net/projects/opensource/wiki/licenses%2FMIT_license') print('keisan_mondai.py GitHub https://github.com/Mirin0302/keisan_mondai') print('') start = raw_input('始めるにはEnterを押してください: ') if start == 'ura': point = input('[裏モード]正解するごとにもらえるポイントの点数を設定してください: ') name = raw_input('あなたの名前を教えてください: ') quiz_number = 1 quiz = input('第' + str(quiz_number) + '問 1+1の答えは何ですか?: ') if quiz == 2: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 2 quiz = input('第' + str(quiz_number) + '問 7+8の答えは何ですか?: ') if quiz == 15: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 3 quiz = input('第' + str(quiz_number) + '問 17+19の答えは何ですか?: ') if quiz == 36: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 4 quiz = input('第' + str(quiz_number) + '問 29+32の答えは何ですか?: ') if quiz == 61: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 5 quiz = input('第' + str(quiz_number) + '問 48+79の答えは何ですか?: ') if quiz == 127: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 6 quiz = input('第' + str(quiz_number) + '問 86+63の答えは何ですか?: ') if quiz == 149: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 7 quiz = input('第' + str(quiz_number) + '問 108+157の答えは何ですか?: ') if quiz == 265: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 8 quiz = input('第' + str(quiz_number) + '問 264+548の答えは何ですか?: ') if quiz == 812: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 9 quiz = input('第' + str(quiz_number) + '問 1086+249の答えは何ですか?: ') if quiz == 1335: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 10 quiz = input('第' + str(quiz_number) + '問 2015+1894の答えは何ですか?: ') if quiz == 3909: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 11 quiz = input('第' + str(quiz_number) + '問 4098+4876の答えは何ですか?: ') if quiz == 8974: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 12 quiz = input('第' + str(quiz_number) + '問 1×6の答えは何ですか?: ') if quiz == 6: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 13 quiz = input('第' + str(quiz_number) + '問 10×9の答えは何ですか?: ') if quiz == 90: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 14 quiz = input('第' + str(quiz_number) + '問 10×0×7の答えは何ですか?: ') if quiz == 0: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 15 quiz = input('第' + str(quiz_number) + '問 9×8×6の答えは何ですか?: ') if quiz == 432: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 16 quiz = input('第' + str(quiz_number) + '問 16×9×14の答えは何ですか?: ') if quiz == 2016: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 17 quiz = input('第' + str(quiz_number) + '問 24×18×65の答えは何ですか?: ') if quiz == 28080: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 18 quiz = input('第' + str(quiz_number) + '問 2048÷4の答えは何ですか? ') if quiz == 512: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 19 quiz = input('第' + str(quiz_number) + '問 16÷0.04の答えは何ですか? ') if quiz == 400: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 20 quiz = input('第' + str(quiz_number) + '問 0.04÷200の答えは何ですか? ') if quiz == 0.0002: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 21 quiz = input('第' + str(quiz_number) + '問 1597÷8の答えは何ですか? 小数第3位まで答えてください ') if quiz == 199.625: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 22 quiz = input('第' + str(quiz_number) + '問 1873-672の答えは何ですか? ') if quiz == 1201: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 23 quiz = input('第' + str(quiz_number) + '問 487-589の答えは何ですか? ') if quiz == -102: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 24 quiz = input('第' + str(quiz_number) + '問 5674-2653の答えは何ですか? ') if quiz == 3021: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 24 quiz = input('第' + str(quiz_number) + '問 426×8-5072の答えは何ですか? ') if quiz == -1664: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 25 quiz = input('第' + str(quiz_number) + '問 789×256-104689+458×9の答えは何ですか? ') if quiz == 879777: print('') print('------------------------------------') print('正解です!') print('ゲーム終了!!!') print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: point = 1 name = raw_input('あなたの名前を教えてください: ') quiz_number = 1 quiz = input('第' + str(quiz_number) + '問 1+1の答えは何ですか?: ') if quiz == 2: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 2 quiz = input('第' + str(quiz_number) + '問 7+8の答えは何ですか?: ') if quiz == 15: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 3 quiz = input('第' + str(quiz_number) + '問 17+19の答えは何ですか?: ') if quiz == 36: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 4 quiz = input('第' + str(quiz_number) + '問 29+32の答えは何ですか?: ') if quiz == 61: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 5 quiz = input('第' + str(quiz_number) + '問 48+79の答えは何ですか?: ') if quiz == 127: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 6 quiz = input('第' + str(quiz_number) + '問 86+63の答えは何ですか?: ') if quiz == 149: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 7 quiz = input('第' + str(quiz_number) + '問 108+157の答えは何ですか?: ') if quiz == 265: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 8 quiz = input('第' + str(quiz_number) + '問 264+548の答えは何ですか?: ') if quiz == 812: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 9 quiz = input('第' + str(quiz_number) + '問 1086+249の答えは何ですか?: ') if quiz == 1335: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 10 quiz = input('第' + str(quiz_number) + '問 2015+1894の答えは何ですか?: ') if quiz == 3909: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 11 quiz = input('第' + str(quiz_number) + '問 4098+4876の答えは何ですか?: ') if quiz == 8974: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 12 quiz = input('第' + str(quiz_number) + '問 1×6の答えは何ですか?: ') if quiz == 6: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 13 quiz = input('第' + str(quiz_number) + '問 10×9の答えは何ですか?: ') if quiz == 90: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 14 quiz = input('第' + str(quiz_number) + '問 10×0×7の答えは何ですか?: ') if quiz == 0: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 15 quiz = input('第' + str(quiz_number) + '問 9×8×6の答えは何ですか?: ') if quiz == 432: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 16 quiz = input('第' + str(quiz_number) + '問 16×9×14の答えは何ですか?: ') if quiz == 2016: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 17 quiz = input('第' + str(quiz_number) + '問 24×18×65の答えは何ですか?: ') if quiz == 28080: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 18 quiz = input('第' + str(quiz_number) + '問 2048÷4の答えは何ですか? ') if quiz == 512: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 19 quiz = input('第' + str(quiz_number) + '問 16÷0.04の答えは何ですか? ') if quiz == 400: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 20 quiz = input('第' + str(quiz_number) + '問 0.04÷200の答えは何ですか? ') if quiz == 0.0002: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 21 quiz = input('第' + str(quiz_number) + '問 1597÷8の答えは何ですか? 小数第3位まで答えてください ') if quiz == 199.625: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 22 quiz = input('第' + str(quiz_number) + '問 1873-672の答えは何ですか? ') if quiz == 1201: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 23 quiz = input('第' + str(quiz_number) + '問 487-589の答えは何ですか? ') if quiz == -102: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 24 quiz = input('第' + str(quiz_number) + '問 5674-2653の答えは何ですか? ') if quiz == 3021: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 24 quiz = input('第' + str(quiz_number) + '問 426×8-5072の答えは何ですか? ') if quiz == -1664: print('') print('------------------------------------') print('正解です!') print(str(name) + 'さんの現在のポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') quiz_number = 25 quiz = input('第' + str(quiz_number) + '問 789×256-104689+458×9の答えは何ですか? ') if quiz == 879777: print('') print('------------------------------------') print('正解です!') print('ゲーム終了!!!') print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number * point)) + '点です!') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('') else: print('') print('------------------------------------') print('違います!') quiz_number_result = quiz_number - 1 print(str(name) + 'さんの最終的なポイントは、' + str(int(quiz_number_result * point)) + '点です') print('終了します') print('------------------------------------') print('')
70.928226
189
0.163864
3,106
87,951
4.51481
0.049903
0.222492
0.111246
0.118662
0.968409
0.968409
0.968409
0.968409
0.968409
0.968409
0
0.022464
0.689225
87,951
1,239
190
70.985472
0.489335
0.000148
0
0.987421
0
0
0.130584
0.087814
0
0
0
0
0
1
0
false
0
0
0
0
0.720126
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
11
fd91ba38307827ff25ab94eb2796a48fd4acb8a2
91
py
Python
aiohttp_retry/__init__.py
kz159/aiohttp_retry
f18327f2b5c691d46a80702c58f0d8f25d2b51f3
[ "MIT" ]
107
2020-01-06T09:22:52.000Z
2022-03-30T05:22:59.000Z
aiohttp_retry/__init__.py
kz159/aiohttp_retry
f18327f2b5c691d46a80702c58f0d8f25d2b51f3
[ "MIT" ]
48
2020-02-13T15:16:43.000Z
2022-03-10T11:41:53.000Z
aiohttp_retry/__init__.py
kz159/aiohttp_retry
f18327f2b5c691d46a80702c58f0d8f25d2b51f3
[ "MIT" ]
17
2020-01-20T19:36:39.000Z
2022-02-01T23:34:41.000Z
from .client import * # noqa: F401, F403 from .retry_options import * # noqa: F401, F403
30.333333
48
0.692308
13
91
4.769231
0.615385
0.322581
0.451613
0.580645
0
0
0
0
0
0
0
0.164384
0.197802
91
2
49
45.5
0.684932
0.362637
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
fd96e838330bdda51df5528aa340c8c781e9cd57
159
py
Python
segnlp/metrics/__init__.py
AxlAlm/SegNLP
89b8d077952397dfcea089376b373b117bcf6a65
[ "Apache-2.0" ]
1
2021-01-21T17:16:55.000Z
2021-01-21T17:16:55.000Z
segnlp/metrics/__init__.py
AxlAlm/SegNLP
89b8d077952397dfcea089376b373b117bcf6a65
[ "Apache-2.0" ]
2
2021-01-24T20:07:54.000Z
2021-01-26T16:59:28.000Z
segnlp/metrics/__init__.py
AxlAlm/SegNLP
89b8d077952397dfcea089376b373b117bcf6a65
[ "Apache-2.0" ]
1
2021-01-21T17:16:57.000Z
2021-01-21T17:16:57.000Z
from .overlap_metric import overlap_metric from .default_segment_metric import default_segment_metric from .default_token_metric import default_token_metric
26.5
58
0.893082
22
159
6
0.318182
0.272727
0.257576
0
0
0
0
0
0
0
0
0
0.08805
159
5
59
31.8
0.910345
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
fdb3170b272537751036783f2b81d12563e36971
239
py
Python
src/compas_fea/fea/ansys/writing/__init__.py
franaudo/fea
e164256bac179116520d19d6fc54c98de0610896
[ "MIT" ]
28
2018-02-16T17:21:47.000Z
2022-02-27T21:42:17.000Z
src/compas_fea/fea/ansys/writing/__init__.py
franaudo/fea
e164256bac179116520d19d6fc54c98de0610896
[ "MIT" ]
115
2017-11-30T17:12:47.000Z
2022-01-26T07:41:34.000Z
src/compas_fea/fea/ansys/writing/__init__.py
franaudo/fea
e164256bac179116520d19d6fc54c98de0610896
[ "MIT" ]
13
2018-05-08T13:03:28.000Z
2022-01-23T13:37:06.000Z
from .ansys_process import * # noqa: F401 F403 from .ansys_static import * # noqa: F401 F403 from .ansys_modal import * # noqa: F401 F403 from .ansys_harmonic import * # noqa: F401 F403 from .ansys_acoustic import * # noqa: F401 F403
39.833333
48
0.728033
35
239
4.828571
0.314286
0.266272
0.414201
0.532544
0.639053
0.639053
0
0
0
0
0
0.154639
0.188285
239
5
49
47.8
0.716495
0.330544
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
a90012b3136b73593bd7de6c8a28cb61bf862cab
184
py
Python
mammoth/styles/__init__.py
cockcrow/python-mammoth
f05ae0c7ec6e4faee6267d3b05e3aabce3a2cbb2
[ "BSD-2-Clause" ]
557
2015-01-19T20:06:31.000Z
2022-03-27T16:13:42.000Z
mammoth/styles/__init__.py
cockcrow/python-mammoth
f05ae0c7ec6e4faee6267d3b05e3aabce3a2cbb2
[ "BSD-2-Clause" ]
111
2015-03-27T13:57:05.000Z
2022-03-09T21:06:51.000Z
mammoth/styles/__init__.py
cockcrow/python-mammoth
f05ae0c7ec6e4faee6267d3b05e3aabce3a2cbb2
[ "BSD-2-Clause" ]
111
2015-03-26T11:47:23.000Z
2022-03-26T17:12:50.000Z
import collections def style(document_matcher, html_path): return Style(document_matcher, html_path) Style = collections.namedtuple("Style", ["document_matcher", "html_path"])
20.444444
74
0.771739
22
184
6.181818
0.454545
0.286765
0.441176
0.529412
0.617647
0
0
0
0
0
0
0
0.11413
184
8
75
23
0.834356
0
0
0
0
0
0.163043
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
e31502ae55f4e0ddd97ab0bbdf59afbce41feb42
12,847
py
Python
tests/text_data.py
rofferom/seiken_densetsu_3
8d5ba61da90df277b8e19cd86ccf475ed5d78da6
[ "MIT" ]
5
2017-12-06T21:39:58.000Z
2019-08-09T13:06:03.000Z
tests/text_data.py
rofferom/seiken_densetsu_3
8d5ba61da90df277b8e19cd86ccf475ed5d78da6
[ "MIT" ]
1
2018-02-24T13:22:55.000Z
2018-02-24T13:22:55.000Z
tests/text_data.py
rofferom/seiken_densetsu_3
8d5ba61da90df277b8e19cd86ccf475ed5d78da6
[ "MIT" ]
null
null
null
decode_idx = 0x350 decode_dump = {3678208: bytearray(b'\xba '), 3708928: bytearray(b'\xda\xaf\xc2\xb2\xc2\xb5J\xb8'), 3713090: bytearray(b'\xfe\xe0'), 3715030: bytearray(b'b\xfa'), 3721927: bytearray(b'\xd6u\xab\xb6\x00s'), 3712264: bytearray(b'e\xd9'), 3710608: bytearray(b'.\xca'), 3729660: bytearray(b'd\x7f\xe5\xe0'), 3711958: bytearray(b'\xbb\xd6'), 3678394: bytearray(b'CY\x01\x00%VRe\xb4\xa0i\x96\x9eJF\xa9l\xf6`nVSif\x89l\x06Qk\xc6=n\xa6\x14g\xf6\x9dm\xc4KkV\xf7Efji\xa6Nm6\x81m\x96Ef\xf6\xc5l\xb6\xd7nvkn\xb4\x10a\x864jv\xe9k6\xfaa\xe6%d\xd6\xaef\x16\xb0af\xfb%\x96(k\xa6Dm\xa4fgv\xddg\x16\xd4O\x168g&-n\x06*d\x86\x9fn\x14\x07c\xc6\xcdfv\xe8n\xd6\xf9A\xc6)i6$b\xb6;k\xf6\x13i&vi\x84\x03c\x96\xe4c\x063a&Cb\xe6ZE\xe6ij\xd6]m&Wg\x06:o\xc4\x01E\xf6\x0eb$d%\x86\x8elF\x06n6&c\x16\x1d\x87\xa8\xb9b\xc6\xe2lv\xf3h\x88\x9c\x8a\xc6\xbeoF\x08gF\no\x86>\x89\x18\xc8b\xf6\xc9`\xb6\xd0k\xd6\xf5@F!k&Pn\xe6\x87od\x02dvb@\xf62g\xb6\x1fg\x86\x83o\xe4@bv\xff\x83h\x8c\x88(\x9b\x8a\xb8\xb6\x8bx\xc2\x85\xc8\x94\x8ch\xd6\x86X\xd5\x84h\xe6d\xa87\x86\xe8\xaa\x8b\x18\x8f\x8c\x18A\x878\x1a\x8d\x86Oo$\x80`\xd8\xb8\x8e\xf6\x17\x828\xded\xc6\xf0EHy\x89X\xa8\x8c\xc6\t\x8b\xb8\xcea\x18c\x8f\xd4h\x81X\x8a\x81\xb8\xa3`X\x86\x8aXB\x87\xd8u\x8a\xf6I\x86\xd8\x90`\xc8\xa1\x8d\xb6\xa2\x83X\xd1\x87\xe8\x8d\x88X\xecb\x06\xa6\x88H\x97\x88\xb8\xb4f\xc8\x19\x8c\xa8|\x8c8?\x8d\xf1\x00\x00C'), 3715034: bytearray(b'\x00\xf7\x00\x97\x00?\xf4\x00\x00#\x00\t\x00\x06\xf1\x00\xf1\x00\xf1\x00\xf1\x00\xf1\x00\xf1\xf2\xf2\x00\xf2\xf3\x00\x17\xf2\x00\xf2\x00\x00\x0e\xf1\x00\x00\x01\xf0\xf1\xf1\x00\x00\x02\xf0\x00\xf0\xf1\x00\x04\xf0\x00\x00\x01\xef\xf0\xf0\xf1\xf1\x00\xf1\xf2\x00\x01\xf1\xf2\x00\x01\xf1\xf2\xf2\x00\xf2\xf3\xf3\xf4\x00\x05\x00\x01\xf2\xf3\xf3\x00\xf3\x00\xf3\xf4\x00\x01\xf3\xf4\x00\x07\xf3\x00\x00\x04\xf2\x00\xf2\x00\xf2\x00\xf2\xf3\xf3\xf4\xf4\x00\x00\x02\xf3\x00\xf3\xf4\x00\x01\xf3\xf4\xf4\x00\xf4\x00\xf4\x00\xf4\xf5\x00,\x00\x04\xf3\x00\xf3\x00\xf3\x00\xf3\xf4\x00\x0b\x00\x07\xf2\x00\xf2\x00\x00\x01\xf1\xf2\xf2\x00\xf2\x00\xf2\xf3\xf3\x00\xf3\x00\xf3\xf4\x00\x0e\xf3\x00\x00\n\xf2\x00\xf2\x00\x00\x06\xf1\x00\xf1\x00\xf1\x00\xf1\x00\xf1\x00\xf1\xf2\xf2\xf3\xf3\x00\xf3\xf4\x00\n\xf3\x00\xf3\x00\x00\x02\xf2\x00\xf2\xf3\xf3\x00\xf3\x00\xf3\x00\xf3\x00\xf3\xf4\xf4\xf5\x00\x1d\x00\x0c\xf3\x00\xf3\x00\x00\x01\xf2\xf3\xf3\x00\xf3\x00\x00\x04\xf2\x00\xf2\x00\xf2\x00\xf2\xf3\xf3\xf4\xf4\x00\x00\r\xf3\x00\x00\x03\xf2\x00\xf2\x00\xf2\xf3\x00\x01\xf2\xf3\xf3\x00\xf3\x00\xf3\x00\xf3\x00\xf3\x00\xf3\xf4\xf4\xf5\x00\x03\xf4\x00\xf4\x00\xf4\xf5\x00\x01\xf4\xf5\xf5\x00\xf5\x00\xf5\x00\x00\x01\xf4\xf5\xf5\xf6\x003\x00 \x00\x0e\xf3\x00\xf3\x00\xf3\x00\xf3\x00\x00\x08\xf2\x00\xf2\x00\xf2\x00\xf2\x00\x00\x01\xf1\xf2\xf2\x00\xf2\xf3\xf3\xf4\xf4\x00\x00\r\xf3\x00\x00\x02\xf2\x00\xf2\xf3\x00\x04\xf2\x00\xf2\x00\xf2\x00\xf2\xf3\xf3\x00\xf3\x00\xf3\x00\xf3\xf4\xf4\x00\xf4\xf5\x00\x0e\xf4\x00\xf4\x00\x00\x08\xf3\x00\xf3\x00\xf3\x00\xf3\x00\xf3\x00\xf3\x00\xf3\x00\xf3\xf4\xf4\x00\xf4\x00\xf4\xf5\x00\x01\xf4\xf5\xf5\xf6\x00\x17\x00\x06\xf4\x00\xf4\x00\xf4\x00\xf4\x00\xf4\x00\xf4\xf5\x00\r\xf4\x00\xf4\x00\xf4\x00\x00\x01\xf3\xf4\x00\x01\xf3\xf4\xf4\x00\x00\x02\xf3\x00\xf3\xf4\xf4\x00\xf4\xf5\xf5\x00\xf5\xf6\x00\x08\x00\x05\xf4\x00\xf4\x00\xf4\x00\xf4\x00\xf4\xf5\xf5\x00\xf5\xf6\x00\x07\xf5\x00\xf5\x00\xf5\x00\x00\x02\xf4\x00\xf4\xf5\xf5\xf6\xf6\x00\xf6\xf7\x01\x07\xd3\xb0\xd138\xcd\x9d\xdd\xae\xa5\xda\x9a\xb5^\xe4D\xf8WI"[*&KUG\xde)\xdbg\xb4z\xb3;|\r\xf7\xa8\xaa\xc3\x16\x92\xa1\x87\xea@6xf\xdf\xbb\x06\xd8]\xb11d\x95cbk\xbc\x00!\xfa\xa6\x8d\x0c\x8f\xd9\xc2\x99a\xa37\xa7\xbf\xa9\xca\x10\xe8\xe0o\xf9NC~-,n\xd7\x9e\xc5\x14\x05\xfc\xccpm\xe1i/LyZ\xcb?\x04\\\xc6\xa0\x8c\xf4<\xb2vTO_4\x80\xc0\x9b`\xba\xaf\xc8:sl5\xd5$Q\'\xe7\x85 \x98\t\x89\xac\xab\xed\x8b\x96e\xc92\xb7\x0f\x8a\x08\xbd\xeerEhqjR#Y\xf6({\xa4\xfe\xf5\xcf\xd6\x15\xbew\x1aMtH9V\x82\xf3\x90\x02\x81\xb6\xe9\x9f\xb8\xb9AS\xeb\x1b\xfb\xc4\xef\xd0\x0e\x93\x84\x8e\x97\x18\x83\xd2\xce%\xe2\x94\x7f\xa2\xf0\xd4\xff\xf2\xdcuXFB\xe3.\x03\xec\x19\xad\x12\xe6\xc1\x13\xfd\x91\x86\x11\x17\x0b\xe5\xf1\xc70P\x9c}\n\x88\x00\xff\x00o\x008\x00\x1a\x00\x07\xfa\x00\x00\x02\xf9\x00\xf9\xfa\x00\x01\xf9\xfa\xfa\xfb\x00\x08\x00\x04\x00\x02\xf8\x00\xf8\xf9\xf9\xfa\x00\x01\xf9\xfa\xfa\xfb\x00\x04\x00\x02\xf9\x00\xf9\xfa\xfa\xfb\x00\x02\xfa\x00\xfa\xfb\xfb\xfc\x00\x0e\x00\x07\x00\x02\xf9\x00\xf9\xfa\x00\x02\xf9\x00\xf9\xfa\xfa\xfb\x00\x01\xfa\xfb\x00\x01\xfa\xfb\xfb\x00\xfb\xfc\x00\x06\x00\x02\xfa\x00\xfa\xfb\x00\x01\xfa\xfb\xfb\xfc\x00\x02\xfb\x00\xfb\xfc\x00\x02\xfb\x00\xfb\xfc\xfc\xfd\x00\x15\x00\x0b\x00\x03\xfa\x00\xfa\x00\xfa\xfb\x00\x03\x00\x01\xf9\xfa\xfa\xfb\x00\x01\xfa\xfb\xfb\xfc\x00\x03\xfb\x00\xfb\x00\xfb\xfc\x00\x01\xfb\xfc\x00\x01\xfb\xfc\xfc\xfd\x00\x11\x00\x07\x00\x02\xfa\x00\xfa\xfb\x00\x02\xfa\x00\xfa\xfb\xfb\xfc\x00\x04\x00\x02\xfa\x00\xfa\xfb\xfb\xfc\x00\x02\xfb\x00\xfb\xfc\xfc\xfd\x00\x06\x00\x02\xfb\x00\xfb\xfc\xfc\x00\xfc\x00\xfc\xfd\x00\x03\xfc\x00\xfc\x00\xfc\xfd\x00\x01\xfc\xfd\xfd\xfe\x00D\x00 \x00\n\xfb\x00\x00\x03\xfa\x00\xfa\x00\xfa\xfb\x00\x01\xfa\xfb\x00\x01\xfa\xfb\xfb\xfc\x00\x0b\x00\x05\xfa\x00\x00\x01\xf9\xfa\xfa\x00\xfa\xfb\x00\x02\xfa\x00\xfa\xfb\xfb\x00\xfb\xfc\x00\x04\x00\x02\xfa\x00\xfa\xfb\xfb\xfc\x00\x01\xfb\xfc\xfc\x00\xfc\xfd\x00\x12\x00\x08\x00\x04\xfa\x00\x00\x01\xf9\xfa\xfa\xfb\xfb\x00\xfb\x00\xfb\xfc\x00\x03\xfb\x00\xfb\x00\xfb\xfc\x00\x02\xfb\x00\xfb\xfc\xfc\x00\xfc\xfd\x00\x07\x00\x03\xfb\x00\xfb\x00\xfb\xfc\xfc\x00\xfc\x00\xfc\xfd\x00\x04\xfc\x00\x00\x01\xfb\xfc\xfc\xfd\x00\x01\xfc\xfd\xfd\xfe\x00\x1f\x00\x0f\x00\x06\x00\x03\xfa\x00\xfa\x00\xfa\xfb\xfb\x00\xfb\xfc\x00\x03\xfb\x00\xfb\x00\xfb\xfc\x00\x01\xfb\xfc\xfc\x00\xfc\xfd\x00\x06\x00\x02\xfb\x00\xfb\xfc\xfc\x00\xfc\x00\xfc\xfd\x00\x04\x00\x01\xfb\xfc\xfc\x00\xfc\xfd\x00\x01\xfc\xfd\xfd\xfe\x00\x15\x00\x08\x00\x03\xfb\x00\xfb\x00\xfb\xfc\x00\x01\xfb\xfc\xfc\x00\xfc\xfd\x00\x04\x00\x01\xfb\xfc\xfc\x00\xfc\xfd\x00\x03\x00\x01\xfb\xfc\xfc\xfd\x00\x01\xfc\xfd\xfd\xfe\x00\t\x00\x02\xfc\x00\xfc\xfd\x00\x02\xfc\x00\xfc\xfd\x00\x01\xfc\xfd\xfd\xfe\x00\x05\x00\x02\xfc\x00\xfc\xfd\xfd\x00\xfd\xfe\x00\x02\xfd\x00\xfd\xfe\xfe\xff \x0e\x1f~cl\x96\x8aE\xe4\xd8gpUP\x9bG^\xbe\xc8\xb62\x85\x18\xdaK\xf18?=a\xcc\xc9;\x8b\'3\xc7\x8f\\\xd4\xd2/\x08Jriz\xb5H\x1c\xc5\x16\x97\xd0\xafu$-\xad\x81\xc6\xa8\x9ew\xb3\xd9W\x9a\x0f\x89d\xde74\x92t\x8865\x8ef\n\xca\xa2\xa7\xc1m\xfb\xfa\x98\x1e\x7f\xe8\x1av\xed.\xff\xe6\xf7]\x9c\xdd\x11\x99\xce\xfd\x8d\xe7j\xc2\x00\x07\xf3q\xe2_\t\xb7\x15\xaeN"\xac\x94\xb4\xe5\xd3\x02\xd1\xcf<\xab\xdf\xf0\xf2\xaa{\xf5\x06\x12)\xebs(\xf9\xe0\xd5\xb0#e\xa4\xe1%\xf6\xd6\x17B\xbf\xd7\xbc\xcb\x86Z,\x84h!>\xa6\x80\x0b\xf8\xb1\xa9\x8c\x1d:T\x1bQb\xbb\xa5\x03\xdc9&I\x9f\x95\x90\x04S\x82\r*xX\x10\xea\xa3\xa1L`Y\x87\xb8\x93\x05ko\x01O\xb2}n10|\x9dV\x14\xcd\xef\xfc\xe3\xbaA\xec\xc3C\xe9\x19RF\xf4[\xfe\xc0\x91\x83\xb9\xa0D\xdb+@\xee\x0c\xbd\xc4y\x13M\x00\xd7\x00\x1f\xd5\x00\xd5\x00\x00\x12\x00\x10\xd3\x00\x00\x01\xd2\xd3\x00\x05\x00\x01\xd1\xd2\x00\x01\xd1\xd2\xd2\xd3\x00\x02\xd2\x00\xd2\xd3\x00\x01\xd2\xd3\xd3\x00\xd3\xd4\xd4\xd5\x00\x02\xd4\x00\xd4\xd5\x00\x02\xd4\x00\xd4\xd5\xd5\x00\xd5\x00\xd5\x00\xd5\xd6\x00a\x00F\x005\xd3\x00\x00\r\xd2\x00\x00\x07\xd1\x00\xd1\x00\x00\x03\xd0\x00\xd0\x00\xd0\xd1\xd1\xd2\xd2\x00\xd2\x00\xd2\x00\xd2\xd3\x00\x02\xd2\x00\xd2\xd3\x00\x13\xd2\x00\x00\x06\x00\x01\xd0\xd1\x00\x02\xd0\x00\xd0\xd1\xd1\xd2\x00\x04\xd1\x00\x00\x01\xd0\xd1\xd1\xd2\x00\x02\xd1\x00\xd1\xd2\x00\x01\xd1\xd2\xd2\xd3\x00\x07\xd2\x00\x00\x02\xd1\x00\xd1\xd2\xd2\x00\xd2\x00\xd2\xd3\x00\x04\xd2\x00\xd2\x00\xd2\x00\xd2\xd3\xd3\x00\xd3\xd4\x00\x06\xd3\x00\xd3\x00\xd3\x00\x00\x01\xd2\xd3\xd3\xd4\x00\x02\xd3\x00\xd3\xd4\xd4\x00\x00\x01\xd3\xd4\xd4\x00\xd4\x00\xd4\xd5\x00\r\x00\x02\xd3\x00\xd3\xd4\x00\x08\xd3\x00\x00\x03\xd2\x00\xd2\x00\xd2\xd3\xd3\x00\xd3\x00\xd3\xd4\xd4\xd5\x00\x06\x00\x04\xd3\x00\x00\x01\xd2\xd3\xd3\xd4\xd4\xd5\x00\x01\xd4\xd5\x00\x01\xd4\xd5\xd5\xd6\x00.\x00\x1f\x00\x08\xd3\x00\x00\x04\xd2\x00\xd2\x00\xd2\x00\xd2\xd3\xd3\x00\xd3\xd4\x00\x01\xd3\xd4\xd4\x00\x00\x06\x00\x03\xd2\x00\xd2\x00\xd2\xd3\xd3\x00\xd3\xd4\x00\x04\x00\x01\xd2\xd3\xd3\x00\xd3\xd4\x00\x03\xd3\x00\xd3\x00\xd3\xd4\x00\x01\xd3\xd4\xd4\xd5\x00\x03\xd4\x00\xd4\x00\xd4\xd5\x00\x08\xd4\x00\x00\x01\xd3\xd4\x00\x02\xd3\x00\xd3\xd4\xd4\x00\xd4\xd5\xd5\xd6\x00\x12\x00\x04\xd4\x00\x00\x01\xd3\xd4\xd4\xd5\x00\x01\xd4\xd5\x00\x04\xd4\x00\xd4\x00\xd4\x00\xd4\xd5\xd5\x00\xd5\x00\xd5\x00\xd5\x00\xd5\x00\xd5\xd6\x00\x0b\xd5\x00\xd5\x00\xd5\x00\xd5\x00\x00\x04\xd4\x00\xd4\x00\xd4\x00\xd4\xd5\xd5\x00\xd5\xd6\x00\x01\xd5\xd6\xd6\x00\x00\x01\xd5\xd6\xd6\x00\xd6\xd7\x00\x01\x8e\xbf\xaa\xd8\xcc\xf2\xd7i\x11:\xafco3l\x1b\xd5\xad\x0c\x81\x86\x92\xec\xc0\x8d\xa8\xe5%\x9a\xd4\x0f\x17\xe6\xf6L\xffR"^\xa3\x08\xd1\xbe2\xba\x87\x8c\xc6\xa9\xb9g4.b/\xb3a9wvm8O\xf8h\xb5f\xb2d\xcdBAxu\xe4y\xc8\xee\x95X$\xe0SM\x10\xfa\xcb\xf0s\xc5\xbb\xed\xae|\xf7\x96\xfc\xa2\xc2te\x02\x7f\xa5\x9d\xa0(\x9b<\xda\xf1\xd01\n\r\x19\xe9\xe8\x05\x16\xab\x98\xa7\x83\xd2\xa6\x82\x18\x0e\t\xd3\xbd\xde\xdc\x8b\xca\xc3\x07\\;0\x9c\xb4]\xce\xd6\xc9\xfd\xf4\x99E\xef\xdfP_V@\x14\xc7n\x80\x8a\x8f\xa4\x04?\xfb\xea)\xfe\xc4p\xb8}\x91\x97\xe7\x89\x85\x03\x93\xac\x88\xb6\xb0\xd9\xcf\x0b\xf3\xc1`\xf55\xb1{\x94\xa1\xdd\xe2\x9fH-Y\xe1r\x13\x84 !\x12\x06\x90\xb7\x9e\x00\xff\x00`\x00\'\x00\x13\x00\x06\xfa\x00\x00\x01\xf9\xfa\x00\x01\xf9\xfa\xfa\xfb\x00\x06\x00\x02\xf9\x00\xf9\xfa\x00\x01\xf9\xfa\xfa\xfb\x00\x02\xfa\x00\xfa\xfb\xfb\x00\xfb\xfc\x00\x07\x00\x02\xfa\x00\xfa\xfb\x00\x02\xfa\x00\xfa\xfb\xfb\xfc\x00\x05\x00\x01\xfa\xfb\xfb\x00\xfb\x00\xfb\xfc\x00\x02\xfb\x00\xfb\xfc\xfc\x00\xfc\xfd\x00\x16\x00\x0b\x00\x04\xfa\x00\x00\x01\xf9\xfa\xfa\xfb\x00\x02\xfa\x00\xfa\xfb\x00\x01\xfa\xfb\xfb\xfc\x00\x04\xfb\x00\x00\x01\xfa\xfb\xfb\xfc\x00\x02\xfb\x00\xfb\xfc\xfc\x00\xfc\xfd\x00\r\x00\x06\xfb\x00\x00\x02\xfa\x00\xfa\xfb\xfb\x00\xfb\xfc\x00\x01\xfb\xfc\xfc\x00\xfc\x00\xfc\x00\xfc\xfd\x00\x07\xfc\x00\x00\x04\xfb\x00\xfb\x00\xfb\x00\xfb\xfc\xfc\xfd\x00\x06\x00\x02\xfb\x00\xfb\xfc\x00\x01\xfb\xfc\xfc\xfd\x00\x02\xfc\x00\xfc\xfd\xfd\xfe\x00J\x00\x1d\x00\x0e\x00\x04\x00\x02\xf9\x00\xf9\xfa\xfa\xfb\x00\x03\x00\x01\xf9\xfa\xfa\xfb\x00\x02\xfa\x00\xfa\xfb\xfb\x00\xfb\xfc\x00\t\x00\x03\xfa\x00\xfa\x00\xfa\xfb\x00\x02\xfa\x00\xfa\xfb\xfb\x00\xfb\xfc\x00\x01\xfb\xfc\xfc\x00\xfc\xfd\x00\x11\x00\n\x00\x04\xfa\x00\xfa\x00\xfa\x00\xfa\xfb\x00\x03\xfa\x00\xfa\x00\xfa\xfb\xfb\xfc\x00\x01\xfb\xfc\x00\x02\xfb\x00\xfb\xfc\xfc\xfd\x00\x0e\x00\x05\xfb\x00\x00\x02\xfa\x00\xfa\xfb\xfb\xfc\x00\x04\xfb\x00\x00\x01\xfa\xfb\xfb\xfc\x00\x01\xfb\xfc\xfc\xfd\x00\x04\xfc\x00\xfc\x00\xfc\x00\xfc\xfd\x00\x01\xfc\xfd\x00\x01\xfc\xfd\xfd\x00\xfd\xfe\x00%\x00\x0b\x00\x06\x00\x02\xfa\x00\xfa\xfb\x00\x01\xfa\xfb\xfb\xfc\x00\x01\xfb\xfc\xfc\x00\xfc\xfd\x00\x0b\x00\x03\x00\x01\xfa\xfb\xfb\xfc\x00\x02\xfb\x00\xfb\xfc\x00\x02\xfb\x00\xfb\xfc\xfc\xfd\x00\x05\x00\x02\xfb\x00\xfb\xfc\xfc\x00\xfc\xfd\x00\x03\x00\x01\xfb\xfc\xfc\xfd\x00\x01\xfc\xfd\xfd\xfe\x00\x14\x00\x0b\x00\x02\xfb\x00\xfb\xfc\x00\x03\x00\x01\xfa\xfb\xfb\xfc\x00\x02\xfb\x00\xfb\xfc\xfc\xfd\x00\x04\x00\x02\xfb\x00\xfb\xfc\xfc\xfd\x00\x01\xfc\xfd\xfd\xfe\x00\x11\x00\x05\xfc\x00\xfc\x00\xfc\x00\xfc\x00\xfc\xfd\x00\x06\x00\x02\xfb\x00\xfb\xfc\x00\x01\xfb\xfc\xfc\xfd\x00\x02\xfc\x00\xfc\xfd\xfd\xfe\x00\x02\xfd\x00\xfd\xfe\xfe\x00\xfe\x00\xfe\xff 6\xf5\x0cd\xeb\x1c7\x8d\x89\xda\xaf\xbe:n\x87\x80\\ca\x00\x02\xf3)hg\xf2.\xe9ji\xc7\x1a\xd3\x1dB\x852\x16X\x07\x9e\x97\x93G4p\xdbk\x19\xfeu$\x1e\xcd\xba\xb5\x96\xa8S\x13\xb3\xac\x0fxe\xc4t\x94\x8e\xc5\x06\xca\x84\xee\x18\xad\xf6|\xe1\xcc\xa9\xe8\xe2T[\xc3Y\xb2\xa6\x9d\x9c^m\xd8\x08\x9a8\rU(]OMf\xa01\xfc\xecKV\xab*0\x90\x81\xe6\xce\xc2Q\xc1\xb7&\x0e-b/#\xa7z\xd1\xd0\xed\xff\xfds\xbd\t,\x99N\xc6\xbb\x15\x14\x0b\x8a\xc9\xb4\xaa\xa4or\xdf\xd7\xd2ywC\x86Z{>\x9b\x95IFl\xd6+\x92\x8cR<_D3\xd9J\xf4"H@\x05\x03E\x12L\x1f\xb1\xa1\xef\x83~P\x8b\x7f\xde\xdd\x01\xb6\n\x17`\xfa\xf19\xe0\xbf\xbc\'\xe7\xf7vq\x8fA\x9f\xb8\xa3\xa5\xa2\xf8?}5\xea\x98\x11\xb0=%\x1b\xcb\xb9\xc8\xe4\xfb\xd4\xcf\xf9\xe5\xe3\xd5\xdc\x91\x82W\x04\xf0\x10\xc0!\xae\x88;'), 3733147: bytearray(b'C\x91_\x18\x9c`'), 3710458: bytearray(b'\xf5\xc8'), 3671712: bytearray(b'\xdb\x81'), 3734114: bytearray(b'\xbf\xd8C7\x00\xa2'), 3768795: bytearray(b"\xe0\'\x7f\xaa\xf7EU\x9a\xeboy\xb0\xdd\xfd\xbdI[\x87W8\xab\x94;\xd3r^\x1f\xe0"), 3725669: bytearray(b'\xf6\xf2\x90\xd7'), 3710568: bytearray(b'\xe9\xc9'), 3721705: bytearray(b'\xf2\x06\xc0\x9b'), 3721774: bytearray(b'\xdd\xda\xfc\x00'), 3721461: bytearray(b'\x936P\x89'), 3714934: bytearray(b'\x9b\xf6'), 3733815: bytearray(b'\xcb\x13\xe8\xda'), 3713850: bytearray(b'\xfc\xe8'), 3724987: bytearray(b'T\x12:\xe9\x00Y'), 3715004: bytearray(b'7\xf9'), 3710688: bytearray(b'\xc7\xca'), 3727614: bytearray(b'\xc7\xd9x\x00')} decode_result = [[16, 59, 92, 195, 232, 151, 191, 212, 197, 161, 123, 127, 151, 343, 123, 348, 359, 151, 291, 327, 319, 148, 92, 23, 32, 143, 134, 138, 176, 125, 182, 33, 24, 0, 17]]
2,141.166667
12,642
0.74064
3,035
12,847
3.132455
0.159473
0.054276
0.038814
0.040391
0.534133
0.509835
0.481435
0.44767
0.412959
0.345745
0
0.287834
0.008329
12,847
5
12,643
2,569.4
0.458399
0
0
0
0
1.666667
0.560753
0.529306
0
1
0.000389
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
8
e33f3444cbfaec5eeb386c7ba33845bcd1087dc6
65
py
Python
mundo_3/utilidades_cev/__init__.py
tseiiti/curso_em_video
59565ce809c1f025fb41ab69de3b8c5b53c8f7b2
[ "MIT" ]
null
null
null
mundo_3/utilidades_cev/__init__.py
tseiiti/curso_em_video
59565ce809c1f025fb41ab69de3b8c5b53c8f7b2
[ "MIT" ]
null
null
null
mundo_3/utilidades_cev/__init__.py
tseiiti/curso_em_video
59565ce809c1f025fb41ab69de3b8c5b53c8f7b2
[ "MIT" ]
null
null
null
from utilidades_cev import moeda from utilidades_cev import dado
21.666667
32
0.876923
10
65
5.5
0.6
0.509091
0.618182
0.836364
0
0
0
0
0
0
0
0
0.123077
65
2
33
32.5
0.964912
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
e3547c0828784bad8777f797d244debc8441384d
13,600
py
Python
tests/integration/test_documents.py
qw-in/async-search-client
457596b2f44f0ef9dda3c15d8d67587c1981ebd9
[ "MIT" ]
null
null
null
tests/integration/test_documents.py
qw-in/async-search-client
457596b2f44f0ef9dda3c15d8d67587c1981ebd9
[ "MIT" ]
null
null
null
tests/integration/test_documents.py
qw-in/async-search-client
457596b2f44f0ef9dda3c15d8d67587c1981ebd9
[ "MIT" ]
null
null
null
from math import ceil import pytest from async_search_client.errors import MeiliSearchApiError, MeiliSearchError @pytest.mark.asyncio async def test_get_documents_default(empty_index): index = await empty_index() response = await index.get_documents() assert response is None @pytest.mark.asyncio @pytest.mark.parametrize( "primary_key, expected_primary_key", [("release_date", "release_date"), (None, "id")] ) async def test_add_documents(primary_key, expected_primary_key, empty_index, small_movies): index = await empty_index() response = await index.add_documents(small_movies, primary_key) update = await index.wait_for_pending_update(response.update_id) assert await index.get_primary_key() == expected_primary_key assert update.status == "processed" @pytest.mark.asyncio @pytest.mark.parametrize("batch_size", [2, 3, 1000]) @pytest.mark.parametrize( "primary_key, expected_primary_key", [("release_date", "release_date"), (None, "id")] ) async def test_add_documents_in_batches( batch_size, primary_key, expected_primary_key, empty_index, small_movies ): index = await empty_index() response = await index.add_documents_in_batches(small_movies, batch_size, primary_key) assert ceil(len(small_movies) / batch_size) == len(response) for r in response: update = await index.wait_for_pending_update(r.update_id) assert update.status == "processed" assert await index.get_primary_key() == expected_primary_key @pytest.mark.asyncio @pytest.mark.parametrize( "primary_key, expected_primary_key", [("release_date", "release_date"), (None, "id")] ) async def test_add_documents_from_file( primary_key, expected_primary_key, test_client, small_movies_path ): index = test_client.index("movies") response = await index.add_documents_from_file(small_movies_path, primary_key) update = await index.wait_for_pending_update(response.update_id) assert await index.get_primary_key() == expected_primary_key assert update.status == "processed" @pytest.mark.asyncio @pytest.mark.parametrize( "primary_key, expected_primary_key", [("release_date", "release_date"), (None, "id")] ) async def test_add_documents_from_file_string_path( primary_key, expected_primary_key, test_client, small_movies_path ): string_path = str(small_movies_path) index = test_client.index("movies") response = await index.add_documents_from_file(string_path, primary_key) update = await index.wait_for_pending_update(response.update_id) assert await index.get_primary_key() == expected_primary_key assert update.status == "processed" @pytest.mark.asyncio async def test_add_documents_from_file_invalid_extension(test_client): index = test_client.index("movies") with pytest.raises(MeiliSearchError): await index.add_documents_from_file("test.csv") @pytest.mark.asyncio @pytest.mark.parametrize("batch_size", [2, 3, 1000]) @pytest.mark.parametrize( "primary_key, expected_primary_key", [("release_date", "release_date"), (None, "id")] ) async def test_add_documents_from_file_in_batches( batch_size, primary_key, expected_primary_key, test_client, small_movies_path, small_movies ): index = test_client.index("movies") response = await index.add_documents_from_file_in_batches( small_movies_path, batch_size, primary_key ) assert ceil(len(small_movies) / batch_size) == len(response) for r in response: update = await index.wait_for_pending_update(r.update_id) assert update.status == "processed" assert await index.get_primary_key() == expected_primary_key @pytest.mark.asyncio @pytest.mark.parametrize("batch_size", [2, 3, 1000]) @pytest.mark.parametrize( "primary_key, expected_primary_key", [("release_date", "release_date"), (None, "id")] ) async def test_add_documents_from_file_string_path_in_batches( batch_size, primary_key, expected_primary_key, test_client, small_movies_path, small_movies ): string_path = str(small_movies_path) index = test_client.index("movies") response = await index.add_documents_from_file_in_batches(string_path, batch_size, primary_key) assert ceil(len(small_movies) / batch_size) == len(response) for r in response: update = await index.wait_for_pending_update(r.update_id) assert update.status == "processed" assert await index.get_primary_key() == expected_primary_key @pytest.mark.asyncio async def test_add_documents_from_file_in_batches_invalid_extension(test_client): index = test_client.index("movies") with pytest.raises(MeiliSearchError): await index.add_documents_from_file_in_batches("test.csv") @pytest.mark.asyncio async def test_get_document(index_with_documents): index = await index_with_documents() response = await index.get_document("500682") assert response["title"] == "The Highwaymen" @pytest.mark.asyncio async def test_get_document_inexistent(empty_index): with pytest.raises(MeiliSearchApiError): index = await empty_index() await index.get_document("123") @pytest.mark.asyncio async def test_get_documents_populated(index_with_documents): index = await index_with_documents() response = await index.get_documents() assert len(response) == 20 @pytest.mark.asyncio async def test_get_documents_offset_optional_params(index_with_documents): index = await index_with_documents() response = await index.get_documents() assert len(response) == 20 response_offset_limit = await index.get_documents( limit=3, offset=1, attributes_to_retrieve="title" ) assert len(response_offset_limit) == 3 assert response_offset_limit[0]["title"] == response[1]["title"] @pytest.mark.asyncio async def test_update_documents(index_with_documents, small_movies): index = await index_with_documents() response = await index.get_documents() response[0]["title"] = "Some title" update = await index.update_documents([response[0]]) await index.wait_for_pending_update(update.update_id) response = await index.get_documents() assert response[0]["title"] == "Some title" update = await index.update_documents(small_movies) await index.wait_for_pending_update(update.update_id) response = await index.get_documents() assert response[0]["title"] != "Some title" @pytest.mark.asyncio async def test_update_documents_with_primary_key(test_client, small_movies): primary_key = "release_date" index = test_client.index("movies") update = await index.update_documents(small_movies, primary_key=primary_key) await index.wait_for_pending_update(update.update_id) assert await index.get_primary_key() == primary_key @pytest.mark.asyncio @pytest.mark.parametrize("batch_size", [2, 3, 1000]) async def test_update_documents_in_batches(batch_size, index_with_documents, small_movies): index = await index_with_documents() response = await index.get_documents() response[0]["title"] = "Some title" update = await index.update_documents([response[0]]) await index.wait_for_pending_update(update.update_id) response = await index.get_documents() assert response[0]["title"] == "Some title" updates = await index.update_documents_in_batches(small_movies, batch_size) assert ceil(len(small_movies) / batch_size) == len(updates) for update in updates: await index.wait_for_pending_update(update.update_id) response = await index.get_documents() assert response[0]["title"] != "Some title" @pytest.mark.asyncio @pytest.mark.parametrize("batch_size", [2, 3, 1000]) async def test_update_documents_in_batches_with_primary_key(batch_size, test_client, small_movies): primary_key = "release_date" index = test_client.index("movies") updates = await index.update_documents_in_batches( small_movies, batch_size, primary_key=primary_key ) assert ceil(len(small_movies) / batch_size) == len(updates) for update in updates: update_status = await index.wait_for_pending_update(update.update_id) assert update_status.status == "processed" assert await index.get_primary_key() == primary_key @pytest.mark.asyncio async def test_update_documents_from_file(test_client, small_movies, small_movies_path): small_movies[0]["title"] = "Some title" index = test_client.index("movies") response = await index.add_documents(small_movies) update = await index.wait_for_pending_update(response.update_id) assert await index.get_primary_key() == "id" response = await index.get_documents() assert response[0]["title"] == "Some title" update = await index.update_documents_from_file(small_movies_path) update = await index.wait_for_pending_update(update.update_id) assert update.status == "processed" response = await index.get_documents() assert response[0]["title"] != "Some title" @pytest.mark.asyncio async def test_update_documents_from_file_string_path(test_client, small_movies, small_movies_path): string_path = str(small_movies_path) small_movies[0]["title"] = "Some title" index = test_client.index("movies") response = await index.add_documents(small_movies) update = await index.wait_for_pending_update(response.update_id) assert await index.get_primary_key() == "id" response = await index.get_documents() assert response[0]["title"] == "Some title" update = await index.update_documents_from_file(string_path) update = await index.wait_for_pending_update(update.update_id) assert update.status == "processed" response = await index.get_documents() assert response[0]["title"] != "Some title" @pytest.mark.asyncio async def test_update_documents_from_file_with_primary_key(test_client, small_movies_path): primary_key = "release_date" index = test_client.index("movies") update = await index.update_documents_from_file(small_movies_path, primary_key=primary_key) await index.wait_for_pending_update(update.update_id) assert await index.get_primary_key() == primary_key @pytest.mark.asyncio async def test_update_documents_from_file_invalid_extension(test_client): index = test_client.index("movies") with pytest.raises(MeiliSearchError): await index.update_documents_from_file("test.csv") @pytest.mark.asyncio @pytest.mark.parametrize("batch_size", [2, 3, 1000]) async def test_update_documents_from_file_in_batches( batch_size, test_client, small_movies_path, small_movies ): small_movies[0]["title"] = "Some title" index = test_client.index("movies") response = await index.add_documents(small_movies) update = await index.wait_for_pending_update(response.update_id) assert await index.get_primary_key() == "id" response = await index.get_documents() assert response[0]["title"] == "Some title" updates = await index.update_documents_from_file_in_batches(small_movies_path, batch_size) assert ceil(len(small_movies) / batch_size) == len(updates) for update in updates: update_status = await index.wait_for_pending_update(update.update_id) assert update_status.status == "processed" response = await index.get_documents() assert response[0]["title"] != "Some title" @pytest.mark.asyncio @pytest.mark.parametrize("batch_size", [2, 3, 1000]) async def test_update_documents_from_file_string_path_in_batches( batch_size, test_client, small_movies_path, small_movies ): string_path = str(small_movies_path) small_movies[0]["title"] = "Some title" index = test_client.index("movies") response = await index.add_documents(small_movies) update = await index.wait_for_pending_update(response.update_id) assert await index.get_primary_key() == "id" response = await index.get_documents() assert response[0]["title"] == "Some title" updates = await index.update_documents_from_file_in_batches(string_path, batch_size) assert ceil(len(small_movies) / batch_size) == len(updates) for update in updates: update_status = await index.wait_for_pending_update(update.update_id) assert update_status.status == "processed" response = await index.get_documents() assert response[0]["title"] != "Some title" @pytest.mark.asyncio async def test_update_documents_from_file_in_batches_invalid_extension(test_client): index = test_client.index("movies") with pytest.raises(MeiliSearchError): await index.update_documents_from_file_in_batches("test.csv") @pytest.mark.asyncio async def test_delete_document(index_with_documents): index = await index_with_documents() response = await index.delete_document("500682") await index.wait_for_pending_update(response.update_id) with pytest.raises(MeiliSearchApiError): await index.get_document("500682") @pytest.mark.asyncio async def test_delete_documents(index_with_documents): to_delete = ["522681", "450465", "329996"] index = await index_with_documents() response = await index.delete_documents(to_delete) await index.wait_for_pending_update(response.update_id) documents = await index.get_documents() ids = [x["id"] for x in documents] assert to_delete not in ids @pytest.mark.asyncio async def test_delete_all_documents(index_with_documents): index = await index_with_documents() response = await index.delete_all_documents() await index.wait_for_pending_update(response.update_id) response = await index.get_documents() assert response is None
37.883008
100
0.754779
1,835
13,600
5.254496
0.047411
0.099564
0.048538
0.042315
0.932172
0.926986
0.92543
0.902199
0.883219
0.838208
0
0.009438
0.143015
13,600
358
101
37.988827
0.817846
0
0
0.731449
0
0
0.076029
0
0
0
0
0
0.180212
1
0
false
0
0.010601
0
0.010601
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8b7b4f5556b642f5fb9ea7f8d96fb54e26969c8c
6,251
py
Python
backend/Django/logsyllogsite/logapp/models.py
emg/syllog
8855575ba97b9fefbc9980e4e1030f201b908470
[ "MIT" ]
null
null
null
backend/Django/logsyllogsite/logapp/models.py
emg/syllog
8855575ba97b9fefbc9980e4e1030f201b908470
[ "MIT" ]
null
null
null
backend/Django/logsyllogsite/logapp/models.py
emg/syllog
8855575ba97b9fefbc9980e4e1030f201b908470
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Answer(models.Model): usernumber = models.IntegerField(default=0) date = models.DateTimeField(auto_now_add=True) timelapse = models.IntegerField(default=0) syllnumber = models.IntegerField() figure = models.IntegerField() correctness = models.BooleanField(default=False) def __str__(self): return "%d: %s: %d/%d: correct: %s" % (self.usernumber, self.date, self.figure, self.syllnumber, self.correctness) class Answer2(models.Model): answer = models.ForeignKey(Answer, on_delete=models.CASCADE) conclusion_truth_value = models.BooleanField(default=False) term_S = models.IntegerField(null=True) term_M = models.IntegerField(null=True) term_P = models.IntegerField(null=True) def __str__(self): return "%d: %s: %d/%d: correct: %s conclusion: %s S: %s M: %s P: %s" % (self.answer.usernumber, self.answer.date, self.answer.figure, self.answer.syllnumber, self.answer.correctness, self.conclusion_truth_value, self.term_S, self.term_M, self.term_P) class Answer3(models.Model): """Answer3 is the model used for all versions of the syllogistic valid/invalid experiments since around 2015.""" QUANTOR_CHOICES = ( ('au', 'All'), ('iu', 'Some'), ('eu', 'No'), ('ou', 'Some ... are not'), ) VALIDITY_CHOICES = ( ('valid', 'Valid'), ('invalid', 'Invalid'), ) PROPKIND_CHOICES = ( ('verbal', 'Verbal only'), ('graph', 'Verbal and CG'), ) usernumber = models.IntegerField(default=0) date = models.DateTimeField(auto_now_add=True) timelapse = models.IntegerField(default=0) figure = models.IntegerField() quantor_1 = models.CharField(max_length=2, choices=QUANTOR_CHOICES) quantor_2 = models.CharField(max_length=2, choices=QUANTOR_CHOICES) quantor_3 = models.CharField(max_length=2, choices=QUANTOR_CHOICES) term_S = models.IntegerField(null=True) term_M = models.IntegerField(null=True) term_P = models.IntegerField(null=True) correctness = models.BooleanField(default=False) conclusion_truth_value = models.BooleanField(default=False) student_answer = models.CharField(max_length=7, choices=VALIDITY_CHOICES) propkind = models.CharField(max_length=10, choices=PROPKIND_CHOICES) def __str__(self): return "%d: %s: (%d,%s,%s,%s): correct: %s conclusion: %s answer: %s propkind: %s S: %s M: %s P: %s" % (self.usernumber, self.date, self.figure, self.quantor_1, self.quantor_2, self.quantor_3, self.correctness, self.conclusion_truth_value, self.student_answer, self.propkind, self.term_S, self.term_M, self.term_P) class Answer5(models.Model): QUANTOR_CHOICES = ( ('au', 'All'), ('iu', 'Some'), ('eu', 'No'), ('ou', 'Some ... are not'), ) VALIDITY_CHOICES = ( ('valid', 'Valid'), ('invalid', 'Invalid'), ) PROPKIND_CHOICES = ( ('verbal', 'Verbal only'), ('graph', 'Verbal and CG'), ) usernumber = models.IntegerField(default=0) date = models.DateTimeField(auto_now_add=True) timelapse = models.IntegerField(default=0) figure = models.IntegerField() quantor_1 = models.CharField(max_length=2, choices=QUANTOR_CHOICES) quantor_2 = models.CharField(max_length=2, choices=QUANTOR_CHOICES) quantor_3 = models.CharField(max_length=2, choices=QUANTOR_CHOICES) term_S = models.IntegerField(null=True) term_M = models.IntegerField(null=True) term_P = models.IntegerField(null=True) correctness = models.BooleanField(default=False) conclusion_truth_value = models.BooleanField(default=False) student_answer = models.CharField(max_length=7, choices=VALIDITY_CHOICES) propkind = models.CharField(max_length=10, choices=PROPKIND_CHOICES) def __str__(self): return "%d: %s: (%d,%s,%s,%s): correct: %s conclusion: %s answer: %s propkind: %s S: %s M: %s P: %s" % (self.usernumber, self.date, self.figure, self.quantor_1, self.quantor_2, self.quantor_3, self.correctness, self.conclusion_truth_value, self.student_answer, self.propkind, self.term_S, self.term_M, self.term_P) class Answer4(models.Model): """Answer4 is for logging the experiments that determine whether students are able to prove that a syllogism is valid or invalid, using the rules Trans, Subst, Contra, Ex and (optionally) Mut. This is logged with the /logsyllog/log4/ URL. The following front-ends (at a minimum) were meant for this model: - test6 - test8 - proof """ QUANTOR_CHOICES = ( ('au', 'All'), ('iu', 'Some'), ('eu', 'No'), ('ou', 'Some ... are not'), ) VALIDITY_CHOICES = ( ('valid', 'Valid'), ('invalid', 'Invalid'), ) PROPKIND_CHOICES = ( ('verbal', 'Verbal only'), ('graph', 'Verbal and CG'), ) usernumber = models.IntegerField(default=0) date = models.DateTimeField(auto_now_add=True) timelapse = models.IntegerField(default=0) rule_clicks = models.IntegerField(default=0) figure = models.IntegerField() quantor_1 = models.CharField(max_length=2, choices=QUANTOR_CHOICES) quantor_2 = models.CharField(max_length=2, choices=QUANTOR_CHOICES) quantor_3 = models.CharField(max_length=2, choices=QUANTOR_CHOICES) term_S = models.IntegerField(null=True) term_M = models.IntegerField(null=True) term_P = models.IntegerField(null=True) correctness = models.BooleanField(default=False) conclusion_truth_value = models.BooleanField(default=False) student_answer = models.CharField(max_length=7, choices=VALIDITY_CHOICES) propkind = models.CharField(max_length=10, choices=PROPKIND_CHOICES) def __str__(self): return "%d: %s: (%d,%s,%s,%s): rule_clicks: %d correct: %s conclusion: %s answer: %s propkind: %s S: %s M: %s P: %s" % (self.usernumber, self.date, self.figure, self.quantor_1, self.quantor_2, self.quantor_3, self.rule_clicks, self.correctness, self.conclusion_truth_value, self.student_answer, self.propkind, self.term_S, self.term_M, self.term_P)
38.58642
356
0.673012
794
6,251
5.128463
0.15869
0.114931
0.066306
0.088409
0.823674
0.810904
0.802308
0.790029
0.778487
0.778487
0
0.011487
0.192289
6,251
161
357
38.826087
0.795009
0.074068
0
0.8125
0
0.035714
0.11326
0
0
0
0
0
0
1
0.044643
false
0
0.008929
0.044643
0.705357
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
8
4740759c10cc58ab1beea05ab643ea9169c23a9e
14,824
py
Python
tests/test_kernels.py
crcrpar/HpBandSter
c07e7b86f8225719840ece5123d0ef8feb7ef4e0
[ "BSD-3-Clause" ]
null
null
null
tests/test_kernels.py
crcrpar/HpBandSter
c07e7b86f8225719840ece5123d0ef8feb7ef4e0
[ "BSD-3-Clause" ]
null
null
null
tests/test_kernels.py
crcrpar/HpBandSter
c07e7b86f8225719840ece5123d0ef8feb7ef4e0
[ "BSD-3-Clause" ]
null
null
null
import os import unittest import numpy as np #from scipy.integrate import quadrature as quadrature from scipy.integrate import quad as quadrature from statsmodels.nonparametric import kernels as sm_kernels from hpbandster.optimizers.kde import kernels as hp_kernels import ConfigSpace as CS from pdb import set_trace rapid_development = True rapid_development = False class TestGaussian(unittest.TestCase): n_train = 256 n_test = 1024 def setUp(self): self.x_train = np.random.rand(self.n_train) self.x_test = np.random.rand(self.n_test) def tearDown(self): self.x_train = None self.x_test = None @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_values(self): for bw in [1e-3, 1e-2, 1e-1, 1]: sm_values = sm_kernels.gaussian(bw, self.x_train[:, None], self.x_test[None, :]) hp_kernel = hp_kernels.Gaussian(data=self.x_train, bandwidth=bw, fix_boundary=False) hp_values = hp_kernel(self.x_test) self.assertTrue(np.allclose(hp_values, sm_values / bw, 1e-4)) @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_pdf_boundary_simple(self): self.x_train = np.array([0]) for bw in [1e-3, 1e-2, 1e-1]: # note: for larger bandwidths, the pdf also needs to be truncated as +1, # which leads to something different than twice the pdf hp_kernel1 = hp_kernels.Gaussian(data=self.x_train, bandwidth=bw, fix_boundary=False) hp_kernel2 = hp_kernels.Gaussian(data=self.x_train, bandwidth=bw, fix_boundary=True) hp_values1 = hp_kernel1(self.x_test) hp_values2 = hp_kernel2(self.x_test) self.assertTrue(np.allclose(2 * hp_values1, hp_values2, 1e-4)) self.x_train = np.array([1]) for bw in [1e-3, 1e-2, 1e-1]: # note: for larger bandwidths, the pdf also needs to be truncated as +1, # which leads to something different than twice the pdf hp_kernel1 = hp_kernels.Gaussian(data=self.x_train, bandwidth=bw, fix_boundary=False) hp_kernel2 = hp_kernels.Gaussian(data=self.x_train, bandwidth=bw, fix_boundary=True) hp_values1 = hp_kernel1(self.x_test) hp_values2 = hp_kernel2(self.x_test) self.assertTrue(np.allclose(2 * hp_values1, hp_values2, 1e-4)) # simple test based on 68, 95, 99% rule self.x_train = np.array([0.5]) for bw, w in ([0.5, 0.6827], [0.25, 0.9545], [1 / 6, 0.9973]): hp_kernel = hp_kernels.Gaussian(data=self.x_train, bandwidth=bw, fix_boundary=True) self.assertAlmostEqual(hp_kernel.weights[0], 1 / w, delta=1e-4) @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_pdf_boundary_quadrature(self): for bw in [1e-2, 1e-1, 1]: hp_kernel = hp_kernels.Gaussian(data=self.x_train, bandwidth=bw, fix_boundary=True) def quad_me(x): x_test = np.array([x]) pdfs = hp_kernel(x_test) return (pdfs.mean()) self.assertAlmostEqual(quadrature(quad_me, 0, 1)[0], 1, delta=1e-4) @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_sample(self): num_samples = 2**20 for bw in [1e-1, 5e-1, 1]: hp_kernel = hp_kernels.Gaussian(data=self.x_train, bandwidth=bw, fix_boundary=True) samples = hp_kernel.sample(num_samples=num_samples) phat1, x = np.histogram(samples, normed=True) phat2 = hp_kernel((x[1:] + x[:-1]) / 2).mean(axis=0) for p1, p2 in zip(phat1, phat2): self.assertAlmostEqual(p1, p2, delta=5e-2) class Test1dCategorical(unittest.TestCase): n_train = 256 n_test = 1024 def setUp(self): self.configspace = CS.ConfigurationSpace(43) HPs = [] HPs.append(CS.CategoricalHyperparameter('cat1', choices=['foo', 'bar', 'baz'])) self.configspace.add_hyperparameters(HPs) x_train_confs = [self.configspace.sample_configuration() for i in range(self.n_train)] self.x_train = np.array([c.get_array() for c in x_train_confs]).squeeze() x_test_confs = [self.configspace.sample_configuration() for i in range(self.n_test)] self.x_test = np.array([c.get_array() for c in x_train_confs]).squeeze() def tearDown(self): self.configspace = None self.x_train = None self.x_test = None @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_values(self): for bw in [1e-3, 1e-2, 1e-1, 1]: sm_values = [] for x in self.x_test: sm_values.append(sm_kernels.aitchison_aitken(bw, self.x_train, x)) sm_values = np.array(sm_values) hp_kernel = hp_kernels.AitchisonAitken( data=self.x_train, bandwidth=bw, num_values=len(self.configspace.get_hyperparameters()[0].choices)) hp_values = hp_kernel(self.x_test) self.assertTrue(np.allclose(hp_values.T, sm_values.squeeze(), 1e-4)) @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_sample(self): num_samples = 2**20 for bw in [1e-1, 5e-1, 1]: hp_kernel = hp_kernels.AitchisonAitken( data=self.x_train, bandwidth=bw, num_values=len(self.configspace.get_hyperparameters()[0].choices)) samples = hp_kernel.sample(num_samples=num_samples) phat1, phat2 = [], [] for value in [0, 1, 2]: phat1.append(np.sum(samples == value) / num_samples) phat2.append(hp_kernel(np.array([value])).mean(axis=0)[0]) for p1, p2 in zip(phat1, phat2): self.assertAlmostEqual(p1, p2, delta=5e-3) self.assertAlmostEqual(np.sum(phat2), 1, delta=1e-5) class Test1dInteger(unittest.TestCase): n_train = 128 n_test = 1024 def setUp(self): self.configspace = CS.ConfigurationSpace(43) HPs = [] HPs.append(CS.UniformIntegerHyperparameter('int1', lower=-2, upper=2)) self.configspace.add_hyperparameters(HPs) x_train_confs = [self.configspace.sample_configuration() for i in range(self.n_train)] self.x_train = np.array([c.get_array() for c in x_train_confs]).squeeze() x_test_confs = [self.configspace.sample_configuration() for i in range(self.n_test)] self.x_test = np.array([c.get_array() for c in x_test_confs]).squeeze() def tearDown(self): self.configspace = None self.x_train = None self.x_test = None @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_values(self): n = self.configspace.get_hyperparameters()[0].upper - self.configspace.get_hyperparameters( )[0].lower + 1 for bw in [1e-3, 1e-2, 1e-1, 0.99]: sm_x_train = np.rint(self.x_train * n - .5).astype(np.int) sm_x_test = np.rint(self.x_test * n - .5).astype(np.int).squeeze() sm_values = np.array( [sm_kernels.wang_ryzin(bw, sm_x_train[:, None], x) for x in sm_x_test]).squeeze() hp_kernel = hp_kernels.WangRyzinInteger(data=self.x_train, bandwidth=bw, num_values=n, fix_boundary=False) hp_values = hp_kernel(self.x_test).squeeze() self.assertTrue(np.allclose(hp_values.T, sm_values, 1e-4)) @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_pdf_boundary_quadrature(self): self.x_test = np.array([0, 1, 2, 3, 4]) / 5 + (1 / 10) for bw in [1e-2, 1e-1, 0.99]: hp_kernel = hp_kernels.WangRyzinInteger(data=self.x_train, bandwidth=bw, num_values=5, fix_boundary=True) hp_values = hp_kernel(self.x_test).mean(axis=0) self.assertAlmostEqual(hp_values.sum(), 1, delta=1e-4) @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_sample(self): num_samples = 2**20 for bw in [1e-1, 5e-1, 0.99]: hp_kernel = hp_kernels.WangRyzinInteger(data=self.x_train, bandwidth=bw, num_values=5, fix_boundary=True) samples = hp_kernel.sample(num_samples=num_samples) phat1, x = np.histogram(samples, normed=True, bins=[0, 0.2, .4, .6, .8, 1.]) phat1 /= 5 # account for bin width phat2 = hp_kernel((x[1:] + x[:-1]) / 2).mean(axis=0) for p1, p2 in zip(phat1, phat2): self.assertAlmostEqual(p1, p2, delta=5e-2) class Test1dOrdinal(unittest.TestCase): n_train = 128 n_test = 5 def setUp(self): self.configspace = CS.ConfigurationSpace(43) HPs = [] HPs.append(CS.OrdinalHyperparameter('ord1', ['cold', 'mild', 'warm', 'hot'])) self.configspace.add_hyperparameters(HPs) x_train_confs = [self.configspace.sample_configuration() for i in range(self.n_train)] self.x_train = np.array([c.get_array() for c in x_train_confs]).squeeze() x_test_confs = [self.configspace.sample_configuration() for i in range(self.n_test)] self.x_test = np.array([c.get_array() for c in x_test_confs]).squeeze() def tearDown(self): self.configspace = None self.x_train = None self.x_test = None @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_values(self): for bw in [1e-3, 1e-2, 1e-1, 1]: sm_values = np.array( [sm_kernels.wang_ryzin(bw, self.x_train[:, None], x) for x in self.x_test]) hp_kernel = hp_kernels.WangRyzinOrdinal(data=self.x_train, bandwidth=bw, fix_boundary=False) hp_values = hp_kernel(self.x_test) self.assertTrue(np.allclose(hp_values.T, sm_values, 1e-4)) @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_pdf_boundary_simple(self): self.x_train = np.array([0]) self.x_test = np.array([0, 1, 2, 3]) for bw in [1e-3, 1e-2]: # note: for larger bandwidths, the pdf also needs to be truncated as +1, # which leads to something different than the scaling computed here hp_kernel1 = hp_kernels.WangRyzinOrdinal(data=self.x_train, bandwidth=bw, num_values=4, fix_boundary=False) hp_kernel2 = hp_kernels.WangRyzinOrdinal(data=self.x_train, bandwidth=bw, num_values=4, fix_boundary=True) hp_values1 = hp_kernel1(self.x_test).squeeze() hp_values2 = hp_kernel2(self.x_test).squeeze() weight = 1 - hp_values1[1:].sum() self.assertTrue(np.allclose(hp_values1 / weight, hp_values2, 1e-4)) self.x_train = np.array([3]) self.x_test = np.array([0, 1, 2, 3]) for bw in [1e-3, 1e-2]: # note: for larger bandwidths, the pdf also needs to be truncated as +1, # which leads to something different than the scaling computed here hp_kernel1 = hp_kernels.WangRyzinOrdinal(data=self.x_train, bandwidth=bw, num_values=4, fix_boundary=False) hp_kernel2 = hp_kernels.WangRyzinOrdinal(data=self.x_train, bandwidth=bw, num_values=4, fix_boundary=True) hp_values1 = hp_kernel1(self.x_test).squeeze() hp_values2 = hp_kernel2(self.x_test).squeeze() weight = 1 - hp_values1[:-1].sum() self.assertTrue(np.allclose(hp_values1 / weight, hp_values2, 1e-4)) # simple test based on 68, 95, 99% rule self.x_train = np.array([0.5]) for bw, w in ([0.5, 0.6827], [0.25, 0.9545], [1 / 6, 0.9973]): hp_kernel = hp_kernels.Gaussian(data=self.x_train, bandwidth=bw, fix_boundary=True) self.assertAlmostEqual(hp_kernel.weights[0], 1 / w, delta=1e-4) @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_pdf_boundary_quadrature(self): self.x_test = np.array([0, 1, 2, 3]) for bw in [1e-2, 1e-1, 0.99]: hp_kernel = hp_kernels.WangRyzinOrdinal(data=self.x_train, bandwidth=bw, num_values=4, fix_boundary=True) hp_values = hp_kernel(self.x_test).mean(axis=0) self.assertAlmostEqual(hp_values.sum(), 1, delta=1e-4) @unittest.skipIf(rapid_development, "test skipped to accelerate developing new tests") def test_sample(self): num_samples = 2**20 for bw in [1e-1, 5e-1, 0.99]: hp_kernel = hp_kernels.WangRyzinOrdinal(data=self.x_train, bandwidth=bw, num_values=4, fix_boundary=True) samples = hp_kernel.sample(num_samples=num_samples) phat1, x = np.histogram(samples, normed=True, bins=[-0.5, 0.5, 1.5, 2.5, 3.5]) phat2 = hp_kernel((x[1:] + x[:-1]) / 2).mean(axis=0) for p1, p2 in zip(phat1, phat2): self.assertAlmostEqual(p1, p2, delta=5e-2) if __name__ == '__main__': unittest.main()
42.113636
99
0.571843
1,923
14,824
4.227769
0.095164
0.042435
0.04797
0.036162
0.876507
0.855966
0.852645
0.840221
0.8369
0.819434
0
0.040553
0.321303
14,824
351
100
42.233618
0.767518
0.045467
0
0.757937
0
0
0.046329
0
0
0
0
0
0.071429
1
0.087302
false
0
0.031746
0
0.170635
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
47b279aa356831d0b8c16997dcb5f856535e84c4
51,589
py
Python
api_interface/api_interface.py
FactomProject/factom_python_objects_library
942cb276d33d6ef620408b85b449a60c00967b08
[ "MIT" ]
null
null
null
api_interface/api_interface.py
FactomProject/factom_python_objects_library
942cb276d33d6ef620408b85b449a60c00967b08
[ "MIT" ]
null
null
null
api_interface/api_interface.py
FactomProject/factom_python_objects_library
942cb276d33d6ef620408b85b449a60c00967b08
[ "MIT" ]
null
null
null
import ast, json, random, requests, string, time class APIInterface(): ''' Needs to be initialized with (including ports) - a valid factomd_address, and - a valid wallet_address ''' def __init__(self, factomd_address, wallet_address): self.factomd_address = factomd_address self.wallet_address = wallet_address ''' For all three 'send requests' below: :param destination: str, if 'wallet' then the API call will be sent to the factom-walletd port (8089) else the API call will be sent to the factomd port (8088) :param method: str, name of the API method to call :param params_dict: dictionary, the parameters to be sent with the API call :return: result of the API call ''' def send_post_request_with_params_dict(self, destination, method, params_dict): address = "10.41.0.215:8089" if destination == 'wallet' else "10.41.0.5:8088" url = 'http://'+ address +'/v2' headers = {'content-type': 'text/plain'} data = {"jsonrpc": "2.0", "id": 0, "params": params_dict, "method": method} print data r = requests.post(url, data=json.dumps(data), headers=headers) print r.text return r.text def send_get_request_with_params_dict(self, destination, method, params_dict): address = "10.41.0.215:8089" if destination == 'wallet' else "10.41.0.5:8088" url = 'http://' + address + '/v2' headers = {'content-type': 'text/plain'} data = {"jsonrpc": "2.0", "id": 0, "params": params_dict, "method": method} print data r = requests.get(url, data=json.dumps(data), headers=headers) print r.text return r.text def send_get_request_with_method(self, destination, method): address = "10.41.0.215:8089" if destination == 'wallet' else "10.41.0.5:8088" url = 'http://' + address + '/v2' headers = {'content-type': 'text/plain'} data = {"jsonrpc": "2.0", "id": 0, "method": method} print data r = requests.get(url, data=json.dumps(data), headers=headers) print r.text return r.text # -------------------------------------------------------------------------------------------------- def get_all_addresses(self): ''' Return all addresses in wallet :return return_data: list, JSON pairs of addresses known to the wallet secret public :return error_message: str, nil for no error ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "method": 'all-addresses'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.get(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: return_data = block['result']['addresses'] error_message = '' return return_data, error_message def import_addresses(self, *secret_addresses): ''' Bring already existing addresses into the wallet :param *secret_addresses: unlimited number of str, private keys of all the external factoid and entry credit addresses to be imported :return return_data: list, the public keys corresponding to the input addresses, in the same order :return error_message: str, nil for no error ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'addresses': [{'secret': address} for address in secret_addresses]})), "method": 'import-addresses'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: return_data = [] print 'result', block['result'] for i in range(len(secret_addresses)): return_data.append(block['result']['addresses'][i]['public']) print "return_data", return_data error_message = '' return return_data, error_message def generate_entry_credit_address(self): ''' Generate a new entry credit address :return public: str, public key of the newly generated entry credit address :return secret: str, private key of the newly generated entry credit address :return error_message: str, nil for no error ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "method": 'generate-ec-address'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.get(url, data=json.dumps(data), headers=headers).text) if 'error' in block: public = '' secret = '' if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] public = block['result']['public'] secret = block['result']['secret'] error_message = '' return public, secret, error_message def generate_factoid_address(self): ''' :return public: str, public key of the newly generated factoid address :return secret: str, private key of the newly generated factoid address :return error_message: str, nil for no error ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "method": 'generate-factoid-address'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.get(url, data=json.dumps(data), headers=headers).text) if 'error' in block: public = '' secret = '' if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] public = block['result']['public'] secret = block['result']['secret'] error_message = '' return public, secret, error_message # -------------------------------------------------------------------------------------------------- def create_chain(self, external_ids, content, ec_address): ''' Create a new chain :param external_ids: list, all the external ids (in hex) that will determine the identity of the chain :param content: str, the content (in hex) of the 1st entry of the chain :param ec_address: str, the public key of the entry credit address that will pay for the creation of the chain :return txid: str :return entryhash: str :return chainid: str :return error_message: str, nil for no error ''' txid = '' entryhash = '' chainid = '' compose, error_message = self.compose_chain(external_ids, content, ec_address) print 'compose', compose if not error_message: commit, error_message = self.commit_chain(compose['commit']['params']['message']) print 'commit', commit if not error_message: reveal, error_message = self.reveal_chain(compose['reveal']['params']['entry']) print 'reveal', reveal if not error_message: txid = commit['txid'] entryhash = commit['entryhash'] chainid = reveal['chainid'] return txid, entryhash, chainid, error_message def compose_chain(self, external_ids, content, ec_address): ''' Create both the 'commit-chain' JSON and the 'reveal-chain' JSON that can then be sent in API calls to create a chain at a later time :param external_ids: list, all the external ids (in hex) that will determine the identity of the chain :param content: str, the content (in hex) of the 1st entry of the chain :param ec_address: str, the public key of the entry credit address that will pay for the creation of the chain :return return_data: if API call succeeds, JSON of the two API calls (commit and reveal) that when sent later will actually create the chain if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'chain': {'firstentry': {'extids': external_ids, 'content': content}}, 'ecpub': ec_address})), "method": 'compose-chain'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def commit_chain(self, message): ''' Commit chain by message :param message: str, the message portion of the API call :return return_data: if API call succeeds, transaction JSON block containing: message:"Chain Commit Success" txid entryhash chainidhash if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'message': message})), "method": 'commit-chain'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def reveal_chain(self, entry): ''' Reveal chain by entry :param entry: str, the entry portion of the API call :return: return_data: if API call succeeds, reveal JSON block containing: message":"Entry Reveal Success" entryhash chainid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'entry': entry})), "method": 'reveal-chain'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message # -------------------------------------------------------------------------------------------------- def create_entry(self, chain_id, external_ids, content, ec_address): ''' Create a new entry in an existing chain :param chain_id: str, chain ID of existing chain in which to put the entry :param external_ids: list, all the external ids (in hex) that will determine the identity of the entry :param content: str, the content (in hex) of the entry :param ec_address: str, the public key of the entry credit address that will pay for the creation of the entry :return txid: str :return entryhash: str :return chainid: str :return error_message: str, nil for no error ''' txid = '' entryhash = '' chainid = '' compose, error_message = self.compose_entry(chain_id, external_ids, content, ec_address) print 'compose', compose if not error_message: compose_message = compose['commit']['params']['message'] compose_entry = compose['reveal']['params']['entry'] commit, error_message = self.commit_entry(compose['commit']['params']['message']) print 'commit', commit if not error_message: print 'txid', commit['txid'] print 'entryhash', commit['entryhash'] # no wait necessary between commit and reveal # ack commit c with txid for x in range(0, 40): status = self.get_transaction_status(commit['txid'], 'c') # status = self.get_transaction_status('', 'c', compose_message) if any(accepted in str(status) for accepted in ('TransactionACK', 'DBlockConfirmed')): break time.sleep(1) # check ack commit c with txid after 10 minutes # time.sleep(600) # self.get_transaction_status(commit['txid'], 'c') reveal, error_message = self.reveal_entry(compose['reveal']['params']['entry']) print 'reveal', reveal if not error_message: # ack reveal for x in range(0, 40): status = self.get_transaction_status(commit['entryhash'], 'f') # status = self.get_transaction_status(commit['entryhash'], reveal['chainid']) # status = self.get_transaction_status('', reveal['chainid'], compose_entry) # status = self.get_transaction_status('', 'f', compose_entry) # status = self.get_transaction_status(commit['txid'], reveal['chainid']) if any(accepted in str(status) for accepted in ('TransactionACK', 'DBlockConfirmed')): break time.sleep(1) txid = commit['txid'] entryhash = commit['entryhash'] chainid = reveal['chainid'] # for x in range(0, 140): # status = self.get_transaction_status(commit['txid'], 'c') # if any(accepted in str(status) for accepted in ('TransactionACK', 'DBlockConfirmed')): break # time.sleep(1) return txid, entryhash, chainid, error_message def compose_entry(self, chain_id, external_ids, content, ec_address): ''' Create both the 'commit-entry' JSON and the 'reveal-entry' JSON that can then be sent in API calls to create an entry at a later time :param chain_id: str, chain ID of existing chain in which to put the entry :param external_ids: list, all the external ids (in hex) that will determine the identity of the entry :param content: str, the content (in hex) of the entry :param ec_address: str, the public key of the entry credit address that will pay for the creation of the entry :return return_data: if API call succeeds, JSON of the two API calls (commit and reveal) that when sent later will actually create the entry if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'entry': {'chainid':chain_id, 'extids': external_ids, 'content': content}, 'ecpub': ec_address})), "method": 'compose-entry'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def commit_entry(self, message): ''' Commit entry by message :param message: str, the message portion of the API call :return block['error']: if API call failed, the contents of the 'error' JSON block :return block['result']: if API call succeeded, the contents of the 'result' JSON block :return return_data: if API call succeeds, transaction JSON block containing: message:"Chain Commit Success". txid entryhash if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'message': message})), "method": 'commit-entry'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def reveal_entry(self, entry): ''' Reveal chain by entry :param entry: str, the entry portion of the API call :return return_data: if API call succeeds, reveal JSON block containing: message":"Entry Reveal Success" entryhash chainid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'entry': entry})), "method": 'reveal-entry'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message # -------------------------------------------------------------------------------------------------- def send_factoids(self, from_address, to_address, factoids): ''' Move factoids from one factoid address to another :param from_address: str, source factoid address of the factoids :param to_address: str, destination factoid address of the factoids :param factoids: int, amount of factoids to transfer :return return_data: if API call succeeds, str, txid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' transaction_name = ''.join(random.choice(string.ascii_letters) for _ in range(5)) factoshis = int(factoids * 1e8) return_data = '' error_message = self.create_new_transaction(transaction_name)[1] if not error_message: error_message = self.add_input_to_transaction(transaction_name, from_address, factoshis)[1] if not error_message: error_message = self.add_output_to_transaction(transaction_name, to_address, factoshis)[1] if not error_message: error_message = self.subtract_fee_from_transaction(transaction_name, to_address)[1] if not error_message: error_message = self.sign_transaction(transaction_name)[1] if not error_message: transaction, error_message = self.compose_transaction(transaction_name) if not error_message: result, error_message = self.submit_factoid_transaction(transaction) if error_message: return_data = '' else: return_data = result['txid'] return return_data, error_message def buy_entry_credits(self, from_address, to_address, entry_credits): ''' Convert factoids into entry credits :param from_address: str, source factoid address of the factoids :param to_address: str, destination entry credit address of the entry credits :param entry_credits: int, amount of entry credits to arrive at the entry credit address :return return_data: if API call succeeds, str, txid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' ecrate = self.get_entry_credit_rate()[0] transaction_name = ''.join(random.choice(string.ascii_letters) for _ in range(5)) entry_credit_factoshis = entry_credits * ecrate return_data = '' error_message = self.create_new_transaction(transaction_name)[1] if not error_message: error_message = self.add_input_to_transaction(transaction_name, from_address, entry_credit_factoshis)[1] if not error_message: error_message = self.add_entry_credit_output_to_transaction(transaction_name, to_address, entry_credit_factoshis)[1] if not error_message: error_message = self.add_fee_to_transaction(transaction_name, from_address)[1] if not error_message: error_message = self.sign_transaction(transaction_name)[1] if not error_message: transaction, error_message = self.compose_transaction(transaction_name) if not error_message: result, error_message = self.submit_factoid_transaction(transaction) if error_message: return_data = '' else: return_data = result['txid'] return return_data, error_message def create_new_transaction(self, transaction_name): ''' Create new transaction :param transaction_name: str, name of the transaction :return return_data: if API call succeeds, transaction JSON block containing: feesrequired signed name timestamp totalecoutputs totalinputs totaloutputs inputs address amount outputs address amount ecoutputs address amount txid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'tx-name': transaction_name})), "method": 'new-transaction'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def add_input_to_transaction(self, transaction_name, address, amount): ''' Add input to transaction :param transaction_name: str, name of the transaction :param address: str, source of the factoid input :param amount: int, amount of the input in factoshis (factoids * 1e8) :return return_data: if API call succeeds, transaction JSON block containing: feespaid feesrequired signed name timestamp totalecoutputs totalinputs totaloutputs inputs address amount outputs address amount ecoutputs address amount txid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'tx-name': transaction_name, 'address':address,'amount': amount})), "method": 'add-input'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def add_output_to_transaction(self, transaction_name, address, amount): ''' Add output to transaction :param transaction_name: str, name of the transaction :param address: str, destination of the factoid output :param amount: int, amount of the output in factoshis (factoids * 1e8) :return return_data: if API call succeeds, transaction JSON block containing: feespaid feesrequired signed name timestamp totalecoutputs totalinputs totaloutputs inputs address amount outputs address amount ecoutputs address amount txid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'tx-name': transaction_name, 'address':address,'amount': amount})), "method": 'add-output'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def add_entry_credit_output_to_transaction(self, transaction_name, address, amount): ''' Add entry credit output to transaction :param transaction_name: str, name of the transaction :param address: str, destination of the entry credit output :param amount: int, amount of the entry credit output in factoshis (factoids * 1e8) :return return_data: if API call succeeds, transaction JSON block containing: feespaid feesrequired signed name timestamp totalecoutputs totalinputs totaloutputs inputs address amount outputs address amount ecoutputs address amount txid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'tx-name': transaction_name, 'address':address,'amount': amount})), "method": 'add-ec-output'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def add_fee_to_transaction(self, transaction_name, address): ''' Add fee onto one of the inputs to a transaction :param transaction_name: str, name of the transaction :param address: str, source address from which to increase the input in order to cover the needed fee :return return_data: if API call succeeds, transaction JSON block containing: feespaid feesrequired signed name timestamp totalecoutputs totalinputs totaloutputs inputs address amount outputs address amount ecoutputs address amount txid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'tx-name': transaction_name, 'address': address})), "method": 'add-fee'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def subtract_fee_from_transaction(self, transaction_name, address): ''' Subtract fee from one of the outputs of a transaction :param transaction_name: str, name of the transaction :param address: str, destination address from which to subtract the needed fee :return return_data: if API call succeeds, transaction JSON block containing: feespaid feesrequired signed name timestamp totalecoutputs totalinputs totaloutputs inputs address amount outputs address amount ecoutputs address amount txid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'tx-name': transaction_name, 'address': address})), "method": 'sub-fee'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def sign_transaction(self, transaction_name): ''' Attach signatures of (data + each input private key) to a transaction :param transaction_name: str, name of the transaction :return return_data: if API call succeeds, transaction JSON block containing: feespaid feesrequired signed name timestamp totalecoutputs totalinputs totaloutputs inputs address amount outputs address amount ecoutputs address amount txid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'tx-name': transaction_name})), "method": 'sign-transaction'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def compose_transaction(self, transaction_name): ''' Create the message that can then be sent in a 'factoid-submit' API call to create an entire transaction at a later time :param transaction_name: str, name of the transaction :return return_data: if API call succeeds, message that can then be sent in a 'factoid-submit' API call to create an entire transaction at a later time if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.wallet_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'tx-name': transaction_name})), "method": 'compose-transaction'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block["result"]['params']['transaction'] error_message = '' return return_data, error_message def submit_factoid_transaction(self, transaction): ''' Submit previously composed transaction :param transaction: str, full transaction hash of previously composed transaction :return return_data: if API call succeeds, transaction JSON block containing: message":"Successfully submitted the transaction" txid if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'transaction': transaction})), "method": 'factoid-submit'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def get_transaction_status(self, hash_or_tx_id, chain_id, fulltransaction=''): ''' This api call is used to find the status of a transaction, whether it be a factoid, commit entry, or reveal entry. It has been inappropriately overloaded. :param hash_or_tx_id: str, tx_id is meant for use with a commit entry or factoid transaction entry hash is meant for use with a reveal entry fulltransaction SHOULD have been folded in here, but wasn't :param chain_id: str, chain_id for factoid transaction is always 000...f, abbreviated to just f chain_id for commit entry is always 000...c, abbreviated to just c chain_id for reveal entry is actual chain_id :param fulltransaction: str, full marshaled transaction may be given instead of entry hash, and the entry hash will be derived from it for factoid transaction: :return txid: str, transaction id :return transactiondate: Unix epoch time, timestamp of transaction, e.g. 1441138021975 :return transactiondatestring: str, timestamp of transaction, e.g. 2015-09-01 15:07:01 :return blockdate: Unix epoch time, timestamp of containing block, e.g. 1441137600000 :return blockdatestring: str, timestamp of transaction, e.g. 2015-09-01 15:00:00 :return status: str, status of the transaction (see status types below) for commit entry or reveal entry: :return committxid: str, transaction id :return entryhash: str, entry hash (for reveal entry only) :return commitdata_status: str, status of the committed entry (see status types below) :return entrydata_status: str, status of the revealed entry (see status types below) (for reveal entry only) status types: Unknown : not found anywhere NotConfirmed : found on local node, but not in network (holding map) TransactionACK : found in network, but not written to the blockchain yet (processList) DBlockConfirmed : found in blockchain ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'hash': hash_or_tx_id, 'chainid': chain_id, 'fulltransaction': fulltransaction})), "method": 'ack'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message # -------------------------------------------------------------------------------------------------- def get_pending_entries(self): ''' Get all pending entries Note: an entry may not show as pending immediately after creation. Some wait time may be necessary. :return return_data: if API call succeeds, entry JSON block containing: EntryHash ChainID if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "method": 'pending-entries'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.get(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message # -------------------------------------------------------------------------------------------------- def get_pending_transactions(self): ''' Get all pending transactions Note: a transaction may not show as pending immediately after creation. Some wait time may be necessary. :return return_data: if API call succeeds, transaction JSON block containing: for each transaction: TransactionID Status Inputs Outputs ECOutputs Fees if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "method": 'pending-transactions'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.get(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result'] error_message = '' return return_data, error_message def get_entry_credit_rate(self): ''' Get entry credit rate :return return_data: if API call succeeds, int, current number of entry credits to which 1 factoid can be converted if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "method": 'entry-credit-rate'} headers = {'content-type': 'text/plain'} print data block = json.loads(requests.get(url, data=json.dumps(data), headers=headers).text) block = json.loads(self.send_get_request_with_method('factomd', 'entry-credit-rate')) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: print 'result', block['result'] return_data = block['result']['rate'] error_message = '' return return_data, error_message def get_entry_credit_balance(self, ec_address): ''' Get entry credit balance by ec address :param ec_address: str, ec address :return return_data: if API call succeeds, int, entry credit address balance in entry credits if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'address': ec_address})), "method": 'entry-credit-balance'} headers = {'content-type': 'text/plain'} block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: return_data = block['result']['balance'] error_message = '' return return_data, error_message def get_all_entry_credit_balances(self): ''' List all entry credit addresses with their respective balances :return address_list: if API call succeeds, list of tuples entry credit address: str balance: int, in entry credits if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' address_list = [] all_addresses, error_message = self.get_all_addresses() if not error_message: for address in all_addresses: if address['public'][0] == 'E': balance, error_message = self.get_entry_credit_balance(address['public']) if not error_message: address_list.append((address['public'], balance)) return address_list, error_message def get_factoid_balance(self, factoid_address): ''' Get factoid balance by factoid address :param factoid_address: str address :return return_data: if API call succeeds, int, factoid address balance in fatoshis (factoids * 10e-8) if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' url = 'http://' + self.factomd_address + '/v2' data = {"jsonrpc": "2.0", "id": 0, "params": ast.literal_eval(json.dumps({'address': factoid_address})), "method": 'factoid-balance'} headers = {'content-type': 'text/plain'} block = json.loads(requests.post(url, data=json.dumps(data), headers=headers).text) if 'error' in block: return_data = block['error'] if 'data' in block['error']: error_message = block['error']['data'] else: error_message = block['error']['message'] else: return_data = block['result']['balance'] error_message = '' return return_data, error_message def get_all_factoid_balances(self): ''' List all factoid addresses with their respective balances :return address_list: if API call succeeds, list of tuples factoid address: str balance: int, in entry credits if API call fails, error JSON block containing: code message data (optional) :return error_message: if API call succeeds, nil if API call fails, useful error message ''' address_list = [] all_addresses, error_message = self.get_all_addresses() if not error_message: for address in all_addresses: if address['public'][0] == 'F': balance, error_message = self.get_factoid_balance(address['public']) if not error_message: address_list.append((address['public'], balance)) return address_list, error_message
44.627163
207
0.566652
5,746
51,589
4.976331
0.057083
0.097783
0.030846
0.03847
0.844408
0.814576
0.806918
0.795167
0.778205
0.761384
0
0.008399
0.323809
51,589
1,155
208
44.665801
0.811289
0.025897
0
0.823944
0
0
0.140723
0.000822
0
0
0
0
0
0
null
null
0
0.005282
null
null
0.105634
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
47df02ee4e483fae735300ec516acd5a0360ec39
79,456
py
Python
memsource_cli/api/conversations_api.py
unofficial-memsource/memsource-cli-client
a6639506b74e95476da87f4375953448b76ea90c
[ "Apache-2.0" ]
16
2019-09-25T00:20:38.000Z
2021-05-04T05:56:10.000Z
memsource_cli/api/conversations_api.py
zerodayz/memsource-cli-client
c2574f1467539a49e6637c874e88d75c7ef789b3
[ "Apache-2.0" ]
26
2019-09-30T14:00:03.000Z
2021-05-12T11:15:18.000Z
memsource_cli/api/conversations_api.py
zerodayz/memsource-cli-client
c2574f1467539a49e6637c874e88d75c7ef789b3
[ "Apache-2.0" ]
1
2021-05-24T16:19:14.000Z
2021-05-24T16:19:14.000Z
# coding: utf-8 """ Memsource REST API Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis-qa-with-the-memsource-api-team/). If you have any questions, please contact [Memsource Support](<mailto:support@memsource.com>). # noqa: E501 OpenAPI spec version: Latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import six from memsource_cli.api_client import ApiClient class ConversationsApi(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen """ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client def add_lqa_comment(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Add LQA comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.add_lqa_comment(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param AddCommentDto body: :return: LQAConversationDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.add_lqa_comment_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 else: (data) = self.add_lqa_comment_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 return data def add_lqa_comment_with_http_info(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Add LQA comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.add_lqa_comment_with_http_info(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param AddCommentDto body: :return: LQAConversationDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id', 'body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method add_lqa_comment" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `add_lqa_comment`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `add_lqa_comment`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId}/comments', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='LQAConversationDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def add_plain_comment(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Add plain comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.add_plain_comment(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param AddCommentDto body: :return: PlainConversationDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.add_plain_comment_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 else: (data) = self.add_plain_comment_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 return data def add_plain_comment_with_http_info(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Add plain comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.add_plain_comment_with_http_info(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param AddCommentDto body: :return: PlainConversationDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id', 'body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method add_plain_comment" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `add_plain_comment`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `add_plain_comment`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/plains/{conversationId}/comments', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PlainConversationDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def create_lqa_conversation(self, job_uid, **kwargs): # noqa: E501 """Create LQA conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.create_lqa_conversation(job_uid, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param CreateLQAConversationDto body: :return: LQAConversationDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.create_lqa_conversation_with_http_info(job_uid, **kwargs) # noqa: E501 else: (data) = self.create_lqa_conversation_with_http_info(job_uid, **kwargs) # noqa: E501 return data def create_lqa_conversation_with_http_info(self, job_uid, **kwargs): # noqa: E501 """Create LQA conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.create_lqa_conversation_with_http_info(job_uid, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param CreateLQAConversationDto body: :return: LQAConversationDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method create_lqa_conversation" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `create_lqa_conversation`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/lqas', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='LQAConversationDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def create_segment_target_conversation(self, job_uid, **kwargs): # noqa: E501 """Create plain conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.create_segment_target_conversation(job_uid, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param CreatePlainConversationDto body: :return: PlainConversationDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.create_segment_target_conversation_with_http_info(job_uid, **kwargs) # noqa: E501 else: (data) = self.create_segment_target_conversation_with_http_info(job_uid, **kwargs) # noqa: E501 return data def create_segment_target_conversation_with_http_info(self, job_uid, **kwargs): # noqa: E501 """Create plain conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.create_segment_target_conversation_with_http_info(job_uid, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param CreatePlainConversationDto body: :return: PlainConversationDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method create_segment_target_conversation" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `create_segment_target_conversation`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/plains', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PlainConversationDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def delete_lqa_comment(self, job_uid, conversation_id, comment_id, **kwargs): # noqa: E501 """Delete LQA comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_lqa_comment(job_uid, conversation_id, comment_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param str comment_id: (required) :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_lqa_comment_with_http_info(job_uid, conversation_id, comment_id, **kwargs) # noqa: E501 else: (data) = self.delete_lqa_comment_with_http_info(job_uid, conversation_id, comment_id, **kwargs) # noqa: E501 return data def delete_lqa_comment_with_http_info(self, job_uid, conversation_id, comment_id, **kwargs): # noqa: E501 """Delete LQA comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_lqa_comment_with_http_info(job_uid, conversation_id, comment_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param str comment_id: (required) :return: None If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id', 'comment_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method delete_lqa_comment" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `delete_lqa_comment`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `delete_lqa_comment`") # noqa: E501 # verify the required parameter 'comment_id' is set if ('comment_id' not in params or params['comment_id'] is None): raise ValueError("Missing the required parameter `comment_id` when calling `delete_lqa_comment`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 if 'comment_id' in params: path_params['commentId'] = params['comment_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId}/comments/{commentId}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type=None, # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def delete_lqa_conversation(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Delete conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_lqa_conversation(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_lqa_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 else: (data) = self.delete_lqa_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 return data def delete_lqa_conversation_with_http_info(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Delete conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_lqa_conversation_with_http_info(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :return: None If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method delete_lqa_conversation" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `delete_lqa_conversation`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `delete_lqa_conversation`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type=None, # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def delete_plain_comment(self, job_uid, conversation_id, comment_id, **kwargs): # noqa: E501 """Delete plain comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_plain_comment(job_uid, conversation_id, comment_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param str comment_id: (required) :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_plain_comment_with_http_info(job_uid, conversation_id, comment_id, **kwargs) # noqa: E501 else: (data) = self.delete_plain_comment_with_http_info(job_uid, conversation_id, comment_id, **kwargs) # noqa: E501 return data def delete_plain_comment_with_http_info(self, job_uid, conversation_id, comment_id, **kwargs): # noqa: E501 """Delete plain comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_plain_comment_with_http_info(job_uid, conversation_id, comment_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param str comment_id: (required) :return: None If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id', 'comment_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method delete_plain_comment" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `delete_plain_comment`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `delete_plain_comment`") # noqa: E501 # verify the required parameter 'comment_id' is set if ('comment_id' not in params or params['comment_id'] is None): raise ValueError("Missing the required parameter `comment_id` when calling `delete_plain_comment`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 if 'comment_id' in params: path_params['commentId'] = params['comment_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/plains/{conversationId}/comments/{commentId}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type=None, # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def delete_plain_conversation(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Delete plain conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_plain_conversation(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_plain_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 else: (data) = self.delete_plain_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 return data def delete_plain_conversation_with_http_info(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Delete plain conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_plain_conversation_with_http_info(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :return: None If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method delete_plain_conversation" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `delete_plain_conversation`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `delete_plain_conversation`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/plains/{conversationId}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type=None, # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def find_conversations(self, **kwargs): # noqa: E501 """Find all conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.find_conversations(async_req=True) >>> result = thread.get() :param async_req bool :param FindConversationsDto body: :return: ConversationListDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.find_conversations_with_http_info(**kwargs) # noqa: E501 else: (data) = self.find_conversations_with_http_info(**kwargs) # noqa: E501 return data def find_conversations_with_http_info(self, **kwargs): # noqa: E501 """Find all conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.find_conversations_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool :param FindConversationsDto body: :return: ConversationListDto If the method is called asynchronously, returns the request thread. """ all_params = ['body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method find_conversations" % key ) params[key] = val del params['kwargs'] collection_formats = {} path_params = {} query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/conversations/find', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='ConversationListDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def get_lqa_conversation(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Get LQA conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_lqa_conversation(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :return: LQAConversationDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_lqa_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 else: (data) = self.get_lqa_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 return data def get_lqa_conversation_with_http_info(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Get LQA conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_lqa_conversation_with_http_info(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :return: LQAConversationDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_lqa_conversation" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `get_lqa_conversation`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `get_lqa_conversation`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='LQAConversationDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def get_plain_conversation(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Get plain conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_plain_conversation(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :return: PlainConversationDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_plain_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 else: (data) = self.get_plain_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 return data def get_plain_conversation_with_http_info(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Get plain conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_plain_conversation_with_http_info(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :return: PlainConversationDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_plain_conversation" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `get_plain_conversation`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `get_plain_conversation`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/plains/{conversationId}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PlainConversationDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def list_all_conversations(self, job_uid, **kwargs): # noqa: E501 """List all conversations # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.list_all_conversations(job_uid, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param bool include_deleted: :param str since: :return: ConversationListDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.list_all_conversations_with_http_info(job_uid, **kwargs) # noqa: E501 else: (data) = self.list_all_conversations_with_http_info(job_uid, **kwargs) # noqa: E501 return data def list_all_conversations_with_http_info(self, job_uid, **kwargs): # noqa: E501 """List all conversations # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.list_all_conversations_with_http_info(job_uid, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param bool include_deleted: :param str since: :return: ConversationListDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'include_deleted', 'since'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method list_all_conversations" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `list_all_conversations`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 query_params = [] if 'include_deleted' in params: query_params.append(('includeDeleted', params['include_deleted'])) # noqa: E501 if 'since' in params: query_params.append(('since', params['since'])) # noqa: E501 header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='ConversationListDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def list_lqa_conversations(self, job_uid, **kwargs): # noqa: E501 """List LQA conversations # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.list_lqa_conversations(job_uid, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param bool include_deleted: :param str since: :return: LQAConversationsListDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.list_lqa_conversations_with_http_info(job_uid, **kwargs) # noqa: E501 else: (data) = self.list_lqa_conversations_with_http_info(job_uid, **kwargs) # noqa: E501 return data def list_lqa_conversations_with_http_info(self, job_uid, **kwargs): # noqa: E501 """List LQA conversations # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.list_lqa_conversations_with_http_info(job_uid, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param bool include_deleted: :param str since: :return: LQAConversationsListDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'include_deleted', 'since'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method list_lqa_conversations" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `list_lqa_conversations`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 query_params = [] if 'include_deleted' in params: query_params.append(('includeDeleted', params['include_deleted'])) # noqa: E501 if 'since' in params: query_params.append(('since', params['since'])) # noqa: E501 header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/lqas', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='LQAConversationsListDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def list_plain_conversations(self, job_uid, **kwargs): # noqa: E501 """List plain conversations # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.list_plain_conversations(job_uid, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param bool include_deleted: :param str since: :return: PlainConversationsListDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.list_plain_conversations_with_http_info(job_uid, **kwargs) # noqa: E501 else: (data) = self.list_plain_conversations_with_http_info(job_uid, **kwargs) # noqa: E501 return data def list_plain_conversations_with_http_info(self, job_uid, **kwargs): # noqa: E501 """List plain conversations # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.list_plain_conversations_with_http_info(job_uid, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param bool include_deleted: :param str since: :return: PlainConversationsListDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'include_deleted', 'since'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method list_plain_conversations" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `list_plain_conversations`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 query_params = [] if 'include_deleted' in params: query_params.append(('includeDeleted', params['include_deleted'])) # noqa: E501 if 'since' in params: query_params.append(('since', params['since'])) # noqa: E501 header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/plains', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PlainConversationsListDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def update_lqa_comment(self, job_uid, conversation_id, comment_id, **kwargs): # noqa: E501 """Edit LQA comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_lqa_comment(job_uid, conversation_id, comment_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param str comment_id: (required) :param AddCommentDto body: :return: LQAConversationDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.update_lqa_comment_with_http_info(job_uid, conversation_id, comment_id, **kwargs) # noqa: E501 else: (data) = self.update_lqa_comment_with_http_info(job_uid, conversation_id, comment_id, **kwargs) # noqa: E501 return data def update_lqa_comment_with_http_info(self, job_uid, conversation_id, comment_id, **kwargs): # noqa: E501 """Edit LQA comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_lqa_comment_with_http_info(job_uid, conversation_id, comment_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param str comment_id: (required) :param AddCommentDto body: :return: LQAConversationDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id', 'comment_id', 'body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method update_lqa_comment" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `update_lqa_comment`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `update_lqa_comment`") # noqa: E501 # verify the required parameter 'comment_id' is set if ('comment_id' not in params or params['comment_id'] is None): raise ValueError("Missing the required parameter `comment_id` when calling `update_lqa_comment`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 if 'comment_id' in params: path_params['commentId'] = params['comment_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId}/comments/{commentId}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='LQAConversationDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def update_lqa_conversation(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Edit LQA conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_lqa_conversation(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param EditLQAConversationDto body: :return: LQAConversationDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.update_lqa_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 else: (data) = self.update_lqa_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 return data def update_lqa_conversation_with_http_info(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Edit LQA conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_lqa_conversation_with_http_info(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param EditLQAConversationDto body: :return: LQAConversationDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id', 'body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method update_lqa_conversation" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `update_lqa_conversation`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `update_lqa_conversation`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='LQAConversationDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def update_plain_comment(self, job_uid, conversation_id, comment_id, **kwargs): # noqa: E501 """Edit plain comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_plain_comment(job_uid, conversation_id, comment_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param str comment_id: (required) :param AddCommentDto body: :return: PlainConversationDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.update_plain_comment_with_http_info(job_uid, conversation_id, comment_id, **kwargs) # noqa: E501 else: (data) = self.update_plain_comment_with_http_info(job_uid, conversation_id, comment_id, **kwargs) # noqa: E501 return data def update_plain_comment_with_http_info(self, job_uid, conversation_id, comment_id, **kwargs): # noqa: E501 """Edit plain comment # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_plain_comment_with_http_info(job_uid, conversation_id, comment_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param str comment_id: (required) :param AddCommentDto body: :return: PlainConversationDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id', 'comment_id', 'body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method update_plain_comment" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `update_plain_comment`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `update_plain_comment`") # noqa: E501 # verify the required parameter 'comment_id' is set if ('comment_id' not in params or params['comment_id'] is None): raise ValueError("Missing the required parameter `comment_id` when calling `update_plain_comment`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 if 'comment_id' in params: path_params['commentId'] = params['comment_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/plains/{conversationId}/comments/{commentId}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PlainConversationDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def update_plain_conversation(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Edit plain conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_plain_conversation(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param EditPlainConversationDto body: :return: PlainConversationDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.update_plain_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 else: (data) = self.update_plain_conversation_with_http_info(job_uid, conversation_id, **kwargs) # noqa: E501 return data def update_plain_conversation_with_http_info(self, job_uid, conversation_id, **kwargs): # noqa: E501 """Edit plain conversation # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_plain_conversation_with_http_info(job_uid, conversation_id, async_req=True) >>> result = thread.get() :param async_req bool :param str job_uid: (required) :param str conversation_id: (required) :param EditPlainConversationDto body: :return: PlainConversationDto If the method is called asynchronously, returns the request thread. """ all_params = ['job_uid', 'conversation_id', 'body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method update_plain_conversation" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'job_uid' is set if ('job_uid' not in params or params['job_uid'] is None): raise ValueError("Missing the required parameter `job_uid` when calling `update_plain_conversation`") # noqa: E501 # verify the required parameter 'conversation_id' is set if ('conversation_id' not in params or params['conversation_id'] is None): raise ValueError("Missing the required parameter `conversation_id` when calling `update_plain_conversation`") # noqa: E501 collection_formats = {} path_params = {} if 'job_uid' in params: path_params['jobUid'] = params['job_uid'] # noqa: E501 if 'conversation_id' in params: path_params['conversationId'] = params['conversation_id'] # noqa: E501 query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = [] # noqa: E501 return self.api_client.call_api( '/api2/v1/jobs/{jobUid}/conversations/plains/{conversationId}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PlainConversationDto', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats)
40.851414
421
0.614554
9,026
79,456
5.140151
0.023045
0.052247
0.03259
0.036211
0.981097
0.979631
0.978726
0.976635
0.974286
0.972346
0
0.017104
0.294326
79,456
1,944
422
40.872428
0.810344
0.304194
0
0.838679
0
0
0.220854
0.060544
0
0
0
0
0
1
0.034906
false
0
0.003774
0
0.090566
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
9a409117867f8277782130cdddf7906eb5bce7f6
11,918
py
Python
run.py
justletterh/variousdiscbotsig
5eaf8a060141c6db9b881b8d545eda13c5b7af5d
[ "Unlicense" ]
2
2020-04-18T18:20:46.000Z
2020-05-15T14:34:31.000Z
run.py
justletterh/variousdiscbotsig
5eaf8a060141c6db9b881b8d545eda13c5b7af5d
[ "Unlicense" ]
null
null
null
run.py
justletterh/variousdiscbotsig
5eaf8a060141c6db9b881b8d545eda13c5b7af5d
[ "Unlicense" ]
null
null
null
import subprocess import asyncio import threading import time import os startscreen =f"\033[32;1m.----------------. .----------------. .----------------. .----------------.\n| \033[34;1m.--------------. \033[32;1m|| \033[34;1m.--------------. \033[32;1m|| \033[34;1m.--------------. \033[32;1m|| \033[34;1m.--------------. \033[32;1m|\n| \033[34;1m|\033[30;1m ____ ____ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m ______ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m ____ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m _________ \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m |_ || _| \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m |_ _ \ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m .' `. \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m | _ _ | \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m | |__| | \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m | |_) | \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m / .--. \ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m |_/ | | \_| \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m | __ | \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m | __'. \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m | | | | \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m | | \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m _| | | |_ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m _| |__) | \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m \ `--' / \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m _| |_ \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m |____||____| \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m |_______/ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m `.____.' \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m |_____| \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m \033[34;1m| \033[32;1m|\n| \033[34;1m'--------------' \033[32;1m|| \033[34;1m'--------------' \033[32;1m|| \033[34;1m'--------------' \033[32;1m|| \033[34;1m'--------------' \033[32;1m|\n '----------------' '----------------' '----------------' '----------------'\n .----------------. .----------------. .----------------. .----------------.\n| \033[34;1m.--------------. \033[32;1m|| \033[34;1m.--------------. \033[32;1m|| \033[34;1m.--------------. \033[32;1m|| \033[34;1m.--------------. \033[32;1m|\n| \033[34;1m|\033[30;1m ______ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m ____ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m ____ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m _________ \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m |_ _ \ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m .' `. \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m .' `. \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m | _ _ | \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m | |_) | \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m / .--. \ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m / .--. \ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m |_/ | | \_| \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m | __'. \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m | | | | \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m | | | | \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m | | \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m _| |__) | \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m \ `--' / \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m \ `--' / \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m _| |_ \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m |_______/ \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m `.____.' \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m `.____.' \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m |_____| \033[34;1m| \033[32;1m|\n| \033[34;1m|\033[30;1m \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m \033[34;1m| \033[32;1m|| \033[34;1m|\033[30;1m \033[34;1m| \033[32;1m|\n| \033[34;1m'--------------' \033[32;1m|| \033[34;1m'--------------' \033[32;1m|| \033[34;1m'--------------' \033[32;1m|| \033[34;1m'--------------' \033[32;1m|\n '----------------' '----------------' '----------------' '----------------' \033[m" print(startscreen) print('\033[37;1mM\033[31;1ma\033[33;1md\033[32;1me \033[34;1mb\033[36;1my \033[35;1mH\033[m') time.sleep(1) print('\033[35;1m------------------------------------------'+'\033[32;1m'+'['+'\033[31;1m'+'START'+'\033[32;1m'+']'+ '\033[m'+'\033[35;1m------------------------------------------\033[m') def py(): process = subprocess.Popen(['python3', '-u', 'python/bot.py'], stdout=subprocess.PIPE, universal_newlines=True) while True: output = process.stdout.readline() if output.strip() != '': print('[\033[33;1mpyt\033[36;1mhon\033[m] ', output.strip()) return_code = process.poll() if return_code is not None: print('[\033[33;1mpyt\033[36;1mhon\033[m] ', 'RETURN CODE', return_code) for output in process.stdout.readlines(): print('[\033[31;1mru\033[35;1mby\033[m] ', output.strip()) break def rb(): process = subprocess.Popen(['ruby', 'ruby/bot.rb'], stdout=subprocess.PIPE, universal_newlines=True) while True: output = process.stdout.readline() if output.strip() != '': print('[\033[31;1mru\033[35;1mby\033[m] ', output.strip()) return_code = process.poll() if return_code is not None: print('[\033[31;1mru\033[35;1mby\033[m] ', 'RETURN CODE', return_code) for output in process.stdout.readlines(): print('[\033[31;1mru\033[35;1mby\033[m] ', output.strip()) break def js(): process = subprocess.Popen(['node', 'javascript/bot.js'], stdout=subprocess.PIPE, universal_newlines=True) while True: output = process.stdout.readline() if output.strip() != '': print('[\033[35;1mja\033[33;1mvascri\033[35;1mpt\033[m] ', output.strip()) return_code = process.poll() if return_code is not None: print('[\033[35;1mja\033[33;1mvascri\033[35;1mpt\033[m] ', 'RETURN CODE', return_code) for output in process.stdout.readlines(): print('[\033[35;1mja\033[33;1mvascri\033[35;1mpt\033[m] ', output.strip()) break def ph(): process = subprocess.Popen(['php', 'php/bot.php'], stdout=subprocess.PIPE, universal_newlines=True) while True: output = process.stdout.readline() if output.strip() != '': print('[\033[34;1mp\033[30;1mh\033[34;1mp\033[m] ', output.strip()) return_code = process.poll() if return_code is not None: print('[\033[34;1mp\033[30;1mh\033[34;1mp\033[m] ', 'RETURN CODE', return_code) for output in process.stdout.readlines(): print('[\033[34;1mp\033[30;1mh\033[34;1mp\033[m] ', output.strip()) break def lu(): process = subprocess.Popen(['luvit', 'lua/bot.lua'], stdout=subprocess.PIPE, universal_newlines=True) while True: output = process.stdout.readline() if output.strip() != '': print('[\033[31;1ml\033[32;1mu\033[34;1ma\033[m] ', output.strip()) return_code = process.poll() if return_code is not None: print('[\033[31;1ml\033[32;1mu\033[34;1ma\033[m] ', 'RETURN CODE', return_code) for output in process.stdout.readlines(): print('[\033[31;1ml\033[32;1mu\033[34;1ma\033[m] ', output.strip()) break def go(): process = subprocess.Popen(['go', 'run', 'golang/bot.go'], stdout=subprocess.PIPE, universal_newlines=True) while True: output = process.stdout.readline() if output.strip() != '': print('[\033[36;1mg\033[32;1mo\033[m] ', output.strip()) return_code = process.poll() if return_code is not None: print('[\033[36;1mg\033[32;1mo\033[m] ', 'RETURN CODE', return_code) for output in process.stdout.readlines(): print('[\033[36;1mg\033[32;1mo\033[m] ', output.strip()) break def cr(): process = subprocess.Popen(['crystal', 'crystal/bot.cr'], stdout=subprocess.PIPE, universal_newlines=True) while True: output = process.stdout.readline() if output.strip() != '': print('[\033[31;1mcry\033[33;1ms\033[30;1mtal\033[m] ', output.strip()) return_code = process.poll() if return_code is not None: print('[\033[31;1mcry\033[33;1ms\033[30;1mtal\033[m] ', 'RETURN CODE', return_code) for output in process.stdout.readlines(): print('[\033[31;1mcry\033[33;1ms\033[30;1mtal\033[m] ', output.strip()) break def vb(): process = subprocess.Popen(['cd visualbasic/Example1&&dotnet run'], stdout=subprocess.PIPE, universal_newlines=True, shell=True) while True: output = process.stdout.readline() if output.strip() != '': print('[\033[35;1mvisual\033[34;1mbasic\033[m] ', output.strip()) return_code = process.poll() if return_code is not None: print('[\033[35;1mvisual\033[34;1mbasic\033[m] ', 'RETURN CODE', return_code) for output in process.stdout.readlines(): print('[\033[35;1mvisual\033[34;1mbasic\033[m] ', output.strip()) break def da(): process = subprocess.Popen(['dart', 'dart/bot.dart'], stdout=subprocess.PIPE, universal_newlines=True) while True: output = process.stdout.readline() if output.strip() != '': print('[\033[34;1mda\033[36;1mrt\033[m] ', output.strip()) return_code = process.poll() if return_code is not None: print('[\033[34;1mda\033[36;1mrt\033[m] ', 'RETURN CODE', return_code) for output in process.stdout.readlines(): print('[\033[34;1mda\033[36;1mrt\033[m] ', output.strip()) break async def main(): global threads threads = [] pyt = threading.Thread(target=py) pyt.start() threads.append(pyt) rub = threading.Thread(target=rb) rub.start() threads.append(rub) jas = threading.Thread(target=js) jas.start() threads.append(jas) php = threading.Thread(target=ph) php.start() threads.append(php) lua = threading.Thread(target=lu) lua.start() threads.append(lua) gol = threading.Thread(target=go) gol.start() threads.append(gol) cry = threading.Thread(target=cr) cry.start() threads.append(cry) vib = threading.Thread(target=vb) vib.start() threads.append(vib) dar = threading.Thread(target=da) dar.start() threads.append(dar) asyncio.run(main()) for process in threads: process.join() print('\033[35;1m------------------------------------------'+'\033[32;1m'+'['+'\033[31;1m'+'DONE'+'\033[32;1m'+']'+ '\033[m'+'\033[35;1m------------------------------------------\033[m') print('\033[37;1mM\033[31;1ma\033[33;1md\033[32;1me \033[34;1mb\033[36;1my \033[35;1mH\033[m')
68.890173
4,390
0.505202
1,731
11,918
3.382438
0.067591
0.210077
0.153032
0.218617
0.826132
0.825278
0.810077
0.810077
0.810077
0.794193
0
0.239304
0.233177
11,918
172
4,391
69.290698
0.401357
0
0
0.575581
0
0.087209
0.518376
0.257258
0
0
0
0
0
1
0.052326
false
0
0.02907
0
0.081395
0.186047
0
0
0
null
1
0
1
1
1
1
1
1
1
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
9a40b30e6f6dcc07bb948c7c2b899260f3dc114f
7,019
py
Python
Patterns/tambibhavika2000.py
sanchit781/HACKTOBERFEST2021_PATTERN
c457eb2a1c7b729bdaa26ade7d4c7eb4092291e2
[ "MIT" ]
229
2021-09-10T13:24:47.000Z
2022-03-18T16:54:29.000Z
Patterns/tambibhavika2000.py
sanchit781/HACKTOBERFEST2021_PATTERN
c457eb2a1c7b729bdaa26ade7d4c7eb4092291e2
[ "MIT" ]
164
2021-09-10T12:04:39.000Z
2021-10-29T21:20:42.000Z
Patterns/tambibhavika2000.py
sanchit781/HACKTOBERFEST2021_PATTERN
c457eb2a1c7b729bdaa26ade7d4c7eb4092291e2
[ "MIT" ]
567
2021-09-10T17:35:27.000Z
2021-12-11T12:45:43.000Z
def A(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0 or j==6): print("*",end='') else: if(i==2): print("*",end='') else: print(" ",end='') print() def B(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0 or j==6): print("*",end='') else: if(i==2 or i==5): print("*",end='') else: print(" ",end='') print() def C(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0): print("*",end='') else: if(i==5): print("*",end='') else: print(" ",end='') print() def D(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0 or j==6): print("*",end='') else: if(i==5): print("*",end='') else: print(" ",end='') print() def E(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0): print("*",end='') else: if(i==2 or i==5): print("*",end='') else: print(" ",end='') print() def F(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0): print("*",end='') else: if(i==2): print("*",end='') else: print(" ",end='') print() def G(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0): print("*",end='') if(j==6 and i>=3): print("*",end='') else: if((j>=2 and j<=4) and (i==2)): print("*",end='') if(i==5): print("*",end='') else: print(" ",end='') print() def H(): for i in range(7): for j in range(7): if(j==0 or j==6): print("*",end='') else: if(i==3): print("*",end='') else: print(" ",end='') print() def I(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==3): print("*",end='') else: if(i==5): print("*",end='') else: print(" ",end='') print() def J(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==3): print("*",end='') else: if(i==5 and j<=3): print("*",end='') else: print(" ",end='') print() def K(): a = 0 b = 3 for i in range(7): for j in range(7): if j == 0 or (i == (j+(7//3)) and j > 0): print("*", end=" ") elif i == a and j == b: print("*", end=" ") a = a+1 b = b-1 else: print(" ", end=" ") print() def L(): for i in range(7): for j in range(7): if(j==0): print("*",end='') else: if(i==6): print("*",end='') else: print(" ",end='') print() def M(): for i in range(7): for j in range(7): if(j==0 or j==6): print("*",end='') if((j==i or j==6-i) and j!=0 and j!=6 and i<=3): print("*",end='') else: print(" ",end='') print() def N(): for i in range(7): for j in range(7): if(j==0 or j==6): print("*",end='') if(j==i and j!=0 and j!=6): print("*",end='') else: print(" ",end='') print() def O(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0 or j==6): print("*",end='') else: if(i==5): print("*",end='') else: print(" ",end='') print() def P(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0): print("*",end='') if(j==6 and i<=2): print("*",end='') else: if(i==2): print("*",end='') else: print(" ",end='') print() def Q(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(6): if(j==0 or j==5): print("*",end='') if(i>=2 and j>=2 and i==j and i!=5): print("*",end='') else: if(i==5 and j<=4): print("*",end='') else: print(" ",end='') print() def R(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0): print("*",end='') if(j==5 and i<=2): print("*",end='') if(i>=2 and j>=2 and i==j): print("*",end='') else: if(i==2 and j<5): print("*",end='') else: print(" ",end='') print() def S(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==0 and i<2): print("*",end='') if(j==6 and i>=2): print("*",end='') else: if(i==2 or i==5): print("*",end='') else: print(" ",end='') print() def T(): for i in range(7): print("*",end='') print() for i in range(6): for j in range(7): if(j==3): print("*",end='') else: print(" ",end='') print() def U(): for i in range(7): for j in range(7): if(j==0 or j==6): print("*",end='') else: if(i==6): print("*",end='') else: print(" ",end='') print() def V(): i = 6 j = 1 for i in range(6, -1, -1): for j in range(6, i, -1): print(' ', end = '') print("*", end = '') for j in range(1, i * 2): print(' ', end = '') if (i >= 1): print("*", end = '') print() def W(): for i in range(7): for j in range(7): if(j==0 or j==6): print("*",end='') if((j==i or j==6-i) and j!=0 and j!=6 and i>=3): print("*",end='') else: print(" ",end='') print() def X(): for i in range(7): for j in range(7): if(i==j or i+j==6): print("*",end='') else: print(' ',end="") print() def Y(): for i in range(7): for j in range(7): if((i==j or i+j==6) and i<=3): print("*",end='') if(i>3 and j==3): print("*",end='') else: print(' ',end="") print() def Z(): for i in range(7): if(i==0 or i==6): print('*'*7) for j in range(7): if(i+j==5): print("*",end='') else: print(' ',end="") print() A() B() C() D() E() F() G() H() I() J() K() L() M() N() O() P() Q() R() S() T() U() V() W() X() Y() Z()
16.954106
54
0.366576
1,032
7,019
2.493217
0.043605
0.304703
0.152351
0.175282
0.940925
0.900894
0.88768
0.86164
0.82705
0.780412
0
0.040261
0.387805
7,019
414
55
16.954106
0.558529
0
0
0.758242
0
0
0.01453
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0.384615
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
7be42211e59788d7d6a97eadbe1566885a60bea9
7,092
py
Python
updateExtent.py
UAlbanyArchives/ua395
d87ea25af2968aca65614f1e3bbf3d49e11d349a
[ "MIT" ]
1
2018-08-08T15:59:55.000Z
2018-08-08T15:59:55.000Z
updateExtent.py
UAlbanyArchives/ua395
d87ea25af2968aca65614f1e3bbf3d49e11d349a
[ "MIT" ]
null
null
null
updateExtent.py
UAlbanyArchives/ua395
d87ea25af2968aca65614f1e3bbf3d49e11d349a
[ "MIT" ]
null
null
null
# coding: utf-8 import os from lxml import etree as ET import math eadFile = "\\\\romeo\\Collect\\spe\\Greg\\Processing\\ua395\\ua395T.xml" parser = ET.XMLParser(remove_blank_text=True) eadInput = ET.parse(eadFile, parser) ead = eadInput.getroot() for c01 in ead.find("archdesc/dsc"): if c01.tag == "c01": for c02 in c01: if c02.tag == "c02": for c03 in c02: if c03.tag == "c03": if "label" in c03.find("did/unittitle").attrib: files = 0 sizeMB = 0 physdesc = c03.find("did/physdesc") for child in c03: if child.tag == "c04": if child.find("did/physdesc/dimensions") is None: pass else: files = files + int(child.find("did/physdesc/dimensions").text) if child.find("did/physdesc/extent") is None: pass elif child.find("did/physdesc/extent").attrib["unit"] == "MB": sizeMB = sizeMB + float(child.find("did/physdesc/extent").text) elif child.find("did/physdesc/extent").attrib["unit"] == "GB": cmpntMB = float(child.find("did/physdesc/extent").text) * 1024 sizeMB = sizeMB + cmpntMB if physdesc.find("extent") is None: extent = ET.Element("extent") if sizeMB > 1023: sizeGB = sizeMB / 1024 extent.text = str(math.ceil(sizeGB*100)/100) extent.set("unit", "GB") else: extent.text = str(sizeMB) extent.set("unit", "MB") physdesc.insert(0, extent) else: if sizeMB > 1023: sizeGB = sizeMB / 1024 physdesc.find("extent").text = str(math.ceil(sizeGB*100)/100) physdesc.find("extent").set("unit", "GB") else: physdesc.find("extent").text = str(sizeMB) physdesc.find("extent").set("unit", "MB") if physdesc.find("dimensions") is None: dimensions = ET.SubElement(physdesc, "dimensions") dimensions.text = str(files) dimensions.set("unit", "Digital Files") else: physdesc.find("dimensions").text = str(files) physdesc.find("dimensions").set("unit", "Digital Files") for c01 in ead.find("archdesc/dsc"): if c01.tag == "c01": for c02 in c01: if c02.tag == "c02": if "label" in c02.find("did/unittitle").attrib: files = 0 sizeMB = 0 physdesc = c02.find("did/physdesc") for child in c02: if child.tag == "c03": if child.find("did/physdesc/dimensions") is None: pass else: files = files + int(child.find("did/physdesc/dimensions").text) if child.find("did/physdesc/extent") is None: pass elif child.find("did/physdesc/extent").attrib["unit"] == "MB": sizeMB = sizeMB + float(child.find("did/physdesc/extent").text) elif child.find("did/physdesc/extent").attrib["unit"] == "GB": cmpntMB = float(child.find("did/physdesc/extent").text) * 1024 sizeMB = sizeMB + cmpntMB if physdesc.find("extent") is None: extent = ET.Element("extent") if sizeMB > 1023: sizeGB = sizeMB / 1024 extent.text = str(math.ceil(sizeGB*100)/100) extent.set("unit", "GB") else: extent.text = str(sizeMB) extent.set("unit", "MB") physdesc.insert(0, extent) else: if sizeMB > 1023: sizeGB = sizeMB / 1024 physdesc.find("extent").text = str(math.ceil(sizeGB*100)/100) physdesc.find("extent").set("unit", "GB") else: physdesc.find("extent").text = str(sizeMB) physdesc.find("extent").set("unit", "MB") if physdesc.find("dimensions") is None: dimensions = ET.SubElement(physdesc, "dimensions") dimensions.text = str(files) dimensions.set("unit", "Digital Files") else: physdesc.find("dimensions").text = str(files) physdesc.find("dimensions").set("unit", "Digital Files") for c01 in ead.find("archdesc/dsc"): if c01.tag == "c01": if "label" in c01.find("did/unittitle").attrib: files = 0 sizeMB = 0 physdesc = c01.find("did/physdesc") for child in c01: if child.tag == "c02": if child.find("did/physdesc/dimensions") is None: pass else: files = files + int(child.find("did/physdesc/dimensions").text) if child.find("did/physdesc/extent") is None: pass elif child.find("did/physdesc/extent").attrib["unit"] == "MB": sizeMB = sizeMB + float(child.find("did/physdesc/extent").text) elif child.find("did/physdesc/extent").attrib["unit"] == "GB": cmpntMB = float(child.find("did/physdesc/extent").text) * 1024 sizeMB = sizeMB + cmpntMB if physdesc.find("extent") is None: extent = ET.Element("extent") if sizeMB > 1023: sizeGB = sizeMB / 1024 extent.text = str(math.ceil(sizeGB*100)/100) extent.set("unit", "GB") else: extent.text = str(sizeMB) extent.set("unit", "MB") physdesc.insert(0, extent) else: if sizeMB > 1023: sizeGB = sizeMB / 1024 physdesc.find("extent").text = str(math.ceil(sizeGB*100)/100) physdesc.find("extent").set("unit", "GB") else: physdesc.find("extent").text = str(sizeMB) physdesc.find("extent").set("unit", "MB") if physdesc.find("dimensions") is None: dimensions = ET.SubElement(physdesc, "dimensions") dimensions.text = str(files) dimensions.set("unit", "Digital Files") else: physdesc.find("dimensions").text = str(files) physdesc.find("dimensions").set("unit", "Digital Files") files = 0 sizeMB = 0 physdesc = ead.find("archdesc/did/physdesc") for child in ead.find("archdesc/dsc"): if child.tag == "c01": if child.find("did/physdesc/dimensions") is None: pass else: files = files + int(child.find("did/physdesc/dimensions").text) if child.find("did/physdesc/extent") is None: pass elif child.find("did/physdesc/extent").attrib["unit"] == "MB": sizeMB = sizeMB + float(child.find("did/physdesc/extent").text) elif child.find("did/physdesc/extent").attrib["unit"] == "GB": cmpntMB = float(child.find("did/physdesc/extent").text) * 1024 sizeMB = sizeMB + cmpntMB if physdesc.find("extent") is None: extent = ET.Element("extent") if sizeMB > 1023: sizeGB = sizeMB / 1024 extent.text = str(math.ceil(sizeGB*100)/100) extent.set("unit", "GB") else: extent.text = str(sizeMB) extent.set("unit", "MB") physdesc.insert(0, extent) else: if sizeMB > 1023: sizeGB = sizeMB / 1024 physdesc.find("extent").text = str(math.ceil(sizeGB*100)/100) physdesc.find("extent").set("unit", "GB") else: physdesc.find("extent").text = str(sizeMB) physdesc.find("extent").set("unit", "MB") if physdesc.find("dimensions") is None: dimensions = ET.SubElement(physdesc, "dimensions") dimensions.text = str(files) dimensions.set("unit", "Digital Files") else: physdesc.find("dimensions").text = str(files) physdesc.find("dimensions").set("unit", "Digital Files") eadString = ET.tostring(ead, pretty_print=True, xml_declaration=True, encoding="utf-8") eadOutput = open(eadFile, "w") eadOutput.write(eadString) eadOutput.close()
34.935961
87
0.616751
924
7,092
4.729437
0.091991
0.054462
0.106407
0.128146
0.897254
0.888101
0.865904
0.865904
0.865904
0.836384
0
0.038814
0.215313
7,092
203
88
34.935961
0.746451
0.001833
0
0.852632
0
0
0.19822
0.03744
0
0
0
0
0
1
0
false
0.042105
0.015789
0
0.015789
0.005263
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7be4a550210a6b245a1d78a136b7a8fd4c964a3f
27,235
py
Python
src/sdk/python/OsduClient/api/schema_api.py
mstest123/self-managed-osdu_from_Daniel
10a0c1d25804caa920bf18c6c7c1d8e711c63756
[ "MIT" ]
3
2021-11-05T20:52:54.000Z
2021-11-23T23:02:29.000Z
src/sdk/python/OsduClient/api/schema_api.py
mstest123/self-managed-osdu_from_Daniel
10a0c1d25804caa920bf18c6c7c1d8e711c63756
[ "MIT" ]
4
2021-11-05T19:57:08.000Z
2021-12-14T13:59:04.000Z
src/sdk/python/OsduClient/api/schema_api.py
mstest123/self-managed-osdu_from_Daniel
10a0c1d25804caa920bf18c6c7c1d8e711c63756
[ "MIT" ]
36
2021-08-31T20:58:25.000Z
2022-03-30T17:02:57.000Z
# coding: utf-8 """ self-managed-osdu Rest API Documentation for Self Managed OSDU # noqa: E501 OpenAPI spec version: 0.11.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import six from OsduClient.api_client import ApiClient class SchemaApi(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen """ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client def create_schema(self, data_partition_id, body, **kwargs): # noqa: E501 """Adds a schema to the schema repository. # noqa: E501 Adds a schema to the schema repository. The schemaIdentity must be unique. The `authority`, `source` and `entityType` will be registered if not present. If lower minor versions are registered the service validates the new schema against breaking changes; if breaking changes are discovered the request fails. **Note:** The schema must not reference other schemas with status `DEVELOPMENT`. Scope to a schema will be set by system based on partition id (`SHARED` for common tenant and `INTERNAL` for private tenant). Required roles 'users.datalake.editors' or 'users.datalake.admins' groups to create schema. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.create_schema(data_partition_id, body, async_req=True) >>> result = thread.get() :param async_req bool :param str data_partition_id: Specifies the data partition to use. This should be either the partition name or crm account ID associated with the partition. (required) :param SchemaRequest body: (required) :return: SchemaInfo If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.create_schema_with_http_info(data_partition_id, body, **kwargs) # noqa: E501 else: (data) = self.create_schema_with_http_info(data_partition_id, body, **kwargs) # noqa: E501 return data def create_schema_with_http_info(self, data_partition_id, body, **kwargs): # noqa: E501 """Adds a schema to the schema repository. # noqa: E501 Adds a schema to the schema repository. The schemaIdentity must be unique. The `authority`, `source` and `entityType` will be registered if not present. If lower minor versions are registered the service validates the new schema against breaking changes; if breaking changes are discovered the request fails. **Note:** The schema must not reference other schemas with status `DEVELOPMENT`. Scope to a schema will be set by system based on partition id (`SHARED` for common tenant and `INTERNAL` for private tenant). Required roles 'users.datalake.editors' or 'users.datalake.admins' groups to create schema. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.create_schema_with_http_info(data_partition_id, body, async_req=True) >>> result = thread.get() :param async_req bool :param str data_partition_id: Specifies the data partition to use. This should be either the partition name or crm account ID associated with the partition. (required) :param SchemaRequest body: (required) :return: SchemaInfo If the method is called asynchronously, returns the request thread. """ all_params = ['data_partition_id', 'body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method create_schema" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'data_partition_id' is set if self.api_client.client_side_validation and ('data_partition_id' not in params or params['data_partition_id'] is None): # noqa: E501 raise ValueError("Missing the required parameter `data_partition_id` when calling `create_schema`") # noqa: E501 # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in params or params['body'] is None): # noqa: E501 raise ValueError("Missing the required parameter `body` when calling `create_schema`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] header_params = {} if 'data_partition_id' in params: header_params['data-partition-id'] = params['data_partition_id'] # noqa: E501 form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['Bearer'] # noqa: E501 return self.api_client.call_api( '/api/schema-service/v1/schema', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='SchemaInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def get_schema(self, data_partition_id, id, **kwargs): # noqa: E501 """Gets schema from the schema repository. # noqa: E501 Retrieve a schema using its system defined id. Required roles 'users.datalake.viewers' or 'users.datalake.editors' or 'users.datalake.admins' groups to get the schema. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_schema(data_partition_id, id, async_req=True) >>> result = thread.get() :param async_req bool :param str data_partition_id: Specifies the data partition to use. This should be either the partition name or crm account ID associated with the partition. (required) :param str id: the system id of the schema (required) :return: object If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_schema_with_http_info(data_partition_id, id, **kwargs) # noqa: E501 else: (data) = self.get_schema_with_http_info(data_partition_id, id, **kwargs) # noqa: E501 return data def get_schema_with_http_info(self, data_partition_id, id, **kwargs): # noqa: E501 """Gets schema from the schema repository. # noqa: E501 Retrieve a schema using its system defined id. Required roles 'users.datalake.viewers' or 'users.datalake.editors' or 'users.datalake.admins' groups to get the schema. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_schema_with_http_info(data_partition_id, id, async_req=True) >>> result = thread.get() :param async_req bool :param str data_partition_id: Specifies the data partition to use. This should be either the partition name or crm account ID associated with the partition. (required) :param str id: the system id of the schema (required) :return: object If the method is called asynchronously, returns the request thread. """ all_params = ['data_partition_id', 'id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_schema" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'data_partition_id' is set if self.api_client.client_side_validation and ('data_partition_id' not in params or params['data_partition_id'] is None): # noqa: E501 raise ValueError("Missing the required parameter `data_partition_id` when calling `get_schema`") # noqa: E501 # verify the required parameter 'id' is set if self.api_client.client_side_validation and ('id' not in params or params['id'] is None): # noqa: E501 raise ValueError("Missing the required parameter `id` when calling `get_schema`") # noqa: E501 collection_formats = {} path_params = {} if 'id' in params: path_params['id'] = params['id'] # noqa: E501 query_params = [] header_params = {} if 'data_partition_id' in params: header_params['data-partition-id'] = params['data_partition_id'] # noqa: E501 form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['Bearer'] # noqa: E501 return self.api_client.call_api( '/api/schema-service/v1/schema/{id}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='object', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def search_schema_info_repository(self, data_partition_id, **kwargs): # noqa: E501 """Searches schemaInfo repository # noqa: E501 Searches for information of available schema (SchemInfo) in schema repository. Supports options to filter out the search contents. Required roles 'users.datalake.viewers' or 'users.datalake.editors' or 'users.datalake.admins' groups to get the schema. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_schema_info_repository(data_partition_id, async_req=True) >>> result = thread.get() :param async_req bool :param str data_partition_id: Specifies the data partition to use. This should be either the partition name or crm account ID associated with the partition. (required) :param str authority: pass an optional string to search for a specific authority :param str source: pass an optional string to search for a specific source :param str entity_type: pass an optional string to search for a specific entityType :param str schema_version_major: pass an optional string to search for a specific schemaVersionMajor :param str schema_version_minor: pass an optional string to search for a specific schemaVersionMinor :param str status: The schema status specification :param str scope: The scope or schema visibility specification :param bool latest_version: if True, only return the latest version :param int limit: maximum number of schema records to return :param int offset: number of records to skip for pagination :return: SchemaInfoResponse If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.search_schema_info_repository_with_http_info(data_partition_id, **kwargs) # noqa: E501 else: (data) = self.search_schema_info_repository_with_http_info(data_partition_id, **kwargs) # noqa: E501 return data def search_schema_info_repository_with_http_info(self, data_partition_id, **kwargs): # noqa: E501 """Searches schemaInfo repository # noqa: E501 Searches for information of available schema (SchemInfo) in schema repository. Supports options to filter out the search contents. Required roles 'users.datalake.viewers' or 'users.datalake.editors' or 'users.datalake.admins' groups to get the schema. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_schema_info_repository_with_http_info(data_partition_id, async_req=True) >>> result = thread.get() :param async_req bool :param str data_partition_id: Specifies the data partition to use. This should be either the partition name or crm account ID associated with the partition. (required) :param str authority: pass an optional string to search for a specific authority :param str source: pass an optional string to search for a specific source :param str entity_type: pass an optional string to search for a specific entityType :param str schema_version_major: pass an optional string to search for a specific schemaVersionMajor :param str schema_version_minor: pass an optional string to search for a specific schemaVersionMinor :param str status: The schema status specification :param str scope: The scope or schema visibility specification :param bool latest_version: if True, only return the latest version :param int limit: maximum number of schema records to return :param int offset: number of records to skip for pagination :return: SchemaInfoResponse If the method is called asynchronously, returns the request thread. """ all_params = ['data_partition_id', 'authority', 'source', 'entity_type', 'schema_version_major', 'schema_version_minor', 'status', 'scope', 'latest_version', 'limit', 'offset'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method search_schema_info_repository" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'data_partition_id' is set if self.api_client.client_side_validation and ('data_partition_id' not in params or params['data_partition_id'] is None): # noqa: E501 raise ValueError("Missing the required parameter `data_partition_id` when calling `search_schema_info_repository`") # noqa: E501 if self.api_client.client_side_validation and ('limit' in params and params['limit'] > 100): # noqa: E501 raise ValueError("Invalid value for parameter `limit` when calling `search_schema_info_repository`, must be a value less than or equal to `100`") # noqa: E501 if self.api_client.client_side_validation and ('limit' in params and params['limit'] < 0): # noqa: E501 raise ValueError("Invalid value for parameter `limit` when calling `search_schema_info_repository`, must be a value greater than or equal to `0`") # noqa: E501 if self.api_client.client_side_validation and ('offset' in params and params['offset'] < 0): # noqa: E501 raise ValueError("Invalid value for parameter `offset` when calling `search_schema_info_repository`, must be a value greater than or equal to `0`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] if 'authority' in params: query_params.append(('authority', params['authority'])) # noqa: E501 if 'source' in params: query_params.append(('source', params['source'])) # noqa: E501 if 'entity_type' in params: query_params.append(('entityType', params['entity_type'])) # noqa: E501 if 'schema_version_major' in params: query_params.append(('schemaVersionMajor', params['schema_version_major'])) # noqa: E501 if 'schema_version_minor' in params: query_params.append(('schemaVersionMinor', params['schema_version_minor'])) # noqa: E501 if 'status' in params: query_params.append(('status', params['status'])) # noqa: E501 if 'scope' in params: query_params.append(('scope', params['scope'])) # noqa: E501 if 'latest_version' in params: query_params.append(('latestVersion', params['latest_version'])) # noqa: E501 if 'limit' in params: query_params.append(('limit', params['limit'])) # noqa: E501 if 'offset' in params: query_params.append(('offset', params['offset'])) # noqa: E501 header_params = {} if 'data_partition_id' in params: header_params['data-partition-id'] = params['data_partition_id'] # noqa: E501 form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['Bearer'] # noqa: E501 return self.api_client.call_api( '/api/schema-service/v1/schema', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='SchemaInfoResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) def update_schema(self, data_partition_id, body, **kwargs): # noqa: E501 """Creates/Updates a schema in development status # noqa: E501 Creates a new schema or updates an already existing schema with status `DEVELOPMENT` in the schema repository. If a user tries to create/update a schema with status other then `DEVELOPMENT`, API will throw an exception. Any schema instance with the same schemaIdentity is replaced (in contrast to the immutability of `PUBLISHED` or `OBSOLETE` schemas). A schema state can also be changed from `DEVELOPMENT` to `PUBLISHED` or `OBSOLETE` while updating schema content or by providing the same schema content. **Note:** The schema may refer to other schema definitions in `DEVELOPMENT` state. If those schemas are updated themselves, it is the developer's responsibility to PUT the dependent schemas again to update the schemas. Scope for a schema can't be updated, its a system defined value. Required roles 'users.datalake.editors' or 'users.datalake.admins' groups to update schema. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_schema(data_partition_id, body, async_req=True) >>> result = thread.get() :param async_req bool :param str data_partition_id: Specifies the data partition to use. This should be either the partition name or crm account ID associated with the partition. (required) :param SchemaRequest body: SchemaRequest (required) :return: SchemaInfo If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.update_schema_with_http_info(data_partition_id, body, **kwargs) # noqa: E501 else: (data) = self.update_schema_with_http_info(data_partition_id, body, **kwargs) # noqa: E501 return data def update_schema_with_http_info(self, data_partition_id, body, **kwargs): # noqa: E501 """Creates/Updates a schema in development status # noqa: E501 Creates a new schema or updates an already existing schema with status `DEVELOPMENT` in the schema repository. If a user tries to create/update a schema with status other then `DEVELOPMENT`, API will throw an exception. Any schema instance with the same schemaIdentity is replaced (in contrast to the immutability of `PUBLISHED` or `OBSOLETE` schemas). A schema state can also be changed from `DEVELOPMENT` to `PUBLISHED` or `OBSOLETE` while updating schema content or by providing the same schema content. **Note:** The schema may refer to other schema definitions in `DEVELOPMENT` state. If those schemas are updated themselves, it is the developer's responsibility to PUT the dependent schemas again to update the schemas. Scope for a schema can't be updated, its a system defined value. Required roles 'users.datalake.editors' or 'users.datalake.admins' groups to update schema. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_schema_with_http_info(data_partition_id, body, async_req=True) >>> result = thread.get() :param async_req bool :param str data_partition_id: Specifies the data partition to use. This should be either the partition name or crm account ID associated with the partition. (required) :param SchemaRequest body: SchemaRequest (required) :return: SchemaInfo If the method is called asynchronously, returns the request thread. """ all_params = ['data_partition_id', 'body'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method update_schema" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'data_partition_id' is set if self.api_client.client_side_validation and ('data_partition_id' not in params or params['data_partition_id'] is None): # noqa: E501 raise ValueError("Missing the required parameter `data_partition_id` when calling `update_schema`") # noqa: E501 # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in params or params['body'] is None): # noqa: E501 raise ValueError("Missing the required parameter `body` when calling `update_schema`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] header_params = {} if 'data_partition_id' in params: header_params['data-partition-id'] = params['data_partition_id'] # noqa: E501 form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['Bearer'] # noqa: E501 return self.api_client.call_api( '/api/schema-service/v1/schema', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='SchemaInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats)
54.361277
905
0.656765
3,403
27,235
5.071701
0.084337
0.042644
0.055623
0.016687
0.935338
0.915464
0.911351
0.896518
0.893273
0.889043
0
0.014925
0.261979
27,235
500
906
54.47
0.843731
0.449165
0
0.706767
1
0.011278
0.225683
0.038921
0
0
0
0
0
1
0.033835
false
0
0.015038
0
0.097744
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
7bf4cbd9de2fec2f9e4471a9c24e98563ffb62df
26,469
py
Python
Environment/Network_Topology.py
BarakGahtan/5GRIE
10db5d3f556ff06fe8248149f3967ea020149859
[ "CC-BY-4.0" ]
1
2022-03-29T05:58:06.000Z
2022-03-29T05:58:06.000Z
Environment/Network_Topology.py
BarakGahtan/5GRIE
10db5d3f556ff06fe8248149f3967ea020149859
[ "CC-BY-4.0" ]
null
null
null
Environment/Network_Topology.py
BarakGahtan/5GRIE
10db5d3f556ff06fe8248149f3967ea020149859
[ "CC-BY-4.0" ]
null
null
null
import networkx as nx import numpy as np import matplotlib.pyplot as plt from loguru import logger import Misc_Folder.Constants as c class Network: def __init__(self, opt, rings_number): if rings_number == 0: target_dict = {} for j in range(1, opt.nodes_number + 1): target_dict[j] = {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)} self.edges_attr = {} for i in range(0, opt.nodes_number): if i == 0: self.edges_attr[int(i)] = target_dict else: self.edges_attr[int(i)] = {} self.edges_attr[3] = {5:{'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}} del self.edges_attr[0][5] if rings_number == 5: self.edges_attr = { 0: {1: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 2: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 3: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 1: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 2: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, }, 2: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 3: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 1: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 3: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 2: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, } if rings_number == 10: self.edges_attr = { 0: {1: {'cost': 1, 'weight': 10}}, 1: {2: {'cost': 1, 'weight': 20}}, 2: {0: {'cost': 1, 'weight': 30}} } if rings_number == 1: self.edges_attr = { 0: {1: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 4: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 5: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 1: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 2: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 5: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 2: {1: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 6: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 3: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 3: {2: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 6: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 7: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 4: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 8: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 5: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 5: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 1: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 4: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 6: {2: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 3: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 7: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 7: {3: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 6: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 11: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 8: {4: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 9: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 12: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 9: {8: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 12: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 13: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 10: {11: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 14: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 15: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 11: {10: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 15: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 7: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 12: {8: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 9: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 13: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 13: {9: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 12: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 14: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 14: {10: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 13: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 15: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 15: {10: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 11: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 14: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, } if rings_number == 2: self.edges_attr = {0: {1: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 2: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 3: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 4: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 5: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 6: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 1: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 7: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 8: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 9: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 2: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 9: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 10: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 11: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 3: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 11: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 12: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 13: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 4: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 13: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 14: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 15: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 5: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 15: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 16: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 17: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 6: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 17: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 18: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 7: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 7: {6: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 1: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 8: {1: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 9: {1: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 2: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 10: {2: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 11: {2: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 3: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 12: {3: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 13: {3: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 4: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 14: {4: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 15: {4: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 5: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 16: {5: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 17: {5: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 6: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 18: {6: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, } if rings_number == 3: self.edges_attr = {0: {1: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 2: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 3: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 4: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 5: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 6: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 1: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 7: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 8: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 9: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 2: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 9: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 10: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 11: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 3: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 11: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 12: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 13: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 4: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 13: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 14: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 15: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 5: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 15: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 16: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 17: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 6: {0: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 17: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 18: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 7: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 7: {19: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 20: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 6: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 1: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 8: {20: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 21: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 1: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 9: {21: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 22: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 1: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 2: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 10: {22: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 23: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 2: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 11: {23: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 24: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 2: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 3: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 12: {24: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 25: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 3: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 13: {25: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 26: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 3: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 4: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 14: {26: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)},27: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 4: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 15: {27: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 28: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 4: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 5: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 16: {28: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 29: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 5: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 17: {29: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 30: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 5: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 6: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 18: {30: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 19: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 6: {'cost': 2, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 19: {18: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 7: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 20: {7: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 8: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 21: {8: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 9: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 22: {9: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 10: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 23: {10: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 11: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 24: {11: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 12: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 25: {12: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 13: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 26: {14: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 13: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 27: {14: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 15: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 28: {16: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 15: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 29: {16: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 17: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, 30: {17: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}, 18: {'cost': 1, 'weight': np.random.randint(opt.capacity_per_link_low, opt.capacity_per_link_high)}}, } self.graph_topology = nx.DiGraph(self.edges_attr) self.df = nx.to_pandas_edgelist(self.graph_topology) edges_dict = {} for index, row in self.df.iterrows(): edges_dict[str(str(row['source']) + "_" + str(row['target']))] = row['weight'] self.mask_edges = nx.to_pandas_adjacency(self.graph_topology).mask(nx.to_pandas_adjacency(self.graph_topology) > 0, 1) self.edges_weight = edges_dict self.avg_shortest_path = nx.average_shortest_path_length(self.graph_topology) # self.nodes_positions = nx.spectral_layout(self.graph_topology) self.nodes_positions = nx.spectral_layout(self.graph_topology) nx.draw_spectral(self.graph_topology, with_labels=True) plt.show() # self.nodes_positions = nx.spring_layout(self.edges_attr) logger.info(f"Network was created successfully") def network_create(self): edge_keys = nx.to_pandas_edgelist(self.graph_topology) connectivity_matrix_w = nx.to_pandas_adjacency(self.graph_topology) return connectivity_matrix_w, edge_keys def network_plot(self): # nx.draw_spectral(self.graph_topology, with_labels=True) # nx.draw_spring(self.graph_topology, with_labels=True) nx.draw_planar(self.graph_topology, with_labels=True) D = nx.from_pandas_edgelist(self.df, edge_attr=["weight", "cost"]) # labels = nx.get_edge_attributes(D, 'weight') # nx.draw_networkx_edge_labels(D, nx.shell_layout(self.graph_topology), edge_labels=labels) plt.show()
157.553571
337
0.654993
3,890
26,469
4.117481
0.031877
0.280202
0.356621
0.458513
0.9415
0.938565
0.93663
0.925517
0.921209
0.91559
0
0.029262
0.186596
26,469
167
338
158.497006
0.714677
0.013752
0
0.25
0
0
0.081654
0
0
0
0
0
0
1
0.019231
false
0
0.032051
0
0.064103
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
d0bb3e4d3b4c5897d8d5ab46a5dc0783aa7c031a
12,418
py
Python
platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/dumbo/phys/Phys_MBus_Studio.py
PascalGuenther/gecko_sdk
2e82050dc8823c9fe0e8908c1b2666fb83056230
[ "Zlib" ]
82
2016-06-29T17:24:43.000Z
2021-04-16T06:49:17.000Z
platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/dumbo/phys/Phys_MBus_Studio.py
PascalGuenther/gecko_sdk
2e82050dc8823c9fe0e8908c1b2666fb83056230
[ "Zlib" ]
6
2022-01-12T18:22:08.000Z
2022-03-25T10:19:27.000Z
platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/dumbo/phys/Phys_MBus_Studio.py
PascalGuenther/gecko_sdk
2e82050dc8823c9fe0e8908c1b2666fb83056230
[ "Zlib" ]
56
2016-08-02T10:50:50.000Z
2021-07-19T08:57:34.000Z
from pyradioconfig.calculator_model_framework.interfaces.iphy import IPhy from py_2_and_3_compatibility import * class PHYS_MBus_Studio(IPhy): # # # def PHY_wMbus_ModeT_M2O_100k_no_postamble_frameA(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus T M2O, no postamble (100k, 3of6)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeT_M2O_100k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameA phy.profile_inputs.base_frequency_hz.value = long(868950000) phy.profile_inputs.channel_spacing_hz.value = 1000000 #Does need some workarounds, but we do need it phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.MBUS_3OF6 phy.profile_inputs.syncword_dualsync.value = False return phy def PHY_wMbus_ModeT_O2M_32p768k_frameA(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus T O2M (32.768k, Manchester)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeT_O2M_32p768k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameA phy.profile_inputs.base_frequency_hz.value = long(868300000) phy.profile_inputs.channel_spacing_hz.value = 300000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.Manchester phy.profile_inputs.syncword_dualsync.value = False return phy #same as T mode, but with disabled block coder, dfl and crc. Needs software decoder, dfl, crc, decision can be made by first 6 bits of payload def PHY_wMbus_ModeTC_M2O_100k_noFrame(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus T M2O (100k, no framing)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeT_M2O_100k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.NoFormat phy.profile_inputs.base_frequency_hz.value = long(868950000) phy.profile_inputs.channel_spacing_hz.value = 1000000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ #phy.profile_inputs.fixed_length_size.value = 18 #first block in C mode: 2B sync + 10B +2B crc=14B. in T mode: (10B+2B crc)*1.5=18 phy.profile_inputs.syncword_dualsync.value = False return phy # # # def PHY_wMbus_ModeC_M2O_100k_frameA(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus C M2O frameA (100k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeC_M2O_100k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameA phy.profile_inputs.base_frequency_hz.value = long(868950000) phy.profile_inputs.channel_spacing_hz.value = 1000000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy def PHY_wMbus_ModeC_M2O_100k_frameB(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus C M2O frameB (100k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeC_M2O_100k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameB phy.profile_inputs.base_frequency_hz.value = long(868950000) phy.profile_inputs.channel_spacing_hz.value = 1000000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy # # # def PHY_wMbus_ModeC_O2M_50k_frameA(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus C O2M frameA (50k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeC_O2M_50k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameA phy.profile_inputs.base_frequency_hz.value = long(869525000) phy.profile_inputs.channel_spacing_hz.value = 1000000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy def PHY_wMbus_ModeC_O2M_50k_frameB(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus C O2M frameB (50k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeC_O2M_50k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameB phy.profile_inputs.base_frequency_hz.value = long(869525000) phy.profile_inputs.channel_spacing_hz.value = 1000000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy # # # def PHY_wMbus_ModeS_32p768k_frameA(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus S (32.768k, Manchester)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeS_32p768k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameA phy.profile_inputs.base_frequency_hz.value = long(868300000) phy.profile_inputs.channel_spacing_hz.value = 300000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.Manchester phy.profile_inputs.syncword_dualsync.value = False return phy # # # def PHY_wMbus_ModeNabef_4p8K_frameA(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus N, index 2/6/8/11, frameA (4.8k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeN1a_4p8K phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameA phy.profile_inputs.base_frequency_hz.value = long(169406250) phy.profile_inputs.channel_spacing_hz.value = 12500 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy def PHY_wMbus_ModeNabef_4p8K_frameB(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus N, index 2/6/8/11, frameB (4.8k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeN1a_4p8K phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameB phy.profile_inputs.base_frequency_hz.value = long(169406250) phy.profile_inputs.channel_spacing_hz.value = 12500 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy # # # def PHY_wMbus_ModeNcd_2p4K_frameA(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus N, index 1/5/7/10, frameA (2.4k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeN1c_2p4K phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameA phy.profile_inputs.base_frequency_hz.value = long(169431250) phy.profile_inputs.channel_spacing_hz.value = 12500 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy def PHY_wMbus_ModeNcd_2p4K_frameB(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus N, index 1/5/7/10, frameB (2.4k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeN1c_2p4K phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameB phy.profile_inputs.base_frequency_hz.value = long(169431250) phy.profile_inputs.channel_spacing_hz.value = 12500 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy # # # def PHY_wMbus_ModeN2g_19p2k_frameA(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus N, index 4/13, frameA (19.2k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeNg phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameA phy.profile_inputs.base_frequency_hz.value = long(169437500) phy.profile_inputs.channel_spacing_hz.value = 50000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy def PHY_wMbus_ModeN2g_19p2k_frameB(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus N, index 4/13, frameB (19.2k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeNg phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameB phy.profile_inputs.base_frequency_hz.value = long(169437500) phy.profile_inputs.channel_spacing_hz.value = 50000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy # # # def PHY_wMbus_ModeR_4p8k_frameA(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus R2 (4.8k, Manchester)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeR_4p8k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameA phy.profile_inputs.base_frequency_hz.value = long(868330000) phy.profile_inputs.channel_spacing_hz.value = 60000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.Manchester phy.profile_inputs.syncword_dualsync.value = False return phy # # # def PHY_wMbus_ModeF_2p4k_frameA(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus F, frameA (2.4k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeF_2p4k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameA phy.profile_inputs.base_frequency_hz.value = long(433820000) phy.profile_inputs.channel_spacing_hz.value = 50000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy # # # def PHY_wMbus_ModeF_2p4k_frameB(self, model, phy_name=None): phy = self._makePhy(model, model.profiles.Mbus, readable_name='WMbus F, frameB (2.4k)', phy_name=phy_name) phy.profile_inputs.mbus_mode.value = model.vars.mbus_mode.var_enum.ModeF_2p4k phy.profile_inputs.mbus_frame_format.value = model.vars.mbus_frame_format.var_enum.FrameB phy.profile_inputs.base_frequency_hz.value = long(433820000) phy.profile_inputs.channel_spacing_hz.value = 50000 phy.profile_inputs.mbus_symbol_encoding.value = model.vars.mbus_symbol_encoding.var_enum.NRZ phy.profile_inputs.syncword_dualsync.value = False return phy
53.296137
146
0.748027
1,813
12,418
4.790403
0.082184
0.118595
0.189752
0.117444
0.936327
0.936327
0.936327
0.932067
0.932067
0.932067
0
0.044227
0.162426
12,418
233
147
53.296137
0.790789
0.025286
0
0.717949
0
0
0.043161
0
0
0
0
0
0
1
0.108974
false
0
0.012821
0
0.237179
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
d0c777f41fdbdbee4c15c7d7c4375483e77de5a7
18,525
py
Python
SBaaS_thermodynamics/stage03_quantification_measuredData_query.py
dmccloskey/SBaaS_thermodynamics
0eeed0191f952ea0226ab8bbc234a30638fb2f9f
[ "MIT" ]
null
null
null
SBaaS_thermodynamics/stage03_quantification_measuredData_query.py
dmccloskey/SBaaS_thermodynamics
0eeed0191f952ea0226ab8bbc234a30638fb2f9f
[ "MIT" ]
null
null
null
SBaaS_thermodynamics/stage03_quantification_measuredData_query.py
dmccloskey/SBaaS_thermodynamics
0eeed0191f952ea0226ab8bbc234a30638fb2f9f
[ "MIT" ]
null
null
null
#SBaaS models from .stage03_quantification_measuredData_postgresql_models import * #SBaaS base from SBaaS_base.sbaas_base import sbaas_base from SBaaS_base.sbaas_base_query_update import sbaas_base_query_update from SBaaS_base.sbaas_base_query_drop import sbaas_base_query_drop from SBaaS_base.sbaas_base_query_initialize import sbaas_base_query_initialize from SBaaS_base.sbaas_base_query_insert import sbaas_base_query_insert from SBaaS_base.sbaas_base_query_select import sbaas_base_query_select from SBaaS_base.sbaas_base_query_delete import sbaas_base_query_delete from SBaaS_base.sbaas_template_query import sbaas_template_query class stage03_quantification_measuredData_query(sbaas_template_query): def initialize_supportedTables(self): '''Set the supported tables dict for data_stage03_quantification_measuredFluxes ''' tables_supported = {'data_stage03_quantification_metabolomicsData':data_stage03_quantification_metabolomicsData, 'data_stage03_quantification_measuredFluxes':data_stage03_quantification_measuredFluxes, }; self.set_supportedTables(tables_supported); ## Query from data_stage03_quantification_metabolomicsData # query rows from data_stage03_quantification_metabolomicsData def get_rows_experimentIDAndTimePointAndSampleNameAbbreviations_dataStage03QuantificationMetabolomicsData(self,experiment_id_I,time_point_I,sample_name_abbreviation_I): '''Query rows that are used from the metabolomicsData''' try: data = self.session.query(data_stage03_quantification_metabolomicsData).filter( data_stage03_quantification_metabolomicsData.time_point.like(time_point_I), data_stage03_quantification_metabolomicsData.sample_name_abbreviation.like(sample_name_abbreviation_I), data_stage03_quantification_metabolomicsData.experiment_id.like(experiment_id_I), data_stage03_quantification_metabolomicsData.measured.is_(True), data_stage03_quantification_metabolomicsData.used_.is_(True)).all(); rows_O = []; if data: for d in data: data_tmp = {'experiment_id':d.experiment_id, 'sample_name_abbreviation':d.sample_name_abbreviation, 'time_point':d.time_point, 'met_id':d.met_id, 'concentration':d.concentration, 'concentration_var':d.concentration_var, 'concentration_units':d.concentration_units, 'concentration_lb':d.concentration_lb, 'concentration_ub':d.concentration_ub, 'measured':d.measured, 'used_':d.used_, 'comment_':d.comment_}; rows_O.append(data_tmp); return rows_O; except SQLAlchemyError as e: print(e); def get_rowsDict_experimentIDAndTimePointAndSampleNameAbbreviations_dataStage03QuantificationMetabolomicsData(self,experiment_id_I,time_point_I,sample_name_abbreviation_I): '''Query rows that are used from the metabolomicsData''' try: data = self.session.query(data_stage03_quantification_metabolomicsData).filter( data_stage03_quantification_metabolomicsData.time_point.like(time_point_I), data_stage03_quantification_metabolomicsData.sample_name_abbreviation.like(sample_name_abbreviation_I), data_stage03_quantification_metabolomicsData.experiment_id.like(experiment_id_I), data_stage03_quantification_metabolomicsData.measured.is_(True), data_stage03_quantification_metabolomicsData.used_.is_(True)).all(); rows_O = {}; if data: for d in data: if d.met_id in rows_O: print('duplicate met_ids found!'); else: rows_O[d.met_id]={'concentration':d.concentration, 'concentration_var':d.concentration_var, 'concentration_units':d.concentration_units, 'concentration_lb':d.concentration_lb, 'concentration_ub':d.concentration_ub}; return rows_O; except SQLAlchemyError as e: print(e); def get_rowsEscherLbUb_experimentIDAndTimePointAndSampleNameAbbreviations_dataStage03QuantificationMetabolomicsData(self,experiment_id_I,time_point_I,sample_name_abbreviation_I): '''Query rows that are used from the metabolomicsData''' try: data = self.session.query(data_stage03_quantification_metabolomicsData).filter( data_stage03_quantification_metabolomicsData.time_point.like(time_point_I), data_stage03_quantification_metabolomicsData.sample_name_abbreviation.like(sample_name_abbreviation_I), data_stage03_quantification_metabolomicsData.experiment_id.like(experiment_id_I), data_stage03_quantification_metabolomicsData.measured.is_(True), data_stage03_quantification_metabolomicsData.used_.is_(True)).all(); rows_O = [None,None]; rows_O[0] = {}; rows_O[1] = {} if data: for d in data: rows_O[0][d.met_id]=d.concentration_lb; rows_O[1][d.met_id]=d.concentration_ub; return rows_O; except SQLAlchemyError as e: print(e); def get_rowsEscher_experimentIDAndTimePointAndSampleNameAbbreviations_dataStage03QuantificationMetabolomicsData(self,experiment_id_I,time_point_I,sample_name_abbreviation_I): '''Query rows that are used from the metabolomicsData''' try: data = self.session.query(data_stage03_quantification_metabolomicsData).filter( data_stage03_quantification_metabolomicsData.time_point.like(time_point_I), data_stage03_quantification_metabolomicsData.sample_name_abbreviation.like(sample_name_abbreviation_I), data_stage03_quantification_metabolomicsData.experiment_id.like(experiment_id_I), data_stage03_quantification_metabolomicsData.measured.is_(True), data_stage03_quantification_metabolomicsData.used_.is_(True)).all(); rows_O = {} if data: for d in data: rows_O[d.met_id]=d.concentration; return rows_O; except SQLAlchemyError as e: print(e); ## Query from data_stage03_quantification_measuredFluxes # query rows from data_stage03_quantification_measuredFluxes def get_rows_experimentIDAndSampleNameAbbreviation_dataStage03QuantificationMeasuredFluxes(self,experiment_id_I,sample_name_abbreviation_I): '''Querry rows by model_id that are used''' try: data = self.session.query(data_stage03_quantification_measuredFluxes).filter( data_stage03_quantification_measuredFluxes.sample_name_abbreviation.like(sample_name_abbreviation_I), data_stage03_quantification_measuredFluxes.experiment_id.like(experiment_id_I), data_stage03_quantification_measuredFluxes.used_.is_(True)).order_by( data_stage03_quantification_measuredFluxes.model_id.asc(), data_stage03_quantification_measuredFluxes.rxn_id.asc()).all(); rows_O = []; if data: for d in data: row_tmp = {'experiment_id':d.experiment_id, 'model_id':d.model_id, 'sample_name_abbreviation':d.sample_name_abbreviation, #'time_point':d.time_point, 'rxn_id':d.rxn_id, 'flux_average':d.flux_average, 'flux_stdev':d.flux_stdev, 'flux_lb':d.flux_lb, 'flux_ub':d.flux_ub, 'flux_units':d.flux_units, 'used_':d.used_, 'comment_':d.comment_}; rows_O.append(row_tmp); return rows_O; except SQLAlchemyError as e: print(e); def get_rows_experimentIDAndModelIDAndSampleNameAbbreviation_dataStage03QuantificationMeasuredFluxes(self,experiment_id_I,model_id_I,sample_name_abbreviation_I): '''Querry rows by model_id that are used''' try: data = self.session.query(data_stage03_quantification_measuredFluxes).filter( data_stage03_quantification_measuredFluxes.sample_name_abbreviation.like(sample_name_abbreviation_I), data_stage03_quantification_measuredFluxes.model_id.like(model_id_I), data_stage03_quantification_measuredFluxes.experiment_id.like(experiment_id_I), data_stage03_quantification_measuredFluxes.used_.is_(True)).order_by( data_stage03_quantification_measuredFluxes.model_id.asc(), data_stage03_quantification_measuredFluxes.rxn_id.asc()).all(); rows_O = []; if data: for d in data: row_tmp = {'experiment_id':d.experiment_id, 'model_id':d.model_id, 'sample_name_abbreviation':d.sample_name_abbreviation, #'time_point':d.time_point, 'rxn_id':d.rxn_id, 'flux_average':d.flux_average, 'flux_stdev':d.flux_stdev, 'flux_lb':d.flux_lb, 'flux_ub':d.flux_ub, 'flux_units':d.flux_units, 'used_':d.used_, 'comment_':d.comment_}; rows_O.append(row_tmp); return rows_O; except SQLAlchemyError as e: print(e); def get_fluxDict_experimentIDAndModelIDAndSampleNameAbbreviationsAndTimePoint_dataStage03QuantificationMeasuredFluxes(self,experiment_id_I,model_id_I,sample_name_abbreviation_I,time_point_I): '''Query rows that are used from the measuredFluxes''' try: data = self.session.query(data_stage03_quantification_measuredFluxes).filter( data_stage03_quantification_measuredFluxes.time_point.like(time_point_I), data_stage03_quantification_measuredFluxes.sample_name_abbreviation.like(sample_name_abbreviation_I), data_stage03_quantification_measuredFluxes.model_id.like(model_id_I), data_stage03_quantification_measuredFluxes.experiment_id.like(experiment_id_I), data_stage03_quantification_measuredFluxes.used_.is_(True)).all(); rows_O = {}; if data: for d in data: if d.rxn_id in rows_O: print('duplicate rxn_ids found!'); else: rows_O[d.rxn_id]={'flux':d.flux_average, 'stdev':d.flux_stdev, 'units':d.flux_units, 'lb':d.flux_lb, 'ub':d.flux_ub, 'used_':d.used_, 'comment_':d.comment_}; return rows_O; except SQLAlchemyError as e: print(e); def add_dataStage03QuantificationMetabolomicsData(self, data_I): '''add rows of data_stage03_quantification_metabolomicsData''' if data_I: for d in data_I: try: data_add = data_stage03_quantification_metabolomicsData(d #d['experiment_id'], #d['sample_name_abbreviation'], #d['time_point'], #d['met_id'], #d['concentration'], #d['concentration_var'], #d['concentration_units'], #d['concentration_lb'], #d['concentration_ub'], #d['measured'], #d['used_'], #d['comment_'] ); self.session.add(data_add); except SQLAlchemyError as e: print(e); self.session.commit(); def update_dataStage03QuantificationMetabolomicsData(self,data_I): #Not yet tested '''update rows of data_stage03_quantification_metabolomicsData''' if data_I: for d in data_I: try: data_update = self.session.query(data_stage03_quantification_metabolomicsData).filter( data_stage03_quantification_metabolomicsData.id.like(d['id'])).update( {'experiment_id':d['experiment_id'], 'sample_name_abbreviation':d['sample_name_abbreviation'], 'time_point':d['time_point'], 'met_id':d['met_id'], 'concentration':d['concentration'], 'concentration_var':d['concentration_var'], 'concentration_units':d['concentration_units'], 'concentration_lb':d['concentration_lb'], 'concentration_ub':d['concentration_ub'], 'measured':d['measured'], 'used_':d['used_'], 'comment_':d['comment_']}, synchronize_session=False); except SQLAlchemyError as e: print(e); self.session.commit(); def drop_dataStage03_quantification_measuredData(self): try: data_stage03_quantification_metabolomicsData.__table__.drop(self.engine,True); data_stage03_quantification_measuredFluxes.__table__.drop(self.engine,True); except SQLAlchemyError as e: print(e); def reset_dataStage03_quantification_metabolomicsData(self,experiment_id_I = None): try: if experiment_id_I: reset = self.session.query(data_stage03_quantification_metabolomicsData).filter(data_stage03_quantification_metabolomicsData.experiment_id.like(experiment_id_I)).delete(synchronize_session=False); else: reset = self.session.query(data_stage03_quantification_metabolomicsData).delete(synchronize_session=False); self.session.commit(); except SQLAlchemyError as e: print(e); def reset_dataStage03_quantification_measuredFluxes(self,experiment_id_I = None): try: if experiment_id_I: reset = self.session.query(data_stage03_quantification_measuredFluxes).delete(synchronize_session=False); else: reset = self.session.query(data_stage03_quantification_measuredFluxes).delete(synchronize_session=False); self.session.commit(); except SQLAlchemyError as e: print(e); def initialize_dataStage03_quantification_measuredData(self): try: data_stage03_quantification_metabolomicsData.__table__.create(self.engine,True); data_stage03_quantification_measuredFluxes.__table__.create(self.engine,True); except SQLAlchemyError as e: print(e); def add_dataStage03QuantificationMeasuredFluxes(self, data_I): '''add rows of data_stage03_quantification_measuredFluxes''' if data_I: for d in data_I: try: data_add = data_stage03_quantification_measuredFluxes(d #d['experiment_id'], #d['model_id'], #d['sample_name_abbreviation'], #d['time_point'], #d['rxn_id'], #d['flux_average'], #d['flux_stdev'], #d['flux_lb'], #d['flux_ub'], #d['flux_units'], #d['used_'], #d['comment_'] ); self.session.add(data_add); except SQLAlchemyError as e: print(e); self.session.commit(); def update_unique_dataStage03QuantificationMeasuredFluxes(self, data_I): '''update rows of data_stage03_quantification_measuredFluxes by unique columns ''' if data_I: for d in data_I: try: data_update = self.session.query(data_stage03_quantification_measuredFluxes).filter( data_stage03_quantification_measuredFluxes.experiment_id.like(d['experiment_id']), data_stage03_quantification_measuredFluxes.sample_name_abbreviation.like(d['sample_name_abbreviation']), data_stage03_quantification_measuredFluxes.time_point.like(d['time_point']), data_stage03_quantification_measuredFluxes.rxn_id.like(d['rxn_id']), data_stage03_quantification_measuredFluxes.flux_units.like(d['flux_units'])).update( {'experiment_id':d['experiment_id'], 'sample_name_abbreviation':d['sample_name_abbreviation'], 'time_point':d['time_point'], 'rxn_id':d['rxn_id'], 'flux_average':d['flux_average'], 'flux_stdev':d['flux_stdev'], 'flux_units':d['flux_units'], 'flux_lb':d['flux_lb'], 'flux_ub':d['flux_ub'], 'used_':d['used_'], 'comment_':d['comment_']}, synchronize_session=False); if data_update == 0: print('row not found.') print(d) except SQLAlchemyError as e: print(e); self.session.commit();
56.478659
212
0.601457
1,777
18,525
5.85031
0.063028
0.155541
0.180358
0.149865
0.85985
0.826087
0.786168
0.769334
0.737495
0.709119
0
0.015008
0.320216
18,525
328
213
56.478659
0.81053
0.076167
0
0.675182
0
0
0.072503
0.016334
0
0
0
0
0
1
0.058394
false
0
0.032847
0
0.120438
0.069343
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
efb178a2fc3fee424b537db5d0b3c759a5722201
9,660
py
Python
fl_covid/callbacks/eval.py
med-air/FL-COVID
7302e6d535843dc7f9c1de81422ad3e68bb5e5c8
[ "MIT" ]
16
2021-02-23T02:08:09.000Z
2022-03-30T13:16:29.000Z
fl_covid/callbacks/eval.py
carrenD/FL-COVID
7302e6d535843dc7f9c1de81422ad3e68bb5e5c8
[ "MIT" ]
1
2021-09-30T08:45:52.000Z
2021-09-30T08:45:52.000Z
fl_covid/callbacks/eval.py
carrenD/FL-COVID
7302e6d535843dc7f9c1de81422ad3e68bb5e5c8
[ "MIT" ]
1
2021-08-09T20:33:15.000Z
2021-08-09T20:33:15.000Z
from ..utils.eval import evaluate import tensorflow as tf class Evaluate: """ Evaluation callback for arbitrary datasets. """ def __init__( self, model, generator, iou_threshold=0.5, score_threshold=0.05, max_detections=100, save_path=None, tensorboard_writer=None, weighted_average=False, verbose=1 ): """ Evaluate a given dataset using a given model at the end of every epoch during training. # Arguments model : The model for evaluation (should be prediction model) generator : The generator that represents the dataset to evaluate. iou_threshold : The threshold used to consider when a detection is positive or negative. score_threshold : The score confidence threshold to use for detections. max_detections : The maximum number of detections to use per image. save_path : The path to save images with visualized detections to. tensorboard_writer : Instance of tf.summary.FileWriter used to log the mAP value. weighted_average : Compute the mAP using the weighted average of precisions among classes. verbose : Set the verbosity level, by default this is set to 1. """ self.model = model self.generator = generator self.iou_threshold = iou_threshold self.score_threshold = score_threshold self.max_detections = max_detections self.save_path = save_path self.writer = tensorboard_writer self.weighted_average= weighted_average self.verbose = verbose super(Evaluate, self).__init__() def on_train_begin(self, logs=None): pass def on_epoch_end(self, epoch, logs=None): if logs is None: raise ValueError('logs is none') logs = logs or {} # run evaluation average_precisions, TP, FP, Recall, Precision,num_annotations = evaluate( self.generator, self.model, iou_threshold=self.iou_threshold, score_threshold=self.score_threshold, max_detections=self.max_detections, save_path=self.save_path ) # compute per class average precision total_instances = [] precisions = [] for label, (average_precision, num_annotations) in average_precisions.items(): if self.verbose == 1: print('{:.0f} instances of class'.format(num_annotations), self.generator.label_to_name(label), 'with average precision: {:.4f}'.format(average_precision), flush=True) total_instances.append(num_annotations) precisions.append(average_precision) if self.weighted_average: self.mean_ap = sum([a * b for a, b in zip(total_instances, precisions)]) / sum(total_instances) else: self.mean_ap = sum(precisions) / sum(x > 0 for x in total_instances) if self.writer is not None: with self.writer.as_default(): tf.summary.scalar("mAP", self.mean_ap, step=epoch) tf.summary.scalar("TP", TP, step=epoch) tf.summary.scalar("FP", FP, step=epoch) tf.summary.scalar("num_annotations", num_annotations, step=epoch) tf.summary.scalar("FP-rate", FP/num_annotations, step=epoch) tf.summary.scalar("Recall", Recall, step=epoch) tf.summary.scalar("Precision", Precision, step=epoch) self.writer.flush() logs['mAP'] = self.mean_ap logs['TP'] = TP logs['FP'] = FP logs['Recall'] = Recall logs['Precision'] = Precision if self.verbose == 1: print('mAP: {:.4f} TP:{} FP:{} FP-rate{:.4f} Recall: {:.4f} Precision: {:.4f}'.format(self.mean_ap, TP, FP, FP/num_annotations, Recall, Precision), flush=True) return logs class Evaluate_separate: """ Evaluation callback for arbitrary datasets. """ def __init__( self, model, generator, iou_threshold=0.5, score_threshold=0.05, max_detections=100, save_path=None, tensorboard_writer=None, weighted_average=False, verbose=1 ): """ Evaluate a given dataset using a given model at the end of every epoch during training. # Arguments model : The model for evaluation (should be prediction model) generator : The generator that represents the dataset to evaluate. iou_threshold : The threshold used to consider when a detection is positive or negative. score_threshold : The score confidence threshold to use for detections. max_detections : The maximum number of detections to use per image. save_path : The path to save images with visualized detections to. tensorboard_writer : Instance of tf.summary.FileWriter used to log the mAP value. weighted_average : Compute the mAP using the weighted average of precisions among classes. verbose : Set the verbosity level, by default this is set to 1. """ self.model = model self.generator = generator self.iou_threshold = iou_threshold self.score_threshold = score_threshold self.max_detections = max_detections self.save_path = save_path self.writer = tensorboard_writer self.weighted_average= weighted_average self.verbose = verbose super(Evaluate_separate, self).__init__() def on_train_begin(self, logs=None): pass def on_epoch_end(self, epoch, logs=None): if logs is None: raise ValueError('logs is none') logs = logs or {} client_map = [] client_tp = [] client_fp = [] client_recall = [] client_precision = [] for client in range(len(self.generator)): # run evaluation generator = self.generator[client] average_precisions, TP, FP, Recall, Precision, num_annotations = evaluate( generator, self.model, iou_threshold=self.iou_threshold, score_threshold=self.score_threshold, max_detections=self.max_detections, save_path=self.save_path ) # compute per class average precision total_instances = [] precisions = [] for label, (average_precision, num_annotations) in average_precisions.items(): if self.verbose == 1: print('{:.0f} instances of class'.format(num_annotations), generator.label_to_name(label), 'with average precision: {:.4f}'.format(average_precision), flush=True) total_instances.append(num_annotations) precisions.append(average_precision) if self.weighted_average: self.mean_ap = sum([a * b for a, b in zip(total_instances, precisions)]) / sum(total_instances) else: self.mean_ap = sum(precisions) / sum(x > 0 for x in total_instances) if self.writer is not None: with self.writer.as_default(): tf.summary.scalar("site {} mAP".format(client) , self.mean_ap, step=epoch) tf.summary.scalar("site {} TP".format(client) , TP, step=epoch) tf.summary.scalar("site {} FP".format(client) , FP, step=epoch) tf.summary.scalar("site {} num_annotations".format(client) , num_annotations, step=epoch) tf.summary.scalar("site {} FP-rate".format(client) , FP/num_annotations, step=epoch) tf.summary.scalar("site {} Recall".format(client) , Recall, step=epoch) tf.summary.scalar("site {} Precision".format(client) , Precision, step=epoch) self.writer.flush() logs['mAP'] = self.mean_ap logs['TP'] = TP logs['FP'] = FP logs['Recall'] = Recall logs['Precision'] = Precision if self.verbose == 1: print('Site {} performance: mAP: {:.4f} TP:{} FP:{} FP-rate {:.4f}Recall: {:.4f} Precision: {:.4f}\n'.format(client, self.mean_ap, TP, FP, FP/num_annotations, Recall, Precision), flush=True) client_map.append(self.mean_ap) client_tp.append(TP) client_fp.append(FP) client_recall.append(Recall) client_precision.append(Precision) print('Overall performance: mAP: {:.4f} TP:{} FP:{} Recall: {:.4f} Precision: {:.4f}\n'.format(sum(client_map)/len(client_map), sum(client_tp)/len(client_tp), sum(client_fp)/len(client_fp), sum(client_recall)/len(client_recall), sum(client_precision)/len(client_precision)), flush=True) if self.writer is not None: with self.writer.as_default(): tf.summary.scalar("overall mAP", sum(client_map)/len(client_map), step=epoch) tf.summary.scalar("overall TP", sum(client_tp)/len(client_tp), step=epoch) tf.summary.scalar("overall FP", sum(client_fp)/len(client_fp), step=epoch) tf.summary.scalar("overall Recall", sum(client_recall)/len(client_recall), step=epoch) tf.summary.scalar("overall Precision", sum(client_precision)/len(client_precision), step=epoch) return logs
45.140187
295
0.60207
1,128
9,660
5.001773
0.123227
0.033499
0.050514
0.051046
0.899149
0.890464
0.815491
0.771889
0.737504
0.716944
0
0.006079
0.301863
9,660
213
296
45.352113
0.830516
0.195652
0
0.707792
0
0.019481
0.083025
0
0
0
0
0
0
1
0.038961
false
0.012987
0.012987
0
0.077922
0.032468
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
effd330ed1709d698d3cfd46dd0e3c92ed652c40
31,137
py
Python
build/PureCloudPlatformClientV2/apis/languages_api.py
cjohnson-ctl/platform-client-sdk-python
38ce53bb8012b66e8a43cc8bd6ff00cf6cc99100
[ "MIT" ]
10
2019-02-22T00:27:08.000Z
2021-09-12T23:23:44.000Z
libs/PureCloudPlatformClientV2/apis/languages_api.py
rocketbot-cl/genesysCloud
dd9d9b5ebb90a82bab98c0d88b9585c22c91f333
[ "MIT" ]
5
2018-06-07T08:32:00.000Z
2021-07-28T17:37:26.000Z
libs/PureCloudPlatformClientV2/apis/languages_api.py
rocketbot-cl/genesysCloud
dd9d9b5ebb90a82bab98c0d88b9585c22c91f333
[ "MIT" ]
6
2020-04-09T17:43:07.000Z
2022-02-17T08:48:05.000Z
# coding: utf-8 """ LanguagesApi.py Copyright 2016 SmartBear Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ from __future__ import absolute_import import sys import os import re # python 2 and python 3 compatibility library from six import iteritems from ..configuration import Configuration from ..api_client import ApiClient class LanguagesApi(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen """ def __init__(self, api_client=None): config = Configuration() if api_client: self.api_client = api_client else: if not config.api_client: config.api_client = ApiClient() self.api_client = config.api_client def delete_language(self, language_id, **kwargs): """ Delete Language (Deprecated) This endpoint is deprecated. It has been moved to /routing/languages/{languageId} This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_language(language_id, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str language_id: Language ID (required) :return: None If the method is called asynchronously, returns the request thread. """ all_params = ['language_id'] all_params.append('callback') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method delete_language" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'language_id' is set if ('language_id' not in params) or (params['language_id'] is None): raise ValueError("Missing the required parameter `language_id` when calling `delete_language`") resource_path = '/api/v2/languages/{languageId}'.replace('{format}', 'json') path_params = {} if 'language_id' in params: path_params['languageId'] = params['language_id'] query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json']) # Authentication setting auth_settings = ['PureCloud OAuth'] response = self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type=None, auth_settings=auth_settings, callback=params.get('callback')) return response def delete_routing_language(self, language_id, **kwargs): """ Delete Language This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_routing_language(language_id, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str language_id: Language ID (required) :return: None If the method is called asynchronously, returns the request thread. """ all_params = ['language_id'] all_params.append('callback') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method delete_routing_language" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'language_id' is set if ('language_id' not in params) or (params['language_id'] is None): raise ValueError("Missing the required parameter `language_id` when calling `delete_routing_language`") resource_path = '/api/v2/routing/languages/{languageId}'.replace('{format}', 'json') path_params = {} if 'language_id' in params: path_params['languageId'] = params['language_id'] query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json']) # Authentication setting auth_settings = ['PureCloud OAuth'] response = self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type=None, auth_settings=auth_settings, callback=params.get('callback')) return response def get_language(self, language_id, **kwargs): """ Get language (Deprecated) This endpoint is deprecated. It has been moved to /routing/languages/{languageId} This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_language(language_id, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str language_id: Language ID (required) :return: Language If the method is called asynchronously, returns the request thread. """ all_params = ['language_id'] all_params.append('callback') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_language" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'language_id' is set if ('language_id' not in params) or (params['language_id'] is None): raise ValueError("Missing the required parameter `language_id` when calling `get_language`") resource_path = '/api/v2/languages/{languageId}'.replace('{format}', 'json') path_params = {} if 'language_id' in params: path_params['languageId'] = params['language_id'] query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json']) # Authentication setting auth_settings = ['PureCloud OAuth'] response = self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='Language', auth_settings=auth_settings, callback=params.get('callback')) return response def get_languages(self, **kwargs): """ Get the list of supported languages. (Deprecated) This endpoint is deprecated. It has been moved to /routing/languages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_languages(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param int page_size: Page size :param int page_number: Page number :param str sort_order: Ascending or descending sort order :param str name: Name :return: LanguageEntityListing If the method is called asynchronously, returns the request thread. """ all_params = ['page_size', 'page_number', 'sort_order', 'name'] all_params.append('callback') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_languages" % key ) params[key] = val del params['kwargs'] resource_path = '/api/v2/languages'.replace('{format}', 'json') path_params = {} query_params = {} if 'page_size' in params: query_params['pageSize'] = params['page_size'] if 'page_number' in params: query_params['pageNumber'] = params['page_number'] if 'sort_order' in params: query_params['sortOrder'] = params['sort_order'] if 'name' in params: query_params['name'] = params['name'] header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json']) # Authentication setting auth_settings = ['PureCloud OAuth'] response = self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='LanguageEntityListing', auth_settings=auth_settings, callback=params.get('callback')) return response def get_languages_translations(self, **kwargs): """ Get all available languages for translation This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_languages_translations(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: AvailableTranslations If the method is called asynchronously, returns the request thread. """ all_params = [] all_params.append('callback') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_languages_translations" % key ) params[key] = val del params['kwargs'] resource_path = '/api/v2/languages/translations'.replace('{format}', 'json') path_params = {} query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json']) # Authentication setting auth_settings = ['PureCloud OAuth'] response = self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='AvailableTranslations', auth_settings=auth_settings, callback=params.get('callback')) return response def get_languages_translations_builtin(self, language, **kwargs): """ Get the builtin translation for a language This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_languages_translations_builtin(language, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str language: The language of the builtin translation to retrieve (required) :return: dict(str, object) If the method is called asynchronously, returns the request thread. """ all_params = ['language'] all_params.append('callback') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_languages_translations_builtin" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'language' is set if ('language' not in params) or (params['language'] is None): raise ValueError("Missing the required parameter `language` when calling `get_languages_translations_builtin`") resource_path = '/api/v2/languages/translations/builtin'.replace('{format}', 'json') path_params = {} query_params = {} if 'language' in params: query_params['language'] = params['language'] header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json']) # Authentication setting auth_settings = ['PureCloud OAuth'] response = self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='dict(str, object)', auth_settings=auth_settings, callback=params.get('callback')) return response def get_languages_translations_organization(self, language, **kwargs): """ Get effective translation for an organization by language This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_languages_translations_organization(language, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str language: The language of the translation to retrieve for the organization (required) :return: dict(str, object) If the method is called asynchronously, returns the request thread. """ all_params = ['language'] all_params.append('callback') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_languages_translations_organization" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'language' is set if ('language' not in params) or (params['language'] is None): raise ValueError("Missing the required parameter `language` when calling `get_languages_translations_organization`") resource_path = '/api/v2/languages/translations/organization'.replace('{format}', 'json') path_params = {} query_params = {} if 'language' in params: query_params['language'] = params['language'] header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json']) # Authentication setting auth_settings = ['PureCloud OAuth'] response = self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='dict(str, object)', auth_settings=auth_settings, callback=params.get('callback')) return response def get_languages_translations_user(self, user_id, **kwargs): """ Get effective language translation for a user This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_languages_translations_user(user_id, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str user_id: The user id (required) :return: dict(str, object) If the method is called asynchronously, returns the request thread. """ all_params = ['user_id'] all_params.append('callback') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_languages_translations_user" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'user_id' is set if ('user_id' not in params) or (params['user_id'] is None): raise ValueError("Missing the required parameter `user_id` when calling `get_languages_translations_user`") resource_path = '/api/v2/languages/translations/users/{userId}'.replace('{format}', 'json') path_params = {} if 'user_id' in params: path_params['userId'] = params['user_id'] query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json']) # Authentication setting auth_settings = ['PureCloud OAuth'] response = self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='dict(str, object)', auth_settings=auth_settings, callback=params.get('callback')) return response def get_routing_language(self, language_id, **kwargs): """ Get language This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_routing_language(language_id, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str language_id: Language ID (required) :return: Language If the method is called asynchronously, returns the request thread. """ all_params = ['language_id'] all_params.append('callback') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_routing_language" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'language_id' is set if ('language_id' not in params) or (params['language_id'] is None): raise ValueError("Missing the required parameter `language_id` when calling `get_routing_language`") resource_path = '/api/v2/routing/languages/{languageId}'.replace('{format}', 'json') path_params = {} if 'language_id' in params: path_params['languageId'] = params['language_id'] query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json']) # Authentication setting auth_settings = ['PureCloud OAuth'] response = self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='Language', auth_settings=auth_settings, callback=params.get('callback')) return response def post_languages(self, body, **kwargs): """ Create Language (Deprecated) This endpoint is deprecated. It has been moved to /routing/languages This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.post_languages(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param Language body: Language (required) :return: Language If the method is called asynchronously, returns the request thread. """ all_params = ['body'] all_params.append('callback') params = locals() for key, val in iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method post_languages" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): raise ValueError("Missing the required parameter `body` when calling `post_languages`") resource_path = '/api/v2/languages'.replace('{format}', 'json') path_params = {} query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None if 'body' in params: body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) if not header_params['Accept']: del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['application/json']) # Authentication setting auth_settings = ['PureCloud OAuth'] response = self.api_client.call_api(resource_path, 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='Language', auth_settings=auth_settings, callback=params.get('callback')) return response
37.605072
128
0.541863
2,987
31,137
5.462672
0.073652
0.044126
0.026292
0.023289
0.876754
0.868542
0.856898
0.848931
0.845315
0.84225
0
0.001082
0.376401
31,137
827
129
37.650544
0.839265
0.268234
0
0.814554
0
0
0.167596
0.030165
0
0
0
0
0
1
0.025822
false
0
0.016432
0
0.068075
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ef52e39ed9455c04941a27902438a6b7889c58c2
23,591
py
Python
tests/test_decontam.py
dib-lab/charcoal
b9c2b8d920f7b144c28daae5eba7ee46646ac287
[ "BSD-3-Clause" ]
21
2020-05-08T20:51:19.000Z
2022-02-04T23:00:17.000Z
tests/test_decontam.py
dib-lab/charcoal
b9c2b8d920f7b144c28daae5eba7ee46646ac287
[ "BSD-3-Clause" ]
162
2020-03-11T21:32:28.000Z
2022-03-09T01:02:14.000Z
tests/test_decontam.py
dib-lab/charcoal
a2b428d3829b761708910fcf97d964b937bef979
[ "BSD-3-Clause" ]
1
2020-03-11T21:24:13.000Z
2020-03-11T21:24:13.000Z
"Test decontamination logic and actions." from io import StringIO import gzip import screed from charcoal import just_taxonomy, utils from charcoal.lineage_db import LineageDB from charcoal.just_taxonomy import ContigInfo import sourmash from sourmash.lca import LCA_Database from sourmash.lca import LineagePair, taxlist from sourmash.lca.command_index import load_taxonomy_assignments def make_lineage(lineage): "Turn a ; or ,-separated set of lineages into a tuple of LineagePair objs." lin = lineage.split(';') if len(lin) == 1: lin = lineage.split(',') lin = [ LineagePair(rank, n) for (rank, n) in zip(taxlist(), lin) ] return lin class ReportingCapture(object): "Capture reporting output via 'report' fn." def __init__(self): self.lines = [] def __call__(self, s): self.lines.append(s) def contains(self, s_try): for x in self.lines: if s_try in x: return True return False class FakeFastaWriter(object): "Test fixture to record FASTA output from ContigDecontaminator class." def __init__(self): self.n = 0 self.bp = 0 self.names = [] def write(self, record): self.names.append(record.name) self.bp += len(record.sequence) self.n += 1 def make_lca_and_lineages(match_files, lineages_csv, scaled, ksize, start_column=3): "Build an LCA_Database and LineageDB." lca_db = LCA_Database(ksize=ksize, scaled=scaled) lin_db = LineageDB() # load matches into a list siglist = [] for filename in match_files: siglist += list(sourmash.load_file_as_signatures(filename)) # pull in taxonomic assignments tax_assign, _ = load_taxonomy_assignments(lineages_csv, start_column=start_column) # build database of matches & lineages! for ss in siglist: print(ss.name(), ss.minhash.scaled) ident = just_taxonomy.get_ident(ss) lineage = tax_assign[ident] lca_db.insert(ss, ident=ident) lin_db.insert(ident, lineage) return lca_db, lin_db def load_first_chunk(filename, chunksize=50000): # load a first small chunk from a contiguous genome. eventually, # need to fix to pay attention to contigs... with gzip.open(filename, 'rb') as fp: seqname = fp.readline().strip()[1:] seqdata = fp.read(chunksize).decode('utf-8') seqdata = seqdata.split() seqdata = "".join(seqdata) return [screed.Record(seqname, seqdata)] def test_choose_genome_lineage_1(): # unambiguous choice - good lca lineage, nothing else provided lca_lin = "Bacteria;Proteobacteria;Gammaproteobacteria;Alteromonadales;Shewanellaceae;Shewanella;Shewanella baltica;Shewanella baltica OS185" lca_lin = make_lineage(lca_lin) provided_lin = "" f_ident = 1.0 f_major = 1.0 x = just_taxonomy.choose_genome_lineage(lca_lin, provided_lin, 'genus', f_ident, f_major, ReportingCapture()) (chosen_lin, comment) = x assert chosen_lin == utils.pop_to_rank(lca_lin, 'genus') assert not comment def test_choose_genome_lineage_2(): # unambiguous choice - good provided lineage lca_lin = "Bacteria;Proteobacteria;Gammaproteobacteria;Alteromonadales;Shewanellaceae;Shewanella;Shewanella baltica" lca_lin = make_lineage(lca_lin) provided_lin = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" provided_lin = make_lineage(provided_lin) assert lca_lin != provided_lin f_ident = 1.0 f_major = 1.0 x = just_taxonomy.choose_genome_lineage(lca_lin, provided_lin, 'genus', f_ident, f_major, ReportingCapture()) (chosen_lin, comment) = x assert chosen_lin == utils.pop_to_rank(provided_lin, 'genus') assert not comment def test_choose_genome_lineage_3(): # agreement between lca and provided lca_lin = "Bacteria;Proteobacteria;Gammaproteobacteria;Alteromonadales;Shewanellaceae;Shewanella;Shewanella baltica" lca_lin = make_lineage(lca_lin) provided_lin = "Bacteria;Proteobacteria;Gammaproteobacteria;Alteromonadales;Shewanellaceae;Shewanella;Shewanella baltica;Shewanella baltica OS185" provided_lin = make_lineage(provided_lin) f_ident = 1.0 f_major = 1.0 reporting = ReportingCapture() x = just_taxonomy.choose_genome_lineage(lca_lin, provided_lin, 'genus', f_ident, f_major, reporting) chosen_lin, comment = x assert reporting.contains('provided lineage agrees with k-mer class') assert chosen_lin == utils.pop_to_rank(lca_lin, 'genus') assert not comment def test_choose_genome_lineage_4(): # disagreement between lca and provided lca_lin = "Bacteria;Proteobacteria;Gammaproteobacteria;Alteromonadales;Shewanellaceae;Shewanella;Shewanella baltica" lca_lin = make_lineage(lca_lin) provided_lin = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" provided_lin = make_lineage(provided_lin) f_ident = 1.0 f_major = 1.0 reporting = ReportingCapture() x = just_taxonomy.choose_genome_lineage(lca_lin, provided_lin, 'genus', f_ident, f_major, reporting) chosen_lin, comment = x assert reporting.contains('provided lineage disagrees with k-mer class') assert chosen_lin == utils.pop_to_rank(provided_lin, 'genus') assert not comment def test_choose_genome_lineage_5(): # bad choice - bad lca lineage, nothing else provided lca_lin = "Bacteria;Proteobacteria;Gammaproteobacteria;Alteromonadales;Shewanellaceae;Shewanella;Shewanella baltica;Shewanella baltica OS185" lca_lin = make_lineage(lca_lin) provided_lin = "" f_ident = 0.05 f_major = 1.0 reporting = ReportingCapture() x = just_taxonomy.choose_genome_lineage(lca_lin, provided_lin, 'genus', f_ident, f_major, reporting) (chosen_lin, comment) = x print(reporting.lines) assert 'provide a lineage for this genome' in comment assert 'too few identifiable hashes' in comment def test_choose_genome_lineage_6(): lca_lin = "Bacteria;Proteobacteria;Gammaproteobacteria;Alteromonadales;Shewanellaceae;Shewanella;Shewanella baltica;Shewanella baltica OS185" lca_lin = make_lineage(lca_lin) provided_lin = "" f_ident = 1.0 f_major = 0.15 reporting = ReportingCapture() x = just_taxonomy.choose_genome_lineage(lca_lin, provided_lin, 'genus', f_ident, f_major, reporting) (chosen_lin, comment) = x print(reporting.lines) assert 'provide a lineage for this genome' in comment assert 'too few hashes in major lineage' in comment def xxx_test_cleaner_class_1(): # your basic clean genome test genome_lineage = "Bacteria;Proteobacteria;Gammaproteobacteria;Alteromonadales;Shewanellaceae;Shewanella;Shewanella baltica;Shewanella baltica OS185" genome_lineage = make_lineage(genome_lineage) match_rank = 'genus' empty_mh = sourmash.MinHash(n=0, ksize=31, scaled=10000) matches_file = 'tests/test-data/63.fa.gz.gather-matches.sig.gz' lineages_csv = 'tests/test-data/test-match-lineages.csv' lca_db, lin_db = make_lca_and_lineages([matches_file], lineages_csv, empty_mh.scaled, empty_mh.ksize) cleaner = just_taxonomy.ContigsDecontaminator(genome_lineage, match_rank, empty_mh, lca_db, lin_db) cleaner.clean_out = FakeFastaWriter() cleaner.dirty_out = FakeFastaWriter() inp_iter = load_first_chunk('tests/test-data/genomes/63.fa.gz') report_fp = StringIO() cleaner.clean_contigs(inp_iter, report_fp) assert cleaner.dirty_out.n == 0 assert cleaner.clean_out.n == 1 assert cleaner.clean_out.bp == 49383 assert cleaner.clean_out.names == [b'NC_011663.1 Shewanella baltica OS223, complete genome'] def xxx_test_cleaner_class_2(): # specify wrong lineage - everything must go :) genome_lineage = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" genome_lineage = make_lineage(genome_lineage) match_rank = 'genus' empty_mh = sourmash.MinHash(n=0, ksize=31, scaled=10000) matches_file = 'tests/test-data/63.fa.gz.gather-matches.sig.gz' lineages_csv = 'tests/test-data/test-match-lineages.csv' lca_db, lin_db = make_lca_and_lineages([matches_file], lineages_csv, empty_mh.scaled, empty_mh.ksize) cleaner = just_taxonomy.ContigsDecontaminator(genome_lineage, match_rank, empty_mh, lca_db, lin_db) cleaner.clean_out = FakeFastaWriter() cleaner.dirty_out = FakeFastaWriter() inp_iter = load_first_chunk('tests/test-data/genomes/63.fa.gz') report_fp = StringIO() cleaner.clean_contigs(inp_iter, report_fp) assert cleaner.clean_out.n == 0 assert cleaner.dirty_out.n == 1 assert cleaner.dirty_out.bp == 49383 assert cleaner.dirty_out.names == [b'NC_011663.1 Shewanella baltica OS223, complete genome'] def xxx_test_cleaner_class_3(): # specify two contigs, with mixed lineage - one clean one dirty genome_lineage = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" genome_lineage = make_lineage(genome_lineage) match_rank = 'genus' empty_mh = sourmash.MinHash(n=0, ksize=31, scaled=10000) matches_file1 = 'tests/test-data/2.fa.gz.gather-matches.sig.gz' matches_file2 = 'tests/test-data/63.fa.gz.gather-matches.sig.gz' lineages_csv = 'tests/test-data/test-match-lineages.csv' lca_db, lin_db = make_lca_and_lineages([matches_file1, matches_file2], lineages_csv, empty_mh.scaled, empty_mh.ksize) cleaner = just_taxonomy.ContigsDecontaminator(genome_lineage, match_rank, empty_mh, lca_db, lin_db) cleaner.clean_out = FakeFastaWriter() cleaner.dirty_out = FakeFastaWriter() chunk1 = load_first_chunk('tests/test-data/genomes/63.fa.gz') chunk2 = load_first_chunk('tests/test-data/genomes/2.fa.gz') inp_iter = chunk1 + chunk2 report_fp = StringIO() cleaner.clean_contigs(inp_iter, report_fp) assert cleaner.dirty_out.n == 1 assert cleaner.dirty_out.bp == 49383 assert cleaner.dirty_out.names == [b'NC_011663.1 Shewanella baltica OS223, complete genome'] assert cleaner.clean_out.n == 1 assert cleaner.clean_out.bp == 49296 assert cleaner.clean_out.names == [b'CP001071.1 Akkermansia muciniphila ATCC BAA-835, complete genome'] # double-check lineage juuuuust to confirm clean_name = cleaner.clean_out.names[0] clean_name = clean_name.decode('utf-8') ident = clean_name.split('.')[0] clean_lineage = lin_db.ident_to_lineage[ident] assert utils.is_lineage_match(clean_lineage, genome_lineage, 'genus') def xxx_test_cleaner_class_4(): # specify two bacterial contigs, and ask for superkingdom level cleaning. # (should be nothing dirty) genome_lineage = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" genome_lineage = make_lineage(genome_lineage) match_rank = 'superkingdom' empty_mh = sourmash.MinHash(n=0, ksize=31, scaled=10000) matches_file1 = 'tests/test-data/2.fa.gz.gather-matches.sig.gz' matches_file2 = 'tests/test-data/63.fa.gz.gather-matches.sig.gz' lineages_csv = 'tests/test-data/test-match-lineages.csv' lca_db, lin_db = make_lca_and_lineages([matches_file1, matches_file2], lineages_csv, empty_mh.scaled, empty_mh.ksize) cleaner = just_taxonomy.ContigsDecontaminator(genome_lineage, match_rank, empty_mh, lca_db, lin_db) cleaner.clean_out = FakeFastaWriter() cleaner.dirty_out = FakeFastaWriter() chunk1 = load_first_chunk('tests/test-data/genomes/63.fa.gz') chunk2 = load_first_chunk('tests/test-data/genomes/2.fa.gz') inp_iter = chunk1 + chunk2 report_fp = StringIO() cleaner.clean_contigs(inp_iter, report_fp) assert cleaner.dirty_out.n == 0 assert cleaner.dirty_out.bp == 0 assert cleaner.dirty_out.names == [] assert cleaner.clean_out.n == 2 assert cleaner.clean_out.bp == 49296 + 49383 assert cleaner.clean_out.names == [b'NC_011663.1 Shewanella baltica OS223, complete genome', b'CP001071.1 Akkermansia muciniphila ATCC BAA-835, complete genome'] # double-check lineage juuuuust to confirm for clean_name in cleaner.clean_out.names: clean_name = clean_name.decode('utf-8') ident = clean_name.split('.')[0] clean_lineage = lin_db.ident_to_lineage[ident] assert utils.is_lineage_match(clean_lineage, genome_lineage, match_rank) def xxx_test_cleaner_class_5(): # specify two bacterial contigs, and ask for phylum level cleaning. # => one clean one dirty genome_lineage = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" genome_lineage = make_lineage(genome_lineage) match_rank = 'genus' empty_mh = sourmash.MinHash(n=0, ksize=31, scaled=10000) matches_file1 = 'tests/test-data/2.fa.gz.gather-matches.sig.gz' matches_file2 = 'tests/test-data/63.fa.gz.gather-matches.sig.gz' lineages_csv = 'tests/test-data/test-match-lineages.csv' lca_db, lin_db = make_lca_and_lineages([matches_file1, matches_file2], lineages_csv, empty_mh.scaled, empty_mh.ksize) cleaner = just_taxonomy.ContigsDecontaminator(genome_lineage, match_rank, empty_mh, lca_db, lin_db) cleaner.clean_out = FakeFastaWriter() cleaner.dirty_out = FakeFastaWriter() chunk1 = load_first_chunk('tests/test-data/genomes/63.fa.gz') chunk2 = load_first_chunk('tests/test-data/genomes/2.fa.gz') inp_iter = chunk1 + chunk2 report_fp = StringIO() cleaner.clean_contigs(inp_iter, report_fp) assert cleaner.dirty_out.n == 1 assert cleaner.dirty_out.bp == 49383 assert cleaner.dirty_out.names == [b'NC_011663.1 Shewanella baltica OS223, complete genome'] assert cleaner.clean_out.n == 1 assert cleaner.clean_out.bp == 49296 assert cleaner.clean_out.names == [b'CP001071.1 Akkermansia muciniphila ATCC BAA-835, complete genome'] # double-check lineage juuuuust to confirm clean_name = cleaner.clean_out.names[0] clean_name = clean_name.decode('utf-8') ident = clean_name.split('.')[0] clean_lineage = lin_db.ident_to_lineage[ident] assert utils.is_lineage_match(clean_lineage, genome_lineage, 'genus') def xxx_test_cleaner_gather_method_1(): # specify two bacterial contigs, and ask for phylum level cleaning. # => one clean one dirty genome_lineage = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" genome_lineage = make_lineage(genome_lineage) match_rank = 'genus' empty_mh = sourmash.MinHash(n=0, ksize=31, scaled=10000) matches_file1 = 'tests/test-data/2.fa.gz.gather-matches.sig.gz' matches_file2 = 'tests/test-data/63.fa.gz.gather-matches.sig.gz' lineages_csv = 'tests/test-data/test-match-lineages.csv' lca_db, lin_db = make_lca_and_lineages([matches_file1, matches_file2], lineages_csv, empty_mh.scaled, empty_mh.ksize) cleaner = just_taxonomy.ContigsDecontaminator(genome_lineage, match_rank, empty_mh, lca_db, lin_db) report_fp = StringIO() chunk1 = load_first_chunk('tests/test-data/genomes/63.fa.gz') mh = empty_mh.copy_and_clear() mh.add_sequence(chunk1[0].sequence, force=True) clean_flag, ctg_lin, hash_cnt = cleaner.check_gather(chunk1[0], mh, report_fp) assert clean_flag == ContigInfo.DIRTY chunk2 = load_first_chunk('tests/test-data/genomes/2.fa.gz') mh = empty_mh.copy_and_clear() mh.add_sequence(chunk2[0].sequence, force=True) clean_flag, ctg_lin, hash_cnt = cleaner.check_gather(chunk2[0], mh, report_fp) assert clean_flag == ContigInfo.CLEAN def xxx_test_cleaner_gather_method_1(): # specify two bacterial contigs, and ask for phylum level cleaning. # => one clean one dirty genome_lineage = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" genome_lineage = make_lineage(genome_lineage) match_rank = 'genus' empty_mh = sourmash.MinHash(n=0, ksize=31, scaled=10000) matches_file1 = 'tests/test-data/2.fa.gz.gather-matches.sig.gz' matches_file2 = 'tests/test-data/63.fa.gz.gather-matches.sig.gz' lineages_csv = 'tests/test-data/test-match-lineages.csv' lca_db, lin_db = make_lca_and_lineages([matches_file1, matches_file2], lineages_csv, empty_mh.scaled, empty_mh.ksize) cleaner = just_taxonomy.ContigsDecontaminator(genome_lineage, match_rank, empty_mh, lca_db, lin_db) report_fp = StringIO() chunk1 = load_first_chunk('tests/test-data/genomes/63.fa.gz') mh = empty_mh.copy_and_clear() mh.add_sequence(chunk1[0].sequence, force=True) clean_flag, ctg_lin, hash_cnt = cleaner.check_gather(chunk1[0], mh, report_fp) assert clean_flag == ContigInfo.DIRTY assert cleaner.n_reason_1 == 1 chunk2 = load_first_chunk('tests/test-data/genomes/2.fa.gz') mh = empty_mh.copy_and_clear() mh.add_sequence(chunk2[0].sequence, force=True) clean_flag, ctg_lin, hash_cnt = cleaner.check_gather(chunk2[0], mh, report_fp) assert clean_flag == ContigInfo.CLEAN assert cleaner.n_reason_1 == 1 # should not be incremented def xxx_test_cleaner_lca_method2_1(): # specify two bacterial contigs, and ask for genus level cleaning. # => one clean one dirty, for reason 2 genome_lineage = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" genome_lineage = make_lineage(genome_lineage) match_rank = 'genus' empty_mh = sourmash.MinHash(n=0, ksize=31, scaled=10000) matches_file1 = 'tests/test-data/2.fa.gz.gather-matches.sig.gz' matches_file2 = 'tests/test-data/63.fa.gz.gather-matches.sig.gz' lineages_csv = 'tests/test-data/test-match-lineages.csv' lca_db, lin_db = make_lca_and_lineages([matches_file1, matches_file2], lineages_csv, empty_mh.scaled, empty_mh.ksize) cleaner = just_taxonomy.ContigsDecontaminator(genome_lineage, match_rank, empty_mh, lca_db, lin_db) report_fp = StringIO() chunk1 = load_first_chunk('tests/test-data/genomes/63.fa.gz') mh = empty_mh.copy_and_clear() mh.add_sequence(chunk1[0].sequence, force=True) clean_flag, ctg_lin, hash_cnt, reason = cleaner.check_lca(chunk1[0], mh, report_fp) assert clean_flag == ContigInfo.DIRTY print(cleaner.n_reason_1, cleaner.n_reason_2, cleaner.n_reason_3) assert cleaner.n_reason_3 == 1 chunk2 = load_first_chunk('tests/test-data/genomes/2.fa.gz') mh = empty_mh.copy_and_clear() mh.add_sequence(chunk2[0].sequence, force=True) clean_flag, ctg_lin, hash_cnt, reason = cleaner.check_lca(chunk2[0], mh, report_fp) assert clean_flag == ContigInfo.CLEAN assert cleaner.n_reason_3 == 1 # should not be incremented def xxx_test_cleaner_gather_method_nohash(): # check lca method - no hash genome_lineage = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" genome_lineage = make_lineage(genome_lineage) match_rank = 'genus' empty_mh = sourmash.MinHash(n=0, ksize=31, scaled=10000) lineages_csv = 'tests/test-data/test-match-lineages.csv' lca_db, lin_db = make_lca_and_lineages([], lineages_csv, empty_mh.scaled, empty_mh.ksize) # ok! now, go for cleaning... cleaner = just_taxonomy.ContigsDecontaminator(genome_lineage, match_rank, empty_mh, lca_db, lin_db) report_fp = StringIO() chunk1 = load_first_chunk('tests/test-data/genomes/2.fa.gz') mh = empty_mh.copy_and_clear() clean_flag, ctg_lin, hash_cnt = cleaner.check_gather(chunk1[0], mh, report_fp) assert clean_flag == ContigInfo.NO_HASH assert cleaner.n_reason_1 == 0 def xxx_test_cleaner_gather_method_noident(): # check lca method - no matches genome_lineage = "Bacteria;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila" genome_lineage = make_lineage(genome_lineage) match_rank = 'genus' empty_mh = sourmash.MinHash(n=0, ksize=31, scaled=10000) lineages_csv = 'tests/test-data/test-match-lineages.csv' # no matches here => [] lca_db, lin_db = make_lca_and_lineages([], lineages_csv, empty_mh.scaled, empty_mh.ksize) # ok! now, go for cleaning... cleaner = just_taxonomy.ContigsDecontaminator(genome_lineage, match_rank, empty_mh, lca_db, lin_db) report_fp = StringIO() chunk1 = load_first_chunk('tests/test-data/genomes/2.fa.gz') mh = empty_mh.copy_and_clear() mh.add_sequence(chunk1[0].sequence, force=True) clean_flag, ctg_lin, hash_cnt = cleaner.check_gather(chunk1[0], mh, report_fp) assert clean_flag == ContigInfo.NO_IDENT assert cleaner.n_reason_1 == 0
40.744387
165
0.657708
2,886
23,591
5.127512
0.090437
0.048317
0.03514
0.014191
0.853629
0.844168
0.829369
0.826125
0.823692
0.818286
0
0.024
0.252893
23,591
578
166
40.814879
0.815603
0.067992
0
0.751843
0
0
0.21543
0.153043
0
0
0
0
0.142506
1
0.058968
false
0
0.02457
0
0.100737
0.009828
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
324983fcd165e406adc6c1c3ddae23e2207f639e
210
py
Python
falmer/frontend/admin.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
2
2017-04-27T19:35:59.000Z
2017-06-13T16:19:33.000Z
falmer/frontend/admin.py
sussexstudent/falmer
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
975
2017-04-13T11:31:07.000Z
2022-02-10T07:46:18.000Z
falmer/frontend/admin.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
3
2018-05-09T06:42:25.000Z
2020-12-10T18:29:30.000Z
from django.contrib import admin from django.contrib.admin import register from .models import FrontendDeployment @register(FrontendDeployment) class FrontendDeploymentModelAdmin(admin.ModelAdmin): pass
21
53
0.838095
22
210
8
0.545455
0.113636
0.193182
0
0
0
0
0
0
0
0
0
0.109524
210
9
54
23.333333
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.166667
0.5
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
326010e9c8adcb81263c37f2dbb939bce099df19
14,377
py
Python
index.py
Maz-T/DanceCube-Player
ac6cc6cbc05263b26afe123b43029732569590c4
[ "MIT" ]
1
2021-07-22T02:42:48.000Z
2021-07-22T02:42:48.000Z
index.py
Maz-T/DanceCube-Player
ac6cc6cbc05263b26afe123b43029732569590c4
[ "MIT" ]
null
null
null
index.py
Maz-T/DanceCube-Player
ac6cc6cbc05263b26afe123b43029732569590c4
[ "MIT" ]
null
null
null
keysound = "b'T2dnUwACAAAAAAAAAACMlmxNAAAAANHZFRoBHgF2b3JiaXMAAAAAAnesAAAAAAAAAHECAAAAAAC4AU9nZ1MAAAAAAAAAAAAAjJZsTQEAAAC1tdPAEjL/////////////////////kQN2b3JiaXMiAAAAWGlwaC5PcmcgbGliVm9yYmlzIEkgMjAxNTAxMDUgKD8/XQAAAAABBXZvcmJpcylCQ1YBAAgAAAAxTCDFgNCQVQAAEAAAYCQpDpNmSSmllKEoeZiUSEkppZTFMImYlInFGGOMMcYYY4wxxhhjjCA0ZBUAAAQAgCgJjqPmSWrOOWcYJ45yoDlpTjinIAeKUeA5CcL1JmNuprSma27OKSUIDVkFAAACAEBIIYUUUkghhRRiiCGGGGKIIYcccsghp5xyCiqooIIKMsggg0wy6aSTTjrpqKOOOuootNBCCy200kpMMdVWY669Bl18c84555xzzjnnnHPOCUJDVgEAIAAABEIGGWQQQgghhRRSiCmmmHIKMsiA0JBVAAAgAIAAAAAAR5EUSbEUy7EczdEkT/IsURM10TNFU1RNVVVVVXVdV3Zl13Z113Z9WZiFW7h9WbiFW9iFXfeFYRiGYRiGYRiGYfh93/d93/d9IDRkFQAgAQCgIzmW4ymiIhqi4jmiA4SGrAIAZAAABAAgCZIiKZKjSaZmaq5pm7Zoq7Zty7Isy7IMhIasAgAAAQAEAAAAAACgaZqmaZqmaZqmaZqmaZqmaZqmaZpmWZZlWZZlWZZlWZZlWZZlWZZlWZZlWZZlWZZlWZZlWZZlWZZlWUBoyCoAQAIAQMdxHMdxJEVSJMdyLAcIDVkFAMgAAAgAQFIsxXI0R3M0x3M8x3M8R3REyZRMzfRMDwgNWQUAAAIACAAAAAAAQDEcxXEcydEkT1It03I1V3M913NN13VdV1VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWB0JBVAAAEAAAhnWaWaoAIM5BhIDRkFQCAAAAAGKEIQwwIDVkFAAAEAACIoeQgmtCa8805DprloKkUm9PBiVSbJ7mpmJtzzjnnnGzOGeOcc84pypnFoJnQmnPOSQyapaCZ0JpzznkSmwetqdKac84Z55wOxhlhnHPOadKaB6nZWJtzzlnQmuaouRSbc86JlJsntblUm3POOeecc84555xzzqlenM7BOeGcc86J2ptruQldnHPO+WSc7s0J4ZxzzjnnnHPOOeecc84JQkNWAQBAAAAEYdgYxp2CIH2OBmIUIaYhkx50jw6ToDHIKaQejY5GSqmDUFIZJ6V0gtCQVQAAIAAAhBBSSCGFFFJIIYUUUkghhhhiiCGnnHIKKqikkooqyiizzDLLLLPMMsusw84667DDEEMMMbTSSiw11VZjjbXmnnOuOUhrpbXWWiullFJKKaUgNGQVAAACAEAgZJBBBhmFFFJIIYaYcsopp6CCCggNWQUAAAIACAAAAPAkzxEd0REd0REd0REd0REdz/EcURIlURIl0TItUzM9VVRVV3ZtWZd127eFXdh139d939eNXxeGZVmWZVmWZVmWZVmWZVmWZQlCQ1YBACAAAABCCCGEFFJIIYWUYowxx5yDTkIJgdCQVQAAIACAAAAAAEdxFMeRHMmRJEuyJE3SLM3yNE/zNNETRVE0TVMVXdEVddMWZVM2XdM1ZdNVZdV2Zdm2ZVu3fVm2fd/3fd/3fd/3fd/3fd/XdSA0ZBUAIAEAoCM5kiIpkiI5juNIkgSEhqwCAGQAAAQAoCiO4jiOI0mSJFmSJnmWZ4maqZme6amiCoSGrAIAAAEABAAAAAAAoGiKp5iKp4iK54iOKImWaYmaqrmibMqu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67pAaMgqAEACAEBHciRHciRFUiRFciQHCA1ZBQDIAAAIAMAxHENSJMeyLE3zNE/zNNETPdEzPVV0RRcIDVkFAAACAAgAAAAAAMCQDEuxHM3RJFFSLdVSNdVSLVVUPVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVdU0TdM0gdCQlQAAGQAA5KSm1HoOEmKQOYlBaAhJxBzFXDrpnKNcjIeQI0ZJ7SFTzBAEtZjQSYUU1OJaah1zVIuNrWRIQS22xlIh5agHQkNWCAChGQAOxwEcTQMcSwMAAAAAAAAASdMATRQBzRMBAAAAAAAAwNE0QBM9QBNFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcTQM0UQQ0UQQAAAAAAAAATRQB0VQB0TQBAAAAAAAAQBNFwDNFQDRVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcTQM0UQQ0UQQAAAAAAAAATRQBUTUBTzQBAAAAAAAAQBNFQDRNQFRNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAQ4AAAEWQqEhKwKAOAEAh+NAkiBJ8DSAY1nwPHgaTBPgWBY8D5oH0wQAAAAAAAAAAABA8jR4HjwPpgmQNA+eB8+DaQIAAAAAAAAAAAAgeR48D54H0wRIngfPg+fBNAEAAAAAAAAAAADwTBOmCdGEagI804RpwjRhqgAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAQcAgAATykChISsCgDgBAIejSBIAADiSZFkAAKBIkmUBAIBlWZ4HAACSZXkeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAIABBwCAABPKQKEhKwGAKAAAh6JYFnAcywKOY1lAkiwLYFkATQN4GkAUAYAAAIACBwCAABs0JRYHKDRkJQAQBQDgcBTL0jRR5DiWpWmiyHEsS9NEkWVpmqaJIjRL00QRnud5pgnP8zzThCiKomkCUTRNAQAABQ4AAAE2aEosDlBoyEoAICQAwOE4luV5oiiKpmmaqspxLMvzRFEUTVNVXZfjWJbniaIomqaqui7L0jTPE0VRNE1VdV1omueJoiiapqq6LjRNFE3TNFVVVV0XmuaJpmmaqqqqrgvPE0XTNE1VdV3XBaJomqapqq7rukAUTdM0VdV1XReIomiapqq6rusC0zRNVVVd15VlgGmqqqq6riwDVFVVXdeVZRmgqqrquq4rywDXdV3ZlWVZBuC6rivLsiwAAODAAQAgwAg6yaiyCBtNuPAAFBqyIgCIAgAAjGFKMaUMYxJCCqFhTEJIIWRSUioppQpCKiWVUkFIpaRSMkotpZZSBSGVkkqpIKRSUikFAIAdOACAHVgIhYasBADyAAAIY5RizDnnJEJKMeaccxIhpRhzzjmpFGPOOeeclJIx55xzTkrJmHPOOSelZMw555yTUjrnnHMOSimldM4556SUUkLonHNSSimdc845AQBABQ4AAAE2imxOMBJUaMhKACAVAMDgOJalaZ4niqZpSZKmeZ4nmqZpapKkaZ4niqZpmjzP80RRFE1TVXme54miKJqmqnJdURRN0zRNVSXLoiiKpqmqqgrTNE3TVFVVhWmapmmqquvCtlVVVV3XdWHbqqqqruu6wHVd13VlGbiu67quLAsAAE9wAAAqsGF1hJOiscBCQ1YCABkAAIQxCCmEEFIGIaQQQkgphZAAAIABBwCAABPKQKEhKwGAcAAAgBCMMcYYY4wxNoxhjDHGGGOMMXEKY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHG2FprrbVWABjOhQNAWYSNM6wknRWOBhcashIACAkAAIxBiDHoJJSSSkoVQow5KCWVllqKrUKIMQilpNRabDEWzzkHoaSUWooptuI556Sk1FqMMcZaXAshpZRaiy22GJtsIaSUUmsxxlpjM0q1lFqLMcYYayxKuZRSa7HFGGuNRSibW2sxxlprrTUp5XNLsdVaY6y1JqOMkjHGWmustdYilFIyxhRTrLXWmoQwxvcYY6wx51qTEsL4HlMtsdVaa1JKKSNkjanGWnNOSglljI0t1ZRzzgUAQD04AEAlGEEnGVUWYaMJFx6AQkNWAgC5AQAIQkoxxphzzjnnnHMOUqQYc8w55yCEEEIIIaQIMcaYc85BCCGEEEJIGWPMOecghBBCCKGEklLKmHPOQQghhFJKKSWl1DnnIIQQQiillFJKSqlzzkEIIYRSSimllJRSCCGEEEIIpZRSSikppZRCCCGEEkoppZRSUkophRBCCKWUUkoppaSUUgohhBBKKaWUUkpJKaUUQgmllFJKKaWUklJKKaUQSimllFJKKSWllFJKpZRSSimllFJKSimllEoppZRSSimllJRSSimVUkoppZRSSikppZRSSqmUUkoppZRSUkoppZRSKaWUUkoppaSUUkoppVJKKaWUUkpJKaWUUkqllFJKKaWUklJKKaWUUiqllFJKKaUAAKADBwCAACMqLcROM648AkcUMkxAhYasBADIAAAQB7G01lqrjHLKSUmtQ0Ya5qCk2EkHIbVYS2UgQcpJSp2CCCkGqYWMKqWYk5ZCy5hSDGIrMXSMMUc55VRCxxgAAACCAAADETITCBRAgYEMADhASJACAAoLDB3DRUBALiGjwKBwTDgnnTYAAEGIzBCJiMUgMaEaKCqmA4DFBYZ8AMjQ2Ei7uIAuA1zQxV0HQghCEIJYHEABCTg44YYn3vCEG5ygU1TqQAAAAAAAHgDgAQAg2QAiIqKZ4+jw+AAJERkhKTE5QREAAAAAADsA+AAASFKAiIho5jg6PD5AQkRGSEpMTlACAAABBAAAAABAAAEICAgAAAAAAAQAAAAICE9nZ1MAAMAhAAAAAAAAjJZsTQIAAABn7+xMGFtVYGZpamlj/8r/tf+v/6D/kv+P/47/jfwNfcRjtxGu6QrjbB6XHuKx2wEi5G6/FWylwypkNept1Gobp6pIrlaIotEoeFFVbaViRFi0WosisywWvUYvIEXM6upuBYqMulJNSLXxr0fqGqurBSmS4NbD/QsULl/lnpdKqYytrO4CQUBFZ01ve3drDgGFksHeaTOcf/Fk8v5nHLw6A9YioqoErYAwRG/bGlQtmtpGwWEKW2WWACplvCKoi+gQR6fDgFAkrQC+BRwALDKvsYEkVY0oISlbOd3NgoBrZjPX28uJrcpGG9G3fey4y4gzn3LWmhXG16+rrBehUiyjl07FK2WBOmtV10ovtbgJLRDjMFDI0isWKcWBwF7j0LHqsgjNWPQE0GCZVTYALGqvlZ6VEAi8WVmkXutsQ+dk8M7/UN5l7/tusVIKRNfec6XhZ1surGwPvP0v33b8sI+aOfxNPv+x7ng/crLmY7/K+aLEKuSY9/b1dYg8Cp8Pqa3+DXvuvmJnhOeUAb/yWrpWhy8ChF7LgKGAa8YZ7VFZntkGCa3xoFxyvn7qTyHOdluEGaKaoUtdF//vOLz1whevevlK2XM+TV8uz5rxni+PrkrmrT/U6vU+HZjnzwk10WXxmlifCP/e9S3E6fPyVjBtxTfR/rlNbvSJg74BTD6vWg8ge6Wh0Hmts9+FnqtIvPPvHl5Fxs6WPTPk27muzfgqd5APrP60uf908LND2Raw/v+p3+LyR39c1PWfZcX99q3z95L/nXnt7KWf4eTrkupmuWf7y+n8UXIpLrW83tigstFRWJhuAExOr/AgJEnGTbY742uip6FzVarfe65ObQsbxcfmtBm9SMPpN8avHc6+//+H/t6Iccmn60L9Y393Lhx/KH/zaZ/fO2+nz859Tge2S87MX8oU1QumVMp1tuzxe35i42AAJa9uDuT7YJcgAZRSfd0TVpYO1bSI3G3th+xsi0COdHB+Itr6vv+MQlu4EEGTtX3Ucm4sR0Q/g7XjP7806pImXaGWsqR+1pEXthYq55ncseO97Uv9/os/u7Nmq2KZ1l7CddPKc9z++Uu+zQtYAFq43CTaiO3cNWTgtRk3E1EQF/sDFPA+1yfq13z65o9fZb/9/TfPMfnqPz9MXN0j5lVXDvOHuasum26enqNjtLPtaKumqqGqoUqRkdj3siekdg9v3fMcf/eU3kvRGd6r+5oeeq8+vf8uX+uuzxfG4cVupXuuj8c0J/H3kdXPR3kf7nfveXqUpWz9p4fvqYXLL1ImtXRF1LzufbOcyponD/NW/b+0I4OMl+fcYKGztrvnAMT0nA/GcxEkhyXzjOAMQ648E+f5NHbHCVT7EiqsNSu9oD05leRwsjQ4py+J2mhIQBjy7mJ53S9ybM+PPrh4O+1O1gQgp+cqXFf1tHNqQzFP0wYVU11uRmhIMozaOCvyRco6WTScNndUohRf96mEJVqYfQ67LGX3M2saMELlB/aTa2fRWUCDJx01dE8OeAG6Wnve0wND8T7JINSSe7fUa0Flvacrewa6uPemTbGR4o98V7hNs+MMjEpoAQPCIFAXoRKm5mrx2QzVgHDMGjk0lKoM1bKgkW9QQACGG2EgOZVMSCmxwKKC6lDp+YFqQVIgKCOhwopCocbIRAEA4Osbp6xuB78F0JHIZKAQVCoFVR4HUFTCEA6AQgL+ptwMtcPYXpAGO94ccZOJEdJ5wSxwfzdt2+XUhzeH5SorYGtHfRtWX6tWVZVSWhW4HWF9Hwq4N6yfO3Qw+NbUzeb/rL9156eP7f+1TDQc/DUOjM8Nm4/FY7u41h5KtrkbX3zcOW1rM638NOcr94s4JPJwRCLrZ6OAi+P1liMNTj4F0XSvdYrNpbV3jtY9w7lUX0covqrL0mjyeakl3VSnhV2+f+6Q3EF7d96Zd2TT/y8lZxxVlRudWWuWuvrt2ZOpMwFMDVk9LxkRn0qBMstI8jIHXzA/u4emPXgWXjpfViN+Mn1x9jRy5NncF4jumaY9XQB972oUU8dzd22MwQ2zOTMWLzumyHuaPAIIXu7pWe7q9TRtNf22ud/oxvtc5l6YSgZyD/z84X7UJQ108k5lrxkC0wX5wO5pxDpnEjP97VTOM28zfpzqbCyK5vTUPJOVRYNV+f2ccWttCn+LVn+7AM9yV4OdwopMUcLyDVjNGkQiYAo33A1ysukGhIlmJihd3lC42e1EhLTQTSCQQI+JJyuTEoWWm+Y+oqRsWW4ejV7AYGQoi0PNlv/A0uAAoHA3AmgAnjbcDGWEfL5AA++NuAlgjdkRJOA/vA8vvlVwjfmrtzF923a01mG11qQaR5kxfdzGa8JF3d1X/3vvb++j8adh9Hv20Vs3jNhGv6xIfl1wVnLnNkXmhj/+Nsat9vE16QP36V6eR3y6+0fU2Wocy8/PL9RDvJ3y+Xx37Ify4Axh2pxZXgbd0QShwEpRee6B3KeZs/Veo34fat5ulmTDJJQGX7S8WIbR8OnqXb5aXt6fyUqSIkJD1ghMXQfcA6Emga4G5V3ZLNTkAdL5bD3pnN5tsqfJJztXMQRZXl5xM+FjQewjBBC9Zz/aXX2a2iJWdbJ1tZ0zaH22i+qpmKREJYe8SaAEWUMyvQLvpi9nu5rKnGcQ1Y6ogYJauxhOT/l0MtAZPwxi4BsH9MzsXSlMJ7FAxlzpuZrx13fkk8+cRvD/DtmDYIDeeJoFgPFUTn08QMVfDGAjPC0BUSeGZvQqAawcQaJY1AUUIAxgiDAJwF2Jx4INBS+CASWC1Fo43UoANcwLoAUsZXQT6xVASADwmN9uNZ4AX0CVxwDI6wB7lWsDD2ALQAIWAGRh8R5rgB8Dql423DT8kqEjsMHtKm4csSabCgDvbpamQ+3CNIdc8nDVpcZdtPnRRjuiIzQ0lFKpqi4DdtXFKzmXF3JhG7/xsD5kO739OsxWf/sef/Fz3zOS19op7QzzGhPX/n6/2JYV81A934RxyH7J7ZU+fmj5ViR7vSc0j+f8Gsuh3I7EPok7vk7D0sOeZ6I5NuRnTc4X26WZvNwvqj7attQybxJDU2SdMEvhA/OsVyO2RnGSTUznxJXV1VT2phbn7KqabgczkM+7DtNh1umqzbu9E/C3bgoXrP0yy/AwT9KTzdCjnjuoZVddp2Z8sjt7NFDZ3Im6i26MM09DInA+rXnGZ59d/Yek3sqMcZL0Gie4XLkN5Gba/eyiKmP1ulRBlwVMdg5Df/dcyHrmoZneNVDTm7f5cfdMyXwCMR8jmWHNVngTEGBK44uvLIBewfvQIvsQnGU4ucNdcaSMiSCVxBgIBhAAoJ3xzqGTBJSWylWwsWlBIARpIB8MSYpSopuGBsncgR6SVBCvSAtGYSrW9guFJNNCvDu9Zjse2gCAUSPNLAqYOgFeVtxEtNexCwB8VcWNI5ZkEfQXA957NZXXmR54maaE+nbWmo/WVCWllVVVBvCbyzzloG4p/jfk/4+vZtXgJod90X+0evuCS5+/z95XX5/1/W//51/u+735I3571YuuF27P7YbHRnprqH06mKzlnvXMs+/3eK/sqs6bUxG631NJZz/MwI+gnPz8iu5Zws+k8HWPfnKaYQ690GL//Curm2Vwx6qH3TxJPD9Z7eZSRm9wNe5s3pvM2Bs6vW0NcXYD7sn38Om8L6CsROQoc7L5zf0cO1u7c3cOTEXSVfd94UsRVNx1Jd3FwGYymIoWog95jAwcb2+Fg6gEzlxDRHM3RshzQNbngN7+d+GcbnrTTA/5ew6zME2npw8csPYkuHr3K8EA7Xka8TZ8/HY5Qw4wTwP0DL3Y3vd3sRffG/8xY4F9gh+Hnd/P3Qq422TAtQOaJr6XsVYULEpn/Js6p7QCOACATnwDMhsAeACAAwg/AEAWsBgLADCUzQpIAkdp10JjGi0LtgAtli6Vk5EiiAe6qqOTAB5W3AS6TdYNaOB1ETdk+7qYBgIm7vvjuGhs3d3sbmXT5YdCdx3Kq+CQvArM1o/RJuEjQqWklJYRkgBAas4LvB7D1nf9PvInm3+7r/mfmdPpa/Y/yQf3vq3/ir9Y/fRvK9xt3vrTir9xuBk2Wxkxln0d9e1TV9wIuy8mWtz78HN7O+ZsPG9Q7MqpHLr7jrST/Zs9Tb7PGSaOtO8zywWcq+eJd8POe7lGJaCySO2McTGk4RU4qCHHfp6O5AzxnqGd5Ro66hG9AE3M1/a5RQYJ3cOg5IlZJu8mU2ozwGyy5zDMcrlP+TREV+2i+qMyTF/L/ACni12aK46SyZs8T3Xv4+we0KYiTSVUHffqhqtxCvr46GlmSmPR8EKaI731Dk3zd2hGUEzVPK/cc7pwdoApBliYhivvD8QM9HTyAEBPrQdxAPz4+HhTds+fq/XG+QsYUcQX4DKEjlTql13nDmQJgt+NEARSx8IjjyABIB4LDGiEB6Qw5w0gNNAgVOi/pXCBzGIsAZVDANFUDs0amQYA/lXcCN0mWwEAO6u4IT6TlQEJrvfO8+EA5zXSsdqHn50dw2tV1VRlUBosGUC0f3uf//O1q588/jhMxs42n/YnLJuJ9V99jid/t1fPx8p68Ff8wGLtabH8+YPW+Tfns+3H95D0O87dyyN/V3N99/VXvnymcmToi3VzomFF1D3cWZNuCifRDI/pYqaWhenu+N6OvWVID/TQy3xfHl9w9xDzooapnjM/D1l7wj3d03Uz5D287nu0kRjXNfdlLszk7G+x54B7AKr0qjKhkuk8U8q4vfCx8WvYAGDr4mGJORxyZsNwFmEOJti2WKnskQ9ucu6JiI9VlXVHRDr2tvd3dY4Ci/SM/z7r7dT4mxouxqy/mJyTTgrebLLI6rZyWKuf6RffmmV5by8DuBus/2b8kwnuc8/b5fbPWPv7f1hyKthMbZrHphsDueVBDQMAAGstAIJSLCDZN3uJCClAoKZYhQ7eAGbeFMIW2g1ZjCHsgSalqoAaQoAc3T4kD9IgA6FouEdJz5VoFRSsAKCGgWURAL5VzOv9GZti0WGc20Uc7s41TJegSMF6V5dexZNH3zry1B9264t4PGTom6Qdo60fDVW1kGqqwQDg8L35+/B097gZ9zr6GI3fH6rzTcfL0bxt+r8WVeUWj7h2SLGt3JFw3H7D/l3kB7+af3Nb61W3Go+iU8/Ll2w+plWzIp0UCYe3NAeqmat3C/lpmNR494nv62a/2TN13Xim/1n1r8ro7bg1/SAmMgiH93FuvpnFKOfYaToiM+42uf4cN0lmR2sUPNAAMNmVbLn/BqdpIs746ut3Au2TCXWygJE75nKZzFsQMe07XY3mGuAwkzVd2+/effWel74c53GJFokbEbYOtzlUAsgB0gvuzsmmmu5pKOKf3TQwM+uzkFYBW/BwujIbmt/Z/DrLLYq+KWCTHT4/Ctditt8XF4srx86v3i1xDuOesJafwcwxZ/EwmQAAgIEFDMBjwNotvFS0O6pWQpFMklKaIg+IJAykG6AFMuAYZL4lkfcrBaNSkgiRz59GSwWkEZv2CwBgBSQIyHEJAE9nZ1MABAA9AAAAAAAAjJZsTQMAAACYCwFLDP+P/5L/lv+K/1b0AT5GDP3xSWWgDhGupWsXMd/OdXkUANbD81xz436KDyNm3l0Y/Xxj88N3+JitqmpQSqkqRQLA1fvXnwN3iRMTNX03QvMnj7c5WRxOHt23+Pfj955caP/ilP3Zh88+HL/prJfgZ/nraWz9eG43pxcfwm9eP/tawNzsl+2azy91zvTIEEMnMNNnn7wuM6Qcr6v7a2jmp9xNv5oXMw6oZ05l5XpDR/9dwDBPVlfT3HDoN7lzghZ+5g8FU5HfiOoiDRDvIiefJDl0b0RGCTlFNWsashjYdVEXJKf6kUX63xC59e4B76Q2p3wWsu+fal+XMpvb/jazR5RbvT+7pCy2vcO9CBe+JXuYn+nuKaKdCbU7762iOTP76KZ6UztuWZwE1QP40LOnPsb9Cwgwytlxytf2Sr4GZwf8GhMu6mt2B7OvjGmGtR+x21/vj0KxW0w5rphmIQIgbVZWEWC0dFvZXZ6jSfOFWZS/UQYgf2Xrtc7J00DXIewK2iBdJ82fBkDXeP0axTUFVd0kQUVj0VQhKAAGfkW04vLkpbhUJAutYURunPehOxYIjflWoQzXVwU3lw/OO+8tJbO+tZiNaqhpmKlkQgCwcvI3L7W8lcmG6YeHamr5NGPMrv6MbAfbW16te6cPqX3b+DKdXK2mj3Cb86lVNz0jemgzfH66du0Tnjva3oDC5+b8hyaYlKQyXkdm2t3sw3KMr+A5L6uqh7iPGSsrJ7K+9al2as3KzEmuYg2mskS6iTWViHoUiZwNIF67splOPUMwPGdUc6YoioEPdNdLsonjhFQSm2SaQ/dlTL3/c5cF80/GldlOH5j/RRy9wi/dzXkj/dTfPxmQ6TjN3owyv4GZPYNtixxJBjw1ZGk/nJPZvm90ms6GTg3AA0XrT7xZOP/zAtmHbmmADSJnwGQ+hT5g+/KNAKbN1nXqrxKKIUfQN4m9d5v/cjCfZ+rsvC6nnjPIfztXM9+bbIgEwA8ACkcCaJdaCTfcr7sFaQTWDd0d7YwnRY0AGHMApBsmGWUowDeBNlRip2qp8PXbIBClVff3IAssXhAvv6v6lDkaAA4+RiTG9S1XgEKomMaIdF7eeVeAUEfMt4Ij/+noMIV11Uedii/Tt6O+9RYWaqqUmWQAgPJ31hsd3Xvrt882l9NmJJtDF+N278XvxdWrsbqbiv0+vj3uLucloZknKt4cYWoy3ER693L458tsLqbSfNL41/bWu2P579OFI4bsy5x9BhVzX8vnHm5Z6Hu+hp5vVPt87l3q7evME+/DWNXXwA9UmoK54jxnN3lnYUB5a72Lctu3PVWlo/6GvKya2qlsF8+rKjeVyvn5/5880zdNNriZ7hkmnYf2qmzUrexfxwO9DfFylyPgq7oyq5LM/tFJTtov5FBEK8ysNJPumil58y43HIB8xqps+A5scvm3z/SYYZt518c/a4E+obMzz3WKZqAFlV9laYZJif3avPsKJuuDvQD4AciK6uyT8+MhcZtOSAz2cPW+v1x5P5/e2mfUCkfvX43mbR/QjRjgAsxKQVDeVKWQZGPDAFA6tsqpzibqlqyjODIeJLHVV2wXatRvWxhAhJb/WhRZCAAbeH+U2CUtBuqlAAU+ZuzT+FHRIBJ2hi5jWZYf1aAUwE3BwcJ1l6+P7um5nOC8Q8PuK2r4RqMaKl1VdpkEAJRWJ/d3zYPXk8f72EOwOajq3qb3314m3x8TL0ZmY2/i6qBuyvb/RO9GUtpt3dsvfrqW/3K3NJ/vT4nG3UePrVxzcxHz4tHHD1NH3vjsSlHTub7/7v+dkAfcOLL29qUqau3Lv4f0VVpV6R4KBs6nrjtreojrVW/e/fJBO1KInsuj2Z/v67tB4fJ23qJ2r4qz9+MeqGgNqi4rBpie9lPWlJsBU5VFzvOenKb2mc5tJ/pwpEvlXIBqQ1H/n6x073sfCxXWqul5pqHaSffA1ZWfX/kpRwUwBfsw1fP99TuZZe2prH2ycrKm61MJGfP5ewD2b2megV6X+AKYBqh0VBR0Tk3Fd3YCjof/3vSFn9VX9dDOSiqB7y/YXH7WX64NqBGH45cxcDGJYa2AjI4N+CrwdcMIsGtP/0ubG3mu6W6BmAk8jWgahIyBpvG1AwH0CxhkiR6gVl/SAgU+Znyv85OMyveUjFAfkJ6wb8v4tV3eIIAJ3PA+Kdx1Axe88F1rZmatqqqqKgAAAErudrtRJE3b5sf7xf7r/9PH/bWVzZW+i/H2dtdCtz3ZG0XSTGj+XlyMzh4Nhx+/WX6M5aLnaoc6n+kif+f/uvo6zvHtkj8yg+wBqByK/J3/6+rrnrq7/lVJNQDhXeAf/LkvNtP3rfupP5UUAFQOkCf/mZ01dXf9qaQAmPL8/lU/XVPV9acSAJjy/P5VP11TpfpTCQBmyvP36qdrqlR/KgFgc2qGv1c/XVOl+lMJAJtjhr9XP11TpfpTWQCoyBFweDM7a6pU/6osgFKRI+DwZnbWVKn+VVkANR9x/l799P3WfLYpy5qPOH+vfvrebs82ZVnzEefvjel7uz3blGXNxwx/b0zfWzfblGXNx8z4e0iRSgCAoORDKpUAAAHyISABAALkA8ADAL5l/G8vb6yiCGk7dQMBWca/R7uDACaw775726qqqqoCAAAAAIDwmI8zU5nZL/7P/35uaaczx0dTcngR1dW+XOh8nJnKzH7xf/73hRFDi+OpF8tFVPdQ6fMpdsfR+/vHpSwSDi9zeDtkTw+VnF3stub3X/FVkDfXfcFUE97zNDPVkL/46bObNAE88KVDNwC9Ydp6f/6PE8gi7wQAgAR6+v152wlkkZUAAADQ0+/P204gi6wEAACAnn5/3q4EErISAOBcXV1NMdg0AMC5urLAJgDAubqywCYAAFceYBMAgCsPsAkAwJUH2AQA4MoDbAIAcOUBNgEO'"
7,188.5
14,376
0.969604
391
14,377
35.652174
0.976982
0.001291
0.001291
0
0
0
0
0
0
0
0
0.126687
0.000209
14,377
1
14,377
14,377
0.84312
0
0
0
0
1
0.999026
0.999026
0
1
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
8
087e62e6b8d670818a3b318cf5896e40ef5c29e4
4,566
py
Python
ModelUtil.py
sanixa/blind_MI
d0fafe56ea998a5b18fd1ace2176d434d7d04ca7
[ "MIT" ]
20
2020-08-30T21:54:50.000Z
2022-02-08T07:54:32.000Z
ModelUtil.py
sanixa/blind_MI
d0fafe56ea998a5b18fd1ace2176d434d7d04ca7
[ "MIT" ]
null
null
null
ModelUtil.py
sanixa/blind_MI
d0fafe56ea998a5b18fd1ace2176d434d7d04ca7
[ "MIT" ]
6
2021-01-20T04:06:11.000Z
2022-03-31T23:49:33.000Z
from tensorflow.keras.layers import GlobalAveragePooling2D, Dense, Activation,Conv2D, MaxPooling2D,Flatten import tensorflow as tf from tensorflow.keras.applications import ResNet50, ResNet101, VGG16, VGG19, DenseNet121 def create_ResNet50_model(input_shape, num_classes): model = tf.keras.Sequential([ ResNet50(include_top=False, weights='imagenet', input_shape=input_shape), GlobalAveragePooling2D(), Dense(num_classes), Activation("softmax") ]) model.summary() return model def create_ResNet101_model(input_shape, num_classes): model = tf.keras.Sequential([ ResNet101(include_top=False, weights='imagenet', input_shape=input_shape), GlobalAveragePooling2D(), Dense(num_classes), Activation("softmax") ]) model.summary() return model def create_VGG16_model(input_shape, num_classes): model = tf.keras.Sequential([ VGG16(include_top=False, weights='imagenet', input_shape=input_shape), GlobalAveragePooling2D(), Dense(num_classes), Activation("softmax") ]) model.summary() return model def create_VGG19_model(input_shape, num_classes): model = tf.keras.Sequential([ VGG19(include_top=False, weights='imagenet', input_shape=input_shape), GlobalAveragePooling2D(), Dense(num_classes), Activation("softmax") ]) model.summary() return model def create_DenseNet121_model(input_shape, num_classes): model = tf.keras.Sequential([ DenseNet121(include_top=False, weights='imagenet', input_shape=input_shape), GlobalAveragePooling2D(), Dense(num_classes), Activation("softmax") ]) model.summary() return model def create_CNN_model(input_shape, num_classes): model = tf.keras.Sequential([ Conv2D(32, (3, 3), activation='relu', input_shape=input_shape), Conv2D(32, (3, 3), activation='relu'), MaxPooling2D(pool_size=(2, 2)), Flatten(), Dense(128, activation='relu'), Dense(num_classes), Activation('softmax') ]) model.summary() return model def create_Dense_3_layer_model(input_shape, num_classes): model = tf.keras.Sequential([ Dense(512, activation='relu', input_shape=input_shape), Dense(256, activation='relu'), Dense(128, activation='relu'), Dense(num_classes), Activation('softmax') ]) model.summary() return model def create_Dense_4_layer_model(input_shape, num_classes): model = tf.keras.Sequential([ Dense(1024, activation='relu', input_shape=input_shape), Dense(512, activation='relu'), Dense(256, activation='relu'), Dense(128, activation='relu'), Dense(num_classes), Activation('softmax') ]) model.summary() return model def create_Dense_5_layer_model(input_shape, num_classes): model = tf.keras.Sequential([ Dense(2048, activation='relu', input_shape=input_shape), Dense(1024, activation='relu'), Dense(512, activation='relu'), Dense(256, activation='relu'), Dense(128, activation='relu'), Dense(num_classes), Activation('softmax') ]) model.summary() return model def create_Dense_6_layer_model(input_shape, num_classes): model = tf.keras.Sequential([ Dense(4096, activation='relu', input_shape=input_shape), Dense(2048, activation='relu'), Dense(1024, activation='relu'), Dense(512, activation='relu'), Dense(256, activation='relu'), Dense(128, activation='relu'), Dense(num_classes), Activation('softmax') ]) model.summary() return model def create_Dense_7_layer_model(input_shape, num_classes): model = tf.keras.Sequential([ Dense(8192, activation='relu', input_shape=input_shape), Dense(4096, activation='relu'), Dense(2048, activation='relu'), Dense(1024, activation='relu'), Dense(512, activation='relu'), Dense(256, activation='relu'), Dense(128, activation='relu'), Dense(num_classes), Activation('softmax') ]) model.summary() return model
29.843137
107
0.607753
467
4,566
5.743041
0.115632
0.123043
0.14877
0.073826
0.870619
0.870619
0.845265
0.780015
0.780015
0.67487
0
0.045317
0.275077
4,566
152
108
30.039474
0.764955
0
0
0.776923
0
0
0.05188
0
0
0
0
0
0
1
0.084615
false
0
0.023077
0
0.192308
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3ed962794cce06acd90d1b580d32fe0c4c9da626
7,995
py
Python
tests/board.py
Yuessiah/Othello-Minimax
e7fb043189ef108b639697ae74fd92c0695caac1
[ "MIT" ]
null
null
null
tests/board.py
Yuessiah/Othello-Minimax
e7fb043189ef108b639697ae74fd92c0695caac1
[ "MIT" ]
null
null
null
tests/board.py
Yuessiah/Othello-Minimax
e7fb043189ef108b639697ae74fd92c0695caac1
[ "MIT" ]
1
2021-05-05T01:20:40.000Z
2021-05-05T01:20:40.000Z
from game.board import Board from game.settings import * __author__ = 'bengt' import unittest class TestBoard(unittest.TestCase): def setUp(self): pass def test_init(self): b = Board(False) self.assertEqual(len(b.get_move_pieces(WHITE)), 0) self.assertEqual(len(b.get_move_pieces(BLACK)), 0) def test_draw(self): b = Board(False) b.set_black(0, 0) b.set_black(1, 0) b.set_white(1, 1) b.set_move(0, 1) result = b.draw() canvas = """ a.b.c.d.e.f.g.h. 1 BBBB............1 2 MMWW............2 3 ................3 4 ................4 5 ................5 6 ................6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" self.assertEqual(result, canvas) b.clear_moves() b.mark_moves(BLACK) result = b.draw() canvas = """ a.b.c.d.e.f.g.h. 1 BBBB............1 2 ..WW............2 3 ..MMMM..........3 4 ................4 5 ................5 6 ................6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" self.assertEqual(result, canvas) b.clear_moves() b = Board(False) b.set_white(3, 3) b.set_white(3, 4) b.set_white(4, 4) b.set_white(4, 3) b.set_black(2, 2) b.set_black(3, 2) b.set_black(4, 2) b.set_black(5, 2) b.set_black(2, 3) b.set_black(5, 3) b.set_black(2, 4) b.set_black(5, 4) b.set_black(2, 5) b.set_black(3, 5) b.set_black(4, 5) b.set_black(5, 5) b.clear_moves() b.mark_moves(WHITE) result = b.draw() canvas = """ a.b.c.d.e.f.g.h. 1 ................1 2 ..MMMMMMMMMMMM..2 3 ..MMBBBBBBBBMM..3 4 ..MMBBWWWWBBMM..4 5 ..MMBBWWWWBBMM..5 6 ..MMBBBBBBBBMM..6 7 ..MMMMMMMMMMMM..7 8 ................8 a.b.c.d.e.f.g.h.""" self.assertEqual(result, canvas) b = Board(False) b.set_white(3, 3) b.set_white(4, 4) b.set_black(3, 4) b.set_black(4, 3) b.mark_moves(BLACK) result = b.draw() canvas = """ a.b.c.d.e.f.g.h. 1 ................1 2 ................2 3 ......MM........3 4 ....MMWWBB......4 5 ......BBWWMM....5 6 ........MM......6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" b.clear_moves() b.make_move((3, 2), BLACK) b.mark_moves(WHITE) result = b.draw() canvas = """ a.b.c.d.e.f.g.h. 1 ................1 2 ................2 3 ....MMBBMM......3 4 ......BBBB......4 5 ....MMBBWW......5 6 ................6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" b.clear_moves() b.make_move((2, 2), WHITE) b.mark_moves(BLACK) result = b.draw() canvas = """ a.b.c.d.e.f.g.h. 1 ................1 2 ................2 3 ..MMWWBB........3 4 ....MMWWBB......4 5 ......BBWWMM....5 6 ........MM......6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" b = Board(False) b.set_white(6, 0) b.set_white(5, 1) b.set_white(3, 1) b.set_white(3, 2) b.set_white(4, 2) b.set_white(5, 2) b.set_white(3, 3) b.set_white(4, 3) b.set_black(2, 3) b.set_black(2, 4) b.set_black(3, 4) b.set_black(4, 4) b.set_black(1, 5) b.set_black(4, 5) b.mark_moves(BLACK) result = b.draw() canvas = """ a.b.c.d.e.f.g.h. 1 ......MM....WW..1 2 ......WWMMWWMM..2 3 ....MMWWWWWW....3 4 ....BBWWWWMM....4 5 ....BBBBBB......5 6 ..BB....BB......6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" self.assertEqual(result, canvas) b = Board(False) b.set_white(3, 4) b.set_white(4, 0) b.set_white(4, 3) b.set_white(4, 4) b.set_white(5, 0) b.set_white(5, 1) b.set_white(5, 3) b.set_white(6, 0) b.set_white(6, 1) b.set_white(7, 0) b.set_black(2, 0) b.set_black(3, 1) b.set_black(4, 1) b.set_black(7, 1) b.set_black(3, 2) b.set_black(4, 2) b.set_black(5, 2) b.set_black(6, 2) b.set_black(7, 2) b.set_black(3, 3) b.set_black(2, 3) b.set_black(2, 4) b.set_black(1, 5) b.mark_moves(BLACK) result = b.draw() #0 1 2 3 4 5 6 7 canvas = """ a.b.c.d.e.f.g.h. 1 ....BB..WWWWWWWW1 2 ......BBBBWWWWBB2 3 ......BBBBBBBBBB3 4 ....BBBBWWWWMM..4 5 ....BBWWWWMMMM..5 6 ..BBMMMMMMMM....6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" self.assertEqual(result, canvas) b = Board(False) b.set_white(3, 4) b.set_white(4, 0) b.set_white(4, 3) b.set_white(4, 4) b.set_white(5, 0) b.set_white(5, 1) b.set_white(5, 3) b.set_white(6, 0) b.set_white(6, 1) b.set_white(7, 0) b.set_black(2, 0) b.set_black(3, 1) b.set_black(4, 1) b.set_black(7, 1) b.set_black(3, 2) b.set_black(4, 2) b.set_black(5, 2) b.set_black(6, 2) b.set_black(7, 2) b.set_black(3, 3) b.set_black(2, 3) b.set_black(2, 4) b.set_black(1, 5) b.mark_moves(BLACK) result = b.draw() #0 1 2 3 4 5 6 7 canvas = """ a.b.c.d.e.f.g.h. 1 ....BB..WWWWWWWW1 2 ......BBBBWWWWBB2 3 ......BBBBBBBBBB3 4 ....BBBBWWWWMM..4 5 ....BBWWWWMMMM..5 6 ..BBMMMMMMMM....6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" self.assertEqual(result, canvas) b = Board(False) b.set_white(3, 2) b.set_white(4, 1) b.set_white(4, 2) b.set_white(5, 1) b.set_white(5, 2) b.set_white(6, 0) b.set_white(6, 1) b.set_white(6, 2) b.set_white(6, 3) b.set_black(1, 3) b.set_black(1, 5) b.set_black(2, 0) b.set_black(2, 3) b.set_black(2, 4) b.set_black(3, 1) b.set_black(3, 3) b.set_black(3, 4) b.set_black(3, 5) b.set_black(4, 3) b.set_black(4, 4) b.set_black(5, 3) b.set_black(5, 5) b.set_black(6, 4) b.set_black(7, 0) b.mark_moves(BLACK) result = b.draw() #0 1 2 3 4 5 6 7 canvas = """ a.b.c.d.e.f.g.h. 1 ....BB..MMMMWWBB1 2 ....MMBBWWWWWWMM2 3 ......WWWWWWWW..3 4 ..BBBBBBBBBBWWMM4 5 ....BBBBBB..BB..5 6 ..BB..BB..BB....6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" self.assertEqual(result, canvas) b.clear_moves() b.mark_moves(WHITE) result = b.draw() canvas = """ a.b.c.d.e.f.g.h. 1 ....BBMM....WWBB1 2 ....MMBBWWWWWW..2 3 ......WWWWWWWW..3 4 MMBBBBBBBBBBWW..4 5 ..MMBBBBBBMMBB..5 6 ..BBMMBBMMBBMMMM6 7 MM..MMMM........7 8 ................8 a.b.c.d.e.f.g.h.""" self.assertEqual(result, canvas) ##b.clear_moves() ##b.mark_moves(WHITE) b.clear_moves() b.make_move((0, 3), WHITE) result = b.draw() #0 1 2 3 4 5 6 7 canvas = """ a.b.c.d.e.f.g.h. 1 ....BB......WWBB1 2 ......BBWWWWWW..2 3 ......WWWWWWWW..3 4 WWWWWWWWWWWWWW..4 5 ....BBBBBB..BB..5 6 ..BB..BB..BB....6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" self.assertEqual(result, canvas) def test_ai(self): b = Board(False) b.set_black(4, 3) b.set_black(3, 4) b.set_white(4, 4) b.set_white(3, 3) b.clear_moves() b.mark_moves(BLACK) result = b.draw() canvas = """ a.b.c.d.e.f.g.h. 1 ................1 2 ................2 3 ......MM........3 4 ....MMWWBB......4 5 ......BBWWMM....5 6 ........MM......6 7 ................7 8 ................8 a.b.c.d.e.f.g.h.""" self.assertEqual(result, canvas) #b.make_move() if __name__ == '__main__': unittest.main()
22.085635
58
0.43965
1,344
7,995
2.499256
0.06622
0.133373
0.174159
0.030962
0.818101
0.802918
0.789223
0.757666
0.715094
0.657636
0
0.082909
0.28793
7,995
361
59
22.146814
0.507114
0.013383
0
0.796774
0
0
0.326691
0
0
0
0
0
0.03871
1
0.012903
false
0.003226
0.009677
0
0.025806
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
41210070bdc9b0159254aa177ef2b268b54df842
3,563
py
Python
tailor/migrationsb/0005_auto_20191210_1402.py
Albert-Byrone/Tailor_Hub
0ab4402302d03f261ff00af79f84b62cbd241a27
[ "MIT" ]
null
null
null
tailor/migrationsb/0005_auto_20191210_1402.py
Albert-Byrone/Tailor_Hub
0ab4402302d03f261ff00af79f84b62cbd241a27
[ "MIT" ]
4
2020-02-12T03:25:34.000Z
2021-06-10T22:24:24.000Z
tailor/migrationsb/0005_auto_20191210_1402.py
Albert-Byrone/Tailor_Hub
0ab4402302d03f261ff00af79f84b62cbd241a27
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-12-10 11:02 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('tailor', '0004_auto_20191210_1328'), ] operations = [ migrations.RemoveField( model_name='billingaddress', name='apartment_address', ), migrations.RemoveField( model_name='billingaddress', name='country', ), migrations.RemoveField( model_name='billingaddress', name='street_address', ), migrations.RemoveField( model_name='billingaddress', name='user', ), migrations.RemoveField( model_name='billingaddress', name='zipcode', ), migrations.RemoveField( model_name='item', name='category', ), migrations.RemoveField( model_name='item', name='created', ), migrations.RemoveField( model_name='item', name='description', ), migrations.RemoveField( model_name='item', name='discount_price', ), migrations.RemoveField( model_name='item', name='label', ), migrations.RemoveField( model_name='item', name='photo', ), migrations.RemoveField( model_name='item', name='price', ), migrations.RemoveField( model_name='item', name='title', ), migrations.RemoveField( model_name='item', name='user', ), migrations.RemoveField( model_name='order', name='billing_address', ), migrations.RemoveField( model_name='order', name='is_ordered', ), migrations.RemoveField( model_name='order', name='items', ), migrations.RemoveField( model_name='order', name='ordered_date', ), migrations.RemoveField( model_name='order', name='start_date', ), migrations.RemoveField( model_name='order', name='user', ), migrations.RemoveField( model_name='orderitem', name='is_ordered', ), migrations.RemoveField( model_name='orderitem', name='item', ), migrations.RemoveField( model_name='orderitem', name='quantity', ), migrations.RemoveField( model_name='orderitem', name='user', ), migrations.RemoveField( model_name='profile', name='bio', ), migrations.RemoveField( model_name='profile', name='contact', ), migrations.RemoveField( model_name='profile', name='email', ), migrations.RemoveField( model_name='profile', name='location', ), migrations.RemoveField( model_name='profile', name='name', ), migrations.RemoveField( model_name='profile', name='prof_pic', ), migrations.RemoveField( model_name='profile', name='user', ), ]
25.45
46
0.486107
261
3,563
6.452107
0.245211
0.38658
0.478622
0.552257
0.800475
0.796318
0.218527
0
0
0
0
0.014974
0.400225
3,563
139
47
25.633094
0.773046
0.018524
0
0.757576
1
0
0.138523
0.006583
0
0
0
0
0
1
0
false
0
0.015152
0
0.037879
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
eb1b9f7d387773ad6efa86ada88c18c708c7ad2b
130
py
Python
wildfirepy/net/usgs/__init__.py
bestpal97/wildfirepy
20aa7d4fa545d8a7bc6b7b844786ce18e8d8631e
[ "MIT" ]
21
2020-05-03T11:29:49.000Z
2021-08-18T15:51:29.000Z
wildfirepy/net/usgs/__init__.py
lisa761/wildfirepy
9f54e87adf7d7ff3738f1a13303d4073dd82fbc1
[ "MIT" ]
60
2020-05-01T22:35:09.000Z
2020-12-07T08:48:59.000Z
wildfirepy/net/usgs/__init__.py
lisa761/wildfirepy
9f54e87adf7d7ff3738f1a13303d4073dd82fbc1
[ "MIT" ]
24
2020-05-02T02:01:56.000Z
2021-01-05T18:03:19.000Z
from wildfirepy.net.usgs.modis import * from wildfirepy.net.usgs.usgs_downloader import * from wildfirepy.net.usgs.viirs import *
32.5
49
0.815385
19
130
5.526316
0.421053
0.4
0.485714
0.6
0.514286
0
0
0
0
0
0
0
0.092308
130
3
50
43.333333
0.889831
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
de52b6d51dc6fd97201e43b46299476bff9f6886
13,383
py
Python
setup.py
Allthemighty/Pyramid-REST-API
d5619c7639440fbe83bb927d837ba82354ebd129
[ "MIT" ]
null
null
null
setup.py
Allthemighty/Pyramid-REST-API
d5619c7639440fbe83bb927d837ba82354ebd129
[ "MIT" ]
1
2020-01-25T22:11:05.000Z
2020-01-25T22:11:05.000Z
setup.py
MichaelVerdegaal/Pyramid-REST-API
d5619c7639440fbe83bb927d837ba82354ebd129
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='Pyramid-REST-API', version='', packages=['interpreter.Lib.site-packages.zope.interface', 'interpreter.Lib.site-packages.zope.interface.tests', 'interpreter.Lib.site-packages.zope.interface.common', 'interpreter.Lib.site-packages.zope.interface.common.tests', 'interpreter.Lib.site-packages.zope.sqlalchemy', 'interpreter.Lib.site-packages.zope.deprecation', 'interpreter.Lib.site-packages.paste.deploy', 'interpreter.Lib.site-packages.webob', 'interpreter.Lib.site-packages.hupper', 'interpreter.Lib.site-packages.jinja2', 'interpreter.Lib.site-packages.repoze.lru', 'interpreter.Lib.site-packages.plaster', 'interpreter.Lib.site-packages.pyramid', 'interpreter.Lib.site-packages.pyramid.tests', 'interpreter.Lib.site-packages.pyramid.tests.pkgs', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.ccbugapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.eventonly', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.hybridapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.localeapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.fixtureapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.fixtureapp.subpackage', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.permbugapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.restbugapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.conflictapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.includeapp1', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.wsgiapp2app', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.forbiddenapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.notfoundview', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.defpermbugapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.forbiddenview', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.staticpermapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.subrequestapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.static_abspath', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.rendererscanapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.rendererscanapp.two', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.exceptionviewapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.static_assetspec', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.viewdecoratorapp', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.viewdecoratorapp.views', 'interpreter.Lib.site-packages.pyramid.tests.pkgs.static_routeprefix', 'interpreter.Lib.site-packages.pyramid.tests.test_config', 'interpreter.Lib.site-packages.pyramid.tests.test_config.path.scanerror', 'interpreter.Lib.site-packages.pyramid.tests.test_config.pkgs', 'interpreter.Lib.site-packages.pyramid.tests.test_config.pkgs.asset', 'interpreter.Lib.site-packages.pyramid.tests.test_config.pkgs.asset.subpackage', 'interpreter.Lib.site-packages.pyramid.tests.test_config.pkgs.selfscan', 'interpreter.Lib.site-packages.pyramid.tests.test_config.pkgs.scannable', 'interpreter.Lib.site-packages.pyramid.tests.test_config.pkgs.scannable.subpackage', 'interpreter.Lib.site-packages.pyramid.tests.test_config.pkgs.scannable.subpackage.subsubpackage', 'interpreter.Lib.site-packages.pyramid.tests.test_config.pkgs.scanextrakw', 'interpreter.Lib.site-packages.pyramid.tests.test_scripts', 'interpreter.Lib.site-packages.pyramid.tests.test_scaffolds', 'interpreter.Lib.site-packages.pyramid.config', 'interpreter.Lib.site-packages.pyramid.scripts', 'interpreter.Lib.site-packages.pyramid.scaffolds', 'interpreter.Lib.site-packages.pyramid.scaffolds.zodb.+package+', 'interpreter.Lib.site-packages.pyramid.scaffolds.alchemy.+package+', 'interpreter.Lib.site-packages.pyramid.scaffolds.alchemy.+package+.views', 'interpreter.Lib.site-packages.pyramid.scaffolds.alchemy.+package+.scripts', 'interpreter.Lib.site-packages.pyramid.scaffolds.starter.+package+', 'interpreter.Lib.site-packages.psycopg2', 'interpreter.Lib.site-packages.psycopg2.tests', 'interpreter.Lib.site-packages.venusian', 'interpreter.Lib.site-packages.venusian.tests', 'interpreter.Lib.site-packages.venusian.tests.fixtures', 'interpreter.Lib.site-packages.venusian.tests.fixtures.one', 'interpreter.Lib.site-packages.venusian.tests.fixtures.pyc', 'interpreter.Lib.site-packages.venusian.tests.fixtures.pyc.subpackage', 'interpreter.Lib.site-packages.venusian.tests.fixtures.two', 'interpreter.Lib.site-packages.venusian.tests.fixtures.nested', 'interpreter.Lib.site-packages.venusian.tests.fixtures.nested.sub1', 'interpreter.Lib.site-packages.venusian.tests.fixtures.nested.sub1.subsub1', 'interpreter.Lib.site-packages.venusian.tests.fixtures.nested.sub2', 'interpreter.Lib.site-packages.venusian.tests.fixtures.nested.sub2.subsub2', 'interpreter.Lib.site-packages.venusian.tests.fixtures.attrerror', 'interpreter.Lib.site-packages.venusian.tests.fixtures.importonly', 'interpreter.Lib.site-packages.venusian.tests.fixtures.importerror', 'interpreter.Lib.site-packages.venusian.tests.fixtures.subpackages', 'interpreter.Lib.site-packages.venusian.tests.fixtures.subpackages.childpackage', 'interpreter.Lib.site-packages.venusian.tests.fixtures.import_and_scan', 'interpreter.Lib.site-packages.venusian.tests.fixtures.attrerror_package', 'interpreter.Lib.site-packages.venusian.tests.fixtures.attrerror_package.will_cause_import_error', 'interpreter.Lib.site-packages.venusian.tests.fixtures.importerror_package', 'interpreter.Lib.site-packages.venusian.tests.fixtures.importerror_package.will_cause_import_error', 'interpreter.Lib.site-packages.markupsafe', 'interpreter.Lib.site-packages.sqlalchemy', 'interpreter.Lib.site-packages.sqlalchemy.ext', 'interpreter.Lib.site-packages.sqlalchemy.ext.declarative', 'interpreter.Lib.site-packages.sqlalchemy.orm', 'interpreter.Lib.site-packages.sqlalchemy.sql', 'interpreter.Lib.site-packages.sqlalchemy.util', 'interpreter.Lib.site-packages.sqlalchemy.event', 'interpreter.Lib.site-packages.sqlalchemy.engine', 'interpreter.Lib.site-packages.sqlalchemy.testing', 'interpreter.Lib.site-packages.sqlalchemy.testing.suite', 'interpreter.Lib.site-packages.sqlalchemy.testing.plugin', 'interpreter.Lib.site-packages.sqlalchemy.dialects', 'interpreter.Lib.site-packages.sqlalchemy.dialects.mssql', 'interpreter.Lib.site-packages.sqlalchemy.dialects.mysql', 'interpreter.Lib.site-packages.sqlalchemy.dialects.oracle', 'interpreter.Lib.site-packages.sqlalchemy.dialects.sqlite', 'interpreter.Lib.site-packages.sqlalchemy.dialects.sybase', 'interpreter.Lib.site-packages.sqlalchemy.dialects.firebird', 'interpreter.Lib.site-packages.sqlalchemy.dialects.postgresql', 'interpreter.Lib.site-packages.sqlalchemy.databases', 'interpreter.Lib.site-packages.sqlalchemy.connectors', 'interpreter.Lib.site-packages.transaction', 'interpreter.Lib.site-packages.transaction.tests', 'interpreter.Lib.site-packages.pyramid_mako', 'interpreter.Lib.site-packages.pyramid_jinja2', 'interpreter.Lib.site-packages.pyramid_jinja2.demo', 'interpreter.Lib.site-packages.pyramid_jinja2.tests', 'interpreter.Lib.site-packages.pyramid_jinja2.scaffolds', 'interpreter.Lib.site-packages.translationstring', 'interpreter.Lib.site-packages.translationstring.tests', 'interpreter.Lib.site-packages.plaster_pastedeploy', 'interpreter.Lib.site-packages.mako-1.0.7-py3.6.egg.mako', 'interpreter.Lib.site-packages.mako-1.0.7-py3.6.egg.mako.ext', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.idna', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.pytoml', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.certifi', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.chardet', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.chardet.cli', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.distlib', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.distlib._backport', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.msgpack', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.urllib3', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.urllib3.util', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.urllib3.contrib', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.urllib3.contrib._securetransport', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.urllib3.packages', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.urllib3.packages.backports', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.urllib3.packages.ssl_match_hostname', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.colorama', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.html5lib', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.html5lib._trie', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.html5lib.filters', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.html5lib.treewalkers', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.html5lib.treeadapters', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.html5lib.treebuilders', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.lockfile', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.progress', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.requests', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.packaging', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.cachecontrol', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.cachecontrol.caches', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.webencodings', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._vendor.pkg_resources', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._internal', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._internal.req', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._internal.vcs', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._internal.utils', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._internal.models', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._internal.commands', 'interpreter.Lib.site-packages.pip-10.0.1-py3.6.egg.pip._internal.operations', 'interpreter.Lib.site-packages.Pygments-2.2.0-py3.6.egg.pygments', 'interpreter.Lib.site-packages.Pygments-2.2.0-py3.6.egg.pygments.lexers', 'interpreter.Lib.site-packages.Pygments-2.2.0-py3.6.egg.pygments.styles', 'interpreter.Lib.site-packages.Pygments-2.2.0-py3.6.egg.pygments.filters', 'interpreter.Lib.site-packages.Pygments-2.2.0-py3.6.egg.pygments.formatters', 'interpreter.Lib.site-packages.waitress-1.1.0-py3.6.egg.waitress', 'interpreter.Lib.site-packages.waitress-1.1.0-py3.6.egg.waitress.tests', 'interpreter.Lib.site-packages.waitress-1.1.0-py3.6.egg.waitress.tests.fixtureapps', 'interpreter.Lib.site-packages.pyramid_debugtoolbar-4.4-py3.6.egg.pyramid_debugtoolbar', 'interpreter.Lib.site-packages.pyramid_debugtoolbar-4.4-py3.6.egg.pyramid_debugtoolbar.panels'], url='', license='', author='Michael Verdegaal', author_email='', description='A simple REST API created to handle users.' )
82.104294
116
0.682134
1,621
13,383
5.581123
0.114127
0.258428
0.332265
0.479938
0.89035
0.806234
0.68111
0.545043
0.433072
0.347629
0
0.028928
0.173429
13,383
162
117
82.611111
0.788917
0
0
0
0
0.322981
0.780767
0.775163
0
0
0
0
0
1
0
true
0
0.043478
0
0.043478
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
9
de62ec607b81c68f806f0abbeb76912d6b0c3a68
13,032
py
Python
SRcode/ResidualGroups.py
robotic-vision-lab/Attention-With-Varying-Receptive-Fields-Network
e151216ca029dc72ab93e03d6bcacd69161d1c25
[ "MIT" ]
1
2021-12-10T12:50:39.000Z
2021-12-10T12:50:39.000Z
SRcode/ResidualGroups.py
robotic-vision-lab/Attention-With-Varying-Receptive-Fields-Network
e151216ca029dc72ab93e03d6bcacd69161d1c25
[ "MIT" ]
null
null
null
SRcode/ResidualGroups.py
robotic-vision-lab/Attention-With-Varying-Receptive-Fields-Network
e151216ca029dc72ab93e03d6bcacd69161d1c25
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow.keras import layers, models from ResidualBlocks import * class residual_group(layers.Layer): """ Residual Group """ def __init__(self, filters, name = None, n_blocks = 5): super(residual_group, self).__init__() self.blocks = [residual_channel_attention_block(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class RG_dd(layers.Layer): """ Residual Group, Dilated Convolutions """ def __init__(self, filters, name = None, n_blocks = 5): super(RG_dd, self).__init__() self.blocks = [rcab_dd(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class RG_dd_comp(layers.Layer): """ Residual Group, Dilation Rates = 2 """ def __init__(self, filters, name = None, n_blocks = 5): super(RG_dd_comp, self).__init__() self.blocks = [rcab_dd_comp(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class smooth_group(layers.Layer): """ Residual Group, Smoothed Convolutions """ def __init__(self, filters, name = None, n_blocks = 5): super(smooth_group, self).__init__() self.blocks = [edsr_smooth_block(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class RG_dilated(layers.Layer): """ Residual Group, Dialated Convolutions """ def __init__(self, filters, name = None, n_blocks = 5, d = 5): super(RG_dilated, self).__init__() self.blocks = [rcab_dilated(filters, d = d) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same', dilation_rate = d) def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class RG_features_summed(layers.Layer): """ Residual Group, Summed features in Residual Block """ def __init__(self, filters, name = None, n_blocks = 5): super(RG_features_summed, self).__init__() self.blocks = [rcab_features_summed(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'relu', padding = 'same') def call(self, x): for block in self.blocks: x = block(x) x = self.conv1( x) return x class residual_group_with_Scale_Attention(layers.Layer): """ Residual Group With Scale Attention """ def __init__(self, filters, name = None, n_blocks = 5): super(residual_group_with_Scale_Attention, self).__init__() self.blocks = [RCAB_with_Scale_Attention(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class dense_res_group(layers.Layer): """ Residual Group With Dense Connections, Channel Attention """ def __init__(self, filters, name = None, n_blocks = 5): super(dense_res_group, self).__init__() self.blocks = [RCAB_with_Scale_Attention(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class residual_group_with_inception(layers.Layer): """ Residual Group With Inception """ def __init__(self, filters, name = None, n_blocks = 5): super(residual_group_with_inception, self).__init__() self.blocks = [RCAB_with_inception(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class Dense_RG_SOCA(layers.Layer): """ Residual Group With Inception, SOCA """ def __init__(self, filters, name = None, n_blocks = 5, input_shape = (48,48)): super(Dense_RG_SOCA, self).__init__() self.blocks = [RCAB_dense_dilated_SOCA(filters, input_shape = input_shape) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class Dense_RG_SOCA_smooth(layers.Layer): """ Residual Group With SOCA, Smoothed Convolutions """ def __init__(self, filters, name = None, n_blocks = 5, input_shape = (48,48)): super(Dense_RG_SOCA_smooth, self).__init__() self.blocks = [RCAB_DD_Smooth_SOCA(filters, input_shape = input_shape) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'relu', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class Dense_RG_SOCA_smooth_incr(layers.Layer): """ Residual Group With multi-level aggregation, SOCA, Smoothed Convolutions """ def __init__(self, filters, name = None, n_blocks = 5, input_shape = (48,48)): super(Dense_RG_SOCA_smooth_incr, self).__init__() self.blocks = [RCAB_DD_Smooth_SOCA_incr(filters, input_shape = input_shape) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'relu', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class Dense_RG_SOCA_stable(layers.Layer): """ Residual Group with SOCA, 1 by 1 kernel sizes """ def __init__(self, filters, name = None, n_blocks = 5, input_shape = (48,48)): super(Dense_RG_SOCA_stable, self).__init__() self.blocks = [RCAB_dense_dilated_SOCA_stable(filters, input_shape = input_shape) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class Dense_RG_SOCAG(layers.Layer): """ Residual Group With Inception, geometric merging """ def __init__(self, filters, name = None, n_blocks = 5, input_shape = (48,48)): super(Dense_RG_SOCAG, self).__init__() self.blocks = [RCAB_dense_dilated_SOCAG(filters, input_shape = input_shape) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class Dense_RG_dilated(layers.Layer): """ Residual Group with Dilated Convolutions """ def __init__(self, filters, name = None, n_blocks = 5): super(Dense_RG_dilated, self).__init__() self.blocks = [RCAB_dense_dilated(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class res_group_incept_dilated(layers.Layer): """ Residual Group With Inception modules that apply different dilation rates """ def __init__(self, filters, name = None, n_blocks = 5): super(res_group_incept_dilated, self).__init__() self.blocks = [RCAB_incept_dilated(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x class RG_SOCA(layers.Layer): """ Residual Group With Inception with SOCA """ def __init__(self, filters, name = None, n_blocks = 5): super(RG_SOCA, self).__init__() self.blocks = [rcab_soca(filters) for i in range(n_blocks)] self.conv1 = layers.Conv2D(filters,kernel_size= (3,3), name = 'conv2d-1', activation = 'linear', padding = 'same') def call(self, x): skip_conn = tf.identity(x,name = 'identity') for block in self.blocks: x = block(x) x = self.conv1(x) x = x + skip_conn return x
40.981132
91
0.510589
1,486
13,032
4.242261
0.059892
0.015546
0.045685
0.064721
0.908312
0.867703
0.805362
0.785216
0.751269
0.751269
0
0.01993
0.383978
13,032
317
92
41.11041
0.765321
0.058241
0
0.729358
0
0
0.035982
0
0
0
0
0
0
1
0.155963
false
0
0.013761
0
0.325688
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
def4b3f66b3219453824d84f52aecef5e5e26b3b
153
py
Python
pgdrive/component/static_object/__init__.py
decisionforce/pgdrive
19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee
[ "Apache-2.0" ]
97
2020-12-25T06:02:17.000Z
2022-01-16T06:58:39.000Z
pgdrive/component/static_object/__init__.py
decisionforce/pgdrive
19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee
[ "Apache-2.0" ]
192
2020-12-25T07:58:17.000Z
2021-08-28T10:13:59.000Z
pgdrive/component/static_object/__init__.py
decisionforce/pgdrive
19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee
[ "Apache-2.0" ]
11
2020-12-29T11:23:44.000Z
2021-12-06T23:25:49.000Z
from pgdrive.component.static_object.base_static_object import BaseStaticObject from pgdrive.component.static_object.traffic_object import TrafficObject
51
79
0.908497
19
153
7.052632
0.526316
0.268657
0.298507
0.38806
0.477612
0
0
0
0
0
0
0
0.052288
153
2
80
76.5
0.924138
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
72170cd0563d034831f62ceb05ea9313b0715624
156,339
py
Python
nova/network/linux_net.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/network/linux_net.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/network/linux_net.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright (c) 2011 X.commerce, a business unit of eBay Inc.' nl|'\n' comment|'# Copyright 2010 United States Government as represented by the' nl|'\n' comment|'# Administrator of the National Aeronautics and Space Administration.' nl|'\n' comment|'# All Rights Reserved.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy of the License at' nl|'\n' comment|'#' nl|'\n' comment|'# http://www.apache.org/licenses/LICENSE-2.0' nl|'\n' comment|'#' nl|'\n' comment|'# Unless required by applicable law or agreed to in writing, software' nl|'\n' comment|'# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT' nl|'\n' comment|'# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the' nl|'\n' comment|'# License for the specific language governing permissions and limitations' nl|'\n' comment|'# under the License.' nl|'\n' nl|'\n' string|'"""Implements vlans, bridges, and iptables rules using linux utilities."""' newline|'\n' nl|'\n' name|'import' name|'calendar' newline|'\n' name|'import' name|'inspect' newline|'\n' name|'import' name|'os' newline|'\n' name|'import' name|'re' newline|'\n' name|'import' name|'time' newline|'\n' nl|'\n' name|'import' name|'netaddr' newline|'\n' name|'import' name|'netifaces' newline|'\n' name|'from' name|'oslo_concurrency' name|'import' name|'processutils' newline|'\n' name|'from' name|'oslo_log' name|'import' name|'log' name|'as' name|'logging' newline|'\n' name|'from' name|'oslo_serialization' name|'import' name|'jsonutils' newline|'\n' name|'from' name|'oslo_utils' name|'import' name|'excutils' newline|'\n' name|'from' name|'oslo_utils' name|'import' name|'fileutils' newline|'\n' name|'from' name|'oslo_utils' name|'import' name|'importutils' newline|'\n' name|'from' name|'oslo_utils' name|'import' name|'timeutils' newline|'\n' name|'import' name|'six' newline|'\n' nl|'\n' name|'import' name|'nova' op|'.' name|'conf' newline|'\n' name|'from' name|'nova' name|'import' name|'exception' newline|'\n' name|'from' name|'nova' op|'.' name|'i18n' name|'import' name|'_' op|',' name|'_LE' op|',' name|'_LW' newline|'\n' name|'from' name|'nova' op|'.' name|'network' name|'import' name|'model' name|'as' name|'network_model' newline|'\n' name|'from' name|'nova' name|'import' name|'objects' newline|'\n' name|'from' name|'nova' op|'.' name|'pci' name|'import' name|'utils' name|'as' name|'pci_utils' newline|'\n' name|'from' name|'nova' name|'import' name|'utils' newline|'\n' nl|'\n' DECL|variable|LOG name|'LOG' op|'=' name|'logging' op|'.' name|'getLogger' op|'(' name|'__name__' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|variable|CONF name|'CONF' op|'=' name|'nova' op|'.' name|'conf' op|'.' name|'CONF' newline|'\n' nl|'\n' nl|'\n' comment|'# NOTE(vish): Iptables supports chain names of up to 28 characters, and we' nl|'\n' comment|'# add up to 12 characters to binary_name which is used as a prefix,' nl|'\n' comment|'# so we limit it to 16 characters.' nl|'\n' comment|"# (max_chain_name_length - len('-POSTROUTING') == 16)" nl|'\n' DECL|function|get_binary_name name|'def' name|'get_binary_name' op|'(' op|')' op|':' newline|'\n' indent|' ' string|'"""Grab the name of the binary we\'re running in."""' newline|'\n' name|'return' name|'os' op|'.' name|'path' op|'.' name|'basename' op|'(' name|'inspect' op|'.' name|'stack' op|'(' op|')' op|'[' op|'-' number|'1' op|']' op|'[' number|'1' op|']' op|')' op|'[' op|':' number|'16' op|']' newline|'\n' nl|'\n' DECL|variable|binary_name dedent|'' name|'binary_name' op|'=' name|'get_binary_name' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|class|IptablesRule name|'class' name|'IptablesRule' op|'(' name|'object' op|')' op|':' newline|'\n' indent|' ' string|'"""An iptables rule.\n\n You shouldn\'t need to use this class directly, it\'s only used by\n IptablesManager.\n\n """' newline|'\n' nl|'\n' DECL|member|__init__ name|'def' name|'__init__' op|'(' name|'self' op|',' name|'chain' op|',' name|'rule' op|',' name|'wrap' op|'=' name|'True' op|',' name|'top' op|'=' name|'False' op|')' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'chain' op|'=' name|'chain' newline|'\n' name|'self' op|'.' name|'rule' op|'=' name|'rule' newline|'\n' name|'self' op|'.' name|'wrap' op|'=' name|'wrap' newline|'\n' name|'self' op|'.' name|'top' op|'=' name|'top' newline|'\n' nl|'\n' DECL|member|__eq__ dedent|'' name|'def' name|'__eq__' op|'(' name|'self' op|',' name|'other' op|')' op|':' newline|'\n' indent|' ' name|'return' op|'(' op|'(' name|'self' op|'.' name|'chain' op|'==' name|'other' op|'.' name|'chain' op|')' name|'and' nl|'\n' op|'(' name|'self' op|'.' name|'rule' op|'==' name|'other' op|'.' name|'rule' op|')' name|'and' nl|'\n' op|'(' name|'self' op|'.' name|'top' op|'==' name|'other' op|'.' name|'top' op|')' name|'and' nl|'\n' op|'(' name|'self' op|'.' name|'wrap' op|'==' name|'other' op|'.' name|'wrap' op|')' op|')' newline|'\n' nl|'\n' DECL|member|__ne__ dedent|'' name|'def' name|'__ne__' op|'(' name|'self' op|',' name|'other' op|')' op|':' newline|'\n' indent|' ' name|'return' name|'not' name|'self' op|'==' name|'other' newline|'\n' nl|'\n' DECL|member|__repr__ dedent|'' name|'def' name|'__repr__' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'self' op|'.' name|'wrap' op|':' newline|'\n' indent|' ' name|'chain' op|'=' string|"'%s-%s'" op|'%' op|'(' name|'binary_name' op|',' name|'self' op|'.' name|'chain' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'chain' op|'=' name|'self' op|'.' name|'chain' newline|'\n' comment|'# new rules should have a zero [packet: byte] count' nl|'\n' dedent|'' name|'return' string|"'[0:0] -A %s %s'" op|'%' op|'(' name|'chain' op|',' name|'self' op|'.' name|'rule' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|class|IptablesTable dedent|'' dedent|'' name|'class' name|'IptablesTable' op|'(' name|'object' op|')' op|':' newline|'\n' indent|' ' string|'"""An iptables table."""' newline|'\n' nl|'\n' DECL|member|__init__ name|'def' name|'__init__' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'rules' op|'=' op|'[' op|']' newline|'\n' name|'self' op|'.' name|'remove_rules' op|'=' op|'[' op|']' newline|'\n' name|'self' op|'.' name|'chains' op|'=' name|'set' op|'(' op|')' newline|'\n' name|'self' op|'.' name|'unwrapped_chains' op|'=' name|'set' op|'(' op|')' newline|'\n' name|'self' op|'.' name|'remove_chains' op|'=' name|'set' op|'(' op|')' newline|'\n' name|'self' op|'.' name|'dirty' op|'=' name|'True' newline|'\n' nl|'\n' DECL|member|has_chain dedent|'' name|'def' name|'has_chain' op|'(' name|'self' op|',' name|'name' op|',' name|'wrap' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'wrap' op|':' newline|'\n' indent|' ' name|'return' name|'name' name|'in' name|'self' op|'.' name|'chains' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'return' name|'name' name|'in' name|'self' op|'.' name|'unwrapped_chains' newline|'\n' nl|'\n' DECL|member|add_chain dedent|'' dedent|'' name|'def' name|'add_chain' op|'(' name|'self' op|',' name|'name' op|',' name|'wrap' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' string|'"""Adds a named chain to the table.\n\n The chain name is wrapped to be unique for the component creating\n it, so different components of Nova can safely create identically\n named chains without interfering with one another.\n\n At the moment, its wrapped name is <binary name>-<chain name>,\n so if nova-compute creates a chain named \'OUTPUT\', it\'ll actually\n end up named \'nova-compute-OUTPUT\'.\n\n """' newline|'\n' name|'if' name|'wrap' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'chains' op|'.' name|'add' op|'(' name|'name' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'unwrapped_chains' op|'.' name|'add' op|'(' name|'name' op|')' newline|'\n' dedent|'' name|'self' op|'.' name|'dirty' op|'=' name|'True' newline|'\n' nl|'\n' DECL|member|remove_chain dedent|'' name|'def' name|'remove_chain' op|'(' name|'self' op|',' name|'name' op|',' name|'wrap' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' string|'"""Remove named chain.\n\n This removal "cascades". All rule in the chain are removed, as are\n all rules in other chains that jump to it.\n\n If the chain is not found, this is merely logged.\n\n """' newline|'\n' name|'if' name|'wrap' op|':' newline|'\n' indent|' ' name|'chain_set' op|'=' name|'self' op|'.' name|'chains' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'chain_set' op|'=' name|'self' op|'.' name|'unwrapped_chains' newline|'\n' nl|'\n' dedent|'' name|'if' name|'name' name|'not' name|'in' name|'chain_set' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'warning' op|'(' name|'_LW' op|'(' string|"'Attempted to remove chain %s which does not '" nl|'\n' string|"'exist'" op|')' op|',' name|'name' op|')' newline|'\n' name|'return' newline|'\n' dedent|'' name|'self' op|'.' name|'dirty' op|'=' name|'True' newline|'\n' nl|'\n' comment|'# non-wrapped chains and rules need to be dealt with specially,' nl|'\n' comment|'# so we keep a list of them to be iterated over in apply()' nl|'\n' name|'if' name|'not' name|'wrap' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'remove_chains' op|'.' name|'add' op|'(' name|'name' op|')' newline|'\n' dedent|'' name|'chain_set' op|'.' name|'remove' op|'(' name|'name' op|')' newline|'\n' name|'if' name|'not' name|'wrap' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'remove_rules' op|'+=' op|'[' name|'r' name|'for' name|'r' name|'in' name|'self' op|'.' name|'rules' name|'if' name|'r' op|'.' name|'chain' op|'==' name|'name' op|']' newline|'\n' dedent|'' name|'self' op|'.' name|'rules' op|'=' op|'[' name|'r' name|'for' name|'r' name|'in' name|'self' op|'.' name|'rules' name|'if' name|'r' op|'.' name|'chain' op|'!=' name|'name' op|']' newline|'\n' nl|'\n' name|'if' name|'wrap' op|':' newline|'\n' indent|' ' name|'jump_snippet' op|'=' string|"'-j %s-%s'" op|'%' op|'(' name|'binary_name' op|',' name|'name' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'jump_snippet' op|'=' string|"'-j %s'" op|'%' op|'(' name|'name' op|',' op|')' newline|'\n' nl|'\n' dedent|'' name|'if' name|'not' name|'wrap' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'remove_rules' op|'+=' op|'[' name|'r' name|'for' name|'r' name|'in' name|'self' op|'.' name|'rules' nl|'\n' name|'if' name|'jump_snippet' name|'in' name|'r' op|'.' name|'rule' op|']' newline|'\n' dedent|'' name|'self' op|'.' name|'rules' op|'=' op|'[' name|'r' name|'for' name|'r' name|'in' name|'self' op|'.' name|'rules' name|'if' name|'jump_snippet' name|'not' name|'in' name|'r' op|'.' name|'rule' op|']' newline|'\n' nl|'\n' DECL|member|add_rule dedent|'' name|'def' name|'add_rule' op|'(' name|'self' op|',' name|'chain' op|',' name|'rule' op|',' name|'wrap' op|'=' name|'True' op|',' name|'top' op|'=' name|'False' op|')' op|':' newline|'\n' indent|' ' string|'"""Add a rule to the table.\n\n This is just like what you\'d feed to iptables, just without\n the \'-A <chain name>\' bit at the start.\n\n However, if you need to jump to one of your wrapped chains,\n prepend its name with a \'$\' which will ensure the wrapping\n is applied correctly.\n\n """' newline|'\n' name|'if' name|'wrap' name|'and' name|'chain' name|'not' name|'in' name|'self' op|'.' name|'chains' op|':' newline|'\n' indent|' ' name|'raise' name|'ValueError' op|'(' name|'_' op|'(' string|"'Unknown chain: %r'" op|')' op|'%' name|'chain' op|')' newline|'\n' nl|'\n' dedent|'' name|'if' string|"'$'" name|'in' name|'rule' op|':' newline|'\n' indent|' ' name|'rule' op|'=' string|"' '" op|'.' name|'join' op|'(' name|'map' op|'(' name|'self' op|'.' name|'_wrap_target_chain' op|',' name|'rule' op|'.' name|'split' op|'(' string|"' '" op|')' op|')' op|')' newline|'\n' nl|'\n' dedent|'' name|'rule_obj' op|'=' name|'IptablesRule' op|'(' name|'chain' op|',' name|'rule' op|',' name|'wrap' op|',' name|'top' op|')' newline|'\n' name|'if' name|'rule_obj' name|'in' name|'self' op|'.' name|'rules' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|'"Skipping duplicate iptables rule addition. "' nl|'\n' string|'"%(rule)r already in %(rules)r"' op|',' nl|'\n' op|'{' string|"'rule'" op|':' name|'rule_obj' op|',' string|"'rules'" op|':' name|'self' op|'.' name|'rules' op|'}' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'rules' op|'.' name|'append' op|'(' name|'IptablesRule' op|'(' name|'chain' op|',' name|'rule' op|',' name|'wrap' op|',' name|'top' op|')' op|')' newline|'\n' name|'self' op|'.' name|'dirty' op|'=' name|'True' newline|'\n' nl|'\n' DECL|member|_wrap_target_chain dedent|'' dedent|'' name|'def' name|'_wrap_target_chain' op|'(' name|'self' op|',' name|'s' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'s' op|'.' name|'startswith' op|'(' string|"'$'" op|')' op|':' newline|'\n' indent|' ' name|'return' string|"'%s-%s'" op|'%' op|'(' name|'binary_name' op|',' name|'s' op|'[' number|'1' op|':' op|']' op|')' newline|'\n' dedent|'' name|'return' name|'s' newline|'\n' nl|'\n' DECL|member|remove_rule dedent|'' name|'def' name|'remove_rule' op|'(' name|'self' op|',' name|'chain' op|',' name|'rule' op|',' name|'wrap' op|'=' name|'True' op|',' name|'top' op|'=' name|'False' op|')' op|':' newline|'\n' indent|' ' string|'"""Remove a rule from a chain.\n\n Note: The rule must be exactly identical to the one that was added.\n You cannot switch arguments around like you can with the iptables\n CLI tool.\n\n """' newline|'\n' name|'try' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'rules' op|'.' name|'remove' op|'(' name|'IptablesRule' op|'(' name|'chain' op|',' name|'rule' op|',' name|'wrap' op|',' name|'top' op|')' op|')' newline|'\n' name|'if' name|'not' name|'wrap' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'remove_rules' op|'.' name|'append' op|'(' name|'IptablesRule' op|'(' name|'chain' op|',' name|'rule' op|',' name|'wrap' op|',' name|'top' op|')' op|')' newline|'\n' dedent|'' name|'self' op|'.' name|'dirty' op|'=' name|'True' newline|'\n' dedent|'' name|'except' name|'ValueError' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'warning' op|'(' name|'_LW' op|'(' string|"'Tried to remove rule that was not there:'" nl|'\n' string|"' %(chain)r %(rule)r %(wrap)r %(top)r'" op|')' op|',' nl|'\n' op|'{' string|"'chain'" op|':' name|'chain' op|',' string|"'rule'" op|':' name|'rule' op|',' nl|'\n' string|"'top'" op|':' name|'top' op|',' string|"'wrap'" op|':' name|'wrap' op|'}' op|')' newline|'\n' nl|'\n' DECL|member|remove_rules_regex dedent|'' dedent|'' name|'def' name|'remove_rules_regex' op|'(' name|'self' op|',' name|'regex' op|')' op|':' newline|'\n' indent|' ' string|'"""Remove all rules matching regex."""' newline|'\n' name|'if' name|'isinstance' op|'(' name|'regex' op|',' name|'six' op|'.' name|'string_types' op|')' op|':' newline|'\n' indent|' ' name|'regex' op|'=' name|'re' op|'.' name|'compile' op|'(' name|'regex' op|')' newline|'\n' dedent|'' name|'num_rules' op|'=' name|'len' op|'(' name|'self' op|'.' name|'rules' op|')' newline|'\n' name|'self' op|'.' name|'rules' op|'=' op|'[' name|'r' name|'for' name|'r' name|'in' name|'self' op|'.' name|'rules' name|'if' name|'not' name|'regex' op|'.' name|'match' op|'(' name|'str' op|'(' name|'r' op|')' op|')' op|']' newline|'\n' name|'removed' op|'=' name|'num_rules' op|'-' name|'len' op|'(' name|'self' op|'.' name|'rules' op|')' newline|'\n' name|'if' name|'removed' op|'>' number|'0' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'dirty' op|'=' name|'True' newline|'\n' dedent|'' name|'return' name|'removed' newline|'\n' nl|'\n' DECL|member|empty_chain dedent|'' name|'def' name|'empty_chain' op|'(' name|'self' op|',' name|'chain' op|',' name|'wrap' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' string|'"""Remove all rules from a chain."""' newline|'\n' name|'chained_rules' op|'=' op|'[' name|'rule' name|'for' name|'rule' name|'in' name|'self' op|'.' name|'rules' nl|'\n' name|'if' name|'rule' op|'.' name|'chain' op|'==' name|'chain' name|'and' name|'rule' op|'.' name|'wrap' op|'==' name|'wrap' op|']' newline|'\n' name|'if' name|'chained_rules' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'dirty' op|'=' name|'True' newline|'\n' dedent|'' name|'for' name|'rule' name|'in' name|'chained_rules' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'rules' op|'.' name|'remove' op|'(' name|'rule' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|class|IptablesManager dedent|'' dedent|'' dedent|'' name|'class' name|'IptablesManager' op|'(' name|'object' op|')' op|':' newline|'\n' indent|' ' string|'"""Wrapper for iptables.\n\n See IptablesTable for some usage docs\n\n A number of chains are set up to begin with.\n\n First, nova-filter-top. It\'s added at the top of FORWARD and OUTPUT. Its\n name is not wrapped, so it\'s shared between the various nova workers. It\'s\n intended for rules that need to live at the top of the FORWARD and OUTPUT\n chains. It\'s in both the ipv4 and ipv6 set of tables.\n\n For ipv4 and ipv6, the built-in INPUT, OUTPUT, and FORWARD filter chains\n are wrapped, meaning that the "real" INPUT chain has a rule that jumps to\n the wrapped INPUT chain, etc. Additionally, there\'s a wrapped chain named\n "local" which is jumped to from nova-filter-top.\n\n For ipv4, the built-in PREROUTING, OUTPUT, and POSTROUTING nat chains are\n wrapped in the same was as the built-in filter chains. Additionally,\n there\'s a snat chain that is applied after the POSTROUTING chain.\n\n """' newline|'\n' nl|'\n' DECL|member|__init__ name|'def' name|'__init__' op|'(' name|'self' op|',' name|'execute' op|'=' name|'None' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'not' name|'execute' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'execute' op|'=' name|'_execute' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'execute' op|'=' name|'execute' newline|'\n' nl|'\n' dedent|'' name|'self' op|'.' name|'ipv4' op|'=' op|'{' string|"'filter'" op|':' name|'IptablesTable' op|'(' op|')' op|',' nl|'\n' string|"'nat'" op|':' name|'IptablesTable' op|'(' op|')' op|',' nl|'\n' string|"'mangle'" op|':' name|'IptablesTable' op|'(' op|')' op|'}' newline|'\n' name|'self' op|'.' name|'ipv6' op|'=' op|'{' string|"'filter'" op|':' name|'IptablesTable' op|'(' op|')' op|'}' newline|'\n' nl|'\n' name|'self' op|'.' name|'iptables_apply_deferred' op|'=' name|'False' newline|'\n' nl|'\n' comment|"# Add a nova-filter-top chain. It's intended to be shared" nl|'\n' comment|'# among the various nova components. It sits at the very top' nl|'\n' comment|'# of FORWARD and OUTPUT.' nl|'\n' name|'for' name|'tables' name|'in' op|'[' name|'self' op|'.' name|'ipv4' op|',' name|'self' op|'.' name|'ipv6' op|']' op|':' newline|'\n' indent|' ' name|'tables' op|'[' string|"'filter'" op|']' op|'.' name|'add_chain' op|'(' string|"'nova-filter-top'" op|',' name|'wrap' op|'=' name|'False' op|')' newline|'\n' name|'tables' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' string|"'FORWARD'" op|',' string|"'-j nova-filter-top'" op|',' nl|'\n' name|'wrap' op|'=' name|'False' op|',' name|'top' op|'=' name|'True' op|')' newline|'\n' name|'tables' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' string|"'OUTPUT'" op|',' string|"'-j nova-filter-top'" op|',' nl|'\n' name|'wrap' op|'=' name|'False' op|',' name|'top' op|'=' name|'True' op|')' newline|'\n' nl|'\n' name|'tables' op|'[' string|"'filter'" op|']' op|'.' name|'add_chain' op|'(' string|"'local'" op|')' newline|'\n' name|'tables' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' string|"'nova-filter-top'" op|',' string|"'-j $local'" op|',' nl|'\n' name|'wrap' op|'=' name|'False' op|')' newline|'\n' nl|'\n' comment|'# Wrap the built-in chains' nl|'\n' dedent|'' name|'builtin_chains' op|'=' op|'{' number|'4' op|':' op|'{' string|"'filter'" op|':' op|'[' string|"'INPUT'" op|',' string|"'OUTPUT'" op|',' string|"'FORWARD'" op|']' op|',' nl|'\n' string|"'nat'" op|':' op|'[' string|"'PREROUTING'" op|',' string|"'OUTPUT'" op|',' string|"'POSTROUTING'" op|']' op|',' nl|'\n' string|"'mangle'" op|':' op|'[' string|"'POSTROUTING'" op|']' op|'}' op|',' nl|'\n' number|'6' op|':' op|'{' string|"'filter'" op|':' op|'[' string|"'INPUT'" op|',' string|"'OUTPUT'" op|',' string|"'FORWARD'" op|']' op|'}' op|'}' newline|'\n' nl|'\n' name|'for' name|'ip_version' name|'in' name|'builtin_chains' op|':' newline|'\n' indent|' ' name|'if' name|'ip_version' op|'==' number|'4' op|':' newline|'\n' indent|' ' name|'tables' op|'=' name|'self' op|'.' name|'ipv4' newline|'\n' dedent|'' name|'elif' name|'ip_version' op|'==' number|'6' op|':' newline|'\n' indent|' ' name|'tables' op|'=' name|'self' op|'.' name|'ipv6' newline|'\n' nl|'\n' dedent|'' name|'for' name|'table' op|',' name|'chains' name|'in' name|'six' op|'.' name|'iteritems' op|'(' name|'builtin_chains' op|'[' name|'ip_version' op|']' op|')' op|':' newline|'\n' indent|' ' name|'for' name|'chain' name|'in' name|'chains' op|':' newline|'\n' indent|' ' name|'tables' op|'[' name|'table' op|']' op|'.' name|'add_chain' op|'(' name|'chain' op|')' newline|'\n' name|'tables' op|'[' name|'table' op|']' op|'.' name|'add_rule' op|'(' name|'chain' op|',' string|"'-j $%s'" op|'%' op|'(' name|'chain' op|',' op|')' op|',' nl|'\n' name|'wrap' op|'=' name|'False' op|')' newline|'\n' nl|'\n' comment|"# Add a nova-postrouting-bottom chain. It's intended to be shared" nl|'\n' comment|'# among the various nova components. We set it as the last chain' nl|'\n' comment|'# of POSTROUTING chain.' nl|'\n' dedent|'' dedent|'' dedent|'' name|'self' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_chain' op|'(' string|"'nova-postrouting-bottom'" op|',' name|'wrap' op|'=' name|'False' op|')' newline|'\n' name|'self' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'POSTROUTING'" op|',' string|"'-j nova-postrouting-bottom'" op|',' nl|'\n' name|'wrap' op|'=' name|'False' op|')' newline|'\n' nl|'\n' comment|'# We add a snat chain to the shared nova-postrouting-bottom chain' nl|'\n' comment|"# so that it's applied last." nl|'\n' name|'self' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_chain' op|'(' string|"'snat'" op|')' newline|'\n' name|'self' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'nova-postrouting-bottom'" op|',' string|"'-j $snat'" op|',' nl|'\n' name|'wrap' op|'=' name|'False' op|')' newline|'\n' nl|'\n' comment|'# And then we add a float-snat chain and jump to first thing in' nl|'\n' comment|'# the snat chain.' nl|'\n' name|'self' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_chain' op|'(' string|"'float-snat'" op|')' newline|'\n' name|'self' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'snat'" op|',' string|"'-j $float-snat'" op|')' newline|'\n' nl|'\n' DECL|member|defer_apply_on dedent|'' name|'def' name|'defer_apply_on' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'iptables_apply_deferred' op|'=' name|'True' newline|'\n' nl|'\n' DECL|member|defer_apply_off dedent|'' name|'def' name|'defer_apply_off' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'iptables_apply_deferred' op|'=' name|'False' newline|'\n' name|'self' op|'.' name|'apply' op|'(' op|')' newline|'\n' nl|'\n' DECL|member|dirty dedent|'' name|'def' name|'dirty' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'for' name|'table' name|'in' name|'six' op|'.' name|'itervalues' op|'(' name|'self' op|'.' name|'ipv4' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'table' op|'.' name|'dirty' op|':' newline|'\n' indent|' ' name|'return' name|'True' newline|'\n' dedent|'' dedent|'' name|'if' name|'CONF' op|'.' name|'use_ipv6' op|':' newline|'\n' indent|' ' name|'for' name|'table' name|'in' name|'six' op|'.' name|'itervalues' op|'(' name|'self' op|'.' name|'ipv6' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'table' op|'.' name|'dirty' op|':' newline|'\n' indent|' ' name|'return' name|'True' newline|'\n' dedent|'' dedent|'' dedent|'' name|'return' name|'False' newline|'\n' nl|'\n' DECL|member|apply dedent|'' name|'def' name|'apply' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'self' op|'.' name|'iptables_apply_deferred' op|':' newline|'\n' indent|' ' name|'return' newline|'\n' dedent|'' name|'if' name|'self' op|'.' name|'dirty' op|'(' op|')' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'_apply' op|'(' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|'"Skipping apply due to lack of new rules"' op|')' newline|'\n' nl|'\n' dedent|'' dedent|'' op|'@' name|'utils' op|'.' name|'synchronized' op|'(' string|"'iptables'" op|',' name|'external' op|'=' name|'True' op|')' newline|'\n' DECL|member|_apply name|'def' name|'_apply' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' string|'"""Apply the current in-memory set of iptables rules.\n\n This will blow away any rules left over from previous runs of the\n same component of Nova, and replace them with our current set of\n rules. This happens atomically, thanks to iptables-restore.\n\n """' newline|'\n' name|'s' op|'=' op|'[' op|'(' string|"'iptables'" op|',' name|'self' op|'.' name|'ipv4' op|')' op|']' newline|'\n' name|'if' name|'CONF' op|'.' name|'use_ipv6' op|':' newline|'\n' indent|' ' name|'s' op|'+=' op|'[' op|'(' string|"'ip6tables'" op|',' name|'self' op|'.' name|'ipv6' op|')' op|']' newline|'\n' nl|'\n' dedent|'' name|'for' name|'cmd' op|',' name|'tables' name|'in' name|'s' op|':' newline|'\n' indent|' ' name|'all_tables' op|',' name|'_err' op|'=' name|'self' op|'.' name|'execute' op|'(' string|"'%s-save'" op|'%' op|'(' name|'cmd' op|',' op|')' op|',' string|"'-c'" op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'attempts' op|'=' number|'5' op|')' newline|'\n' name|'all_lines' op|'=' name|'all_tables' op|'.' name|'split' op|'(' string|"'\\n'" op|')' newline|'\n' name|'for' name|'table_name' op|',' name|'table' name|'in' name|'six' op|'.' name|'iteritems' op|'(' name|'tables' op|')' op|':' newline|'\n' indent|' ' name|'start' op|',' name|'end' op|'=' name|'self' op|'.' name|'_find_table' op|'(' name|'all_lines' op|',' name|'table_name' op|')' newline|'\n' name|'all_lines' op|'[' name|'start' op|':' name|'end' op|']' op|'=' name|'self' op|'.' name|'_modify_rules' op|'(' nl|'\n' name|'all_lines' op|'[' name|'start' op|':' name|'end' op|']' op|',' name|'table' op|',' name|'table_name' op|')' newline|'\n' name|'table' op|'.' name|'dirty' op|'=' name|'False' newline|'\n' dedent|'' name|'self' op|'.' name|'execute' op|'(' string|"'%s-restore'" op|'%' op|'(' name|'cmd' op|',' op|')' op|',' string|"'-c'" op|',' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'process_input' op|'=' string|"'\\n'" op|'.' name|'join' op|'(' name|'all_lines' op|')' op|',' nl|'\n' name|'attempts' op|'=' number|'5' op|')' newline|'\n' dedent|'' name|'LOG' op|'.' name|'debug' op|'(' string|'"IPTablesManager.apply completed with success"' op|')' newline|'\n' nl|'\n' DECL|member|_find_table dedent|'' name|'def' name|'_find_table' op|'(' name|'self' op|',' name|'lines' op|',' name|'table_name' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'len' op|'(' name|'lines' op|')' op|'<' number|'3' op|':' newline|'\n' comment|'# length only <2 when fake iptables' nl|'\n' indent|' ' name|'return' op|'(' number|'0' op|',' number|'0' op|')' newline|'\n' dedent|'' name|'try' op|':' newline|'\n' indent|' ' name|'start' op|'=' name|'lines' op|'.' name|'index' op|'(' string|"'*%s'" op|'%' name|'table_name' op|')' op|'-' number|'1' newline|'\n' dedent|'' name|'except' name|'ValueError' op|':' newline|'\n' comment|"# Couldn't find table_name" nl|'\n' indent|' ' name|'return' op|'(' number|'0' op|',' number|'0' op|')' newline|'\n' dedent|'' name|'end' op|'=' name|'lines' op|'[' name|'start' op|':' op|']' op|'.' name|'index' op|'(' string|"'COMMIT'" op|')' op|'+' name|'start' op|'+' number|'2' newline|'\n' name|'return' op|'(' name|'start' op|',' name|'end' op|')' newline|'\n' nl|'\n' DECL|member|_modify_rules dedent|'' name|'def' name|'_modify_rules' op|'(' name|'self' op|',' name|'current_lines' op|',' name|'table' op|',' name|'table_name' op|')' op|':' newline|'\n' indent|' ' name|'unwrapped_chains' op|'=' name|'table' op|'.' name|'unwrapped_chains' newline|'\n' name|'chains' op|'=' name|'sorted' op|'(' name|'table' op|'.' name|'chains' op|')' newline|'\n' name|'remove_chains' op|'=' name|'table' op|'.' name|'remove_chains' newline|'\n' name|'rules' op|'=' name|'table' op|'.' name|'rules' newline|'\n' name|'remove_rules' op|'=' name|'table' op|'.' name|'remove_rules' newline|'\n' nl|'\n' name|'if' name|'not' name|'current_lines' op|':' newline|'\n' indent|' ' name|'fake_table' op|'=' op|'[' string|"'#Generated by nova'" op|',' nl|'\n' string|"'*'" op|'+' name|'table_name' op|',' string|"'COMMIT'" op|',' nl|'\n' string|"'#Completed by nova'" op|']' newline|'\n' name|'current_lines' op|'=' name|'fake_table' newline|'\n' nl|'\n' comment|'# Remove any trace of our rules' nl|'\n' dedent|'' name|'new_filter' op|'=' op|'[' name|'line' name|'for' name|'line' name|'in' name|'current_lines' nl|'\n' name|'if' name|'binary_name' name|'not' name|'in' name|'line' op|']' newline|'\n' nl|'\n' name|'top_rules' op|'=' op|'[' op|']' newline|'\n' name|'bottom_rules' op|'=' op|'[' op|']' newline|'\n' nl|'\n' name|'if' name|'CONF' op|'.' name|'iptables_top_regex' op|':' newline|'\n' indent|' ' name|'regex' op|'=' name|'re' op|'.' name|'compile' op|'(' name|'CONF' op|'.' name|'iptables_top_regex' op|')' newline|'\n' name|'temp_filter' op|'=' op|'[' name|'line' name|'for' name|'line' name|'in' name|'new_filter' name|'if' name|'regex' op|'.' name|'search' op|'(' name|'line' op|')' op|']' newline|'\n' name|'for' name|'rule_str' name|'in' name|'temp_filter' op|':' newline|'\n' indent|' ' name|'new_filter' op|'=' op|'[' name|'s' name|'for' name|'s' name|'in' name|'new_filter' nl|'\n' name|'if' name|'s' op|'.' name|'strip' op|'(' op|')' op|'!=' name|'rule_str' op|'.' name|'strip' op|'(' op|')' op|']' newline|'\n' dedent|'' name|'top_rules' op|'=' name|'temp_filter' newline|'\n' nl|'\n' dedent|'' name|'if' name|'CONF' op|'.' name|'iptables_bottom_regex' op|':' newline|'\n' indent|' ' name|'regex' op|'=' name|'re' op|'.' name|'compile' op|'(' name|'CONF' op|'.' name|'iptables_bottom_regex' op|')' newline|'\n' name|'temp_filter' op|'=' op|'[' name|'line' name|'for' name|'line' name|'in' name|'new_filter' name|'if' name|'regex' op|'.' name|'search' op|'(' name|'line' op|')' op|']' newline|'\n' name|'for' name|'rule_str' name|'in' name|'temp_filter' op|':' newline|'\n' indent|' ' name|'new_filter' op|'=' op|'[' name|'s' name|'for' name|'s' name|'in' name|'new_filter' nl|'\n' name|'if' name|'s' op|'.' name|'strip' op|'(' op|')' op|'!=' name|'rule_str' op|'.' name|'strip' op|'(' op|')' op|']' newline|'\n' dedent|'' name|'bottom_rules' op|'=' name|'temp_filter' newline|'\n' nl|'\n' dedent|'' name|'seen_chains' op|'=' name|'False' newline|'\n' name|'rules_index' op|'=' number|'0' newline|'\n' name|'for' name|'rules_index' op|',' name|'rule' name|'in' name|'enumerate' op|'(' name|'new_filter' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'not' name|'seen_chains' op|':' newline|'\n' indent|' ' name|'if' name|'rule' op|'.' name|'startswith' op|'(' string|"':'" op|')' op|':' newline|'\n' indent|' ' name|'seen_chains' op|'=' name|'True' newline|'\n' dedent|'' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'if' name|'not' name|'rule' op|'.' name|'startswith' op|'(' string|"':'" op|')' op|':' newline|'\n' indent|' ' name|'break' newline|'\n' nl|'\n' dedent|'' dedent|'' dedent|'' name|'if' name|'not' name|'seen_chains' op|':' newline|'\n' indent|' ' name|'rules_index' op|'=' number|'2' newline|'\n' nl|'\n' dedent|'' name|'our_rules' op|'=' name|'top_rules' newline|'\n' name|'bot_rules' op|'=' op|'[' op|']' newline|'\n' name|'for' name|'rule' name|'in' name|'rules' op|':' newline|'\n' indent|' ' name|'rule_str' op|'=' name|'str' op|'(' name|'rule' op|')' newline|'\n' name|'if' name|'rule' op|'.' name|'top' op|':' newline|'\n' comment|'# rule.top == True means we want this rule to be at the top.' nl|'\n' comment|'# Further down, we weed out duplicates from the bottom of the' nl|'\n' comment|'# list, so here we remove the dupes ahead of time.' nl|'\n' nl|'\n' comment|"# We don't want to remove an entry if it has non-zero" nl|'\n' comment|"# [packet:byte] counts and replace it with [0:0], so let's" nl|'\n' comment|'# go look for a duplicate, and over-ride our table rule if' nl|'\n' comment|'# found.' nl|'\n' nl|'\n' comment|'# ignore [packet:byte] counts at beginning of line' nl|'\n' indent|' ' name|'if' name|'rule_str' op|'.' name|'startswith' op|'(' string|"'['" op|')' op|':' newline|'\n' indent|' ' name|'rule_str' op|'=' name|'rule_str' op|'.' name|'split' op|'(' string|"']'" op|',' number|'1' op|')' op|'[' number|'1' op|']' newline|'\n' dedent|'' name|'dup_filter' op|'=' op|'[' name|'s' name|'for' name|'s' name|'in' name|'new_filter' nl|'\n' name|'if' name|'rule_str' op|'.' name|'strip' op|'(' op|')' name|'in' name|'s' op|'.' name|'strip' op|'(' op|')' op|']' newline|'\n' nl|'\n' name|'new_filter' op|'=' op|'[' name|'s' name|'for' name|'s' name|'in' name|'new_filter' nl|'\n' name|'if' name|'rule_str' op|'.' name|'strip' op|'(' op|')' name|'not' name|'in' name|'s' op|'.' name|'strip' op|'(' op|')' op|']' newline|'\n' comment|'# if no duplicates, use original rule' nl|'\n' name|'if' name|'dup_filter' op|':' newline|'\n' comment|'# grab the last entry, if there is one' nl|'\n' indent|' ' name|'dup' op|'=' name|'list' op|'(' name|'dup_filter' op|')' op|'[' op|'-' number|'1' op|']' newline|'\n' name|'rule_str' op|'=' name|'str' op|'(' name|'dup' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'rule_str' op|'=' name|'str' op|'(' name|'rule' op|')' newline|'\n' dedent|'' name|'rule_str' op|'.' name|'strip' op|'(' op|')' newline|'\n' nl|'\n' name|'our_rules' op|'+=' op|'[' name|'rule_str' op|']' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'bot_rules' op|'+=' op|'[' name|'rule_str' op|']' newline|'\n' nl|'\n' dedent|'' dedent|'' name|'our_rules' op|'+=' name|'bot_rules' newline|'\n' nl|'\n' name|'new_filter' op|'=' name|'list' op|'(' name|'new_filter' op|')' newline|'\n' name|'new_filter' op|'[' name|'rules_index' op|':' name|'rules_index' op|']' op|'=' name|'our_rules' newline|'\n' nl|'\n' name|'new_filter' op|'[' name|'rules_index' op|':' name|'rules_index' op|']' op|'=' op|'[' string|"':%s - [0:0]'" op|'%' op|'(' name|'name' op|',' op|')' nl|'\n' name|'for' name|'name' name|'in' name|'unwrapped_chains' op|']' newline|'\n' name|'new_filter' op|'[' name|'rules_index' op|':' name|'rules_index' op|']' op|'=' op|'[' string|"':%s-%s - [0:0]'" op|'%' nl|'\n' op|'(' name|'binary_name' op|',' name|'name' op|',' op|')' nl|'\n' name|'for' name|'name' name|'in' name|'chains' op|']' newline|'\n' nl|'\n' name|'commit_index' op|'=' name|'new_filter' op|'.' name|'index' op|'(' string|"'COMMIT'" op|')' newline|'\n' name|'new_filter' op|'[' name|'commit_index' op|':' name|'commit_index' op|']' op|'=' name|'bottom_rules' newline|'\n' name|'seen_lines' op|'=' name|'set' op|'(' op|')' newline|'\n' nl|'\n' DECL|function|_weed_out_duplicates name|'def' name|'_weed_out_duplicates' op|'(' name|'line' op|')' op|':' newline|'\n' comment|'# ignore [packet:byte] counts at beginning of lines' nl|'\n' indent|' ' name|'if' name|'line' op|'.' name|'startswith' op|'(' string|"'['" op|')' op|':' newline|'\n' indent|' ' name|'line' op|'=' name|'line' op|'.' name|'split' op|'(' string|"']'" op|',' number|'1' op|')' op|'[' number|'1' op|']' newline|'\n' dedent|'' name|'line' op|'=' name|'line' op|'.' name|'strip' op|'(' op|')' newline|'\n' name|'if' name|'line' name|'in' name|'seen_lines' op|':' newline|'\n' indent|' ' name|'return' name|'False' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'seen_lines' op|'.' name|'add' op|'(' name|'line' op|')' newline|'\n' name|'return' name|'True' newline|'\n' nl|'\n' DECL|function|_weed_out_removes dedent|'' dedent|'' name|'def' name|'_weed_out_removes' op|'(' name|'line' op|')' op|':' newline|'\n' comment|'# We need to find exact matches here' nl|'\n' indent|' ' name|'if' name|'line' op|'.' name|'startswith' op|'(' string|"':'" op|')' op|':' newline|'\n' comment|'# it\'s a chain, for example, ":nova-billing - [0:0]"' nl|'\n' comment|'# strip off everything except the chain name' nl|'\n' indent|' ' name|'line' op|'=' name|'line' op|'.' name|'split' op|'(' string|"':'" op|')' op|'[' number|'1' op|']' newline|'\n' name|'line' op|'=' name|'line' op|'.' name|'split' op|'(' string|"'- ['" op|')' op|'[' number|'0' op|']' newline|'\n' name|'line' op|'=' name|'line' op|'.' name|'strip' op|'(' op|')' newline|'\n' name|'for' name|'chain' name|'in' name|'remove_chains' op|':' newline|'\n' indent|' ' name|'if' name|'chain' op|'==' name|'line' op|':' newline|'\n' indent|' ' name|'remove_chains' op|'.' name|'remove' op|'(' name|'chain' op|')' newline|'\n' name|'return' name|'False' newline|'\n' dedent|'' dedent|'' dedent|'' name|'elif' name|'line' op|'.' name|'startswith' op|'(' string|"'['" op|')' op|':' newline|'\n' comment|"# it's a rule" nl|'\n' comment|'# ignore [packet:byte] counts at beginning of lines' nl|'\n' indent|' ' name|'line' op|'=' name|'line' op|'.' name|'split' op|'(' string|"']'" op|',' number|'1' op|')' op|'[' number|'1' op|']' newline|'\n' name|'line' op|'=' name|'line' op|'.' name|'strip' op|'(' op|')' newline|'\n' name|'for' name|'rule' name|'in' name|'remove_rules' op|':' newline|'\n' comment|'# ignore [packet:byte] counts at beginning of rules' nl|'\n' indent|' ' name|'rule_str' op|'=' name|'str' op|'(' name|'rule' op|')' newline|'\n' name|'rule_str' op|'=' name|'rule_str' op|'.' name|'split' op|'(' string|"' '" op|',' number|'1' op|')' op|'[' number|'1' op|']' newline|'\n' name|'rule_str' op|'=' name|'rule_str' op|'.' name|'strip' op|'(' op|')' newline|'\n' name|'if' name|'rule_str' op|'==' name|'line' op|':' newline|'\n' indent|' ' name|'remove_rules' op|'.' name|'remove' op|'(' name|'rule' op|')' newline|'\n' name|'return' name|'False' newline|'\n' nl|'\n' comment|'# Leave it alone' nl|'\n' dedent|'' dedent|'' dedent|'' name|'return' name|'True' newline|'\n' nl|'\n' comment|'# We filter duplicates, letting the *last* occurrence take' nl|'\n' comment|'# precedence. We also filter out anything in the "remove"' nl|'\n' comment|'# lists.' nl|'\n' dedent|'' name|'new_filter' op|'=' name|'list' op|'(' name|'new_filter' op|')' newline|'\n' name|'new_filter' op|'.' name|'reverse' op|'(' op|')' newline|'\n' name|'new_filter' op|'=' name|'filter' op|'(' name|'_weed_out_duplicates' op|',' name|'new_filter' op|')' newline|'\n' name|'new_filter' op|'=' name|'filter' op|'(' name|'_weed_out_removes' op|',' name|'new_filter' op|')' newline|'\n' name|'new_filter' op|'=' name|'list' op|'(' name|'new_filter' op|')' newline|'\n' name|'new_filter' op|'.' name|'reverse' op|'(' op|')' newline|'\n' nl|'\n' comment|"# flush lists, just in case we didn't find something" nl|'\n' name|'remove_chains' op|'.' name|'clear' op|'(' op|')' newline|'\n' name|'for' name|'rule' name|'in' name|'remove_rules' op|':' newline|'\n' indent|' ' name|'remove_rules' op|'.' name|'remove' op|'(' name|'rule' op|')' newline|'\n' nl|'\n' dedent|'' name|'return' name|'new_filter' newline|'\n' nl|'\n' nl|'\n' comment|'# NOTE(jkoelker) This is just a nice little stub point since mocking' nl|'\n' comment|'# builtins with mox is a nightmare' nl|'\n' DECL|function|write_to_file dedent|'' dedent|'' name|'def' name|'write_to_file' op|'(' name|'file' op|',' name|'data' op|',' name|'mode' op|'=' string|"'w'" op|')' op|':' newline|'\n' indent|' ' name|'with' name|'open' op|'(' name|'file' op|',' name|'mode' op|')' name|'as' name|'f' op|':' newline|'\n' indent|' ' name|'f' op|'.' name|'write' op|'(' name|'data' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|is_pid_cmdline_correct dedent|'' dedent|'' name|'def' name|'is_pid_cmdline_correct' op|'(' name|'pid' op|',' name|'match' op|')' op|':' newline|'\n' indent|' ' string|'"""Ensure that the cmdline for a pid seems sane\n\n Because pids are recycled, blindly killing by pid is something to\n avoid. This provides the ability to include a substring that is\n expected in the cmdline as a safety check.\n """' newline|'\n' name|'try' op|':' newline|'\n' indent|' ' name|'with' name|'open' op|'(' string|"'/proc/%d/cmdline'" op|'%' name|'pid' op|')' name|'as' name|'f' op|':' newline|'\n' indent|' ' name|'cmdline' op|'=' name|'f' op|'.' name|'read' op|'(' op|')' newline|'\n' name|'return' name|'match' name|'in' name|'cmdline' newline|'\n' dedent|'' dedent|'' name|'except' name|'EnvironmentError' op|':' newline|'\n' indent|' ' name|'return' name|'False' newline|'\n' nl|'\n' nl|'\n' DECL|function|metadata_forward dedent|'' dedent|'' name|'def' name|'metadata_forward' op|'(' op|')' op|':' newline|'\n' indent|' ' string|'"""Create forwarding rule for metadata."""' newline|'\n' name|'if' name|'CONF' op|'.' name|'metadata_host' op|'!=' string|"'127.0.0.1'" op|':' newline|'\n' indent|' ' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'PREROUTING'" op|',' nl|'\n' string|"'-s 0.0.0.0/0 -d 169.254.169.254/32 '" nl|'\n' string|"'-p tcp -m tcp --dport 80 -j DNAT '" nl|'\n' string|"'--to-destination %s:%s'" op|'%' nl|'\n' op|'(' name|'CONF' op|'.' name|'metadata_host' op|',' nl|'\n' name|'CONF' op|'.' name|'metadata_port' op|')' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'PREROUTING'" op|',' nl|'\n' string|"'-s 0.0.0.0/0 -d 169.254.169.254/32 '" nl|'\n' string|"'-p tcp -m tcp --dport 80 '" nl|'\n' string|"'-j REDIRECT --to-ports %s'" op|'%' nl|'\n' name|'CONF' op|'.' name|'metadata_port' op|')' newline|'\n' dedent|'' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_iptables_dest dedent|'' name|'def' name|'_iptables_dest' op|'(' name|'ip' op|')' op|':' newline|'\n' indent|' ' name|'if' op|'(' op|'(' name|'netaddr' op|'.' name|'IPAddress' op|'(' name|'ip' op|')' op|'.' name|'version' op|'==' number|'4' name|'and' name|'ip' op|'==' string|"'127.0.0.1'" op|')' nl|'\n' name|'or' name|'ip' op|'==' string|"'::1'" op|')' op|':' newline|'\n' indent|' ' name|'return' string|"'-m addrtype --dst-type LOCAL'" newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'return' string|"'-d %s'" op|'%' name|'ip' newline|'\n' nl|'\n' nl|'\n' DECL|function|metadata_accept dedent|'' dedent|'' name|'def' name|'metadata_accept' op|'(' op|')' op|':' newline|'\n' indent|' ' string|'"""Create the filter accept rule for metadata."""' newline|'\n' nl|'\n' name|'rule' op|'=' op|'(' string|"'-p tcp -m tcp --dport %s %s -j ACCEPT'" op|'%' nl|'\n' op|'(' name|'CONF' op|'.' name|'metadata_port' op|',' name|'_iptables_dest' op|'(' name|'CONF' op|'.' name|'metadata_host' op|')' op|')' op|')' newline|'\n' nl|'\n' name|'if' name|'netaddr' op|'.' name|'IPAddress' op|'(' name|'CONF' op|'.' name|'metadata_host' op|')' op|'.' name|'version' op|'==' number|'4' op|':' newline|'\n' indent|' ' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' string|"'INPUT'" op|',' name|'rule' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'iptables_manager' op|'.' name|'ipv6' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' string|"'INPUT'" op|',' name|'rule' op|')' newline|'\n' nl|'\n' dedent|'' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|add_snat_rule dedent|'' name|'def' name|'add_snat_rule' op|'(' name|'ip_range' op|',' name|'is_external' op|'=' name|'False' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'CONF' op|'.' name|'routing_source_ip' op|':' newline|'\n' indent|' ' name|'if' name|'is_external' op|':' newline|'\n' indent|' ' name|'if' name|'CONF' op|'.' name|'force_snat_range' op|':' newline|'\n' indent|' ' name|'snat_range' op|'=' name|'CONF' op|'.' name|'force_snat_range' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'snat_range' op|'=' op|'[' op|']' newline|'\n' dedent|'' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'snat_range' op|'=' op|'[' string|"'0.0.0.0/0'" op|']' newline|'\n' dedent|'' name|'for' name|'dest_range' name|'in' name|'snat_range' op|':' newline|'\n' indent|' ' name|'rule' op|'=' op|'(' string|"'-s %s -d %s -j SNAT --to-source %s'" nl|'\n' op|'%' op|'(' name|'ip_range' op|',' name|'dest_range' op|',' name|'CONF' op|'.' name|'routing_source_ip' op|')' op|')' newline|'\n' name|'if' name|'not' name|'is_external' name|'and' name|'CONF' op|'.' name|'public_interface' op|':' newline|'\n' indent|' ' name|'rule' op|'+=' string|"' -o %s'" op|'%' name|'CONF' op|'.' name|'public_interface' newline|'\n' dedent|'' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'snat'" op|',' name|'rule' op|')' newline|'\n' dedent|'' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|init_host dedent|'' dedent|'' name|'def' name|'init_host' op|'(' name|'ip_range' op|',' name|'is_external' op|'=' name|'False' op|')' op|':' newline|'\n' indent|' ' string|'"""Basic networking setup goes here."""' newline|'\n' comment|'# NOTE(devcamcar): Cloud public SNAT entries and the default' nl|'\n' comment|'# SNAT rule for outbound traffic.' nl|'\n' nl|'\n' name|'add_snat_rule' op|'(' name|'ip_range' op|',' name|'is_external' op|')' newline|'\n' nl|'\n' name|'rules' op|'=' op|'[' op|']' newline|'\n' name|'if' name|'is_external' op|':' newline|'\n' indent|' ' name|'for' name|'snat_range' name|'in' name|'CONF' op|'.' name|'force_snat_range' op|':' newline|'\n' indent|' ' name|'rules' op|'.' name|'append' op|'(' string|"'PREROUTING -p ipv4 --ip-src %s --ip-dst %s '" nl|'\n' string|"'-j redirect --redirect-target ACCEPT'" op|'%' nl|'\n' op|'(' name|'ip_range' op|',' name|'snat_range' op|')' op|')' newline|'\n' dedent|'' dedent|'' name|'if' name|'rules' op|':' newline|'\n' indent|' ' name|'ensure_ebtables_rules' op|'(' name|'rules' op|',' string|"'nat'" op|')' newline|'\n' nl|'\n' dedent|'' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'POSTROUTING'" op|',' nl|'\n' string|"'-s %s -d %s/32 -j ACCEPT'" op|'%' nl|'\n' op|'(' name|'ip_range' op|',' name|'CONF' op|'.' name|'metadata_host' op|')' op|')' newline|'\n' nl|'\n' name|'for' name|'dmz' name|'in' name|'CONF' op|'.' name|'dmz_cidr' op|':' newline|'\n' indent|' ' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'POSTROUTING'" op|',' nl|'\n' string|"'-s %s -d %s -j ACCEPT'" op|'%' nl|'\n' op|'(' name|'ip_range' op|',' name|'dmz' op|')' op|')' newline|'\n' nl|'\n' dedent|'' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'POSTROUTING'" op|',' nl|'\n' string|"'-s %(range)s -d %(range)s '" nl|'\n' string|"'-m conntrack ! --ctstate DNAT '" nl|'\n' string|"'-j ACCEPT'" op|'%' nl|'\n' op|'{' string|"'range'" op|':' name|'ip_range' op|'}' op|')' newline|'\n' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|send_arp_for_ip dedent|'' name|'def' name|'send_arp_for_ip' op|'(' name|'ip' op|',' name|'device' op|',' name|'count' op|')' op|':' newline|'\n' indent|' ' name|'out' op|',' name|'err' op|'=' name|'_execute' op|'(' string|"'arping'" op|',' string|"'-U'" op|',' name|'ip' op|',' nl|'\n' string|"'-A'" op|',' string|"'-I'" op|',' name|'device' op|',' nl|'\n' string|"'-c'" op|',' name|'str' op|'(' name|'count' op|')' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' name|'False' op|')' newline|'\n' nl|'\n' name|'if' name|'err' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|"'arping error for IP %s'" op|',' name|'ip' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|bind_floating_ip dedent|'' dedent|'' name|'def' name|'bind_floating_ip' op|'(' name|'floating_ip' op|',' name|'device' op|')' op|':' newline|'\n' indent|' ' string|'"""Bind IP to public interface."""' newline|'\n' name|'_execute' op|'(' string|"'ip'" op|',' string|"'addr'" op|',' string|"'add'" op|',' name|'str' op|'(' name|'floating_ip' op|')' op|'+' string|"'/32'" op|',' nl|'\n' string|"'dev'" op|',' name|'device' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' nl|'\n' name|'if' name|'CONF' op|'.' name|'send_arp_for_ha' name|'and' name|'CONF' op|'.' name|'send_arp_for_ha_count' op|'>' number|'0' op|':' newline|'\n' indent|' ' name|'send_arp_for_ip' op|'(' name|'floating_ip' op|',' name|'device' op|',' name|'CONF' op|'.' name|'send_arp_for_ha_count' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|unbind_floating_ip dedent|'' dedent|'' name|'def' name|'unbind_floating_ip' op|'(' name|'floating_ip' op|',' name|'device' op|')' op|':' newline|'\n' indent|' ' string|'"""Unbind a public IP from public interface."""' newline|'\n' name|'_execute' op|'(' string|"'ip'" op|',' string|"'addr'" op|',' string|"'del'" op|',' name|'str' op|'(' name|'floating_ip' op|')' op|'+' string|"'/32'" op|',' nl|'\n' string|"'dev'" op|',' name|'device' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|ensure_metadata_ip dedent|'' name|'def' name|'ensure_metadata_ip' op|'(' op|')' op|':' newline|'\n' indent|' ' string|'"""Sets up local metadata IP."""' newline|'\n' name|'_execute' op|'(' string|"'ip'" op|',' string|"'addr'" op|',' string|"'add'" op|',' string|"'169.254.169.254/32'" op|',' nl|'\n' string|"'scope'" op|',' string|"'link'" op|',' string|"'dev'" op|',' string|"'lo'" op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|ensure_vpn_forward dedent|'' name|'def' name|'ensure_vpn_forward' op|'(' name|'public_ip' op|',' name|'port' op|',' name|'private_ip' op|')' op|':' newline|'\n' indent|' ' string|'"""Sets up forwarding rules for vlan."""' newline|'\n' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' string|"'FORWARD'" op|',' nl|'\n' string|"'-d %s -p udp '" nl|'\n' string|"'--dport 1194 '" nl|'\n' string|"'-j ACCEPT'" op|'%' name|'private_ip' op|')' newline|'\n' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'PREROUTING'" op|',' nl|'\n' string|"'-d %s -p udp '" nl|'\n' string|"'--dport %s -j DNAT --to %s:1194'" op|'%' nl|'\n' op|'(' name|'public_ip' op|',' name|'port' op|',' name|'private_ip' op|')' op|')' newline|'\n' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' string|"'OUTPUT'" op|',' nl|'\n' string|"'-d %s -p udp '" nl|'\n' string|"'--dport %s -j DNAT --to %s:1194'" op|'%' nl|'\n' op|'(' name|'public_ip' op|',' name|'port' op|',' name|'private_ip' op|')' op|')' newline|'\n' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|ensure_floating_forward dedent|'' name|'def' name|'ensure_floating_forward' op|'(' name|'floating_ip' op|',' name|'fixed_ip' op|',' name|'device' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' string|'"""Ensure floating IP forwarding rule."""' newline|'\n' comment|'# NOTE(vish): Make sure we never have duplicate rules for the same ip' nl|'\n' name|'regex' op|'=' string|"'.*\\s+%s(/32|\\s+|$)'" op|'%' name|'floating_ip' newline|'\n' name|'num_rules' op|'=' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'remove_rules_regex' op|'(' name|'regex' op|')' newline|'\n' name|'if' name|'num_rules' op|':' newline|'\n' indent|' ' name|'msg' op|'=' name|'_LW' op|'(' string|"'Removed %(num)d duplicate rules for floating IP %(float)s'" op|')' newline|'\n' name|'LOG' op|'.' name|'warning' op|'(' name|'msg' op|',' op|'{' string|"'num'" op|':' name|'num_rules' op|',' string|"'float'" op|':' name|'floating_ip' op|'}' op|')' newline|'\n' dedent|'' name|'for' name|'chain' op|',' name|'rule' name|'in' name|'floating_forward_rules' op|'(' name|'floating_ip' op|',' name|'fixed_ip' op|',' name|'device' op|')' op|':' newline|'\n' indent|' ' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'add_rule' op|'(' name|'chain' op|',' name|'rule' op|')' newline|'\n' dedent|'' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' name|'if' name|'device' op|'!=' name|'network' op|'[' string|"'bridge'" op|']' op|':' newline|'\n' indent|' ' name|'ensure_ebtables_rules' op|'(' op|'*' name|'floating_ebtables_rules' op|'(' name|'fixed_ip' op|',' name|'network' op|')' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|remove_floating_forward dedent|'' dedent|'' name|'def' name|'remove_floating_forward' op|'(' name|'floating_ip' op|',' name|'fixed_ip' op|',' name|'device' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' string|'"""Remove forwarding for floating IP."""' newline|'\n' name|'for' name|'chain' op|',' name|'rule' name|'in' name|'floating_forward_rules' op|'(' name|'floating_ip' op|',' name|'fixed_ip' op|',' name|'device' op|')' op|':' newline|'\n' indent|' ' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'nat'" op|']' op|'.' name|'remove_rule' op|'(' name|'chain' op|',' name|'rule' op|')' newline|'\n' dedent|'' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' name|'if' name|'device' op|'!=' name|'network' op|'[' string|"'bridge'" op|']' op|':' newline|'\n' indent|' ' name|'remove_ebtables_rules' op|'(' op|'*' name|'floating_ebtables_rules' op|'(' name|'fixed_ip' op|',' name|'network' op|')' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|floating_ebtables_rules dedent|'' dedent|'' name|'def' name|'floating_ebtables_rules' op|'(' name|'fixed_ip' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' string|'"""Makes sure only in-network traffic is bridged."""' newline|'\n' name|'return' op|'(' op|'[' string|"'PREROUTING --logical-in %s -p ipv4 --ip-src %s '" nl|'\n' string|"'! --ip-dst %s -j redirect --redirect-target ACCEPT'" op|'%' nl|'\n' op|'(' name|'network' op|'[' string|"'bridge'" op|']' op|',' name|'fixed_ip' op|',' name|'network' op|'[' string|"'cidr'" op|']' op|')' op|']' op|',' string|"'nat'" op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|floating_forward_rules dedent|'' name|'def' name|'floating_forward_rules' op|'(' name|'floating_ip' op|',' name|'fixed_ip' op|',' name|'device' op|')' op|':' newline|'\n' indent|' ' name|'rules' op|'=' op|'[' op|']' newline|'\n' name|'rule' op|'=' string|"'-s %s -j SNAT --to %s'" op|'%' op|'(' name|'fixed_ip' op|',' name|'floating_ip' op|')' newline|'\n' name|'if' name|'device' op|':' newline|'\n' indent|' ' name|'rules' op|'.' name|'append' op|'(' op|'(' string|"'float-snat'" op|',' name|'rule' op|'+' string|"' -d %s'" op|'%' name|'fixed_ip' op|')' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' op|'(' string|"'float-snat'" op|',' name|'rule' op|'+' string|"' -o %s'" op|'%' name|'device' op|')' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'rules' op|'.' name|'append' op|'(' op|'(' string|"'float-snat'" op|',' name|'rule' op|')' op|')' newline|'\n' dedent|'' name|'rules' op|'.' name|'append' op|'(' nl|'\n' op|'(' string|"'PREROUTING'" op|',' string|"'-d %s -j DNAT --to %s'" op|'%' op|'(' name|'floating_ip' op|',' name|'fixed_ip' op|')' op|')' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' nl|'\n' op|'(' string|"'OUTPUT'" op|',' string|"'-d %s -j DNAT --to %s'" op|'%' op|'(' name|'floating_ip' op|',' name|'fixed_ip' op|')' op|')' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' op|'(' string|"'POSTROUTING'" op|',' string|"'-s %s -m conntrack --ctstate DNAT -j SNAT '" nl|'\n' string|"'--to-source %s'" op|'%' nl|'\n' op|'(' name|'fixed_ip' op|',' name|'floating_ip' op|')' op|')' op|')' newline|'\n' name|'return' name|'rules' newline|'\n' nl|'\n' nl|'\n' DECL|function|clean_conntrack dedent|'' name|'def' name|'clean_conntrack' op|'(' name|'fixed_ip' op|')' op|':' newline|'\n' indent|' ' name|'try' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' string|"'conntrack'" op|',' string|"'-D'" op|',' string|"'-r'" op|',' name|'fixed_ip' op|',' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'1' op|']' op|')' newline|'\n' dedent|'' name|'except' name|'processutils' op|'.' name|'ProcessExecutionError' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'exception' op|'(' name|'_LE' op|'(' string|"'Error deleting conntrack entries for %s'" op|')' op|',' name|'fixed_ip' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_enable_ipv4_forwarding dedent|'' dedent|'' name|'def' name|'_enable_ipv4_forwarding' op|'(' op|')' op|':' newline|'\n' indent|' ' name|'sysctl_key' op|'=' string|"'net.ipv4.ip_forward'" newline|'\n' name|'stdout' op|',' name|'stderr' op|'=' name|'_execute' op|'(' string|"'sysctl'" op|',' string|"'-n'" op|',' name|'sysctl_key' op|')' newline|'\n' name|'if' name|'stdout' op|'.' name|'strip' op|'(' op|')' name|'is' name|'not' string|"'1'" op|':' newline|'\n' indent|' ' name|'_execute' op|'(' string|"'sysctl'" op|',' string|"'-w'" op|',' string|"'%s=1'" op|'%' name|'sysctl_key' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' nl|'\n' dedent|'' dedent|'' op|'@' name|'utils' op|'.' name|'synchronized' op|'(' string|"'lock_gateway'" op|',' name|'external' op|'=' name|'True' op|')' newline|'\n' DECL|function|initialize_gateway_device name|'def' name|'initialize_gateway_device' op|'(' name|'dev' op|',' name|'network_ref' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'not' name|'network_ref' op|':' newline|'\n' indent|' ' name|'return' newline|'\n' nl|'\n' dedent|'' name|'_enable_ipv4_forwarding' op|'(' op|')' newline|'\n' nl|'\n' comment|'# NOTE(vish): The ip for dnsmasq has to be the first address on the' nl|'\n' comment|'# bridge for it to respond to requests properly' nl|'\n' name|'try' op|':' newline|'\n' indent|' ' name|'prefix' op|'=' name|'network_ref' op|'.' name|'cidr' op|'.' name|'prefixlen' newline|'\n' dedent|'' name|'except' name|'AttributeError' op|':' newline|'\n' indent|' ' name|'prefix' op|'=' name|'network_ref' op|'[' string|"'cidr'" op|']' op|'.' name|'rpartition' op|'(' string|"'/'" op|')' op|'[' number|'2' op|']' newline|'\n' nl|'\n' dedent|'' name|'full_ip' op|'=' string|"'%s/%s'" op|'%' op|'(' name|'network_ref' op|'[' string|"'dhcp_server'" op|']' op|',' name|'prefix' op|')' newline|'\n' name|'new_ip_params' op|'=' op|'[' op|'[' name|'full_ip' op|',' string|"'brd'" op|',' name|'network_ref' op|'[' string|"'broadcast'" op|']' op|']' op|']' newline|'\n' name|'old_ip_params' op|'=' op|'[' op|']' newline|'\n' name|'out' op|',' name|'err' op|'=' name|'_execute' op|'(' string|"'ip'" op|',' string|"'addr'" op|',' string|"'show'" op|',' string|"'dev'" op|',' name|'dev' op|',' nl|'\n' string|"'scope'" op|',' string|"'global'" op|')' newline|'\n' name|'for' name|'line' name|'in' name|'out' op|'.' name|'split' op|'(' string|"'\\n'" op|')' op|':' newline|'\n' indent|' ' name|'fields' op|'=' name|'line' op|'.' name|'split' op|'(' op|')' newline|'\n' name|'if' name|'fields' name|'and' name|'fields' op|'[' number|'0' op|']' op|'==' string|"'inet'" op|':' newline|'\n' indent|' ' name|'if' name|'fields' op|'[' op|'-' number|'2' op|']' name|'in' op|'(' string|"'secondary'" op|',' string|"'dynamic'" op|')' op|':' newline|'\n' indent|' ' name|'ip_params' op|'=' name|'fields' op|'[' number|'1' op|':' op|'-' number|'2' op|']' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'ip_params' op|'=' name|'fields' op|'[' number|'1' op|':' op|'-' number|'1' op|']' newline|'\n' dedent|'' name|'old_ip_params' op|'.' name|'append' op|'(' name|'ip_params' op|')' newline|'\n' name|'if' name|'ip_params' op|'[' number|'0' op|']' op|'!=' name|'full_ip' op|':' newline|'\n' indent|' ' name|'new_ip_params' op|'.' name|'append' op|'(' name|'ip_params' op|')' newline|'\n' dedent|'' dedent|'' dedent|'' name|'if' name|'not' name|'old_ip_params' name|'or' name|'old_ip_params' op|'[' number|'0' op|']' op|'[' number|'0' op|']' op|'!=' name|'full_ip' op|':' newline|'\n' indent|' ' name|'old_routes' op|'=' op|'[' op|']' newline|'\n' name|'result' op|'=' name|'_execute' op|'(' string|"'ip'" op|',' string|"'route'" op|',' string|"'show'" op|',' string|"'dev'" op|',' name|'dev' op|')' newline|'\n' name|'if' name|'result' op|':' newline|'\n' indent|' ' name|'out' op|',' name|'err' op|'=' name|'result' newline|'\n' name|'for' name|'line' name|'in' name|'out' op|'.' name|'split' op|'(' string|"'\\n'" op|')' op|':' newline|'\n' indent|' ' name|'fields' op|'=' name|'line' op|'.' name|'split' op|'(' op|')' newline|'\n' name|'if' name|'fields' name|'and' string|"'via'" name|'in' name|'fields' op|':' newline|'\n' indent|' ' name|'old_routes' op|'.' name|'append' op|'(' name|'fields' op|')' newline|'\n' name|'_execute' op|'(' string|"'ip'" op|',' string|"'route'" op|',' string|"'del'" op|',' name|'fields' op|'[' number|'0' op|']' op|',' nl|'\n' string|"'dev'" op|',' name|'dev' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' dedent|'' dedent|'' dedent|'' name|'for' name|'ip_params' name|'in' name|'old_ip_params' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' op|'*' name|'_ip_bridge_cmd' op|'(' string|"'del'" op|',' name|'ip_params' op|',' name|'dev' op|')' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' dedent|'' name|'for' name|'ip_params' name|'in' name|'new_ip_params' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' op|'*' name|'_ip_bridge_cmd' op|'(' string|"'add'" op|',' name|'ip_params' op|',' name|'dev' op|')' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' nl|'\n' dedent|'' name|'for' name|'fields' name|'in' name|'old_routes' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' string|"'ip'" op|',' string|"'route'" op|',' string|"'add'" op|',' op|'*' name|'fields' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' dedent|'' name|'if' name|'CONF' op|'.' name|'send_arp_for_ha' name|'and' name|'CONF' op|'.' name|'send_arp_for_ha_count' op|'>' number|'0' op|':' newline|'\n' indent|' ' name|'send_arp_for_ip' op|'(' name|'network_ref' op|'[' string|"'dhcp_server'" op|']' op|',' name|'dev' op|',' nl|'\n' name|'CONF' op|'.' name|'send_arp_for_ha_count' op|')' newline|'\n' dedent|'' dedent|'' name|'if' name|'CONF' op|'.' name|'use_ipv6' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' string|"'ip'" op|',' string|"'-f'" op|',' string|"'inet6'" op|',' string|"'addr'" op|',' nl|'\n' string|"'change'" op|',' name|'network_ref' op|'[' string|"'cidr_v6'" op|']' op|',' nl|'\n' string|"'dev'" op|',' name|'dev' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|get_dhcp_leases dedent|'' dedent|'' name|'def' name|'get_dhcp_leases' op|'(' name|'context' op|',' name|'network_ref' op|')' op|':' newline|'\n' indent|' ' string|'"""Return a network\'s hosts config in dnsmasq leasefile format."""' newline|'\n' name|'hosts' op|'=' op|'[' op|']' newline|'\n' name|'host' op|'=' name|'None' newline|'\n' name|'if' name|'network_ref' op|'[' string|"'multi_host'" op|']' op|':' newline|'\n' indent|' ' name|'host' op|'=' name|'CONF' op|'.' name|'host' newline|'\n' dedent|'' name|'for' name|'fixedip' name|'in' name|'objects' op|'.' name|'FixedIPList' op|'.' name|'get_by_network' op|'(' name|'context' op|',' nl|'\n' name|'network_ref' op|',' nl|'\n' name|'host' op|'=' name|'host' op|')' op|':' newline|'\n' comment|"# NOTE(cfb): Don't return a lease entry if the IP isn't" nl|'\n' comment|'# already leased' nl|'\n' indent|' ' name|'if' name|'fixedip' op|'.' name|'leased' op|':' newline|'\n' indent|' ' name|'hosts' op|'.' name|'append' op|'(' name|'_host_lease' op|'(' name|'fixedip' op|')' op|')' newline|'\n' nl|'\n' dedent|'' dedent|'' name|'return' string|"'\\n'" op|'.' name|'join' op|'(' name|'hosts' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|get_dhcp_hosts dedent|'' name|'def' name|'get_dhcp_hosts' op|'(' name|'context' op|',' name|'network_ref' op|',' name|'fixedips' op|')' op|':' newline|'\n' indent|' ' string|'"""Get network\'s hosts config in dhcp-host format."""' newline|'\n' name|'hosts' op|'=' op|'[' op|']' newline|'\n' name|'macs' op|'=' name|'set' op|'(' op|')' newline|'\n' name|'for' name|'fixedip' name|'in' name|'fixedips' op|':' newline|'\n' indent|' ' name|'if' name|'fixedip' op|'.' name|'allocated' op|':' newline|'\n' indent|' ' name|'if' name|'fixedip' op|'.' name|'virtual_interface' op|'.' name|'address' name|'not' name|'in' name|'macs' op|':' newline|'\n' indent|' ' name|'hosts' op|'.' name|'append' op|'(' name|'_host_dhcp' op|'(' name|'fixedip' op|')' op|')' newline|'\n' name|'macs' op|'.' name|'add' op|'(' name|'fixedip' op|'.' name|'virtual_interface' op|'.' name|'address' op|')' newline|'\n' dedent|'' dedent|'' dedent|'' name|'return' string|"'\\n'" op|'.' name|'join' op|'(' name|'hosts' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|get_dns_hosts dedent|'' name|'def' name|'get_dns_hosts' op|'(' name|'context' op|',' name|'network_ref' op|')' op|':' newline|'\n' indent|' ' string|'"""Get network\'s DNS hosts in hosts format."""' newline|'\n' name|'hosts' op|'=' op|'[' op|']' newline|'\n' name|'for' name|'fixedip' name|'in' name|'objects' op|'.' name|'FixedIPList' op|'.' name|'get_by_network' op|'(' name|'context' op|',' name|'network_ref' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'fixedip' op|'.' name|'allocated' op|':' newline|'\n' indent|' ' name|'hosts' op|'.' name|'append' op|'(' name|'_host_dns' op|'(' name|'fixedip' op|')' op|')' newline|'\n' dedent|'' dedent|'' name|'return' string|"'\\n'" op|'.' name|'join' op|'(' name|'hosts' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_add_dnsmasq_accept_rules dedent|'' name|'def' name|'_add_dnsmasq_accept_rules' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' string|'"""Allow DHCP and DNS traffic through to dnsmasq."""' newline|'\n' name|'table' op|'=' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' newline|'\n' name|'for' name|'port' name|'in' op|'[' number|'67' op|',' number|'53' op|']' op|':' newline|'\n' indent|' ' name|'for' name|'proto' name|'in' op|'[' string|"'udp'" op|',' string|"'tcp'" op|']' op|':' newline|'\n' indent|' ' name|'args' op|'=' op|'{' string|"'dev'" op|':' name|'dev' op|',' string|"'port'" op|':' name|'port' op|',' string|"'proto'" op|':' name|'proto' op|'}' newline|'\n' name|'table' op|'.' name|'add_rule' op|'(' string|"'INPUT'" op|',' nl|'\n' string|"'-i %(dev)s -p %(proto)s -m %(proto)s '" nl|'\n' string|"'--dport %(port)s -j ACCEPT'" op|'%' name|'args' op|')' newline|'\n' dedent|'' dedent|'' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_remove_dnsmasq_accept_rules dedent|'' name|'def' name|'_remove_dnsmasq_accept_rules' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' string|'"""Remove DHCP and DNS traffic allowed through to dnsmasq."""' newline|'\n' name|'table' op|'=' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' newline|'\n' name|'for' name|'port' name|'in' op|'[' number|'67' op|',' number|'53' op|']' op|':' newline|'\n' indent|' ' name|'for' name|'proto' name|'in' op|'[' string|"'udp'" op|',' string|"'tcp'" op|']' op|':' newline|'\n' indent|' ' name|'args' op|'=' op|'{' string|"'dev'" op|':' name|'dev' op|',' string|"'port'" op|':' name|'port' op|',' string|"'proto'" op|':' name|'proto' op|'}' newline|'\n' name|'table' op|'.' name|'remove_rule' op|'(' string|"'INPUT'" op|',' nl|'\n' string|"'-i %(dev)s -p %(proto)s -m %(proto)s '" nl|'\n' string|"'--dport %(port)s -j ACCEPT'" op|'%' name|'args' op|')' newline|'\n' dedent|'' dedent|'' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' comment|'# NOTE(russellb) Curious why this is needed? Check out this explanation from' nl|'\n' comment|'# markmc: https://bugzilla.redhat.com/show_bug.cgi?id=910619#c6' nl|'\n' DECL|function|_add_dhcp_mangle_rule dedent|'' name|'def' name|'_add_dhcp_mangle_rule' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'table' op|'=' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'mangle'" op|']' newline|'\n' name|'table' op|'.' name|'add_rule' op|'(' string|"'POSTROUTING'" op|',' nl|'\n' string|"'-o %s -p udp -m udp --dport 68 -j CHECKSUM '" nl|'\n' string|"'--checksum-fill'" op|'%' name|'dev' op|')' newline|'\n' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_remove_dhcp_mangle_rule dedent|'' name|'def' name|'_remove_dhcp_mangle_rule' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'table' op|'=' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'mangle'" op|']' newline|'\n' name|'table' op|'.' name|'remove_rule' op|'(' string|"'POSTROUTING'" op|',' nl|'\n' string|"'-o %s -p udp -m udp --dport 68 -j CHECKSUM '" nl|'\n' string|"'--checksum-fill'" op|'%' name|'dev' op|')' newline|'\n' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|get_dhcp_opts dedent|'' name|'def' name|'get_dhcp_opts' op|'(' name|'context' op|',' name|'network_ref' op|',' name|'fixedips' op|')' op|':' newline|'\n' indent|' ' string|'"""Get network\'s hosts config in dhcp-opts format."""' newline|'\n' name|'gateway' op|'=' name|'network_ref' op|'[' string|"'gateway'" op|']' newline|'\n' comment|'# NOTE(vish): if we are in multi-host mode and we are not sharing' nl|'\n' comment|'# addresses, then we actually need to hand out the' nl|'\n' comment|'# dhcp server address as the gateway.' nl|'\n' name|'if' name|'network_ref' op|'[' string|"'multi_host'" op|']' name|'and' name|'not' op|'(' name|'network_ref' op|'[' string|"'share_address'" op|']' name|'or' nl|'\n' name|'CONF' op|'.' name|'share_dhcp_address' op|')' op|':' newline|'\n' indent|' ' name|'gateway' op|'=' name|'network_ref' op|'[' string|"'dhcp_server'" op|']' newline|'\n' dedent|'' name|'hosts' op|'=' op|'[' op|']' newline|'\n' name|'if' name|'CONF' op|'.' name|'use_single_default_gateway' op|':' newline|'\n' indent|' ' name|'for' name|'fixedip' name|'in' name|'fixedips' op|':' newline|'\n' indent|' ' name|'if' name|'fixedip' op|'.' name|'allocated' op|':' newline|'\n' indent|' ' name|'vif_id' op|'=' name|'fixedip' op|'.' name|'virtual_interface_id' newline|'\n' name|'if' name|'fixedip' op|'.' name|'default_route' op|':' newline|'\n' indent|' ' name|'hosts' op|'.' name|'append' op|'(' name|'_host_dhcp_opts' op|'(' name|'vif_id' op|',' name|'gateway' op|')' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'hosts' op|'.' name|'append' op|'(' name|'_host_dhcp_opts' op|'(' name|'vif_id' op|')' op|')' newline|'\n' dedent|'' dedent|'' dedent|'' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'hosts' op|'.' name|'append' op|'(' name|'_host_dhcp_opts' op|'(' name|'None' op|',' name|'gateway' op|')' op|')' newline|'\n' dedent|'' name|'return' string|"'\\n'" op|'.' name|'join' op|'(' name|'hosts' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|release_dhcp dedent|'' name|'def' name|'release_dhcp' op|'(' name|'dev' op|',' name|'address' op|',' name|'mac_address' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'device_exists' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'try' op|':' newline|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'dhcp_release'" op|',' name|'dev' op|',' name|'address' op|',' name|'mac_address' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' dedent|'' name|'except' name|'processutils' op|'.' name|'ProcessExecutionError' op|':' newline|'\n' indent|' ' name|'raise' name|'exception' op|'.' name|'NetworkDhcpReleaseFailed' op|'(' name|'address' op|'=' name|'address' op|',' nl|'\n' name|'mac_address' op|'=' name|'mac_address' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|update_dhcp dedent|'' dedent|'' dedent|'' name|'def' name|'update_dhcp' op|'(' name|'context' op|',' name|'dev' op|',' name|'network_ref' op|')' op|':' newline|'\n' indent|' ' name|'conffile' op|'=' name|'_dhcp_file' op|'(' name|'dev' op|',' string|"'conf'" op|')' newline|'\n' name|'host' op|'=' name|'None' newline|'\n' name|'if' name|'network_ref' op|'[' string|"'multi_host'" op|']' op|':' newline|'\n' indent|' ' name|'host' op|'=' name|'CONF' op|'.' name|'host' newline|'\n' dedent|'' name|'fixedips' op|'=' name|'objects' op|'.' name|'FixedIPList' op|'.' name|'get_by_network' op|'(' name|'context' op|',' nl|'\n' name|'network_ref' op|',' nl|'\n' name|'host' op|'=' name|'host' op|')' newline|'\n' name|'write_to_file' op|'(' name|'conffile' op|',' name|'get_dhcp_hosts' op|'(' name|'context' op|',' name|'network_ref' op|',' name|'fixedips' op|')' op|')' newline|'\n' name|'restart_dhcp' op|'(' name|'context' op|',' name|'dev' op|',' name|'network_ref' op|',' name|'fixedips' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|update_dns dedent|'' name|'def' name|'update_dns' op|'(' name|'context' op|',' name|'dev' op|',' name|'network_ref' op|')' op|':' newline|'\n' indent|' ' name|'hostsfile' op|'=' name|'_dhcp_file' op|'(' name|'dev' op|',' string|"'hosts'" op|')' newline|'\n' name|'host' op|'=' name|'None' newline|'\n' name|'if' name|'network_ref' op|'[' string|"'multi_host'" op|']' op|':' newline|'\n' indent|' ' name|'host' op|'=' name|'CONF' op|'.' name|'host' newline|'\n' dedent|'' name|'fixedips' op|'=' name|'objects' op|'.' name|'FixedIPList' op|'.' name|'get_by_network' op|'(' name|'context' op|',' nl|'\n' name|'network_ref' op|',' nl|'\n' name|'host' op|'=' name|'host' op|')' newline|'\n' name|'write_to_file' op|'(' name|'hostsfile' op|',' name|'get_dns_hosts' op|'(' name|'context' op|',' name|'network_ref' op|')' op|')' newline|'\n' name|'restart_dhcp' op|'(' name|'context' op|',' name|'dev' op|',' name|'network_ref' op|',' name|'fixedips' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|kill_dhcp dedent|'' name|'def' name|'kill_dhcp' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'pid' op|'=' name|'_dnsmasq_pid_for' op|'(' name|'dev' op|')' newline|'\n' name|'if' name|'pid' op|':' newline|'\n' comment|'# Check that the process exists and looks like a dnsmasq process' nl|'\n' indent|' ' name|'conffile' op|'=' name|'_dhcp_file' op|'(' name|'dev' op|',' string|"'conf'" op|')' newline|'\n' name|'if' name|'is_pid_cmdline_correct' op|'(' name|'pid' op|',' name|'conffile' op|'.' name|'split' op|'(' string|"'/'" op|')' op|'[' op|'-' number|'1' op|']' op|')' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' string|"'kill'" op|',' string|"'-9'" op|',' name|'pid' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|"'Pid %d is stale, skip killing dnsmasq'" op|',' name|'pid' op|')' newline|'\n' dedent|'' dedent|'' name|'_remove_dnsmasq_accept_rules' op|'(' name|'dev' op|')' newline|'\n' name|'_remove_dhcp_mangle_rule' op|'(' name|'dev' op|')' newline|'\n' nl|'\n' nl|'\n' comment|'# NOTE(ja): Sending a HUP only reloads the hostfile, so any' nl|'\n' comment|'# configuration options (like dchp-range, vlan, ...)' nl|'\n' comment|"# aren't reloaded." nl|'\n' dedent|'' op|'@' name|'utils' op|'.' name|'synchronized' op|'(' string|"'dnsmasq_start'" op|')' newline|'\n' DECL|function|restart_dhcp name|'def' name|'restart_dhcp' op|'(' name|'context' op|',' name|'dev' op|',' name|'network_ref' op|',' name|'fixedips' op|')' op|':' newline|'\n' indent|' ' string|'"""(Re)starts a dnsmasq server for a given network.\n\n If a dnsmasq instance is already running then send a HUP\n signal causing it to reload, otherwise spawn a new instance.\n\n """' newline|'\n' name|'conffile' op|'=' name|'_dhcp_file' op|'(' name|'dev' op|',' string|"'conf'" op|')' newline|'\n' nl|'\n' name|'optsfile' op|'=' name|'_dhcp_file' op|'(' name|'dev' op|',' string|"'opts'" op|')' newline|'\n' name|'write_to_file' op|'(' name|'optsfile' op|',' name|'get_dhcp_opts' op|'(' name|'context' op|',' name|'network_ref' op|',' name|'fixedips' op|')' op|')' newline|'\n' name|'os' op|'.' name|'chmod' op|'(' name|'optsfile' op|',' number|'0o644' op|')' newline|'\n' nl|'\n' name|'_add_dhcp_mangle_rule' op|'(' name|'dev' op|')' newline|'\n' nl|'\n' comment|'# Make sure dnsmasq can actually read it (it setuid()s to "nobody")' nl|'\n' name|'os' op|'.' name|'chmod' op|'(' name|'conffile' op|',' number|'0o644' op|')' newline|'\n' nl|'\n' name|'pid' op|'=' name|'_dnsmasq_pid_for' op|'(' name|'dev' op|')' newline|'\n' nl|'\n' comment|'# if dnsmasq is already running, then tell it to reload' nl|'\n' name|'if' name|'pid' op|':' newline|'\n' indent|' ' name|'if' name|'is_pid_cmdline_correct' op|'(' name|'pid' op|',' name|'conffile' op|'.' name|'split' op|'(' string|"'/'" op|')' op|'[' op|'-' number|'1' op|']' op|')' op|':' newline|'\n' indent|' ' name|'try' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' string|"'kill'" op|',' string|"'-HUP'" op|',' name|'pid' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'_add_dnsmasq_accept_rules' op|'(' name|'dev' op|')' newline|'\n' name|'return' newline|'\n' dedent|'' name|'except' name|'Exception' name|'as' name|'exc' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'error' op|'(' name|'_LE' op|'(' string|"'kill -HUP dnsmasq threw %s'" op|')' op|',' name|'exc' op|')' newline|'\n' dedent|'' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|"'Pid %d is stale, relaunching dnsmasq'" op|',' name|'pid' op|')' newline|'\n' nl|'\n' dedent|'' dedent|'' name|'cmd' op|'=' op|'[' string|"'env'" op|',' nl|'\n' string|"'CONFIG_FILE=%s'" op|'%' name|'jsonutils' op|'.' name|'dumps' op|'(' name|'CONF' op|'.' name|'dhcpbridge_flagfile' op|')' op|',' nl|'\n' string|"'NETWORK_ID=%s'" op|'%' name|'str' op|'(' name|'network_ref' op|'[' string|"'id'" op|']' op|')' op|',' nl|'\n' string|"'dnsmasq'" op|',' nl|'\n' string|"'--strict-order'" op|',' nl|'\n' string|"'--bind-interfaces'" op|',' nl|'\n' string|"'--conf-file=%s'" op|'%' name|'CONF' op|'.' name|'dnsmasq_config_file' op|',' nl|'\n' string|"'--pid-file=%s'" op|'%' name|'_dhcp_file' op|'(' name|'dev' op|',' string|"'pid'" op|')' op|',' nl|'\n' string|"'--dhcp-optsfile=%s'" op|'%' name|'_dhcp_file' op|'(' name|'dev' op|',' string|"'opts'" op|')' op|',' nl|'\n' string|"'--listen-address=%s'" op|'%' name|'network_ref' op|'[' string|"'dhcp_server'" op|']' op|',' nl|'\n' string|"'--except-interface=lo'" op|',' nl|'\n' string|"'--dhcp-range=set:%s,%s,static,%s,%ss'" op|'%' nl|'\n' op|'(' name|'network_ref' op|'[' string|"'label'" op|']' op|',' nl|'\n' name|'network_ref' op|'[' string|"'dhcp_start'" op|']' op|',' nl|'\n' name|'network_ref' op|'[' string|"'netmask'" op|']' op|',' nl|'\n' name|'CONF' op|'.' name|'dhcp_lease_time' op|')' op|',' nl|'\n' string|"'--dhcp-lease-max=%s'" op|'%' name|'len' op|'(' name|'netaddr' op|'.' name|'IPNetwork' op|'(' name|'network_ref' op|'[' string|"'cidr'" op|']' op|')' op|')' op|',' nl|'\n' string|"'--dhcp-hostsfile=%s'" op|'%' name|'_dhcp_file' op|'(' name|'dev' op|',' string|"'conf'" op|')' op|',' nl|'\n' string|"'--dhcp-script=%s'" op|'%' name|'CONF' op|'.' name|'dhcpbridge' op|',' nl|'\n' string|"'--no-hosts'" op|',' nl|'\n' string|"'--leasefile-ro'" op|']' newline|'\n' nl|'\n' comment|'# dnsmasq currently gives an error for an empty domain,' nl|'\n' comment|'# rather than ignoring. So only specify it if defined.' nl|'\n' name|'if' name|'CONF' op|'.' name|'dhcp_domain' op|':' newline|'\n' indent|' ' name|'cmd' op|'.' name|'append' op|'(' string|"'--domain=%s'" op|'%' name|'CONF' op|'.' name|'dhcp_domain' op|')' newline|'\n' nl|'\n' dedent|'' name|'dns_servers' op|'=' name|'CONF' op|'.' name|'dns_server' newline|'\n' name|'if' name|'CONF' op|'.' name|'use_network_dns_servers' op|':' newline|'\n' indent|' ' name|'if' name|'network_ref' op|'.' name|'get' op|'(' string|"'dns1'" op|')' op|':' newline|'\n' indent|' ' name|'dns_servers' op|'.' name|'append' op|'(' name|'network_ref' op|'.' name|'get' op|'(' string|"'dns1'" op|')' op|')' newline|'\n' dedent|'' name|'if' name|'network_ref' op|'.' name|'get' op|'(' string|"'dns2'" op|')' op|':' newline|'\n' indent|' ' name|'dns_servers' op|'.' name|'append' op|'(' name|'network_ref' op|'.' name|'get' op|'(' string|"'dns2'" op|')' op|')' newline|'\n' dedent|'' dedent|'' name|'if' name|'network_ref' op|'[' string|"'multi_host'" op|']' op|':' newline|'\n' indent|' ' name|'cmd' op|'.' name|'append' op|'(' string|"'--addn-hosts=%s'" op|'%' name|'_dhcp_file' op|'(' name|'dev' op|',' string|"'hosts'" op|')' op|')' newline|'\n' dedent|'' name|'if' name|'dns_servers' op|':' newline|'\n' indent|' ' name|'cmd' op|'.' name|'append' op|'(' string|"'--no-resolv'" op|')' newline|'\n' dedent|'' name|'for' name|'dns_server' name|'in' name|'dns_servers' op|':' newline|'\n' indent|' ' name|'cmd' op|'.' name|'append' op|'(' string|"'--server=%s'" op|'%' name|'dns_server' op|')' newline|'\n' nl|'\n' dedent|'' name|'_execute' op|'(' op|'*' name|'cmd' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' name|'_add_dnsmasq_accept_rules' op|'(' name|'dev' op|')' newline|'\n' nl|'\n' nl|'\n' dedent|'' op|'@' name|'utils' op|'.' name|'synchronized' op|'(' string|"'radvd_start'" op|')' newline|'\n' DECL|function|update_ra name|'def' name|'update_ra' op|'(' name|'context' op|',' name|'dev' op|',' name|'network_ref' op|')' op|':' newline|'\n' indent|' ' name|'conffile' op|'=' name|'_ra_file' op|'(' name|'dev' op|',' string|"'conf'" op|')' newline|'\n' name|'conf_str' op|'=' string|'"""\ninterface %s\n{\n AdvSendAdvert on;\n MinRtrAdvInterval 3;\n MaxRtrAdvInterval 10;\n prefix %s\n {\n AdvOnLink on;\n AdvAutonomous on;\n };\n};\n"""' op|'%' op|'(' name|'dev' op|',' name|'network_ref' op|'[' string|"'cidr_v6'" op|']' op|')' newline|'\n' name|'write_to_file' op|'(' name|'conffile' op|',' name|'conf_str' op|')' newline|'\n' nl|'\n' comment|'# Make sure radvd can actually read it (it setuid()s to "nobody")' nl|'\n' name|'os' op|'.' name|'chmod' op|'(' name|'conffile' op|',' number|'0o644' op|')' newline|'\n' nl|'\n' DECL|variable|pid name|'pid' op|'=' name|'_ra_pid_for' op|'(' name|'dev' op|')' newline|'\n' nl|'\n' comment|'# if radvd is already running, then tell it to reload' nl|'\n' name|'if' name|'pid' op|':' newline|'\n' indent|' ' name|'if' name|'is_pid_cmdline_correct' op|'(' name|'pid' op|',' name|'conffile' op|')' op|':' newline|'\n' indent|' ' name|'try' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' string|"'kill'" op|',' name|'pid' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' dedent|'' name|'except' name|'Exception' name|'as' name|'exc' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'error' op|'(' name|'_LE' op|'(' string|"'killing radvd threw %s'" op|')' op|',' name|'exc' op|')' newline|'\n' dedent|'' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|"'Pid %d is stale, relaunching radvd'" op|',' name|'pid' op|')' newline|'\n' nl|'\n' DECL|variable|cmd dedent|'' dedent|'' name|'cmd' op|'=' op|'[' string|"'radvd'" op|',' nl|'\n' string|"'-C'" op|',' string|"'%s'" op|'%' name|'_ra_file' op|'(' name|'dev' op|',' string|"'conf'" op|')' op|',' nl|'\n' string|"'-p'" op|',' string|"'%s'" op|'%' name|'_ra_file' op|'(' name|'dev' op|',' string|"'pid'" op|')' op|']' newline|'\n' nl|'\n' name|'_execute' op|'(' op|'*' name|'cmd' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_host_lease dedent|'' name|'def' name|'_host_lease' op|'(' name|'fixedip' op|')' op|':' newline|'\n' indent|' ' string|'"""Return a host string for an address in leasefile format."""' newline|'\n' name|'timestamp' op|'=' name|'timeutils' op|'.' name|'utcnow' op|'(' op|')' newline|'\n' name|'seconds_since_epoch' op|'=' name|'calendar' op|'.' name|'timegm' op|'(' name|'timestamp' op|'.' name|'utctimetuple' op|'(' op|')' op|')' newline|'\n' name|'return' string|"'%d %s %s %s *'" op|'%' op|'(' name|'seconds_since_epoch' op|'+' name|'CONF' op|'.' name|'dhcp_lease_time' op|',' nl|'\n' name|'fixedip' op|'.' name|'virtual_interface' op|'.' name|'address' op|',' nl|'\n' name|'fixedip' op|'.' name|'address' op|',' nl|'\n' name|'fixedip' op|'.' name|'instance' op|'.' name|'hostname' name|'or' string|"'*'" op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_host_dhcp_network dedent|'' name|'def' name|'_host_dhcp_network' op|'(' name|'vif_id' op|')' op|':' newline|'\n' indent|' ' name|'return' string|"'NW-%s'" op|'%' name|'vif_id' newline|'\n' nl|'\n' nl|'\n' DECL|function|_host_dhcp dedent|'' name|'def' name|'_host_dhcp' op|'(' name|'fixedip' op|')' op|':' newline|'\n' indent|' ' string|'"""Return a host string for an address in dhcp-host format."""' newline|'\n' comment|'# NOTE(cfb): dnsmasq on linux only supports 64 characters in the hostname' nl|'\n' comment|'# field (LP #1238910). Since the . counts as a character we need' nl|'\n' comment|'# to truncate the hostname to only 63 characters.' nl|'\n' name|'hostname' op|'=' name|'fixedip' op|'.' name|'instance' op|'.' name|'hostname' newline|'\n' name|'if' name|'len' op|'(' name|'hostname' op|')' op|'>' number|'63' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'warning' op|'(' name|'_LW' op|'(' string|"'hostname %s too long, truncating.'" op|')' op|',' name|'hostname' op|')' newline|'\n' name|'hostname' op|'=' name|'fixedip' op|'.' name|'instance' op|'.' name|'hostname' op|'[' op|':' number|'2' op|']' op|'+' string|"'-'" op|'+' name|'fixedip' op|'.' name|'instance' op|'.' name|'hostname' op|'[' op|'-' number|'60' op|':' op|']' newline|'\n' dedent|'' name|'if' name|'CONF' op|'.' name|'use_single_default_gateway' op|':' newline|'\n' indent|' ' name|'net' op|'=' name|'_host_dhcp_network' op|'(' name|'fixedip' op|'.' name|'virtual_interface_id' op|')' newline|'\n' name|'return' string|"'%s,%s.%s,%s,net:%s'" op|'%' op|'(' name|'fixedip' op|'.' name|'virtual_interface' op|'.' name|'address' op|',' nl|'\n' name|'hostname' op|',' nl|'\n' name|'CONF' op|'.' name|'dhcp_domain' op|',' nl|'\n' name|'fixedip' op|'.' name|'address' op|',' nl|'\n' name|'net' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'return' string|"'%s,%s.%s,%s'" op|'%' op|'(' name|'fixedip' op|'.' name|'virtual_interface' op|'.' name|'address' op|',' nl|'\n' name|'hostname' op|',' nl|'\n' name|'CONF' op|'.' name|'dhcp_domain' op|',' nl|'\n' name|'fixedip' op|'.' name|'address' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_host_dns dedent|'' dedent|'' name|'def' name|'_host_dns' op|'(' name|'fixedip' op|')' op|':' newline|'\n' indent|' ' name|'return' string|"'%s\\t%s.%s'" op|'%' op|'(' name|'fixedip' op|'.' name|'address' op|',' nl|'\n' name|'fixedip' op|'.' name|'instance' op|'.' name|'hostname' op|',' nl|'\n' name|'CONF' op|'.' name|'dhcp_domain' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_host_dhcp_opts dedent|'' name|'def' name|'_host_dhcp_opts' op|'(' name|'vif_id' op|'=' name|'None' op|',' name|'gateway' op|'=' name|'None' op|')' op|':' newline|'\n' indent|' ' string|'"""Return an empty gateway option."""' newline|'\n' name|'values' op|'=' op|'[' op|']' newline|'\n' name|'if' name|'vif_id' name|'is' name|'not' name|'None' op|':' newline|'\n' indent|' ' name|'values' op|'.' name|'append' op|'(' name|'_host_dhcp_network' op|'(' name|'vif_id' op|')' op|')' newline|'\n' comment|'# NOTE(vish): 3 is the dhcp option for gateway.' nl|'\n' dedent|'' name|'values' op|'.' name|'append' op|'(' string|"'3'" op|')' newline|'\n' name|'if' name|'gateway' op|':' newline|'\n' indent|' ' name|'values' op|'.' name|'append' op|'(' string|"'%s'" op|'%' name|'gateway' op|')' newline|'\n' dedent|'' name|'return' string|"','" op|'.' name|'join' op|'(' name|'values' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_execute dedent|'' name|'def' name|'_execute' op|'(' op|'*' name|'cmd' op|',' op|'**' name|'kwargs' op|')' op|':' newline|'\n' indent|' ' string|'"""Wrapper around utils._execute for fake_network."""' newline|'\n' name|'if' name|'CONF' op|'.' name|'fake_network' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|"'FAKE NET: %s'" op|',' string|"' '" op|'.' name|'join' op|'(' name|'map' op|'(' name|'str' op|',' name|'cmd' op|')' op|')' op|')' newline|'\n' name|'return' string|"'fake'" op|',' number|'0' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'return' name|'utils' op|'.' name|'execute' op|'(' op|'*' name|'cmd' op|',' op|'**' name|'kwargs' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|device_exists dedent|'' dedent|'' name|'def' name|'device_exists' op|'(' name|'device' op|')' op|':' newline|'\n' indent|' ' string|'"""Check if ethernet device exists."""' newline|'\n' name|'return' name|'os' op|'.' name|'path' op|'.' name|'exists' op|'(' string|"'/sys/class/net/%s'" op|'%' name|'device' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_dhcp_file dedent|'' name|'def' name|'_dhcp_file' op|'(' name|'dev' op|',' name|'kind' op|')' op|':' newline|'\n' indent|' ' string|'"""Return path to a pid, leases, hosts or conf file for a bridge/device."""' newline|'\n' name|'fileutils' op|'.' name|'ensure_tree' op|'(' name|'CONF' op|'.' name|'networks_path' op|')' newline|'\n' name|'return' name|'os' op|'.' name|'path' op|'.' name|'abspath' op|'(' string|"'%s/nova-%s.%s'" op|'%' op|'(' name|'CONF' op|'.' name|'networks_path' op|',' nl|'\n' name|'dev' op|',' nl|'\n' name|'kind' op|')' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_ra_file dedent|'' name|'def' name|'_ra_file' op|'(' name|'dev' op|',' name|'kind' op|')' op|':' newline|'\n' indent|' ' string|'"""Return path to a pid or conf file for a bridge/device."""' newline|'\n' name|'fileutils' op|'.' name|'ensure_tree' op|'(' name|'CONF' op|'.' name|'networks_path' op|')' newline|'\n' name|'return' name|'os' op|'.' name|'path' op|'.' name|'abspath' op|'(' string|"'%s/nova-ra-%s.%s'" op|'%' op|'(' name|'CONF' op|'.' name|'networks_path' op|',' nl|'\n' name|'dev' op|',' nl|'\n' name|'kind' op|')' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_dnsmasq_pid_for dedent|'' name|'def' name|'_dnsmasq_pid_for' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' string|'"""Returns the pid for prior dnsmasq instance for a bridge/device.\n\n Returns None if no pid file exists.\n\n If machine has rebooted pid might be incorrect (caller should check).\n\n """' newline|'\n' name|'pid_file' op|'=' name|'_dhcp_file' op|'(' name|'dev' op|',' string|"'pid'" op|')' newline|'\n' nl|'\n' name|'if' name|'os' op|'.' name|'path' op|'.' name|'exists' op|'(' name|'pid_file' op|')' op|':' newline|'\n' indent|' ' name|'try' op|':' newline|'\n' indent|' ' name|'with' name|'open' op|'(' name|'pid_file' op|',' string|"'r'" op|')' name|'as' name|'f' op|':' newline|'\n' indent|' ' name|'return' name|'int' op|'(' name|'f' op|'.' name|'read' op|'(' op|')' op|')' newline|'\n' dedent|'' dedent|'' name|'except' op|'(' name|'ValueError' op|',' name|'IOError' op|')' op|':' newline|'\n' indent|' ' name|'return' name|'None' newline|'\n' nl|'\n' nl|'\n' DECL|function|_ra_pid_for dedent|'' dedent|'' dedent|'' name|'def' name|'_ra_pid_for' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' string|'"""Returns the pid for prior radvd instance for a bridge/device.\n\n Returns None if no pid file exists.\n\n If machine has rebooted pid might be incorrect (caller should check).\n\n """' newline|'\n' name|'pid_file' op|'=' name|'_ra_file' op|'(' name|'dev' op|',' string|"'pid'" op|')' newline|'\n' nl|'\n' name|'if' name|'os' op|'.' name|'path' op|'.' name|'exists' op|'(' name|'pid_file' op|')' op|':' newline|'\n' indent|' ' name|'with' name|'open' op|'(' name|'pid_file' op|',' string|"'r'" op|')' name|'as' name|'f' op|':' newline|'\n' indent|' ' name|'return' name|'int' op|'(' name|'f' op|'.' name|'read' op|'(' op|')' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_ip_bridge_cmd dedent|'' dedent|'' dedent|'' name|'def' name|'_ip_bridge_cmd' op|'(' name|'action' op|',' name|'params' op|',' name|'device' op|')' op|':' newline|'\n' indent|' ' string|'"""Build commands to add/del IPs to bridges/devices."""' newline|'\n' name|'cmd' op|'=' op|'[' string|"'ip'" op|',' string|"'addr'" op|',' name|'action' op|']' newline|'\n' name|'cmd' op|'.' name|'extend' op|'(' name|'params' op|')' newline|'\n' name|'cmd' op|'.' name|'extend' op|'(' op|'[' string|"'dev'" op|',' name|'device' op|']' op|')' newline|'\n' name|'return' name|'cmd' newline|'\n' nl|'\n' nl|'\n' DECL|function|_set_device_mtu dedent|'' name|'def' name|'_set_device_mtu' op|'(' name|'dev' op|',' name|'mtu' op|'=' name|'None' op|')' op|':' newline|'\n' indent|' ' string|'"""Set the device MTU."""' newline|'\n' nl|'\n' name|'if' name|'not' name|'mtu' op|':' newline|'\n' indent|' ' name|'mtu' op|'=' name|'CONF' op|'.' name|'network_device_mtu' newline|'\n' dedent|'' name|'if' name|'mtu' op|':' newline|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'dev' op|',' string|"'mtu'" op|',' nl|'\n' name|'mtu' op|',' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_create_veth_pair dedent|'' dedent|'' name|'def' name|'_create_veth_pair' op|'(' name|'dev1_name' op|',' name|'dev2_name' op|',' name|'mtu' op|'=' name|'None' op|')' op|':' newline|'\n' indent|' ' string|'"""Create a pair of veth devices with the specified names,\n deleting any previous devices with those names.\n """' newline|'\n' name|'for' name|'dev' name|'in' op|'[' name|'dev1_name' op|',' name|'dev2_name' op|']' op|':' newline|'\n' indent|' ' name|'delete_net_dev' op|'(' name|'dev' op|')' newline|'\n' nl|'\n' dedent|'' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'add'" op|',' name|'dev1_name' op|',' string|"'type'" op|',' string|"'veth'" op|',' string|"'peer'" op|',' nl|'\n' string|"'name'" op|',' name|'dev2_name' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'for' name|'dev' name|'in' op|'[' name|'dev1_name' op|',' name|'dev2_name' op|']' op|':' newline|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'dev' op|',' string|"'up'" op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'dev' op|',' string|"'promisc'" op|',' string|"'on'" op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'_set_device_mtu' op|'(' name|'dev' op|',' name|'mtu' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_ovs_vsctl dedent|'' dedent|'' name|'def' name|'_ovs_vsctl' op|'(' name|'args' op|')' op|':' newline|'\n' indent|' ' name|'full_args' op|'=' op|'[' string|"'ovs-vsctl'" op|',' string|"'--timeout=%s'" op|'%' name|'CONF' op|'.' name|'ovs_vsctl_timeout' op|']' op|'+' name|'args' newline|'\n' name|'try' op|':' newline|'\n' indent|' ' name|'return' name|'utils' op|'.' name|'execute' op|'(' op|'*' name|'full_args' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' dedent|'' name|'except' name|'Exception' name|'as' name|'e' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'error' op|'(' name|'_LE' op|'(' string|'"Unable to execute %(cmd)s. Exception: %(exception)s"' op|')' op|',' nl|'\n' op|'{' string|"'cmd'" op|':' name|'full_args' op|',' string|"'exception'" op|':' name|'e' op|'}' op|')' newline|'\n' name|'raise' name|'exception' op|'.' name|'OvsConfigurationFailure' op|'(' name|'inner_exception' op|'=' name|'e' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|_create_ovs_vif_cmd dedent|'' dedent|'' name|'def' name|'_create_ovs_vif_cmd' op|'(' name|'bridge' op|',' name|'dev' op|',' name|'iface_id' op|',' name|'mac' op|',' nl|'\n' name|'instance_id' op|',' name|'interface_type' op|'=' name|'None' op|')' op|':' newline|'\n' indent|' ' name|'cmd' op|'=' op|'[' string|"'--'" op|',' string|"'--if-exists'" op|',' string|"'del-port'" op|',' name|'dev' op|',' string|"'--'" op|',' nl|'\n' string|"'add-port'" op|',' name|'bridge' op|',' name|'dev' op|',' nl|'\n' string|"'--'" op|',' string|"'set'" op|',' string|"'Interface'" op|',' name|'dev' op|',' nl|'\n' string|"'external-ids:iface-id=%s'" op|'%' name|'iface_id' op|',' nl|'\n' string|"'external-ids:iface-status=active'" op|',' nl|'\n' string|"'external-ids:attached-mac=%s'" op|'%' name|'mac' op|',' nl|'\n' string|"'external-ids:vm-uuid=%s'" op|'%' name|'instance_id' op|']' newline|'\n' name|'if' name|'interface_type' op|':' newline|'\n' indent|' ' name|'cmd' op|'+=' op|'[' string|"'type=%s'" op|'%' name|'interface_type' op|']' newline|'\n' dedent|'' name|'return' name|'cmd' newline|'\n' nl|'\n' nl|'\n' DECL|function|create_ovs_vif_port dedent|'' name|'def' name|'create_ovs_vif_port' op|'(' name|'bridge' op|',' name|'dev' op|',' name|'iface_id' op|',' name|'mac' op|',' name|'instance_id' op|',' nl|'\n' name|'mtu' op|'=' name|'None' op|',' name|'interface_type' op|'=' name|'None' op|')' op|':' newline|'\n' indent|' ' name|'_ovs_vsctl' op|'(' name|'_create_ovs_vif_cmd' op|'(' name|'bridge' op|',' name|'dev' op|',' name|'iface_id' op|',' nl|'\n' name|'mac' op|',' name|'instance_id' op|',' nl|'\n' name|'interface_type' op|')' op|')' newline|'\n' comment|'# Note at present there is no support for setting the' nl|'\n' comment|'# mtu for vhost-user type ports.' nl|'\n' name|'if' name|'interface_type' op|'!=' name|'network_model' op|'.' name|'OVS_VHOSTUSER_INTERFACE_TYPE' op|':' newline|'\n' indent|' ' name|'_set_device_mtu' op|'(' name|'dev' op|',' name|'mtu' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|'"MTU not set on %(interface_name)s interface "' nl|'\n' string|'"of type %(interface_type)s."' op|',' nl|'\n' op|'{' string|"'interface_name'" op|':' name|'dev' op|',' nl|'\n' string|"'interface_type'" op|':' name|'interface_type' op|'}' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|delete_ovs_vif_port dedent|'' dedent|'' name|'def' name|'delete_ovs_vif_port' op|'(' name|'bridge' op|',' name|'dev' op|',' name|'delete_dev' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' name|'_ovs_vsctl' op|'(' op|'[' string|"'--'" op|',' string|"'--if-exists'" op|',' string|"'del-port'" op|',' name|'bridge' op|',' name|'dev' op|']' op|')' newline|'\n' name|'if' name|'delete_dev' op|':' newline|'\n' indent|' ' name|'delete_net_dev' op|'(' name|'dev' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|create_ivs_vif_port dedent|'' dedent|'' name|'def' name|'create_ivs_vif_port' op|'(' name|'dev' op|',' name|'iface_id' op|',' name|'mac' op|',' name|'instance_id' op|')' op|':' newline|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'ivs-ctl'" op|',' string|"'add-port'" op|',' nl|'\n' name|'dev' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|delete_ivs_vif_port dedent|'' name|'def' name|'delete_ivs_vif_port' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'ivs-ctl'" op|',' string|"'del-port'" op|',' name|'dev' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'delete'" op|',' name|'dev' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|create_tap_dev dedent|'' name|'def' name|'create_tap_dev' op|'(' name|'dev' op|',' name|'mac_address' op|'=' name|'None' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'not' name|'device_exists' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'try' op|':' newline|'\n' comment|"# First, try with 'ip'" nl|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'tuntap'" op|',' string|"'add'" op|',' name|'dev' op|',' string|"'mode'" op|',' string|"'tap'" op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' dedent|'' name|'except' name|'processutils' op|'.' name|'ProcessExecutionError' op|':' newline|'\n' comment|'# Second option: tunctl' nl|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'tunctl'" op|',' string|"'-b'" op|',' string|"'-t'" op|',' name|'dev' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' dedent|'' name|'if' name|'mac_address' op|':' newline|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'dev' op|',' string|"'address'" op|',' name|'mac_address' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' dedent|'' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'dev' op|',' string|"'up'" op|',' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|create_fp_dev dedent|'' dedent|'' name|'def' name|'create_fp_dev' op|'(' name|'dev' op|',' name|'sockpath' op|',' name|'sockmode' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'not' name|'device_exists' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'fp-vdev'" op|',' string|"'add'" op|',' name|'dev' op|',' string|"'--sockpath'" op|',' name|'sockpath' op|',' nl|'\n' string|"'--sockmode'" op|',' name|'sockmode' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'_set_device_mtu' op|'(' name|'dev' op|')' newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'dev' op|',' string|"'up'" op|',' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|delete_fp_dev dedent|'' dedent|'' name|'def' name|'delete_fp_dev' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'device_exists' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'fp-vdev'" op|',' string|"'del'" op|',' name|'dev' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|delete_net_dev dedent|'' dedent|'' name|'def' name|'delete_net_dev' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' string|'"""Delete a network device only if it exists."""' newline|'\n' name|'if' name|'device_exists' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'try' op|':' newline|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'delete'" op|',' name|'dev' op|',' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' name|'LOG' op|'.' name|'debug' op|'(' string|'"Net device removed: \'%s\'"' op|',' name|'dev' op|')' newline|'\n' dedent|'' name|'except' name|'processutils' op|'.' name|'ProcessExecutionError' op|':' newline|'\n' indent|' ' name|'with' name|'excutils' op|'.' name|'save_and_reraise_exception' op|'(' op|')' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'error' op|'(' name|'_LE' op|'(' string|'"Failed removing net device: \'%s\'"' op|')' op|',' name|'dev' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|delete_bridge_dev dedent|'' dedent|'' dedent|'' dedent|'' name|'def' name|'delete_bridge_dev' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' string|'"""Delete a network bridge."""' newline|'\n' name|'if' name|'device_exists' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'try' op|':' newline|'\n' indent|' ' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'dev' op|',' string|"'down'" op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'brctl'" op|',' string|"'delbr'" op|',' name|'dev' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' dedent|'' name|'except' name|'processutils' op|'.' name|'ProcessExecutionError' op|':' newline|'\n' indent|' ' name|'with' name|'excutils' op|'.' name|'save_and_reraise_exception' op|'(' op|')' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'error' op|'(' name|'_LE' op|'(' string|'"Failed removing bridge device: \'%s\'"' op|')' op|',' name|'dev' op|')' newline|'\n' nl|'\n' nl|'\n' comment|'# Similar to compute virt layers, the Linux network node' nl|'\n' comment|'# code uses a flexible driver model to support different ways' nl|'\n' comment|'# of creating ethernet interfaces and attaching them to the network.' nl|'\n' comment|'# In the case of a network host, these interfaces' nl|'\n' comment|'# act as gateway/dhcp/vpn/etc. endpoints not VM interfaces.' nl|'\n' DECL|variable|interface_driver dedent|'' dedent|'' dedent|'' dedent|'' name|'interface_driver' op|'=' name|'None' newline|'\n' nl|'\n' nl|'\n' DECL|function|_get_interface_driver name|'def' name|'_get_interface_driver' op|'(' op|')' op|':' newline|'\n' indent|' ' name|'global' name|'interface_driver' newline|'\n' name|'if' name|'not' name|'interface_driver' op|':' newline|'\n' indent|' ' name|'interface_driver' op|'=' name|'importutils' op|'.' name|'import_object' op|'(' nl|'\n' name|'CONF' op|'.' name|'linuxnet_interface_driver' op|')' newline|'\n' dedent|'' name|'return' name|'interface_driver' newline|'\n' nl|'\n' nl|'\n' DECL|function|plug dedent|'' name|'def' name|'plug' op|'(' name|'network' op|',' name|'mac_address' op|',' name|'gateway' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' name|'return' name|'_get_interface_driver' op|'(' op|')' op|'.' name|'plug' op|'(' name|'network' op|',' name|'mac_address' op|',' name|'gateway' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|unplug dedent|'' name|'def' name|'unplug' op|'(' name|'network' op|')' op|':' newline|'\n' indent|' ' name|'return' name|'_get_interface_driver' op|'(' op|')' op|'.' name|'unplug' op|'(' name|'network' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|get_dev dedent|'' name|'def' name|'get_dev' op|'(' name|'network' op|')' op|':' newline|'\n' indent|' ' name|'return' name|'_get_interface_driver' op|'(' op|')' op|'.' name|'get_dev' op|'(' name|'network' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|class|LinuxNetInterfaceDriver dedent|'' name|'class' name|'LinuxNetInterfaceDriver' op|'(' name|'object' op|')' op|':' newline|'\n' indent|' ' string|'"""Abstract class that defines generic network host API\n for all Linux interface drivers.\n """' newline|'\n' nl|'\n' DECL|member|plug name|'def' name|'plug' op|'(' name|'self' op|',' name|'network' op|',' name|'mac_address' op|')' op|':' newline|'\n' indent|' ' string|'"""Create Linux device, return device name."""' newline|'\n' name|'raise' name|'NotImplementedError' op|'(' op|')' newline|'\n' nl|'\n' DECL|member|unplug dedent|'' name|'def' name|'unplug' op|'(' name|'self' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' string|'"""Destroy Linux device, return device name."""' newline|'\n' name|'raise' name|'NotImplementedError' op|'(' op|')' newline|'\n' nl|'\n' DECL|member|get_dev dedent|'' name|'def' name|'get_dev' op|'(' name|'self' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' string|'"""Get device name."""' newline|'\n' name|'raise' name|'NotImplementedError' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' comment|'# plugs interfaces using Linux Bridge' nl|'\n' DECL|class|LinuxBridgeInterfaceDriver dedent|'' dedent|'' name|'class' name|'LinuxBridgeInterfaceDriver' op|'(' name|'LinuxNetInterfaceDriver' op|')' op|':' newline|'\n' nl|'\n' DECL|member|plug indent|' ' name|'def' name|'plug' op|'(' name|'self' op|',' name|'network' op|',' name|'mac_address' op|',' name|'gateway' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' name|'vlan' op|'=' name|'network' op|'.' name|'get' op|'(' string|"'vlan'" op|')' newline|'\n' name|'if' name|'vlan' name|'is' name|'not' name|'None' op|':' newline|'\n' indent|' ' name|'iface' op|'=' name|'CONF' op|'.' name|'vlan_interface' name|'or' name|'network' op|'[' string|"'bridge_interface'" op|']' newline|'\n' name|'LinuxBridgeInterfaceDriver' op|'.' name|'ensure_vlan_bridge' op|'(' nl|'\n' name|'vlan' op|',' nl|'\n' name|'network' op|'[' string|"'bridge'" op|']' op|',' nl|'\n' name|'iface' op|',' nl|'\n' name|'network' op|',' nl|'\n' name|'mac_address' op|',' nl|'\n' name|'network' op|'.' name|'get' op|'(' string|"'mtu'" op|')' op|')' newline|'\n' name|'iface' op|'=' string|"'vlan%s'" op|'%' name|'vlan' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'iface' op|'=' name|'CONF' op|'.' name|'flat_interface' name|'or' name|'network' op|'[' string|"'bridge_interface'" op|']' newline|'\n' name|'LinuxBridgeInterfaceDriver' op|'.' name|'ensure_bridge' op|'(' nl|'\n' name|'network' op|'[' string|"'bridge'" op|']' op|',' nl|'\n' name|'iface' op|',' nl|'\n' name|'network' op|',' name|'gateway' op|')' newline|'\n' nl|'\n' dedent|'' name|'if' name|'network' op|'[' string|"'share_address'" op|']' name|'or' name|'CONF' op|'.' name|'share_dhcp_address' op|':' newline|'\n' indent|' ' name|'isolate_dhcp_address' op|'(' name|'iface' op|',' name|'network' op|'[' string|"'dhcp_server'" op|']' op|')' newline|'\n' comment|"# NOTE(vish): applying here so we don't get a lock conflict" nl|'\n' dedent|'' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' name|'return' name|'network' op|'[' string|"'bridge'" op|']' newline|'\n' nl|'\n' DECL|member|unplug dedent|'' name|'def' name|'unplug' op|'(' name|'self' op|',' name|'network' op|',' name|'gateway' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' name|'vlan' op|'=' name|'network' op|'.' name|'get' op|'(' string|"'vlan'" op|')' newline|'\n' name|'if' name|'vlan' name|'is' name|'not' name|'None' op|':' newline|'\n' indent|' ' name|'iface' op|'=' string|"'vlan%s'" op|'%' name|'vlan' newline|'\n' name|'LinuxBridgeInterfaceDriver' op|'.' name|'remove_vlan_bridge' op|'(' name|'vlan' op|',' nl|'\n' name|'network' op|'[' string|"'bridge'" op|']' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'iface' op|'=' name|'CONF' op|'.' name|'flat_interface' name|'or' name|'network' op|'[' string|"'bridge_interface'" op|']' newline|'\n' name|'LinuxBridgeInterfaceDriver' op|'.' name|'remove_bridge' op|'(' name|'network' op|'[' string|"'bridge'" op|']' op|',' nl|'\n' name|'gateway' op|')' newline|'\n' nl|'\n' dedent|'' name|'if' name|'network' op|'[' string|"'share_address'" op|']' name|'or' name|'CONF' op|'.' name|'share_dhcp_address' op|':' newline|'\n' indent|' ' name|'remove_isolate_dhcp_address' op|'(' name|'iface' op|',' name|'network' op|'[' string|"'dhcp_server'" op|']' op|')' newline|'\n' nl|'\n' dedent|'' name|'iptables_manager' op|'.' name|'apply' op|'(' op|')' newline|'\n' name|'return' name|'self' op|'.' name|'get_dev' op|'(' name|'network' op|')' newline|'\n' nl|'\n' DECL|member|get_dev dedent|'' name|'def' name|'get_dev' op|'(' name|'self' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' name|'return' name|'network' op|'[' string|"'bridge'" op|']' newline|'\n' nl|'\n' dedent|'' op|'@' name|'staticmethod' newline|'\n' DECL|member|ensure_vlan_bridge name|'def' name|'ensure_vlan_bridge' op|'(' name|'vlan_num' op|',' name|'bridge' op|',' name|'bridge_interface' op|',' nl|'\n' name|'net_attrs' op|'=' name|'None' op|',' name|'mac_address' op|'=' name|'None' op|',' nl|'\n' name|'mtu' op|'=' name|'None' op|')' op|':' newline|'\n' indent|' ' string|'"""Create a vlan and bridge unless they already exist."""' newline|'\n' name|'interface' op|'=' name|'LinuxBridgeInterfaceDriver' op|'.' name|'ensure_vlan' op|'(' name|'vlan_num' op|',' nl|'\n' name|'bridge_interface' op|',' name|'mac_address' op|',' nl|'\n' name|'mtu' op|')' newline|'\n' name|'LinuxBridgeInterfaceDriver' op|'.' name|'ensure_bridge' op|'(' name|'bridge' op|',' name|'interface' op|',' name|'net_attrs' op|')' newline|'\n' name|'return' name|'interface' newline|'\n' nl|'\n' dedent|'' op|'@' name|'staticmethod' newline|'\n' DECL|member|remove_vlan_bridge name|'def' name|'remove_vlan_bridge' op|'(' name|'vlan_num' op|',' name|'bridge' op|')' op|':' newline|'\n' indent|' ' string|'"""Delete a bridge and vlan."""' newline|'\n' name|'LinuxBridgeInterfaceDriver' op|'.' name|'remove_bridge' op|'(' name|'bridge' op|')' newline|'\n' name|'LinuxBridgeInterfaceDriver' op|'.' name|'remove_vlan' op|'(' name|'vlan_num' op|')' newline|'\n' nl|'\n' dedent|'' op|'@' name|'staticmethod' newline|'\n' op|'@' name|'utils' op|'.' name|'synchronized' op|'(' string|"'lock_vlan'" op|',' name|'external' op|'=' name|'True' op|')' newline|'\n' DECL|member|ensure_vlan name|'def' name|'ensure_vlan' op|'(' name|'vlan_num' op|',' name|'bridge_interface' op|',' name|'mac_address' op|'=' name|'None' op|',' name|'mtu' op|'=' name|'None' op|',' nl|'\n' name|'interface' op|'=' name|'None' op|')' op|':' newline|'\n' indent|' ' string|'"""Create a vlan unless it already exists."""' newline|'\n' name|'if' name|'interface' name|'is' name|'None' op|':' newline|'\n' indent|' ' name|'interface' op|'=' string|"'vlan%s'" op|'%' name|'vlan_num' newline|'\n' dedent|'' name|'if' name|'not' name|'device_exists' op|'(' name|'interface' op|')' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|"'Starting VLAN interface %s'" op|',' name|'interface' op|')' newline|'\n' name|'_execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'add'" op|',' string|"'link'" op|',' name|'bridge_interface' op|',' nl|'\n' string|"'name'" op|',' name|'interface' op|',' string|"'type'" op|',' string|"'vlan'" op|',' nl|'\n' string|"'id'" op|',' name|'vlan_num' op|',' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' comment|'# (danwent) the bridge will inherit this address, so we want to' nl|'\n' comment|'# make sure it is the value set from the NetworkManager' nl|'\n' name|'if' name|'mac_address' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'interface' op|',' string|"'address'" op|',' nl|'\n' name|'mac_address' op|',' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' dedent|'' name|'_execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'interface' op|',' string|"'up'" op|',' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' comment|'# NOTE(vish): set mtu every time to ensure that changes to mtu get' nl|'\n' comment|'# propogated' nl|'\n' dedent|'' name|'_set_device_mtu' op|'(' name|'interface' op|',' name|'mtu' op|')' newline|'\n' name|'return' name|'interface' newline|'\n' nl|'\n' dedent|'' op|'@' name|'staticmethod' newline|'\n' op|'@' name|'utils' op|'.' name|'synchronized' op|'(' string|"'lock_vlan'" op|',' name|'external' op|'=' name|'True' op|')' newline|'\n' DECL|member|remove_vlan name|'def' name|'remove_vlan' op|'(' name|'vlan_num' op|')' op|':' newline|'\n' indent|' ' string|'"""Delete a vlan."""' newline|'\n' name|'vlan_interface' op|'=' string|"'vlan%s'" op|'%' name|'vlan_num' newline|'\n' name|'delete_net_dev' op|'(' name|'vlan_interface' op|')' newline|'\n' nl|'\n' dedent|'' op|'@' name|'staticmethod' newline|'\n' op|'@' name|'utils' op|'.' name|'synchronized' op|'(' string|"'lock_bridge'" op|',' name|'external' op|'=' name|'True' op|')' newline|'\n' DECL|member|ensure_bridge name|'def' name|'ensure_bridge' op|'(' name|'bridge' op|',' name|'interface' op|',' name|'net_attrs' op|'=' name|'None' op|',' name|'gateway' op|'=' name|'True' op|',' nl|'\n' name|'filtering' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' string|'"""Create a bridge unless it already exists.\n\n :param interface: the interface to create the bridge on.\n :param net_attrs: dictionary with attributes used to create bridge.\n :param gateway: whether or not the bridge is a gateway.\n :param filtering: whether or not to create filters on the bridge.\n\n If net_attrs is set, it will add the net_attrs[\'gateway\'] to the bridge\n using net_attrs[\'broadcast\'] and net_attrs[\'cidr\']. It will also add\n the ip_v6 address specified in net_attrs[\'cidr_v6\'] if use_ipv6 is set.\n\n The code will attempt to move any IPs that already exist on the\n interface onto the bridge and reset the default gateway if necessary.\n\n """' newline|'\n' name|'if' name|'not' name|'device_exists' op|'(' name|'bridge' op|')' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|"'Starting Bridge %s'" op|',' name|'bridge' op|')' newline|'\n' name|'out' op|',' name|'err' op|'=' name|'_execute' op|'(' string|"'brctl'" op|',' string|"'addbr'" op|',' name|'bridge' op|',' nl|'\n' name|'check_exit_code' op|'=' name|'False' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'if' op|'(' name|'err' name|'and' name|'err' op|'!=' string|'"device %s already exists; can\'t create "' nl|'\n' string|'"bridge with the same name\\n"' op|'%' op|'(' name|'bridge' op|')' op|')' op|':' newline|'\n' indent|' ' name|'msg' op|'=' name|'_' op|'(' string|"'Failed to add bridge: %s'" op|')' op|'%' name|'err' newline|'\n' name|'raise' name|'exception' op|'.' name|'NovaException' op|'(' name|'msg' op|')' newline|'\n' nl|'\n' dedent|'' name|'_execute' op|'(' string|"'brctl'" op|',' string|"'setfd'" op|',' name|'bridge' op|',' number|'0' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' comment|"# _execute('brctl setageing %s 10' % bridge, run_as_root=True)" nl|'\n' name|'_execute' op|'(' string|"'brctl'" op|',' string|"'stp'" op|',' name|'bridge' op|',' string|"'off'" op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'_execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'bridge' op|',' string|"'up'" op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' dedent|'' name|'if' name|'interface' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|"'Adding interface %(interface)s to bridge %(bridge)s'" op|',' nl|'\n' op|'{' string|"'interface'" op|':' name|'interface' op|',' string|"'bridge'" op|':' name|'bridge' op|'}' op|')' newline|'\n' name|'out' op|',' name|'err' op|'=' name|'_execute' op|'(' string|"'brctl'" op|',' string|"'addif'" op|',' name|'bridge' op|',' name|'interface' op|',' nl|'\n' name|'check_exit_code' op|'=' name|'False' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'if' op|'(' name|'err' name|'and' name|'err' op|'!=' string|'"device %s is already a member of a bridge; "' nl|'\n' string|'"can\'t enslave it to bridge %s.\\n"' op|'%' op|'(' name|'interface' op|',' name|'bridge' op|')' op|')' op|':' newline|'\n' indent|' ' name|'msg' op|'=' name|'_' op|'(' string|"'Failed to add interface: %s'" op|')' op|'%' name|'err' newline|'\n' name|'raise' name|'exception' op|'.' name|'NovaException' op|'(' name|'msg' op|')' newline|'\n' nl|'\n' comment|"# NOTE(apmelton): Linux bridge's default behavior is to use the" nl|'\n' comment|"# lowest mac of all plugged interfaces. This isn't a problem when" nl|'\n' comment|'# it is first created and the only interface is the bridged' nl|'\n' comment|'# interface. But, as instance interfaces are plugged, there is a' nl|'\n' comment|"# chance for the mac to change. So, set it here so that it won't" nl|'\n' comment|'# change in the future.' nl|'\n' dedent|'' name|'if' name|'not' name|'CONF' op|'.' name|'fake_network' op|':' newline|'\n' indent|' ' name|'interface_addrs' op|'=' name|'netifaces' op|'.' name|'ifaddresses' op|'(' name|'interface' op|')' newline|'\n' name|'interface_mac' op|'=' name|'interface_addrs' op|'[' name|'netifaces' op|'.' name|'AF_LINK' op|']' op|'[' number|'0' op|']' op|'[' string|"'addr'" op|']' newline|'\n' name|'_execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'bridge' op|',' string|"'address'" op|',' name|'interface_mac' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' dedent|'' name|'out' op|',' name|'err' op|'=' name|'_execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'interface' op|',' string|"'up'" op|',' nl|'\n' name|'check_exit_code' op|'=' name|'False' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' comment|'# NOTE(vish): This will break if there is already an ip on the' nl|'\n' comment|'# interface, so we move any ips to the bridge' nl|'\n' comment|'# NOTE(danms): We also need to copy routes to the bridge so as' nl|'\n' comment|'# not to break existing connectivity on the interface' nl|'\n' name|'old_routes' op|'=' op|'[' op|']' newline|'\n' name|'out' op|',' name|'err' op|'=' name|'_execute' op|'(' string|"'ip'" op|',' string|"'route'" op|',' string|"'show'" op|',' string|"'dev'" op|',' name|'interface' op|')' newline|'\n' name|'for' name|'line' name|'in' name|'out' op|'.' name|'split' op|'(' string|"'\\n'" op|')' op|':' newline|'\n' indent|' ' name|'fields' op|'=' name|'line' op|'.' name|'split' op|'(' op|')' newline|'\n' name|'if' name|'fields' name|'and' string|"'via'" name|'in' name|'fields' op|':' newline|'\n' indent|' ' name|'old_routes' op|'.' name|'append' op|'(' name|'fields' op|')' newline|'\n' name|'_execute' op|'(' string|"'ip'" op|',' string|"'route'" op|',' string|"'del'" op|',' op|'*' name|'fields' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' dedent|'' dedent|'' name|'out' op|',' name|'err' op|'=' name|'_execute' op|'(' string|"'ip'" op|',' string|"'addr'" op|',' string|"'show'" op|',' string|"'dev'" op|',' name|'interface' op|',' nl|'\n' string|"'scope'" op|',' string|"'global'" op|')' newline|'\n' name|'for' name|'line' name|'in' name|'out' op|'.' name|'split' op|'(' string|"'\\n'" op|')' op|':' newline|'\n' indent|' ' name|'fields' op|'=' name|'line' op|'.' name|'split' op|'(' op|')' newline|'\n' name|'if' name|'fields' name|'and' name|'fields' op|'[' number|'0' op|']' op|'==' string|"'inet'" op|':' newline|'\n' indent|' ' name|'if' name|'fields' op|'[' op|'-' number|'2' op|']' name|'in' op|'(' string|"'secondary'" op|',' string|"'dynamic'" op|',' op|')' op|':' newline|'\n' indent|' ' name|'params' op|'=' name|'fields' op|'[' number|'1' op|':' op|'-' number|'2' op|']' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'params' op|'=' name|'fields' op|'[' number|'1' op|':' op|'-' number|'1' op|']' newline|'\n' dedent|'' name|'_execute' op|'(' op|'*' name|'_ip_bridge_cmd' op|'(' string|"'del'" op|',' name|'params' op|',' name|'fields' op|'[' op|'-' number|'1' op|']' op|')' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' name|'_execute' op|'(' op|'*' name|'_ip_bridge_cmd' op|'(' string|"'add'" op|',' name|'params' op|',' name|'bridge' op|')' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' dedent|'' dedent|'' name|'for' name|'fields' name|'in' name|'old_routes' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' string|"'ip'" op|',' string|"'route'" op|',' string|"'add'" op|',' op|'*' name|'fields' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' dedent|'' dedent|'' name|'if' name|'filtering' op|':' newline|'\n' comment|"# Don't forward traffic unless we were told to be a gateway" nl|'\n' indent|' ' name|'ipv4_filter' op|'=' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' newline|'\n' name|'if' name|'gateway' op|':' newline|'\n' indent|' ' name|'for' name|'rule' name|'in' name|'get_gateway_rules' op|'(' name|'bridge' op|')' op|':' newline|'\n' indent|' ' name|'ipv4_filter' op|'.' name|'add_rule' op|'(' op|'*' name|'rule' op|')' newline|'\n' dedent|'' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'ipv4_filter' op|'.' name|'add_rule' op|'(' string|"'FORWARD'" op|',' nl|'\n' op|'(' string|"'--in-interface %s -j %s'" nl|'\n' op|'%' op|'(' name|'bridge' op|',' name|'CONF' op|'.' name|'iptables_drop_action' op|')' op|')' op|')' newline|'\n' name|'ipv4_filter' op|'.' name|'add_rule' op|'(' string|"'FORWARD'" op|',' nl|'\n' op|'(' string|"'--out-interface %s -j %s'" nl|'\n' op|'%' op|'(' name|'bridge' op|',' name|'CONF' op|'.' name|'iptables_drop_action' op|')' op|')' op|')' newline|'\n' nl|'\n' dedent|'' dedent|'' dedent|'' op|'@' name|'staticmethod' newline|'\n' op|'@' name|'utils' op|'.' name|'synchronized' op|'(' string|"'lock_bridge'" op|',' name|'external' op|'=' name|'True' op|')' newline|'\n' DECL|member|remove_bridge name|'def' name|'remove_bridge' op|'(' name|'bridge' op|',' name|'gateway' op|'=' name|'True' op|',' name|'filtering' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' string|'"""Delete a bridge."""' newline|'\n' name|'if' name|'not' name|'device_exists' op|'(' name|'bridge' op|')' op|':' newline|'\n' indent|' ' name|'return' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'if' name|'filtering' op|':' newline|'\n' indent|' ' name|'ipv4_filter' op|'=' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' newline|'\n' name|'if' name|'gateway' op|':' newline|'\n' indent|' ' name|'for' name|'rule' name|'in' name|'get_gateway_rules' op|'(' name|'bridge' op|')' op|':' newline|'\n' indent|' ' name|'ipv4_filter' op|'.' name|'remove_rule' op|'(' op|'*' name|'rule' op|')' newline|'\n' dedent|'' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'drop_actions' op|'=' op|'[' string|"'DROP'" op|']' newline|'\n' name|'if' name|'CONF' op|'.' name|'iptables_drop_action' op|'!=' string|"'DROP'" op|':' newline|'\n' indent|' ' name|'drop_actions' op|'.' name|'append' op|'(' name|'CONF' op|'.' name|'iptables_drop_action' op|')' newline|'\n' nl|'\n' dedent|'' name|'for' name|'drop_action' name|'in' name|'drop_actions' op|':' newline|'\n' indent|' ' name|'ipv4_filter' op|'.' name|'remove_rule' op|'(' string|"'FORWARD'" op|',' nl|'\n' op|'(' string|"'--in-interface %s -j %s'" nl|'\n' op|'%' op|'(' name|'bridge' op|',' name|'drop_action' op|')' op|')' op|')' newline|'\n' name|'ipv4_filter' op|'.' name|'remove_rule' op|'(' string|"'FORWARD'" op|',' nl|'\n' op|'(' string|"'--out-interface %s -j %s'" nl|'\n' op|'%' op|'(' name|'bridge' op|',' name|'drop_action' op|')' op|')' op|')' newline|'\n' dedent|'' dedent|'' dedent|'' name|'delete_bridge_dev' op|'(' name|'bridge' op|')' newline|'\n' nl|'\n' nl|'\n' comment|'# NOTE(cfb): Fix for LP #1316621, #1501366.' nl|'\n' comment|'# We call ebtables with --concurrent which causes ebtables to' nl|'\n' comment|"# use a lock file to deal with concurrent calls. Since we can't" nl|'\n' comment|'# be sure the libvirt also uses --concurrent we retry in a loop' nl|'\n' comment|'# to be sure.' nl|'\n' comment|'#' nl|'\n' comment|"# ebtables doesn't implement a timeout and doesn't gracefully" nl|'\n' comment|'# handle cleaning up a lock file if someone sends a SIGKILL to' nl|'\n' comment|'# ebtables while its holding a lock. As a result we want to add' nl|'\n' comment|'# a timeout to the ebtables calls but we first need to teach' nl|'\n' comment|'# oslo_concurrency how to do that.' nl|'\n' DECL|function|_exec_ebtables dedent|'' dedent|'' dedent|'' name|'def' name|'_exec_ebtables' op|'(' op|'*' name|'cmd' op|',' op|'**' name|'kwargs' op|')' op|':' newline|'\n' indent|' ' name|'check_exit_code' op|'=' name|'kwargs' op|'.' name|'pop' op|'(' string|"'check_exit_code'" op|',' name|'True' op|')' newline|'\n' nl|'\n' comment|'# List of error strings to re-try.' nl|'\n' name|'retry_strings' op|'=' op|'(' nl|'\n' string|"'Multiple ebtables programs'" op|',' nl|'\n' op|')' newline|'\n' nl|'\n' comment|'# We always try at least once' nl|'\n' name|'attempts' op|'=' name|'CONF' op|'.' name|'ebtables_exec_attempts' newline|'\n' name|'if' name|'attempts' op|'<=' number|'0' op|':' newline|'\n' indent|' ' name|'attempts' op|'=' number|'1' newline|'\n' dedent|'' name|'count' op|'=' number|'1' newline|'\n' name|'while' name|'count' op|'<=' name|'attempts' op|':' newline|'\n' comment|'# Updated our counters if needed' nl|'\n' indent|' ' name|'sleep' op|'=' name|'CONF' op|'.' name|'ebtables_retry_interval' op|'*' name|'count' newline|'\n' name|'count' op|'+=' number|'1' newline|'\n' comment|'# NOTE(cfb): ebtables reports all errors with a return code of 255.' nl|'\n' comment|"# As such we can't know if we hit a locking error, or some" nl|'\n' comment|"# other error (like a rule doesn't exist) so we have to" nl|'\n' comment|'# to parse stderr.' nl|'\n' name|'try' op|':' newline|'\n' indent|' ' name|'_execute' op|'(' op|'*' name|'cmd' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|']' op|',' op|'**' name|'kwargs' op|')' newline|'\n' dedent|'' name|'except' name|'processutils' op|'.' name|'ProcessExecutionError' name|'as' name|'exc' op|':' newline|'\n' comment|'# See if we can retry the error.' nl|'\n' indent|' ' name|'if' name|'any' op|'(' name|'error' name|'in' name|'exc' op|'.' name|'stderr' name|'for' name|'error' name|'in' name|'retry_strings' op|')' op|':' newline|'\n' indent|' ' name|'if' name|'count' op|'>' name|'attempts' name|'and' name|'check_exit_code' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'warning' op|'(' name|'_LW' op|'(' string|"'%s failed. Not Retrying.'" op|')' op|',' string|"' '" op|'.' name|'join' op|'(' name|'cmd' op|')' op|')' newline|'\n' name|'raise' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' comment|'# We need to sleep a bit before retrying' nl|'\n' indent|' ' name|'LOG' op|'.' name|'warning' op|'(' name|'_LW' op|'(' string|'"%(cmd)s failed. Sleeping %(time)s "' nl|'\n' string|'"seconds before retry."' op|')' op|',' nl|'\n' op|'{' string|"'cmd'" op|':' string|"' '" op|'.' name|'join' op|'(' name|'cmd' op|')' op|',' string|"'time'" op|':' name|'sleep' op|'}' op|')' newline|'\n' name|'time' op|'.' name|'sleep' op|'(' name|'sleep' op|')' newline|'\n' dedent|'' dedent|'' name|'else' op|':' newline|'\n' comment|'# Not eligible for retry' nl|'\n' indent|' ' name|'if' name|'check_exit_code' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'warning' op|'(' name|'_LW' op|'(' string|"'%s failed. Not Retrying.'" op|')' op|',' string|"' '" op|'.' name|'join' op|'(' name|'cmd' op|')' op|')' newline|'\n' name|'raise' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'return' newline|'\n' dedent|'' dedent|'' dedent|'' name|'else' op|':' newline|'\n' comment|'# Success' nl|'\n' indent|' ' name|'return' newline|'\n' nl|'\n' nl|'\n' dedent|'' dedent|'' dedent|'' op|'@' name|'utils' op|'.' name|'synchronized' op|'(' string|"'ebtables'" op|',' name|'external' op|'=' name|'True' op|')' newline|'\n' DECL|function|ensure_ebtables_rules name|'def' name|'ensure_ebtables_rules' op|'(' name|'rules' op|',' name|'table' op|'=' string|"'filter'" op|')' op|':' newline|'\n' indent|' ' name|'for' name|'rule' name|'in' name|'rules' op|':' newline|'\n' indent|' ' name|'cmd' op|'=' op|'[' string|"'ebtables'" op|',' string|"'--concurrent'" op|',' string|"'-t'" op|',' name|'table' op|',' string|"'-D'" op|']' op|'+' name|'rule' op|'.' name|'split' op|'(' op|')' newline|'\n' name|'_exec_ebtables' op|'(' op|'*' name|'cmd' op|',' name|'check_exit_code' op|'=' name|'False' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'cmd' op|'[' number|'4' op|']' op|'=' string|"'-I'" newline|'\n' name|'_exec_ebtables' op|'(' op|'*' name|'cmd' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' nl|'\n' dedent|'' dedent|'' op|'@' name|'utils' op|'.' name|'synchronized' op|'(' string|"'ebtables'" op|',' name|'external' op|'=' name|'True' op|')' newline|'\n' DECL|function|remove_ebtables_rules name|'def' name|'remove_ebtables_rules' op|'(' name|'rules' op|',' name|'table' op|'=' string|"'filter'" op|')' op|':' newline|'\n' indent|' ' name|'for' name|'rule' name|'in' name|'rules' op|':' newline|'\n' indent|' ' name|'cmd' op|'=' op|'[' string|"'ebtables'" op|',' string|"'--concurrent'" op|',' string|"'-t'" op|',' name|'table' op|',' string|"'-D'" op|']' op|'+' name|'rule' op|'.' name|'split' op|'(' op|')' newline|'\n' name|'_exec_ebtables' op|'(' op|'*' name|'cmd' op|',' name|'check_exit_code' op|'=' name|'False' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|isolate_dhcp_address dedent|'' dedent|'' name|'def' name|'isolate_dhcp_address' op|'(' name|'interface' op|',' name|'address' op|')' op|':' newline|'\n' comment|'# block arp traffic to address across the interface' nl|'\n' indent|' ' name|'rules' op|'=' op|'[' op|']' newline|'\n' name|'rules' op|'.' name|'append' op|'(' string|"'INPUT -p ARP -i %s --arp-ip-dst %s -j DROP'" nl|'\n' op|'%' op|'(' name|'interface' op|',' name|'address' op|')' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' string|"'OUTPUT -p ARP -o %s --arp-ip-src %s -j DROP'" nl|'\n' op|'%' op|'(' name|'interface' op|',' name|'address' op|')' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' string|"'FORWARD -p IPv4 -i %s --ip-protocol udp '" nl|'\n' string|"'--ip-destination-port 67:68 -j DROP'" nl|'\n' op|'%' name|'interface' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' string|"'FORWARD -p IPv4 -o %s --ip-protocol udp '" nl|'\n' string|"'--ip-destination-port 67:68 -j DROP'" nl|'\n' op|'%' name|'interface' op|')' newline|'\n' comment|'# NOTE(vish): the above is not possible with iptables/arptables' nl|'\n' name|'ensure_ebtables_rules' op|'(' name|'rules' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|remove_isolate_dhcp_address dedent|'' name|'def' name|'remove_isolate_dhcp_address' op|'(' name|'interface' op|',' name|'address' op|')' op|':' newline|'\n' comment|'# block arp traffic to address across the interface' nl|'\n' indent|' ' name|'rules' op|'=' op|'[' op|']' newline|'\n' name|'rules' op|'.' name|'append' op|'(' string|"'INPUT -p ARP -i %s --arp-ip-dst %s -j DROP'" nl|'\n' op|'%' op|'(' name|'interface' op|',' name|'address' op|')' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' string|"'OUTPUT -p ARP -o %s --arp-ip-src %s -j DROP'" nl|'\n' op|'%' op|'(' name|'interface' op|',' name|'address' op|')' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' string|"'FORWARD -p IPv4 -i %s --ip-protocol udp '" nl|'\n' string|"'--ip-destination-port 67:68 -j DROP'" nl|'\n' op|'%' name|'interface' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' string|"'FORWARD -p IPv4 -o %s --ip-protocol udp '" nl|'\n' string|"'--ip-destination-port 67:68 -j DROP'" nl|'\n' op|'%' name|'interface' op|')' newline|'\n' name|'remove_ebtables_rules' op|'(' name|'rules' op|')' newline|'\n' comment|'# NOTE(vish): the above is not possible with iptables/arptables' nl|'\n' nl|'\n' nl|'\n' DECL|function|get_gateway_rules dedent|'' name|'def' name|'get_gateway_rules' op|'(' name|'bridge' op|')' op|':' newline|'\n' indent|' ' name|'interfaces' op|'=' name|'CONF' op|'.' name|'forward_bridge_interface' newline|'\n' name|'if' string|"'all'" name|'in' name|'interfaces' op|':' newline|'\n' indent|' ' name|'return' op|'[' op|'(' string|"'FORWARD'" op|',' string|"'-i %s -j ACCEPT'" op|'%' name|'bridge' op|')' op|',' nl|'\n' op|'(' string|"'FORWARD'" op|',' string|"'-o %s -j ACCEPT'" op|'%' name|'bridge' op|')' op|']' newline|'\n' dedent|'' name|'rules' op|'=' op|'[' op|']' newline|'\n' name|'for' name|'iface' name|'in' name|'CONF' op|'.' name|'forward_bridge_interface' op|':' newline|'\n' indent|' ' name|'if' name|'iface' op|':' newline|'\n' indent|' ' name|'rules' op|'.' name|'append' op|'(' op|'(' string|"'FORWARD'" op|',' string|"'-i %s -o %s -j ACCEPT'" op|'%' op|'(' name|'bridge' op|',' nl|'\n' name|'iface' op|')' op|')' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' op|'(' string|"'FORWARD'" op|',' string|"'-i %s -o %s -j ACCEPT'" op|'%' op|'(' name|'iface' op|',' nl|'\n' name|'bridge' op|')' op|')' op|')' newline|'\n' dedent|'' dedent|'' name|'rules' op|'.' name|'append' op|'(' op|'(' string|"'FORWARD'" op|',' string|"'-i %s -o %s -j ACCEPT'" op|'%' op|'(' name|'bridge' op|',' name|'bridge' op|')' op|')' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' op|'(' string|"'FORWARD'" op|',' string|"'-i %s -j %s'" op|'%' op|'(' name|'bridge' op|',' nl|'\n' name|'CONF' op|'.' name|'iptables_drop_action' op|')' op|')' op|')' newline|'\n' name|'rules' op|'.' name|'append' op|'(' op|'(' string|"'FORWARD'" op|',' string|"'-o %s -j %s'" op|'%' op|'(' name|'bridge' op|',' nl|'\n' name|'CONF' op|'.' name|'iptables_drop_action' op|')' op|')' op|')' newline|'\n' name|'return' name|'rules' newline|'\n' nl|'\n' nl|'\n' comment|'# plugs interfaces using Open vSwitch' nl|'\n' DECL|class|LinuxOVSInterfaceDriver dedent|'' name|'class' name|'LinuxOVSInterfaceDriver' op|'(' name|'LinuxNetInterfaceDriver' op|')' op|':' newline|'\n' nl|'\n' DECL|member|plug indent|' ' name|'def' name|'plug' op|'(' name|'self' op|',' name|'network' op|',' name|'mac_address' op|',' name|'gateway' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' name|'dev' op|'=' name|'self' op|'.' name|'get_dev' op|'(' name|'network' op|')' newline|'\n' name|'if' name|'not' name|'device_exists' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'bridge' op|'=' name|'CONF' op|'.' name|'linuxnet_ovs_integration_bridge' newline|'\n' name|'_ovs_vsctl' op|'(' op|'[' string|"'--'" op|',' string|"'--may-exist'" op|',' string|"'add-port'" op|',' name|'bridge' op|',' name|'dev' op|',' nl|'\n' string|"'--'" op|',' string|"'set'" op|',' string|"'Interface'" op|',' name|'dev' op|',' string|"'type=internal'" op|',' nl|'\n' string|"'--'" op|',' string|"'set'" op|',' string|"'Interface'" op|',' name|'dev' op|',' nl|'\n' string|"'external-ids:iface-id=%s'" op|'%' name|'dev' op|',' nl|'\n' string|"'--'" op|',' string|"'set'" op|',' string|"'Interface'" op|',' name|'dev' op|',' nl|'\n' string|"'external-ids:iface-status=active'" op|',' nl|'\n' string|"'--'" op|',' string|"'set'" op|',' string|"'Interface'" op|',' name|'dev' op|',' nl|'\n' string|"'external-ids:attached-mac=%s'" op|'%' name|'mac_address' op|']' op|')' newline|'\n' name|'_execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'dev' op|',' string|"'address'" op|',' name|'mac_address' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'_set_device_mtu' op|'(' name|'dev' op|',' name|'network' op|'.' name|'get' op|'(' string|"'mtu'" op|')' op|')' newline|'\n' name|'_execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'dev' op|',' string|"'up'" op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'if' name|'not' name|'gateway' op|':' newline|'\n' comment|"# If we weren't instructed to act as a gateway then add the" nl|'\n' comment|'# appropriate flows to block all non-dhcp traffic.' nl|'\n' indent|' ' name|'_execute' op|'(' string|"'ovs-ofctl'" op|',' nl|'\n' string|"'add-flow'" op|',' name|'bridge' op|',' string|"'priority=1,actions=drop'" op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'_execute' op|'(' string|"'ovs-ofctl'" op|',' string|"'add-flow'" op|',' name|'bridge' op|',' nl|'\n' string|"'udp,tp_dst=67,dl_dst=%s,priority=2,actions=normal'" op|'%' nl|'\n' name|'mac_address' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' comment|"# .. and make sure iptbles won't forward it as well." nl|'\n' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' string|"'FORWARD'" op|',' nl|'\n' string|"'--in-interface %s -j %s'" op|'%' op|'(' name|'bridge' op|',' nl|'\n' name|'CONF' op|'.' name|'iptables_drop_action' op|')' op|')' newline|'\n' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' string|"'FORWARD'" op|',' nl|'\n' string|"'--out-interface %s -j %s'" op|'%' op|'(' name|'bridge' op|',' nl|'\n' name|'CONF' op|'.' name|'iptables_drop_action' op|')' op|')' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'for' name|'rule' name|'in' name|'get_gateway_rules' op|'(' name|'bridge' op|')' op|':' newline|'\n' indent|' ' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' op|'*' name|'rule' op|')' newline|'\n' nl|'\n' dedent|'' dedent|'' dedent|'' name|'return' name|'dev' newline|'\n' nl|'\n' DECL|member|unplug dedent|'' name|'def' name|'unplug' op|'(' name|'self' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' name|'dev' op|'=' name|'self' op|'.' name|'get_dev' op|'(' name|'network' op|')' newline|'\n' name|'bridge' op|'=' name|'CONF' op|'.' name|'linuxnet_ovs_integration_bridge' newline|'\n' name|'_ovs_vsctl' op|'(' op|'[' string|"'--'" op|',' string|"'--if-exists'" op|',' string|"'del-port'" op|',' name|'bridge' op|',' name|'dev' op|']' op|')' newline|'\n' name|'return' name|'dev' newline|'\n' nl|'\n' DECL|member|get_dev dedent|'' name|'def' name|'get_dev' op|'(' name|'self' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' name|'dev' op|'=' string|"'gw-'" op|'+' name|'str' op|'(' name|'network' op|'[' string|"'uuid'" op|']' op|'[' number|'0' op|':' number|'11' op|']' op|')' newline|'\n' name|'return' name|'dev' newline|'\n' nl|'\n' nl|'\n' comment|'# plugs interfaces using Linux Bridge when using NeutronManager' nl|'\n' DECL|class|NeutronLinuxBridgeInterfaceDriver dedent|'' dedent|'' name|'class' name|'NeutronLinuxBridgeInterfaceDriver' op|'(' name|'LinuxNetInterfaceDriver' op|')' op|':' newline|'\n' nl|'\n' DECL|variable|BRIDGE_NAME_PREFIX indent|' ' name|'BRIDGE_NAME_PREFIX' op|'=' string|"'brq'" newline|'\n' DECL|variable|GATEWAY_INTERFACE_PREFIX name|'GATEWAY_INTERFACE_PREFIX' op|'=' string|"'gw-'" newline|'\n' nl|'\n' DECL|member|plug name|'def' name|'plug' op|'(' name|'self' op|',' name|'network' op|',' name|'mac_address' op|',' name|'gateway' op|'=' name|'True' op|')' op|':' newline|'\n' indent|' ' name|'dev' op|'=' name|'self' op|'.' name|'get_dev' op|'(' name|'network' op|')' newline|'\n' name|'bridge' op|'=' name|'self' op|'.' name|'get_bridge' op|'(' name|'network' op|')' newline|'\n' name|'if' name|'not' name|'gateway' op|':' newline|'\n' comment|"# If we weren't instructed to act as a gateway then add the" nl|'\n' comment|'# appropriate flows to block all non-dhcp traffic.' nl|'\n' comment|"# .. and make sure iptbles won't forward it as well." nl|'\n' indent|' ' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' string|"'FORWARD'" op|',' nl|'\n' op|'(' string|"'--in-interface %s -j %s'" nl|'\n' op|'%' op|'(' name|'bridge' op|',' name|'CONF' op|'.' name|'iptables_drop_action' op|')' op|')' op|')' newline|'\n' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' string|"'FORWARD'" op|',' nl|'\n' op|'(' string|"'--out-interface %s -j %s'" nl|'\n' op|'%' op|'(' name|'bridge' op|',' name|'CONF' op|'.' name|'iptables_drop_action' op|')' op|')' op|')' newline|'\n' name|'return' name|'bridge' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'for' name|'rule' name|'in' name|'get_gateway_rules' op|'(' name|'bridge' op|')' op|':' newline|'\n' indent|' ' name|'iptables_manager' op|'.' name|'ipv4' op|'[' string|"'filter'" op|']' op|'.' name|'add_rule' op|'(' op|'*' name|'rule' op|')' newline|'\n' nl|'\n' dedent|'' dedent|'' name|'create_tap_dev' op|'(' name|'dev' op|',' name|'mac_address' op|')' newline|'\n' nl|'\n' name|'if' name|'not' name|'device_exists' op|'(' name|'bridge' op|')' op|':' newline|'\n' indent|' ' name|'LOG' op|'.' name|'debug' op|'(' string|'"Starting bridge %s "' op|',' name|'bridge' op|')' newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'brctl'" op|',' string|"'addbr'" op|',' name|'bridge' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'brctl'" op|',' string|"'setfd'" op|',' name|'bridge' op|',' name|'str' op|'(' number|'0' op|')' op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'brctl'" op|',' string|"'stp'" op|',' name|'bridge' op|',' string|"'off'" op|',' name|'run_as_root' op|'=' name|'True' op|')' newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'bridge' op|',' string|"'address'" op|',' name|'mac_address' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'bridge' op|',' string|"'up'" op|',' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' name|'LOG' op|'.' name|'debug' op|'(' string|'"Done starting bridge %s"' op|',' name|'bridge' op|')' newline|'\n' nl|'\n' name|'full_ip' op|'=' string|"'%s/%s'" op|'%' op|'(' name|'network' op|'[' string|"'dhcp_server'" op|']' op|',' nl|'\n' name|'network' op|'[' string|"'cidr'" op|']' op|'.' name|'rpartition' op|'(' string|"'/'" op|')' op|'[' number|'2' op|']' op|')' newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'address'" op|',' string|"'add'" op|',' name|'full_ip' op|',' string|"'dev'" op|',' name|'bridge' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' name|'check_exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' op|')' newline|'\n' nl|'\n' dedent|'' name|'return' name|'dev' newline|'\n' nl|'\n' DECL|member|unplug dedent|'' name|'def' name|'unplug' op|'(' name|'self' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' name|'dev' op|'=' name|'self' op|'.' name|'get_dev' op|'(' name|'network' op|')' newline|'\n' name|'if' name|'not' name|'device_exists' op|'(' name|'dev' op|')' op|':' newline|'\n' indent|' ' name|'return' name|'None' newline|'\n' dedent|'' name|'else' op|':' newline|'\n' indent|' ' name|'delete_net_dev' op|'(' name|'dev' op|')' newline|'\n' name|'return' name|'dev' newline|'\n' nl|'\n' DECL|member|get_dev dedent|'' dedent|'' name|'def' name|'get_dev' op|'(' name|'self' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' name|'dev' op|'=' name|'self' op|'.' name|'GATEWAY_INTERFACE_PREFIX' op|'+' name|'str' op|'(' name|'network' op|'[' string|"'uuid'" op|']' op|'[' number|'0' op|':' number|'11' op|']' op|')' newline|'\n' name|'return' name|'dev' newline|'\n' nl|'\n' DECL|member|get_bridge dedent|'' name|'def' name|'get_bridge' op|'(' name|'self' op|',' name|'network' op|')' op|':' newline|'\n' indent|' ' name|'bridge' op|'=' name|'self' op|'.' name|'BRIDGE_NAME_PREFIX' op|'+' name|'str' op|'(' name|'network' op|'[' string|"'uuid'" op|']' op|'[' number|'0' op|':' number|'11' op|']' op|')' newline|'\n' name|'return' name|'bridge' newline|'\n' nl|'\n' nl|'\n' DECL|variable|iptables_manager dedent|'' dedent|'' name|'iptables_manager' op|'=' name|'IptablesManager' op|'(' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|function|set_vf_interface_vlan name|'def' name|'set_vf_interface_vlan' op|'(' name|'pci_addr' op|',' name|'mac_addr' op|',' name|'vlan' op|'=' number|'0' op|')' op|':' newline|'\n' indent|' ' name|'pf_ifname' op|'=' name|'pci_utils' op|'.' name|'get_ifname_by_pci_address' op|'(' name|'pci_addr' op|',' nl|'\n' name|'pf_interface' op|'=' name|'True' op|')' newline|'\n' name|'vf_ifname' op|'=' name|'pci_utils' op|'.' name|'get_ifname_by_pci_address' op|'(' name|'pci_addr' op|')' newline|'\n' name|'vf_num' op|'=' name|'pci_utils' op|'.' name|'get_vf_num_by_pci_address' op|'(' name|'pci_addr' op|')' newline|'\n' nl|'\n' comment|"# Set the VF's mac address and vlan" nl|'\n' name|'exit_code' op|'=' op|'[' number|'0' op|',' number|'2' op|',' number|'254' op|']' newline|'\n' name|'port_state' op|'=' string|"'up'" name|'if' name|'vlan' op|'>' number|'0' name|'else' string|"'down'" newline|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'pf_ifname' op|',' nl|'\n' string|"'vf'" op|',' name|'vf_num' op|',' nl|'\n' string|"'mac'" op|',' name|'mac_addr' op|',' nl|'\n' string|"'vlan'" op|',' name|'vlan' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' name|'exit_code' op|')' newline|'\n' comment|"# Bring up/down the VF's interface" nl|'\n' name|'utils' op|'.' name|'execute' op|'(' string|"'ip'" op|',' string|"'link'" op|',' string|"'set'" op|',' name|'vf_ifname' op|',' nl|'\n' name|'port_state' op|',' nl|'\n' name|'run_as_root' op|'=' name|'True' op|',' nl|'\n' name|'check_exit_code' op|'=' name|'exit_code' op|')' newline|'\n' dedent|'' endmarker|'' end_unit
12.893938
963
0.580495
23,427
156,339
3.798737
0.042174
0.131471
0.096974
0.049622
0.83247
0.786489
0.741148
0.695279
0.650782
0.615352
0
0.003563
0.124013
156,339
12,124
964
12.895002
0.646253
0
0
0.951666
0
0.000742
0.822495
0.073673
0
0
0
0
0
0
null
null
0
0.002062
null
null
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
7234204a48b1df1deb09c40a687ab27eff50a9de
1,110
py
Python
devilry/devilry_gradeform/urls.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
29
2015-01-18T22:56:23.000Z
2020-11-10T21:28:27.000Z
devilry/devilry_gradeform/urls.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
786
2015-01-06T16:10:18.000Z
2022-03-16T11:10:50.000Z
devilry/devilry_gradeform/urls.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
15
2015-04-06T06:18:43.000Z
2021-02-24T12:28:30.000Z
from django.urls import re_path from devilry.devilry_gradeform.views.setup_create_gradeform import CreateGradeForm urlpatterns = [ re_path(r'^create/(?P<assignment_id>[0-9]+)', CreateGradeForm.as_view(), name='create-setup-gradeform'), # url(r'^$', # grade_form.AdvancedGradeForm.render_setup(AdvancedGradeForm(), None), # name='devilry-gradeform-setup'), # url(r'^$', # grade_form.AdvancedGradeForm.render_editable(AdvancedGradeForm(), None, None), # name='devilry-gradeform-advanced-editable'), ] # from django.conf.urls import url # from devilry.devilry_gradeform.views.setup_create_gradeform import CreateGradeForm # urlpatterns = [ # url(r'^create/(?P<assignment_id>[0-9]+)', CreateGradeForm.as_view(), name='create-setup-gradeform'), # # url(r'^$', # # grade_form.AdvancedGradeForm.render_setup(AdvancedGradeForm(), None), # # name='devilry-gradeform-setup'), # # url(r'^$', # # grade_form.AdvancedGradeForm.render_editable(AdvancedGradeForm(), None, None), # # name='devilry-gradeform-advanced-editable'), # ]
39.642857
108
0.691892
121
1,110
6.181818
0.256198
0.128342
0.048128
0.069519
0.917112
0.917112
0.917112
0.917112
0.917112
0.917112
0
0.004228
0.147748
1,110
27
109
41.111111
0.786469
0.718919
0
0
0
0
0.190972
0.190972
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
7
a0e4c6256884b83769b0b245535159f0c301baf8
123
py
Python
platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/leopard/calculators/calc_dsa.py
lmnotran/gecko_sdk
2e82050dc8823c9fe0e8908c1b2666fb83056230
[ "Zlib" ]
82
2016-06-29T17:24:43.000Z
2021-04-16T06:49:17.000Z
platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/leopard/calculators/calc_dsa.py
lmnotran/gecko_sdk
2e82050dc8823c9fe0e8908c1b2666fb83056230
[ "Zlib" ]
6
2022-01-12T18:22:08.000Z
2022-03-25T10:19:27.000Z
platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/leopard/calculators/calc_dsa.py
lmnotran/gecko_sdk
2e82050dc8823c9fe0e8908c1b2666fb83056230
[ "Zlib" ]
56
2016-08-02T10:50:50.000Z
2021-07-19T08:57:34.000Z
from pyradioconfig.parts.lynx.calculators.calc_dsa import CALC_DSA_lynx class calc_dsa_leopard(CALC_DSA_lynx): pass
17.571429
71
0.829268
19
123
5
0.578947
0.294737
0.231579
0
0
0
0
0
0
0
0
0
0.113821
123
6
72
20.5
0.87156
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
8
19be1d1f515237eda0f81e81f24eb63b5f020ffd
727
py
Python
gdsfactory/tests/test_partial_function.py
tvt173/gdsfactory
69dcfccff1525722e7029eb8bb8c4c9ddebbac47
[ "MIT" ]
null
null
null
gdsfactory/tests/test_partial_function.py
tvt173/gdsfactory
69dcfccff1525722e7029eb8bb8c4c9ddebbac47
[ "MIT" ]
null
null
null
gdsfactory/tests/test_partial_function.py
tvt173/gdsfactory
69dcfccff1525722e7029eb8bb8c4c9ddebbac47
[ "MIT" ]
null
null
null
import gdsfactory as gf def test_partial_function(): mmi400 = gf.partial(gf.components.mmi1x2, width=0.4) mmi600 = gf.partial(gf.components.mmi1x2, width=0.6) mzi400 = gf.partial(gf.components.mzi, splitter=mmi400) mzi600 = gf.partial(gf.components.mzi, splitter=mmi600) c400 = mzi400() c600 = mzi600() assert c600.name != c400.name, print(c400.name, c600.name) if __name__ == "__main__": mmi400 = gf.partial(gf.components.mmi1x2, width=0.4) mmi600 = gf.partial(gf.components.mmi1x2, width=0.6) mzi400 = gf.partial(gf.components.mzi, splitter=mmi400) mzi600 = gf.partial(gf.components.mzi, splitter=mmi600) c400 = mzi400() c600 = mzi600() print(c400.name, c600.name)
33.045455
62
0.690509
102
727
4.823529
0.264706
0.146341
0.178862
0.341463
0.849594
0.764228
0.764228
0.764228
0.764228
0.764228
0
0.155372
0.167813
727
21
63
34.619048
0.657851
0
0
0.705882
0
0
0.011004
0
0
0
0
0
0.058824
1
0.058824
false
0
0.058824
0
0.117647
0.117647
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8