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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0df14258eb0ab5fa19bc5ce16ea9d302eba18751 | 128 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_0/_pkg1_1_0_1/_pkg1_1_0_1_0/_mod1_1_0_1_0_0.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_0/_pkg1_1_0_1/_pkg1_1_0_1_0/_mod1_1_0_1_0_0.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_0/_pkg1_1_0_1/_pkg1_1_0_1_0/_mod1_1_0_1_0_0.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | name1_1_0_1_0_0_0 = None
name1_1_0_1_0_0_1 = None
name1_1_0_1_0_0_2 = None
name1_1_0_1_0_0_3 = None
name1_1_0_1_0_0_4 = None | 14.222222 | 24 | 0.820313 | 40 | 128 | 1.875 | 0.175 | 0.266667 | 0.466667 | 0.533333 | 0.88 | 0.88 | 0.746667 | 0 | 0 | 0 | 0 | 0.318182 | 0.140625 | 128 | 9 | 25 | 14.222222 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
218c0ffdf0dc4fc53a01eca42ae30bf78ba39849 | 8,025 | py | Python | setup_webserver.py | thachnguyen/duesselpore | 7d91cfc12cfef392c6fbe0f4cc40d4c903863c5d | [
"MIT"
] | 3 | 2021-11-17T10:48:35.000Z | 2021-11-18T07:41:12.000Z | setup_webserver.py | thachnguyen/duesselpore | 7d91cfc12cfef392c6fbe0f4cc40d4c903863c5d | [
"MIT"
] | null | null | null | setup_webserver.py | thachnguyen/duesselpore | 7d91cfc12cfef392c6fbe0f4cc40d4c903863c5d | [
"MIT"
] | null | null | null | from netifaces import interfaces, ifaddresses, AF_INET
import os, sys
def ip4_addresses():
ip_list = []
for interface in interfaces():
try:
for link in ifaddresses(interface)[AF_INET]:
ip_list.append(link['addr'])
except Exception:
pass
return ip_list
if __name__=="__main__":
print('setup IP address')
iplist = ip4_addresses()
f = open('/home/ag-rossi/projects/duesselpore/NGS_webserver/settings.py', 'r').readlines()
f[27] = f[27][:-2]+','+ str(iplist)[1:] + '\n'
f1 = open('/home/ag-rossi/projects/duesselpore/NGS_webserver/settings.py', 'w')
f1.writelines(f)
f1.close()
print('Updating duesselpore')
os.system('git -C /home/ag-rossi/projects/duesselpore pull')
if len(sys.argv) >1:
if sys.argv[1]=='light':
print('Downloading human reference genome')
os.system('wget ftp://ftp.ensembl.org/pub/release-102/fasta/homo_sapiens/dna/Homo_sapiens.GRCh38.dna.primary_assembly.fa.gz -P ~/ReferenceData/')
os.system('wget http://ftp.ensembl.org/pub/release-102/gtf/homo_sapiens/Homo_sapiens.GRCh38.102.gtf.gz -P ~/ReferenceData/')
os.system('wget ftp://ftp.ensembl.org/pub/release-104/fasta/homo_sapiens/cdna/Homo_sapiens.GRCh38.cdna.all.fa.gz -P ~/ReferenceData/')
print('creating human reference genome indexes, please wait')
os.system('minimap2 -t 4 -k14 -w10 -d ~/ReferenceData/reference_human.mmi ~/ReferenceData/Homo_sapiens.GRCh38.dna.primary_assembly.fa.gz')
#os.system('echo %s|sudo -S %s'%(sudo_pass, install_cmd))
os.unlink('/home/ag-rossi/ReferenceData/Homo_sapiens.GRCh38.dna.primary_assembly.fa.gz')
if sys.argv[1]=='full':
print('Downloading human reference genome')
os.system('wget ftp://ftp.ensembl.org/pub/release-102/fasta/homo_sapiens/dna/Homo_sapiens.GRCh38.dna.primary_assembly.fa.gz -P ~/ReferenceData/')
os.system('wget http://ftp.ensembl.org/pub/release-102/gtf/homo_sapiens/Homo_sapiens.GRCh38.102.gtf.gz -P ~/ReferenceData/')
os.system('wget ftp://ftp.ensembl.org/pub/release-104/fasta/homo_sapiens/cdna/Homo_sapiens.GRCh38.cdna.all.fa.gz -P ~/ReferenceData/')
print('creating human reference genome indexes, please wait')
os.system('minimap2 -t 4 -k15 -w10 -d ~/ReferenceData/reference_human.mmi ~/ReferenceData/Homo_sapiens.GRCh38.dna.primary_assembly.fa.gz')
# install_cmd ='apt install fastqc'
# sudo_pass = '123456'
# os.system('echo %s|sudo -S %s'%(sudo_pass, install_cmd))
os.unlink('/home/ag-rossi/ReferenceData/Homo_sapiens.GRCh38.dna.primary_assembly.fa.gz')
print('Downloading mouse reference genome')
os.system('wget ftp://ftp.ensembl.org/pub/release-102/fasta/mus_musculus/dna/Mus_musculus.GRCm38.dna.primary_assembly.fa.gz -P ~/ReferenceData/')
os.system('wget ftp://ftp.ensembl.org/pub/release-102/gtf/mus_musculus/Mus_musculus.GRCm38.102.gtf.gz -P ~/ReferenceData/')
os.system('wget http://ftp.ensembl.org/pub/release-102/fasta/mus_musculus/cdna/Mus_musculus.GRCm38.cdna.all.fa.gz -P ~/ReferenceData/')
print('creating mouse reference genome indexes, please wait')
os.system('minimap2 -t 4 -k15 -w10 -d ~/ReferenceData/Mus_musculus.mmi ~/ReferenceData/Mus_musculus.GRCm38.dna.primary_assembly.fa.gz')
# install_cmd ='apt install fastqc'
# sudo_pass = '123456'
# os.system('echo %s|sudo -S %s'%(sudo_pass, install_cmd))
os.unlink('/home/ag-rossi/ReferenceData/Mus_musculus.GRCm38.dna.primary_assembly.fa.gz')
print('Downloading rat reference genome')
os.system('wget ftp://ftp.ensembl.org/pub/release-102/fasta/rattus_norvegicus/dna/Rattus_norvegicus.Rnor_6.0.dna.toplevel.fa.gz -P ~/ReferenceData/')
os.system('wget ftp://ftp.ensembl.org/pub/release-102/gtf/rattus_norvegicus/Rattus_norvegicus.Rnor_6.0.102.gtf.gz -P ~/ReferenceData/')
os.system('wget http://ftp.ensembl.org/pub/release-102/fasta/rattus_norvegicus/cdna/Rattus_norvegicus.Rnor_6.0.cdna.all.fa.gz -P ~/ReferenceData/')
print('creating rat reference genome indexes, please wait')
os.system('minimap2 -t 4 -k15 -w10 -d ~/ReferenceData/Rattus_norvegicus.mmi ~/ReferenceData/Rattus_norvegicus.Rnor_6.0.dna.toplevel.fa.gz')
# install_cmd ='apt install fastqc'
# sudo_pass = '123456'
# os.system('echo %s|sudo -S %s'%(sudo_pass, install_cmd))
os.unlink('/home/ag-rossi/ReferenceData/Rattus_norvegicus.Rnor_6.0.dna.toplevel.fa.gz')
print('Downloading zebrafish reference genome')
os.system('wget ftp://ftp.ensembl.org/pub/release-102/fasta/danio_rerio/dna/Danio_rerio.GRCz11.dna.primary_assembly.fa.gz -P ~/ReferenceData/')
os.system('wget ftp://ftp.ensembl.org/pub/release-102/gtf/danio_rerio/Danio_rerio.GRCz11.102.gtf.gz -P ~/ReferenceData/')
os.system('wget http://ftp.ensembl.org/pub/release-102/fasta/danio_rerio/cdna/Danio_rerio.GRCz11.cdna.all.fa.gz -P ~/ReferenceData/')
print('creating zebrafish reference genome indexes, please wait')
os.system('minimap2 -t 4 -k15 -w10 -d ~/ReferenceData/Danio_rerio.mmi ~/ReferenceData/Danio_rerio.GRCz11.dna.primary_assembly.fa.gz')
# install_cmd ='apt install fastqc'
# sudo_pass = '123456'
# os.system('echo %s|sudo -S %s'%(sudo_pass, install_cmd))
os.unlink('/home/ag-rossi/ReferenceData/Danio_rerio.GRCz11.dna.primary_assembly.fa.gz')
print('Downloading C elegans reference genome')
os.system('wget ftp://ftp.ensembl.org/pub/release-102/fasta/caenorhabditis_elegans/dna/Caenorhabditis_elegans.WBcel235.dna.toplevel.fa.gz -P ~/ReferenceData/')
os.system('wget ftp://ftp.ensembl.org/pub/release-102/gtf/caenorhabditis_elegans/Caenorhabditis_elegans.WBcel235.102.gtf.gz -P ~/ReferenceData/')
os.system('wget http://ftp.ensembl.org/pub/release-104/fasta/caenorhabditis_elegans/cdna/Caenorhabditis_elegans.WBcel235.cdna.all.fa.gz -P ~/ReferenceData/')
print('creating Celegans reference genome indexes, please wait')
os.system('minimap2 -t 4 -k15 -w10 -d ~/ReferenceData/Caenorhabditis_elegans.mmi ~/ReferenceData/Caenorhabditis_elegans.WBcel235.dna.toplevel.fa.gz')
print('Downloading Covid19 reference genome')
os.system('wget http://ftp.ebi.ac.uk/ensemblgenomes/pub/viruses/fasta/sars_cov_2/dna/Sars_cov_2.ASM985889v3.dna.toplevel.fa.gz -P ~/ReferenceData/')
os.system('wget http://ftp.ebi.ac.uk/ensemblgenomes/pub/viruses/gtf/sars_cov_2/Sars_cov_2.ASM985889v3.101.gtf.gz -P ~/ReferenceData/')
os.system('wget http://ftp.ebi.ac.uk/ensemblgenomes/pub/viruses/fasta/sars_cov_2/cdna/Sars_cov_2.ASM985889v3.cdna.all.fa.gz -P ~/ReferenceData/')
print('creating Covid19 reference genome indexes, please wait')
os.system('minimap2 -t 4 -k15 -w10 -d ~/ReferenceData/Covid19.mmi ~/ReferenceData/Sars_cov_2.ASM985889v3.dna.toplevel.fa.gz')
# install_cmd ='apt install fastqc'
# sudo_pass = '123456'
# os.system('echo %s|sudo -S %s'%(sudo_pass, install_cmd))
os.unlink('/home/ag-rossi/ReferenceData/Caenorhabditis_elegans.WBcel235.dna.toplevel.fa.gz')
os.unlink('/home/ag-rossi/ReferenceData/Sars_cov_2.ASM985889v3.dna.toplevel.fa.gz')
# print('creating mouse reference genome indexes, please wait')
# os.system('minimap2 -t 4 -k15 -w10 -d ~/ReferenceData/reference_mouse.mmi ~/ReferenceData/Mus_musculus.GRCm39.dna.toplevel.fa.gz')
# print('creating rat reference genome indexes, please wait')
# os.system('minimap2 -t 4 -k15 -w10 -d ~/ReferenceData/reference_rat.mmi ~/ReferenceData/Rattus_norvegicus.Rnor_6.0.dna.toplevel.fa.gz')
# print('creating zebrafish reference genome indexes, please wait')
# os.system('minimap2 -t 4 -k15 -w10 -d ~/ReferenceData/reference_zebrafish.mmi ~/ReferenceData/Danio_rerio.GRCz11.dna.toplevel.fa.gz')
# print('creating C elegans reference genome indexes, please wait')
# os.system('minimap2 -t 4 -k15 -w10 -d ~/ReferenceData/reference_celegans.mmi ~/ReferenceData/Caenorhabditis_elegans.WBcel235.dna.toplevel.fa.gz')
# os.unlink('~/ReferenceData/*.fa.gz')
print('Your webserver IP address is %s, please use http://%s:8000/duesselpore/ on your browser:'%(iplist[-1], iplist[-1]))
print('Other alternative address', iplist) | 68.008475 | 162 | 0.742928 | 1,190 | 8,025 | 4.896639 | 0.12521 | 0.053544 | 0.043247 | 0.049425 | 0.827184 | 0.81191 | 0.792003 | 0.777415 | 0.742578 | 0.675648 | 0 | 0.043412 | 0.098692 | 8,025 | 118 | 163 | 68.008475 | 0.762201 | 0.181184 | 0 | 0.16 | 0 | 0.4 | 0.763861 | 0.392699 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013333 | false | 0.013333 | 0.026667 | 0 | 0.053333 | 0.24 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
21f26aeebaea1e18308aa5f40ac6c1804651179b | 24,446 | py | Python | Fuzzy_clustering/version3/project_manager/rabbitmq_client.py | joesider9/forecasting_library | db07ff8f0f2693983058d49004f2fc6f8849d197 | [
"Apache-2.0"
] | null | null | null | Fuzzy_clustering/version3/project_manager/rabbitmq_client.py | joesider9/forecasting_library | db07ff8f0f2693983058d49004f2fc6f8849d197 | [
"Apache-2.0"
] | null | null | null | Fuzzy_clustering/version3/project_manager/rabbitmq_client.py | joesider9/forecasting_library | db07ff8f0f2693983058d49004f2fc6f8849d197 | [
"Apache-2.0"
] | null | null | null | import pika, uuid, time, json, joblib, os
import numpy as np
RABBIT_MQ_HOST = os.getenv('RABBIT_MQ_HOST')
RABBIT_MQ_PASS = os.getenv('RABBIT_MQ_PASS')
RABBIT_MQ_PORT = int(os.getenv('RABBIT_MQ_PORT'))
sys_path = '/models/'
class NumpyEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, np.ndarray):
return obj.tolist()
elif isinstance(obj, np.integer) or isinstance(obj, int):
return int(obj)
elif isinstance(obj, np.floating) or isinstance(obj, float):
return float(obj)
elif isinstance(obj, np.str) or isinstance(obj, str):
return str(obj)
elif isinstance(obj, np.bool) or isinstance(obj, bool):
return bool(obj)
try:
return json.JSONEncoder.default(self, obj)
except:
print(obj)
raise TypeError('Object is not JSON serializable')
class rabbit_client_data(object):
def __init__(self ):
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='data_manager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_nwp(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='nwp_manager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_Fuzzy_Data(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='FuzzyDatamanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_FeatSel(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='FeatSelmanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_CNN(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='CNNmanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_LSTM(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='LSTMmanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_MLP(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='MLPmanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_RBFNN(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='RBFNNmanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_RBF_CNN(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='RBF_CNN_manager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_RBFOLS(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='RBFOLSmanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_SKlearn(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='SKlearnmanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_ClustComb(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='ClusterCombinemanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_ModelComb(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='ModelCombinemanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response
class rabbit_client_Proba(object):
def __init__(self ):
credentials = pika.PlainCredentials('admin', 'admin')
parameters = pika.ConnectionParameters(RABBIT_MQ_HOST,
RABBIT_MQ_PORT)
start_time = time.time()
while True:
# wait for rabbitmq
try:
self.connection = pika.BlockingConnection(parameters)
break
except:
print('Cannot connect yet, sleeping 5 seconds.')
time.sleep(5)
if time.time() - start_time > 60:
print('Could not connect after 30 seconds.')
exit(1)
self.channel = self.connection.channel()
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue
self.channel.basic_consume(
queue=self.callback_queue,
on_message_callback=self.on_response,
auto_ack=True)
def on_response(self, ch, method, props, body):
if self.corr_id == props.correlation_id:
self.response = body
def call(self, static_data):
self.response = None
self.corr_id = str(uuid.uuid4())
self.channel.basic_publish(
exchange='',
routing_key='Probamanager',
properties=pika.BasicProperties(
reply_to=self.callback_queue,
correlation_id=self.corr_id,
),
body=json.dumps(static_data, cls=NumpyEncoder))
while self.response is None:
self.connection.process_data_events()
return self.response | 33.57967 | 69 | 0.571873 | 2,543 | 24,446 | 5.302792 | 0.05466 | 0.04568 | 0.052948 | 0.020022 | 0.946311 | 0.938079 | 0.938079 | 0.938079 | 0.938079 | 0.938079 | 0 | 0.006932 | 0.339115 | 24,446 | 728 | 70 | 33.57967 | 0.827742 | 0.010268 | 0 | 0.915808 | 0 | 0 | 0.059427 | 0.000868 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073883 | false | 0.001718 | 0.003436 | 0 | 0.137457 | 0.049828 | 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 |
df4f45269c4a0b3aaac31a25a7b3490c14c7c5f8 | 122 | py | Python | language-python-test/test/features/bytestrings/raw_bytestring_v3.py | wbadart/language-python | 6c048c215ff7fe4a5d5cc36ba3c17a666af74821 | [
"BSD-3-Clause"
] | null | null | null | language-python-test/test/features/bytestrings/raw_bytestring_v3.py | wbadart/language-python | 6c048c215ff7fe4a5d5cc36ba3c17a666af74821 | [
"BSD-3-Clause"
] | null | null | null | language-python-test/test/features/bytestrings/raw_bytestring_v3.py | wbadart/language-python | 6c048c215ff7fe4a5d5cc36ba3c17a666af74821 | [
"BSD-3-Clause"
] | null | null | null | br'hello \n world'
br"hello \n world"
br"""hello \n world"""
rb'hello \n world'
rb"hello \n world"
rb"""hello \n world"""
| 17.428571 | 22 | 0.639344 | 24 | 122 | 3.25 | 0.208333 | 0.461538 | 0.846154 | 0.5 | 1 | 1 | 1 | 1 | 0.641026 | 0.641026 | 0 | 0 | 0.147541 | 122 | 6 | 23 | 20.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
df7d3e9f9d7268dcfe16bf2c28fb9f28d0884a62 | 550 | py | Python | venv/lib/python3.8/site-packages/keras/api/_v2/keras/preprocessing/text/__init__.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | 1 | 2021-05-24T10:08:51.000Z | 2021-05-24T10:08:51.000Z | venv/lib/python3.8/site-packages/keras/api/_v2/keras/preprocessing/text/__init__.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/keras/api/_v2/keras/preprocessing/text/__init__.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.keras.preprocessing.text namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from keras.preprocessing.text import one_hot
from keras.preprocessing.text import text_to_word_sequence
from keras_preprocessing.text import Tokenizer
from keras_preprocessing.text import hashing_trick
from keras_preprocessing.text import tokenizer_from_json
del _print_function
| 32.352941 | 82 | 0.845455 | 80 | 550 | 5.5375 | 0.5125 | 0.243792 | 0.297968 | 0.293454 | 0.410835 | 0.20316 | 0.20316 | 0 | 0 | 0 | 0 | 0 | 0.101818 | 550 | 16 | 83 | 34.375 | 0.896761 | 0.327273 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
802556c7cf331c35a09798277a1fcd7e225e09e6 | 217,039 | py | Python | kenken.py | jei3di/KenKen | ed0dee391a9f4edd8a0185ffa5498c173b35c072 | [
"MIT"
] | null | null | null | kenken.py | jei3di/KenKen | ed0dee391a9f4edd8a0185ffa5498c173b35c072 | [
"MIT"
] | null | null | null | kenken.py | jei3di/KenKen | ed0dee391a9f4edd8a0185ffa5498c173b35c072 | [
"MIT"
] | null | null | null | #José Daniel Delgado Segura
#2015001500
#21-05-2015
#Programa 2 - Pasatiempo Aritmético KenKen
#————————————————————————————————————————————————————————————————————————centrar————————————————————————————————————————————————————————————————————————#
def centrar(ventana): #Centra la ventana que se abre. Todas las WIN la utilizan. Tomada de internet.
ventana.update_idletasks()
w=ventana.winfo_width()
h=ventana.winfo_height()
extraW=ventana.winfo_screenwidth()-w
extraH=ventana.winfo_screenheight()-h
ventana.geometry("%dx%d%+d%+d" % (w,h,extraW/2,extraH/2))
#——————————————————————————————————————————————————————————————————————Fin centrar——————————————————————————————————————————————————————————————————————#
#——————————————————————————————————————————————————————————————————————Ventana Jugar————————————————————————————————————————————————————————————————————#
def FN_WIN_jugar ():
s = 0
m = 0
h = 0
WIN_menú.withdraw()
WIN_configurar.withdraw()
WIN_validar_completo.withdraw()
global WIN_jugar
global LBL_segundos
global BTN_pausa
global BTN_iniciar
global BTN_menú_jugar
global BTN_validar
global BTN_reiniciar
global BTN_terminar
global TXT_nombre
global nombre
global default_horas
global default_minutos
global default_segundos
WIN_jugar = Toplevel()
LBL_segundos = Label
BTN_menú_jugar = BTN_pausa = BTN_iniciar = BTN_validar = BTN_reiniciar = BTN_terminar = Button
TXT_nombre = Entry
nombre = StringVar()
nombre.set("Nombre")
WIN_jugar.protocol("WM_DELETE_WINDOW", lambda : WIN_jugar.destroy())
WIN_jugar.geometry("1000x600")
WIN_jugar.title("Juego KENKEN")
WIN_jugar.resizable(width = FALSE, height = FALSE)
centrar (WIN_jugar)
cuadrícula()
TXT_nombre = Entry(WIN_jugar, textvariable = nombre, width = 20, font = ("Helvetica Neue", 15, "bold"))
TXT_nombre.place(x = 760, y = 120)
LBL_título = Label(WIN_jugar, text = "KenKen",font = ("Helvetica Neue", 20, "bold")).place(x = 320, y = 10)
LBL_horas = Label(WIN_jugar, text = "Horas", font = ("Helvetica Neue", 13)).place(x = 768, y = 20)
LBL_minutos = Label(WIN_jugar, text = "Minutos", font = ("Helvetica Neue", 13)).place(x = 825, y = 20)
LBL_segundos = Label(WIN_jugar, text = "Segundos", font = ("Helvetica Neue", 13)).place(x = 891, y = 20)
LBL_iniciar = Label(WIN_jugar, text = "Iniciar", font = ("Helvetica Neue", 13, "bold")).place(x = 782, y = 233)
LBL_terminar = Label(WIN_jugar, text = "Terminar", font = ("Helvetica Neue", 13, "bold")).place(x = 880, y = 233)
LBL_otro = Label(WIN_jugar, text = "Otro", font = ("Helvetica Neue", 13, "bold")).place(x = 787, y = 343)
LBL_reiniciar = Label(WIN_jugar, text = "Reiniciar", font = ("Helvetica Neue", 13, "bold")).place(x = 886, y = 343)
LBL_validar = Label(WIN_jugar, text = "Validar", font = ("Helvetica Neue", 13, "bold"))
LBL_validar.place(x = 780, y = 453)
LBL_top10 = Label(WIN_jugar, text = "Top 10", font = ("Helvetica Neue", 13, "bold"))
LBL_top10.place(x = 889, y = 453)
LBL_menú = Label(WIN_jugar, text = "Menú", font = ("Helvetica Neue", 13, "bold"))
LBL_menú.place(x = 842, y = 571)
BTN_iniciar = Button(WIN_jugar, image = IMG_BTN_WIN_jugar_iniciar, height = 65, width = 65, borderwidth = 0, command = FN_iniciar)
BTN_iniciar.place (x = 775, y = 165)
BTN_terminar = Button(WIN_jugar, image = IMG_BTN_WIN_jugar_terminar, height = 65, width = 65, borderwidth = 0, command = FN_terminar)
BTN_terminar.place (x = 885, y = 165)
BTN_otro = Button(WIN_jugar, image = IMG_BTN_WIN_jugar_otro, height = 65, width = 65, borderwidth = 0, command = lambda : FN_otro("otro"))
BTN_otro.place (x = 775, y = 275)
BTN_reiniciar = Button(WIN_jugar, image = IMG_BTN_WIN_jugar_reiniciar, height = 65, width = 65, borderwidth = 0, command = FN_reiniciar)
BTN_reiniciar.place (x = 885, y = 275)
BTN_validar = Button(WIN_jugar, image = IMG_BTN_WIN_jugar_validar, height = 65, width = 65, borderwidth = 0, command = FN_validar)
BTN_validar.place (x = 775, y = 385)
BTN_top10 = Button(WIN_jugar, image = IMG_BTN_WIN_jugar_top10, height = 65, width = 65, borderwidth = 0, command = WIN_top10)
BTN_top10.place (x = 885, y = 385)
BTN_menú_jugar = Button(WIN_jugar, image = IMG_BTN_menú, height = 65, width = 65, borderwidth = 0, command = menú_volver)
BTN_menú_jugar.place (x = 832, y = 495)
if validar_completo_respuesta.get() == 1:
BTN_validar_completo = Button(WIN_jugar, image = IMG_BTN_WIN_validar_completo, height = 65, width = 65, borderwidth = 0, command = FN_validar_completo)
BTN_validar_completo.place (x = 885, y = 385)
BTN_menú_jugar.place (x = 775, y = 495)
BTN_top10.place (x = 885, y = 495)
LBL_validar_completo = Label(WIN_jugar, text = "Validar\ncompleto", font = ("Helvetica Neue", 13, "bold"))
LBL_validar_completo.place(x = 882, y = 453)
LBL_validar.place(x = 780, y = 453)
LBL_top10.place(x = 889, y = 562)
LBL_menú.place(x = 785, y = 562)
if int(reloj_selec.get()) == 0:
LBL_horas = Label(WIN_jugar, text = "Horas", font = ("Helvetica Neue", 13)).place(x = 768, y = 20)
LBL_minutos = Label(WIN_jugar, text = "Minutos", font = ("Helvetica Neue", 13)).place(x = 825, y = 20)
LBL_segundos = Label(WIN_jugar, text = "Segundos", font = ("Helvetica Neue", 13)).place(x = 891, y = 20)
time.sleep(0.40)
LBL_clock = Label(WIN_jugar, text = " "+"0"+str(h) + " " + "0"+str(m) + " " + "0"+str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
BTN_pausa = Button(WIN_jugar, height = 1, width = 5, text = "Pausa", borderwidth = 1, font = ("Helvetica Neue", 16), command = FN_pausa, state = DISABLED)
BTN_pausa.place (x = 830, y = 75)
elif int(reloj_selec.get()) == 2:
h = int(default_horas.get())
m = int(default_minutos.get())
s = int(default_segundos.get())
default_horas.set(h)
default_minutos.set(m)
default_segundos.set(s)
SPNBX_horas = Spinbox(WIN_jugar, width = 2, font = ("Helvetica Neue", 12), from_ = 0, to = 3, textvariable = default_horas, wrap = True).place(x = 775, y = 44)
SPNBX_minutos = Spinbox(WIN_jugar, width = 2, font = ("Helvetica Neue", 12), from_ = 0, to = 59, textvariable = default_minutos, wrap = True).place(x = 840, y = 44)
SPNBX_segundos = Spinbox(WIN_jugar, width = 2, font = ("Helvetica Neue", 12), from_ = 0, to = 59, textvariable = default_segundos, wrap = True).place(x = 915, y = 44)
BTN_pausa = Button(WIN_jugar, height = 1, width = 5, text = "Pausa", borderwidth = 1, font = ("Helvetica Neue", 16), command = FN_pausa, state = DISABLED)
BTN_pausa.place (x = 830, y = 75)
#———————————————————————————————————————————————————————————————Clock——————————————————————————————————————————————————————————————#
def FN_THRDs ():
terminar = False
THRD_FN_WIN_jugar = Thread (target = FN_WIN_jugar, args = ())
THRD_FN_WIN_jugar.start()
def FN_iniciar ():
global iniciado
iniciado = True
global terminar
terminar = False
BTN_menú_jugar.config(state = DISABLED)
if nombre.get() == "Nombre" or len(nombre.get()) < 3 or len(nombre.get()) > 30:
messagebox.showerror("Error en el nombre", "Debe ingresar un nombre correcto antes de iniciar (3 a 40 caracteres).")
return
BTN_pausa.config (state = NORMAL)
BTN_iniciar.config(state = DISABLED)
TXT_nombre.config(state = DISABLED)
sel = nivel_selec.get()
if sel == 33:
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45]
for i in lista_btn:
i.config(state = NORMAL)
elif sel == 44:
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_btn:
i.config(state = NORMAL)
elif sel == 55:
lista_btn = [BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_btn:
i.config(state = NORMAL)
elif sel == 0:
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_btn:
i.config(state = NORMAL)
elif sel == 77:
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_btn:
i.config(state = NORMAL)
elif sel == 88:
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_btn:
i.config(state = NORMAL)
elif sel == 99:
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for i in lista_btn:
i.config(state = NORMAL)
if int(reloj_selec.get()) == 0:
THRD_clock = Thread (target = clock, args = ())
THRD_clock.start()
elif int(reloj_selec.get()) == 2:
THRD_FN_timer = Thread(target = FN_timer, args = ())
THRD_FN_timer.start()
def FN_pausa ():
global pausa
if pausa == False:
pausa = True
else:
pausa = False
def clock():
global h
global m
global s
global clock_estado
clock_estado = True
if default_horas.get() == "":
h = 0
if default_minutos.get() == "":
m = 0
if default_segundos.get() == "":
s = 0
else:
h = int(default_horas.get())
m = int(default_minutos.get())
s = int(default_segundos.get())
while h <= 23:
if terminar == True:
LBL_clock = Label(WIN_jugar, text = " "+"0"+ "0" + " " + "0"+ "0" + " " + "0"+ "0" +" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
return
if pausa == False: #Comprueba que no haya una señal de pausa. Si es False no lo hay.
time.sleep(0.99)
s += 1
if m == 59 and s == 60:
h += 1
m = 0
s = 0
elif s == 60:
m += 1
s = 0
if s < 10 and m < 10 and h < 10:
LBL_segundos = Label(WIN_jugar, text = " "+"0"+str(h) + " " + "0"+str(m) + " " + "0"+str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
elif s >= 10 and m < 10 and h < 10:
LBL_segundos = Label(WIN_jugar, text = " "+"0"+str(h) + " " + "0"+str(m) + " " + str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
elif s >= 10 and m >= 10 and h < 10:
LBL_segundos = Label(WIN_jugar, text = " "+"0"+str(h) + " " + str(m) + " " + str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
elif s < 10 and m < 10 and h >= 10:
LBL_segundos = Label(WIN_jugar, text = " "+str(h) + " " + "0"+str(m) + " " + "0"+str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
elif s < 10 and m >= 10 and h >= 10:
LBL_segundos = Label(WIN_jugar, text = " "+str(h) + " " + str(m) + " " + "0"+str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
elif s < 10 and m >= 10 and h < 10:
LBL_segundos = Label(WIN_jugar, text = " "+"0"+str(h) + " " + str(m) + " " + "0"+str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
else:
LBL_segundos = Label(WIN_jugar, text = " "+str(h) + " " + str(m) + " " + str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
if h == 23 and m == 59 and s == 59:
break
messagebox.showinfo("Fin","Fin del juego, límite de reloj alcanzado.")
#—————————————————————————————————————————————————————————————Fin Clock————————————————————————————————————————————————————————————#
#————————————————————————————————————————————————————————————Cuadrícula————————————————————————————————————————————————————————————#
def cuadrícula():
sel = nivel_selec.get()
global BTN_00
global BTN_01
global BTN_02
global BTN_03
global BTN_04
global BTN_05
global BTN_06
global BTN_07
global BTN_08
global BTN_10
global BTN_11
global BTN_12
global BTN_13
global BTN_14
global BTN_15
global BTN_16
global BTN_17
global BTN_18
global BTN_20
global BTN_21
global BTN_22
global BTN_23
global BTN_24
global BTN_25
global BTN_26
global BTN_27
global BTN_28
global BTN_30
global BTN_31
global BTN_32
global BTN_33
global BTN_34
global BTN_35
global BTN_36
global BTN_37
global BTN_38
global BTN_40
global BTN_41
global BTN_42
global BTN_43
global BTN_44
global BTN_45
global BTN_46
global BTN_47
global BTN_48
global BTN_50
global BTN_51
global BTN_52
global BTN_53
global BTN_54
global BTN_55
global BTN_56
global BTN_57
global BTN_58
global BTN_60
global BTN_61
global BTN_62
global BTN_63
global BTN_64
global BTN_65
global BTN_66
global BTN_67
global BTN_68
global BTN_70
global BTN_71
global BTN_72
global BTN_73
global BTN_74
global BTN_75
global BTN_76
global BTN_77
global BTN_78
global BTN_80
global BTN_81
global BTN_82
global BTN_83
global BTN_84
global BTN_85
global BTN_86
global BTN_87
global BTN_88
global BTN_num1
global BTN_num2
global BTN_num3
global BTN_num4
global BTN_num5
global BTN_num6
global BTN_num7
global BTN_num8
global BTN_num9
global BTN_borrar
BTN_00=BTN_01=BTN_02=BTN_03=BTN_04=BTN_05=BTN_06=BTN_07=BTN_08=BTN_10=BTN_11=BTN_12=BTN_13=BTN_14=BTN_15=BTN_16=BTN_17=BTN_18=BTN_20=BTN_21=BTN_22=BTN_23=BTN_24=BTN_25=BTN_26=BTN_27=BTN_28=BTN_30=BTN_31=BTN_32=BTN_33=BTN_34=BTN_35=BTN_36=BTN_37=BTN_38=BTN_40=BTN_41=BTN_42=BTN_43=BTN_44=BTN_45=BTN_46=BTN_47=BTN_48=BTN_50=BTN_51=BTN_52=BTN_53=BTN_54=BTN_55=BTN_56=BTN_57=BTN_58 = Button
BTN_60=BTN_61=BTN_62=BTN_63=BTN_64=BTN_65=BTN_66=BTN_67=BTN_68=BTN_70=BTN_71=BTN_72=BTN_73=BTN_74=BTN_75=BTN_76=BTN_77=BTN_78=BTN_80=BTN_81=BTN_82=BTN_83=BTN_84=BTN_85=BTN_86=BTN_87=BTN_88=BTN_90=BTN_91=BTN_92=BTN_93=BTN_94=BTN_95=BTN_96=BTN_97=BTN_98=BTN_num1=BTN_num2=BTN_num3=BTN_num4=BTN_num5=BTN_num6=BTN_num7=BTN_num8=BTN_num9=BTN_borrar = Button
BTN_num1 = Button(WIN_jugar, height = 50, width = 50, image = IMG_BTN_num1, borderwidth = 0, command = lambda : FN_add("1"))
BTN_num2 = Button(WIN_jugar, height = 50, width = 50, image = IMG_BTN_num2, borderwidth = 0, command = lambda : FN_add("2"))
BTN_num3 = Button(WIN_jugar, height = 50, width = 50, image = IMG_BTN_num3, borderwidth = 0, command = lambda : FN_add("3"))
BTN_num4 = Button(WIN_jugar, height = 50, width = 50, image = IMG_BTN_num4, borderwidth = 0, command = lambda : FN_add("4"))
BTN_num5 = Button(WIN_jugar, height = 50, width = 50, image = IMG_BTN_num5, borderwidth = 0, command = lambda : FN_add("5"))
BTN_num6 = Button(WIN_jugar, height = 50, width = 50, image = IMG_BTN_num6, borderwidth = 0, command = lambda : FN_add("6"))
BTN_num7 = Button(WIN_jugar, height = 50, width = 50, image = IMG_BTN_num7, borderwidth = 0, command = lambda : FN_add("7"))
BTN_num8 = Button(WIN_jugar, height = 50, width = 50, image = IMG_BTN_num8, borderwidth = 0, command = lambda : FN_add("8"))
BTN_num9 = Button(WIN_jugar, height = 50, width = 50, image = IMG_BTN_num9, borderwidth = 0, command = lambda : FN_add("9"))
BTN_borrar = Button(WIN_jugar, image = IMG_BTN_WIN_jugar_borrar, height = 65, width = 65, borderwidth = 0, command = FN_borrar)
if sel == 33 or sel == 44 or sel == 55 or sel == 0 or sel == 77 or sel == 88 or sel == 99:
BTN_23 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("23"), state = DISABLED)
BTN_23.place (x = 285, y = 164)
BTN_24 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("24"), state = DISABLED)
BTN_24.place (x = 345, y = 164)
BTN_25 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("25"), state = DISABLED)
BTN_25.place (x = 405, y = 164)
BTN_33 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("33"), state = DISABLED)
BTN_33.place (x = 285, y = 216)
BTN_34 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("34"), state = DISABLED)
BTN_34.place (x = 345, y = 216)
BTN_35 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("35"), state = DISABLED)
BTN_35.place (x = 405, y = 216)
BTN_43 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("43"), state = DISABLED)
BTN_43.place (x = 285, y = 268)
BTN_44 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("44"), state = DISABLED)
BTN_44.place (x = 345, y = 268)
BTN_45 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("45"), state = DISABLED)
BTN_45.place (x = 405, y = 268)
if lado_selec.get() == 0:
BTN_num1.place (x = 680, y = 30)
BTN_num2.place (x = 680, y = 90)
BTN_num3.place (x = 680, y = 150)
BTN_borrar.place (x = 677, y = 220)
else:
BTN_num1.place (x = 20, y = 30)
BTN_num2.place (x = 20, y = 90)
BTN_num3.place (x = 20, y = 150)
BTN_borrar.place (x = 17, y = 220)
if sel == 44 or sel == 55 or sel == 0 or sel == 77 or sel == 88 or sel == 99:
BTN_22 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("22"), state = DISABLED)
BTN_22.place (x = 225, y = 164)
BTN_32 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("32"), state = DISABLED)
BTN_32.place (x = 225, y = 216)
BTN_42 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("42"), state = DISABLED)
BTN_42.place (x = 225, y = 268)
BTN_52 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("52"), state = DISABLED)
BTN_52.place (x = 225, y = 320)
BTN_53 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("53"), state = DISABLED)
BTN_53.place (x = 285, y = 320)
BTN_54 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("54"), state = DISABLED)
BTN_54.place (x = 345, y = 320)
BTN_55 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("55"), state = DISABLED)
BTN_55.place (x = 405, y = 320)
if lado_selec.get() == 0:
BTN_num4.place (x = 680, y = 210)
BTN_borrar.place (x = 677, y = 280)
else:
BTN_num4.place (x = 20, y = 210)
BTN_borrar.place (x = 17, y = 280)
if sel == 55 or sel == 0 or sel == 77 or sel == 88 or sel == 99:
BTN_26 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("26"), state = DISABLED)
BTN_26.place (x = 465, y = 164)
BTN_36 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("36"), state = DISABLED)
BTN_36.place (x = 465, y = 216)
BTN_46 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("46"), state = DISABLED)
BTN_46.place (x = 465, y = 268)
BTN_56 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("56"), state = DISABLED)
BTN_56.place (x = 465, y = 320)
BTN_62 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("62"), state = DISABLED)
BTN_62.place (x = 225, y = 372)
BTN_63 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("63"), state = DISABLED)
BTN_63.place (x = 285, y = 372)
BTN_64 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("64"), state = DISABLED)
BTN_64.place (x = 345, y = 372)
BTN_65 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("65"), state = DISABLED)
BTN_65.place (x = 405, y = 372)
BTN_66 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("66"), state = DISABLED)
BTN_66.place (x = 465, y = 372)
if lado_selec.get() == 0:
BTN_num5.place (x = 680, y = 270)
BTN_borrar.place (x = 677, y = 340)
else:
BTN_num5.place (x = 20, y = 270)
BTN_borrar.place (x = 17, y = 340)
if sel == 0 or sel == 77 or sel == 88 or sel == 99:
BTN_11 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("11"), state = DISABLED)
BTN_11.place (x = 165, y = 112)
BTN_12 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("12"), state = DISABLED)
BTN_12.place (x = 225, y = 112)
BTN_13 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("13"), state = DISABLED)
BTN_13.place (x = 285, y = 112)
BTN_14 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("14"), state = DISABLED)
BTN_14.place (x = 345, y = 112)
BTN_15 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("15"), state = DISABLED)
BTN_15.place (x = 405, y = 112)
BTN_16 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("16"), state = DISABLED)
BTN_16.place (x = 465, y = 112)
BTN_21 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("21"), state = DISABLED)
BTN_21.place (x = 165, y = 164)
BTN_31 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("31"), state = DISABLED)
BTN_31.place (x = 165, y = 216)
BTN_41 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("41"), state = DISABLED)
BTN_41.place (x = 165, y = 268)
BTN_51 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("51"), state = DISABLED)
BTN_51.place (x = 165, y = 320)
BTN_61 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("61"), state = DISABLED)
BTN_61.place (x = 165, y = 372)
if lado_selec.get() == 0:
BTN_num6.place (x = 680, y = 330)
BTN_borrar.place (x = 677, y = 400)
else:
BTN_num6.place (x = 20, y = 330)
BTN_borrar.place (x = 17, y = 400)
if sel == 77 or sel == 88 or sel == 99:
BTN_17 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("17"), state = DISABLED)
BTN_17.place (x = 525, y = 112)
BTN_27 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("27"), state = DISABLED)
BTN_27.place (x = 525, y = 164)
BTN_37 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("37"), state = DISABLED)
BTN_37.place (x = 525, y = 216)
BTN_47 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("47"), state = DISABLED)
BTN_47.place (x = 525, y = 268)
BTN_57 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("57"), state = DISABLED)
BTN_57.place (x = 525, y = 320)
BTN_67 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("67"), state = DISABLED)
BTN_67.place (x = 525, y = 372)
BTN_71 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("71"), state = DISABLED)
BTN_71.place (x = 165, y = 424)
BTN_72 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("72"), state = DISABLED)
BTN_72.place (x = 225, y = 424)
BTN_73 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("73"), state = DISABLED)
BTN_73.place (x = 285, y = 424)
BTN_74 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("74"), state = DISABLED)
BTN_74.place (x = 345, y = 424)
BTN_75 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("75"), state = DISABLED)
BTN_75.place (x = 405, y = 424)
BTN_76 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("76"), state = DISABLED)
BTN_76.place (x = 465, y = 424)
BTN_77 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("77"), state = DISABLED)
BTN_77.place (x = 525, y = 424)
if lado_selec.get() == 0:
BTN_num7.place (x = 680, y = 390)
BTN_borrar.place (x = 677, y = 460)
else:
BTN_num7.place (x = 20, y = 390)
BTN_borrar.place (x = 17, y = 460)
if sel == 88 or sel == 99:
BTN_00 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("00"), state = DISABLED)
BTN_00.place (x = 105, y = 60)
BTN_01 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("01"), state = DISABLED)
BTN_01.place (x = 165, y = 60)
BTN_02 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("02"), state = DISABLED)
BTN_02.place (x = 225, y = 60)
BTN_03 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("03"), state = DISABLED)
BTN_03.place (x = 285, y = 60)
BTN_04 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("04"), state = DISABLED)
BTN_04.place (x = 345, y = 60)
BTN_05 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("05"), state = DISABLED)
BTN_05.place (x = 405, y = 60)
BTN_06 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("06"), state = DISABLED)
BTN_06.place (x = 465, y = 60)
BTN_07 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("07"), state = DISABLED)
BTN_07.place (x = 525, y = 60)
BTN_10 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("10"), state = DISABLED)
BTN_10.place (x = 105, y = 112)
BTN_20 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("20"), state = DISABLED)
BTN_20.place (x = 105, y = 164)
BTN_30 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("30"), state = DISABLED)
BTN_30.place (x = 105, y = 216)
BTN_40 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("40"), state = DISABLED)
BTN_40.place (x = 105, y = 268)
BTN_50 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("50"), state = DISABLED)
BTN_50.place (x = 105, y = 320)
BTN_60 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("60"), state = DISABLED)
BTN_60.place (x = 105, y = 372)
BTN_70 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("70"), state = DISABLED)
BTN_70.place (x = 105, y = 424)
if lado_selec.get() == 0:
BTN_num8.place (x = 680, y = 450)
BTN_borrar.place (x = 677, y = 520)
else:
BTN_num8.place (x = 20, y = 450)
BTN_borrar.place (x = 17, y = 520)
if sel == 99:
BTN_08 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("08"), state = DISABLED)
BTN_08.place (x = 585, y = 60)
BTN_18 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("18"), state = DISABLED)
BTN_18.place (x = 585, y = 112)
BTN_28 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("28"), state = DISABLED)
BTN_28.place (x = 585, y = 164)
BTN_38 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("38"), state = DISABLED)
BTN_38.place (x = 585, y = 216)
BTN_48 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("48"), state = DISABLED)
BTN_48.place (x = 585, y = 268)
BTN_58 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("58"), state = DISABLED)
BTN_58.place (x = 585, y = 320)
BTN_68 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("68"), state = DISABLED)
BTN_68.place (x = 585, y = 372)
BTN_78 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("78"), state = DISABLED)
BTN_78.place (x = 585, y = 424)
BTN_80 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("80"), state = DISABLED)
BTN_80.place (x = 105, y = 476)
BTN_81 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("81"), state = DISABLED)
BTN_81.place (x = 165, y = 476)
BTN_82 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("82"), state = DISABLED)
BTN_82.place (x = 225, y = 476)
BTN_83 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = ("Helvetica Neue", 12, "bold"), borderwidth = 2, command = lambda : FN_BTNS("83"), state = DISABLED)
BTN_83.place (x = 285, y = 476)
BTN_84 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("84"), state = DISABLED)
BTN_84.place (x = 345, y = 476)
BTN_85 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("85"), state = DISABLED)
BTN_85.place (x = 405, y = 476)
BTN_86 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("86"), state = DISABLED)
BTN_86.place (x = 465, y = 476)
BTN_87 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("87"), state = DISABLED)
BTN_87.place (x = 525, y = 476)
BTN_88 = Button(WIN_jugar, height = 2, width = 5, bg = "white", font = (("Helvetica Neue", 12, "bold")), borderwidth = 2, command = lambda : FN_BTNS("88"), state = DISABLED)
BTN_88.place (x = 585, y = 476)
if lado_selec.get() == 0:
BTN_num9.place (x = 680, y = 510)
BTN_borrar.place (x = 585, y = 530)
else:
BTN_num9.place (x = 20, y = 510)
BTN_borrar.place (x = 100, y = 530)
cuadrícula_color()
def FN_juegos_probables(índice, lista_completa):
global elegido
global juegos_probables
global juego_num
if juego_num == 0:
juegos_probables = []
contador = 0
for i in lista_completa[índice]:
juegos_probables.append(contador)
contador += 1
elegido = random.choice(juegos_probables)
juegos_probables.remove(elegido)
elif otro_juego == True:
elegido = random.choice(juegos_probables)
juegos_probables.remove(elegido)
return elegido
def cuadrícula_color():
TXT_cuadrículas = open("kenken_juegos.dat","r")
TXT_cuadrículas_read = TXT_cuadrículas.read()
string = "["
lista_completa = []
lista_nivel = []
lista_juego = []
contador = 0
contador_nivel = 0
TXT_operaciones = open("Operaciones.txt","r")
TXT_operaciones_leer = TXT_operaciones.read()
string2 = "["
lista_completa2 = []
lista_nivel2 = []
contador_nivel2 = 0
global juego_num
global lst_juego_validar
global lst_validar
global lst_operaciones
global juego_num
global últ_btn
global lst_colores
global otro_juego
lst_colores = ["HotPink", "BlueViolet", "Sienna", "DarkGreen", "DarkMagenta", "DarkKhaki", "MediumSlateBlue", "SeaGreen", "LightSlateGrey", "Indigo", "Teal", "Olive", "LightSalmon", "Lime", "Orchid", "ForestGreen", "Gold", "MediumAquaMarine", "CadetBlue", "DarkGrey", "MediumVioletRed", "Magenta", "Plum", "Navy", "SpringGreen", "SkyBlue", "DarkOrange", "SandyBrown", "MediumBlue", "SaddleBrown", "RoyalBlue", "Tomato", "Brown", "RosyBrown", "SteelBlue", "BurlyWood", "DodgerBlue", "OrangeRed", "Khaki", "GreenYellow"]
índ_color = 0
contador_lst_colores = 0
sel = nivel_selec.get()
contador_for = 0
if sel == 33:
índice = 0
elif sel == 44:
índice = 1
elif sel == 55:
índice = 2
elif sel == 0:
índice = 3
elif sel == 77:
índice = 4
elif sel == 88:
índice = 5
elif sel == 99:
índice = 6
for i in TXT_cuadrículas_read:
if i != "[" and i != "]":
string += i
contador_control = 1
elif i == "]" and contador_control != 0:
string += i
lista_nivel.append(eval(string))
string = "["
contador_nivel += 1
if contador_nivel == 4:
lista_completa.append(lista_nivel)
lista_nivel = []
contador_nivel = 0
contador_control = 0
if juego_num == 0 or otro_juego == True:
elegido = FN_juegos_probables(índice, lista_completa)
lst_juego_validar = lista_completa[índice][elegido]
lst_validar = []
lst_temporal = []
for r in lista_completa[índice][elegido]:
for z in r:
lst_temporal.append("")
lst_validar.append(lst_temporal)
lst_temporal = []
for y in TXT_operaciones_leer:
if y != "[" and y != "]":
string2 += y
contador_control = 1
elif y == "]" and contador_control != 0:
string2 += y
lista_nivel2.append(eval(string2))
string2 = "["
contador_nivel2 += 1
if contador_nivel2 == 4:
lista_completa2.append(lista_nivel2)
lista_nivel2 = []
contador_nivel2 = 0
contador_control = 0
lst_operaciones = lista_completa2[índice][elegido]
elif juego_num != 0 and pausa == True:
FN_pausa ()
for j in lst_juego_validar:
contador_for += 1
if len(lst_colores) - índ_color == 1:
índ_color = 0
for f in j:
if sel == 33:
lista_nom = ["23","24","25","33","34","35","43","44","45"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45]
for p in lista_nom:
if str(f) == p and str(f) != but_press:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = lst_colores[índ_color], relief = RAISED)
if juego_num == 0 and contador_for == 1:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif contador_for == 1 and otro_juego == True:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif sel == 44:
lista_nom = ["23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(f) == p and str(f) != but_press:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = lst_colores[índ_color], relief = RAISED)
if juego_num == 0 and contador_for == 1:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif contador_for == 1 and otro_juego == True:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif sel == 55:
lista_nom = ["26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(f) == p and str(f) != but_press:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = lst_colores[índ_color], relief = RAISED)
if juego_num == 0 and contador_for == 1:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif contador_for == 1 and otro_juego == True:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif sel == 0:
lista_nom = ["11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(f) == p and str(f) != but_press:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = lst_colores[índ_color], relief = RAISED)
if juego_num == 0 and contador_for == 1:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif contador_for == 1 and otro_juego == True:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif sel == 77:
lista_nom = ["17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(f) == p and str(f) != but_press:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = lst_colores[índ_color], relief = RAISED)
if juego_num == 0 and contador_for == 1:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif contador_for == 1 and otro_juego == True:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif sel == 88:
lista_nom = ["00","01","02","03","04","05","06","07","10","20","30","40","50","60","70","17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(f) == p and str(f) != but_press:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = lst_colores[índ_color], relief = RAISED)
if juego_num == 0 and contador_for == 1:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif contador_for == 1 and otro_juego == True:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif sel == 99:
lista_nom = ["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","36","37","38","40","41","42","43","44","45","46","47","48","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","70","71","72","73","74","75","76","77","78","80","81","82","83","84","85","86","87","88"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for p in lista_nom:
if str(f) == p and str(f) != but_press:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = lst_colores[índ_color], relief = RAISED)
if juego_num == 0 and contador_for == 1:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
elif contador_for == 1 and otro_juego == True:
operaciones(str(f), lst_colores[índ_color], lst_operaciones[contador_lst_colores])
contador_lst_colores += 1
contador_for = 0
índ_color += 1
contador_lst_colores = 0
juego_num += 1
def operaciones(casilla, color, operación):
sel = nivel_selec.get()
#operación = "1+"
if sel == 33 or sel == 44 or sel == 55 or sel == 0 or sel == 77 or sel == 88 or sel == 99:
if casilla == "23":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 286, y = 165)
elif casilla == "24":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 346, y = 165)
elif casilla == "25":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 406, y = 165)
elif casilla == "33":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 286, y = 217)
elif casilla == "34":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 346, y = 217)
elif casilla == "35":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 406, y = 217)
elif casilla == "43":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 286, y = 269)
elif casilla == "44":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 346, y = 269)
elif casilla == "45":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 406, y = 269)
if sel == 44 or sel == 55 or sel == 0 or sel == 77 or sel == 88 or sel == 99:
if casilla == "22":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 226, y = 165)
elif casilla == "32":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 226, y = 217)
elif casilla == "42":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 226, y = 269)
elif casilla == "52":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 226, y = 321)
elif casilla == "53":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 286, y = 321)
elif casilla == "54":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 346, y = 321)
elif casilla == "55":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 406, y = 321)
if sel == 55 or sel == 0 or sel == 77 or sel == 88 or sel == 99:
if casilla == "26":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 466, y = 165)
elif casilla == "36":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 466, y = 217)
elif casilla == "46":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 466, y = 269)
elif casilla == "56":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 466, y = 321)
elif casilla == "62":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 226, y = 373)
elif casilla == "63":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 286, y = 373)
elif casilla == "64":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 346, y = 373)
elif casilla == "65":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 406, y = 373)
elif casilla == "66":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 466, y = 373)
if sel == 0 or sel == 77 or sel == 88 or sel == 99:
if casilla == "11":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 166, y = 113)
elif casilla == "12":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 226, y = 113)
elif casilla == "13":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 286, y = 113)
elif casilla == "14":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 346, y = 113)
elif casilla == "15":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 406, y = 113)
elif casilla == "16":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 466, y = 113)
elif casilla == "21":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 166, y = 165)
elif casilla == "31":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 166, y = 217)
elif casilla == "41":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 166, y = 269)
elif casilla == "51":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 166, y = 321)
elif casilla == "61":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 166, y = 373)
if sel == 77 or sel == 88 or sel == 99:
if casilla == "17":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 526, y = 113)
elif casilla == "27":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 526, y = 165)
elif casilla == "37":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 526, y = 217)
elif casilla == "47":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 526, y = 269)
elif casilla == "57":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 526, y = 321)
elif casilla == "67":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 526, y = 373)
elif casilla == "71":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 166, y = 425)
elif casilla == "72":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 226, y = 425)
elif casilla == "73":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 286, y = 425)
elif casilla == "74":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 346, y = 425)
elif casilla == "75":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 406, y = 425)
elif casilla == "76":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 466, y = 425)
elif casilla == "77":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 526, y = 425)
if sel == 88 or sel == 99:
if casilla == "00":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 106, y = 61)
elif casilla == "01":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 166, y = 61)
elif casilla == "02":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 226, y = 61)
elif casilla == "03":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 286, y = 61)
elif casilla == "04":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 346, y = 61)
elif casilla == "05":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 406, y = 61)
elif casilla == "06":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 466, y = 61)
elif casilla == "07":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 526, y = 61)
elif casilla == "10":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 106, y = 113)
elif casilla == "20":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 106, y = 165)
elif casilla == "30":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 106, y = 217)
elif casilla == "40":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 106, y = 269)
elif casilla == "50":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 106, y = 321)
elif casilla == "60":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 106, y = 373)
elif casilla == "70":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 106, y = 425)
if sel == 99:
if casilla == "08":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 586, y = 61)
elif casilla == "18":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 586, y = 113)
elif casilla == "28":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 586, y = 165)
elif casilla == "38":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 586, y = 217)
elif casilla == "48":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 586, y = 269)
elif casilla == "58":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 586, y = 321)
elif casilla == "68":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 586, y = 373)
elif casilla == "78":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 586, y = 425)
elif casilla == "80":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 106, y = 477)
elif casilla == "81":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 166, y = 477)
elif casilla == "82":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 226, y = 477)
elif casilla == "83":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 286, y = 477)
elif casilla == "84":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 346, y = 477)
elif casilla == "85":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 406, y = 477)
elif casilla == "86":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 466, y = 477)
elif casilla == "87":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 526, y = 477)
elif casilla == "88":
LBL_operación = Label(WIN_jugar, text = operación, font = ("Helvetica Neue", 8, "bold"), bg = color, fg = "White").place(x = 586, y = 477)
def validar (btn, num):
global lst_validar
lst_juego_validar
índ_validar_lst_juego = 0
if num != "*":
for i in lst_juego_validar:
for j in i:
if str(j) == str(btn):
x = lst_juego_validar[índ_validar_lst_juego].index(j)
lst_temporal_validar = lst_validar[índ_validar_lst_juego]
lst_temporal_validar.insert(x, int(num))
lst_temporal_validar.pop(x + 1)
return
índ_validar_lst_juego += 1
else:
for i in lst_juego_validar:
for j in i:
if str(j) == str(btn):
x = lst_juego_validar[índ_validar_lst_juego].index(j)
lst_temporal_validar = lst_validar[índ_validar_lst_juego]
lst_temporal_validar.pop(x)
lst_temporal_validar.insert(x, "")
return
índ_validar_lst_juego += 1
def FN_validar ():
global iniciado
global registrado
global terminar
if iniciado == False:
messagebox.showerror("Error", "El juego no se ha iniciado.")
return
contador = 0
índ_operación = 0
lst_operación = []
r = 0
msg_error = False
msg_terminar = True
sel = nivel_selec.get()
for i in lst_validar: #Inicia validación aritmética.
contador = 0
for j in i:
if j == "":
contador = 1
lst_operación = []
break
lst_operación.append(j)
if contador == 0 and lst_operación != []:
índice_validar = lst_validar[índ_operación]
if lst_operaciones[índ_operación][-1] == "+":
r_correcto = lst_operaciones[índ_operación][:-1]
for t in lst_operación:
r += t
lst_operación = []
if int(r) != int(r_correcto):
for j in lst_juego_validar[índ_operación]:
if sel == 33:
lista_nom = ["23","24","25","33","34","35","43","44","45"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 44:
lista_nom = ["23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 55:
lista_nom = ["26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 0:
lista_nom = ["11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 77:
lista_nom = ["17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 88:
lista_nom = ["00","01","02","03","04","05","06","07","10","20","30","40","50","60","70","17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 99:
lista_nom = ["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","36","37","38","40","41","42","43","44","45","46","47","48","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","70","71","72","73","74","75","76","77","78","80","81","82","83","84","85","86","87","88"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
r = 0
elif lst_operaciones[índ_operación][-1] == "-":
r_correcto = lst_operaciones[índ_operación][:-1]
r = lst_operación[0]
for t in lst_operación[1:]:
r -= t
lst_operación = []
if abs(r) != int(r_correcto):
for j in lst_juego_validar[índ_operación]:
if sel == 33:
lista_nom = ["23","24","25","33","34","35","43","44","45"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 44:
lista_nom = ["23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 55:
lista_nom = ["26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 0:
lista_nom = ["11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 77:
lista_nom = ["17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 88:
lista_nom = ["00","01","02","03","04","05","06","07","10","20","30","40","50","60","70","17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 99:
lista_nom = ["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","36","37","38","40","41","42","43","44","45","46","47","48","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","70","71","72","73","74","75","76","77","78","80","81","82","83","84","85","86","87","88"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
r = 0
elif lst_operaciones[índ_operación][-1] == "/":
r_correcto = lst_operaciones[índ_operación][:-1]
if lst_operación[0] > lst_operación[1]:
r = lst_operación[0] // lst_operación[1]
else:
r = lst_operación[1] // lst_operación[0]
lst_operación = []
if abs(r) != int(r_correcto):
for j in lst_juego_validar[índ_operación]:
if sel == 33:
lista_nom = ["23","24","25","33","34","35","43","44","45"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 44:
lista_nom = ["23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 55:
lista_nom = ["26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 0:
lista_nom = ["11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 77:
lista_nom = ["17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 88:
lista_nom = ["00","01","02","03","04","05","06","07","10","20","30","40","50","60","70","17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 99:
lista_nom = ["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","36","37","38","40","41","42","43","44","45","46","47","48","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","70","71","72","73","74","75","76","77","78","80","81","82","83","84","85","86","87","88"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
r = 0
elif lst_operaciones[índ_operación][-1] == "x":
r = 1
r_correcto = lst_operaciones[índ_operación][:-1]
for t in lst_operación:
r = r * t
lst_operación = []
if int(r) != int(r_correcto):
for j in lst_juego_validar[índ_operación]:
if sel == 33:
lista_nom = ["23","24","25","33","34","35","43","44","45"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 44:
lista_nom = ["23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 55:
lista_nom = ["26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 0:
lista_nom = ["11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 77:
lista_nom = ["17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 88:
lista_nom = ["00","01","02","03","04","05","06","07","10","20","30","40","50","60","70","17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
elif sel == 99:
lista_nom = ["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","36","37","38","40","41","42","43","44","45","46","47","48","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","70","71","72","73","74","75","76","77","78","80","81","82","83","84","85","86","87","88"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for p in lista_nom:
if str(j) == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
r = 0
else:
lst_operación = []
contador = 0
índ_operación += 1
contador_fila = 0
lst_fila0 = ["00", "01", "02", "03", "04", "05", "06", "07", "08"]
lst_fila0_validar = ["", "", "", "", "", "", "", "", ""]
lst_fila1 = ["10", "11", "12", "13", "14", "15", "16", "17", "18"]
lst_fila1_validar = ["", "", "", "", "", "", "", "", ""]
lst_fila2 = ["20", "21", "22", "23", "24", "25", "26", "27", "28"]
lst_fila2_validar = ["", "", "", "", "", "", "", "", ""]
lst_fila3 = ["30", "31", "32", "33", "34", "35", "36", "37", "38"]
lst_fila3_validar = ["", "", "", "", "", "", "", "", ""]
lst_fila4 = ["40", "41", "42", "43", "44", "45", "46", "47", "48"]
lst_fila4_validar = ["", "", "", "", "", "", "", "", ""]
lst_fila5 = ["50", "51", "52", "53", "54", "55", "56", "57", "58"]
lst_fila5_validar = ["", "", "", "", "", "", "", "", ""]
lst_fila6 = ["60", "61", "62", "63", "64", "65", "66", "67", "68"]
lst_fila6_validar = ["", "", "", "", "", "", "", "", ""]
lst_fila7 = ["70", "71", "72", "73", "74", "75", "76", "77", "78"]
lst_fila7_validar = ["", "", "", "", "", "", "", "", ""]
lst_fila8 = ["80", "81", "82", "83", "84", "85", "86", "87", "88"]
lst_fila8_validar = ["", "", "", "", "", "", "", "", ""]
lst_columna0 = ["00", "10", "20", "30", "40", "50", "60", "70", "80"]
lst_columna0_validar = ["", "", "", "", "", "", "", "", ""]
lst_columna1 = ["01", "11", "21", "31", "41", "51", "61", "71", "81"]
lst_columna1_validar = ["", "", "", "", "", "", "", "", ""]
lst_columna2 = ["02", "12", "22", "32", "42", "52", "62", "72", "82"]
lst_columna2_validar = ["", "", "", "", "", "", "", "", ""]
lst_columna3 = ["03", "13", "23", "33", "43", "53", "63", "73", "83"]
lst_columna3_validar = ["", "", "", "", "", "", "", "", ""]
lst_columna4 = ["04", "14", "24", "34", "44", "54", "64", "74", "84"]
lst_columna4_validar = ["", "", "", "", "", "", "", "", ""]
lst_columna5 = ["05", "15", "25", "35", "45", "55", "65", "75", "85"]
lst_columna5_validar = ["", "", "", "", "", "", "", "", ""]
lst_columna6 = ["06", "16", "26", "36", "46", "56", "66", "76", "86"]
lst_columna6_validar = ["", "", "", "", "", "", "", "", ""]
lst_columna7 = ["07", "17", "27", "37", "47", "57", "67", "77", "87"]
lst_columna7_validar = ["", "", "", "", "", "", "", "", ""]
lst_columna8 = ["08", "18", "28", "38", "48", "58", "68", "78", "88"]
lst_columna8_validar = ["", "", "", "", "", "", "", "", ""]
for b in lst_juego_validar:
for s in b:
if sel == 33:
if str(s) in lst_fila2:
índ_nom = lst_fila2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila2_validar.insert(índ_nom, int(elemento))
lst_fila2_validar.pop(índ_nom + 1)
elif str(s) in lst_fila3:
índ_nom = lst_fila3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila3_validar.insert(índ_nom, int(elemento))
lst_fila3_validar.pop(índ_nom + 1)
elif str(s) in lst_fila4:
índ_nom = lst_fila4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila4_validar.insert(índ_nom, int(elemento))
lst_fila4_validar.pop(índ_nom + 1)
#A continuación se agregan los valores necesarios para la validación de columnas en 3 x 3.
if str(s) in lst_columna3:
índ_nom = lst_columna3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna3_validar.insert(índ_nom, int(elemento))
lst_columna3_validar.pop(índ_nom + 1)
elif str(s) in lst_columna4:
índ_nom = lst_columna4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna4_validar.insert(índ_nom, int(elemento))
lst_columna4_validar.pop(índ_nom + 1)
elif str(s) in lst_columna5:
índ_nom = lst_columna5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna5_validar.insert(índ_nom, int(elemento))
lst_columna5_validar.pop(índ_nom + 1)
elif sel == 44:
if str(s) in lst_fila2:
índ_nom = lst_fila2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila2_validar.insert(índ_nom, int(elemento))
lst_fila2_validar.pop(índ_nom + 1)
elif str(s) in lst_fila3:
índ_nom = lst_fila3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila3_validar.insert(índ_nom, int(elemento))
lst_fila3_validar.pop(índ_nom + 1)
elif str(s) in lst_fila4:
índ_nom = lst_fila4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila4_validar.insert(índ_nom, int(elemento))
lst_fila4_validar.pop(índ_nom + 1)
elif str(s) in lst_fila5:
índ_nom = lst_fila5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila5_validar.insert(índ_nom, int(elemento))
lst_fila5_validar.pop(índ_nom + 1)
#A continuación se agregan los valores necesarios para la validación de columnas en 4 x 4.
if str(s) in lst_columna2:
índ_nom = lst_columna2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna2_validar.insert(índ_nom, int(elemento))
lst_columna2_validar.pop(índ_nom + 1)
elif str(s) in lst_columna3:
índ_nom = lst_columna3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna3_validar.insert(índ_nom, int(elemento))
lst_columna3_validar.pop(índ_nom + 1)
elif str(s) in lst_columna4:
índ_nom = lst_columna4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna4_validar.insert(índ_nom, int(elemento))
lst_columna4_validar.pop(índ_nom + 1)
elif str(s) in lst_columna5:
índ_nom = lst_columna5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna5_validar.insert(índ_nom, int(elemento))
lst_columna5_validar.pop(índ_nom + 1)
elif sel == 55:
if str(s) in lst_fila2:
índ_nom = lst_fila2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila2_validar.insert(índ_nom, int(elemento))
lst_fila2_validar.pop(índ_nom + 1)
elif str(s) in lst_fila3:
índ_nom = lst_fila3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila3_validar.insert(índ_nom, int(elemento))
lst_fila3_validar.pop(índ_nom + 1)
elif str(s) in lst_fila4:
índ_nom = lst_fila4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila4_validar.insert(índ_nom, int(elemento))
lst_fila4_validar.pop(índ_nom + 1)
elif str(s) in lst_fila5:
índ_nom = lst_fila5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila5_validar.insert(índ_nom, int(elemento))
lst_fila5_validar.pop(índ_nom + 1)
elif str(s) in lst_fila6:
índ_nom = lst_fila6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila6_validar.insert(índ_nom, int(elemento))
lst_fila6_validar.pop(índ_nom + 1)
#A continuación se agregan los valores necesarios para la validación de columnas en 5 x 5.
if str(s) in lst_columna2:
índ_nom = lst_columna2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna2_validar.insert(índ_nom, int(elemento))
lst_columna2_validar.pop(índ_nom + 1)
elif str(s) in lst_columna3:
índ_nom = lst_columna3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna3_validar.insert(índ_nom, int(elemento))
lst_columna3_validar.pop(índ_nom + 1)
elif str(s) in lst_columna4:
índ_nom = lst_columna4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna4_validar.insert(índ_nom, int(elemento))
lst_columna4_validar.pop(índ_nom + 1)
elif str(s) in lst_columna5:
índ_nom = lst_columna5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna5_validar.insert(índ_nom, int(elemento))
lst_columna5_validar.pop(índ_nom + 1)
elif str(s) in lst_columna6:
índ_nom = lst_columna6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna6_validar.insert(índ_nom, int(elemento))
lst_columna6_validar.pop(índ_nom + 1)
elif sel == 0:
if str(s) in lst_fila1:
índ_nom = lst_fila1.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila1_validar.insert(índ_nom, int(elemento))
lst_fila1_validar.pop(índ_nom + 1)
elif str(s) in lst_fila2:
índ_nom = lst_fila2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila2_validar.insert(índ_nom, int(elemento))
lst_fila2_validar.pop(índ_nom + 1)
elif str(s) in lst_fila3:
índ_nom = lst_fila3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila3_validar.insert(índ_nom, int(elemento))
lst_fila3_validar.pop(índ_nom + 1)
elif str(s) in lst_fila4:
índ_nom = lst_fila4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila4_validar.insert(índ_nom, int(elemento))
lst_fila4_validar.pop(índ_nom + 1)
elif str(s) in lst_fila5:
índ_nom = lst_fila5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila5_validar.insert(índ_nom, int(elemento))
lst_fila5_validar.pop(índ_nom + 1)
elif str(s) in lst_fila6:
índ_nom = lst_fila6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila6_validar.insert(índ_nom, int(elemento))
lst_fila6_validar.pop(índ_nom + 1)
#A continuación se agregan los valores necesarios para la validación de columnas en 6 x 6.
if str(s) in lst_columna1:
índ_nom = lst_columna1.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna1_validar.insert(índ_nom, int(elemento))
lst_columna1_validar.pop(índ_nom + 1)
elif str(s) in lst_columna2:
índ_nom = lst_columna2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna2_validar.insert(índ_nom, int(elemento))
lst_columna2_validar.pop(índ_nom + 1)
elif str(s) in lst_columna3:
índ_nom = lst_columna3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna3_validar.insert(índ_nom, int(elemento))
lst_columna3_validar.pop(índ_nom + 1)
elif str(s) in lst_columna4:
índ_nom = lst_columna4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna4_validar.insert(índ_nom, int(elemento))
lst_columna4_validar.pop(índ_nom + 1)
elif str(s) in lst_columna5:
índ_nom = lst_columna5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna5_validar.insert(índ_nom, int(elemento))
lst_columna5_validar.pop(índ_nom + 1)
elif str(s) in lst_columna6:
índ_nom = lst_columna6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna6_validar.insert(índ_nom, int(elemento))
lst_columna6_validar.pop(índ_nom + 1)
elif sel == 77:
if str(s) in lst_fila1:
índ_nom = lst_fila1.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila1_validar.insert(índ_nom, int(elemento))
lst_fila1_validar.pop(índ_nom + 1)
elif str(s) in lst_fila2:
índ_nom = lst_fila2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila2_validar.insert(índ_nom, int(elemento))
lst_fila2_validar.pop(índ_nom + 1)
elif str(s) in lst_fila3:
índ_nom = lst_fila3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila3_validar.insert(índ_nom, int(elemento))
lst_fila3_validar.pop(índ_nom + 1)
elif str(s) in lst_fila4:
índ_nom = lst_fila4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila4_validar.insert(índ_nom, int(elemento))
lst_fila4_validar.pop(índ_nom + 1)
elif str(s) in lst_fila5:
índ_nom = lst_fila5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila5_validar.insert(índ_nom, int(elemento))
lst_fila5_validar.pop(índ_nom + 1)
elif str(s) in lst_fila6:
índ_nom = lst_fila6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila6_validar.insert(índ_nom, int(elemento))
lst_fila6_validar.pop(índ_nom + 1)
elif str(s) in lst_fila7:
índ_nom = lst_fila7.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila7_validar.insert(índ_nom, int(elemento))
lst_fila7_validar.pop(índ_nom + 1)
#A continuación se agregan los valores necesarios para la validación de columnas en 7 x 7.
if str(s) in lst_columna1:
índ_nom = lst_columna1.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna1_validar.insert(índ_nom, int(elemento))
lst_columna1_validar.pop(índ_nom + 1)
elif str(s) in lst_columna2:
índ_nom = lst_columna2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna2_validar.insert(índ_nom, int(elemento))
lst_columna2_validar.pop(índ_nom + 1)
elif str(s) in lst_columna3:
índ_nom = lst_columna3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna3_validar.insert(índ_nom, int(elemento))
lst_columna3_validar.pop(índ_nom + 1)
elif str(s) in lst_columna4:
índ_nom = lst_columna4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna4_validar.insert(índ_nom, int(elemento))
lst_columna4_validar.pop(índ_nom + 1)
elif str(s) in lst_columna5:
índ_nom = lst_columna5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna5_validar.insert(índ_nom, int(elemento))
lst_columna5_validar.pop(índ_nom + 1)
elif str(s) in lst_columna6:
índ_nom = lst_columna6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna6_validar.insert(índ_nom, int(elemento))
lst_columna6_validar.pop(índ_nom + 1)
elif str(s) in lst_columna7:
índ_nom = lst_columna7.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna7_validar.insert(índ_nom, int(elemento))
lst_columna7_validar.pop(índ_nom + 1)
elif sel == 88:
if str(s) in lst_fila0:
índ_nom = lst_fila0.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila0_validar.insert(índ_nom, int(elemento))
lst_fila0_validar.pop(índ_nom + 1)
elif str(s) in lst_fila1:
índ_nom = lst_fila1.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila1_validar.insert(índ_nom, int(elemento))
lst_fila1_validar.pop(índ_nom + 1)
elif str(s) in lst_fila2:
índ_nom = lst_fila2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila2_validar.insert(índ_nom, int(elemento))
lst_fila2_validar.pop(índ_nom + 1)
elif str(s) in lst_fila3:
índ_nom = lst_fila3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila3_validar.insert(índ_nom, int(elemento))
lst_fila3_validar.pop(índ_nom + 1)
elif str(s) in lst_fila4:
índ_nom = lst_fila4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila4_validar.insert(índ_nom, int(elemento))
lst_fila4_validar.pop(índ_nom + 1)
elif str(s) in lst_fila5:
índ_nom = lst_fila5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila5_validar.insert(índ_nom, int(elemento))
lst_fila5_validar.pop(índ_nom + 1)
elif str(s) in lst_fila6:
índ_nom = lst_fila6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila6_validar.insert(índ_nom, int(elemento))
lst_fila6_validar.pop(índ_nom + 1)
elif str(s) in lst_fila7:
índ_nom = lst_fila7.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila7_validar.insert(índ_nom, int(elemento))
lst_fila7_validar.pop(índ_nom + 1)
#A continuación se agregan los valores necesarios para la validación de columnas en 8 x 8.
if str(s) in lst_columna0:
if str(s) == "00":
índ_nom = lst_columna0.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna0_validar.insert(índ_nom, int(elemento))
lst_columna0_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna0.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna0_validar.insert(índ_nom, int(elemento))
lst_columna0_validar.pop(índ_nom + 1)
elif str(s) in lst_columna1:
if str(s) == "01":
índ_nom = lst_columna1.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna1_validar.insert(índ_nom, int(elemento))
lst_columna1_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna1.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna1_validar.insert(índ_nom, int(elemento))
lst_columna1_validar.pop(índ_nom + 1)
elif str(s) in lst_columna2:
if str(s) == "02":
índ_nom = lst_columna2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna2_validar.insert(índ_nom, int(elemento))
lst_columna2_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna2_validar.insert(índ_nom, int(elemento))
lst_columna2_validar.pop(índ_nom + 1)
elif str(s) in lst_columna3:
if str(s) == "03":
índ_nom = lst_columna3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna3_validar.insert(índ_nom, int(elemento))
lst_columna3_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna3_validar.insert(índ_nom, int(elemento))
lst_columna3_validar.pop(índ_nom + 1)
elif str(s) in lst_columna4:
if str(s) == "04":
índ_nom = lst_columna4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna4_validar.insert(índ_nom, int(elemento))
lst_columna4_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna4_validar.insert(índ_nom, int(elemento))
lst_columna4_validar.pop(índ_nom + 1)
elif str(s) in lst_columna5:
if str(s) == "05":
índ_nom = lst_columna5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna5_validar.insert(índ_nom, int(elemento))
lst_columna5_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna5_validar.insert(índ_nom, int(elemento))
lst_columna5_validar.pop(índ_nom + 1)
elif str(s) in lst_columna6:
if str(s) == "06":
índ_nom = lst_columna6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna6_validar.insert(índ_nom, int(elemento))
lst_columna6_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna6_validar.insert(índ_nom, int(elemento))
lst_columna6_validar.pop(índ_nom + 1)
elif str(s) in lst_columna7:
if str(s) == "07":
índ_nom = lst_columna7.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna7_validar.insert(índ_nom, int(elemento))
lst_columna7_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna7.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna7_validar.insert(índ_nom, int(elemento))
lst_columna7_validar.pop(índ_nom + 1)
elif sel == 99:
if str(s) in lst_fila0:
índ_nom = lst_fila0.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila0_validar.insert(índ_nom, int(elemento))
lst_fila0_validar.pop(índ_nom + 1)
elif str(s) in lst_fila1:
índ_nom = lst_fila1.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila1_validar.insert(índ_nom, int(elemento))
lst_fila1_validar.pop(índ_nom + 1)
elif str(s) in lst_fila2:
índ_nom = lst_fila2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila2_validar.insert(índ_nom, int(elemento))
lst_fila2_validar.pop(índ_nom + 1)
elif str(s) in lst_fila3:
índ_nom = lst_fila3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila3_validar.insert(índ_nom, int(elemento))
lst_fila3_validar.pop(índ_nom + 1)
elif str(s) in lst_fila4:
índ_nom = lst_fila4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila4_validar.insert(índ_nom, int(elemento))
lst_fila4_validar.pop(índ_nom + 1)
elif str(s) in lst_fila5:
índ_nom = lst_fila5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila5_validar.insert(índ_nom, int(elemento))
lst_fila5_validar.pop(índ_nom + 1)
elif str(s) in lst_fila6:
índ_nom = lst_fila6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila6_validar.insert(índ_nom, int(elemento))
lst_fila6_validar.pop(índ_nom + 1)
elif str(s) in lst_fila7:
índ_nom = lst_fila7.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila7_validar.insert(índ_nom, int(elemento))
lst_fila7_validar.pop(índ_nom + 1)
elif str(s) in lst_fila8:
índ_nom = lst_fila8.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_fila8_validar.insert(índ_nom, int(elemento))
lst_fila8_validar.pop(índ_nom + 1)
#A continuación se agregan los valores necesarios para la validación de columnas en 8 x 8.
if str(s) in lst_columna0:
if str(s) == "00":
índ_nom = lst_columna0.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna0_validar.insert(índ_nom, int(elemento))
lst_columna0_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna0.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna0_validar.insert(índ_nom, int(elemento))
lst_columna0_validar.pop(índ_nom + 1)
elif str(s) in lst_columna1:
if str(s) == "01":
índ_nom = lst_columna1.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna1_validar.insert(índ_nom, int(elemento))
lst_columna1_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna1.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna1_validar.insert(índ_nom, int(elemento))
lst_columna1_validar.pop(índ_nom + 1)
elif str(s) in lst_columna2:
if str(s) == "02":
índ_nom = lst_columna2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna2_validar.insert(índ_nom, int(elemento))
lst_columna2_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna2.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna2_validar.insert(índ_nom, int(elemento))
lst_columna2_validar.pop(índ_nom + 1)
elif str(s) in lst_columna3:
if str(s) == "03":
índ_nom = lst_columna3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna3_validar.insert(índ_nom, int(elemento))
lst_columna3_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna3.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna3_validar.insert(índ_nom, int(elemento))
lst_columna3_validar.pop(índ_nom + 1)
elif str(s) in lst_columna4:
if str(s) == "04":
índ_nom = lst_columna4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna4_validar.insert(índ_nom, int(elemento))
lst_columna4_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna4.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna4_validar.insert(índ_nom, int(elemento))
lst_columna4_validar.pop(índ_nom + 1)
elif str(s) in lst_columna5:
if str(s) == "05":
índ_nom = lst_columna5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna5_validar.insert(índ_nom, int(elemento))
lst_columna5_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna5.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna5_validar.insert(índ_nom, int(elemento))
lst_columna5_validar.pop(índ_nom + 1)
elif str(s) in lst_columna6:
if str(s) == "06":
índ_nom = lst_columna6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna6_validar.insert(índ_nom, int(elemento))
lst_columna6_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna6.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna6_validar.insert(índ_nom, int(elemento))
lst_columna6_validar.pop(índ_nom + 1)
elif str(s) in lst_columna7:
if str(s) == "07":
índ_nom = lst_columna7.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna7_validar.insert(índ_nom, int(elemento))
lst_columna7_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna7.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna7_validar.insert(índ_nom, int(elemento))
lst_columna7_validar.pop(índ_nom + 1)
elif str(s) in lst_columna8:
if str(s) == "08":
índ_nom = lst_columna8.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(str(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna8_validar.insert(índ_nom, int(elemento))
lst_columna8_validar.pop(índ_nom + 1)
else:
índ_nom = lst_columna8.index(str(s))
índ_elemento = lst_juego_validar[contador_fila].index(int(s))
elemento = lst_validar[contador_fila][índ_elemento]
if elemento != "":
lst_columna8_validar.insert(índ_nom, int(elemento))
lst_columna8_validar.pop(índ_nom + 1)
contador_fila += 1
contador_fila = 1
contador_columna = 1
if sel == 33:
for q in lst_fila2_validar:
if q in lst_fila2_validar[contador_fila:] and q != "":
índ_elemento = lst_fila2_validar.index(q)
botón = lst_fila2[índ_elemento]
lista_nom = ["23","24","25"]
lista_btn = [BTN_23,BTN_24,BTN_25]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila3_validar:
if q in lst_fila3_validar[contador_fila:] and q != "":
índ_elemento = lst_fila3_validar.index(q)
botón = lst_fila3[índ_elemento]
lista_nom = ["33", "34", "35"]
lista_btn = [BTN_33,BTN_34,BTN_35]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila4_validar:
if q in lst_fila4_validar[contador_fila:] and q != "":
índ_elemento = lst_fila4_validar.index(q)
botón = lst_fila4[índ_elemento]
lista_nom = ["43", "44", "45"]
lista_btn = [BTN_43,BTN_44,BTN_45]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
#A continuación inicia validación de columnas en 3 x 3.
contador_columna = 1
for q in lst_columna3_validar:
if q in lst_columna3_validar[contador_columna:] and q != "":
índ_elemento = lst_columna3_validar.index(q)
botón = lst_columna3[índ_elemento]
lista_nom = ["23","33","43"]
lista_btn = [BTN_23,BTN_33,BTN_43]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna4_validar:
if q in lst_columna4_validar[contador_columna:] and q != "":
índ_elemento = lst_columna4_validar.index(q)
botón = lst_columna4[índ_elemento]
lista_nom = ["24","34","44"]
lista_btn = [BTN_24,BTN_34,BTN_44]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna5_validar:
if q in lst_columna5_validar[contador_columna:] and q != "":
índ_elemento = lst_columna5_validar.index(q)
botón = lst_columna5[índ_elemento]
lista_nom = ["25","35","45"]
lista_btn = [BTN_25,BTN_35,BTN_45]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
elif sel == 44:
for q in lst_fila2_validar:
if q in lst_fila2_validar[contador_fila:] and q != "":
índ_elemento = lst_fila2_validar.index(q)
botón = lst_fila2[índ_elemento]
lista_nom = ["22","23","24","25"]
lista_btn = [BTN_22,BTN_23,BTN_24,BTN_25]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila3_validar:
if q in lst_fila3_validar[contador_fila:] and q != "":
índ_elemento = lst_fila3_validar.index(q)
botón = lst_fila3[índ_elemento]
lista_nom = ["32","33", "34", "35"]
lista_btn = [BTN_32,BTN_33,BTN_34,BTN_35]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila4_validar:
if q in lst_fila4_validar[contador_fila:] and q != "":
índ_elemento = lst_fila4_validar.index(q)
botón = lst_fila4[índ_elemento]
lista_nom = ["42","43", "44", "45"]
lista_btn = [BTN_42,BTN_43,BTN_44,BTN_45]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila5_validar:
if q in lst_fila5_validar[contador_fila:] and q != "":
índ_elemento = lst_fila5_validar.index(q)
botón = lst_fila5[índ_elemento]
lista_nom = ["52","53", "54", "55"]
lista_btn = [BTN_52,BTN_53,BTN_54,BTN_55]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
#A continuación inicia validación de columnas en 4 x 4.
contador_columna = 1
for q in lst_columna2_validar:
if q in lst_columna2_validar[contador_columna:] and q != "":
índ_elemento = lst_columna2_validar.index(q)
botón = lst_columna2[índ_elemento]
lista_nom = ["22", "32", "42", "52"]
lista_btn = [BTN_22,BTN_32,BTN_42, BTN_52]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna3_validar:
if q in lst_columna3_validar[contador_columna:] and q != "":
índ_elemento = lst_columna3_validar.index(q)
botón = lst_columna3[índ_elemento]
lista_nom = ["23","33","43","53"]
lista_btn = [BTN_23,BTN_33,BTN_43, BTN_53]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna4_validar:
if q in lst_columna4_validar[contador_columna:] and q != "":
índ_elemento = lst_columna4_validar.index(q)
botón = lst_columna4[índ_elemento]
lista_nom = ["24","34","44","54"]
lista_btn = [BTN_24,BTN_34,BTN_44, BTN_54]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna5_validar:
if q in lst_columna5_validar[contador_columna:] and q != "":
índ_elemento = lst_columna5_validar.index(q)
botón = lst_columna5[índ_elemento]
lista_nom = ["25","35","45","55"]
lista_btn = [BTN_25,BTN_35,BTN_45, BTN_55]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
elif sel == 55:
for q in lst_fila2_validar:
if q in lst_fila2_validar[contador_fila:] and q != "":
índ_elemento = lst_fila2_validar.index(q)
botón = lst_fila2[índ_elemento]
lista_nom = ["22","23","24","25", "26"]
lista_btn = [BTN_22,BTN_23,BTN_24,BTN_25,BTN_26]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila3_validar:
if q in lst_fila3_validar[contador_fila:] and q != "":
índ_elemento = lst_fila3_validar.index(q)
botón = lst_fila3[índ_elemento]
lista_nom = ["32","33", "34", "35", "36"]
lista_btn = [BTN_32,BTN_33,BTN_34,BTN_35,BTN_36]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila4_validar:
if q in lst_fila4_validar[contador_fila:] and q != "":
índ_elemento = lst_fila4_validar.index(q)
botón = lst_fila4[índ_elemento]
lista_nom = ["42","43", "44", "45", "46"]
lista_btn = [BTN_42,BTN_43,BTN_44,BTN_45,BTN_46]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila5_validar:
if q in lst_fila5_validar[contador_fila:] and q != "":
índ_elemento = lst_fila5_validar.index(q)
botón = lst_fila5[índ_elemento]
lista_nom = ["52","53", "54", "55", "56"]
lista_btn = [BTN_52,BTN_53,BTN_54,BTN_55, BTN_56]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila6_validar:
if q in lst_fila6_validar[contador_fila:] and q != "":
índ_elemento = lst_fila6_validar.index(q)
botón = lst_fila6[índ_elemento]
lista_nom = ["62","63", "64", "65", "66"]
lista_btn = [BTN_62,BTN_63,BTN_64,BTN_65, BTN_66]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
#A continuación inicia validación de columnas en 5 x 5.
contador_columna = 1
for q in lst_columna2_validar:
if q in lst_columna2_validar[contador_columna:] and q != "":
índ_elemento = lst_columna2_validar.index(q)
botón = lst_columna2[índ_elemento]
lista_nom = ["22", "32", "42", "52","62"]
lista_btn = [BTN_22,BTN_32,BTN_42, BTN_52, BTN_62]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna3_validar:
if q in lst_columna3_validar[contador_columna:] and q != "":
índ_elemento = lst_columna3_validar.index(q)
botón = lst_columna3[índ_elemento]
lista_nom = ["23","33","43","53", "63"]
lista_btn = [BTN_23,BTN_33,BTN_43, BTN_53, BTN_63]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna4_validar:
if q in lst_columna4_validar[contador_columna:] and q != "":
índ_elemento = lst_columna4_validar.index(q)
botón = lst_columna4[índ_elemento]
lista_nom = ["24","34","44","54", "64"]
lista_btn = [BTN_24,BTN_34,BTN_44, BTN_54, BTN_64]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna5_validar:
if q in lst_columna5_validar[contador_columna:] and q != "":
índ_elemento = lst_columna5_validar.index(q)
botón = lst_columna5[índ_elemento]
lista_nom = ["25","35","45","55", "65"]
lista_btn = [BTN_25,BTN_35,BTN_45, BTN_55, BTN_65]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna6_validar:
if q in lst_columna6_validar[contador_columna:] and q != "":
índ_elemento = lst_columna6_validar.index(q)
botón = lst_columna6[índ_elemento]
lista_nom = ["26","36","46","56", "66"]
lista_btn = [BTN_26,BTN_36,BTN_46, BTN_56, BTN_66]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
elif sel == 0:
for q in lst_fila1_validar:
if q in lst_fila1_validar[contador_fila:] and q != "":
índ_elemento = lst_fila1_validar.index(q)
botón = lst_fila1[índ_elemento]
lista_nom = ["11","12","13","14","15", "16"]
lista_btn = [BTN_22,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila2_validar:
if q in lst_fila2_validar[contador_fila:] and q != "":
índ_elemento = lst_fila2_validar.index(q)
botón = lst_fila2[índ_elemento]
lista_nom = ["21","22","23","24","25", "26"]
lista_btn = [BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila3_validar:
if q in lst_fila3_validar[contador_fila:] and q != "":
índ_elemento = lst_fila3_validar.index(q)
botón = lst_fila3[índ_elemento]
lista_nom = ["31","32","33", "34", "35", "36"]
lista_btn = [BTN_21,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila4_validar:
if q in lst_fila4_validar[contador_fila:] and q != "":
índ_elemento = lst_fila4_validar.index(q)
botón = lst_fila4[índ_elemento]
lista_nom = ["41","42","43", "44", "45", "46"]
lista_btn = [BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila5_validar:
if q in lst_fila5_validar[contador_fila:] and q != "":
índ_elemento = lst_fila5_validar.index(q)
botón = lst_fila5[índ_elemento]
lista_nom = ["51","52","53", "54", "55", "56"]
lista_btn = [BTN_51,BTN_52,BTN_53,BTN_54,BTN_55, BTN_56]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila6_validar:
if q in lst_fila6_validar[contador_fila:] and q != "":
índ_elemento = lst_fila6_validar.index(q)
botón = lst_fila6[índ_elemento]
lista_nom = ["61","62","63", "64", "65", "66"]
lista_btn = [BTN_61,BTN_62,BTN_63,BTN_64,BTN_65, BTN_66]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
#A continuación inicia validación de columnas en 6 x 6.
contador_columna = 1
for q in lst_columna1_validar:
if q in lst_columna1_validar[contador_columna:] and q != "":
índ_elemento = lst_columna1_validar.index(q)
botón = lst_columna1[índ_elemento]
lista_nom = ["11","21", "31", "41", "51","61"]
lista_btn = [BTN_11,BTN_21,BTN_31,BTN_41, BTN_51, BTN_61]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna2_validar:
if q in lst_columna2_validar[contador_columna:] and q != "":
índ_elemento = lst_columna2_validar.index(q)
botón = lst_columna2[índ_elemento]
lista_nom = ["12","22", "32", "42", "52","62"]
lista_btn = [BTN_12,BTN_22,BTN_32,BTN_42, BTN_52, BTN_62]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna3_validar:
if q in lst_columna3_validar[contador_columna:] and q != "":
índ_elemento = lst_columna3_validar.index(q)
botón = lst_columna3[índ_elemento]
lista_nom = ["13","23","33","43","53", "63"]
lista_btn = [BTN_13,BTN_23,BTN_33,BTN_43, BTN_53, BTN_63]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna4_validar:
if q in lst_columna4_validar[contador_columna:] and q != "":
índ_elemento = lst_columna4_validar.index(q)
botón = lst_columna4[índ_elemento]
lista_nom = ["14","24","34","44","54", "64"]
lista_btn = [BTN_14,BTN_24,BTN_34,BTN_44, BTN_54, BTN_64]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna5_validar:
if q in lst_columna5_validar[contador_columna:] and q != "":
índ_elemento = lst_columna5_validar.index(q)
botón = lst_columna5[índ_elemento]
lista_nom = ["15","25","35","45","55", "65"]
lista_btn = [BTN_15,BTN_25,BTN_35,BTN_45, BTN_55, BTN_65]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna6_validar:
if q in lst_columna6_validar[contador_columna:] and q != "":
índ_elemento = lst_columna6_validar.index(q)
botón = lst_columna6[índ_elemento]
lista_nom = ["16","26","36","46","56", "66"]
lista_btn = [BTN_16,BTN_26,BTN_36,BTN_46, BTN_56, BTN_66]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
elif sel == 77:
for q in lst_fila1_validar:
if q in lst_fila1_validar[contador_fila:] and q != "":
índ_elemento = lst_fila1_validar.index(q)
botón = lst_fila1[índ_elemento]
lista_nom = ["11","12","13","14","15", "16", "17"]
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila2_validar:
if q in lst_fila2_validar[contador_fila:] and q != "":
índ_elemento = lst_fila2_validar.index(q)
botón = lst_fila2[índ_elemento]
lista_nom = ["21","22","23","24","25", "26","27"]
lista_btn = [BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila3_validar:
if q in lst_fila3_validar[contador_fila:] and q != "":
índ_elemento = lst_fila3_validar.index(q)
botón = lst_fila3[índ_elemento]
lista_nom = ["31","32","33", "34", "35", "36", "37"]
lista_btn = [BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila4_validar:
if q in lst_fila4_validar[contador_fila:] and q != "":
índ_elemento = lst_fila4_validar.index(q)
botón = lst_fila4[índ_elemento]
lista_nom = ["41","42","43", "44", "45", "46","47"]
lista_btn = [BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila5_validar:
if q in lst_fila5_validar[contador_fila:] and q != "":
índ_elemento = lst_fila5_validar.index(q)
botón = lst_fila5[índ_elemento]
lista_nom = ["51","52","53", "54", "55", "56","57"]
lista_btn = [BTN_51,BTN_52,BTN_53,BTN_54,BTN_55, BTN_56,BTN_57]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila6_validar:
if q in lst_fila6_validar[contador_fila:] and q != "":
índ_elemento = lst_fila6_validar.index(q)
botón = lst_fila6[índ_elemento]
lista_nom = ["61","62","63", "64", "65", "66","67"]
lista_btn = [BTN_61,BTN_62,BTN_63,BTN_64,BTN_65, BTN_66,BTN_67]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila7_validar:
if q in lst_fila7_validar[contador_fila:] and q != "":
índ_elemento = lst_fila7_validar.index(q)
botón = lst_fila7[índ_elemento]
lista_nom = ["71","72","73", "74", "75", "76","77"]
lista_btn = [BTN_71,BTN_72,BTN_73,BTN_74,BTN_75, BTN_76,BTN_77]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
#A continuación inicia validación de columnas en 7 x 7.
contador_columna = 1
for q in lst_columna1_validar:
if q in lst_columna1_validar[contador_columna:] and q != "":
índ_elemento = lst_columna1_validar.index(q)
botón = lst_columna1[índ_elemento]
lista_nom = ["11","21", "31", "41","51","61","71"]
lista_btn = [BTN_11,BTN_21,BTN_31,BTN_41, BTN_51, BTN_61,BTN_71]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna2_validar:
if q in lst_columna2_validar[contador_columna:] and q != "":
índ_elemento = lst_columna2_validar.index(q)
botón = lst_columna2[índ_elemento]
lista_nom = ["12","22", "32","42","52","62","72"]
lista_btn = [BTN_12,BTN_22,BTN_32,BTN_42, BTN_52, BTN_62,BTN_72]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna3_validar:
if q in lst_columna3_validar[contador_columna:] and q != "":
índ_elemento = lst_columna3_validar.index(q)
botón = lst_columna3[índ_elemento]
lista_nom = ["13","23","33","43","53","63","73"]
lista_btn = [BTN_13,BTN_23,BTN_33,BTN_43, BTN_53, BTN_63,BTN_73]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna4_validar:
if q in lst_columna4_validar[contador_columna:] and q != "":
índ_elemento = lst_columna4_validar.index(q)
botón = lst_columna4[índ_elemento]
lista_nom = ["14","24","34","44","54","64","74"]
lista_btn = [BTN_14,BTN_24,BTN_34,BTN_44, BTN_54, BTN_64,BTN_74]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna5_validar:
if q in lst_columna5_validar[contador_columna:] and q != "":
índ_elemento = lst_columna5_validar.index(q)
botón = lst_columna5[índ_elemento]
lista_nom = ["15","25","35","45","55","65","75"]
lista_btn = [BTN_15,BTN_25,BTN_35,BTN_45, BTN_55, BTN_65,BTN_75]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna6_validar:
if q in lst_columna6_validar[contador_columna:] and q != "":
índ_elemento = lst_columna6_validar.index(q)
botón = lst_columna6[índ_elemento]
lista_nom = ["16","26","36","46","56","66","67"]
lista_btn = [BTN_16,BTN_26,BTN_36,BTN_46, BTN_56, BTN_66,BTN_76]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna7_validar:
if q in lst_columna7_validar[contador_columna:] and q != "":
índ_elemento = lst_columna7_validar.index(q)
botón = lst_columna7[índ_elemento]
lista_nom = ["17","27","37","47","57","67","77"]
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47, BTN_57, BTN_67,BTN_77]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
elif sel == 88:
for q in lst_fila0_validar:
if q in lst_fila0_validar[contador_fila:] and q != "":
índ_elemento = lst_fila0_validar.index(q)
botón = lst_fila0[índ_elemento]
lista_nom = ["00","01","02","03","04","05", "06", "07"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07]
for z in lista_nom:
if str(botón) == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila1_validar:
if q in lst_fila1_validar[contador_fila:] and q != "":
índ_elemento = lst_fila1_validar.index(q)
botón = lst_fila1[índ_elemento]
lista_nom = ["10","11","12","13","14","15", "16", "17"]
lista_btn = [BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17]
for z in lista_nom:
if str(botón) == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila2_validar:
if q in lst_fila2_validar[contador_fila:] and q != "":
índ_elemento = lst_fila2_validar.index(q)
botón = lst_fila2[índ_elemento]
lista_nom = ["20","21","22","23","24","25", "26","27"]
lista_btn = [BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila3_validar:
if q in lst_fila3_validar[contador_fila:] and q != "":
índ_elemento = lst_fila3_validar.index(q)
botón = lst_fila3[índ_elemento]
lista_nom = ["30","31","32","33", "34", "35", "36", "37"]
lista_btn = [BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila4_validar:
if q in lst_fila4_validar[contador_fila:] and q != "":
índ_elemento = lst_fila4_validar.index(q)
botón = lst_fila4[índ_elemento]
lista_nom = ["40","41","42","43", "44", "45", "46","47"]
lista_btn = [BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila5_validar:
if q in lst_fila5_validar[contador_fila:] and q != "":
índ_elemento = lst_fila5_validar.index(q)
botón = lst_fila5[índ_elemento]
lista_nom = ["50","51","52","53", "54", "55", "56","57"]
lista_btn = [BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55, BTN_56,BTN_57]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila6_validar:
if q in lst_fila6_validar[contador_fila:] and q != "":
índ_elemento = lst_fila6_validar.index(q)
botón = lst_fila6[índ_elemento]
lista_nom = ["60","61","62","63", "64", "65", "66","67"]
lista_btn = [BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65, BTN_66,BTN_67]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila7_validar:
if q in lst_fila7_validar[contador_fila:] and q != "":
índ_elemento = lst_fila7_validar.index(q)
botón = lst_fila7[índ_elemento]
lista_nom = ["70","71","72","73", "74", "75", "76","77"]
lista_btn = [BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75, BTN_76,BTN_77]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
#A continuación inicia validación de columnas en 8 x 8.
contador_columna = 1
for q in lst_columna0_validar:
if q in lst_columna0_validar[contador_columna:] and q != "":
índ_elemento = lst_columna0_validar.index(q)
botón = lst_columna0[índ_elemento]
lista_nom = ["00","10","20", "30", "40","50","60","70"]
lista_btn = [BTN_00,BTN_10,BTN_20,BTN_30,BTN_40, BTN_50, BTN_60,BTN_70]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna1_validar:
if q in lst_columna1_validar[contador_columna:] and q != "":
índ_elemento = lst_columna1_validar.index(q)
botón = lst_columna1[índ_elemento]
lista_nom = ["01","11","21","31", "41","51","61","71"]
lista_btn = [BTN_01,BTN_11,BTN_21,BTN_31,BTN_41, BTN_51, BTN_61,BTN_71]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna2_validar:
if q in lst_columna2_validar[contador_columna:] and q != "":
índ_elemento = lst_columna2_validar.index(q)
botón = lst_columna2[índ_elemento]
lista_nom = ["02","12","22", "32","42","52","62","72"]
lista_btn = [BTN_02,BTN_12,BTN_22,BTN_32,BTN_42, BTN_52, BTN_62,BTN_72]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna3_validar:
if q in lst_columna3_validar[contador_columna:] and q != "":
índ_elemento = lst_columna3_validar.index(q)
botón = lst_columna3[índ_elemento]
lista_nom = ["03","13","23","33","43","53","63","73"]
lista_btn = [BTN_03,BTN_13,BTN_23,BTN_33,BTN_43, BTN_53, BTN_63,BTN_73]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna4_validar:
if q in lst_columna4_validar[contador_columna:] and q != "":
índ_elemento = lst_columna4_validar.index(q)
botón = lst_columna4[índ_elemento]
lista_nom = ["04","14","24","34","44","54","64","74"]
lista_btn = [BTN_04,BTN_14,BTN_24,BTN_34,BTN_44, BTN_54, BTN_64,BTN_74]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna5_validar:
if q in lst_columna5_validar[contador_columna:] and q != "":
índ_elemento = lst_columna5_validar.index(q)
botón = lst_columna5[índ_elemento]
lista_nom = ["05","15","25","35","45","55","65","75"]
lista_btn = [BTN_05,BTN_15,BTN_25,BTN_35,BTN_45, BTN_55, BTN_65,BTN_75]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna6_validar:
if q in lst_columna6_validar[contador_columna:] and q != "":
índ_elemento = lst_columna6_validar.index(q)
botón = lst_columna6[índ_elemento]
lista_nom = ["06","16","26","36","46","56","66","67"]
lista_btn = [BTN_06,BTN_16,BTN_26,BTN_36,BTN_46, BTN_56, BTN_66,BTN_76]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna7_validar:
if q in lst_columna7_validar[contador_columna:] and q != "":
índ_elemento = lst_columna7_validar.index(q)
botón = lst_columna7[índ_elemento]
lista_nom = ["07","17","27","37","47","57","67","77"]
lista_btn = [BTN_07,BTN_17,BTN_27,BTN_37,BTN_47, BTN_57, BTN_67,BTN_77]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
elif sel == 99:
for q in lst_fila0_validar:
if q in lst_fila0_validar[contador_fila:] and q != "":
índ_elemento = lst_fila0_validar.index(q)
botón = lst_fila0[índ_elemento]
lista_nom = ["00","01","02","03","04","05", "06", "07", "08"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08]
for z in lista_nom:
if str(botón) == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila1_validar:
if q in lst_fila1_validar[contador_fila:] and q != "":
índ_elemento = lst_fila1_validar.index(q)
botón = lst_fila1[índ_elemento]
lista_nom = ["10","11","12","13","14","15", "16", "17", "18"]
lista_btn = [BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18]
for z in lista_nom:
if str(botón) == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila2_validar:
if q in lst_fila2_validar[contador_fila:] and q != "":
índ_elemento = lst_fila2_validar.index(q)
botón = lst_fila2[índ_elemento]
lista_nom = ["20","21","22","23","24","25", "26","27", "28"]
lista_btn = [BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila3_validar:
if q in lst_fila3_validar[contador_fila:] and q != "":
índ_elemento = lst_fila3_validar.index(q)
botón = lst_fila3[índ_elemento]
lista_nom = ["30","31","32","33", "34", "35", "36", "37", "38"]
lista_btn = [BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila4_validar:
if q in lst_fila4_validar[contador_fila:] and q != "":
índ_elemento = lst_fila4_validar.index(q)
botón = lst_fila4[índ_elemento]
lista_nom = ["40","41","42","43", "44", "45", "46","47", "48"]
lista_btn = [BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila5_validar:
if q in lst_fila5_validar[contador_fila:] and q != "":
índ_elemento = lst_fila5_validar.index(q)
botón = lst_fila5[índ_elemento]
lista_nom = ["50","51","52","53", "54", "55", "56","57", "58"]
lista_btn = [BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55, BTN_56,BTN_57,BTN_58]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila6_validar:
if q in lst_fila6_validar[contador_fila:] and q != "":
índ_elemento = lst_fila6_validar.index(q)
botón = lst_fila6[índ_elemento]
lista_nom = ["60","61","62","63", "64", "65", "66","67", "68"]
lista_btn = [BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65, BTN_66,BTN_67,BTN_68]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila7_validar:
if q in lst_fila7_validar[contador_fila:] and q != "":
índ_elemento = lst_fila7_validar.index(q)
botón = lst_fila7[índ_elemento]
lista_nom = ["70","71","72","73", "74", "75", "76","77","78"]
lista_btn = [BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75, BTN_76,BTN_77,BTN_78]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
contador_fila = 1
for q in lst_fila8_validar:
if q in lst_fila8_validar[contador_fila:] and q != "":
índ_elemento = lst_fila8_validar.index(q)
botón = lst_fila8[índ_elemento]
lista_nom = ["80","81","82","83", "84", "85", "86","87","88"]
lista_btn = [BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85, BTN_86,BTN_87,BTN_88]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_fila += 1
#A continuación inicia validación de columnas en 9 x 9.
contador_columna = 1
for q in lst_columna0_validar:
if q in lst_columna0_validar[contador_columna:] and q != "":
índ_elemento = lst_columna0_validar.index(q)
botón = lst_columna0[índ_elemento]
lista_nom = ["00","10","20", "30", "40","50","60","70","80"]
lista_btn = [BTN_00,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_80]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna1_validar:
if q in lst_columna1_validar[contador_columna:] and q != "":
índ_elemento = lst_columna1_validar.index(q)
botón = lst_columna1[índ_elemento]
lista_nom = ["01","11","21","31","41","51","61","71","81"]
lista_btn = [BTN_01,BTN_11,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61,BTN_71,BTN_81]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna2_validar:
if q in lst_columna2_validar[contador_columna:] and q != "":
índ_elemento = lst_columna2_validar.index(q)
botón = lst_columna2[índ_elemento]
lista_nom = ["02","12","22", "32","42","52","62","72","82"]
lista_btn = [BTN_02,BTN_12,BTN_22,BTN_32,BTN_42, BTN_52, BTN_62,BTN_72,BTN_82]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna3_validar:
if q in lst_columna3_validar[contador_columna:] and q != "":
índ_elemento = lst_columna3_validar.index(q)
botón = lst_columna3[índ_elemento]
lista_nom = ["03","13","23","33","43","53","63","73","83"]
lista_btn = [BTN_03,BTN_13,BTN_23,BTN_33,BTN_43, BTN_53, BTN_63,BTN_73,BTN_83]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna4_validar:
if q in lst_columna4_validar[contador_columna:] and q != "":
índ_elemento = lst_columna4_validar.index(q)
botón = lst_columna4[índ_elemento]
lista_nom = ["04","14","24","34","44","54","64","74","84"]
lista_btn = [BTN_04,BTN_14,BTN_24,BTN_34,BTN_44, BTN_54, BTN_64,BTN_74,BTN_84]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna5_validar:
if q in lst_columna5_validar[contador_columna:] and q != "":
índ_elemento = lst_columna5_validar.index(q)
botón = lst_columna5[índ_elemento]
lista_nom = ["05","15","25","35","45","55","65","75","85"]
lista_btn = [BTN_05,BTN_15,BTN_25,BTN_35,BTN_45, BTN_55, BTN_65,BTN_75,BTN_85]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna6_validar:
if q in lst_columna6_validar[contador_columna:] and q != "":
índ_elemento = lst_columna6_validar.index(q)
botón = lst_columna6[índ_elemento]
lista_nom = ["06","16","26","36","46","56","66","76","86"]
lista_btn = [BTN_06,BTN_16,BTN_26,BTN_36,BTN_46, BTN_56, BTN_66,BTN_76,BTN_86]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna7_validar:
if q in lst_columna7_validar[contador_columna:] and q != "":
índ_elemento = lst_columna7_validar.index(q)
botón = lst_columna7[índ_elemento]
lista_nom = ["07","17","27","37","47","57","67","77","87"]
lista_btn = [BTN_07,BTN_17,BTN_27,BTN_37,BTN_47, BTN_57, BTN_67,BTN_77,BTN_87]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
contador_columna = 1
for q in lst_columna8_validar:
if q in lst_columna8_validar[contador_columna:] and q != "":
índ_elemento = lst_columna8_validar.index(q)
botón = lst_columna8[índ_elemento]
lista_nom = ["08","18","28","38","48","58","68","78","88"]
lista_btn = [BTN_08,BTN_18,BTN_28,BTN_38,BTN_48, BTN_58, BTN_68,BTN_78,BTN_88]
for z in lista_nom:
if botón == z:
índ_nom = lista_nom.index(z)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
msg_error = True
contador_columna += 1
if msg_error == True and terminar == False:
messagebox.showerror("Error", "Hay errores en el juego.")
return
for k in lst_validar:
for o in k:
if o == "":
return False
if msg_error == False and msg_terminar == True:
if terminar == False:
registrado = True
terminar = True
FN_top10(1)
if sonido_selec.get() == 1:
THRD_FN_sonido_aplausos = Thread (target = FN_sonido_aplausos, args = ())
THRD_FN_sonido_aplausos.start()
messagebox.showinfo("Terminado", "¡Felicitaciones, juego completado!")
resultado = messagebox.askquestion("Terminar", "¿Desea jugar otro KenKen del mismo nivel?")
if resultado == "yes":
FN_otro("validar")
else:
BTN_terminar.config(state = DISABLED)
BTN_validar.config(state = DISABLED)
BTN_menú_jugar.config(state = NORMAL)
return True
def FN_WIN_validar_completo ():
WIN_menú.withdraw()
global WIN_validar_completo
WIN_validar_completo.deiconify()
WIN_validar_completo.geometry("500x225")
WIN_validar_completo.title("Función Extra")
WIN_validar_completo.resizable(width = FALSE, height = FALSE)
centrar (WIN_validar_completo)
WIN_validar_completo.protocol("WM_DELETE_WINDOW", lambda : WIN_validar_completo.destroy())
global validar_completo_respuesta
LBL_título = Label(WIN_validar_completo, text = "Validación completa",font = ("Helvetica Neue", 18, "bold")).place(x = 150, y = 10)
LBL_validar_completo = Label(WIN_validar_completo, text = "Validar completo:", font = ("Helvetica Neue", 16, "bold")).place(x = 10, y = 60)
LBL_menú = Label(WIN_validar_completo, text = "Menú", font = (("Helvetica Neue", 15))).place (x = 181, y = 191)
LBL_jugar = Label(WIN_validar_completo, text = "Jugar", font = (("Helvetica Neue", 15))).place (x = 281, y = 191)
BTN_menú = Button(WIN_validar_completo, image = IMG_BTN_menú, height = 65, width = 65, borderwidth = 0, command = menú_volver).place (x = 175, y = 127)
BTN_jugar = Button(WIN_validar_completo, image = IMG_BTN_WIN_menú_configurar, height = 65, width = 65, borderwidth = 0, command = FN_THRDs).place (x = 275, y = 127)
RDB_validar_completo = Radiobutton(WIN_validar_completo, text = "Sí", font = ("Helvetica Neue", 14), variable = validar_completo_respuesta, value = 1).place(x = 195, y = 60)
RDB_validar_completo = Radiobutton(WIN_validar_completo, text = "No", font = ("Helvetica Neue", 14), variable = validar_completo_respuesta, value = 0).place(x = 195, y = 90)
def FN_validar_completo ():
contador = 0
contador2 = 0
índ_operación = 0
lst_operación = []
r = 0
msg_error = False
msg_terminar = True
sel = nivel_selec.get()
if sel == 33:
índice = 0
elif sel == 44:
índice = 1
elif sel == 55:
índice = 2
elif sel == 0:
índice = 3
elif sel == 77:
índice = 4
elif sel == 88:
índice = 5
elif sel == 99:
índice = 6
TXT_respuestas = open("Respuestas.txt","r")
TXT_respuestas_read = TXT_respuestas.read()
string = "["
lista_completa = []
lista_nivel = []
lista_juego = []
contador_nivel = 0
for i in TXT_respuestas_read:
if i != "[" and i != "]":
string += i
contador_control = 1
elif i == "]" and contador_control != 0:
string += i
lista_nivel.append(eval(string))
string = "["
contador_nivel += 1
if contador_nivel == 4:
lista_completa.append(lista_nivel)
lista_nivel = []
contador_nivel = 0
contador_control = 0
global registrado
global terminar
for i in lst_validar:
for j in i:
if j == "":
messagebox.showerror("Error", "Debe completar todas las casillas antes de validar completamente.")
return
for i in lst_validar:
for j in i:
if sel == 33:
if str(j) != str(lista_completa[índice][elegido][contador][contador2]):
botón = str(lst_juego_validar[contador][contador2])
lista_nom = ["23","24","25","33","34","35","43","44","45"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45]
for p in lista_nom:
if botón == str(p):
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
contador2 += 1
elif sel == 44:
if str(j) != str(lista_completa[índice][elegido][contador][contador2]):
botón = str(lst_juego_validar[contador][contador2])
lista_nom = ["23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(botón) == str(p):
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
contador2 += 1
else:
contador2 += 1
elif sel == 55:
if str(j) != str(lista_completa[índice][elegido][contador][contador2]):
botón = str(lst_juego_validar[contador][contador2])
lista_nom = ["26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(botón) == str(p):
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
contador2 += 1
else:
contador2 += 1
elif sel == 0:
if str(j) != str(lista_completa[índice][elegido][contador][contador2]):
botón = str(lst_juego_validar[contador][contador2])
lista_nom = ["11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(botón) == str(p):
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
contador2 += 1
else:
contador2 += 1
elif sel == 77:
if str(j) != str(lista_completa[índice][elegido][contador][contador2]):
botón = str(lst_juego_validar[contador][contador2])
lista_nom = ["17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(botón) == str(p):
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
contador2 += 1
else:
contador2 += 1
elif sel == 88:
if str(j) != str(lista_completa[índice][elegido][contador][contador2]):
botón = str(lst_juego_validar[contador][contador2])
lista_nom = ["00","01","02","03","04","05","06","07","10","20","30","40","50","60","70","17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for p in lista_nom:
if str(botón) == str(p):
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
contador2 += 1
else:
contador2 += 1
elif sel == 99:
if str(j) != str(lista_completa[índice][elegido][contador][contador2]):
botón = str(lst_juego_validar[contador][contador2])
lista_nom = ["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","36","37","38","40","41","42","43","44","45","46","47","48","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","70","71","72","73","74","75","76","77","78","80","81","82","83","84","85","86","87","88"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for p in lista_nom:
if str(botón) == str(p):
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(bg = "Red")
contador2 += 1
else:
contador2 += 1
contador2 = 0
contador += 1
def FN_BTNS(button):
global but_press
global otro_juego
but_press = button
otro_juego = False
lista_nom = ["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","36","37","38","40","41","42","43","44","45","46","47","48","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","70","71","72","73","74","75","76","77","78","80","81","82","83","84","85","86","87","88"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for p in lista_nom:
if button == p:
índ_nom = lista_nom.index(p)
elem_btn = lista_btn[índ_nom]
elem_btn.config(relief = SUNKEN, bg = "DarkTurquoise")
cuadrícula_color()
def FN_add (add):
if pausa == True:
FN_pausa ()
global but_press
a = but_press
cuadrícula_color()
if a == "":
messagebox.showerror("Error", "Primero debe seleccionar una casilla.")
return
validar(a, add)
sel = nivel_selec.get()
if sel == 33:
lista_nom = ["23","24","25","33","34","35","43","44","45"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = add, bg = "DarkTurquoise")
elif sel == 44:
lista_nom = ["23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = add, bg = "DarkTurquoise")
elif sel == 55:
lista_nom = ["26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = add, bg = "DarkTurquoise")
elif sel == 0:
lista_nom = ["11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = add, bg = "DarkTurquoise")
elif sel == 77:
lista_nom = ["17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = add, bg = "DarkTurquoise")
elif sel == 88:
lista_nom = ["00","01","02","03","04","05","06","07","10","20","30","40","50","60","70","17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = add, bg = "DarkTurquoise")
elif sel == 99:
lista_nom = ["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","36","37","38","40","41","42","43","44","45","46","47","48","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","70","71","72","73","74","75","76","77","78","80","81","82","83","84","85","86","87","88"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = add, bg = "DarkTurquoise")
def FN_borrar ():
if pausa == True:
FN_pausa ()
global but_press
a = but_press
if a == "":
messagebox.showerror("Error", "Primero debe seleccionar una casilla.")
return
validar(a, "*")
sel = nivel_selec.get()
if sel == 33:
lista_nom = ["23","24","25","33","34","35","43","44","45"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "")
elif sel == 44:
lista_nom = ["23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "")
elif sel == 55:
lista_nom = ["26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "")
elif sel == 0:
lista_nom = ["11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "")
elif sel == 77:
lista_nom = ["17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "")
elif sel == 88:
lista_nom = ["00","01","02","03","04","05","06","07","10","20","30","40","50","60","70","17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "")
elif sel == 99:
lista_nom = ["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","36","37","38","40","41","42","43","44","45","46","47","48","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","70","71","72","73","74","75","76","77","78","80","81","82","83","84","85","86","87","88"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for i in lista_nom:
if a == i:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "")
def FN_sonido_aplausos(): #Reproduce el sonido de aplausos si el usuario lo seleccionó.
winsound.PlaySound("SOUND_aplausos.wav", winsound.SND_FILENAME)
#———————————————————————————————————————————————————————————Fin Cuadrícula—————————————————————————————————————————————————————————#
#—————————————————————————————————————————————————————————————Terminar—————————————————————————————————————————————————————————————#
def FN_terminar ():
if iniciado == False:
messagebox.showerror("Error", "El juego no se ha iniciado.")
return
global pausa
if pausa == False:
pausa = True
resultado = messagebox.askquestion("Finalizar", "¿Está seguro de terminar el juego?")
if resultado == "yes":
global terminar
terminar = True
correcto = FN_validar ()
if correcto == True and registrado == False:
resultado2 = messagebox.askquestion("Guardar", "El juego está completo y correcto. ¿Desea guardar las estadísticas del juego?")
if resultado2 == "yes":
FN_top10 (1)
global juego_num
juego_num = 0
WIN_jugar.withdraw()
WIN_menú.deiconify()
else:
if pausa == True:
pausa = False
#———————————————————————————————————————————————————————————Fin Terminar———————————————————————————————————————————————————————————#
#——————————————————————————————————————————————————————————————Top 10——————————————————————————————————————————————————————————————#
def FN_top10 (a):
#TXT_top10 = eval(open("Top10.txt", "r").read()) #Abre el archivo, lo lee y lo convierte en diccionario.
sel = nivel_selec.get()
if sel == 33:
índice = 0
elif sel == 44:
índice = 1
elif sel == 55:
índice = 2
elif sel == 0:
índice = 3
elif sel == 77:
índice = 4
elif sel == 88:
índice = 5
elif sel == 99:
índice = 6
kenken_top10 = open("kenken_top10.dat","r")
kenken_top10_read = kenken_top10.read()
string = ""
lista = []
for i in kenken_top10_read:
if i != "]":
string += i
else:
string += i
if string == "]":
break
while string[1] == "[":
string = string[1:]
while string[0] != "[":
string = string[1:]
lista.append(eval(string))
string = ""
lst_nivel = lista[índice]
global h
global m
global s
global h2
global m2
global s2
if a == 1: #¿Escribir?
FN_pausa()
if a == 1 and timer_estado == False and clock_estado == True:
h2 = h
m2 = m
s2 = s
elif a == 1 and timer_estado == True and clock_estado == True:
h2 = (h + h2) - h2
m2 = (m + m2) - m2
s2 = (s + s2) - s2
contador = 0
agregado = 0
name = nombre.get()
if h2 < 9:
str_hora = "0" + str(h2)
else:
str_hora = str(h2)
if m2 < 9:
str_minuto = "0" + str(m2)
else:
str_minuto = str(m2)
if s2 < 9:
str_segundo = "0" + str(s2)
else:
str_segundo = str(s2)
tiempo = str_hora + str_minuto + str_segundo
if len(lst_nivel) < 10:
if len(lst_nivel) == 0:
lst_nivel.insert(contador, (name, tiempo))
else:
for j in lst_nivel:
if int(j[1]) > int(tiempo):
lst_nivel.insert(contador, (name, tiempo))
agregado = 1
break
elif int(j[1]) == int(tiempo):
lst_nivel.insert(contador + 1, (name, tiempo))
agregado = 1
break
contador += 1
if agregado == 0:
lst_nivel.append((name, tiempo))
contador = 0
agregado = 0
else:
for j in lst_nivel:
if int(j[1]) > int(tiempo):
lst_nivel.pop(contador)
lst_nivel.insert(contador, (name, tiempo))
break
elif int(j[1]) == int(tiempo):
lst_nivel.insert(contador + 1, (name, tiempo))
lst_nivel.pop()
agregado = 1
break
contador += 1
contador = 0
kenken_top10 = open("kenken_top10.dat","w")
kenken_top10.write(str(lista))
else:
y = 70
pos = 1
for k in lst_nivel:
name = k[0]
tiempo = k[1]
lbl_top10 = Label(WIN_top10, text = str(pos) + ". " + name, font = (("Helvetica Neue", 12))).place (x = 5, y = y)
lbl_top10_tiempo = Label(WIN_top10, text = tiempo[:2] + " : " + tiempo[2:4] + " : " + tiempo[4:], font = (("Helvetica Neue", 12))).place (x = 416, y = y)
pos += 1
y += 30
def WIN_top10 ():
#WIN_jugar.withdraw()
global WIN_top10
WIN_top10 = Toplevel()
WIN_top10.geometry("620x370")
WIN_top10.title("Top 10")
WIN_top10.resizable(width = FALSE, height = FALSE)
centrar (WIN_top10)
WIN_top10.protocol("WM_DELETE_WINDOW", lambda : WIN_top10.destroy())
sel = nivel_selec.get()
if sel == 33:
top_lvl = "3 x 3"
elif sel == 44:
top_lvl = "4 x 4"
elif sel == 55:
top_lvl = "5 x 5"
elif sel == 0:
top_lvl = "6 x 6"
elif sel == 77:
top_lvl = "7 x 7"
elif sel == 88:
top_lvl = "8 x 8"
elif sel == 99:
top_lvl = "9 x 9"
LBL_título = Label(WIN_top10, text = "Top 10 - " + top_lvl, font = (("Helvetica Neue", 16, "bold"))).place (x = 260, y = 10)
LBL_nombre = Label(WIN_top10, text = "Nombre", font = (("Helvetica Neue", 13, "bold"))).place (x = 5, y = 40)
LBL_horas = Label(WIN_top10, text = "Horas", font = (("Helvetica Neue", 13, "bold"))).place (x = 400, y = 40)
LBL_minutos = Label(WIN_top10, text = "Minutos", font = (("Helvetica Neue", 13, "bold"))).place (x = 461, y = 40)
LBL_segundos = Label(WIN_top10, text = "Segundos", font = (("Helvetica Neue", 13, "bold"))).place (x = 534, y = 40)
FN_top10(0)
#————————————————————————————————————————————————————————————Fin Top 10————————————————————————————————————————————————————————————#
#————————————————————————————————————————————————————————————————————Fin Ventana Jugar——————————————————————————————————————————————————————————————————#
#———————————————————————————————————————————————————————————————————Ventana Configurar——————————————————————————————————————————————————————————————————#
def FN_WIN_configurar ():
WIN_menú.withdraw()
global WIN_configurar
WIN_configurar = Toplevel()
WIN_configurar.protocol("WM_DELETE_WINDOW", lambda : WIN_configurar.destroy())
WIN_configurar.geometry("600x600")
WIN_configurar.title("Configurar KENKEN")
WIN_configurar.resizable(width = FALSE, height = FALSE)
centrar (WIN_configurar)
global nivel_selec
nivel_selec = IntVar()
global reloj_selec
reloj_selec = IntVar()
global lado_selec
lado_selec = IntVar()
global sonido_selec
sonido_selec = IntVar()
BTN_menú = Button(WIN_configurar, image = IMG_BTN_menú, height = 65, width = 65, borderwidth = 0, command = menú_volver).place (x = 210, y = 500)
BTN_jugar = Button(WIN_configurar, image = IMG_BTN_WIN_menú_configurar, height = 65, width = 65, borderwidth = 0, command = FN_WIN_jugar).place (x = 320, y = 500)
LBL_título = Label(WIN_configurar, text = "Configuración", font = ("Helvetica Neue", 18, "bold")).place(x = 220, y = 10)
LBL_nivel = Label(WIN_configurar, text = "Nivel", font = ("Helvetica Neue", 14, "bold")).place(x = 27, y = 55)
LBL_reloj = Label(WIN_configurar, text = "Reloj", font = ("Helvetica Neue", 14, "bold")).place(x = 170, y = 55)
LBL_panel_pos = Label(WIN_configurar, text = "Posición del panel de números y el borrador:", font = ("Helvetica Neue", 13, "bold")).place(x = 27, y = 370)
LBL_sonido = Label(WIN_configurar, text = "Sonido cuando termina el juego exitosamente:", font = ("Helvetica Neue", 13, "bold")).place(x = 27, y = 440)
LBL_menú = Label(WIN_configurar, text = "Menú", font = ("Helvetica Neue", 12)).place(x = 221, y = 566)
LBL_jugar = Label(WIN_configurar, text = "Jugar", font = ("Helvetica Neue", 12)).place(x = 331, y = 566)
RDB_nivel_3x3 = Radiobutton(WIN_configurar, text = "3 x 3", font = ("Helvetica Neue", 14), variable = nivel_selec, value = 33).place(x = 27, y = 85)
RDB_nivel_4x4 = Radiobutton(WIN_configurar, text = "4 x 4", font = ("Helvetica Neue", 14), variable = nivel_selec, value = 44).place(x = 27, y = 115)
RDB_nivel_5x5 = Radiobutton(WIN_configurar, text = "5 x 5", font = ("Helvetica Neue", 14), variable = nivel_selec, value = 55).place(x = 27, y = 145)
RDB_nivel_6x6 = Radiobutton(WIN_configurar, text = "6 x 6", font = ("Helvetica Neue", 14), variable = nivel_selec, value = 0).place(x = 27, y = 175)
RDB_nivel_7x7 = Radiobutton(WIN_configurar, text = "7 x 7", font = ("Helvetica Neue", 14), variable = nivel_selec, value = 77).place(x = 27, y = 205)
RDB_nivel_8x8 = Radiobutton(WIN_configurar, text = "8 x 8", font = ("Helvetica Neue", 14), variable = nivel_selec, value = 88).place(x = 27, y = 235)
RDB_nivel_9x9 = Radiobutton(WIN_configurar, text = "9 x 9", font = ("Helvetica Neue", 14), variable = nivel_selec, value = 99).place(x = 27, y = 265)
RDB_reloj_sí = Radiobutton(WIN_configurar, text = "Sí", font = ("Helvetica Neue", 14), variable = reloj_selec, value = 0).place(x = 170, y = 85)
RDB_reloj_no = Radiobutton(WIN_configurar, text = "No", font = ("Helvetica Neue", 14), variable = reloj_selec, value = 1).place(x = 170, y = 115)
RDB_reloj_timer = Radiobutton(WIN_configurar, text = "Timer", font = ("Helvetica Neue", 14), variable = reloj_selec, value = 2, command = FN_timer_configurar).place(x = 170, y = 145)
RDB_derecha = Radiobutton(WIN_configurar, text = "Derecha", font = ("Helvetica Neue", 14), variable = lado_selec, value = 0).place(x = 392 , y = 366)
RDB_izquierda = Radiobutton(WIN_configurar, text = "Izquierda", font = ("Helvetica Neue", 14), variable = lado_selec, value = 1).place(x = 392 , y = 396)
RBD_sonido_no = Radiobutton(WIN_configurar, text = "No", font = ("Helvetica Neue", 14), variable = sonido_selec, value = 0).place(x = 392 , y = 436)
RBD_sonido_sí = Radiobutton(WIN_configurar, text = "Sí", font = ("Helvetica Neue", 14), variable = sonido_selec, value = 1).place(x = 392 , y = 466)
def menú_volver (): #Regresar al menú principal, lo utilizan las WIN jugar, configurar, validar y ayuda.
global juego_num
global iniciado
iniciado = False
if reloj_selec.get() == 2 and juego_num == 0:
if default_horas.get() == "0" and default_minutos.get() == "0" and default_segundos.get() == "0":
messagebox.showerror("Error", "Si selecciona el timer los segundos, los minutos o las horas deben ser mayores a 0.")
return
juego_num = 0
WIN_jugar.withdraw()
WIN_configurar.withdraw()
WIN_validar_completo.withdraw()
WIN_ayuda.withdraw()
WIN_menú.deiconify()
def FN_timer_configurar ():
global default_horas
default_horas = StringVar()
global default_minutos
default_minutos = StringVar()
global default_segundos
default_segundos = StringVar()
default_horas.set("0")#Valor default de los SPNBX.
default_minutos.set("0")
default_segundos.set("0")
LBL_horas = Label(WIN_configurar, text = "Horas", font = ("Helvetica Neue", 13)).place(x = 300, y = 55)
LBL_minutos = Label(WIN_configurar, text = "Minutos", font = ("Helvetica Neue", 13)).place(x = 355, y = 55)
LBL_segundos = Label(WIN_configurar, text = "Segundos", font = ("Helvetica Neue", 13)).place(x = 420, y = 55)
LBL_sugeridos = Label(WIN_configurar, text = "Tiempos sugeridos:", font = ("Helvetica Neue", 13)).place(x = 300, y = 130)
SPNBX_horas = Spinbox(WIN_configurar, width = 2, font = ("Helvetica Neue", 12), from_ = 0, to = 3, textvariable = default_horas, wrap = True).place(x = 308, y = 90)
SPNBX_minutos = Spinbox(WIN_configurar, width = 2, font = ("Helvetica Neue", 12), from_ = 0, to = 59, textvariable = default_minutos, wrap = True).place(x = 370, y = 90)
SPNBX_segundos = Spinbox(WIN_configurar, width = 2, font = ("Helvetica Neue", 12), from_ = 0, to = 59, textvariable = default_segundos, wrap = True).place(x = 440, y = 90)
LBL_sugerido3x3 = Label(WIN_configurar, text = "• Para el nivel 3 x 3: 5 minutos.", font = ("Helvetica Neue", 11)).place(x = 300, y = 160)
LBL_sugerido4x4 = Label(WIN_configurar, text = "• Para el nivel 4 x 4: 10 minutos.", font = ("Helvetica Neue", 11)).place(x = 300, y = 190)
LBL_sugerido5x5 = Label(WIN_configurar, text = "• Para el nivel 5 x 5: 20 minutos.", font = ("Helvetica Neue", 11)).place(x = 300, y = 220)
LBL_sugerido6x6 = Label(WIN_configurar, text = "• Para el nivel 6 x 6: 25 minutos.", font = ("Helvetica Neue", 11)).place(x = 300, y = 250)
LBL_sugerido7x7 = Label(WIN_configurar, text = "• Para el nivel 7 x 7: 30 minutos.", font = ("Helvetica Neue", 11)).place(x = 300, y = 280)
LBL_sugerido8x8 = Label(WIN_configurar, text = "• Para el nivel 8 x 8: 35 minutos.", font = ("Helvetica Neue", 11)).place(x = 300, y = 310)
LBL_sugerido9x9 = Label(WIN_configurar, text = "• Para el nivel 9 x 9: 40 minutos.", font = ("Helvetica Neue", 11)).place(x = 300, y = 340)
def FN_timer ():
global timer_estado
timer_estado = True
global resultado
resultado = ""
global h
global m
global s
global h2
h2 = 0
global m2
m2 = 0
global s2
s2 = 0
h = int(default_horas.get())
m = int(default_minutos.get())
s = int(default_segundos.get())
while h != 0 or m != 0 or s >= 0:
if terminar == True:
LBL_clock = Label(WIN_jugar, text = " "+"0"+ "0" + " " + "0"+ "0" + " " + "0"+ "0" +" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
return
if pausa == False:
if s < 10 and m < 10 and h < 10:
LBL_segundos = Label(WIN_jugar, text = " "+"0"+str(h) + " " + "0"+str(m) + " " + "0"+str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
elif s >= 10 and m < 10 and h < 10:
LBL_segundos = Label(WIN_jugar, text = " "+"0"+str(h) + " " + "0"+str(m) + " " + str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
elif s >= 10 and m >= 10 and h < 10:
LBL_segundos = Label(WIN_jugar, text = " "+"0"+str(h) + " " + str(m) + " " + str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
elif s < 10 and m < 10 and h >= 10:
LBL_segundos = Label(WIN_jugar, text = " "+str(h) + " " + "0"+str(m) + " " + "0"+str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
elif s < 10 and m >= 10 and h >= 10:
LBL_segundos = Label(WIN_jugar, text = " "+str(h) + " " + str(m) + " " + "0"+str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
elif s < 10 and m >= 10 and h < 10:
LBL_segundos = Label(WIN_jugar, text = " "+"0"+str(h) + " " + str(m) + " " + "0"+str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
else:
LBL_segundos = Label(WIN_jugar, text = " "+str(h) + " " + str(m) + " " + str(s)+" ", font = ("Helvetica Neue", 16)).place(x = 774, y = 44)
time.sleep(0.99)
s2 += 1
if m2 == 59 and s == 60:
h2 += 1
m2 = 0
s2 = 0
elif s2 == 60:
m2 += 1
s2 = 0
if m > 0 and s == 0:
m -= 1
s = 59
elif h > 0 and m == 0 and s == 0:
h -= 1
m = 59
s = 59
elif h == 0 and m == 0 and s == 0:
h = int(default_horas.get())
m = int(default_minutos.get())
s = int(default_segundos.get())
if terminar == False and iniciado == True:
resultado = messagebox.askquestion("Tiempo agotado", "El timer finalizó. ¿Desea continuar?")
if resultado == "yes":
clock()
return
messagebox.showinfo("Terminado", "Juego terminado.")
return
s -= 1
def FN_otro (a):
global juego_num
global otro_juego
global terminar
global iniciado
global but_press
global h
global m
global s
if a == "otro":
if iniciado == False:
messagebox.showerror("Error", "El juego no se ha iniciado.")
return
resultado = messagebox.askquestion("Otro juego", "¿Está seguro de terminar este juego y empezar con otro?")
else:
resultado = "yes"
if resultado == "yes":
terminar = True
iniciado = False
but_press = ""
h = 0
m = 0
s = 0
WIN_jugar.withdraw()
if len(juegos_probables) == 0:
juego_num = 0
otro_juego = True
FN_THRDs()
def FN_reiniciar ():
global terminar
global iniciado
global otro_juego
global but_press
global h
global m
global s
if iniciado == False:
messagebox.showerror("Error", "El juego no se ha iniciado.")
return
resultado = messagebox.askquestion("Reiniciar", "¿Está seguro de reiniciar el juego? Perderá todo el progreso.")
if resultado == "yes":
terminar = True
iniciado = False
otro_juego = False
but_press = ""
h = 0
m = 0
s = 0
BTN_iniciar.config(state = NORMAL)
TXT_nombre.config(state = NORMAL)
BTN_terminar.config(state = NORMAL)
BTN_validar.config(state = NORMAL)
BTN_menú_jugar.config(state = DISABLED)
but_press = ""
cuadrícula_color()
sel = nivel_selec.get()
if sel == 33:
lista_nom = ["23","24","25","33","34","35","43","44","45"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45]
for i in lista_nom:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "", state = DISABLED)
elif sel == 44:
lista_nom = ["23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "", state = DISABLED)
elif sel == 55:
lista_nom = ["26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "", state = DISABLED)
elif sel == 0:
lista_nom = ["11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "", state = DISABLED)
elif sel == 77:
lista_nom = ["17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "", state = DISABLED)
elif sel == 88:
lista_nom = ["00","01","02","03","04","05","06","07","10","20","30","40","50","60","70","17","27","37","47","57","67","71","72","73","74","75","76","77","11","12","13","14","15","16","21","31","41","51","61","26","36","46","56","62","63","64","65","66","23","24","25","33","34","35","43","44","45","22","32","42","52","53","54","55"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_10,BTN_20,BTN_30,BTN_40,BTN_50,BTN_60,BTN_70,BTN_17,BTN_27,BTN_37,BTN_47,BTN_57,BTN_67,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_21,BTN_31,BTN_41,BTN_51,BTN_61, BTN_26,BTN_36,BTN_46,BTN_56,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_23,BTN_24,BTN_25,BTN_33,BTN_34,BTN_35,BTN_43,BTN_44,BTN_45,BTN_22,BTN_32,BTN_42,BTN_52,BTN_53,BTN_54,BTN_55]
for i in lista_nom:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "", state = DISABLED)
elif sel == 99:
lista_nom = ["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","36","37","38","40","41","42","43","44","45","46","47","48","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","70","71","72","73","74","75","76","77","78","80","81","82","83","84","85","86","87","88"]
lista_btn = [BTN_00,BTN_01,BTN_02,BTN_03,BTN_04,BTN_05,BTN_06,BTN_07,BTN_08,BTN_10,BTN_11,BTN_12,BTN_13,BTN_14,BTN_15,BTN_16,BTN_17,BTN_18,BTN_20,BTN_21,BTN_22,BTN_23,BTN_24,BTN_25,BTN_26,BTN_27,BTN_28,BTN_30,BTN_31,BTN_32,BTN_33,BTN_34,BTN_35,BTN_36,BTN_37,BTN_38,BTN_40,BTN_41,BTN_42,BTN_43,BTN_44,BTN_45,BTN_46,BTN_47,BTN_48,BTN_50,BTN_51,BTN_52,BTN_53,BTN_54,BTN_55,BTN_56,BTN_57,BTN_58,BTN_60,BTN_61,BTN_62,BTN_63,BTN_64,BTN_65,BTN_66,BTN_67,BTN_68,BTN_70,BTN_71,BTN_72,BTN_73,BTN_74,BTN_75,BTN_76,BTN_77,BTN_78,BTN_80,BTN_81,BTN_82,BTN_83,BTN_84,BTN_85,BTN_86,BTN_87,BTN_88]
for i in lista_nom:
índ_nom = lista_nom.index(i)
elem_btn = lista_btn[índ_nom]
elem_btn.config(text = "", state = DISABLED)
#—————————————————————————————————————————————————————————————————Fin Ventana Configurar————————————————————————————————————————————————————————————————#
#—————————————————————————————————————————————————————————————————————Ventana Ayuda—————————————————————————————————————————————————————————————————————#
def FN_WIN_ayuda ():
WIN_menú.withdraw()
global WIN_ayuda
WIN_ayuda = Toplevel()
WIN_ayuda.protocol("WM_DELETE_WINDOW", lambda : WIN_ayuda.destroy())
WIN_ayuda.geometry("300x400")
WIN_ayuda.title("Ayuda KENKEN")
WIN_ayuda.resizable(width = FALSE, height = FALSE)
centrar (WIN_ayuda)
LBL_título = Label(WIN_ayuda, text = "KenKen", font = ("Helvetica Neue", 18, "bold")).place(x = 101, y = 5)
LBL_función = Label(WIN_ayuda, text = "Pasatiempo Aritmético", font = ("Helvetica Neue", 14)).place(x = 51, y = 35)
LBL_desarrollador = Label(WIN_ayuda, text = "Desarrollador", font = ("Helvetica Neue", 12, "underline")).place(x = 97, y = 84)
LBL_autor = Label(WIN_ayuda, text = "José Daniel Delgado Segura", font = ("Helvetica Neue", 12, "bold")).place(x = 37, y = 108)
LBL_correo = Label(WIN_ayuda, text = "Correo electrónico", font = ("Helvetica Neue", 12, "underline")).place(x = 80, y = 137)
LBL_gmail = Label(WIN_ayuda, text = "jddsegura14@gmail.com", font = ("Helvetica Neue", 12, "bold")).place(x = 53, y = 161)
LBL_fecha = Label(WIN_ayuda, text = "KenKen 1.0\n21-05-2015", font = ("Helvetica Neue", 10)).place(x = 115, y = 190)
LBL_menú = Label(WIN_ayuda, text = "Menú", font = ("Helvetica Neue", 12)).place(x = 221, y = 566)
BTN_menú = Button(WIN_ayuda, image = IMG_BTN_menú, height = 65, width = 65, borderwidth = 0, command = menú_volver).place (x = 70, y = 240)
BTN_manual = Button(WIN_ayuda, image = IMG_BTN_WIN_ayuda_manual, height = 65, width = 65, borderwidth = 0, command = lambda : os.startfile("kenken_manual_de_usuario.pdf")).place (x = 165, y = 240)
#———————————————————————————————————————————————————————————————————Fin Ventana Ayuda———————————————————————————————————————————————————————————————————#
#————————————————————————————————————————————————————————————————————Programa Principal—————————————————————————————————————————————————————————————————#
from tkinter import *
from threading import *
import os #Se utiliza en las funciones: FN_timer, clock, FN_WIN_jugar.
import time #Se utiliza en las funciones: FN_timer, clock, FN_WIN_jugar.
import random #Se utiliza en la función: FN_juegos_probables.
import winsound #Se utiliza en la función: FN_validar.
WIN_menú = Tk()
WIN_menú.geometry("600x460")
WIN_menú.title("KENKEN")
WIN_menú.resizable(width = FALSE, height = FALSE)
centrar (WIN_menú)
WIN_menú.protocol("WM_DELETE_WINDOW", lambda : WIN_menú.destroy())
#-------------------Asignación Variables Programa Principal-------------------#
global IMG_BTN_WIN_menú_jugar
IMG_BTN_WIN_menú_jugar = PhotoImage(file = "IMG_BTN_WIN_menú_jugar.png")
global IMG_BTN_WIN_menú_configurar
IMG_BTN_WIN_menú_configurar = PhotoImage(file = "IMG_BTN_WIN_menú_configurar.png")
global IMG_BTN_WIN_menú_config
IMG_BTN_WIN_menú_config = PhotoImage(file = "IMG_BTN_WIN_menú_config.png")
global IMG_BTN_WIN_menú_adici
IMG_BTN_WIN_menú_adici = PhotoImage(file = "IMG_BTN_WIN_menú_adici.png")
global IMG_BTN_WIN_menú_ayuda
IMG_BTN_WIN_menú_ayuda = PhotoImage(file = "IMG_BTN_WIN_menú_ayuda.png")
global IMG_BTN_WIN_menú_salir
IMG_BTN_WIN_menú_salir = PhotoImage(file = "IMG_BTN_WIN_menú_salir.png")
global IMG_BTN_menú
IMG_BTN_menú = PhotoImage(file = "IMG_BTN_menú.png")
global IMG_BTN_WIN_jugar_borrar
IMG_BTN_WIN_jugar_borrar = PhotoImage(file = "IMG_BTN_WIN_jugar_borrar.png")
global IMG_BTN_WIN_validar_completo
IMG_BTN_WIN_validar_completo = PhotoImage(file = "IMG_BTN_WIN_validar_completo.png")
global IMG_BTN_WIN_ayuda_manual
IMG_BTN_WIN_ayuda_manual = PhotoImage(file = "IMG_BTN_WIN_ayuda_manual.png")
global IMG_BTN_num1
IMG_BTN_num1 = PhotoImage(file = "BTN_num1.png")
global IMG_BTN_num2
IMG_BTN_num2 = PhotoImage(file = "BTN_num2.png")
global IMG_BTN_num3
IMG_BTN_num3 = PhotoImage(file = "BTN_num3.png")
global IMG_BTN_num4
IMG_BTN_num4 = PhotoImage(file = "BTN_num4.png")
global IMG_BTN_num5
IMG_BTN_num5 = PhotoImage(file = "BTN_num5.png")
global IMG_BTN_num6
IMG_BTN_num6 = PhotoImage(file = "BTN_num6.png")
global IMG_BTN_num7
IMG_BTN_num7 = PhotoImage(file = "BTN_num7.png")
global IMG_BTN_num8
IMG_BTN_num8 = PhotoImage(file = "BTN_num8.png")
global IMG_BTN_num9
IMG_BTN_num9 = PhotoImage(file = "BTN_num9.png")
global IMG_BTN_WIN_jugar_iniciar
IMG_BTN_WIN_jugar_iniciar = PhotoImage(file = "IMG_BTN_WIN_jugar_iniciar.png")
global IMG_BTN_WIN_jugar_validar
IMG_BTN_WIN_jugar_validar = PhotoImage(file = "IMG_BTN_WIN_jugar_validar.png")
global IMG_BTN_WIN_jugar_otro
IMG_BTN_WIN_jugar_otro = PhotoImage(file = "IMG_BTN_WIN_jugar_otro.png")
global IMG_BTN_WIN_jugar_reiniciar
IMG_BTN_WIN_jugar_reiniciar = PhotoImage(file = "IMG_BTN_WIN_jugar_reiniciar.png")
global IMG_BTN_WIN_jugar_terminar
IMG_BTN_WIN_jugar_terminar = PhotoImage(file = "IMG_BTN_WIN_jugar_terminar.png")
global IMG_BTN_WIN_jugar_top10
IMG_BTN_WIN_jugar_top10 = PhotoImage(file = "IMG_BTN_WIN_jugar_top10.png")
global pausa #Pausa de clock.
pausa = False
global timer_estado
timer_estado = False
global clock_estado
clock_estado = False
global registrado
registrado = False
global terminar
terminar = False
global iniciado
iniciado = False
global otro_juego #Si es True significa que el usuario solicitó un nuevo juego.
otro_juego = False
global but_press
but_press = ""
global últ_btn
últ_btn = ""
global juego_num
juego_num = 0
global validar_completo #Se activa cuando el usuario selecciona que desea jugar con el validar completo.
validar_completo = False
#Valores por default:
global nivel_selec
nivel_selec = IntVar()
global reloj_selec
reloj_selec = IntVar()
global lado_selec
lado_selec = IntVar()
global sonido_selec
sonido_selec = IntVar()
global validar_completo_respuesta
validar_completo_respuesta = IntVar()
global default_horas
default_horas = StringVar()
global default_minutos
default_minutos = StringVar()
global default_segundos
default_segundos = StringVar()
global WIN_jugar
WIN_jugar = Toplevel()
WIN_jugar.withdraw()
global WIN_configurar
WIN_configurar = Toplevel()
WIN_configurar.withdraw()
global WIN_validar_completo
WIN_validar_completo = Toplevel()
WIN_validar_completo.withdraw()
global WIN_ayuda
WIN_ayuda = Toplevel()
WIN_ayuda.withdraw()
#-----------------Fin Asignación Variables Programa Principal-----------------#
LBL_título = Label(WIN_menú, text = "Menú Principal", font = (("Helvetica Neue", 22, "bold"))).place(x = 205, y = 10)
LBL_jugar = Label(WIN_menú, text = "Jugar", font = (("Helvetica Neue", 16))).place (x = 77, y = 210)
LBL_config = Label(WIN_menú, text = "Configurar", font = (("Helvetica Neue", 16))).place (x = 257, y = 210)
LBL_adici = Label(WIN_menú, text = "Validar completo", font = (("Helvetica Neue", 16))).place (x = 416, y = 210) #Función extra
LBL_ayuda = Label(WIN_menú, text = "Ayuda", font = (("Helvetica Neue", 16))).place (x = 175, y = 405)
LBL_salir = Label(WIN_menú, text = "Salir", font = (("Helvetica Neue", 16))).place (x = 380, y = 405)
BTN_jugar = Button(WIN_menú, image = IMG_BTN_WIN_menú_jugar, height = 130, width = 130, borderwidth = 0, command = FN_THRDs)
BTN_jugar.place (x = 40, y = 75)
BTN_config = Button(WIN_menú, image = IMG_BTN_WIN_menú_config, height = 130, width = 130, borderwidth = 0, command = FN_WIN_configurar)
BTN_config.place (x = 240, y = 75)
BTN_adici = Button(WIN_menú, image = IMG_BTN_WIN_menú_adici, height = 130, width = 130, borderwidth = 0, command = FN_WIN_validar_completo)
BTN_adici.place (x = 428, y = 75)
BTN_ayuda = Button(WIN_menú, image = IMG_BTN_WIN_menú_ayuda, height = 130, width = 130, borderwidth = 0, command = FN_WIN_ayuda)
BTN_ayuda.place (x = 140, y = 270)
BTN_salir = Button(WIN_menú, image = IMG_BTN_WIN_menú_salir, height = 130, width = 130, borderwidth = 0, command = WIN_menú.destroy)
BTN_salir.place (x = 335, y = 270)
WIN_menú.mainloop()
#————————————————————————————————————————————————————————————————————Fin Programa Principal—————————————————————————————————————————————————————————————————#
| 48.849651 | 588 | 0.630882 | 35,671 | 217,039 | 3.629783 | 0.01954 | 0.027758 | 0.0344 | 0.016003 | 0.838073 | 0.82424 | 0.80297 | 0.791633 | 0.774325 | 0.761844 | 0 | 0.111005 | 0.192855 | 217,039 | 4,442 | 589 | 48.860648 | 0.614761 | 0.021545 | 0 | 0.715123 | 0 | 0 | 0.078126 | 0.002266 | 0.003665 | 0 | 0 | 0 | 0 | 1 | 0.006841 | false | 0 | 0.001466 | 0 | 0.012949 | 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 |
802a54f38bc92215c9c4a55d77351d0e2407bdfa | 15,292 | py | Python | sasrl_env/common/env_pb2_grpc.py | sassoftware/sasrlenv | 2c8039276fdfe8071582f1e5053f9cfcb4a194e9 | [
"Apache-2.0"
] | 1 | 2021-04-23T15:10:58.000Z | 2021-04-23T15:10:58.000Z | sasrl_env/common/env_pb2_grpc.py | sassoftware/sasrlenv | 2c8039276fdfe8071582f1e5053f9cfcb4a194e9 | [
"Apache-2.0"
] | null | null | null | sasrl_env/common/env_pb2_grpc.py | sassoftware/sasrlenv | 2c8039276fdfe8071582f1e5053f9cfcb4a194e9 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import sasrl_env.common.env_pb2 as env__pb2
class EnvControlStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Start = channel.unary_unary(
'/EnvControl/Start',
request_serializer=env__pb2.Empty.SerializeToString,
response_deserializer=env__pb2.ServerInfo.FromString,
)
self.Close = channel.unary_unary(
'/EnvControl/Close',
request_serializer=env__pb2.ServerInfo.SerializeToString,
response_deserializer=env__pb2.Empty.FromString,
)
class EnvControlServicer(object):
"""Missing associated documentation comment in .proto file."""
def Start(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Close(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_EnvControlServicer_to_server(servicer, server):
rpc_method_handlers = {
'Start': grpc.unary_unary_rpc_method_handler(
servicer.Start,
request_deserializer=env__pb2.Empty.FromString,
response_serializer=env__pb2.ServerInfo.SerializeToString,
),
'Close': grpc.unary_unary_rpc_method_handler(
servicer.Close,
request_deserializer=env__pb2.ServerInfo.FromString,
response_serializer=env__pb2.Empty.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'EnvControl', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class EnvControl(object):
"""Missing associated documentation comment in .proto file."""
@staticmethod
def Start(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/EnvControl/Start',
env__pb2.Empty.SerializeToString,
env__pb2.ServerInfo.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Close(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/EnvControl/Close',
env__pb2.ServerInfo.SerializeToString,
env__pb2.Empty.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
class EnvStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Handshake = channel.unary_unary(
'/Env/Handshake',
request_serializer=env__pb2.Empty.SerializeToString,
response_deserializer=env__pb2.MetaData.FromString,
)
self.Make = channel.unary_unary(
'/Env/Make',
request_serializer=env__pb2.Name.SerializeToString,
response_deserializer=env__pb2.Info.FromString,
)
self.Reset = channel.unary_unary(
'/Env/Reset',
request_serializer=env__pb2.Empty.SerializeToString,
response_deserializer=env__pb2.Observation.FromString,
)
self.Step = channel.unary_unary(
'/Env/Step',
request_serializer=env__pb2.Action.SerializeToString,
response_deserializer=env__pb2.Transition.FromString,
)
self.Render = channel.unary_unary(
'/Env/Render',
request_serializer=env__pb2.RenderMode.SerializeToString,
response_deserializer=env__pb2.RenderOut.FromString,
)
self.Seed = channel.unary_unary(
'/Env/Seed',
request_serializer=env__pb2.EnvSeed.SerializeToString,
response_deserializer=env__pb2.Empty.FromString,
)
self.Sample = channel.unary_unary(
'/Env/Sample',
request_serializer=env__pb2.Empty.SerializeToString,
response_deserializer=env__pb2.Action.FromString,
)
self.Close = channel.unary_unary(
'/Env/Close',
request_serializer=env__pb2.Empty.SerializeToString,
response_deserializer=env__pb2.Empty.FromString,
)
class EnvServicer(object):
"""Missing associated documentation comment in .proto file."""
def Handshake(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Make(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Reset(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Step(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Render(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Seed(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Sample(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Close(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_EnvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Handshake': grpc.unary_unary_rpc_method_handler(
servicer.Handshake,
request_deserializer=env__pb2.Empty.FromString,
response_serializer=env__pb2.MetaData.SerializeToString,
),
'Make': grpc.unary_unary_rpc_method_handler(
servicer.Make,
request_deserializer=env__pb2.Name.FromString,
response_serializer=env__pb2.Info.SerializeToString,
),
'Reset': grpc.unary_unary_rpc_method_handler(
servicer.Reset,
request_deserializer=env__pb2.Empty.FromString,
response_serializer=env__pb2.Observation.SerializeToString,
),
'Step': grpc.unary_unary_rpc_method_handler(
servicer.Step,
request_deserializer=env__pb2.Action.FromString,
response_serializer=env__pb2.Transition.SerializeToString,
),
'Render': grpc.unary_unary_rpc_method_handler(
servicer.Render,
request_deserializer=env__pb2.RenderMode.FromString,
response_serializer=env__pb2.RenderOut.SerializeToString,
),
'Seed': grpc.unary_unary_rpc_method_handler(
servicer.Seed,
request_deserializer=env__pb2.EnvSeed.FromString,
response_serializer=env__pb2.Empty.SerializeToString,
),
'Sample': grpc.unary_unary_rpc_method_handler(
servicer.Sample,
request_deserializer=env__pb2.Empty.FromString,
response_serializer=env__pb2.Action.SerializeToString,
),
'Close': grpc.unary_unary_rpc_method_handler(
servicer.Close,
request_deserializer=env__pb2.Empty.FromString,
response_serializer=env__pb2.Empty.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'Env', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class Env(object):
"""Missing associated documentation comment in .proto file."""
@staticmethod
def Handshake(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/Env/Handshake',
env__pb2.Empty.SerializeToString,
env__pb2.MetaData.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Make(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/Env/Make',
env__pb2.Name.SerializeToString,
env__pb2.Info.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Reset(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/Env/Reset',
env__pb2.Empty.SerializeToString,
env__pb2.Observation.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Step(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/Env/Step',
env__pb2.Action.SerializeToString,
env__pb2.Transition.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Render(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/Env/Render',
env__pb2.RenderMode.SerializeToString,
env__pb2.RenderOut.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Seed(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/Env/Seed',
env__pb2.EnvSeed.SerializeToString,
env__pb2.Empty.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Sample(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/Env/Sample',
env__pb2.Empty.SerializeToString,
env__pb2.Action.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Close(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/Env/Close',
env__pb2.Empty.SerializeToString,
env__pb2.Empty.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 39.010204 | 87 | 0.618886 | 1,403 | 15,292 | 6.487527 | 0.079116 | 0.04087 | 0.029005 | 0.065041 | 0.845968 | 0.806196 | 0.782136 | 0.727642 | 0.718523 | 0.705999 | 0 | 0.00578 | 0.298522 | 15,292 | 391 | 88 | 39.109974 | 0.842733 | 0.080696 | 0 | 0.627329 | 1 | 0 | 0.054637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074534 | false | 0 | 0.006211 | 0.031056 | 0.130435 | 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 |
338ad4c67ff51f134352b2e6645271628803cd05 | 927 | py | Python | src/DICpy/DIC_2D/__init__.py | eesd-epfl/DICpy | feedc5fe630f347d1ef9d6a2069c239ac5388aea | [
"MIT"
] | 2 | 2021-09-06T12:06:11.000Z | 2021-09-11T15:11:43.000Z | src/DICpy/DIC_2D/__init__.py | eesd-epfl/DICpy | feedc5fe630f347d1ef9d6a2069c239ac5388aea | [
"MIT"
] | null | null | null | src/DICpy/DIC_2D/__init__.py | eesd-epfl/DICpy | feedc5fe630f347d1ef9d6a2069c239ac5388aea | [
"MIT"
] | 1 | 2021-09-03T15:28:46.000Z | 2021-09-03T15:28:46.000Z | from DICpy.DIC_2D._regular_grid import RegularGrid
from DICpy.DIC_2D._post_processing import PostProcessing
from DICpy.DIC_2D._images import Images
from DICpy.DIC_2D._lucas_kanade import LucasKanade
from DICpy.DIC_2D._image_registration import ImageRegistration
from DICpy.DIC_2D._coarse_fine import CoarseFine
from DICpy.DIC_2D._gradient_zero import GradientZero
from DICpy.DIC_2D._gradient_one import GradientOne
from DICpy.DIC_2D._oversampling import Oversampling
from DICpy.DIC_2D._synthetic import Synthetic
from DICpy.DIC_2D._regular_grid import *
from DICpy.DIC_2D._post_processing import *
from DICpy.DIC_2D._images import *
from DICpy.DIC_2D._lucas_kanade import *
from DICpy.DIC_2D._image_registration import *
from DICpy.DIC_2D._coarse_fine import *
from DICpy.DIC_2D._gradient_zero import *
from DICpy.DIC_2D._gradient_one import *
from DICpy.DIC_2D._oversampling import *
from DICpy.DIC_2D._synthetic import *
| 37.08 | 62 | 0.855448 | 144 | 927 | 5.131944 | 0.194444 | 0.243572 | 0.324763 | 0.37889 | 0.847091 | 0.847091 | 0.611637 | 0 | 0 | 0 | 0 | 0.023725 | 0.090615 | 927 | 24 | 63 | 38.625 | 0.852906 | 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 | 0 | 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 |
1d2e948b0bcd299b66e0e6f2c08269f02f0cf9b0 | 35,278 | py | Python | lxml/tests/test_isoschematron.py | 2502302255/al789 | 20828306da7a301f4b287ec9c72eb2eae9273188 | [
"MIT"
] | 28 | 2017-10-26T12:01:35.000Z | 2021-01-01T09:32:46.000Z | lxml/tests/test_isoschematron.py | 2502302255/al789 | 20828306da7a301f4b287ec9c72eb2eae9273188 | [
"MIT"
] | 1 | 2018-02-04T03:33:48.000Z | 2018-05-08T22:30:01.000Z | lxml/tests/test_isoschematron.py | 2502302255/al789 | 20828306da7a301f4b287ec9c72eb2eae9273188 | [
"MIT"
] | 1 | 2018-12-02T07:47:34.000Z | 2018-12-02T07:47:34.000Z | # -*- coding: utf-8 -*-
"""
Test cases related to ISO-Schematron parsing and validation
"""
import unittest, sys, os.path
from lxml import isoschematron
this_dir = os.path.dirname(__file__)
if this_dir not in sys.path:
sys.path.insert(0, this_dir) # needed for Py3
from common_imports import etree, HelperTestCase, fileInTestDir
from common_imports import doctest, make_doctest
class ETreeISOSchematronTestCase(HelperTestCase):
def test_schematron(self):
tree_valid = self.parse('<AAA><BBB/><CCC/></AAA>')
tree_invalid = self.parse('<AAA><BBB/><CCC/><DDD/></AAA>')
schema = self.parse('''\
<schema xmlns="http://purl.oclc.org/dsdl/schematron" >
<pattern id="OpenModel">
<title>Open Model</title>
<rule context="AAA">
<assert test="BBB"> BBB element is not present</assert>
<assert test="CCC"> CCC element is not present</assert>
</rule>
</pattern>
<pattern id="ClosedModel">
<title>Closed model"</title>
<rule context="AAA">
<assert test="BBB"> BBB element is not present</assert>
<assert test="CCC"> CCC element is not present</assert>
<assert test="count(BBB|CCC) = count (*)">There is an extra element</assert>
</rule>
</pattern>
</schema>
''')
schema = isoschematron.Schematron(schema)
self.assertTrue(schema.validate(tree_valid))
self.assertTrue(not schema.validate(tree_invalid))
def test_schematron_elementtree_error(self):
self.assertRaises(ValueError, isoschematron.Schematron, etree.ElementTree())
# an empty pattern is valid in iso schematron
def test_schematron_empty_pattern(self):
schema = self.parse('''\
<schema xmlns="http://purl.oclc.org/dsdl/schematron" >
<pattern id="OpenModel">
<title>Open model</title>
</pattern>
</schema>
''')
schema = isoschematron.Schematron(schema)
self.assertTrue(schema)
def test_schematron_invalid_schema_empty(self):
schema = self.parse('''\
<schema xmlns="http://purl.oclc.org/dsdl/schematron" />
''')
self.assertRaises(etree.SchematronParseError,
isoschematron.Schematron, schema)
def test_schematron_invalid_schema_namespace(self):
schema = self.parse('''\
<schema xmlns="mynamespace" />
''')
self.assertRaises(etree.SchematronParseError,
isoschematron.Schematron, schema)
def test_schematron_from_tree(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
''')
schematron = isoschematron.Schematron(schema)
self.assertTrue(isinstance(schematron, isoschematron.Schematron))
def test_schematron_from_element(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
''')
schematron = isoschematron.Schematron(schema.getroot())
self.assertTrue(isinstance(schematron, isoschematron.Schematron))
def test_schematron_from_file(self):
schematron = isoschematron.Schematron(file=fileInTestDir('test.sch'))
self.assertTrue(isinstance(schematron, isoschematron.Schematron))
def test_schematron_call(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
''')
tree_valid = self.parse('''\
<message>
<number_of_entries>0</number_of_entries>
<entries>
</entries>
</message>
''')
tree_invalid = self.parse('''\
<message>
<number_of_entries>3</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
schematron = isoschematron.Schematron(schema)
self.assertTrue(schematron(tree_valid), schematron.error_log)
valid = schematron(tree_invalid)
self.assertTrue(not valid)
def test_schematron_validate(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
''')
tree_valid = self.parse('''\
<message>
<number_of_entries>0</number_of_entries>
<entries>
</entries>
</message>
''')
tree_invalid = self.parse('''\
<message>
<number_of_entries>3</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
schematron = isoschematron.Schematron(schema)
self.assertTrue(schematron.validate(tree_valid), schematron.error_log)
valid = schematron.validate(tree_invalid)
self.assertTrue(not valid)
def test_schematron_assertValid(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
''')
tree_valid = self.parse('''\
<message>
<number_of_entries>0</number_of_entries>
<entries>
</entries>
</message>
''')
tree_invalid = self.parse('''\
<message>
<number_of_entries>3</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
schematron = isoschematron.Schematron(schema)
self.assertTrue(schematron(tree_valid), schematron.error_log)
self.assertRaises(etree.DocumentInvalid, schematron.assertValid,
tree_invalid)
def test_schematron_error_log(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
''')
tree_valid = self.parse('''\
<message>
<number_of_entries>0</number_of_entries>
<entries>
</entries>
</message>
''')
tree_invalid = self.parse('''\
<message>
<number_of_entries>3</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
schematron = isoschematron.Schematron(schema)
self.assertTrue(schematron(tree_valid), schematron.error_log)
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(len(schematron.error_log), 1,
'expected single error: %s (%s errors)' %
(schematron.error_log, len(schematron.error_log)))
def test_schematron_result_report(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
''')
tree_valid = self.parse('''\
<message>
<number_of_entries>0</number_of_entries>
<entries>
</entries>
</message>
''')
tree_invalid = self.parse('''\
<message>
<number_of_entries>3</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
schematron = isoschematron.Schematron(schema, store_report=True)
self.assertTrue(schematron(tree_valid), schematron.error_log)
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertTrue(
isinstance(schematron.validation_report, etree._ElementTree),
'expected a validation report result tree, got: %s' %
(schematron.validation_report))
schematron = isoschematron.Schematron(schema, store_report=False)
self.assertTrue(schematron(tree_valid), schematron.error_log)
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertTrue(schematron.validation_report is None,
'validation reporting switched off, still: %s' %
(schematron.validation_report))
def test_schematron_store_schematron(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
''')
schematron = isoschematron.Schematron(schema)
self.assertTrue(schematron.validator_xslt is None)
schematron = isoschematron.Schematron(schema, store_schematron=True)
self.assertTrue(isinstance(schematron.schematron, etree._ElementTree),
'expected schematron schema to be stored')
def test_schematron_store_xslt(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
''')
schematron = isoschematron.Schematron(schema)
self.assertTrue(schematron.validator_xslt is None)
schematron = isoschematron.Schematron(schema, store_xslt=True)
self.assertTrue(isinstance(schematron.validator_xslt, etree._ElementTree),
'expected validator xslt to be stored')
def test_schematron_abstract(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:title>iso schematron validation</sch:title>
<sch:ns uri="http://www.w3.org/2001/XMLSchema-instance" prefix="xsi"/>
<sch:ns uri="http://codespeak.net/lxml/objectify/pytype" prefix="py"/>
<!-- of course, these only really make sense when combined with a schema that
ensures datatype xs:dateTime -->
<sch:pattern abstract="true" id="abstract.dateTime.tz_utc">
<sch:rule context="$datetime">
<sch:let name="tz" value="concat(substring-after(substring-after(./text(), 'T'), '+'), substring-after(substring-after(./text(), 'T'), '-'))"/>
<sch:let name="lastchar" value="substring(./text(), string-length(./text()))"/>
<sch:assert test="$lastchar='Z' or $tz='00:00'">[ERROR] element (<sch:value-of select="name(.)"/>) dateTime value (<sch:value-of select="."/>) is not qualified as UTC (tz: <sch:value-of select="$tz"/>)</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern abstract="true" id="abstract.dateTime.tz_utc_nillable">
<sch:rule context="$datetime">
<sch:let name="tz" value="concat(substring-after(substring-after(./text(), 'T'), '+'), substring-after(substring-after(./text(), 'T'), '-'))"/>
<sch:let name="lastchar" value="substring(./text(), string-length(./text()))"/>
<sch:assert test="@xsi:nil='true' or ($lastchar='Z' or $tz='00:00')">[ERROR] element (<sch:value-of select="name(.)"/>) dateTime value (<sch:value-of select="."/>) is not qualified as UTC (tz: <sch:value-of select="$tz"/>)</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern is-a="abstract.dateTime.tz_utc" id="datetime" >
<sch:param name="datetime" value="datetime"/>
</sch:pattern>
<sch:pattern is-a="abstract.dateTime.tz_utc_nillable" id="nillableDatetime">
<sch:param name="datetime" value="nillableDatetime"/>
</sch:pattern>
</sch:schema>
''')
valid_trees = [
self.parse('''\
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<datetime>2009-12-10T15:21:00Z</datetime>
<nillableDatetime xsi:nil="true"/>
</root>
'''),
self.parse('''\
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<datetime>2009-12-10T15:21:00Z</datetime>
<nillableDatetime>2009-12-10T15:21:00Z</nillableDatetime>
</root>
'''),
self.parse('''\
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<datetime>2009-12-10T15:21:00+00:00</datetime>
<nillableDatetime>2009-12-10T15:21:00-00:00</nillableDatetime>
</root>
'''),
]
schematron = isoschematron.Schematron(schema)
for tree_valid in valid_trees:
self.assertTrue(schematron(tree_valid), schematron.error_log)
tree_invalid = self.parse('''\
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<datetime>2009-12-10T16:21:00+01:00</datetime>
<nillableDatetime>2009-12-10T16:21:00+01:00</nillableDatetime>
</root>
''')
expected = 2
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(
len(schematron.error_log), expected,
'expected %s errors: %s (%s errors)' %
(expected, schematron.error_log, len(schematron.error_log)))
tree_invalid = self.parse('''\
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<datetime xsi:nil="true"/>
<nillableDatetime>2009-12-10T16:21:00Z</nillableDatetime>
</root>
''')
expected = 1
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(
len(schematron.error_log), expected,
'expected %s errors: %s (%s errors)' %
(expected, schematron.error_log, len(schematron.error_log)))
def test_schematron_phases(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:title>iso schematron validation</sch:title>
<sch:ns uri="http://www.w3.org/2001/XMLSchema-instance" prefix="xsi"/>
<sch:ns uri="http://codespeak.net/lxml/objectify/pytype" prefix="py"/>
<sch:phase id="mandatory">
<sch:active pattern="number_of_entries"/>
</sch:phase>
<sch:phase id="datetime_checks">
<sch:active pattern="datetime"/>
<sch:active pattern="nillableDatetime"/>
</sch:phase>
<sch:phase id="full">
<sch:active pattern="number_of_entries"/>
<sch:active pattern="datetime"/>
<sch:active pattern="nillableDatetime"/>
</sch:phase>
<!-- of course, these only really make sense when combined with a schema that
ensures datatype xs:dateTime -->
<sch:pattern abstract="true" id="abstract.dateTime.tz_utc">
<sch:rule context="$datetime">
<sch:let name="tz" value="concat(substring-after(substring-after(./text(), 'T'), '+'), substring-after(substring-after(./text(), 'T'), '-'))"/>
<sch:let name="lastchar" value="substring(./text(), string-length(./text()))"/>
<sch:assert test="$lastchar='Z' or $tz='00:00'">[ERROR] element (<sch:value-of select="name(.)"/>) dateTime value (<sch:value-of select="."/>) is not qualified as UTC (tz: <sch:value-of select="$tz"/>)</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern abstract="true" id="abstract.dateTime.tz_utc_nillable">
<sch:rule context="$datetime">
<sch:let name="tz" value="concat(substring-after(substring-after(./text(), 'T'), '+'), substring-after(substring-after(./text(), 'T'), '-'))"/>
<sch:let name="lastchar" value="substring(./text(), string-length(./text()))"/>
<sch:assert test="@xsi:nil='true' or ($lastchar='Z' or $tz='00:00')">[ERROR] element (<sch:value-of select="name(.)"/>) dateTime value (<sch:value-of select="."/>) is not qualified as UTC (tz: <sch:value-of select="$tz"/>)</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries test</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="datetime" is-a="abstract.dateTime.tz_utc">
<sch:param name="datetime" value="datetime"/>
</sch:pattern>
<sch:pattern id="nillableDatetime" is-a="abstract.dateTime.tz_utc_nillable">
<sch:param name="datetime" value="nillableDatetime"/>
</sch:pattern>
</sch:schema>
''')
tree_valid = self.parse('''\
<message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<datetime>2009-12-10T15:21:00Z</datetime>
<nillableDatetime xsi:nil="true"/>
<number_of_entries>0</number_of_entries>
<entries>
</entries>
</message>
''')
tree_invalid = self.parse('''\
<message>
<datetime>2009-12-10T16:21:00+01:00</datetime>
<nillableDatetime>2009-12-10T16:21:00+01:00</nillableDatetime>
<number_of_entries>3</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
# check everything (default phase #ALL)
schematron = isoschematron.Schematron(schema)
self.assertTrue(schematron(tree_valid), schematron.error_log)
expected = 3
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(
len(schematron.error_log), expected,
'expected %s errors: %s (%s errors)' %
(expected, schematron.error_log, len(schematron.error_log)))
# check phase mandatory
schematron = isoschematron.Schematron(
schema, compile_params={'phase': 'mandatory'})
self.assertTrue(schematron(tree_valid), schematron.error_log)
expected = 1
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(
len(schematron.error_log), expected,
'expected %s errors: %s (%s errors)' %
(expected, schematron.error_log, len(schematron.error_log)))
# check phase datetime_checks
schematron = isoschematron.Schematron(
schema, compile_params={'phase': 'datetime_checks'})
self.assertTrue(schematron(tree_valid), schematron.error_log)
expected = 2
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(
len(schematron.error_log), expected,
'expected %s errors: %s (%s errors)' %
(expected, schematron.error_log, len(schematron.error_log)))
# check phase full
schematron = isoschematron.Schematron(
schema, compile_params={'phase': 'full'})
self.assertTrue(schematron(tree_valid), schematron.error_log)
expected = 3
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(
len(schematron.error_log), expected,
'expected %s errors: %s (%s errors)' %
(expected, schematron.error_log, len(schematron.error_log)))
def test_schematron_phases_kwarg(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:title>iso schematron validation</sch:title>
<sch:ns uri="http://www.w3.org/2001/XMLSchema-instance" prefix="xsi"/>
<sch:ns uri="http://codespeak.net/lxml/objectify/pytype" prefix="py"/>
<sch:phase id="mandatory">
<sch:active pattern="number_of_entries"/>
</sch:phase>
<sch:phase id="datetime_checks">
<sch:active pattern="datetime"/>
<sch:active pattern="nillableDatetime"/>
</sch:phase>
<sch:phase id="full">
<sch:active pattern="number_of_entries"/>
<sch:active pattern="datetime"/>
<sch:active pattern="nillableDatetime"/>
</sch:phase>
<!-- of course, these only really make sense when combined with a schema that
ensures datatype xs:dateTime -->
<sch:pattern abstract="true" id="abstract.dateTime.tz_utc">
<sch:rule context="$datetime">
<sch:let name="tz" value="concat(substring-after(substring-after(./text(), 'T'), '+'), substring-after(substring-after(./text(), 'T'), '-'))"/>
<sch:let name="lastchar" value="substring(./text(), string-length(./text()))"/>
<sch:assert test="$lastchar='Z' or $tz='00:00'">[ERROR] element (<sch:value-of select="name(.)"/>) dateTime value (<sch:value-of select="."/>) is not qualified as UTC (tz: <sch:value-of select="$tz"/>)</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern abstract="true" id="abstract.dateTime.tz_utc_nillable">
<sch:rule context="$datetime">
<sch:let name="tz" value="concat(substring-after(substring-after(./text(), 'T'), '+'), substring-after(substring-after(./text(), 'T'), '-'))"/>
<sch:let name="lastchar" value="substring(./text(), string-length(./text()))"/>
<sch:assert test="@xsi:nil='true' or ($lastchar='Z' or $tz='00:00')">[ERROR] element (<sch:value-of select="name(.)"/>) dateTime value (<sch:value-of select="."/>) is not qualified as UTC (tz: <sch:value-of select="$tz"/>)</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries test</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="datetime" is-a="abstract.dateTime.tz_utc">
<sch:param name="datetime" value="datetime"/>
</sch:pattern>
<sch:pattern id="nillableDatetime" is-a="abstract.dateTime.tz_utc_nillable">
<sch:param name="datetime" value="nillableDatetime"/>
</sch:pattern>
</sch:schema>
''')
tree_valid = self.parse('''\
<message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<datetime>2009-12-10T15:21:00Z</datetime>
<nillableDatetime xsi:nil="true"/>
<number_of_entries>0</number_of_entries>
<entries>
</entries>
</message>
''')
tree_invalid = self.parse('''\
<message>
<datetime>2009-12-10T16:21:00+01:00</datetime>
<nillableDatetime>2009-12-10T16:21:00+01:00</nillableDatetime>
<number_of_entries>3</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
# check everything (default phase #ALL)
schematron = isoschematron.Schematron(schema)
self.assertTrue(schematron(tree_valid), schematron.error_log)
expected = 3
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(
len(schematron.error_log), expected,
'expected %s errors: %s (%s errors)' %
(expected, schematron.error_log, len(schematron.error_log)))
# check phase mandatory
schematron = isoschematron.Schematron(schema, phase='mandatory')
self.assertTrue(schematron(tree_valid), schematron.error_log)
expected = 1
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(
len(schematron.error_log), expected,
'expected %s errors: %s (%s errors)' %
(expected, schematron.error_log, len(schematron.error_log)))
# check phase datetime_checks
schematron = isoschematron.Schematron(schema, phase='datetime_checks')
self.assertTrue(schematron(tree_valid), schematron.error_log)
expected = 2
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(
len(schematron.error_log), expected,
'expected %s errors: %s (%s errors)' %
(expected, schematron.error_log, len(schematron.error_log)))
# check phase full
schematron = isoschematron.Schematron(schema, phase='full')
self.assertTrue(schematron(tree_valid), schematron.error_log)
expected = 3
valid = schematron(tree_invalid)
self.assertTrue(not valid)
self.assertEqual(
len(schematron.error_log), expected, 'expected %s errors: %s (%s errors)' %
(expected, schematron.error_log, len(schematron.error_log)))
def test_schematron_xmlschema_embedded(self):
schema = self.parse('''\
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<xs:element name="message">
<xs:complexType>
<xs:sequence>
<xs:element name="number_of_entries" type="xs:positiveInteger">
<xs:annotation>
<xs:appinfo>
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="entries">
<xs:complexType>
<xs:sequence>
<xs:element name="entry" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
''')
tree_valid = self.parse('''\
<message>
<number_of_entries>2</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
tree_invalid = self.parse('''\
<message>
<number_of_entries>1</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
xmlschema = etree.XMLSchema(schema)
schematron = isoschematron.Schematron(schema)
# fwiw, this must also be XMLSchema-valid
self.assertTrue(xmlschema(tree_valid), xmlschema.error_log)
self.assertTrue(schematron(tree_valid))
# still schema-valid
self.assertTrue(xmlschema(tree_invalid), xmlschema.error_log)
self.assertTrue(not schematron(tree_invalid))
def test_schematron_relaxng_embedded(self):
schema = self.parse('''\
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<ref name="message"/>
</start>
<define name="message">
<element name="message">
<element name="number_of_entries">
<!-- RelaxNG can be mixed freely with stuff from other namespaces -->
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
<data type="positiveInteger"/>
</element>
<element name="entries">
<zeroOrMore>
<element name="entry"><data type="string"/></element>
</zeroOrMore>
</element>
</element>
</define>
</grammar>
''')
tree_valid = self.parse('''\
<message>
<number_of_entries>2</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
tree_invalid = self.parse('''\
<message>
<number_of_entries>1</number_of_entries>
<entries>
<entry>Entry 1</entry>
<entry>Entry 2</entry>
</entries>
</message>
''')
relaxng = etree.RelaxNG(schema)
schematron = isoschematron.Schematron(schema)
# fwiw, this must also be RelaxNG-valid
self.assertTrue(relaxng(tree_valid), relaxng.error_log)
self.assertTrue(schematron(tree_valid))
# still schema-valid
self.assertTrue(relaxng(tree_invalid), relaxng.error_log)
self.assertTrue(not schematron(tree_invalid))
def test_schematron_invalid_args(self):
schema = self.parse('''\
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:pattern id="number_of_entries">
<sch:title>mandatory number_of_entries tests</sch:title>
<sch:rule context="number_of_entries">
<sch:assert test="text()=count(../entries/entry)">[ERROR] number_of_entries (<sch:value-of select="."/>) must equal the number of entries/entry elements (<sch:value-of select="count(../entries/entry)"/>)</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
''')
# handing phase as keyword arg will *not* raise the type error
self.assertRaises(TypeError, isoschematron.Schematron, schema,
compile_params={'phase': None})
def test_schematron_customization(self):
class MySchematron(isoschematron.Schematron):
def _extract(self, root):
schematron = (root.xpath(
'//sch:schema',
namespaces={'sch': "http://purl.oclc.org/dsdl/schematron"})
or [None])[0]
return schematron
def _include(self, schematron, **kwargs):
raise RuntimeError('inclusion unsupported')
def _expand(self, schematron, **kwargs):
raise RuntimeError('expansion unsupported')
def _validation_errors(self, validationReport):
valid = etree.XPath(
'count(//svrl:successful-report[@flag="critical"])=1',
namespaces={'svrl': isoschematron.SVRL_NS})(
validationReport)
if valid:
return []
error = etree.Element('Error')
error.text = 'missing critical condition report'
return [error]
tree_valid = self.parse('<AAA><BBB/><CCC/></AAA>')
tree_invalid = self.parse('<AAA><BBB/><CCC/><DDD/></AAA>')
schema = self.parse('''\
<schema xmlns="http://www.example.org/yet/another/schema/dialect">
<schema xmlns="http://purl.oclc.org/dsdl/schematron" >
<pattern id="OpenModel">
<title>Open Model</title>
<rule context="AAA">
<report test="BBB" flag="info">BBB element must be present</report>
<report test="CCC" flag="info">CCC element must be present</report>
</rule>
</pattern>
<pattern id="ClosedModel">
<title>Closed model"</title>
<rule context="AAA">
<report test="BBB" flag="info">BBB element must be present</report>
<report test="CCC" flag="info">CCC element must be present</report>
<report test="count(BBB|CCC) = count(*)" flag="critical">Only BBB and CCC children must be present</report>
</rule>
</pattern>
</schema>
</schema>
''')
# check if overridden _include is run
self.assertRaises(RuntimeError, MySchematron, schema, store_report=True)
# check if overridden _expand is run
self.assertRaises(RuntimeError, MySchematron, schema, store_report=True,
include=False)
schema = MySchematron(schema, store_report=True, include=False,
expand=False)
self.assertTrue(schema.validate(tree_valid))
self.assertTrue(not schema.validate(tree_invalid))
#TODO: test xslt parameters for inclusion, expand & compile steps (?)
def test_schematron_fail_on_report(self):
tree_valid = self.parse('<AAA><BBB/><CCC/></AAA>')
tree_invalid = self.parse('<AAA><BBB/><CCC/><DDD/></AAA>')
schema = self.parse('''\
<schema xmlns="http://purl.oclc.org/dsdl/schematron" >
<pattern id="OpenModel">
<title>Simple Report</title>
<rule context="AAA">
<report test="DDD"> DDD element must not be present</report>
</rule>
</pattern>
</schema>
''')
schema_report = isoschematron.Schematron(
schema, error_finder=isoschematron.Schematron.ASSERTS_AND_REPORTS)
schema_no_report = isoschematron.Schematron(schema)
self.assertTrue(schema_report.validate(tree_valid))
self.assertTrue(not schema_report.validate(tree_invalid))
self.assertTrue(schema_no_report.validate(tree_valid))
self.assertTrue(schema_no_report.validate(tree_invalid))
def test_suite():
suite = unittest.TestSuite()
suite.addTests([unittest.makeSuite(ETreeISOSchematronTestCase)])
suite.addTests(doctest.DocTestSuite(isoschematron))
suite.addTests(
[make_doctest('../../../doc/validation.txt')])
return suite
if __name__ == '__main__':
print('to test use test.py %s' % __file__)
| 40.271689 | 252 | 0.645331 | 4,218 | 35,278 | 5.284258 | 0.067093 | 0.040199 | 0.075374 | 0.037148 | 0.86518 | 0.842164 | 0.823545 | 0.798555 | 0.793755 | 0.781955 | 0 | 0.013016 | 0.192018 | 35,278 | 875 | 253 | 40.317714 | 0.768945 | 0.01885 | 0 | 0.796915 | 0 | 0.044987 | 0.611161 | 0.171086 | 0.007712 | 0 | 0 | 0.001143 | 0.12982 | 1 | 0.03599 | false | 0 | 0.005141 | 0 | 0.048843 | 0.001285 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1da5274bd9dd1c70be6a11b623ad7a4e938a651e | 3,066 | py | Python | py_src/imageClassificationScript.py | DanielleJobe/facial-recognition-example-labview | 1864f1d661589e30b2e5d8a13443821a8ec9fdf4 | [
"MIT"
] | 7 | 2018-08-30T15:32:02.000Z | 2021-04-26T02:03:02.000Z | py_src/imageClassificationScript.py | DanielleJobe/facial-recognition-example-labview | 1864f1d661589e30b2e5d8a13443821a8ec9fdf4 | [
"MIT"
] | null | null | null | py_src/imageClassificationScript.py | DanielleJobe/facial-recognition-example-labview | 1864f1d661589e30b2e5d8a13443821a8ec9fdf4 | [
"MIT"
] | 4 | 2019-12-18T17:03:15.000Z | 2021-05-02T02:55:26.000Z | import cv2
# def convertToRGB(img):
# return cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
# def findFaces(imgPath = 'data/test1.jpg', scalefactor = 1.1, neighbors = 5):
imgPath = 'data/test1.jpg'
scalefactor = 1.1
neighbors = 5
#read image from file
colored_img = cv2.imread(imgPath)
#just making a copy of image passed, so that passed image is not changed
img_copy = colored_img.copy()
#get the training set
face_cascade = cv2.CascadeClassifier('data/haarcascade_frontalface_alt.xml')
#convert the test image to gray image as opencv face detector expects gray images
gray = cv2.cvtColor(img_copy, cv2.COLOR_BGR2GRAY)
#let's detect multiscale (some images may be closer to camera than others) images
faces = face_cascade.detectMultiScale(gray, scaleFactor=scalefactor, minNeighbors=neighbors);
#go over list of faces and draw them as rectangles on original colored img
for (x, y, w, h) in faces:
cv2.rectangle(img_copy, (x, y), (x+w, y+h), (0, 255, 0), 2)
# print ('number of faces:', len(faces))
print img_copy
# def findEyes(colored_img, scalefactor = 1.1, neighbors = 5):
# # colored_img = cv2.imread('data/test1.jpg')
# #just making a copy of image passed, so that passed image is not changed
# img_copy = colored_img.copy()
#
# #get the training set
# eye_cascade = cv2.CascadeClassifier('data/haarcascade_eye.xml')
#
# #convert the test image to gray image as opencv face detector expects gray images
# gray = cv2.cvtColor(img_copy, cv2.COLOR_BGR2GRAY)
#
# #let's detect multiscale (some images may be closer to camera than others) images
# eyes = eye_cascade.detectMultiScale(gray, scaleFactor=scalefactor, minNeighbors=neighbors);
#
# #go over list of faces and draw them as rectangles on original colored img
# for (x, y, w, h) in eyes:
# cv2.rectangle(img_copy, (x, y), (x+w, y+h), (255, 0, 0), 2)
#
# print ('number of eyes:', len(eyes))
#
# return img_copy
#
# def findSmiles(colored_img, scalefactor = 1.175, neighbors = 26):
# # colored_img = cv2.imread('data/test1.jpg')
# #just making a copy of image passed, so that passed image is not changed
# img_copy = colored_img.copy()
#
# #get the training set
# smile_cascade = cv2.CascadeClassifier('data/haarcascade_smile.xml')
#
# #convert the test image to gray image as opencv face detector expects gray images
# gray = cv2.cvtColor(img_copy, cv2.COLOR_BGR2GRAY)
#
# #let's detect multiscale (some images may be closer to camera than others) images
# smiles = smile_cascade.detectMultiScale(gray, scaleFactor=scalefactor, minNeighbors=neighbors);
#
# #go over list of faces and draw them as rectangles on original colored img
# for (x, y, w, h) in smiles:
# cv2.rectangle(img_copy, (x, y), (x+w, y+h), (0, 0, 255), 2)
#
# print ('number of eyes:', len(smiles))
#
# return img_copy | 40.88 | 111 | 0.658839 | 434 | 3,066 | 4.576037 | 0.230415 | 0.05287 | 0.028197 | 0.033233 | 0.831319 | 0.748238 | 0.72709 | 0.72709 | 0.72709 | 0.684794 | 0 | 0.025192 | 0.236138 | 3,066 | 75 | 112 | 40.88 | 0.822801 | 0.793542 | 0 | 0 | 0 | 0 | 0.088028 | 0.06338 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d53dcdbbc81aead88a5848d2d93a389dfcef7ba7 | 16,348 | py | Python | test/test_mlnx_ofed.py | brisbane/hpc-container-maker | 29c675d62651c6dde566b699ad85f794114a94c4 | [
"Apache-2.0"
] | null | null | null | test/test_mlnx_ofed.py | brisbane/hpc-container-maker | 29c675d62651c6dde566b699ad85f794114a94c4 | [
"Apache-2.0"
] | null | null | null | test/test_mlnx_ofed.py | brisbane/hpc-container-maker | 29c675d62651c6dde566b699ad85f794114a94c4 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2018, NVIDIA CORPORATION. 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.
# pylint: disable=invalid-name, too-few-public-methods, bad-continuation
"""Test cases for the mlnx_ofed module"""
from __future__ import unicode_literals
from __future__ import print_function
import logging # pylint: disable=unused-import
import unittest
from helpers import aarch64, centos, docker, ppc64le, ubuntu, ubuntu18, x86_64
from hpccm.building_blocks.mlnx_ofed import mlnx_ofed
class Test_mlnx_ofed(unittest.TestCase):
def setUp(self):
"""Disable logging output messages"""
logging.disable(logging.ERROR)
@x86_64
@ubuntu
@docker
def test_defaults_ubuntu(self):
"""Default mlnx_ofed building block"""
mofed = mlnx_ofed()
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
findutils \
libnl-3-200 \
libnl-route-3-200 \
libnuma1 \
wget && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64.tgz -C /var/tmp -z && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64 -regextype posix-extended -type f -regex ".*(ibverbs-utils|libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs-dev|libibverbs1|libmlx4-1|libmlx4-dev|libmlx5-1|libmlx5-dev|librdmacm-dev|librdmacm1)_.*_amd64.deb" -not -path "*UPSTREAM*" -exec dpkg --install {} + && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64''')
@x86_64
@ubuntu18
@docker
def test_defaults_ubuntu(self):
"""Default mlnx_ofed building block"""
mofed = mlnx_ofed()
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
findutils \
libnl-3-200 \
libnl-route-3-200 \
libnuma1 \
wget && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-x86_64.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-x86_64.tgz -C /var/tmp -z && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-x86_64 -regextype posix-extended -type f -regex ".*(ibverbs-utils|libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs-dev|libibverbs1|libmlx4-1|libmlx4-dev|libmlx5-1|libmlx5-dev|librdmacm-dev|librdmacm1)_.*_amd64.deb" -not -path "*UPSTREAM*" -exec dpkg --install {} + && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-x86_64.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-x86_64''')
@x86_64
@centos
@docker
def test_defaults_centos(self):
"""Default mlnx_ofed building block"""
mofed = mlnx_ofed()
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN yum install -y \
findutils \
libnl \
libnl3 \
numactl-libs \
wget && \
rm -rf /var/cache/yum/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-x86_64.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-x86_64.tgz -C /var/tmp -z && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-x86_64 -regextype posix-extended -type f -regex ".*(libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs|libibverbs-devel|libibverbs-utils|libmlx4|libmlx4-devel|libmlx5|libmlx5-devel|librdmacm|librdmacm-devel)-[0-9].*x86_64.rpm" -not -path "*UPSTREAM*" -exec rpm --install {} + && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-x86_64.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-x86_64''')
@x86_64
@ubuntu
@docker
def test_prefix_ubuntu(self):
"""Prefix option"""
mofed = mlnx_ofed(prefix='/opt/ofed')
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
findutils \
libnl-3-200 \
libnl-route-3-200 \
libnuma1 \
wget && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64.tgz -C /var/tmp -z && \
mkdir -p /etc/libibverbs.d && \
mkdir -p /opt/ofed && cd /opt/ofed && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64 -regextype posix-extended -type f -regex ".*(ibverbs-utils|libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs-dev|libibverbs1|libmlx4-1|libmlx4-dev|libmlx5-1|libmlx5-dev|librdmacm-dev|librdmacm1)_.*_amd64.deb" -not -path "*UPSTREAM*" -exec dpkg --extract {} /opt/ofed \; && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64''')
@x86_64
@centos
@docker
def test_prefix_centos(self):
"""Prefix option"""
mofed = mlnx_ofed(prefix='/opt/ofed')
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN yum install -y \
findutils \
libnl \
libnl3 \
numactl-libs \
wget && \
rm -rf /var/cache/yum/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-x86_64.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-x86_64.tgz -C /var/tmp -z && \
mkdir -p /etc/libibverbs.d && \
mkdir -p /opt/ofed && cd /opt/ofed && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-x86_64 -regextype posix-extended -type f -regex ".*(libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs|libibverbs-devel|libibverbs-utils|libmlx4|libmlx4-devel|libmlx5|libmlx5-devel|librdmacm|librdmacm-devel)-[0-9].*x86_64.rpm" -not -path "*UPSTREAM*" -exec sh -c "rpm2cpio {} | cpio -idm" \; && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-x86_64.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-x86_64''')
@aarch64
@ubuntu
@docker
def test_aarch64_ubuntu(self):
"""aarch64"""
mofed = mlnx_ofed(version='4.5-1.0.1.0')
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.5-1.0.1.0
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
findutils \
libnl-3-200 \
libnl-route-3-200 \
libnuma1 \
wget && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.5-1.0.1.0/MLNX_OFED_LINUX-4.5-1.0.1.0-ubuntu16.04-aarch64.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.5-1.0.1.0-ubuntu16.04-aarch64.tgz -C /var/tmp -z && \
find /var/tmp/MLNX_OFED_LINUX-4.5-1.0.1.0-ubuntu16.04-aarch64 -regextype posix-extended -type f -regex ".*(ibverbs-utils|libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs-dev|libibverbs1|libmlx4-1|libmlx4-dev|libmlx5-1|libmlx5-dev|librdmacm-dev|librdmacm1)_.*_arm64.deb" -not -path "*UPSTREAM*" -exec dpkg --install {} + && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.5-1.0.1.0-ubuntu16.04-aarch64.tgz /var/tmp/MLNX_OFED_LINUX-4.5-1.0.1.0-ubuntu16.04-aarch64''')
@aarch64
@ubuntu18
@docker
def test_aarch64_ubuntu18(self):
"""aarch64"""
mofed = mlnx_ofed(version='4.6-1.0.1.1')
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
findutils \
libnl-3-200 \
libnl-route-3-200 \
libnuma1 \
wget && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-aarch64.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-aarch64.tgz -C /var/tmp -z && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-aarch64 -regextype posix-extended -type f -regex ".*(ibverbs-utils|libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs-dev|libibverbs1|libmlx4-1|libmlx4-dev|libmlx5-1|libmlx5-dev|librdmacm-dev|librdmacm1)_.*_arm64.deb" -not -path "*UPSTREAM*" -exec dpkg --install {} + && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-aarch64.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-aarch64''')
@aarch64
@centos
@docker
def test_aarch64_centos(self):
"""aarch64"""
mofed = mlnx_ofed()
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN yum install -y \
findutils \
libnl \
libnl3 \
numactl-libs \
wget && \
rm -rf /var/cache/yum/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.6alternate-aarch64.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.6alternate-aarch64.tgz -C /var/tmp -z && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.6alternate-aarch64 -regextype posix-extended -type f -regex ".*(libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs|libibverbs-devel|libibverbs-utils|libmlx4|libmlx4-devel|libmlx5|libmlx5-devel|librdmacm|librdmacm-devel)-[0-9].*aarch64.rpm" -not -path "*UPSTREAM*" -exec rpm --install {} + && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.6alternate-aarch64.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.6alternate-aarch64''')
@ppc64le
@ubuntu
@docker
def test_ppc64le_ubuntu(self):
"""aarch64"""
mofed = mlnx_ofed(version='4.6-1.0.1.1')
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
findutils \
libnl-3-200 \
libnl-route-3-200 \
libnuma1 \
wget && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-ppc64le.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-ppc64le.tgz -C /var/tmp -z && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-ppc64le -regextype posix-extended -type f -regex ".*(ibverbs-utils|libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs-dev|libibverbs1|libmlx4-1|libmlx4-dev|libmlx5-1|libmlx5-dev|librdmacm-dev|librdmacm1)_.*_ppc64el.deb" -not -path "*UPSTREAM*" -exec dpkg --install {} + && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-ppc64le.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-ppc64le''')
@ppc64le
@ubuntu18
@docker
def test_ppc64le_ubuntu18(self):
"""aarch64"""
mofed = mlnx_ofed(version='4.6-1.0.1.1')
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
findutils \
libnl-3-200 \
libnl-route-3-200 \
libnuma1 \
wget && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-ppc64le.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-ppc64le.tgz -C /var/tmp -z && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-ppc64le -regextype posix-extended -type f -regex ".*(ibverbs-utils|libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs-dev|libibverbs1|libmlx4-1|libmlx4-dev|libmlx5-1|libmlx5-dev|librdmacm-dev|librdmacm1)_.*_ppc64el.deb" -not -path "*UPSTREAM*" -exec dpkg --install {} + && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-ppc64le.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu18.04-ppc64le''')
@ppc64le
@centos
@docker
def test_ppc64le_centos(self):
"""aarch64"""
mofed = mlnx_ofed(version='4.6-1.0.1.1')
self.assertEqual(str(mofed),
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN yum install -y \
findutils \
libnl \
libnl3 \
numactl-libs \
wget && \
rm -rf /var/cache/yum/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-ppc64le.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-ppc64le.tgz -C /var/tmp -z && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-ppc64le -regextype posix-extended -type f -regex ".*(libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs|libibverbs-devel|libibverbs-utils|libmlx4|libmlx4-devel|libmlx5|libmlx5-devel|librdmacm|librdmacm-devel)-[0-9].*ppc64le.rpm" -not -path "*UPSTREAM*" -exec rpm --install {} + && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-ppc64le.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-rhel7.2-ppc64le''')
@x86_64
@ubuntu
@docker
def test_runtime(self):
"""Runtime"""
mofed = mlnx_ofed()
r = mofed.runtime()
self.assertEqual(r,
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
findutils \
libnl-3-200 \
libnl-route-3-200 \
libnuma1 \
wget && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp http://content.mellanox.com/ofed/MLNX_OFED-4.6-1.0.1.1/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64.tgz && \
mkdir -p /var/tmp && tar -x -f /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64.tgz -C /var/tmp -z && \
find /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64 -regextype posix-extended -type f -regex ".*(ibverbs-utils|libibmad|libibmad-devel|libibumad|libibumad-devel|libibverbs-dev|libibverbs1|libmlx4-1|libmlx4-dev|libmlx5-1|libmlx5-dev|librdmacm-dev|librdmacm1)_.*_amd64.deb" -not -path "*UPSTREAM*" -exec dpkg --install {} + && \
rm -rf /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64.tgz /var/tmp/MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu16.04-x86_64''')
@x86_64
@ubuntu
@docker
def test_prefix_runtime(self):
"""Prefix runtime"""
mofed = mlnx_ofed(prefix='/opt/ofed')
r = mofed.runtime()
self.assertEqual(r,
r'''# Mellanox OFED version 4.6-1.0.1.1
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
findutils \
libnl-3-200 \
libnl-route-3-200 \
libnuma1 \
wget && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /etc/libibverbs.d
COPY --from=0 /opt/ofed /opt/ofed''')
| 53.424837 | 360 | 0.663934 | 2,762 | 16,348 | 3.837799 | 0.076394 | 0.018491 | 0.025472 | 0.030943 | 0.883868 | 0.882547 | 0.874528 | 0.874528 | 0.869434 | 0.856038 | 0 | 0.08868 | 0.161916 | 16,348 | 305 | 361 | 53.6 | 0.684987 | 0.058172 | 0 | 0.794118 | 0 | 0 | 0.032553 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 1 | 0.137255 | false | 0 | 0.058824 | 0 | 0.205882 | 0.009804 | 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 |
6361d0bc98e8790466c641f3d01fa54f6f53aa24 | 2,340 | py | Python | tests/integration/operators_test/mul_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | tests/integration/operators_test/mul_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | tests/integration/operators_test/mul_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | # Copyright (c) 2019 Graphcore Ltd. All rights reserved.
import numpy as np
import popart
import torch
import pytest
import torch.nn.functional as F
from op_tester import op_tester
# `import test_util` requires adding to sys.path
import sys
from pathlib import Path
sys.path.append(Path(__file__).resolve().parent.parent)
def test_mul(op_tester):
d1 = np.random.rand(2).astype(np.float32)
d2 = np.random.rand(2).astype(np.float32)
def init_builder(builder):
i1 = builder.addInputTensor(d1)
i2 = builder.addInputTensor(d2)
o = builder.aiOnnx.mul([i1, i2])
builder.addOutputTensor(o)
return [
o,
popart.reservedGradientPrefix() + i1,
popart.reservedGradientPrefix() + i2,
popart.reservedGradientPrefix() + o
]
def reference(ref_data):
t1 = torch.tensor(d1, requires_grad=True)
t2 = torch.tensor(d2, requires_grad=True)
out = t1 * t2
d__o = torch.tensor(ref_data.getOutputTensorGrad(0))
assert not torch.isnan(d__o).any()
out.backward(d__o)
return [out, t1.grad, t2.grad, None]
op_tester.setPatterns(['PreUniRepl', 'MulArgGradOp'],
enableRuntimeAsserts=False)
op_tester.run(init_builder, reference, step_type='train')
def test_broadcast_mul(op_tester):
d1 = np.random.rand(2, 2).astype(np.float32)
d2 = np.random.rand(2).astype(np.float32)
def init_builder(builder):
i1 = builder.addInputTensor(d1)
i2 = builder.addInputTensor(d2)
o = builder.aiOnnx.mul([i1, i2])
builder.addOutputTensor(o)
return [
o,
popart.reservedGradientPrefix() + i1,
popart.reservedGradientPrefix() + i2,
popart.reservedGradientPrefix() + o
]
def reference(ref_data):
t1 = torch.tensor(d1, requires_grad=True)
t2 = torch.tensor(d2, requires_grad=True)
out = t1 * t2
d__o = torch.tensor(ref_data.getOutputTensorGrad(0))
assert not torch.isnan(d__o).any()
out.backward(d__o)
return [out, t1.grad, t2.grad, None]
op_tester.setPatterns(['PreUniRepl', 'MulArgGradOp'],
enableRuntimeAsserts=False)
op_tester.run(init_builder, reference, step_type='train')
| 30.38961 | 61 | 0.633333 | 286 | 2,340 | 5.034965 | 0.27972 | 0.044444 | 0.033333 | 0.036111 | 0.809028 | 0.809028 | 0.809028 | 0.809028 | 0.773611 | 0.773611 | 0 | 0.031519 | 0.254274 | 2,340 | 76 | 62 | 30.789474 | 0.793696 | 0.043162 | 0 | 0.745763 | 0 | 0 | 0.02415 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 1 | 0.101695 | false | 0 | 0.135593 | 0 | 0.305085 | 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 |
63c1604056a6fcedc5f3b660ad4d7424b193107c | 308 | bzl | Python | third_party/libcxx/revision.bzl | EdSchouten/bazel-toolchains | 82f7462fea3630d702d73ccf2f3e38e34941977d | [
"Apache-2.0"
] | null | null | null | third_party/libcxx/revision.bzl | EdSchouten/bazel-toolchains | 82f7462fea3630d702d73ccf2f3e38e34941977d | [
"Apache-2.0"
] | null | null | null | third_party/libcxx/revision.bzl | EdSchouten/bazel-toolchains | 82f7462fea3630d702d73ccf2f3e38e34941977d | [
"Apache-2.0"
] | null | null | null | LIBCXX_REVISION = "r342117"
DEBIAN8_LIBCXX_SHA256 = "1f28a992888e1da7a369e1e231ea31efa096954ed2b02065d73fb14e5982b922"
DEBIAN9_LIBCXX_SHA256 = "3d60d0150da75ea617f7bca1de5914cb6f2f4d831d53dd4e8fb011f4a2bad8b2"
UBUNTU16_04_LIBCXX_SHA256 = "3c814866724768a4e331f75dd015e4dcc9ae894dc4a320b7f332d5238e41e956"
| 38.5 | 94 | 0.912338 | 16 | 308 | 17.0625 | 0.6875 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.488055 | 0.048701 | 308 | 7 | 95 | 44 | 0.443686 | 0 | 0 | 0 | 0 | 0 | 0.646104 | 0.623377 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
983c3c62634b5e60023b767f1bf0ebb235d7aaf3 | 215 | py | Python | seraphim/tracker/admin.py | malaclypse2/seraphim | 5c3e48b1d3054bb4ea9ffe57be9cacf4f319d046 | [
"MIT"
] | null | null | null | seraphim/tracker/admin.py | malaclypse2/seraphim | 5c3e48b1d3054bb4ea9ffe57be9cacf4f319d046 | [
"MIT"
] | null | null | null | seraphim/tracker/admin.py | malaclypse2/seraphim | 5c3e48b1d3054bb4ea9ffe57be9cacf4f319d046 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Combat, StatusEffectType, StatusEffect, Heal, Wound
admin.site.register(
[Combat, StatusEffectType, StatusEffect, Heal, Wound])
| 30.714286 | 71 | 0.786047 | 25 | 215 | 6.76 | 0.6 | 0.260355 | 0.402367 | 0.449704 | 0.508876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130233 | 215 | 6 | 72 | 35.833333 | 0.903743 | 0.12093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
9860445d8bf471d37155c5974c8c03e074137eac | 4,590 | py | Python | neural_network_lyapunov/geometry_transform.py | hongkai-dai/neural-network-lyapunov-1 | 8843c13f69f7f39cbb939ab250413e76f61843f6 | [
"MIT"
] | 58 | 2021-06-21T08:59:52.000Z | 2022-03-31T14:35:23.000Z | neural_network_lyapunov/geometry_transform.py | StanfordASL/neural-network-lyapunov | 9e5db1c7f91b42df729026c9aa8575bc126f66b6 | [
"MIT"
] | 8 | 2021-08-22T05:31:23.000Z | 2022-03-29T03:47:07.000Z | neural_network_lyapunov/geometry_transform.py | StanfordASL/neural-network-lyapunov | 9e5db1c7f91b42df729026c9aa8575bc126f66b6 | [
"MIT"
] | 11 | 2021-06-21T04:29:59.000Z | 2022-03-30T05:54:43.000Z | import torch
import numpy as np
def rpy2rotmat(rpy):
if isinstance(rpy, np.ndarray):
cos_roll = np.cos(rpy[0])
sin_roll = np.sin(rpy[0])
cos_pitch = np.cos(rpy[1])
sin_pitch = np.sin(rpy[1])
cos_yaw = np.cos(rpy[2])
sin_yaw = np.sin(rpy[2])
R_roll = np.array([[1., 0, 0], [0, cos_roll, -sin_roll],
[0, sin_roll, cos_roll]])
R_pitch = np.array([[cos_pitch, 0, sin_pitch], [0, 1., 0],
[-sin_pitch, 0, cos_pitch]])
R_yaw = np.array([[cos_yaw, -sin_yaw, 0], [sin_yaw, cos_yaw, 0],
[0, 0, 1.]])
return R_yaw @ R_pitch @ R_roll
elif isinstance(rpy, torch.Tensor):
cos_roll = torch.cos(rpy[0])
sin_roll = torch.sin(rpy[0])
cos_pitch = torch.cos(rpy[1])
sin_pitch = torch.sin(rpy[1])
cos_yaw = torch.cos(rpy[2])
sin_yaw = torch.sin(rpy[2])
R_roll = torch.zeros((3, 3), dtype=rpy.dtype)
R_roll[0, 0] = 1
R_roll[1, 1] = cos_roll
R_roll[1, 2] = -sin_roll
R_roll[2, 1] = sin_roll
R_roll[2, 2] = cos_roll
R_pitch = torch.zeros((3, 3), dtype=rpy.dtype)
R_pitch[1, 1] = 1
R_pitch[0, 0] = cos_pitch
R_pitch[0, 2] = sin_pitch
R_pitch[2, 0] = -sin_pitch
R_pitch[2, 2] = cos_pitch
R_yaw = torch.zeros((3, 3), dtype=rpy.dtype)
R_yaw[0, 0] = cos_yaw
R_yaw[0, 1] = -sin_yaw
R_yaw[1, 0] = sin_yaw
R_yaw[1, 1] = cos_yaw
R_yaw[2, 2] = 1
return R_yaw @ R_pitch @ R_roll
def rpy2rotmat_gradient(rpy):
"""
Returns dR/droll, dR/dpitch dR/dyaw
"""
if isinstance(rpy, np.ndarray):
cos_roll = np.cos(rpy[0])
sin_roll = np.sin(rpy[0])
cos_pitch = np.cos(rpy[1])
sin_pitch = np.sin(rpy[1])
cos_yaw = np.cos(rpy[2])
sin_yaw = np.sin(rpy[2])
R_roll = np.array([[1., 0, 0], [0, cos_roll, -sin_roll],
[0, sin_roll, cos_roll]])
dR_roll_droll = np.array([[0, 0, 0], [0, -sin_roll, -cos_roll],
[0, cos_roll, -sin_roll]])
R_pitch = np.array([[cos_pitch, 0, sin_pitch], [0, 1., 0],
[-sin_pitch, 0, cos_pitch]])
dR_pitch_dpitch = np.array([[-sin_pitch, 0, cos_pitch], [0, 0., 0],
[-cos_pitch, 0, -sin_pitch]])
R_yaw = np.array([[cos_yaw, -sin_yaw, 0], [sin_yaw, cos_yaw, 0],
[0, 0, 1.]])
dR_yaw_dyaw = np.array([[-sin_yaw, -cos_yaw, 0],
[cos_yaw, -sin_yaw, 0], [0, 0, 0.]])
dR_droll = R_yaw @ R_pitch @ dR_roll_droll
dR_dpitch = R_yaw @ dR_pitch_dpitch @ R_roll
dR_dyaw = dR_yaw_dyaw @ R_pitch @ R_roll
elif isinstance(rpy, torch.Tensor):
cos_roll = torch.cos(rpy[0])
sin_roll = torch.sin(rpy[0])
cos_pitch = torch.cos(rpy[1])
sin_pitch = torch.sin(rpy[1])
cos_yaw = torch.cos(rpy[2])
sin_yaw = torch.sin(rpy[2])
R_roll = torch.zeros((3, 3), dtype=rpy.dtype)
R_roll[0, 0] = 1
R_roll[1, 1] = cos_roll
R_roll[1, 2] = -sin_roll
R_roll[2, 1] = sin_roll
R_roll[2, 2] = cos_roll
dR_roll_droll = torch.zeros((3, 3), dtype=rpy.dtype)
dR_roll_droll[1, 1] = -sin_roll
dR_roll_droll[1, 2] = -cos_roll
dR_roll_droll[2, 1] = cos_roll
dR_roll_droll[2, 2] = -sin_roll
R_pitch = torch.zeros((3, 3), dtype=rpy.dtype)
R_pitch[1, 1] = 1
R_pitch[0, 0] = cos_pitch
R_pitch[0, 2] = sin_pitch
R_pitch[2, 0] = -sin_pitch
R_pitch[2, 2] = cos_pitch
dR_pitch_dpitch = torch.zeros((3, 3), dtype=rpy.dtype)
dR_pitch_dpitch[0, 0] = -sin_pitch
dR_pitch_dpitch[0, 2] = cos_pitch
dR_pitch_dpitch[2, 0] = -cos_pitch
dR_pitch_dpitch[2, 2] = -sin_pitch
R_yaw = torch.zeros((3, 3), dtype=rpy.dtype)
R_yaw[0, 0] = cos_yaw
R_yaw[0, 1] = -sin_yaw
R_yaw[1, 0] = sin_yaw
R_yaw[1, 1] = cos_yaw
R_yaw[2, 2] = 1
dR_yaw_dyaw = torch.zeros((3, 3), dtype=rpy.dtype)
dR_yaw_dyaw[0, 0] = -sin_yaw
dR_yaw_dyaw[0, 1] = -cos_yaw
dR_yaw_dyaw[1, 0] = cos_yaw
dR_yaw_dyaw[1, 1] = -sin_yaw
dR_droll = R_yaw @ R_pitch @ dR_roll_droll
dR_dpitch = R_yaw @ dR_pitch_dpitch @ R_roll
dR_dyaw = dR_yaw_dyaw @ R_pitch @ R_roll
return dR_droll, dR_dpitch, dR_dyaw
| 38.898305 | 75 | 0.523747 | 757 | 4,590 | 2.892999 | 0.043593 | 0.021918 | 0.045205 | 0.049315 | 0.892694 | 0.850685 | 0.761187 | 0.761187 | 0.710046 | 0.710046 | 0 | 0.058042 | 0.328105 | 4,590 | 117 | 76 | 39.230769 | 0.652075 | 0.007625 | 0 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0.018182 | 0 | 0.063636 | 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 |
f6b0d46ed3496fd30b420caa0c62956dfd7a4c94 | 8,018 | py | Python | myapp/models.py | sharmin6630/Project-Distribution | 32692653c309b417187ab0299f074a38d1a5bd3e | [
"MIT"
] | null | null | null | myapp/models.py | sharmin6630/Project-Distribution | 32692653c309b417187ab0299f074a38d1a5bd3e | [
"MIT"
] | 1 | 2021-08-04T15:41:05.000Z | 2021-08-04T15:41:05.000Z | myapp/models.py | sharmin6630/Project-Distribution | 32692653c309b417187ab0299f074a38d1a5bd3e | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
from django.utils.html import mark_safe
from markdown import markdown
from django.urls import reverse
# Create your models here.
#Lets build model classes here.
class CustomUser(AbstractUser):
user_type = models.CharField(null=True, blank=True, default=None, max_length=55)
first_name = models.CharField(null=True, blank=True, default=None, max_length=55)
last_name = models.CharField(null=True, blank=True, default=None, max_length=55)
email = models.CharField(null=True, blank=True, default=None, max_length=55)
password = models.CharField(null=True, blank=True, default=None, max_length=55)
password1 = models.CharField(null=True, blank=True, default=None, max_length=55)
def __str__(self):
return self.first_name+" "+self.last_name
class Student_data(models.Model):
user_id = models.ForeignKey(CustomUser, default=1, on_delete=models.CASCADE)
# student_id = models.AutoField(null=False,blank=False,default=None,primary_key=True)
date_of_birth = models.DateField(null=True,blank=True,default=None)
#reg_no = models.CharField(null=True,blank=True,default=None,max_length=20) ##
address = models.TextField(null=True,blank=True,default=None)
gender = models.CharField(null=True,blank=True,default=None,max_length=20)
mobile_no = models.CharField(null=True,blank=True,default=None,max_length=20)
blood_group = models.CharField(null=True,blank=True,default=None,max_length=20)
photos = models.FileField(null=True,blank=True,default="images/default.png",upload_to='images/')
major_cgpa = models.FloatField(null=True,blank=True,default=0.0,max_length=5)
total_cgpa = models.FloatField(null=True,blank=True,default=0.0,max_length=5)
linkedin = models.CharField(null=True, blank=True, default=None, max_length=55)
github = models.CharField(null=True, blank=True, default=None, max_length=55)
class Teachers_data(models.Model):
#teacher_id = models.AutoField(null=False,blank=False,default=None,primary_key=True)
user_id = models.ForeignKey(CustomUser, default=1, on_delete=models.CASCADE)
date_of_birth = models.DateField(null=True,blank=True,default=None)
gender = models.CharField(null=True,blank=True,default=None,max_length=20)
address = models.TextField(null=True, blank=True, default=None)
blood_group = models.CharField(null=True,blank=True,default=None,max_length=20)
mobile_no = models.CharField(null=True,blank=True,default=None,max_length=20)
designation = models.TextField(null=True,blank=True,default=None)
photos = models.FileField(null=True,blank=True,default="teacher/default.png",upload_to='teacher/')
sust_id = models.CharField(null=True, blank=True, default=None, max_length=55)
scholar = models.CharField(null=True, blank=True, default=None, max_length=55)
assigned_teams = models.IntegerField(null=True,blank=True,default=0)
class Teacher_edu(models.Model):
# edu_id=models.AutoField(null=False,blank=False,default=None,primary_key=True)
user_id = models.ForeignKey(CustomUser, default=1, on_delete=models.CASCADE)
MSc_Institute_name = models.CharField(null=True, blank=True, default=None, max_length=55)
MSc_Institute_Country = models.CharField(null=True, blank=True, default=None, max_length=55)
MSc_start_date = models.CharField(null=True, blank=True, default=None, max_length=55)
MSc_end_date = models.CharField(null=True, blank=True, default=None, max_length=55)
Phd_Institute_name = models.CharField(null=True, blank=True, default=None, max_length=55)
Phd_Institute_Country = models.CharField(null=True, blank=True, default=None, max_length=55)
Phd_start_date = models.CharField(null=True, blank=True, default=None, max_length=55)
Phd_end_date = models.CharField(null=True, blank=True, default=None, max_length=55)
class Paper(models.Model):
# paper_id=models.AutoField(null=False,blank=False,default=None,primary_key=True)
user_id = models.ForeignKey(CustomUser, default=1, on_delete=models.CASCADE)
Research_area = models.CharField(null=True, blank=True, default=None, max_length=55)
Published_Paper = models.CharField(null=True, blank=True, default=None, max_length=55)
Published_Journal = models.CharField(null=True, blank=True, default=None, max_length=55)
class compact_Form(models.Model):
# paper_id=models.AutoField(null=False,blank=False,default=None,primary_key=True)
student_1_id = models.ForeignKey(CustomUser, default=1, on_delete=models.CASCADE)
student_1_username = models.CharField(null=True, blank=True, default=None, max_length=55)
student_1_majorcg = models.FloatField(null=True,blank=True,default=None,max_length=5)
student_1_totalcg = models.FloatField(null=True,blank=True,default=None,max_length=5)
student_1_name = models.CharField(null=True, blank=True, default=None, max_length=55)
student_2_id = models.CharField(null=True, blank=True, default=None, max_length=55)
student_2_username = models.CharField(null=True, blank=True, default=None, max_length=55)
student_2_name = models.CharField(null=True, blank=True, default=None, max_length=55)
student_2_majorcg = models.FloatField(null=True,blank=True,default=None,max_length=5)
student_2_totalcg = models.FloatField(null=True,blank=True,default=None,max_length=5)
Course = models.CharField(null=True, blank=True, default=None, max_length=55)
topic = models.CharField(null=True, blank=True, default=None, max_length=500)
description = models.CharField(null=True, blank=True, default=None, max_length=5000)
supervisor_1 = models.CharField(null=True, blank=True, default=None, max_length=55)
supervisor_2 = models.CharField(null=True, blank=True, default=None, max_length=55)
supervisor_3 = models.CharField(null=True, blank=True, default=None, max_length=55)
supervisor_4 = models.CharField(null=True, blank=True, default=None, max_length=55)
supervisor_5 = models.CharField(null=True, blank=True, default=None, max_length=55)
external = models.CharField(null=True, blank=True, default=None, max_length=55)
supervisor_1_name = models.CharField(null=True, blank=True, default=None, max_length=55)
supervisor_2_name = models.CharField(null=True, blank=True, default=None, max_length=55)
supervisor_3_name = models.CharField(null=True, blank=True, default=None, max_length=55)
supervisor_4_name = models.CharField(null=True, blank=True, default=None, max_length=55)
supervisor_5_name = models.CharField(null=True, blank=True, default=None, max_length=55)
assigned_external = models.CharField(null=True, blank=True, default=None, max_length=55)
assigned_course = models.CharField(null=True, blank=True, default=None, max_length=55)
assigned_supervisor = models.CharField(null=True, blank=True, default=None, max_length=55)
assigned_supervisor_id = models.CharField(null=True, blank=True, default=None, max_length=55)
action = models.CharField(null=True, blank=True, default="Save", max_length=55)
class teamcount():
user_id_id = models.CharField(default=None, name="user_id_id", max_length=500)
username = models.CharField(default=None, name="username", max_length=500)
teamcount = models.CharField(default=None, name="teamcount", max_length=500)
def __init__(self, user_id_id, username, teamcount):
self.user_id_id = user_id_id
self.username = username
self.teamcount = teamcount
class Notice(models.Model):
title = models.CharField(max_length=100)
message = models.TextField(max_length=2000)
created_at = models.DateTimeField(auto_now=True)
created_by = models.ForeignKey(CustomUser, related_name='posts', on_delete=models.DO_NOTHING)
def __str__(self):
return self.title
def get_message_as_markdown(self):
return mark_safe(markdown(self.message))
def get_absolute_url(self):
return reverse('notice-detail',kwargs={'pk':self.pk}) | 63.634921 | 102 | 0.765153 | 1,172 | 8,018 | 5.063993 | 0.12372 | 0.126032 | 0.144566 | 0.189048 | 0.807751 | 0.785847 | 0.781634 | 0.775063 | 0.752654 | 0.752654 | 0 | 0.022459 | 0.111499 | 8,018 | 126 | 103 | 63.634921 | 0.81064 | 0.0666 | 0 | 0.156863 | 0 | 0 | 0.013915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04902 | false | 0.019608 | 0.04902 | 0.039216 | 0.970588 | 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 | 1 | 0 | 0 | 8 |
f6c490a4bc3acd816eeec3c92f2456cec6df220b | 4,746 | py | Python | tests/test_errors.py | pquentin/modelkit | d2278d4bdcd47b1d6cd98c895a9ffbbe9add2b7d | [
"MIT"
] | null | null | null | tests/test_errors.py | pquentin/modelkit | d2278d4bdcd47b1d6cd98c895a9ffbbe9add2b7d | [
"MIT"
] | null | null | null | tests/test_errors.py | pquentin/modelkit | d2278d4bdcd47b1d6cd98c895a9ffbbe9add2b7d | [
"MIT"
] | null | null | null | import pytest
from modelkit.core.model import AsyncModel, Model
class CustomError(BaseException):
pass
class OKModel(Model):
def _predict(self, item):
return self.model_dependencies["error_model"].predict(item)
class ErrorModel(Model):
def _predict(self, item):
raise CustomError("something went wrong")
class ErrorBatchModel(Model):
def _predict_batch(self, item):
raise CustomError("something went wrong")
@pytest.mark.parametrize("model", [ErrorModel(), ErrorBatchModel()])
def test_prediction_error(model):
with pytest.raises(CustomError) as excinfo:
model.predict({})
assert len(excinfo.traceback) <= 3
with pytest.raises(CustomError) as excinfo:
model.predict_batch([{}])
assert len(excinfo.traceback) <= 3
with pytest.raises(CustomError) as excinfo:
next(model.predict_gen(iter(({},))))
assert len(excinfo.traceback) <= 3
def test_prediction_error_composition():
mm = OKModel(model_dependencies={"error_model": ErrorModel()})
mm.load()
with pytest.raises(CustomError) as excinfo:
mm.predict({})
assert len(excinfo.traceback) <= 4
with pytest.raises(CustomError) as excinfo:
mm.predict_batch([{}])
assert len(excinfo.traceback) <= 4
with pytest.raises(CustomError) as excinfo:
next(mm.predict_gen(iter(({},))))
assert len(excinfo.traceback) <= 4
@pytest.mark.parametrize("model", [ErrorModel(), ErrorBatchModel()])
def test_prediction_error_complex_tb(monkeypatch, model):
monkeypatch.setenv("ENABLE_SIMPLE_TRACEBACK", False)
with pytest.raises(CustomError) as excinfo:
model.predict({})
assert len(excinfo.traceback) > 3
with pytest.raises(CustomError) as excinfo:
model.predict_batch([{}])
assert len(excinfo.traceback) > 3
with pytest.raises(CustomError) as excinfo:
next(model.predict_gen(iter(({},))))
assert len(excinfo.traceback) > 3
class AsyncOKModel(AsyncModel):
async def _predict(self, item):
return self.model_dependencies["error_model"].predict(item)
class AsyncErrorModel(AsyncModel):
async def _predict(self, item):
raise CustomError("something went wrong")
class AsyncErrorBatchModel(AsyncModel):
async def _predict_batch(self, item):
raise CustomError("something went wrong")
@pytest.mark.asyncio
@pytest.mark.parametrize("model", [AsyncErrorModel(), AsyncErrorBatchModel()])
async def test_prediction_error_async(model):
with pytest.raises(CustomError) as excinfo:
await model.predict({})
assert len(excinfo.traceback) <= 3
with pytest.raises(CustomError) as excinfo:
await model.predict_batch([{}])
assert len(excinfo.traceback) <= 3
with pytest.raises(CustomError) as excinfo:
async for x in model.predict_gen(iter(({},))):
pass
assert len(excinfo.traceback) <= 3
@pytest.mark.asyncio
@pytest.mark.parametrize("model", [AsyncErrorModel(), AsyncErrorBatchModel()])
async def test_prediction_error_complex_tb_async(monkeypatch, model):
monkeypatch.setenv("ENABLE_SIMPLE_TRACEBACK", False)
with pytest.raises(CustomError) as excinfo:
await model.predict({})
assert len(excinfo.traceback) > 3
with pytest.raises(CustomError) as excinfo:
await model.predict_batch([{}])
assert len(excinfo.traceback) > 3
with pytest.raises(CustomError) as excinfo:
async for x in model.predict_gen(iter(({},))):
pass
assert len(excinfo.traceback) > 3
def test_internal_error(monkeypatch):
m = OKModel()
class CustomError(BaseException):
pass
def _buggy_predict_cache_items(*args, **kwargs):
raise CustomError
yield None
monkeypatch.setattr(m, "_predict_cache_items", _buggy_predict_cache_items)
with pytest.raises(CustomError):
m({})
with pytest.raises(CustomError):
m.predict({})
with pytest.raises(CustomError):
m.predict_batch([{}])
with pytest.raises(CustomError):
for _ in m.predict_gen([{}]):
pass
@pytest.mark.asyncio
async def test_internal_error_async(monkeypatch):
m = AsyncOKModel()
class CustomError(BaseException):
pass
async def _buggy_predict_cache_items(*args, **kwargs):
raise CustomError
yield None
monkeypatch.setattr(m, "_predict_cache_items", _buggy_predict_cache_items)
with pytest.raises(CustomError):
await m({})
with pytest.raises(CustomError):
await m.predict({})
with pytest.raises(CustomError):
await m.predict_batch([{}])
with pytest.raises(CustomError):
async for _ in m.predict_gen(iter(({},))):
pass
| 27.433526 | 78 | 0.683734 | 540 | 4,746 | 5.864815 | 0.131481 | 0.072624 | 0.116198 | 0.196085 | 0.849384 | 0.835491 | 0.797285 | 0.728134 | 0.711083 | 0.711083 | 0 | 0.003934 | 0.196587 | 4,746 | 172 | 79 | 27.593023 | 0.826646 | 0 | 0 | 0.714286 | 0 | 0 | 0.046144 | 0.009692 | 0 | 0 | 0 | 0 | 0.12605 | 1 | 0.067227 | false | 0.058824 | 0.016807 | 0.008403 | 0.176471 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
63dcab85e40ecaa4b63b3fb50186767497a38dc3 | 927 | py | Python | python/lib/math_utils.py | aiver-workshop/intro-algo | f45f9f7873d94b76ff4edb3663c16ce45253922c | [
"MIT"
] | null | null | null | python/lib/math_utils.py | aiver-workshop/intro-algo | f45f9f7873d94b76ff4edb3663c16ce45253922c | [
"MIT"
] | null | null | null | python/lib/math_utils.py | aiver-workshop/intro-algo | f45f9f7873d94b76ff4edb3663c16ce45253922c | [
"MIT"
] | null | null | null | from decimal import Decimal
def to_nearest(num, tick_size: float):
"""Given a number, round it to the nearest tick. Very useful for sussing float error
out of numbers: e.g. to_nearest(401.46, 0.01) -> 401.46, whereas processing is
normally with floats would give you 401.46000000000004.
Use this after adding/subtracting/multiplying numbers."""
tick_dec = Decimal(str(tick_size))
return float((Decimal(round(num / tick_size, 0)) * tick_dec))
def to_nearest_int(num, tick_size: float):
"""Given a number, round it to the nearest tick. Very useful for sussing float error
out of numbers: e.g. to_nearest(401.46, 0.01) -> 401.46, whereas processing is
normally with floats would give you 401.46000000000004.
Use this after adding/subtracting/multiplying numbers."""
tick_dec = Decimal(str(tick_size))
return int((Decimal(round(num / tick_size, 0)) * tick_dec)) | 48.789474 | 88 | 0.709817 | 143 | 927 | 4.496504 | 0.34965 | 0.07465 | 0.068429 | 0.049767 | 0.908243 | 0.908243 | 0.908243 | 0.908243 | 0.81182 | 0.81182 | 0 | 0.082667 | 0.190939 | 927 | 19 | 89 | 48.789474 | 0.774667 | 0.585761 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 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 |
89c2446605bb9f0f085e3c165f0e9f271a3cd513 | 184 | py | Python | wosfile/__init__.py | Abandon17-tech/wosfile | bca2dffa64b7c5d996c5efd2ac7a1196011fc24c | [
"BSD-3-Clause"
] | 16 | 2019-11-07T01:18:40.000Z | 2022-02-15T18:28:46.000Z | wosfile/__init__.py | Abandon17-tech/wosfile | bca2dffa64b7c5d996c5efd2ac7a1196011fc24c | [
"BSD-3-Clause"
] | 8 | 2019-11-27T12:38:56.000Z | 2021-04-29T06:58:41.000Z | wosfile/__init__.py | Abandon17-tech/wosfile | bca2dffa64b7c5d996c5efd2ac7a1196011fc24c | [
"BSD-3-Clause"
] | 8 | 2019-07-26T09:22:45.000Z | 2022-02-15T01:49:26.000Z | from .record import *
from .read import * # type: ignore # https://github.com/python/mypy/issues/5479
from .tags import * # type: ignore # https://github.com/python/mypy/issues/5479
| 46 | 80 | 0.717391 | 27 | 184 | 4.888889 | 0.518519 | 0.151515 | 0.242424 | 0.318182 | 0.757576 | 0.757576 | 0.757576 | 0.757576 | 0.757576 | 0.757576 | 0 | 0.05 | 0.130435 | 184 | 3 | 81 | 61.333333 | 0.775 | 0.61413 | 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 | 1 | 1 | 1 | 1 | 1 | 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 | 11 |
d610d333e454a411431cc88c1eb3e8dcff1c6e87 | 165 | py | Python | tests/test_version.py | iamamutt/datajoint-utilities | e5c87cf968d4a50f6819fd6ab743f264641947cc | [
"MIT"
] | 1 | 2022-02-03T18:19:50.000Z | 2022-02-03T18:19:50.000Z | tests/test_version.py | iamamutt/datajoint-utilities | e5c87cf968d4a50f6819fd6ab743f264641947cc | [
"MIT"
] | 4 | 2021-12-07T01:42:24.000Z | 2022-02-21T17:36:56.000Z | tests/test_version.py | iamamutt/datajoint-utilities | e5c87cf968d4a50f6819fd6ab743f264641947cc | [
"MIT"
] | 2 | 2021-01-11T16:18:09.000Z | 2021-01-26T17:13:24.000Z | from dj_search.meta import __version__ as version_meta
from dj_search import __version__ as version_pkg
def test_version():
assert version_pkg == version_meta
| 23.571429 | 54 | 0.818182 | 25 | 165 | 4.8 | 0.44 | 0.1 | 0.2 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 165 | 6 | 55 | 27.5 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d63d2b69c4858bc2a1cb0b3b4c1cb25f995de0c0 | 17,752 | py | Python | bl/tests/data.py | djfroofy/beatlounge | 6ab173e2e1e3a8a357063e020f0392fa71330382 | [
"MIT"
] | 8 | 2015-04-29T02:52:42.000Z | 2018-12-06T17:49:32.000Z | bl/tests/data.py | djfroofy/beatlounge | 6ab173e2e1e3a8a357063e020f0392fa71330382 | [
"MIT"
] | null | null | null | bl/tests/data.py | djfroofy/beatlounge | 6ab173e2e1e3a8a357063e020f0392fa71330382 | [
"MIT"
] | null | null | null |
measure_standard_beats = [
(0, 0, 0, 0, 0),
(0, 0, 0, 0, 1),
(0, 0, 0, 0, 2),
(0, 0, 0, 0, 3),
(0, 0, 0, 0, 4),
(0, 0, 0, 0, 5),
(0, 0, 0, 1, 0),
(0, 0, 0, 1, 1),
(0, 0, 0, 1, 2),
(0, 0, 0, 1, 3),
(0, 0, 0, 1, 4),
(0, 0, 0, 1, 5),
(0, 0, 1, 0, 0),
(0, 0, 1, 0, 1),
(0, 0, 1, 0, 2),
(0, 0, 1, 0, 3),
(0, 0, 1, 0, 4),
(0, 0, 1, 0, 5),
(0, 0, 1, 1, 0),
(0, 0, 1, 1, 1),
(0, 0, 1, 1, 2),
(0, 0, 1, 1, 3),
(0, 0, 1, 1, 4),
(0, 0, 1, 1, 5),
(0, 1, 0, 0, 0),
(0, 1, 0, 0, 1),
(0, 1, 0, 0, 2),
(0, 1, 0, 0, 3),
(0, 1, 0, 0, 4),
(0, 1, 0, 0, 5),
(0, 1, 0, 1, 0),
(0, 1, 0, 1, 1),
(0, 1, 0, 1, 2),
(0, 1, 0, 1, 3),
(0, 1, 0, 1, 4),
(0, 1, 0, 1, 5),
(0, 1, 1, 0, 0),
(0, 1, 1, 0, 1),
(0, 1, 1, 0, 2),
(0, 1, 1, 0, 3),
(0, 1, 1, 0, 4),
(0, 1, 1, 0, 5),
(0, 1, 1, 1, 0),
(0, 1, 1, 1, 1),
(0, 1, 1, 1, 2),
(0, 1, 1, 1, 3),
(0, 1, 1, 1, 4),
(0, 1, 1, 1, 5),
(0, 2, 0, 0, 0),
(0, 2, 0, 0, 1),
(0, 2, 0, 0, 2),
(0, 2, 0, 0, 3),
(0, 2, 0, 0, 4),
(0, 2, 0, 0, 5),
(0, 2, 0, 1, 0),
(0, 2, 0, 1, 1),
(0, 2, 0, 1, 2),
(0, 2, 0, 1, 3),
(0, 2, 0, 1, 4),
(0, 2, 0, 1, 5),
(0, 2, 1, 0, 0),
(0, 2, 1, 0, 1),
(0, 2, 1, 0, 2),
(0, 2, 1, 0, 3),
(0, 2, 1, 0, 4),
(0, 2, 1, 0, 5),
(0, 2, 1, 1, 0),
(0, 2, 1, 1, 1),
(0, 2, 1, 1, 2),
(0, 2, 1, 1, 3),
(0, 2, 1, 1, 4),
(0, 2, 1, 1, 5),
(0, 3, 0, 0, 0),
(0, 3, 0, 0, 1),
(0, 3, 0, 0, 2),
(0, 3, 0, 0, 3),
(0, 3, 0, 0, 4),
(0, 3, 0, 0, 5),
(0, 3, 0, 1, 0),
(0, 3, 0, 1, 1),
(0, 3, 0, 1, 2),
(0, 3, 0, 1, 3),
(0, 3, 0, 1, 4),
(0, 3, 0, 1, 5),
(0, 3, 1, 0, 0),
(0, 3, 1, 0, 1),
(0, 3, 1, 0, 2),
(0, 3, 1, 0, 3),
(0, 3, 1, 0, 4),
(0, 3, 1, 0, 5),
(0, 3, 1, 1, 0),
(0, 3, 1, 1, 1),
(0, 3, 1, 1, 2),
(0, 3, 1, 1, 3),
(0, 3, 1, 1, 4),
(0, 3, 1, 1, 5),
(1, 0, 0, 0, 0),
(1, 0, 0, 0, 1),
(1, 0, 0, 0, 2),
(1, 0, 0, 0, 3),
(1, 0, 0, 0, 4),
(1, 0, 0, 0, 5),
(1, 0, 0, 1, 0),
(1, 0, 0, 1, 1),
(1, 0, 0, 1, 2),
(1, 0, 0, 1, 3),
(1, 0, 0, 1, 4),
(1, 0, 0, 1, 5),
(1, 0, 1, 0, 0),
(1, 0, 1, 0, 1),
(1, 0, 1, 0, 2),
(1, 0, 1, 0, 3),
(1, 0, 1, 0, 4),
(1, 0, 1, 0, 5),
(1, 0, 1, 1, 0),
(1, 0, 1, 1, 1),
(1, 0, 1, 1, 2),
(1, 0, 1, 1, 3),
(1, 0, 1, 1, 4),
(1, 0, 1, 1, 5),
(1, 1, 0, 0, 0),
(1, 1, 0, 0, 1),
(1, 1, 0, 0, 2),
(1, 1, 0, 0, 3),
(1, 1, 0, 0, 4),
(1, 1, 0, 0, 5),
(1, 1, 0, 1, 0),
(1, 1, 0, 1, 1),
(1, 1, 0, 1, 2),
(1, 1, 0, 1, 3),
(1, 1, 0, 1, 4),
(1, 1, 0, 1, 5),
(1, 1, 1, 0, 0),
(1, 1, 1, 0, 1),
(1, 1, 1, 0, 2),
(1, 1, 1, 0, 3),
(1, 1, 1, 0, 4),
(1, 1, 1, 0, 5),
(1, 1, 1, 1, 0),
(1, 1, 1, 1, 1),
(1, 1, 1, 1, 2),
(1, 1, 1, 1, 3),
(1, 1, 1, 1, 4),
(1, 1, 1, 1, 5),
(1, 2, 0, 0, 0),
(1, 2, 0, 0, 1),
(1, 2, 0, 0, 2),
(1, 2, 0, 0, 3),
(1, 2, 0, 0, 4),
(1, 2, 0, 0, 5),
(1, 2, 0, 1, 0),
(1, 2, 0, 1, 1),
(1, 2, 0, 1, 2),
(1, 2, 0, 1, 3),
(1, 2, 0, 1, 4),
(1, 2, 0, 1, 5),
(1, 2, 1, 0, 0),
(1, 2, 1, 0, 1),
(1, 2, 1, 0, 2),
(1, 2, 1, 0, 3),
(1, 2, 1, 0, 4),
(1, 2, 1, 0, 5),
(1, 2, 1, 1, 0),
(1, 2, 1, 1, 1),
(1, 2, 1, 1, 2),
(1, 2, 1, 1, 3),
(1, 2, 1, 1, 4),
(1, 2, 1, 1, 5),
(1, 3, 0, 0, 0),
(1, 3, 0, 0, 1),
(1, 3, 0, 0, 2),
(1, 3, 0, 0, 3),
(1, 3, 0, 0, 4),
(1, 3, 0, 0, 5),
(1, 3, 0, 1, 0),
(1, 3, 0, 1, 1),
(1, 3, 0, 1, 2),
(1, 3, 0, 1, 3),
(1, 3, 0, 1, 4),
(1, 3, 0, 1, 5),
(1, 3, 1, 0, 0),
(1, 3, 1, 0, 1),
(1, 3, 1, 0, 2),
(1, 3, 1, 0, 3),
(1, 3, 1, 0, 4),
(1, 3, 1, 0, 5),
(1, 3, 1, 1, 0),
(1, 3, 1, 1, 1),
(1, 3, 1, 1, 2),
(1, 3, 1, 1, 3),
(1, 3, 1, 1, 4),
(1, 3, 1, 1, 5),
]
measure_34_beats = [
(0, 0, 0, 0, 0),
(0, 0, 0, 0, 1),
(0, 0, 0, 0, 2),
(0, 0, 0, 0, 3),
(0, 0, 0, 0, 4),
(0, 0, 0, 0, 5),
(0, 0, 0, 1, 0),
(0, 0, 0, 1, 1),
(0, 0, 0, 1, 2),
(0, 0, 0, 1, 3),
(0, 0, 0, 1, 4),
(0, 0, 0, 1, 5),
(0, 0, 1, 0, 0),
(0, 0, 1, 0, 1),
(0, 0, 1, 0, 2),
(0, 0, 1, 0, 3),
(0, 0, 1, 0, 4),
(0, 0, 1, 0, 5),
(0, 0, 1, 1, 0),
(0, 0, 1, 1, 1),
(0, 0, 1, 1, 2),
(0, 0, 1, 1, 3),
(0, 0, 1, 1, 4),
(0, 0, 1, 1, 5),
(0, 1, 0, 0, 0),
(0, 1, 0, 0, 1),
(0, 1, 0, 0, 2),
(0, 1, 0, 0, 3),
(0, 1, 0, 0, 4),
(0, 1, 0, 0, 5),
(0, 1, 0, 1, 0),
(0, 1, 0, 1, 1),
(0, 1, 0, 1, 2),
(0, 1, 0, 1, 3),
(0, 1, 0, 1, 4),
(0, 1, 0, 1, 5),
(0, 1, 1, 0, 0),
(0, 1, 1, 0, 1),
(0, 1, 1, 0, 2),
(0, 1, 1, 0, 3),
(0, 1, 1, 0, 4),
(0, 1, 1, 0, 5),
(0, 1, 1, 1, 0),
(0, 1, 1, 1, 1),
(0, 1, 1, 1, 2),
(0, 1, 1, 1, 3),
(0, 1, 1, 1, 4),
(0, 1, 1, 1, 5),
(0, 2, 0, 0, 0),
(0, 2, 0, 0, 1),
(0, 2, 0, 0, 2),
(0, 2, 0, 0, 3),
(0, 2, 0, 0, 4),
(0, 2, 0, 0, 5),
(0, 2, 0, 1, 0),
(0, 2, 0, 1, 1),
(0, 2, 0, 1, 2),
(0, 2, 0, 1, 3),
(0, 2, 0, 1, 4),
(0, 2, 0, 1, 5),
(0, 2, 1, 0, 0),
(0, 2, 1, 0, 1),
(0, 2, 1, 0, 2),
(0, 2, 1, 0, 3),
(0, 2, 1, 0, 4),
(0, 2, 1, 0, 5),
(0, 2, 1, 1, 0),
(0, 2, 1, 1, 1),
(0, 2, 1, 1, 2),
(0, 2, 1, 1, 3),
(0, 2, 1, 1, 4),
(0, 2, 1, 1, 5),
(1, 0, 0, 0, 0),
(1, 0, 0, 0, 1),
(1, 0, 0, 0, 2),
(1, 0, 0, 0, 3),
(1, 0, 0, 0, 4),
(1, 0, 0, 0, 5),
(1, 0, 0, 1, 0),
(1, 0, 0, 1, 1),
(1, 0, 0, 1, 2),
(1, 0, 0, 1, 3),
(1, 0, 0, 1, 4),
(1, 0, 0, 1, 5),
(1, 0, 1, 0, 0),
(1, 0, 1, 0, 1),
(1, 0, 1, 0, 2),
(1, 0, 1, 0, 3),
(1, 0, 1, 0, 4),
(1, 0, 1, 0, 5),
(1, 0, 1, 1, 0),
(1, 0, 1, 1, 1),
(1, 0, 1, 1, 2),
(1, 0, 1, 1, 3),
(1, 0, 1, 1, 4),
(1, 0, 1, 1, 5),
(1, 1, 0, 0, 0),
(1, 1, 0, 0, 1),
(1, 1, 0, 0, 2),
(1, 1, 0, 0, 3),
(1, 1, 0, 0, 4),
(1, 1, 0, 0, 5),
(1, 1, 0, 1, 0),
(1, 1, 0, 1, 1),
(1, 1, 0, 1, 2),
(1, 1, 0, 1, 3),
(1, 1, 0, 1, 4),
(1, 1, 0, 1, 5),
(1, 1, 1, 0, 0),
(1, 1, 1, 0, 1),
(1, 1, 1, 0, 2),
(1, 1, 1, 0, 3),
(1, 1, 1, 0, 4),
(1, 1, 1, 0, 5),
(1, 1, 1, 1, 0),
(1, 1, 1, 1, 1),
(1, 1, 1, 1, 2),
(1, 1, 1, 1, 3),
(1, 1, 1, 1, 4),
(1, 1, 1, 1, 5),
(1, 2, 0, 0, 0),
(1, 2, 0, 0, 1),
(1, 2, 0, 0, 2),
(1, 2, 0, 0, 3),
(1, 2, 0, 0, 4),
(1, 2, 0, 0, 5),
(1, 2, 0, 1, 0),
(1, 2, 0, 1, 1),
(1, 2, 0, 1, 2),
(1, 2, 0, 1, 3),
(1, 2, 0, 1, 4),
(1, 2, 0, 1, 5),
(1, 2, 1, 0, 0),
(1, 2, 1, 0, 1),
(1, 2, 1, 0, 2),
(1, 2, 1, 0, 3),
(1, 2, 1, 0, 4),
(1, 2, 1, 0, 5),
(1, 2, 1, 1, 0),
(1, 2, 1, 1, 1),
(1, 2, 1, 1, 2),
(1, 2, 1, 1, 3),
(1, 2, 1, 1, 4),
(1, 2, 1, 1, 5),
(2, 0, 0, 0, 0),
(2, 0, 0, 0, 1),
(2, 0, 0, 0, 2),
(2, 0, 0, 0, 3),
(2, 0, 0, 0, 4),
(2, 0, 0, 0, 5),
(2, 0, 0, 1, 0),
(2, 0, 0, 1, 1),
(2, 0, 0, 1, 2),
(2, 0, 0, 1, 3),
(2, 0, 0, 1, 4),
(2, 0, 0, 1, 5),
(2, 0, 1, 0, 0),
(2, 0, 1, 0, 1),
(2, 0, 1, 0, 2),
(2, 0, 1, 0, 3),
(2, 0, 1, 0, 4),
(2, 0, 1, 0, 5),
(2, 0, 1, 1, 0),
(2, 0, 1, 1, 1),
(2, 0, 1, 1, 2),
(2, 0, 1, 1, 3),
(2, 0, 1, 1, 4),
(2, 0, 1, 1, 5),
(2, 1, 0, 0, 0),
(2, 1, 0, 0, 1),
(2, 1, 0, 0, 2),
(2, 1, 0, 0, 3),
(2, 1, 0, 0, 4),
(2, 1, 0, 0, 5),
(2, 1, 0, 1, 0),
(2, 1, 0, 1, 1),
(2, 1, 0, 1, 2),
(2, 1, 0, 1, 3),
(2, 1, 0, 1, 4),
(2, 1, 0, 1, 5),
(2, 1, 1, 0, 0),
(2, 1, 1, 0, 1),
(2, 1, 1, 0, 2),
(2, 1, 1, 0, 3),
(2, 1, 1, 0, 4),
(2, 1, 1, 0, 5),
(2, 1, 1, 1, 0),
(2, 1, 1, 1, 1),
(2, 1, 1, 1, 2),
(2, 1, 1, 1, 3),
(2, 1, 1, 1, 4),
(2, 1, 1, 1, 5),
]
measure_54_beats = [
(0, 0, 0, 0, 0),
(0, 0, 0, 0, 1),
(0, 0, 0, 0, 2),
(0, 0, 0, 0, 3),
(0, 0, 0, 0, 4),
(0, 0, 0, 0, 5),
(0, 0, 0, 1, 0),
(0, 0, 0, 1, 1),
(0, 0, 0, 1, 2),
(0, 0, 0, 1, 3),
(0, 0, 0, 1, 4),
(0, 0, 0, 1, 5),
(0, 0, 1, 0, 0),
(0, 0, 1, 0, 1),
(0, 0, 1, 0, 2),
(0, 0, 1, 0, 3),
(0, 0, 1, 0, 4),
(0, 0, 1, 0, 5),
(0, 0, 1, 1, 0),
(0, 0, 1, 1, 1),
(0, 0, 1, 1, 2),
(0, 0, 1, 1, 3),
(0, 0, 1, 1, 4),
(0, 0, 1, 1, 5),
(0, 1, 0, 0, 0),
(0, 1, 0, 0, 1),
(0, 1, 0, 0, 2),
(0, 1, 0, 0, 3),
(0, 1, 0, 0, 4),
(0, 1, 0, 0, 5),
(0, 1, 0, 1, 0),
(0, 1, 0, 1, 1),
(0, 1, 0, 1, 2),
(0, 1, 0, 1, 3),
(0, 1, 0, 1, 4),
(0, 1, 0, 1, 5),
(0, 1, 1, 0, 0),
(0, 1, 1, 0, 1),
(0, 1, 1, 0, 2),
(0, 1, 1, 0, 3),
(0, 1, 1, 0, 4),
(0, 1, 1, 0, 5),
(0, 1, 1, 1, 0),
(0, 1, 1, 1, 1),
(0, 1, 1, 1, 2),
(0, 1, 1, 1, 3),
(0, 1, 1, 1, 4),
(0, 1, 1, 1, 5),
(0, 2, 0, 0, 0),
(0, 2, 0, 0, 1),
(0, 2, 0, 0, 2),
(0, 2, 0, 0, 3),
(0, 2, 0, 0, 4),
(0, 2, 0, 0, 5),
(0, 2, 0, 1, 0),
(0, 2, 0, 1, 1),
(0, 2, 0, 1, 2),
(0, 2, 0, 1, 3),
(0, 2, 0, 1, 4),
(0, 2, 0, 1, 5),
(0, 2, 1, 0, 0),
(0, 2, 1, 0, 1),
(0, 2, 1, 0, 2),
(0, 2, 1, 0, 3),
(0, 2, 1, 0, 4),
(0, 2, 1, 0, 5),
(0, 2, 1, 1, 0),
(0, 2, 1, 1, 1),
(0, 2, 1, 1, 2),
(0, 2, 1, 1, 3),
(0, 2, 1, 1, 4),
(0, 2, 1, 1, 5),
(0, 3, 0, 0, 0),
(0, 3, 0, 0, 1),
(0, 3, 0, 0, 2),
(0, 3, 0, 0, 3),
(0, 3, 0, 0, 4),
(0, 3, 0, 0, 5),
(0, 3, 0, 1, 0),
(0, 3, 0, 1, 1),
(0, 3, 0, 1, 2),
(0, 3, 0, 1, 3),
(0, 3, 0, 1, 4),
(0, 3, 0, 1, 5),
(0, 3, 1, 0, 0),
(0, 3, 1, 0, 1),
(0, 3, 1, 0, 2),
(0, 3, 1, 0, 3),
(0, 3, 1, 0, 4),
(0, 3, 1, 0, 5),
(0, 3, 1, 1, 0),
(0, 3, 1, 1, 1),
(0, 3, 1, 1, 2),
(0, 3, 1, 1, 3),
(0, 3, 1, 1, 4),
(0, 3, 1, 1, 5),
(0, 4, 0, 0, 0),
(0, 4, 0, 0, 1),
(0, 4, 0, 0, 2),
(0, 4, 0, 0, 3),
(0, 4, 0, 0, 4),
(0, 4, 0, 0, 5),
(0, 4, 0, 1, 0),
(0, 4, 0, 1, 1),
(0, 4, 0, 1, 2),
(0, 4, 0, 1, 3),
(0, 4, 0, 1, 4),
(0, 4, 0, 1, 5),
(0, 4, 1, 0, 0),
(0, 4, 1, 0, 1),
(0, 4, 1, 0, 2),
(0, 4, 1, 0, 3),
(0, 4, 1, 0, 4),
(0, 4, 1, 0, 5),
(0, 4, 1, 1, 0),
(0, 4, 1, 1, 1),
(0, 4, 1, 1, 2),
(0, 4, 1, 1, 3),
(0, 4, 1, 1, 4),
(0, 4, 1, 1, 5),
(1, 0, 0, 0, 0),
(1, 0, 0, 0, 1),
(1, 0, 0, 0, 2),
(1, 0, 0, 0, 3),
(1, 0, 0, 0, 4),
(1, 0, 0, 0, 5),
(1, 0, 0, 1, 0),
(1, 0, 0, 1, 1),
(1, 0, 0, 1, 2),
(1, 0, 0, 1, 3),
(1, 0, 0, 1, 4),
(1, 0, 0, 1, 5),
(1, 0, 1, 0, 0),
(1, 0, 1, 0, 1),
(1, 0, 1, 0, 2),
(1, 0, 1, 0, 3),
(1, 0, 1, 0, 4),
(1, 0, 1, 0, 5),
(1, 0, 1, 1, 0),
(1, 0, 1, 1, 1),
(1, 0, 1, 1, 2),
(1, 0, 1, 1, 3),
(1, 0, 1, 1, 4),
(1, 0, 1, 1, 5),
(1, 1, 0, 0, 0),
(1, 1, 0, 0, 1),
(1, 1, 0, 0, 2),
(1, 1, 0, 0, 3),
(1, 1, 0, 0, 4),
(1, 1, 0, 0, 5),
(1, 1, 0, 1, 0),
(1, 1, 0, 1, 1),
(1, 1, 0, 1, 2),
(1, 1, 0, 1, 3),
(1, 1, 0, 1, 4),
(1, 1, 0, 1, 5),
(1, 1, 1, 0, 0),
(1, 1, 1, 0, 1),
(1, 1, 1, 0, 2),
(1, 1, 1, 0, 3),
(1, 1, 1, 0, 4),
(1, 1, 1, 0, 5),
(1, 1, 1, 1, 0),
(1, 1, 1, 1, 1),
(1, 1, 1, 1, 2),
(1, 1, 1, 1, 3),
(1, 1, 1, 1, 4),
(1, 1, 1, 1, 5),
(1, 2, 0, 0, 0),
(1, 2, 0, 0, 1),
(1, 2, 0, 0, 2),
(1, 2, 0, 0, 3),
(1, 2, 0, 0, 4),
(1, 2, 0, 0, 5),
(1, 2, 0, 1, 0),
(1, 2, 0, 1, 1),
(1, 2, 0, 1, 2),
(1, 2, 0, 1, 3),
(1, 2, 0, 1, 4),
(1, 2, 0, 1, 5),
(1, 2, 1, 0, 0),
(1, 2, 1, 0, 1),
(1, 2, 1, 0, 2),
(1, 2, 1, 0, 3),
(1, 2, 1, 0, 4),
(1, 2, 1, 0, 5),
(1, 2, 1, 1, 0),
(1, 2, 1, 1, 1),
(1, 2, 1, 1, 2),
(1, 2, 1, 1, 3),
(1, 2, 1, 1, 4),
(1, 2, 1, 1, 5),
]
measure_98_beats = [
(0, 0, 0, 0, 0),
(0, 0, 0, 0, 1),
(0, 0, 0, 0, 2),
(0, 0, 0, 0, 3),
(0, 0, 0, 0, 4),
(0, 0, 0, 0, 5),
(0, 0, 0, 1, 0),
(0, 0, 0, 1, 1),
(0, 0, 0, 1, 2),
(0, 0, 0, 1, 3),
(0, 0, 0, 1, 4),
(0, 0, 0, 1, 5),
(0, 0, 1, 0, 0),
(0, 0, 1, 0, 1),
(0, 0, 1, 0, 2),
(0, 0, 1, 0, 3),
(0, 0, 1, 0, 4),
(0, 0, 1, 0, 5),
(0, 0, 1, 1, 0),
(0, 0, 1, 1, 1),
(0, 0, 1, 1, 2),
(0, 0, 1, 1, 3),
(0, 0, 1, 1, 4),
(0, 0, 1, 1, 5),
(0, 1, 0, 0, 0),
(0, 1, 0, 0, 1),
(0, 1, 0, 0, 2),
(0, 1, 0, 0, 3),
(0, 1, 0, 0, 4),
(0, 1, 0, 0, 5),
(0, 1, 0, 1, 0),
(0, 1, 0, 1, 1),
(0, 1, 0, 1, 2),
(0, 1, 0, 1, 3),
(0, 1, 0, 1, 4),
(0, 1, 0, 1, 5),
(0, 1, 1, 0, 0),
(0, 1, 1, 0, 1),
(0, 1, 1, 0, 2),
(0, 1, 1, 0, 3),
(0, 1, 1, 0, 4),
(0, 1, 1, 0, 5),
(0, 1, 1, 1, 0),
(0, 1, 1, 1, 1),
(0, 1, 1, 1, 2),
(0, 1, 1, 1, 3),
(0, 1, 1, 1, 4),
(0, 1, 1, 1, 5),
(0, 2, 0, 0, 0),
(0, 2, 0, 0, 1),
(0, 2, 0, 0, 2),
(0, 2, 0, 0, 3),
(0, 2, 0, 0, 4),
(0, 2, 0, 0, 5),
(0, 2, 0, 1, 0),
(0, 2, 0, 1, 1),
(0, 2, 0, 1, 2),
(0, 2, 0, 1, 3),
(0, 2, 0, 1, 4),
(0, 2, 0, 1, 5),
(0, 2, 1, 0, 0),
(0, 2, 1, 0, 1),
(0, 2, 1, 0, 2),
(0, 2, 1, 0, 3),
(0, 2, 1, 0, 4),
(0, 2, 1, 0, 5),
(0, 2, 1, 1, 0),
(0, 2, 1, 1, 1),
(0, 2, 1, 1, 2),
(0, 2, 1, 1, 3),
(0, 2, 1, 1, 4),
(0, 2, 1, 1, 5),
(0, 3, 0, 0, 0),
(0, 3, 0, 0, 1),
(0, 3, 0, 0, 2),
(0, 3, 0, 0, 3),
(0, 3, 0, 0, 4),
(0, 3, 0, 0, 5),
(0, 3, 0, 1, 0),
(0, 3, 0, 1, 1),
(0, 3, 0, 1, 2),
(0, 3, 0, 1, 3),
(0, 3, 0, 1, 4),
(0, 3, 0, 1, 5),
(0, 3, 1, 0, 0),
(0, 3, 1, 0, 1),
(0, 3, 1, 0, 2),
(0, 3, 1, 0, 3),
(0, 3, 1, 0, 4),
(0, 3, 1, 0, 5),
(0, 3, 1, 1, 0),
(0, 3, 1, 1, 1),
(0, 3, 1, 1, 2),
(0, 3, 1, 1, 3),
(0, 3, 1, 1, 4),
(0, 3, 1, 1, 5),
(0, 4, 0, 0, 0),
(0, 4, 0, 0, 1),
(0, 4, 0, 0, 2),
(0, 4, 0, 0, 3),
(0, 4, 0, 0, 4),
(0, 4, 0, 0, 5),
(0, 4, 0, 1, 0),
(0, 4, 0, 1, 1),
(0, 4, 0, 1, 2),
(0, 4, 0, 1, 3),
(0, 4, 0, 1, 4),
(0, 4, 0, 1, 5),
(1, 0, 0, 0, 0),
(1, 0, 0, 0, 1),
(1, 0, 0, 0, 2),
(1, 0, 0, 0, 3),
(1, 0, 0, 0, 4),
(1, 0, 0, 0, 5),
(1, 0, 0, 1, 0),
(1, 0, 0, 1, 1),
(1, 0, 0, 1, 2),
(1, 0, 0, 1, 3),
(1, 0, 0, 1, 4),
(1, 0, 0, 1, 5),
(1, 0, 1, 0, 0),
(1, 0, 1, 0, 1),
(1, 0, 1, 0, 2),
(1, 0, 1, 0, 3),
(1, 0, 1, 0, 4),
(1, 0, 1, 0, 5),
(1, 0, 1, 1, 0),
(1, 0, 1, 1, 1),
(1, 0, 1, 1, 2),
(1, 0, 1, 1, 3),
(1, 0, 1, 1, 4),
(1, 0, 1, 1, 5),
(1, 1, 0, 0, 0),
(1, 1, 0, 0, 1),
(1, 1, 0, 0, 2),
(1, 1, 0, 0, 3),
(1, 1, 0, 0, 4),
(1, 1, 0, 0, 5),
(1, 1, 0, 1, 0),
(1, 1, 0, 1, 1),
(1, 1, 0, 1, 2),
(1, 1, 0, 1, 3),
(1, 1, 0, 1, 4),
(1, 1, 0, 1, 5),
(1, 1, 1, 0, 0),
(1, 1, 1, 0, 1),
(1, 1, 1, 0, 2),
(1, 1, 1, 0, 3),
(1, 1, 1, 0, 4),
(1, 1, 1, 0, 5),
(1, 1, 1, 1, 0),
(1, 1, 1, 1, 1),
(1, 1, 1, 1, 2),
(1, 1, 1, 1, 3),
(1, 1, 1, 1, 4),
(1, 1, 1, 1, 5),
(1, 2, 0, 0, 0),
(1, 2, 0, 0, 1),
(1, 2, 0, 0, 2),
(1, 2, 0, 0, 3),
(1, 2, 0, 0, 4),
(1, 2, 0, 0, 5),
(1, 2, 0, 1, 0),
(1, 2, 0, 1, 1),
(1, 2, 0, 1, 2),
(1, 2, 0, 1, 3),
(1, 2, 0, 1, 4),
(1, 2, 0, 1, 5),
(1, 2, 1, 0, 0),
(1, 2, 1, 0, 1),
(1, 2, 1, 0, 2),
(1, 2, 1, 0, 3),
(1, 2, 1, 0, 4),
(1, 2, 1, 0, 5),
(1, 2, 1, 1, 0),
(1, 2, 1, 1, 1),
(1, 2, 1, 1, 2),
(1, 2, 1, 1, 3),
(1, 2, 1, 1, 4),
(1, 2, 1, 1, 5),
(1, 3, 0, 0, 0),
(1, 3, 0, 0, 1),
(1, 3, 0, 0, 2),
(1, 3, 0, 0, 3),
(1, 3, 0, 0, 4),
(1, 3, 0, 0, 5),
(1, 3, 0, 1, 0),
(1, 3, 0, 1, 1),
(1, 3, 0, 1, 2),
(1, 3, 0, 1, 3),
(1, 3, 0, 1, 4),
(1, 3, 0, 1, 5),
]
sinusoid_velocities = [
50,
52,
54,
57,
59,
61,
63,
65,
66,
68,
69,
69,
69,
69,
69,
69,
68,
66,
65,
63,
61,
59,
57,
54,
52,
49,
47,
45,
42,
40,
38,
36,
34,
33,
31,
30,
30,
30,
30,
30,
30,
31,
33,
34,
36,
38,
40,
42,
45,
47,
50,
52,
54,
57,
59,
61,
63,
65,
66,
68,
69,
69,
69,
69,
69,
69,
68,
66,
65,
63,
61,
59,
57,
54,
52,
50,
47,
45,
42,
40,
38,
36,
34,
33,
31,
30,
30,
30,
30,
30,
30,
31,
33,
34,
36,
38,
40,
42,
45,
47]
sawtooth_velocities = [
50,
52,
54,
56,
58,
60,
62,
64,
66,
68,
30,
32,
34,
36,
38,
40,
42,
44,
46,
48,
50,
52,
54,
56,
58,
60,
62,
64,
66,
68,
30,
32,
34,
36,
38,
40,
42,
44,
46,
48]
triangle_velocities = [
55,
58,
61,
64,
67,
70,
73,
76,
79,
82,
85,
82,
79,
76,
73,
70,
67,
64,
61,
58,
55,
58,
61,
64,
67,
70,
73,
76,
79,
82,
85,
82,
79,
76,
73,
70,
67,
64,
61,
58]
| 18.225873 | 26 | 0.243747 | 4,038 | 17,752 | 1.068846 | 0.013125 | 0.246525 | 0.127896 | 0.061168 | 0.93304 | 0.93304 | 0.931186 | 0.920065 | 0.894115 | 0.894115 | 0 | 0.424806 | 0.44226 | 17,752 | 973 | 27 | 18.244604 | 0.01111 | 0 | 0 | 0.908238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
c3eee9ee40f652e86081b3d1622458dd6ac75ba7 | 3,394 | py | Python | nnunet/network_architecture/transunet/vit_seg_configs.py | nntrongnghia/TDSI21-Shoulder-Muscle-Segmentation | 29f0f83d93e4fdd8127261283dcf9242d9914ba6 | [
"Apache-2.0"
] | 1 | 2022-02-13T15:07:40.000Z | 2022-02-13T15:07:40.000Z | nnunet/network_architecture/transunet/vit_seg_configs.py | nntrongnghia/TDSI21-Shoulder-Muscle-Segmentation | 29f0f83d93e4fdd8127261283dcf9242d9914ba6 | [
"Apache-2.0"
] | null | null | null | nnunet/network_architecture/transunet/vit_seg_configs.py | nntrongnghia/TDSI21-Shoulder-Muscle-Segmentation | 29f0f83d93e4fdd8127261283dcf9242d9914ba6 | [
"Apache-2.0"
] | 2 | 2022-01-17T16:33:38.000Z | 2022-01-17T17:13:26.000Z | import ml_collections
def get_b16_config():
"""Returns the ViT-B/16 configuration."""
config = ml_collections.ConfigDict()
config.patches = ml_collections.ConfigDict({'size': (16, 16)})
config.hidden_size = 768
config.transformer = ml_collections.ConfigDict()
config.transformer.mlp_dim = 3072
config.transformer.num_heads = 12
config.transformer.num_layers = 12
config.transformer.attention_dropout_rate = 0.0
config.transformer.dropout_rate = 0.1
config.classifier = 'seg'
config.representation_size = None
config.resnet_pretrained_path = None
config.patch_size = 16
config.decoder_channels = (256, 128, 64, 16)
config.n_classes = 2
config.activation = 'softmax'
return config
def get_b16_3d_config():
"""Returns the ViT-B/16 configuration."""
config = ml_collections.ConfigDict()
config.patches = ml_collections.ConfigDict({'size': (16, 16, 16)})
config.hidden_size = 768
config.transformer = ml_collections.ConfigDict()
config.transformer.mlp_dim = 3072
config.transformer.num_heads = 12
config.transformer.num_layers = 12
config.transformer.attention_dropout_rate = 0.0
config.transformer.dropout_rate = 0.1
config.classifier = 'seg'
config.representation_size = None
config.resnet_pretrained_path = None
config.patch_size = 16
config.decoder_channels = (256, 128, 64, 16)
config.n_classes = 2
config.activation = 'softmax'
return config
def get_testing():
"""Returns a minimal configuration for testing."""
config = ml_collections.ConfigDict()
config.patches = ml_collections.ConfigDict({'size': (16, 16)})
config.hidden_size = 1
config.transformer = ml_collections.ConfigDict()
config.transformer.mlp_dim = 1
config.transformer.num_heads = 1
config.transformer.num_layers = 1
config.transformer.attention_dropout_rate = 0.0
config.transformer.dropout_rate = 0.1
config.classifier = 'token'
config.representation_size = None
return config
def get_r50_b16_config(num_classes=2):
"""Returns the Resnet50 + ViT-B/16 configuration."""
config = get_b16_config()
config.threeD = False
config.patches.grid = (16, 16)
config.resnet = ml_collections.ConfigDict()
config.resnet.num_layers = (3, 4, 9)
config.resnet.width_factor = 1
config.classifier = 'seg'
config.pretrained_path = '../model/vit_checkpoint/imagenet21k/R50+ViT-B_16.npz'
config.decoder_channels = (256, 128, 64, 16)
config.skip_channels = [512, 256, 64, 16]
config.n_classes = num_classes
config.n_skip = 3
config.activation = 'softmax'
return config
def get_r50_b16_3d_config(num_classes=2):
"""Returns the Resnet50 + ViT-B/16 configuration."""
config = get_b16_3d_config()
config.threeD = True
config.patch_size = 16
config.patches.grid = (16, 16, 16)
config.resnet = ml_collections.ConfigDict()
config.resnet.num_layers = (3, 4, 9)
config.resnet.width_factor = 1
config.cin = 1 # number of input channels
config.classifier = 'seg'
config.pretrained_path = '../model/vit_checkpoint/imagenet21k/R50+ViT-B_16.npz'
config.decoder_channels = (256, 128, 64, 16)
config.skip_channels = [512, 256, 64, 16]
config.n_classes = num_classes
config.n_skip = 3
config.activation = 'softmax'
return config
| 33.60396 | 83 | 0.702711 | 442 | 3,394 | 5.199095 | 0.174208 | 0.133159 | 0.110096 | 0.100957 | 0.895561 | 0.872498 | 0.859443 | 0.856832 | 0.856832 | 0.829417 | 0 | 0.067416 | 0.187095 | 3,394 | 100 | 84 | 33.94 | 0.765495 | 0.069534 | 0 | 0.768293 | 0 | 0 | 0.051421 | 0.033216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060976 | false | 0 | 0.012195 | 0 | 0.134146 | 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 |
614c98c17262c6649ad37f72000264cce80f30ec | 907 | py | Python | bin/bin_SMHMr/MD04-write-smallFile.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | 4 | 2017-11-07T02:15:46.000Z | 2022-03-03T01:35:53.000Z | bin/bin_SMHMr/MD04-write-smallFile.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | null | null | null | bin/bin_SMHMr/MD04-write-smallFile.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | 2 | 2020-08-12T14:26:38.000Z | 2021-09-14T06:08:58.000Z | from MultiDark import *
import os
import numpy as n
import glob
glob
snList = n.array(glob.glob(os.path.join(os.environ["MD04"], "snapshots", "out_*.list")))
print snList
box = MultiDarkSimulation(Lbox=400.0 * uu.Mpc, boxDir = "MD_0.4Gpc", snl =snList ,zsl = None, zArray = n.arange(0.2,2.4,1e-1), Hbox = 67.77 * uu.km / (uu.s * uu.Mpc))
t0=time.time()
for ii in n.arange(len(box.snl)):
box.writeSAMcatalog(ii, mmin=100*box.Melement)
print time.time()-t0
sys.exit()
snList = n.array(glob.glob(os.path.join(os.environ["MD04"], "snapshots", "hlist_*.list")))
print snList
box = MultiDarkSimulation(Lbox=400.0 * uu.Mpc, boxDir = "MD_0.4Gpc", snl =snList ,zsl = None, zArray = n.arange(0.2,2.4,1e-1), Hbox = 67.77 * uu.km / (uu.s * uu.Mpc))
box.columnDict = box.columnDictHlist
t0=time.time()
for ii in n.arange(len(box.snl)):
box.writeSAMcatalog(ii, mmin=100*box.Melement)
print time.time()-t0 | 29.258065 | 168 | 0.68247 | 160 | 907 | 3.84375 | 0.35625 | 0.03252 | 0.039024 | 0.052033 | 0.835772 | 0.835772 | 0.835772 | 0.835772 | 0.835772 | 0.835772 | 0 | 0.058081 | 0.126792 | 907 | 31 | 169 | 29.258065 | 0.718434 | 0 | 0 | 0.571429 | 0 | 0 | 0.072687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.190476 | null | null | 0.190476 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6161fc3ecaab95ce57e86289c77d8fe7d76a11e3 | 86 | py | Python | cvax/datasets/__init__.py | toru34/cvax | 7829ab84aa53da33c61e2f929fb24b6998148d3e | [
"MIT"
] | null | null | null | cvax/datasets/__init__.py | toru34/cvax | 7829ab84aa53da33c61e2f929fb24b6998148d3e | [
"MIT"
] | null | null | null | cvax/datasets/__init__.py | toru34/cvax | 7829ab84aa53da33c61e2f929fb24b6998148d3e | [
"MIT"
] | null | null | null | from cvax.datasets.imagenet import ImageNet
from cvax.datasets.coco import COCODataset | 43 | 43 | 0.872093 | 12 | 86 | 6.25 | 0.583333 | 0.213333 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 86 | 2 | 44 | 43 | 0.949367 | 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 |
6166f268ff0fc8e73c9be6610625671f55c41ec2 | 11,755 | py | Python | tests.py | Jenyay/coldata | 39033ad2cab1bccb039748f0332307edcb165c9f | [
"MIT"
] | null | null | null | tests.py | Jenyay/coldata | 39033ad2cab1bccb039748f0332307edcb165c9f | [
"MIT"
] | null | null | null | tests.py | Jenyay/coldata | 39033ad2cab1bccb039748f0332307edcb165c9f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os.path
import shutil
import tempfile
import unittest
import codecs
import coldata
class ColdataReaderTest (unittest.TestCase):
def testFileEmpty (self):
fname = u'testdata/sample_empty.txt'
data = coldata.ColdataReader (fname)
self.assertEqual (len (data), 0)
def testFileNotExists (self):
fname = u'testdata/sample_not_exists.txt'
self.assertRaises (IOError, coldata.ColdataReader, fname)
def testFiles (self):
files = [
u'testdata/sample_no_header.txt',
u'testdata/sample_rus.txt',
u'testdata/sample_comma.txt',
u'testdata/sample_invalid_end.txt',
u'testdata/sample_length.txt',
u'testdata/sample_tabs.txt',
]
testColumn1 = [0.0000, -1.1280, 2.3500, -1.2580, -0.3300]
testColumn2 = [1.2512, 5.2687, 9.1576, -1.2457, 95.3654]
for fname in files:
data = coldata.ColdataReader (fname)
self.assertEqual (len (data), 2)
self.assertEqual (data[0], testColumn1, fname)
self.assertEqual (data[1], testColumn2, fname)
def testSingleColumn (self):
fname = u'testdata/sample_single.txt'
data = coldata.ColdataReader (fname)
self.assertEqual (len (data), 1)
self.assertEqual (data[0], [0.0, 1.128, 2.35, -1.258, -3.33e-1])
def testSkip_01 (self):
fname = u'testdata/sample_single.txt'
data = coldata.ColdataReader (fname, skiprows=1)
self.assertEqual (len (data), 1)
self.assertEqual (data[0], [1.128, 2.35, -1.258, -3.33e-1])
def testSkip_02 (self):
fname = u'testdata/sample_no_header.txt'
data = coldata.ColdataReader (fname, skiprows=1)
testColumn1 = [-1.1280, 2.3500, -1.2580, -0.3300]
testColumn2 = [5.2687, 9.1576, -1.2457, 95.3654]
self.assertEqual (len (data), 2)
self.assertEqual (data[0], testColumn1)
self.assertEqual (data[1], testColumn2)
def testSkip_03 (self):
fname = u'testdata/sample_rus.txt'
data = coldata.ColdataReader (fname, skiprows=1)
testColumn1 = [0.0000, -1.1280, 2.3500, -1.2580, -0.3300]
testColumn2 = [1.2512, 5.2687, 9.1576, -1.2457, 95.3654]
self.assertEqual (len (data), 2)
self.assertEqual (data[0], testColumn1)
self.assertEqual (data[1], testColumn2)
def testSkip_04 (self):
fname = u'testdata/sample_rus.txt'
data = coldata.ColdataReader (fname, skiprows=3)
testColumn1 = [0.0000, -1.1280, 2.3500, -1.2580, -0.3300]
testColumn2 = [1.2512, 5.2687, 9.1576, -1.2457, 95.3654]
self.assertEqual (len (data), 2)
self.assertEqual (data[0], testColumn1)
self.assertEqual (data[1], testColumn2)
def testSkip_05 (self):
fname = u'testdata/sample_rus.txt'
data = coldata.ColdataReader (fname, skiprows=4)
testColumn1 = [-1.1280, 2.3500, -1.2580, -0.3300]
testColumn2 = [5.2687, 9.1576, -1.2457, 95.3654]
self.assertEqual (len (data), 2)
self.assertEqual (data[0], testColumn1)
self.assertEqual (data[1], testColumn2)
def testSkip_06 (self):
fname = u'testdata/sample_rus.txt'
data = coldata.ColdataReader (fname, skiprows=1000)
self.assertEqual (len (data), 0)
def testHeader_01 (self):
fname = u'testdata/sample_rus.txt'
data = coldata.ColdataReader (fname, skiprows=3)
header = u'''Пример данных ASCII
Значение1 Значение2
-------------------'''
self.assertEqual (len (data), 2)
self.assertEqual (data.header, header)
class ColdataWriterTest (unittest.TestCase):
def setUp (self):
self._tempDirName = None
def tearDown (self):
if self._tempDirName is not None:
shutil.rmtree (self._tempDirName)
def testEmpty (self):
writer = coldata.ColdataWriter()
result = list (writer.iteritems ([]))
self.assertEqual (result, [])
def testEmptyHeader_01 (self):
header = u'Бла-бла-бла'
writer = coldata.ColdataWriter (header=header)
result = list (writer.iteritems ([]))
self.assertEqual (result, [header])
def testEmptyHeader_02 (self):
header = u'Бла-бла-бла'
writer = coldata.ColdataWriter ()
writer.header = header
result = list (writer.iteritems ([]))
self.assertEqual (result, [header])
def testNone (self):
writer = coldata.ColdataWriter()
result = list (writer.iteritems (None))
self.assertEqual (result, [])
def testNoneHeader_01 (self):
header = u'Бла-бла-бла'
writer = coldata.ColdataWriter (header=header)
result = list (writer.iteritems (None))
self.assertEqual (result, [header])
def testNoneHeader_02 (self):
header = u'Бла-бла-бла'
writer = coldata.ColdataWriter ()
writer.header = header
result = list (writer.iteritems (None))
self.assertEqual (result, [header])
def testSingle_01 (self):
col1 = [0.5]
data = [col1]
writer = coldata.ColdataWriter ()
result = list (writer.iteritems (data))
self.assertEqual (result, [u'0.5'])
def testSingle_02 (self):
col1 = [0.5, -1.0, 0, 1]
data = [col1]
writer = coldata.ColdataWriter ()
result = list (writer.iteritems (data))
self.assertEqual (result, [u'0.5', u'-1', u'0', u'1'])
def testSingle_header_01 (self):
header = u'Бла-бла-бла'
col1 = [0.5, -1.0, 0, 1]
data = [col1]
writer = coldata.ColdataWriter (header=header)
result = list (writer.iteritems (data))
self.assertEqual (result, [header, u'0.5', u'-1', u'0', u'1'])
def testSingle_header_02 (self):
header = u'Бла-бла-бла'
col1 = [0.5, -1.0, 0, 1]
data = [col1]
writer = coldata.ColdataWriter ()
writer.header = header
result = list (writer.iteritems (data))
self.assertEqual (result, [header, u'0.5', u'-1', u'0', u'1'])
def testSingle_format_01 (self):
col1 = [0.5, -1.0, 0, 1]
data = [col1]
writer = coldata.ColdataWriter (format=u'{:05.2f}')
result = list (writer.iteritems (data))
self.assertEqual (result, [u'00.50', u'-1.00', u'00.00', u'01.00'])
def testSingle_format_02 (self):
col1 = [0.5, -1.0, 0, 1]
data = [col1]
writer = coldata.ColdataWriter ()
writer.format = u'{:05.2f}'
result = list (writer.iteritems (data))
self.assertEqual (result, [u'00.50', u'-1.00', u'00.00', u'01.00'])
def testColumns_01 (self):
col1 = [0.5, -1.0, 0, 1]
col2 = [42, 11.5, 20, 20.5]
data = [col1, col2]
writer = coldata.ColdataWriter ()
result = list (writer.iteritems (data))
validResult = [
u'0.5\t42',
u'-1\t11.5',
u'0\t20',
u'1\t20.5',
]
self.assertEqual (result, validResult)
def testColumns_format_01 (self):
col1 = [0.5, -1.0, 0, 1]
col2 = [42, 11.5, 20, 20.5]
data = [col1, col2]
writer = coldata.ColdataWriter (format=u'{:g} {:05.2f}')
result = list (writer.iteritems (data))
validResult = [
u'0.5 42.00',
u'-1 11.50',
u'0 20.00',
u'1 20.50',
]
self.assertEqual (result, validResult)
def testColumns_format_02 (self):
col1 = [0.5, -1.0, 0, 1]
col2 = [42, 11.5, 20, 20.5]
data = [col1, col2]
writer = coldata.ColdataWriter ()
writer.format = u'{:g} {:05.2f}'
result = list (writer.iteritems (data))
validResult = [
u'0.5 42.00',
u'-1 11.50',
u'0 20.00',
u'1 20.50',
]
self.assertEqual (result, validResult)
def testColumns_header_01 (self):
header = u'Бла-бла-бла'
col1 = [0.5, -1.0, 0, 1]
col2 = [42, 11.5, 20, 20.5]
data = [col1, col2]
writer = coldata.ColdataWriter (header=header)
result = list (writer.iteritems (data))
validResult = [
header,
u'0.5\t42',
u'-1\t11.5',
u'0\t20',
u'1\t20.5',
]
self.assertEqual (result, validResult)
def testColumns_header_02 (self):
header = u'Бла-бла-бла'
col1 = [0.5, -1.0, 0, 1]
col2 = [42, 11.5, 20, 20.5]
data = [col1, col2]
writer = coldata.ColdataWriter ()
writer.header = header
result = list (writer.iteritems (data))
validResult = [
header,
u'0.5\t42',
u'-1\t11.5',
u'0\t20',
u'1\t20.5',
]
self.assertEqual (result, validResult)
def testCommonFormat_01 (self):
commonFormat = u'{:05.2f}'
col1 = [0.5, -1.0, 0, 1]
col2 = [42, 11.5, 20, 20.5]
data = [col1, col2]
writer = coldata.ColdataWriter (commonFormat=commonFormat)
result = list (writer.iteritems (data))
validResult = [
u'00.50\t42.00',
u'-1.00\t11.50',
u'00.00\t20.00',
u'01.00\t20.50',
]
self.assertEqual (result, validResult)
def testCommonFormat_02 (self):
commonFormat = u'{:05.2f}'
col1 = [0.5, -1.0, 0, 1]
col2 = [42, 11.5, 20, 20.5]
data = [col1, col2]
writer = coldata.ColdataWriter()
writer.commonFormat = commonFormat
result = list (writer.iteritems (data))
validResult = [
u'00.50\t42.00',
u'-1.00\t11.50',
u'00.00\t20.00',
u'01.00\t20.50',
]
self.assertEqual (result, validResult)
def testCommonFormat_03_tofile (self):
self._tempDirName = tempfile.mkdtemp (prefix=u'coldata_')
fname = os.path.join (self._tempDirName, u'write_01.txt')
commonFormat = u'{:05.2f}'
col1 = [0.5, -1.0, 0, 1]
col2 = [42, 11.5, 20, 20.5]
data = [col1, col2]
writer = coldata.ColdataWriter()
writer.commonFormat = commonFormat
writer.tofile (data, fname)
self.assertTrue (os.path.exists (fname))
with codecs.open (fname, "r", "utf-8") as fp:
result = fp.readlines ()
validResult = [
u'00.50\t42.00\n',
u'-1.00\t11.50\n',
u'00.00\t20.00\n',
u'01.00\t20.50',
]
self.assertEqual (result, validResult)
def testCommonFormat_04_tofile_header (self):
self._tempDirName = tempfile.mkdtemp (prefix=u'coldata_')
fname = os.path.join (self._tempDirName, u'write_01.txt')
commonFormat = u'{:05.2f}'
header = u'Бла-бла-бла'
col1 = [0.5, -1.0, 0, 1]
col2 = [42, 11.5, 20, 20.5]
data = [col1, col2]
writer = coldata.ColdataWriter()
writer.commonFormat = commonFormat
writer.header = header
writer.tofile (data, fname)
self.assertTrue (os.path.exists (fname))
with codecs.open (fname, "r", "utf-8") as fp:
result = fp.readlines ()
validResult = [
header + u'\n',
u'00.50\t42.00\n',
u'-1.00\t11.50\n',
u'00.00\t20.00\n',
u'01.00\t20.50',
]
self.assertEqual (result, validResult)
if __name__ == '__main__':
unittest.main()
| 26.534989 | 75 | 0.544534 | 1,446 | 11,755 | 4.374136 | 0.094053 | 0.104348 | 0.086324 | 0.075099 | 0.873834 | 0.854704 | 0.839051 | 0.834308 | 0.795099 | 0.766798 | 0 | 0.109356 | 0.310761 | 11,755 | 442 | 76 | 26.595023 | 0.671316 | 0.001786 | 0 | 0.711475 | 0 | 0 | 0.098619 | 0.034862 | 0 | 0 | 0 | 0 | 0.154098 | 1 | 0.111475 | false | 0 | 0.019672 | 0 | 0.137705 | 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 |
6176cd3696d601a9c27f8612bc1f925094b960f8 | 4,277 | py | Python | python/smooth.py | LukeMcCulloch/QuantumFluidsOfLight | 46db899d890e311c52a17524a21a4528e0db14d4 | [
"MIT"
] | null | null | null | python/smooth.py | LukeMcCulloch/QuantumFluidsOfLight | 46db899d890e311c52a17524a21a4528e0db14d4 | [
"MIT"
] | null | null | null | python/smooth.py | LukeMcCulloch/QuantumFluidsOfLight | 46db899d890e311c52a17524a21a4528e0db14d4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Tue Apr 23 21:31:08 2019
@author: lukemcculloch
"""
# File: smooth.py: problem-dependent 2D utilities.
import numpy as np
def get_lhs(u,h2):
""" Return discretized operator L(u). h2=h**2 for spacing h. """
w = np.zeros_like(u)
w[1:-1,1:-1] = (
u[0:-2,1:-1]+u[2: , 1:-1] +
u[1:-1,0:-2]+u[1:-1,2:] -
4.*u[1:-1,1:-1])/h2 +u[1:-1,1:-1]*u[1:-1,1:-1]
return w
def gs_rb_step(v,f,h2):
""" Carry out single Gauss-Seidel iteration step on v.
f is source term, h2 is square of grid spacing.
"""
u = v.copy()
res = np.empty_like(v)
res[1:-1:2,1:-1:2]=(u[0:-2:2,1:-1:2]+u[2: :2,1:-1:2]+
u[1:-1:2,0:-2:2]+u[1:-1:2,2: :2]-
4*u[1:-1:2,1:-1:2])/h2 +\
u[1:-1:2,1:-1:2]**2-f[1:-1:2,1:-1:2]
u[1:-1:2,1:-1:2]-=res[1:-1:2,1:-1:2]/(
-4.0/h2+2*u[1:-1:2,1:-1:2])
res[2:-2:2,2:-2:2]=(u[1:-3:2,2:-2:2]+u[3:-1:2,2:-2:2]+
u[2:-2:2,1:-3:2]+u[2:-2:2,3:-1:2]-
4*u[2:-2:2,2:-2:2])/h2 +\
u[2:-2:2,2:-2:2]**2-f[2:-2:2,2:-2:2]
u[2:-2:2,2:-2:2]-=res[2:-2:2,2:-2:2]/(
-4.0/h2+2*u[2:-2:2,2:-2:2])
res[2:-2:2,1:-1:2]=(u[1:-3:2,1:-1:2]+u[3:-1:2,1:-1:2]+
u[2:-2:2,0:-2:2]+u[2:-2:2,2: :2]-
4*u[2:-2:2,1:-1:2])/h2 +\
u[2:-2:2,1:-1:2]**2-f[2:-2:2,1:-1:2]
u[2:-2:2,1:-1:2]-=res[2:-2:2,1:-1:2]/(
-4.0/h2+2*u[2:-2:2,1:-1:2])
res[1:-1:2,2:-2:2]=(u[0:-2:2,2:-2:2]+u[2: :2,2:-2:2]+
u[1:-1:2,1:-3:2]+u[1:-1:2,3:-1:2]-
4*u[1:-1:2,2:-2:2])/h2 +\
u[1:-1:2,2:-2:2]**2-f[1:-1:2,2:-2:2]
u[1:-1:2,2:-2:2]-=res[1:-1:2,2:-2:2]/(
-4.0/h2+2*u[1:-1:2,2:-2:2])
return u
def get_lhs(u,h2):
""" Return discretized operator L(u).
h2=h**2 for spacing h.
"""
w=np.zeros_like(u)
w[1:-1,1:-1]=(
u[0:-2,1:-1] + u[2: ,1:-1]+
u[1:-1,0:-2]+u[1:-1,2: ]-
4*u[1:-1,1:-1])/h2 + u[1:-1,1:-1]**2
return w
def gs_rb_step(v,f,h2):
""" Carry out single Gauss-Seidel
iteration step on v.f is source term,
h2 is square of grid spacing."""
u=v.copy()
res=np.empty_like(v)
res[1:-1:2,1:-1:2]=(
u[0:-2:2,1:-1:2] + u[2: :2,1:-1:2] +
u[1:-1:2,0:-2:2] + u[1:-1:2,2: :2] -
4*u[1:-1:2,1:-1:2]
) / h2 + \
u[1:-1:2,1:-1:2]**2 - f[1:-1:2,1:-1:2]
u[1:-1:2,1:-1:2] -= res[1:-1:2,1:-1:2] / (
-4.0/h2+2*u[1:-1:2,1:-1:2])
res[2:-2:2,2:-2:2] = (u[1:-3:2,2:-2:2] + u[3:-1:2,2:-2:2] +
u[2:-2:2,1:-3:2]+u[2:-2:2,3:-1:2] -
4*u[2:-2:2,2:-2:2])/h2 +\
u[2:-2:2,2:-2:2]**2 - f[2:-2:2,2:-2:2]
u[2:-2:2,2:-2:2] -= res[2:-2:2,2:-2:2] / (
-4.0/h2+2*u[2:-2:2,2:-2:2])
res[2:-2:2,1:-1:2]=(u[1:-3:2,1:-1:2]+u[3:-1:2,1:-1:2]+
u[2:-2:2,0:-2:2]+u[2:-2:2,2: :2]-
4*u[2:-2:2,1:-1:2])/h2 +\
u[2:-2:2,1:-1:2]**2-f[2:-2:2,1:-1:2]
u[2:-2:2,1:-1:2]-=res[2:-2:2,1:-1:2]/(
-4.0/h2+2*u[2:-2:2,1:-1:2])
res[1:-1:2,2:-2:2]=(u[0:-2:2,2:-2:2]+u[2: :2,2:-2:2]+
u[1:-1:2,1:-3:2]+u[1:-1:2,3:-1:2]-
4*u[1:-1:2,2:-2:2])/h2 +\
u[1:-1:2,2:-2:2]**2-f[1:-1:2,2:-2:2]
u[1:-1:2,2:-2:2]-=res[1:-1:2,2:-2:2]/(
-4.0/h2+2*u[1:-1:2,2:-2:2])
return u
def solve(rhs):
""" Return exact solution
on the coarsest 3x3 grid.
"""
h=0.5
u=np.zeros_like(rhs)
fac=2.0/h**2
dis=np.sqrt(fac**2+rhs[1,1])
u[1,1]=-rhs[1,1]/(fac+dis)
return u | 32.157895 | 68 | 0.334113 | 929 | 4,277 | 1.526372 | 0.086114 | 0.293371 | 0.287729 | 0.214386 | 0.835684 | 0.828632 | 0.828632 | 0.828632 | 0.828632 | 0.828632 | 0 | 0.251208 | 0.370821 | 4,277 | 133 | 69 | 32.157895 | 0.275734 | 0.121113 | 0 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0125 | 0 | 0.1375 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
6179985cb1cf5635c9c2d60a86deb2186bea79b5 | 23,853 | py | Python | django/bosscore/test/test_group_views.py | ArnaudGallardo/boss | c0d3bbca31575ac5442822b8d7f962def32d9072 | [
"Apache-2.0"
] | 20 | 2016-05-16T21:08:13.000Z | 2021-11-16T11:50:19.000Z | django/bosscore/test/test_group_views.py | ArnaudGallardo/boss | c0d3bbca31575ac5442822b8d7f962def32d9072 | [
"Apache-2.0"
] | 31 | 2016-10-28T17:51:11.000Z | 2022-02-10T08:07:31.000Z | django/bosscore/test/test_group_views.py | ArnaudGallardo/boss | c0d3bbca31575ac5442822b8d7f962def32d9072 | [
"Apache-2.0"
] | 12 | 2016-10-28T17:47:01.000Z | 2021-05-18T23:47:06.000Z | # Copyright 2016 The Johns Hopkins University Applied Physics Laboratory
#
# 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.
import json
from rest_framework.test import APITestCase
from django.conf import settings
from .setup_db import SetupTestDB
from ..constants import PUBLIC_GRP, ADMIN_GRP, ADMIN_USER
version = settings.BOSS_VERSION
class GroupsTests(APITestCase):
"""
Class to test the manage-data service
"""
def setUp(self):
"""
Initialize the database
:return:
"""
dbsetup = SetupTestDB()
user = dbsetup.create_user('testuser')
dbsetup.add_role("resource-manager")
dbsetup.create_group('unittest')
dbsetup.set_user(user)
self.client.force_login(user)
dbsetup.insert_test_data()
def test_get_groups(self):
""" Get all groups for a user"""
# get a group
url = '/' + version + '/groups/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(set(response.data['groups']), set([PUBLIC_GRP, 'testuser-primary', 'unittest']))
def test_get_groups_groupname(self):
""" Get all groups for a user"""
url = '/' + version + '/permissions/'
data = {
'group': 'unittest',
'collection': 'col1',
'permissions': ['read', 'add', 'update']
}
response = self.client.post(url, data=data)
self.assertEqual(response.status_code, 201)
url = '/' + version + '/permissions/'
data = {
'group': 'unittest',
'collection': 'col1',
'experiment': 'exp1',
'permissions': ['read', 'add', 'update']
}
response = self.client.post(url, data=data)
self.assertEqual(response.status_code, 201)
url = '/' + version + '/permissions/'
data = {
'group': 'unittest',
'collection': 'col1',
'experiment': 'exp1',
'channel': 'channel1',
'permissions': ['read', 'add', 'update']
}
response = self.client.post(url, data=data)
self.assertEqual(response.status_code, 201)
# get a group
url = '/' + version + '/groups/unittest'
response = self.client.get(url)
resources = response.data['resources']
self.assertEqual(len(resources), 3)
self.assertEqual(response.status_code, 200)
def test_get_groups_groupname_no_resources(self):
""" Get all groups for a user"""
# get a group
url = '/' + version + '/groups/unittest'
response = self.client.get(url)
resources = response.data['resources']
self.assertEqual(len(resources), 0)
self.assertEqual(response.status_code, 200)
def test_get_groups_filter_members(self):
""" Get all groups for a user is a member of """
# get a group
url = '/' + version + '/groups/?filter=member'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(set(response.data['groups']), set([PUBLIC_GRP, 'testuser-primary', 'unittest']))
def test_get_groups_filter_maintainers(self):
""" Get all groups for a user is a member of """
# get a group
url = '/' + version + '/groups/?filter=maintainer'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(set(response.data['groups']), set(['unittest']))
def test_post_groups(self):
""" Post new group """
# post a group
url = '/' + version + '/groups/pjm55'
response = self.client.post(url)
self.assertEqual(response.status_code, 201)
# get the group
url = '/' + version + '/groups/?filter=maintainer'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(set(response.data['groups']), set(['pjm55', 'unittest']))
def test_delete_groups(self):
""" Post new group """
# post a group
url = '/' + version + '/groups/pjm55'
response = self.client.post(url)
self.assertEqual(response.status_code, 201)
# delete a group
url = '/' + version + '/groups/pjm55'
response = self.client.delete(url)
self.assertEqual(response.status_code, 204)
class GroupMemberTests(APITestCase):
"""
Class to test gropup member views
"""
def setUp(self):
"""
Initialize the database
:return:
"""
dbsetup = SetupTestDB()
self.user1 = dbsetup.create_user('testuser2555')
dbsetup.set_user(self.user1)
dbsetup.create_group('unittest2555')
self.user2 = dbsetup.create_user('testuser')
dbsetup.add_role("resource-manager")
dbsetup.create_group('unittest')
dbsetup.set_user(self.user2)
self.client.force_login(self.user2)
dbsetup.insert_test_data()
def test_get_members(self):
""" Get all members of a group"""
# get a group
url = '/' + version + '/groups/unittest/members'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(set(response.data['members']), set(['testuser']))
def test_get_members_no_permission(self):
""" Get all members of a group"""
# get a group
url = '/' + version + '/groups/unittest2555/members'
response = self.client.get(url)
self.assertEqual(response.status_code, 403)
def test_get_members_username(self):
""" Get all members of a group"""
# List all members of the group
url = '/' + version + '/groups/unittest/members'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(len(response.data['members']), 1)
# get a group
url = '/' + version + '/groups/unittest/members/testuser'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], True)
# get a group
url = '/' + version + '/groups/unittest/members/testuser2555'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], False)
def test_add_member_group(self):
""" Add a new member to a group. """
# Check if user is a member of the group
url = '/' + version + '/groups/unittest/members/testuser2555/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], False)
# Add user to the group
url = '/' + version + '/groups/unittest/members/testuser2555/'
response = self.client.post(url)
self.assertEqual(response.status_code, 204)
# Check if user is a member of the group
url = '/' + version + '/groups/unittest/members/testuser2555/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], True)
# List all members of the group
url = '/' + version + '/groups/unittest/members'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(len(response.data['members']), 2)
def test_add_member_invalid(self):
""" Add a new member to admin or public group. This is invalid """
# Add user to the group
url = '/' + version + '/groups/' + ADMIN_GRP + '/members/testuser2555/'
response = self.client.post(url)
self.assertEqual(response.status_code, 400)
# Add user to the group
url = '/' + version + '/groups/' + PUBLIC_GRP + '/members/testuser2555/'
response = self.client.post(url)
self.assertEqual(response.status_code, 400)
def test_remove_member_invalid(self):
""" Remove a new member to admin or public group. This is invalid """
# Add user to the group
url = '/' + version + '/groups/' + ADMIN_GRP + '/members/testuser2555/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 400)
# Add user to the group
url = '/' + version + '/groups/' + PUBLIC_GRP + '/members/testuser2555/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 400)
def test_remove_member_group(self):
""" Remove a member from the group. """
# Add user to the group
url = '/' + version + '/groups/unittest/members/testuser2555/'
response = self.client.post(url)
self.assertEqual(response.status_code, 204)
# Check if user is a member of the group
url = '/' + version + '/groups/unittest/members/testuser2555/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], True)
# Remove user from the group
url = '/' + version + '/groups/unittest/members/testuser2555/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 204)
# Check if user is a member of the group
url = '/' + version + '/groups/unittest/members/testuser2555/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], False)
def test_remove_bossadmin_member_invalid(self):
# Add user to the group
url = '/' + version + '/groups/unittest/members/' + ADMIN_USER + '/'
response = self.client.post(url)
self.assertEqual(response.status_code, 204)
""" Remove bossadmin member from a group. This is invalid"""
# Check if user is a member of the group
url = '/' + version + '/groups/unittest/members/' + ADMIN_USER + '/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], True)
# Remove user from the group
url = '/' + version + '/groups/unittest/members/' + ADMIN_USER + '/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 400)
def test_group_member_invalid_group(self):
""" Test group-memeber api calls with a group that does not exist """
# get a group
url = '/' + version + '/groups/eeeeee/members'
response = self.client.get(url)
self.assertEqual(response.status_code, 404)
# Post with invalid groups
url = '/' + version + '/groups/eeeeee/members/testuser/'
response = self.client.post(url)
self.assertEqual(response.status_code, 404)
# delete with invalid groups
url = '/' + version + '/groups/eeeeee/members/testuser/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 404)
def test_group_member_invalid_user(self):
""" Test group member api calls with a user that does not exist """
# Get with invalid user
url = '/' + version + '/groups/unittest/members/testusereee/'
response = self.client.get(url)
self.assertEqual(response.status_code, 404)
# Post with invalid user
url = '/' + version + '/groups/unittest/members/testusereee/'
response = self.client.get(url)
self.assertEqual(response.status_code, 404)
# delete with invalid user
url = '/' + version + '/groups/unittest/members/testusereee/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 404)
def test_group_member_missing_permission(self):
""" Test group member api calls with a user that does not exist """
# Post with invalid user
url = '/' + version + '/groups/unittest2555/members/testuser/'
response = self.client.post(url)
self.assertEqual(response.status_code, 403)
# delete with invalid user
url = '/' + version + '/groups/unittest2555/members/testuser/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 403)
def test_get_members_permission(self):
""" Test that group maintainers can query the list of members"""
self.client.force_login(self.user1)
# get a group
url = '/' + version + '/groups/unittest/members'
response = self.client.get(url)
self.assertEqual(response.status_code, 403)
self.client.force_login(self.user2)
#
# # Add user1 to the group maintainer
url = '/' + version + '/groups/unittest/maintainers/testuser2555/'
response = self.client.post(url)
self.assertEqual(response.status_code, 204)
# get a group
url = '/' + version + '/groups/unittest/members'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(set(response.data['members']), set(['testuser']))
def test_get_members_permission_for_group_member(self):
""" Test that group members can query the list of maintainers"""
self.client.force_login(self.user1)
# get a group
url = '/' + version + '/groups/unittest/members'
response = self.client.get(url)
self.assertEqual(response.status_code, 403)
self.client.force_login(self.user2)
#
# # Add user1 to the group
url = '/' + version + '/groups/unittest/members/testuser2555/'
response = self.client.post(url)
self.assertEqual(response.status_code, 204)
# get a group
url = '/' + version + '/groups/unittest/members'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(set(response.data['members']), set(['testuser','testuser2555']))
class GroupMaintainerTests(APITestCase):
"""
Class to test group maintainer views
"""
def setUp(self):
"""
Initialize the database
:return:
"""
dbsetup = SetupTestDB()
self.user1 = dbsetup.create_user('testuser2555')
dbsetup.set_user(self.user1)
dbsetup.create_group('unittest2555')
self.user2 = dbsetup.create_user('testuser')
dbsetup.add_role("resource-manager")
dbsetup.create_group('unittest')
dbsetup.set_user(self.user2)
self.client.force_login(self.user2)
dbsetup.insert_test_data()
def test_get_maintainers(self):
""" Get all members of a group"""
# get a group
url = '/' + version + '/groups/unittest/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(set(response.data['maintainers']), set(['testuser']))
def test_get_maintainers_no_permissions(self):
""" Get all maintainers of a group without permissions"""
# get a group
url = '/' + version + '/groups/unittest2555/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 403)
def test_get_maintainers_username(self):
""" Get all members of a group"""
# get a group
url = '/' + version + '/groups/unittest/maintainers/testuser'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], True)
# get a group
url = '/' + version + '/groups/unittest/maintainers/testuser2555/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], False)
def test_add_maintainer_invalid(self):
""" Add a new member to a group. """
# Add maintainer to the group
url = '/' + version + '/groups/unittest/maintainers/'
response = self.client.post(url)
self.assertEqual(response.status_code, 400)
def test_add_maintainer_group(self):
""" Add a new member to a group. """
# Check if user is a maintainer of the group
url = '/' + version + '/groups/unittest/maintainers/testuser2555/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], False)
# Add user to the group
url = '/' + version + '/groups/unittest/maintainers/testuser2555/'
response = self.client.post(url)
self.assertEqual(response.status_code, 204)
# get a group
url = '/' + version + '/groups/unittest/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
# Check if user is a member of the group
url = '/' + version + '/groups/unittest/maintainers/testuser2555/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], True)
# List all members of the group
url = '/' + version + '/groups/unittest/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(len(response.data['maintainers']), 2)
def test_remove_maintainer_group(self):
""" Remove a maintainer from the group. """
# Add maintainer to the group
url = '/' + version + '/groups/unittest/maintainers/testuser2555/'
response = self.client.post(url)
self.assertEqual(response.status_code, 204)
# Check if user is a member of the group
url = '/' + version + '/groups/unittest/maintainers/testuser2555/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], True)
# List all members of the group
url = '/' + version + '/groups/unittest/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
# Remove user from the group
url = '/' + version + '/groups/unittest/maintainers/testuser2555/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 204)
# Check if user is a member of the group
url = '/' + version + '/groups/unittest/maintainers/testuser2555/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], False)
# List all members of the group
url = '/' + version + '/groups/unittest/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertIn('testuser', response.data['maintainers'])
def test_remove_bossadmin_maintainer_group_fails(self):
""" Test removal of bossadmin as a maintainer of a group fails"""
# Check if bossadmin user is a member of the group
url = '/' + version + '/groups/unittest/maintainers/' + ADMIN_USER + '/'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.data['result'], True)
# Attempt removal of bossadmin from the group
url = '/' + version + '/groups/unittest/maintainers/' + ADMIN_USER + '/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 400)
def test_group_maintainer_invalid_group(self):
""" Test group-maintainer api calls with a group that does not exist """
# get a group
url = '/' + version + '/groups/eeeeee/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 404)
# Post with invalid groups
url = '/' + version + '/groups/eeeeee/maintainers/testuser/'
response = self.client.post(url)
self.assertEqual(response.status_code, 404)
# delete with invalid groups
url = '/' + version + '/groups/eeeeee/maintainers/testuser/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 404)
def test_group_member_invalid_user(self):
""" Test group member api calls with a user that does not exist """
# Get with invalid user
url = '/' + version + '/groups/unittest/maintainers/testusereee/'
response = self.client.get(url)
self.assertEqual(response.status_code, 404)
# Post with invalid user
url = '/' + version + '/groups/unittest/maintainers/testusereee/'
response = self.client.get(url)
self.assertEqual(response.status_code, 404)
# delete with invalid user
url = '/' + version + '/groups/unittest/maintainers/testusereee/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 404)
def test_group_member_missing_permission(self):
""" Test group member api calls with a user that does not exist """
# Post with invalid user
url = '/' + version + '/groups/unittest2555/maintainers/testuser/'
response = self.client.post(url)
self.assertEqual(response.status_code, 403)
# delete with invalid user
url = '/' + version + '/groups/unittest2555/maintainers/testuser/'
response = self.client.delete(url)
self.assertEqual(response.status_code, 403)
def test_get_maintainers_permission(self):
""" Test that group maintainers can query the list of maintainers"""
self.client.force_login(self.user1)
# get a group
url = '/' + version + '/groups/unittest/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 403)
self.client.force_login(self.user2)
#
# # Add user1 to the group maintainer
url = '/' + version + '/groups/unittest/maintainers/testuser2555/'
response = self.client.post(url)
self.assertEqual(response.status_code, 204)
# get a group
url = '/' + version + '/groups/unittest/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(set(response.data['maintainers']), set(['testuser','testuser2555']))
def test_get_maintainers_permission_for_group_member(self):
""" Test that group members can query the list of maintainers"""
self.client.force_login(self.user1)
# get a group
url = '/' + version + '/groups/unittest/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 403)
self.client.force_login(self.user2)
#
# # Add user1 to the group maintainer
url = '/' + version + '/groups/unittest/members/testuser2555/'
response = self.client.post(url)
self.assertEqual(response.status_code, 204)
# get a group
url = '/' + version + '/groups/unittest/maintainers'
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
self.assertEqual(set(response.data['maintainers']), set(['testuser']))
| 37.56378 | 105 | 0.625498 | 2,729 | 23,853 | 5.378527 | 0.066691 | 0.109347 | 0.144161 | 0.154108 | 0.894127 | 0.885952 | 0.885952 | 0.877231 | 0.866535 | 0.859858 | 0 | 0.023958 | 0.252798 | 23,853 | 634 | 106 | 37.623028 | 0.799585 | 0.161573 | 0 | 0.823691 | 0 | 0 | 0.163379 | 0.115324 | 0 | 0 | 0 | 0 | 0.297521 | 1 | 0.096419 | false | 0 | 0.013774 | 0 | 0.118457 | 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 |
6181ee8c05670a6d74c20cc7786aea964f715d1b | 88,715 | py | Python | services/core/src/oci_cli_compute_management/generated/computemanagement_cli.py | honzajavorek/oci-cli | 6ea058afba323c6b3b70e98212ffaebb0d31985e | [
"Apache-2.0"
] | null | null | null | services/core/src/oci_cli_compute_management/generated/computemanagement_cli.py | honzajavorek/oci-cli | 6ea058afba323c6b3b70e98212ffaebb0d31985e | [
"Apache-2.0"
] | null | null | null | services/core/src/oci_cli_compute_management/generated/computemanagement_cli.py | honzajavorek/oci-cli | 6ea058afba323c6b3b70e98212ffaebb0d31985e | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
from __future__ import print_function
import click
import oci # noqa: F401
import six # noqa: F401
import sys # noqa: F401
from oci_cli import cli_constants # noqa: F401
from oci_cli import cli_util
from oci_cli import json_skeleton_utils
from oci_cli import custom_types # noqa: F401
from oci_cli.aliasing import CommandGroupWithAlias
from services.core.src.oci_cli_core.generated import core_service_cli
@click.command(cli_util.override('compute_management_root_group.command_name', 'compute-management'), cls=CommandGroupWithAlias, help=cli_util.override('compute_management_root_group.help', """API covering the [Networking](/iaas/Content/Network/Concepts/overview.htm),
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services. Use this API
to manage resources such as virtual cloud networks (VCNs), compute instances, and
block storage volumes.
"""), short_help=cli_util.override('compute_management_root_group.short_help', """Core Services API"""))
@cli_util.help_option_group
def compute_management_root_group():
pass
@click.command(cli_util.override('instance_pool_group.command_name', 'instance-pool'), cls=CommandGroupWithAlias, help="""An instance pool is a group of instances within the same region that are created based off of the same instance configuration. For more information about instance pools and instance configurations, see [Managing Compute Instances].""")
@cli_util.help_option_group
def instance_pool_group():
pass
@click.command(cli_util.override('instance_group.command_name', 'instance'), cls=CommandGroupWithAlias, help="""A compute host. The image used to launch the instance determines its operating system and other software. The shape specified during the launch process determines the number of CPUs and memory allocated to the instance. For more information, see [Overview of the Compute Service].
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies].
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.""")
@cli_util.help_option_group
def instance_group():
pass
@click.command(cli_util.override('instance_configuration_group.command_name', 'instance-configuration'), cls=CommandGroupWithAlias, help="""An instance configuration is a template that defines the settings to use when creating Compute instances. For more information about instance configurations, see [Managing Compute Instances].""")
@cli_util.help_option_group
def instance_configuration_group():
pass
@click.command(cli_util.override('instance_pool_load_balancer_attachment_group.command_name', 'instance-pool-load-balancer-attachment'), cls=CommandGroupWithAlias, help="""Represents a load balancer that is attached to an instance pool.""")
@cli_util.help_option_group
def instance_pool_load_balancer_attachment_group():
pass
core_service_cli.core_service_group.add_command(compute_management_root_group)
compute_management_root_group.add_command(instance_pool_group)
compute_management_root_group.add_command(instance_group)
compute_management_root_group.add_command(instance_configuration_group)
compute_management_root_group.add_command(instance_pool_load_balancer_attachment_group)
@instance_pool_group.command(name=cli_util.override('attach_load_balancer.command_name', 'attach'), help=u"""Attach a load balancer to the instance pool.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--load-balancer-id', required=True, help=u"""The OCID of the load balancer to attach to the instance pool.""")
@cli_util.option('--backend-set-name', required=True, help=u"""The name of the backend set on the load balancer to add instances to.""")
@cli_util.option('--port', required=True, type=click.INT, help=u"""The port value to use when creating the backend set.""")
@cli_util.option('--vnic-selection', required=True, help=u"""Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"]), help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource to see if it has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'InstancePool'})
@cli_util.wrap_exceptions
def attach_load_balancer(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, instance_pool_id, load_balancer_id, backend_set_name, port, vnic_selection, if_match):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
details = {}
details['loadBalancerId'] = load_balancer_id
details['backendSetName'] = backend_set_name
details['port'] = port
details['vnicSelection'] = vnic_selection
client = cli_util.build_client('compute_management', ctx)
result = client.attach_load_balancer(
instance_pool_id=instance_pool_id,
attach_load_balancer_details=details,
**kwargs
)
if wait_for_state:
if hasattr(client, 'get_instance_pool') and callable(getattr(client, 'get_instance_pool')):
try:
wait_period_kwargs = {}
if max_wait_seconds is not None:
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
if wait_interval_seconds is not None:
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
result = oci.wait_until(client, client.get_instance_pool(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
except oci.exceptions.MaximumWaitTimeExceeded as e:
# If we fail, we should show an error, but we should still provide the information to the customer
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
sys.exit(2)
except Exception:
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
raise
else:
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
cli_util.render_response(result, ctx)
@instance_configuration_group.command(name=cli_util.override('change_instance_configuration_compartment.command_name', 'change-compartment'), help=u"""Moves an instance configuration into a different compartment within the same tenancy. For information about moving resources between compartments, see [Moving Resources to a Different Compartment].
When you move an instance configuration to a different compartment, associated resources such as instance pools are not moved.
**Important:** Most of the properties for an existing instance configuration, including the compartment, cannot be modified after you create the instance configuration. Although you can move an instance configuration to a different compartment, you will not be able to use the instance configuration to manage instance pools in the new compartment. If you want to update an instance configuration to point to a different compartment, you should instead create a new instance configuration in the target compartment using [CreateInstanceConfiguration].""")
@cli_util.option('--instance-configuration-id', required=True, help=u"""The OCID of the instance configuration.""")
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment to move the instance configuration to.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
@cli_util.wrap_exceptions
def change_instance_configuration_compartment(ctx, from_json, instance_configuration_id, compartment_id, if_match):
if isinstance(instance_configuration_id, six.string_types) and len(instance_configuration_id.strip()) == 0:
raise click.UsageError('Parameter --instance-configuration-id cannot be whitespace or empty string')
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
details = {}
details['compartmentId'] = compartment_id
client = cli_util.build_client('compute_management', ctx)
result = client.change_instance_configuration_compartment(
instance_configuration_id=instance_configuration_id,
change_instance_configuration_compartment_details=details,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('change_instance_pool_compartment.command_name', 'change-compartment'), help=u"""Moves an instance pool into a different compartment within the same tenancy. For information about moving resources between compartments, see [Moving Resources to a Different Compartment].
When you move an instance pool to a different compartment, associated resources such as the instances in the pool, boot volumes, VNICs, and autoscaling configurations are not moved.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment to move the instance pool to.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
@cli_util.wrap_exceptions
def change_instance_pool_compartment(ctx, from_json, instance_pool_id, compartment_id, if_match):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
details = {}
details['compartmentId'] = compartment_id
client = cli_util.build_client('compute_management', ctx)
result = client.change_instance_pool_compartment(
instance_pool_id=instance_pool_id,
change_instance_pool_compartment_details=details,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_configuration_group.command(name=cli_util.override('create_instance_configuration.command_name', 'create'), help=u"""Creates an instance configuration. An instance configuration is a template that defines the settings to use when creating Compute instances.""")
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment containing the instance configuration.""")
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--display-name', help=u"""A user-friendly name for the instance configuration. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--source', type=custom_types.CliCaseInsensitiveChoice(["NONE", "INSTANCE"]), help=u"""The source of the instance configuration. An instance configuration defines the settings to use when creating Compute instances, including details such as the base image, shape, and metadata. You can also specify the associated resources for the instance, such as block volume attachments and network configuration.
The following values are supported:
* `NONE`: Creates an instance configuration using the list of settings that you specify.
* `INSTANCE`: Creates an instance configuration using an existing instance as a template. The instance configuration uses the same settings as the instance.""")
@json_skeleton_utils.get_cli_json_input_option({'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}}, output_type={'module': 'core', 'class': 'InstanceConfiguration'})
@cli_util.wrap_exceptions
def create_instance_configuration(ctx, from_json, compartment_id, defined_tags, display_name, freeform_tags, source):
kwargs = {}
details = {}
details['compartmentId'] = compartment_id
if defined_tags is not None:
details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
if display_name is not None:
details['displayName'] = display_name
if freeform_tags is not None:
details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
if source is not None:
details['source'] = source
client = cli_util.build_client('compute_management', ctx)
result = client.create_instance_configuration(
create_instance_configuration=details,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_configuration_group.command(name=cli_util.override('create_instance_configuration_create_instance_configuration_details.command_name', 'create-instance-configuration-create-instance-configuration-details'), help=u"""Creates an instance configuration. An instance configuration is a template that defines the settings to use when creating Compute instances.""")
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment containing the instance configuration.""")
@cli_util.option('--instance-details', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--display-name', help=u"""A user-friendly name for the instance configuration. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@json_skeleton_utils.get_cli_json_input_option({'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}, 'instance-details': {'module': 'core', 'class': 'InstanceConfigurationInstanceDetails'}})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}, 'instance-details': {'module': 'core', 'class': 'InstanceConfigurationInstanceDetails'}}, output_type={'module': 'core', 'class': 'InstanceConfiguration'})
@cli_util.wrap_exceptions
def create_instance_configuration_create_instance_configuration_details(ctx, from_json, compartment_id, instance_details, defined_tags, display_name, freeform_tags):
kwargs = {}
details = {}
details['compartmentId'] = compartment_id
details['instanceDetails'] = cli_util.parse_json_parameter("instance_details", instance_details)
if defined_tags is not None:
details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
if display_name is not None:
details['displayName'] = display_name
if freeform_tags is not None:
details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
details['source'] = 'NONE'
client = cli_util.build_client('compute_management', ctx)
result = client.create_instance_configuration(
create_instance_configuration=details,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_configuration_group.command(name=cli_util.override('create_instance_configuration_create_instance_configuration_from_instance_details.command_name', 'create-instance-configuration-create-instance-configuration-from-instance-details'), help=u"""Creates an instance configuration. An instance configuration is a template that defines the settings to use when creating Compute instances.""")
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment containing the instance configuration.""")
@cli_util.option('--instance-id', required=True, help=u"""The [OCID] of the instance to use to create the instance configuration.""")
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--display-name', help=u"""A user-friendly name for the instance configuration. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@json_skeleton_utils.get_cli_json_input_option({'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}}, output_type={'module': 'core', 'class': 'InstanceConfiguration'})
@cli_util.wrap_exceptions
def create_instance_configuration_create_instance_configuration_from_instance_details(ctx, from_json, compartment_id, instance_id, defined_tags, display_name, freeform_tags):
kwargs = {}
details = {}
details['compartmentId'] = compartment_id
details['instanceId'] = instance_id
if defined_tags is not None:
details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
if display_name is not None:
details['displayName'] = display_name
if freeform_tags is not None:
details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
details['source'] = 'INSTANCE'
client = cli_util.build_client('compute_management', ctx)
result = client.create_instance_configuration(
create_instance_configuration=details,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('create_instance_pool.command_name', 'create'), help=u"""Create an instance pool.""")
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the compartment containing the instance pool""")
@cli_util.option('--instance-configuration-id', required=True, help=u"""The OCID of the instance configuration associated with the instance pool.""")
@cli_util.option('--placement-configurations', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The placement configurations for the instance pool. Provide one placement configuration for each availability domain.
To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--size', required=True, type=click.INT, help=u"""The number of instances that should be in the instance pool.""")
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--display-name', help=u"""A user-friendly name for the instance pool. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--load-balancers', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The load balancers to attach to the instance pool.
This option is a JSON list with items of type AttachLoadBalancerDetails. For documentation on AttachLoadBalancerDetails please see our API reference: https://docs.cloud.oracle.com/api/#/en/iaas/20160918/datatypes/AttachLoadBalancerDetails.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"]), help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource to see if it has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
@json_skeleton_utils.get_cli_json_input_option({'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}, 'placement-configurations': {'module': 'core', 'class': 'list[CreateInstancePoolPlacementConfigurationDetails]'}, 'load-balancers': {'module': 'core', 'class': 'list[AttachLoadBalancerDetails]'}})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}, 'placement-configurations': {'module': 'core', 'class': 'list[CreateInstancePoolPlacementConfigurationDetails]'}, 'load-balancers': {'module': 'core', 'class': 'list[AttachLoadBalancerDetails]'}}, output_type={'module': 'core', 'class': 'InstancePool'})
@cli_util.wrap_exceptions
def create_instance_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, instance_configuration_id, placement_configurations, size, defined_tags, display_name, freeform_tags, load_balancers):
kwargs = {}
details = {}
details['compartmentId'] = compartment_id
details['instanceConfigurationId'] = instance_configuration_id
details['placementConfigurations'] = cli_util.parse_json_parameter("placement_configurations", placement_configurations)
details['size'] = size
if defined_tags is not None:
details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
if display_name is not None:
details['displayName'] = display_name
if freeform_tags is not None:
details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
if load_balancers is not None:
details['loadBalancers'] = cli_util.parse_json_parameter("load_balancers", load_balancers)
client = cli_util.build_client('compute_management', ctx)
result = client.create_instance_pool(
create_instance_pool_details=details,
**kwargs
)
if wait_for_state:
if hasattr(client, 'get_instance_pool') and callable(getattr(client, 'get_instance_pool')):
try:
wait_period_kwargs = {}
if max_wait_seconds is not None:
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
if wait_interval_seconds is not None:
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
result = oci.wait_until(client, client.get_instance_pool(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
except oci.exceptions.MaximumWaitTimeExceeded as e:
# If we fail, we should show an error, but we should still provide the information to the customer
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
sys.exit(2)
except Exception:
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
raise
else:
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
cli_util.render_response(result, ctx)
@instance_configuration_group.command(name=cli_util.override('delete_instance_configuration.command_name', 'delete'), help=u"""Deletes an instance configuration.""")
@cli_util.option('--instance-configuration-id', required=True, help=u"""The OCID of the instance configuration.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@cli_util.confirm_delete_option
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
@cli_util.wrap_exceptions
def delete_instance_configuration(ctx, from_json, instance_configuration_id, if_match):
if isinstance(instance_configuration_id, six.string_types) and len(instance_configuration_id.strip()) == 0:
raise click.UsageError('Parameter --instance-configuration-id cannot be whitespace or empty string')
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
client = cli_util.build_client('compute_management', ctx)
result = client.delete_instance_configuration(
instance_configuration_id=instance_configuration_id,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('detach_load_balancer.command_name', 'detach'), help=u"""Detach a load balancer from the instance pool.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--load-balancer-id', required=True, help=u"""The OCID of the load balancer to detach from the instance pool.""")
@cli_util.option('--backend-set-name', required=True, help=u"""The name of the backend set on the load balancer to detach from the instance pool.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"]), help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource to see if it has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'InstancePool'})
@cli_util.wrap_exceptions
def detach_load_balancer(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, instance_pool_id, load_balancer_id, backend_set_name, if_match):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
details = {}
details['loadBalancerId'] = load_balancer_id
details['backendSetName'] = backend_set_name
client = cli_util.build_client('compute_management', ctx)
result = client.detach_load_balancer(
instance_pool_id=instance_pool_id,
detach_load_balancer_details=details,
**kwargs
)
if wait_for_state:
if hasattr(client, 'get_instance_pool') and callable(getattr(client, 'get_instance_pool')):
try:
wait_period_kwargs = {}
if max_wait_seconds is not None:
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
if wait_interval_seconds is not None:
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
result = oci.wait_until(client, client.get_instance_pool(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
except oci.exceptions.MaximumWaitTimeExceeded as e:
# If we fail, we should show an error, but we should still provide the information to the customer
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
sys.exit(2)
except Exception:
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
raise
else:
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
cli_util.render_response(result, ctx)
@instance_configuration_group.command(name=cli_util.override('get_instance_configuration.command_name', 'get'), help=u"""Gets the specified instance configuration""")
@cli_util.option('--instance-configuration-id', required=True, help=u"""The OCID of the instance configuration.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'InstanceConfiguration'})
@cli_util.wrap_exceptions
def get_instance_configuration(ctx, from_json, instance_configuration_id):
if isinstance(instance_configuration_id, six.string_types) and len(instance_configuration_id.strip()) == 0:
raise click.UsageError('Parameter --instance-configuration-id cannot be whitespace or empty string')
kwargs = {}
client = cli_util.build_client('compute_management', ctx)
result = client.get_instance_configuration(
instance_configuration_id=instance_configuration_id,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('get_instance_pool.command_name', 'get'), help=u"""Gets the specified instance pool""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'InstancePool'})
@cli_util.wrap_exceptions
def get_instance_pool(ctx, from_json, instance_pool_id):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
kwargs = {}
client = cli_util.build_client('compute_management', ctx)
result = client.get_instance_pool(
instance_pool_id=instance_pool_id,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_pool_load_balancer_attachment_group.command(name=cli_util.override('get_instance_pool_load_balancer_attachment.command_name', 'get'), help=u"""Gets information about a load balancer that is attached to the specified instance pool.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--instance-pool-load-balancer-attachment-id', required=True, help=u"""The OCID of the load balancer attachment.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'InstancePoolLoadBalancerAttachment'})
@cli_util.wrap_exceptions
def get_instance_pool_load_balancer_attachment(ctx, from_json, instance_pool_id, instance_pool_load_balancer_attachment_id):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
if isinstance(instance_pool_load_balancer_attachment_id, six.string_types) and len(instance_pool_load_balancer_attachment_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-load-balancer-attachment-id cannot be whitespace or empty string')
kwargs = {}
client = cli_util.build_client('compute_management', ctx)
result = client.get_instance_pool_load_balancer_attachment(
instance_pool_id=instance_pool_id,
instance_pool_load_balancer_attachment_id=instance_pool_load_balancer_attachment_id,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_group.command(name=cli_util.override('launch_instance_configuration.command_name', 'launch-instance-configuration'), help=u"""Launches an instance from an instance configuration.
If the instance configuration does not include all of the parameters that are required to launch an instance, such as the availability domain and subnet ID, you must provide these parameters when you launch an instance from the instance configuration. For more information, see the [InstanceConfiguration] resource.""")
@cli_util.option('--instance-configuration-id', required=True, help=u"""The OCID of the instance configuration.""")
@cli_util.option('--instance-type', required=True, help=u"""The type of instance details. Supported instanceType is compute""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'Instance'})
@cli_util.wrap_exceptions
def launch_instance_configuration(ctx, from_json, instance_configuration_id, instance_type):
if isinstance(instance_configuration_id, six.string_types) and len(instance_configuration_id.strip()) == 0:
raise click.UsageError('Parameter --instance-configuration-id cannot be whitespace or empty string')
kwargs = {}
details = {}
details['instanceType'] = instance_type
client = cli_util.build_client('compute_management', ctx)
result = client.launch_instance_configuration(
instance_configuration_id=instance_configuration_id,
instance_configuration=details,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_group.command(name=cli_util.override('launch_instance_configuration_compute_instance_details.command_name', 'launch-instance-configuration-compute-instance-details'), help=u"""Launches an instance from an instance configuration.
If the instance configuration does not include all of the parameters that are required to launch an instance, such as the availability domain and subnet ID, you must provide these parameters when you launch an instance from the instance configuration. For more information, see the [InstanceConfiguration] resource.""")
@cli_util.option('--instance-configuration-id', required=True, help=u"""The OCID of the instance configuration.""")
@cli_util.option('--block-volumes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""
This option is a JSON list with items of type InstanceConfigurationBlockVolumeDetails. For documentation on InstanceConfigurationBlockVolumeDetails please see our API reference: https://docs.cloud.oracle.com/api/#/en/iaas/20160918/datatypes/InstanceConfigurationBlockVolumeDetails.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--launch-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--secondary-vnics', type=custom_types.CLI_COMPLEX_TYPE, help=u"""
This option is a JSON list with items of type InstanceConfigurationAttachVnicDetails. For documentation on InstanceConfigurationAttachVnicDetails please see our API reference: https://docs.cloud.oracle.com/api/#/en/iaas/20160918/datatypes/InstanceConfigurationAttachVnicDetails.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@json_skeleton_utils.get_cli_json_input_option({'block-volumes': {'module': 'core', 'class': 'list[InstanceConfigurationBlockVolumeDetails]'}, 'launch-details': {'module': 'core', 'class': 'InstanceConfigurationLaunchInstanceDetails'}, 'secondary-vnics': {'module': 'core', 'class': 'list[InstanceConfigurationAttachVnicDetails]'}})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'block-volumes': {'module': 'core', 'class': 'list[InstanceConfigurationBlockVolumeDetails]'}, 'launch-details': {'module': 'core', 'class': 'InstanceConfigurationLaunchInstanceDetails'}, 'secondary-vnics': {'module': 'core', 'class': 'list[InstanceConfigurationAttachVnicDetails]'}}, output_type={'module': 'core', 'class': 'Instance'})
@cli_util.wrap_exceptions
def launch_instance_configuration_compute_instance_details(ctx, from_json, instance_configuration_id, block_volumes, launch_details, secondary_vnics):
if isinstance(instance_configuration_id, six.string_types) and len(instance_configuration_id.strip()) == 0:
raise click.UsageError('Parameter --instance-configuration-id cannot be whitespace or empty string')
kwargs = {}
details = {}
if block_volumes is not None:
details['blockVolumes'] = cli_util.parse_json_parameter("block_volumes", block_volumes)
if launch_details is not None:
details['launchDetails'] = cli_util.parse_json_parameter("launch_details", launch_details)
if secondary_vnics is not None:
details['secondaryVnics'] = cli_util.parse_json_parameter("secondary_vnics", secondary_vnics)
details['instanceType'] = 'compute'
client = cli_util.build_client('compute_management', ctx)
result = client.launch_instance_configuration(
instance_configuration_id=instance_configuration_id,
instance_configuration=details,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_configuration_group.command(name=cli_util.override('list_instance_configurations.command_name', 'list'), help=u"""Lists the instance configurations in the specified compartment.""")
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment.""")
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].
Example: `50`""")
@cli_util.option('--page', help=u"""For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIMECREATED", "DISPLAYNAME"]), help=u"""The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
**Note:** In general, some \"List\" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these \"List\" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted.""")
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive.""")
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
@cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'list[InstanceConfigurationSummary]'})
@cli_util.wrap_exceptions
def list_instance_configurations(ctx, from_json, all_pages, page_size, compartment_id, limit, page, sort_by, sort_order):
if all_pages and limit:
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
kwargs = {}
if limit is not None:
kwargs['limit'] = limit
if page is not None:
kwargs['page'] = page
if sort_by is not None:
kwargs['sort_by'] = sort_by
if sort_order is not None:
kwargs['sort_order'] = sort_order
client = cli_util.build_client('compute_management', ctx)
if all_pages:
if page_size:
kwargs['limit'] = page_size
result = cli_util.list_call_get_all_results(
client.list_instance_configurations,
compartment_id=compartment_id,
**kwargs
)
elif limit is not None:
result = cli_util.list_call_get_up_to_limit(
client.list_instance_configurations,
limit,
page_size,
compartment_id=compartment_id,
**kwargs
)
else:
result = client.list_instance_configurations(
compartment_id=compartment_id,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_group.command(name=cli_util.override('list_instance_pool_instances.command_name', 'list-instance-pool-instances'), help=u"""List the instances in the specified instance pool.""")
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the given display name exactly.""")
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].
Example: `50`""")
@cli_util.option('--page', help=u"""For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIMECREATED", "DISPLAYNAME"]), help=u"""The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
**Note:** In general, some \"List\" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these \"List\" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted.""")
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive.""")
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
@cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'list[InstanceSummary]'})
@cli_util.wrap_exceptions
def list_instance_pool_instances(ctx, from_json, all_pages, page_size, compartment_id, instance_pool_id, display_name, limit, page, sort_by, sort_order):
if all_pages and limit:
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
kwargs = {}
if display_name is not None:
kwargs['display_name'] = display_name
if limit is not None:
kwargs['limit'] = limit
if page is not None:
kwargs['page'] = page
if sort_by is not None:
kwargs['sort_by'] = sort_by
if sort_order is not None:
kwargs['sort_order'] = sort_order
client = cli_util.build_client('compute_management', ctx)
if all_pages:
if page_size:
kwargs['limit'] = page_size
result = cli_util.list_call_get_all_results(
client.list_instance_pool_instances,
compartment_id=compartment_id,
instance_pool_id=instance_pool_id,
**kwargs
)
elif limit is not None:
result = cli_util.list_call_get_up_to_limit(
client.list_instance_pool_instances,
limit,
page_size,
compartment_id=compartment_id,
instance_pool_id=instance_pool_id,
**kwargs
)
else:
result = client.list_instance_pool_instances(
compartment_id=compartment_id,
instance_pool_id=instance_pool_id,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('list_instance_pools.command_name', 'list'), help=u"""Lists the instance pools in the specified compartment.""")
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment.""")
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the given display name exactly.""")
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].
Example: `50`""")
@cli_util.option('--page', help=u"""For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIMECREATED", "DISPLAYNAME"]), help=u"""The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
**Note:** In general, some \"List\" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these \"List\" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted.""")
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive.""")
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"]), help=u"""A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.""")
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
@cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'list[InstancePoolSummary]'})
@cli_util.wrap_exceptions
def list_instance_pools(ctx, from_json, all_pages, page_size, compartment_id, display_name, limit, page, sort_by, sort_order, lifecycle_state):
if all_pages and limit:
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
kwargs = {}
if display_name is not None:
kwargs['display_name'] = display_name
if limit is not None:
kwargs['limit'] = limit
if page is not None:
kwargs['page'] = page
if sort_by is not None:
kwargs['sort_by'] = sort_by
if sort_order is not None:
kwargs['sort_order'] = sort_order
if lifecycle_state is not None:
kwargs['lifecycle_state'] = lifecycle_state
client = cli_util.build_client('compute_management', ctx)
if all_pages:
if page_size:
kwargs['limit'] = page_size
result = cli_util.list_call_get_all_results(
client.list_instance_pools,
compartment_id=compartment_id,
**kwargs
)
elif limit is not None:
result = cli_util.list_call_get_up_to_limit(
client.list_instance_pools,
limit,
page_size,
compartment_id=compartment_id,
**kwargs
)
else:
result = client.list_instance_pools(
compartment_id=compartment_id,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('reset_instance_pool.command_name', 'reset'), help=u"""Performs the reset (power off and power on) action on the specified instance pool, which performs the action on all the instances in the pool.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"]), help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource to see if it has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'InstancePool'})
@cli_util.wrap_exceptions
def reset_instance_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, instance_pool_id, if_match):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
client = cli_util.build_client('compute_management', ctx)
result = client.reset_instance_pool(
instance_pool_id=instance_pool_id,
**kwargs
)
if wait_for_state:
if hasattr(client, 'get_instance_pool') and callable(getattr(client, 'get_instance_pool')):
try:
wait_period_kwargs = {}
if max_wait_seconds is not None:
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
if wait_interval_seconds is not None:
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
result = oci.wait_until(client, client.get_instance_pool(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
except oci.exceptions.MaximumWaitTimeExceeded as e:
# If we fail, we should show an error, but we should still provide the information to the customer
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
sys.exit(2)
except Exception:
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
raise
else:
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('softreset_instance_pool.command_name', 'softreset'), help=u"""Performs the softreset (ACPI shutdown and power on) action on the specified instance pool, which performs the action on all the instances in the pool.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"]), help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource to see if it has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'InstancePool'})
@cli_util.wrap_exceptions
def softreset_instance_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, instance_pool_id, if_match):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
client = cli_util.build_client('compute_management', ctx)
result = client.softreset_instance_pool(
instance_pool_id=instance_pool_id,
**kwargs
)
if wait_for_state:
if hasattr(client, 'get_instance_pool') and callable(getattr(client, 'get_instance_pool')):
try:
wait_period_kwargs = {}
if max_wait_seconds is not None:
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
if wait_interval_seconds is not None:
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
result = oci.wait_until(client, client.get_instance_pool(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
except oci.exceptions.MaximumWaitTimeExceeded as e:
# If we fail, we should show an error, but we should still provide the information to the customer
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
sys.exit(2)
except Exception:
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
raise
else:
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('start_instance_pool.command_name', 'start'), help=u"""Performs the start (power on) action on the specified instance pool, which performs the action on all the instances in the pool.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"]), help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource to see if it has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'InstancePool'})
@cli_util.wrap_exceptions
def start_instance_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, instance_pool_id, if_match):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
client = cli_util.build_client('compute_management', ctx)
result = client.start_instance_pool(
instance_pool_id=instance_pool_id,
**kwargs
)
if wait_for_state:
if hasattr(client, 'get_instance_pool') and callable(getattr(client, 'get_instance_pool')):
try:
wait_period_kwargs = {}
if max_wait_seconds is not None:
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
if wait_interval_seconds is not None:
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
result = oci.wait_until(client, client.get_instance_pool(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
except oci.exceptions.MaximumWaitTimeExceeded as e:
# If we fail, we should show an error, but we should still provide the information to the customer
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
sys.exit(2)
except Exception:
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
raise
else:
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('stop_instance_pool.command_name', 'stop'), help=u"""Performs the stop (power off) action on the specified instance pool, which performs the action on all the instances in the pool.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"]), help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource to see if it has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'InstancePool'})
@cli_util.wrap_exceptions
def stop_instance_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, instance_pool_id, if_match):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
client = cli_util.build_client('compute_management', ctx)
result = client.stop_instance_pool(
instance_pool_id=instance_pool_id,
**kwargs
)
if wait_for_state:
if hasattr(client, 'get_instance_pool') and callable(getattr(client, 'get_instance_pool')):
try:
wait_period_kwargs = {}
if max_wait_seconds is not None:
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
if wait_interval_seconds is not None:
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
result = oci.wait_until(client, client.get_instance_pool(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
except oci.exceptions.MaximumWaitTimeExceeded as e:
# If we fail, we should show an error, but we should still provide the information to the customer
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
sys.exit(2)
except Exception:
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
raise
else:
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('terminate_instance_pool.command_name', 'terminate'), help=u"""Terminate the specified instance pool.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@cli_util.confirm_delete_option
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"]), help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource to see if it has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
@json_skeleton_utils.get_cli_json_input_option({})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
@cli_util.wrap_exceptions
def terminate_instance_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, instance_pool_id, if_match):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
client = cli_util.build_client('compute_management', ctx)
result = client.terminate_instance_pool(
instance_pool_id=instance_pool_id,
**kwargs
)
if wait_for_state:
if hasattr(client, 'get_instance_pool') and callable(getattr(client, 'get_instance_pool')):
try:
wait_period_kwargs = {}
if max_wait_seconds is not None:
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
if wait_interval_seconds is not None:
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
oci.wait_until(client, client.get_instance_pool(instance_pool_id), 'lifecycle_state', wait_for_state, succeed_on_not_found=True, **wait_period_kwargs)
except oci.exceptions.ServiceError as e:
# We make an initial service call so we can pass the result to oci.wait_until(), however if we are waiting on the
# outcome of a delete operation it is possible that the resource is already gone and so the initial service call
# will result in an exception that reflects a HTTP 404. In this case, we can exit with success (rather than raising
# the exception) since this would have been the behaviour in the waiter anyway (as for delete we provide the argument
# succeed_on_not_found=True to the waiter).
#
# Any non-404 should still result in the exception being thrown.
if e.status == 404:
pass
else:
raise
except oci.exceptions.MaximumWaitTimeExceeded as e:
# If we fail, we should show an error, but we should still provide the information to the customer
click.echo('Failed to wait until the resource entered the specified state. Please retrieve the resource to find its current state', file=sys.stderr)
cli_util.render_response(result, ctx)
sys.exit(2)
except Exception:
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
raise
else:
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
cli_util.render_response(result, ctx)
@instance_configuration_group.command(name=cli_util.override('update_instance_configuration.command_name', 'update'), help=u"""Updates the free-form tags, defined tags, and display name of an instance configuration.""")
@cli_util.option('--instance-configuration-id', required=True, help=u"""The OCID of the instance configuration.""")
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Example: `My instance configuration`""")
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
@json_skeleton_utils.get_cli_json_input_option({'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}}, output_type={'module': 'core', 'class': 'InstanceConfiguration'})
@cli_util.wrap_exceptions
def update_instance_configuration(ctx, from_json, force, instance_configuration_id, defined_tags, display_name, freeform_tags, if_match):
if isinstance(instance_configuration_id, six.string_types) and len(instance_configuration_id.strip()) == 0:
raise click.UsageError('Parameter --instance-configuration-id cannot be whitespace or empty string')
if not force:
if defined_tags or freeform_tags:
if not click.confirm("WARNING: Updates to defined-tags and freeform-tags will replace any existing values. Are you sure you want to continue?"):
ctx.abort()
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
details = {}
if defined_tags is not None:
details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
if display_name is not None:
details['displayName'] = display_name
if freeform_tags is not None:
details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
client = cli_util.build_client('compute_management', ctx)
result = client.update_instance_configuration(
instance_configuration_id=instance_configuration_id,
update_instance_configuration_details=details,
**kwargs
)
cli_util.render_response(result, ctx)
@instance_pool_group.command(name=cli_util.override('update_instance_pool.command_name', 'update'), help=u"""Update the specified instance pool. The OCID of the instance pool remains the same.""")
@cli_util.option('--instance-pool-id', required=True, help=u"""The OCID of the instance pool.""")
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--display-name', help=u"""A user-friendly name for the instance pool. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--instance-configuration-id', help=u"""The OCID of the instance configuration associated with the instance pool.""")
@cli_util.option('--placement-configurations', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The placement configurations for the instance pool. Provide one placement configuration for each availability domain.
To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.
This option is a JSON list with items of type UpdateInstancePoolPlacementConfigurationDetails. For documentation on UpdateInstancePoolPlacementConfigurationDetails please see our API reference: https://docs.cloud.oracle.com/api/#/en/iaas/20160918/datatypes/UpdateInstancePoolPlacementConfigurationDetails.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--size', type=click.INT, help=u"""The number of instances that should be in the instance pool.""")
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"]), help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource to see if it has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
@json_skeleton_utils.get_cli_json_input_option({'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}, 'placement-configurations': {'module': 'core', 'class': 'list[UpdateInstancePoolPlacementConfigurationDetails]'}})
@cli_util.help_option
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}, 'placement-configurations': {'module': 'core', 'class': 'list[UpdateInstancePoolPlacementConfigurationDetails]'}}, output_type={'module': 'core', 'class': 'InstancePool'})
@cli_util.wrap_exceptions
def update_instance_pool(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, instance_pool_id, defined_tags, display_name, freeform_tags, instance_configuration_id, placement_configurations, size, if_match):
if isinstance(instance_pool_id, six.string_types) and len(instance_pool_id.strip()) == 0:
raise click.UsageError('Parameter --instance-pool-id cannot be whitespace or empty string')
if not force:
if defined_tags or freeform_tags or placement_configurations:
if not click.confirm("WARNING: Updates to defined-tags and freeform-tags and placement-configurations will replace any existing values. Are you sure you want to continue?"):
ctx.abort()
kwargs = {}
if if_match is not None:
kwargs['if_match'] = if_match
details = {}
if defined_tags is not None:
details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
if display_name is not None:
details['displayName'] = display_name
if freeform_tags is not None:
details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
if instance_configuration_id is not None:
details['instanceConfigurationId'] = instance_configuration_id
if placement_configurations is not None:
details['placementConfigurations'] = cli_util.parse_json_parameter("placement_configurations", placement_configurations)
if size is not None:
details['size'] = size
client = cli_util.build_client('compute_management', ctx)
result = client.update_instance_pool(
instance_pool_id=instance_pool_id,
update_instance_pool_details=details,
**kwargs
)
if wait_for_state:
if hasattr(client, 'get_instance_pool') and callable(getattr(client, 'get_instance_pool')):
try:
wait_period_kwargs = {}
if max_wait_seconds is not None:
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
if wait_interval_seconds is not None:
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
result = oci.wait_until(client, client.get_instance_pool(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
except oci.exceptions.MaximumWaitTimeExceeded as e:
# If we fail, we should show an error, but we should still provide the information to the customer
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
sys.exit(2)
except Exception:
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
cli_util.render_response(result, ctx)
raise
else:
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
cli_util.render_response(result, ctx)
| 73.378825 | 555 | 0.742231 | 12,202 | 88,715 | 5.199066 | 0.044829 | 0.033985 | 0.02623 | 0.013903 | 0.906335 | 0.890178 | 0.876559 | 0.865572 | 0.846719 | 0.830057 | 0 | 0.002433 | 0.152083 | 88,715 | 1,208 | 556 | 73.43957 | 0.840913 | 0.017765 | 0 | 0.772126 | 0 | 0.111902 | 0.464811 | 0.048235 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029502 | false | 0.030519 | 0.018311 | 0 | 0.047813 | 0.001017 | 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 |
61a7f6b077eea694b941646f6ea74519973f0ce2 | 1,005 | py | Python | eyecandy/__init__.py | Alquimista/Eyecandy-py | 89fd47edaf20ab5043c8aa7e5825c54c3ac31a17 | [
"MIT"
] | 3 | 2018-02-02T11:29:29.000Z | 2021-06-19T17:14:01.000Z | eyecandy/__init__.py | Alquimista/Eyecandy-py | 89fd47edaf20ab5043c8aa7e5825c54c3ac31a17 | [
"MIT"
] | null | null | null | eyecandy/__init__.py | Alquimista/Eyecandy-py | 89fd47edaf20ab5043c8aa7e5825c54c3ac31a17 | [
"MIT"
] | 1 | 2017-12-17T09:55:44.000Z | 2017-12-17T09:55:44.000Z | #!/usr/bin/env python
#-*- coding:utf-8 -*-
try:
from effector import Generator as load
from helpers import timeit
from asstime import (Time, FPS_NTSC_FILM, FPS_NTSC, FPS_NTSC_DOUBLE,
FPS_NTSC_QUAD, FPS_FILM, FPS_PAL, FPS_PAL_DOUBLE,
FPS_PAL_QUAD)
from color import Color
from interpolate import DEFAULT_INTERPOLATE
from reader import VIDEO_ZOOM
except ImportError:
from .effector import Generator as load
from .helpers import timeit
from .asstime import (Time, FPS_NTSC_FILM, FPS_NTSC, FPS_NTSC_DOUBLE,
FPS_NTSC_QUAD, FPS_FILM, FPS_PAL, FPS_PAL_DOUBLE,
FPS_PAL_QUAD)
from .color import Color
from .interpolate import DEFAULT_INTERPOLATE
from .reader import VIDEO_ZOOM
ALIGN = {
'top left': 7, 'top center': 8, 'top right': 9,
'middle left': 4, 'middle center': 5, 'middle right': 6,
'bottom left': 1, 'bottom center': 2, 'bottom right': 3}
| 37.222222 | 75 | 0.651741 | 136 | 1,005 | 4.595588 | 0.345588 | 0.0896 | 0.0576 | 0.0864 | 0.7616 | 0.7616 | 0.7616 | 0.7616 | 0.7616 | 0.7616 | 0 | 0.013605 | 0.268657 | 1,005 | 26 | 76 | 38.653846 | 0.836735 | 0.039801 | 0 | 0.181818 | 0 | 0 | 0.102804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.590909 | 0 | 0.590909 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
61a9be3a81e0426ccf5c0c7f4a7df9b6b07eff55 | 46,619 | py | Python | data_log/migrations/0001_initial.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 66 | 2017-09-11T04:46:00.000Z | 2021-03-13T00:02:42.000Z | data_log/migrations/0001_initial.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 133 | 2017-09-24T21:28:59.000Z | 2021-04-02T10:35:31.000Z | data_log/migrations/0001_initial.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 28 | 2017-08-30T19:04:32.000Z | 2020-11-16T04:09:00.000Z | # Generated by Django 2.1.7 on 2019-02-24 04:55
import bestiary.models
import django.contrib.postgres.fields
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('bestiary', '0004_auto_20190222_2156'),
('herders', '0003_auto_20190213_1224'),
]
operations = [
migrations.CreateModel(
name='CraftRuneLog',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.IntegerField(choices=[(1, 'Energy'), (2, 'Fatal'), (3, 'Blade'), (4, 'Rage'), (5, 'Swift'), (6, 'Focus'), (7, 'Guard'), (8, 'Endure'), (9, 'Violent'), (10, 'Will'), (11, 'Nemesis'), (12, 'Shield'), (13, 'Revenge'), (14, 'Despair'), (15, 'Vampire'), (16, 'Destroy'), (17, 'Fight'), (18, 'Determination'), (19, 'Enhance'), (20, 'Accuracy'), (21, 'Tolerance')])),
('stars', models.IntegerField()),
('level', models.IntegerField()),
('slot', models.IntegerField()),
('quality', models.IntegerField(choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], default=0)),
('original_quality', models.IntegerField(blank=True, choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], null=True)),
('value', models.IntegerField(blank=True, null=True)),
('main_stat', models.IntegerField(choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')])),
('main_stat_value', models.IntegerField()),
('innate_stat', models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True)),
('innate_stat_value', models.IntegerField(blank=True, null=True)),
('substats', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True), default=list, size=4)),
('substat_values', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, null=True), default=list, size=4)),
('has_hp', models.BooleanField(default=False)),
('has_atk', models.BooleanField(default=False)),
('has_def', models.BooleanField(default=False)),
('has_crit_rate', models.BooleanField(default=False)),
('has_crit_dmg', models.BooleanField(default=False)),
('has_speed', models.BooleanField(default=False)),
('has_resist', models.BooleanField(default=False)),
('has_accuracy', models.BooleanField(default=False)),
('efficiency', models.FloatField(blank=True, null=True)),
('max_efficiency', models.FloatField(blank=True, null=True)),
('substat_upgrades_remaining', models.IntegerField(blank=True, null=True)),
('wizard_id', models.BigIntegerField()),
('timestamp', models.DateTimeField(blank=True, null=True)),
('server', models.IntegerField(blank=True, choices=[(0, 'Global'), (1, 'Europe'), (2, 'Asia'), (3, 'Korea'), (4, 'Japan'), (5, 'China')], null=True)),
('craft_level', models.IntegerField(choices=[(0, 'Low'), (1, 'Mid'), (2, 'High')])),
('summoner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='herders.Summoner')),
],
options={
'abstract': False,
},
bases=(models.Model, bestiary.models.RuneObjectBase),
),
migrations.CreateModel(
name='DungeonItemDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.IntegerField()),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.GameItem')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='DungeonLog',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('wizard_id', models.BigIntegerField()),
('timestamp', models.DateTimeField(blank=True, null=True)),
('server', models.IntegerField(blank=True, choices=[(0, 'Global'), (1, 'Europe'), (2, 'Asia'), (3, 'Korea'), (4, 'Japan'), (5, 'China')], null=True)),
('battle_key', models.BigIntegerField(blank=True, db_index=True, null=True)),
('success', models.NullBooleanField(help_text='Null indicates that run was not completed')),
('clear_time', models.DurationField(blank=True, null=True)),
('level', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Level')),
('summoner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='herders.Summoner')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='DungeonMonsterDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('grade', models.IntegerField()),
('level', models.IntegerField()),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.DungeonLog')),
('monster', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Monster')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='DungeonMonsterPieceDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.IntegerField()),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.DungeonLog')),
('monster', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Monster')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='DungeonRuneDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.IntegerField(choices=[(1, 'Energy'), (2, 'Fatal'), (3, 'Blade'), (4, 'Rage'), (5, 'Swift'), (6, 'Focus'), (7, 'Guard'), (8, 'Endure'), (9, 'Violent'), (10, 'Will'), (11, 'Nemesis'), (12, 'Shield'), (13, 'Revenge'), (14, 'Despair'), (15, 'Vampire'), (16, 'Destroy'), (17, 'Fight'), (18, 'Determination'), (19, 'Enhance'), (20, 'Accuracy'), (21, 'Tolerance')])),
('stars', models.IntegerField()),
('level', models.IntegerField()),
('slot', models.IntegerField()),
('quality', models.IntegerField(choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], default=0)),
('original_quality', models.IntegerField(blank=True, choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], null=True)),
('value', models.IntegerField(blank=True, null=True)),
('main_stat', models.IntegerField(choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')])),
('main_stat_value', models.IntegerField()),
('innate_stat', models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True)),
('innate_stat_value', models.IntegerField(blank=True, null=True)),
('substats', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True), default=list, size=4)),
('substat_values', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, null=True), default=list, size=4)),
('has_hp', models.BooleanField(default=False)),
('has_atk', models.BooleanField(default=False)),
('has_def', models.BooleanField(default=False)),
('has_crit_rate', models.BooleanField(default=False)),
('has_crit_dmg', models.BooleanField(default=False)),
('has_speed', models.BooleanField(default=False)),
('has_resist', models.BooleanField(default=False)),
('has_accuracy', models.BooleanField(default=False)),
('efficiency', models.FloatField(blank=True, null=True)),
('max_efficiency', models.FloatField(blank=True, null=True)),
('substat_upgrades_remaining', models.IntegerField(blank=True, null=True)),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.DungeonLog')),
],
options={
'abstract': False,
},
bases=(models.Model, bestiary.models.RuneObjectBase),
),
migrations.CreateModel(
name='DungeonSecretDungeonDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('level', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Level')),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.DungeonLog')),
('monster', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Monster')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='FullLog',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('wizard_id', models.BigIntegerField()),
('timestamp', models.DateTimeField(blank=True, null=True)),
('server', models.IntegerField(blank=True, choices=[(0, 'Global'), (1, 'Europe'), (2, 'Asia'), (3, 'Korea'), (4, 'Japan'), (5, 'China')], null=True)),
('command', models.TextField(db_index=True, max_length=150)),
('request', django.contrib.postgres.fields.jsonb.JSONField()),
('response', django.contrib.postgres.fields.jsonb.JSONField()),
('summoner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='herders.Summoner')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='MagicBoxCraft',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('wizard_id', models.BigIntegerField()),
('timestamp', models.DateTimeField(blank=True, null=True)),
('server', models.IntegerField(blank=True, choices=[(0, 'Global'), (1, 'Europe'), (2, 'Asia'), (3, 'Korea'), (4, 'Japan'), (5, 'China')], null=True)),
('box_type', models.IntegerField(choices=[(0, 'Unknown Magic Box'), (1, 'Mystical Magic Box'), (2, 'Legendary Magic Box')])),
('summoner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='herders.Summoner')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='MagicBoxCraftItemDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.IntegerField()),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.GameItem')),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.MagicBoxCraft')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='MagicBoxCraftRuneCraftDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.IntegerField(choices=[(0, 'Grindstone'), (1, 'Enchant Gem'), (2, 'Immemorial Grindstone'), (3, 'Immemorial Gem')])),
('rune', models.IntegerField(blank=True, choices=[(1, 'Energy'), (2, 'Fatal'), (3, 'Blade'), (4, 'Rage'), (5, 'Swift'), (6, 'Focus'), (7, 'Guard'), (8, 'Endure'), (9, 'Violent'), (10, 'Will'), (11, 'Nemesis'), (12, 'Shield'), (13, 'Revenge'), (14, 'Despair'), (15, 'Vampire'), (16, 'Destroy'), (17, 'Fight'), (18, 'Determination'), (19, 'Enhance'), (20, 'Accuracy'), (21, 'Tolerance')], null=True)),
('stat', models.IntegerField(choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')])),
('quality', models.IntegerField(choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')])),
('value', models.IntegerField(blank=True, null=True)),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.MagicBoxCraft')),
],
options={
'abstract': False,
},
bases=(models.Model, bestiary.models.RuneObjectBase),
),
migrations.CreateModel(
name='MagicBoxCraftRuneDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.IntegerField(choices=[(1, 'Energy'), (2, 'Fatal'), (3, 'Blade'), (4, 'Rage'), (5, 'Swift'), (6, 'Focus'), (7, 'Guard'), (8, 'Endure'), (9, 'Violent'), (10, 'Will'), (11, 'Nemesis'), (12, 'Shield'), (13, 'Revenge'), (14, 'Despair'), (15, 'Vampire'), (16, 'Destroy'), (17, 'Fight'), (18, 'Determination'), (19, 'Enhance'), (20, 'Accuracy'), (21, 'Tolerance')])),
('stars', models.IntegerField()),
('level', models.IntegerField()),
('slot', models.IntegerField()),
('quality', models.IntegerField(choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], default=0)),
('original_quality', models.IntegerField(blank=True, choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], null=True)),
('value', models.IntegerField(blank=True, null=True)),
('main_stat', models.IntegerField(choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')])),
('main_stat_value', models.IntegerField()),
('innate_stat', models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True)),
('innate_stat_value', models.IntegerField(blank=True, null=True)),
('substats', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True), default=list, size=4)),
('substat_values', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, null=True), default=list, size=4)),
('has_hp', models.BooleanField(default=False)),
('has_atk', models.BooleanField(default=False)),
('has_def', models.BooleanField(default=False)),
('has_crit_rate', models.BooleanField(default=False)),
('has_crit_dmg', models.BooleanField(default=False)),
('has_speed', models.BooleanField(default=False)),
('has_resist', models.BooleanField(default=False)),
('has_accuracy', models.BooleanField(default=False)),
('efficiency', models.FloatField(blank=True, null=True)),
('max_efficiency', models.FloatField(blank=True, null=True)),
('substat_upgrades_remaining', models.IntegerField(blank=True, null=True)),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.MagicBoxCraft')),
],
options={
'abstract': False,
},
bases=(models.Model, bestiary.models.RuneObjectBase),
),
migrations.CreateModel(
name='RiftDungeonItemDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.IntegerField()),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.GameItem')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='RiftDungeonLog',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('wizard_id', models.BigIntegerField()),
('timestamp', models.DateTimeField(blank=True, null=True)),
('server', models.IntegerField(blank=True, choices=[(0, 'Global'), (1, 'Europe'), (2, 'Asia'), (3, 'Korea'), (4, 'Japan'), (5, 'China')], null=True)),
('grade', models.IntegerField(choices=[(1, 'F'), (2, 'D'), (3, 'C'), (4, 'B-'), (5, 'B'), (6, 'B+'), (7, 'A-'), (8, 'A'), (9, 'A+'), (10, 'S'), (11, 'SS'), (12, 'SSS')])),
('total_damage', models.IntegerField()),
('success', models.BooleanField()),
('level', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Level')),
('summoner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='herders.Summoner')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='RiftDungeonMonsterDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('grade', models.IntegerField()),
('level', models.IntegerField()),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.RiftDungeonLog')),
('monster', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Monster')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='RiftDungeonRuneCraftDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.IntegerField(choices=[(0, 'Grindstone'), (1, 'Enchant Gem'), (2, 'Immemorial Grindstone'), (3, 'Immemorial Gem')])),
('rune', models.IntegerField(blank=True, choices=[(1, 'Energy'), (2, 'Fatal'), (3, 'Blade'), (4, 'Rage'), (5, 'Swift'), (6, 'Focus'), (7, 'Guard'), (8, 'Endure'), (9, 'Violent'), (10, 'Will'), (11, 'Nemesis'), (12, 'Shield'), (13, 'Revenge'), (14, 'Despair'), (15, 'Vampire'), (16, 'Destroy'), (17, 'Fight'), (18, 'Determination'), (19, 'Enhance'), (20, 'Accuracy'), (21, 'Tolerance')], null=True)),
('stat', models.IntegerField(choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')])),
('quality', models.IntegerField(choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')])),
('value', models.IntegerField(blank=True, null=True)),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.RiftDungeonLog')),
],
options={
'abstract': False,
},
bases=(models.Model, bestiary.models.RuneObjectBase),
),
migrations.CreateModel(
name='RiftDungeonRuneDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.IntegerField(choices=[(1, 'Energy'), (2, 'Fatal'), (3, 'Blade'), (4, 'Rage'), (5, 'Swift'), (6, 'Focus'), (7, 'Guard'), (8, 'Endure'), (9, 'Violent'), (10, 'Will'), (11, 'Nemesis'), (12, 'Shield'), (13, 'Revenge'), (14, 'Despair'), (15, 'Vampire'), (16, 'Destroy'), (17, 'Fight'), (18, 'Determination'), (19, 'Enhance'), (20, 'Accuracy'), (21, 'Tolerance')])),
('stars', models.IntegerField()),
('level', models.IntegerField()),
('slot', models.IntegerField()),
('quality', models.IntegerField(choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], default=0)),
('original_quality', models.IntegerField(blank=True, choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], null=True)),
('value', models.IntegerField(blank=True, null=True)),
('main_stat', models.IntegerField(choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')])),
('main_stat_value', models.IntegerField()),
('innate_stat', models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True)),
('innate_stat_value', models.IntegerField(blank=True, null=True)),
('substats', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True), default=list, size=4)),
('substat_values', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, null=True), default=list, size=4)),
('has_hp', models.BooleanField(default=False)),
('has_atk', models.BooleanField(default=False)),
('has_def', models.BooleanField(default=False)),
('has_crit_rate', models.BooleanField(default=False)),
('has_crit_dmg', models.BooleanField(default=False)),
('has_speed', models.BooleanField(default=False)),
('has_resist', models.BooleanField(default=False)),
('has_accuracy', models.BooleanField(default=False)),
('efficiency', models.FloatField(blank=True, null=True)),
('max_efficiency', models.FloatField(blank=True, null=True)),
('substat_upgrades_remaining', models.IntegerField(blank=True, null=True)),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.RiftDungeonLog')),
],
options={
'abstract': False,
},
bases=(models.Model, bestiary.models.RuneObjectBase),
),
migrations.CreateModel(
name='RiftRaidItemDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.IntegerField()),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.GameItem')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='RiftRaidLog',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('wizard_id', models.BigIntegerField()),
('timestamp', models.DateTimeField(blank=True, null=True)),
('server', models.IntegerField(blank=True, choices=[(0, 'Global'), (1, 'Europe'), (2, 'Asia'), (3, 'Korea'), (4, 'Japan'), (5, 'China')], null=True)),
('battle_key', models.BigIntegerField(blank=True, db_index=True, null=True)),
('success', models.NullBooleanField(help_text='Null indicates that run was not completed')),
('contribution_amount', models.IntegerField(blank=True, null=True)),
('level', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Level')),
('summoner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='herders.Summoner')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='RiftRaidMonsterDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.IntegerField()),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.GameItem')),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.RiftRaidLog')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='RiftRaidRuneCraftDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.IntegerField()),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.GameItem')),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.RiftRaidLog')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='ShopRefreshItemDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.IntegerField()),
('cost', models.IntegerField()),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.GameItem')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='ShopRefreshLog',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('wizard_id', models.BigIntegerField()),
('timestamp', models.DateTimeField(blank=True, null=True)),
('server', models.IntegerField(blank=True, choices=[(0, 'Global'), (1, 'Europe'), (2, 'Asia'), (3, 'Korea'), (4, 'Japan'), (5, 'China')], null=True)),
('slots_available', models.IntegerField(blank=True, null=True)),
('summoner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='herders.Summoner')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='ShopRefreshMonsterDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('grade', models.IntegerField()),
('level', models.IntegerField()),
('cost', models.IntegerField()),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.ShopRefreshLog')),
('monster', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Monster')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='ShopRefreshRuneDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.IntegerField(choices=[(1, 'Energy'), (2, 'Fatal'), (3, 'Blade'), (4, 'Rage'), (5, 'Swift'), (6, 'Focus'), (7, 'Guard'), (8, 'Endure'), (9, 'Violent'), (10, 'Will'), (11, 'Nemesis'), (12, 'Shield'), (13, 'Revenge'), (14, 'Despair'), (15, 'Vampire'), (16, 'Destroy'), (17, 'Fight'), (18, 'Determination'), (19, 'Enhance'), (20, 'Accuracy'), (21, 'Tolerance')])),
('stars', models.IntegerField()),
('level', models.IntegerField()),
('slot', models.IntegerField()),
('quality', models.IntegerField(choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], default=0)),
('original_quality', models.IntegerField(blank=True, choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], null=True)),
('value', models.IntegerField(blank=True, null=True)),
('main_stat', models.IntegerField(choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')])),
('main_stat_value', models.IntegerField()),
('innate_stat', models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True)),
('innate_stat_value', models.IntegerField(blank=True, null=True)),
('substats', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True), default=list, size=4)),
('substat_values', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, null=True), default=list, size=4)),
('has_hp', models.BooleanField(default=False)),
('has_atk', models.BooleanField(default=False)),
('has_def', models.BooleanField(default=False)),
('has_crit_rate', models.BooleanField(default=False)),
('has_crit_dmg', models.BooleanField(default=False)),
('has_speed', models.BooleanField(default=False)),
('has_resist', models.BooleanField(default=False)),
('has_accuracy', models.BooleanField(default=False)),
('efficiency', models.FloatField(blank=True, null=True)),
('max_efficiency', models.FloatField(blank=True, null=True)),
('substat_upgrades_remaining', models.IntegerField(blank=True, null=True)),
('cost', models.IntegerField()),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.ShopRefreshLog')),
],
options={
'abstract': False,
},
bases=(models.Model, bestiary.models.RuneObjectBase),
),
migrations.CreateModel(
name='SummonLog',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('wizard_id', models.BigIntegerField()),
('timestamp', models.DateTimeField(blank=True, null=True)),
('server', models.IntegerField(blank=True, choices=[(0, 'Global'), (1, 'Europe'), (2, 'Asia'), (3, 'Korea'), (4, 'Japan'), (5, 'China')], null=True)),
('grade', models.IntegerField()),
('level', models.IntegerField()),
('item', models.ForeignKey(help_text='Item or currency used to summon', on_delete=django.db.models.deletion.CASCADE, to='bestiary.GameItem')),
('monster', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Monster')),
('summoner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='herders.Summoner')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='WishLog',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('wizard_id', models.BigIntegerField()),
('timestamp', models.DateTimeField(blank=True, null=True)),
('server', models.IntegerField(blank=True, choices=[(0, 'Global'), (1, 'Europe'), (2, 'Asia'), (3, 'Korea'), (4, 'Japan'), (5, 'China')], null=True)),
('wish_id', models.IntegerField()),
('wish_sequence', models.IntegerField()),
('crystal_used', models.BooleanField()),
('summoner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='herders.Summoner')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='WishLogItemDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.IntegerField()),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.GameItem')),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.WishLog')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='WishLogMonsterDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('grade', models.IntegerField()),
('level', models.IntegerField()),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.WishLog')),
('monster', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Monster')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='WishLogRuneDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.IntegerField(choices=[(1, 'Energy'), (2, 'Fatal'), (3, 'Blade'), (4, 'Rage'), (5, 'Swift'), (6, 'Focus'), (7, 'Guard'), (8, 'Endure'), (9, 'Violent'), (10, 'Will'), (11, 'Nemesis'), (12, 'Shield'), (13, 'Revenge'), (14, 'Despair'), (15, 'Vampire'), (16, 'Destroy'), (17, 'Fight'), (18, 'Determination'), (19, 'Enhance'), (20, 'Accuracy'), (21, 'Tolerance')])),
('stars', models.IntegerField()),
('level', models.IntegerField()),
('slot', models.IntegerField()),
('quality', models.IntegerField(choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], default=0)),
('original_quality', models.IntegerField(blank=True, choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], null=True)),
('value', models.IntegerField(blank=True, null=True)),
('main_stat', models.IntegerField(choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')])),
('main_stat_value', models.IntegerField()),
('innate_stat', models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True)),
('innate_stat_value', models.IntegerField(blank=True, null=True)),
('substats', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True), default=list, size=4)),
('substat_values', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, null=True), default=list, size=4)),
('has_hp', models.BooleanField(default=False)),
('has_atk', models.BooleanField(default=False)),
('has_def', models.BooleanField(default=False)),
('has_crit_rate', models.BooleanField(default=False)),
('has_crit_dmg', models.BooleanField(default=False)),
('has_speed', models.BooleanField(default=False)),
('has_resist', models.BooleanField(default=False)),
('has_accuracy', models.BooleanField(default=False)),
('efficiency', models.FloatField(blank=True, null=True)),
('max_efficiency', models.FloatField(blank=True, null=True)),
('substat_upgrades_remaining', models.IntegerField(blank=True, null=True)),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.WishLog')),
],
options={
'abstract': False,
},
bases=(models.Model, bestiary.models.RuneObjectBase),
),
migrations.CreateModel(
name='WorldBossLog',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('wizard_id', models.BigIntegerField()),
('timestamp', models.DateTimeField(blank=True, null=True)),
('server', models.IntegerField(blank=True, choices=[(0, 'Global'), (1, 'Europe'), (2, 'Asia'), (3, 'Korea'), (4, 'Japan'), (5, 'China')], null=True)),
('battle_key', models.BigIntegerField(blank=True, null=True)),
('grade', models.IntegerField(choices=[(1, 'F'), (2, 'D'), (3, 'C'), (4, 'B-'), (5, 'B'), (6, 'B+'), (7, 'A-'), (8, 'A'), (9, 'A+'), (10, 'S'), (11, 'SS'), (12, 'SSS')])),
('damage', models.IntegerField()),
('battle_points', models.IntegerField()),
('bonus_battle_points', models.IntegerField()),
('avg_monster_level', models.FloatField()),
('monster_count', models.IntegerField()),
('summoner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='herders.Summoner')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='WorldBossLogItemDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.IntegerField()),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.GameItem')),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.WorldBossLog')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='WorldBossLogMonsterDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('grade', models.IntegerField()),
('level', models.IntegerField()),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.WorldBossLog')),
('monster', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bestiary.Monster')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='WorldBossLogRuneDrop',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.IntegerField(choices=[(1, 'Energy'), (2, 'Fatal'), (3, 'Blade'), (4, 'Rage'), (5, 'Swift'), (6, 'Focus'), (7, 'Guard'), (8, 'Endure'), (9, 'Violent'), (10, 'Will'), (11, 'Nemesis'), (12, 'Shield'), (13, 'Revenge'), (14, 'Despair'), (15, 'Vampire'), (16, 'Destroy'), (17, 'Fight'), (18, 'Determination'), (19, 'Enhance'), (20, 'Accuracy'), (21, 'Tolerance')])),
('stars', models.IntegerField()),
('level', models.IntegerField()),
('slot', models.IntegerField()),
('quality', models.IntegerField(choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], default=0)),
('original_quality', models.IntegerField(blank=True, choices=[(0, 'Normal'), (1, 'Magic'), (2, 'Rare'), (3, 'Hero'), (4, 'Legend')], null=True)),
('value', models.IntegerField(blank=True, null=True)),
('main_stat', models.IntegerField(choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')])),
('main_stat_value', models.IntegerField()),
('innate_stat', models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True)),
('innate_stat_value', models.IntegerField(blank=True, null=True)),
('substats', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, choices=[(1, 'HP'), (2, 'HP %'), (3, 'ATK'), (4, 'ATK %'), (5, 'DEF'), (6, 'DEF %'), (7, 'SPD'), (8, 'CRI Rate %'), (9, 'CRI Dmg %'), (10, 'Resistance %'), (11, 'Accuracy %')], null=True), default=list, size=4)),
('substat_values', django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(blank=True, null=True), default=list, size=4)),
('has_hp', models.BooleanField(default=False)),
('has_atk', models.BooleanField(default=False)),
('has_def', models.BooleanField(default=False)),
('has_crit_rate', models.BooleanField(default=False)),
('has_crit_dmg', models.BooleanField(default=False)),
('has_speed', models.BooleanField(default=False)),
('has_resist', models.BooleanField(default=False)),
('has_accuracy', models.BooleanField(default=False)),
('efficiency', models.FloatField(blank=True, null=True)),
('max_efficiency', models.FloatField(blank=True, null=True)),
('substat_upgrades_remaining', models.IntegerField(blank=True, null=True)),
('log', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.WorldBossLog')),
],
options={
'abstract': False,
},
bases=(models.Model, bestiary.models.RuneObjectBase),
),
migrations.AddField(
model_name='shoprefreshitemdrop',
name='log',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.ShopRefreshLog'),
),
migrations.AddField(
model_name='riftraiditemdrop',
name='log',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.RiftRaidLog'),
),
migrations.AddField(
model_name='riftdungeonitemdrop',
name='log',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.RiftDungeonLog'),
),
migrations.AddField(
model_name='dungeonitemdrop',
name='log',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data_log.DungeonLog'),
),
]
| 69.998498 | 415 | 0.543941 | 4,696 | 46,619 | 5.315162 | 0.05494 | 0.1125 | 0.033654 | 0.046314 | 0.93774 | 0.932732 | 0.923397 | 0.923397 | 0.923397 | 0.923397 | 0 | 0.024451 | 0.253437 | 46,619 | 665 | 416 | 70.103759 | 0.692708 | 0.000965 | 0 | 0.834347 | 1 | 0 | 0.18436 | 0.015997 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007599 | 0 | 0.013678 | 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 |
61c44aa819181db239739a8818b078baa25cfffc | 128 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_0/_pkg0_1_0_1/_pkg0_1_0_1_0/_mod0_1_0_1_0_2.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_0/_pkg0_1_0_1/_pkg0_1_0_1_0/_mod0_1_0_1_0_2.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_0/_pkg0_1_0_1/_pkg0_1_0_1_0/_mod0_1_0_1_0_2.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | name0_1_0_1_0_2_0 = None
name0_1_0_1_0_2_1 = None
name0_1_0_1_0_2_2 = None
name0_1_0_1_0_2_3 = None
name0_1_0_1_0_2_4 = None | 14.222222 | 24 | 0.820313 | 40 | 128 | 1.875 | 0.175 | 0.266667 | 0.466667 | 0.533333 | 0.88 | 0.88 | 0.746667 | 0 | 0 | 0 | 0 | 0.318182 | 0.140625 | 128 | 9 | 25 | 14.222222 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f651ade844492e0181d6b5c61b66557960766646 | 187 | py | Python | tests/test_helpers.py | ZaiusDR/hack_assembler | 553e576c148815e5551ab05a59456824820f69f5 | [
"MIT"
] | null | null | null | tests/test_helpers.py | ZaiusDR/hack_assembler | 553e576c148815e5551ab05a59456824820f69f5 | [
"MIT"
] | null | null | null | tests/test_helpers.py | ZaiusDR/hack_assembler | 553e576c148815e5551ab05a59456824820f69f5 | [
"MIT"
] | null | null | null | from hackassembler import helpers
def test_symbol_to_binary():
assert helpers.symbol_to_binary('1', 4) == '0001'
assert helpers.symbol_to_binary('512', 15) == '000001000000000'
| 26.714286 | 67 | 0.737968 | 25 | 187 | 5.24 | 0.64 | 0.183206 | 0.320611 | 0.320611 | 0.412214 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161491 | 0.139037 | 187 | 6 | 68 | 31.166667 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.122995 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
14bbff6155c56541bd42247b82506fc6aae3796d | 153 | py | Python | maha/cleaners/functions/__init__.py | TRoboto/Maha | f229adbb1dcccb6bf8f84852723d24f97d511b24 | [
"BSD-3-Clause"
] | 152 | 2021-09-18T08:18:47.000Z | 2022-03-14T13:23:17.000Z | maha/cleaners/functions/__init__.py | TRoboto/Maha | f229adbb1dcccb6bf8f84852723d24f97d511b24 | [
"BSD-3-Clause"
] | 65 | 2021-09-20T06:00:41.000Z | 2022-03-20T22:44:39.000Z | maha/cleaners/functions/__init__.py | TRoboto/Maha | f229adbb1dcccb6bf8f84852723d24f97d511b24 | [
"BSD-3-Clause"
] | 10 | 2021-09-18T11:56:57.000Z | 2021-11-20T09:05:16.000Z | from .contains_fn import *
from .keep_fn import *
from .normalize_fn import *
from .num2text import *
from .remove_fn import *
from .replace_fn import *
| 21.857143 | 27 | 0.764706 | 23 | 153 | 4.869565 | 0.391304 | 0.357143 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.156863 | 153 | 6 | 28 | 25.5 | 0.860465 | 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 |
1ad3a8536015b361cad91db9015a2a6e6970d854 | 380,351 | pyt | Python | eran/NNet/nnet/ACASXU_run2a_4_8_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_4_8_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_4_8_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.00829324, 0.0758911, 1.0901, -0.0613971, 0.139144], [0.00396764, -0.00603799, -0.0158349, -0.00271539, 0.0198414], [0.0728147, -1.61585, -0.568863, 0.0781948, -0.11547], [0.0212134, 1.2955, -1.20169, 0.195764, -0.409182], [-0.0218617, 0.150838, 0.328868, 0.295793, -0.313471], [0.593131, 0.706921, -0.380172, -0.419531, 0.403703], [0.0262897, -1.3049, -0.133777, 0.864748, -1.14451], [0.0106831, 0.00874522, -0.00685118, -0.00141094, 0.0097991], [-0.00982301, -0.23162, -0.55795, -0.163597, -0.291302], [-0.0647027, 0.736471, -0.968676, -0.0858166, 0.243599], [-0.071417, 0.902527, -0.916699, 0.191529, -0.314484], [0.0837787, 1.14819, -0.977122, 0.100582, 0.0121707], [-0.0497111, -1.7561, 2.27006, -0.120816, 0.695928], [-0.0135399, 0.0537442, 0.0576323, -0.249126, -0.251495], [-0.0696261, 0.590867, -0.163765, 0.712296, -0.679007], [-0.00632575, -0.719222, 0.962275, 0.349697, -0.697918], [0.0103149, -0.212252, 0.0352816, 0.428557, -0.54784], [1.66567, 0.00899672, 0.0322268, 0.0113816, 0.0173763], [-0.203701, -1.48345, 1.78183, -0.115577, 0.73806], [-0.0131038, 0.00084785, 0.00474193, -0.00224527, -0.017248], [0.0132767, 0.660647, 0.548827, 0.201329, -0.0573264], [-0.0395388, 0.99148, 0.00245109, 0.0174047, -0.565199], [0.291264, -1.19693, 1.4453, 0.186155, -0.273907], [-0.0204778, 0.819032, 0.0602648, -0.312808, 0.108849], [-0.01639, -0.375357, -0.0057732, -0.334948, 0.368757], [2.75246e-05, -0.884127, 1.15891, -0.099744, 0.258551], [-2.28575, 0.060473, 0.00480499, 0.0188921, -0.0105552], [-0.0177606, -0.832506, -0.668965, 0.351162, -0.22149], [0.0120423, 0.60801, 1.03194, 0.587559, -0.28256], [-0.00256811, 0.00147983, -0.00438389, -0.0163552, 0.0126617], [0.0447805, 1.15011, 0.459801, 1.10663, -1.2693], [0.0465412, 0.997997, -0.91932, 0.10195, 0.0679117], [0.0712158, -1.0785, 0.331102, 0.45658, -0.515841], [0.00658657, 0.0156375, -0.684806, -0.838382, 0.912619], [-0.17275, -2.83946, 2.51415, 0.411016, -0.607125], [-0.437097, 1.50452, -1.88503, 0.0810919, 0.065004], [-0.00439278, 0.185484, 0.689507, 0.114482, -0.146363], [0.0542442, -1.16305, -0.197875, 0.0991307, 0.041028], [-0.0085303, -0.00725187, 0.00493159, -0.00122361, -4.05233e-05], [0.185859, 0.217475, 0.25679, 0.167489, 0.113383], [-0.187339, -1.2067, 1.19981, 0.275473, -0.485277], [-0.172953, -0.450206, -0.249917, -0.36258, 0.165614], [-0.0544742, -0.610229, 0.335173, 0.496972, -0.501425], [0.0932596, 0.557098, 0.300486, 0.145641, 0.0794143], [0.0293607, -0.0461246, -0.0524675, 0.223131, 0.262128], [0.0366902, 0.100727, -0.0356849, -0.0424115, -1.88689], [0.0184099, 1.85203, 0.131607, 0.159487, -0.308719], [-0.00222335, -0.000509495, -0.00574678, -0.00458324, 0.0263974], [0.0048329, -0.977379, -0.902855, 0.525919, -0.234796], [0.128191, -1.35333, 1.04768, 0.0738357, 0.144157], [0.00829, 0.07587, 1.09, -0.0614, 0.1392], [0.003967, -0.00604, -0.01584, -0.002716, 0.01984], [0.0728, -1.616, -0.569, 0.0782, -0.1155], [0.02121, 1.296, -1.202, 0.1958, -0.4092], [-0.02187, 0.1509, 0.3289, 0.296, -0.3135], [0.5933, 0.707, -0.3801, -0.4194, 0.4038], [0.02629, -1.305, -0.1338, 0.8647, -1.145], [0.01068, 0.00874, -0.00685, -0.0014105, 0.009796], [-0.00983, -0.2316, -0.558, -0.1636, -0.2913], [-0.0647, 0.7363, -0.9688, -0.0858, 0.2437], [-0.0714, 0.9023, -0.9165, 0.1915, -0.3145], [0.0838, 1.148, -0.977, 0.1006, 0.01217], [-0.0497, -1.756, 2.27, -0.1208, 0.696], [-0.01354, 0.05374, 0.05762, -0.2491, -0.2515], [-0.06964, 0.591, -0.1638, 0.7124, -0.679], [-0.006325, -0.719, 0.9624, 0.3496, -0.6978], [0.010315, -0.2123, 0.03528, 0.4285, -0.548], [1.666, 0.008995, 0.03223, 0.01138, 0.01738], [-0.2037, -1.483, 1.782, -0.1156, 0.7383], [-0.01311, 0.000848, 0.00474, -0.002245, -0.01724], [0.013275, 0.6606, 0.549, 0.2013, -0.0573], [-0.03955, 0.9917, 0.00245, 0.01741, -0.5654], [0.2913, -1.197, 1.445, 0.1862, -0.274], [-0.02048, 0.819, 0.06027, -0.3127, 0.1088], [-0.01639, -0.3752, -0.00577, -0.335, 0.3687], [2.754e-05, -0.8843, 1.159, -0.09973, 0.2585], [-2.285, 0.0605, 0.004807, 0.01889, -0.01055], [-0.01776, -0.8325, -0.669, 0.351, -0.2214], [0.01204, 0.608, 1.032, 0.5874, -0.2825], [-0.002567, 0.00148, -0.004383, -0.01636, 0.012665], [0.04477, 1.15, 0.4597, 1.106, -1.27], [0.04654, 0.998, -0.9194, 0.1019, 0.06793], [0.0712, -1.078, 0.331, 0.4565, -0.5156], [0.006588, 0.01564, -0.6846, -0.8384, 0.9126], [-0.1727, -2.84, 2.514, 0.4111, -0.607], [-0.437, 1.505, -1.885, 0.0811, 0.065], [-0.004395, 0.1854, 0.6895, 0.1145, -0.1464], [0.05423, -1.163, -0.1979, 0.0991, 0.04102], [-0.00853, -0.00725, 0.004932, -0.001224, -4.053e-05], [0.1859, 0.2175, 0.2568, 0.1675, 0.1134], [-0.1874, -1.207, 1.2, 0.2754, -0.4854], [-0.173, -0.4502, -0.2499, -0.3625, 0.1656], [-0.05447, -0.6104, 0.3352, 0.497, -0.5015], [0.09326, 0.557, 0.3005, 0.1456, 0.0794], [0.02936, -0.0461, -0.05246, 0.2231, 0.2622], [0.03668, 0.1007, -0.03568, -0.04242, -1.887], [0.01842, 1.852, 0.1316, 0.1595, -0.3088], [-0.002224, -0.0005093, -0.005745, -0.00458, 0.0264], [0.004833, -0.9775, -0.903, 0.526, -0.2347], [0.1282, -1.354, 1.048, 0.07385, 0.1442]]
[0.0745409, -0.0249796, -0.324056, -0.339927, -0.0328904, -0.0569042, -0.149212, -0.0207025, 0.0493175, -0.384913, 0.0246954, -0.295883, -0.680983, 0.035072, 0.16449, 0.194841, 0.0170921, 0.491026, -0.301109, -0.0172196, -0.164345, -0.162963, -0.442971, -0.21303, 0.0808348, -0.473387, -0.337003, -0.177063, -0.0713056, -0.0202568, -0.156034, -0.364896, -0.165106, -0.283507, -0.59128, -0.194006, -0.0171162, 0.19256, -0.0164376, -0.143979, 0.0600918, -0.247862, 0.0561128, 0.0114293, -0.0274694, -0.72131, -0.0866128, -0.0230321, -0.0558469, -0.358583, 0.0745, -0.02498, -0.324, -0.3398, -0.0329, -0.05692, -0.1492, -0.0207, 0.04932, -0.385, 0.02469, -0.296, -0.681, 0.03506, 0.1646, 0.1948, 0.01709, 0.491, -0.301, -0.01723, -0.1643, -0.163, -0.4429, -0.213, 0.0808, -0.4734, -0.337, -0.1771, -0.0713, -0.02026, -0.156, -0.365, -0.1652, -0.2834, -0.5913, -0.194, -0.01712, 0.1925, -0.01643, -0.1439, 0.0601, -0.2478, 0.05612, 0.01143, -0.02747, -0.721, -0.0866, -0.02303, -0.05585, -0.3586]
ReLU
[[-0.0816915, 0.0400886, -0.0365042, 0.0382261, -0.0302129, -0.0204293, -0.0260354, -0.038766, 0.0112373, -0.0105633, -0.0515873, -0.0481817, 0.0356585, -0.0159101, -0.0277207, 0.0233773, -0.00781206, 0.0119064, 0.00803135, -0.021578, -0.0380959, -0.0278194, 0.0146061, -0.0185027, -0.0411942, 0.00746117, -0.0183348, 0.027737, -0.036686, 0.0242343, -0.023531, 0.0153052, -0.0580085, -0.0341923, 0.0292857, 0.0312486, -0.0228937, -6.17439e-06, -0.0432635, 0.00912989, -0.0902539, -0.0532707, -0.00137042, 0.0112003, -0.0332354, -0.022103, 0.0155614, -0.00787501, -0.0763306, -0.0445742, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.43492, -0.00513374, -0.715121, 0.847847, -1.29475, -0.592295, 1.20018, 0.0502303, 0.419292, 0.44656, 0.0883393, -0.634093, -2.22399, 0.107555, -0.115034, -1.45254, -0.32796, 0.31357, -3.21418, 0.0400215, 1.87359, 0.411434, 6.07526, -1.48591, 1.37424, -6.50154, 0.332822, -0.351637, 1.07787, -1.52124e-05, 0.366776, -1.4706, -1.22684, 0.699557, -10.9948, -1.68904, -1.09865, -2.75562, 0.014393, 0.777587, -2.90447, -1.4298, -3.43353, 1.3888, -1.72263, -1.82343, 0.536225, -0.0344573, 0.178013, -1.51065, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.64304, -0.0117656, 1.24965, -0.355098, 1.17238, 0.456904, 0.176314, -0.0173553, -0.702198, 0.124155, -1.26172, 1.48033, 0.246611, -0.0547259, -0.130116, 0.0509654, 0.61489, -0.148829, -0.0723204, -0.0383968, -0.158439, -0.302593, -0.12551, 1.58657, 0.403193, -0.891196, -0.0775291, 0.476624, -0.210011, 0.0123246, -0.0714011, -0.0777256, -0.882381, -0.682213, -0.150836, -0.562103, 1.36248, 1.5064, -0.032779, -0.0358619, -0.335987, -2.72846, 0.218524, 0.651856, -0.568717, -2.62347, 0.258875, -0.0232631, -0.66957, -0.749483, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-12.1297, -0.0403155, 1.41606, -2.11367, -2.36829, -0.0833543, 1.21018, -0.00909836, 0.76027, -2.13507, -0.663452, -2.78428, 1.04417, -1.24845, -0.090076, -1.66659, 0.72882, 0.0710352, -1.88698, 0.00218183, 0.00864727, -2.16967, -3.73098, -2.98028, 1.26601, 1.16689, -1.269, 0.53748, -0.22247, 0.0432051, -2.31006, -4.1115, 1.57616, -0.331894, -2.12659, -1.0221, -3.61521, 1.6923, 0.00211185, -0.0586069, -1.15423, -1.72344, 0.0645003, -0.782368, -0.55501, -2.87912, -2.94239, -0.0372772, 1.95537, -1.42267, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0238472, 0.0478674, 0.440023, -0.888166, -0.923932, 0.0651622, -0.0210758, -0.053438, -0.34665, 1.44726, 0.15457, -1.16986, 0.185266, -0.628031, 0.217456, -0.324458, -0.248398, 0.133879, 0.282391, 0.0171641, 0.108201, 0.584705, -0.693318, -1.34681, -1.3378, 0.48805, 1.6255, -0.0447285, -0.337429, 0.0233096, -0.0937234, -0.523425, 0.0318436, -0.0921406, 0.260046, 0.17405, 0.278705, -0.144913, 0.022547, -0.442662, 0.0853636, 0.761598, 0.535984, 0.870945, 1.19505, -2.65573, 0.825653, 0.0199195, 0.250008, 0.107242, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.451312, 0.0510139, 0.0874635, 1.05554, -1.9452, 0.378468, 0.517131, 0.00631034, -0.463871, 0.501901, -0.273924, 2.39353, 0.457187, 0.312683, -0.176649, -0.8331, -0.958935, -0.357658, -0.168625, -0.00981016, -1.51932, -0.365085, 1.11253, 0.482711, 0.216595, 0.632276, -0.802976, -0.599753, -0.206234, 0.0261242, -0.731187, 2.6932, 0.960812, -0.314998, 0.653, -0.175141, -2.71727, 0.17647, -0.0224357, -0.292558, -0.120071, -0.88864, -0.868427, -0.159784, -1.2617, -4.46453, -0.539485, -0.00166416, -0.42342, 1.01134, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.6971, 0.0178386, -2.39462, 1.53558, 1.11621, -0.773712, -1.17073, -0.0305077, -0.445871, 0.71933, -0.229773, -0.904028, -1.42712, -0.766799, -0.261225, -0.147422, 0.383094, 0.299553, -0.0296257, 0.04731, 0.77969, 0.731127, -0.686208, -2.93703, 1.00784, -1.93443, -0.983068, -0.87956, 0.530402, -0.035099, 0.979835, 0.228277, -1.73043, 0.496596, -1.15654, -0.11298, 2.08291, -0.802176, 0.0120208, 0.0814739, -1.71774, 0.598604, -0.450555, 0.348965, 0.376054, -0.46985, 0.520474, -0.00834165, -0.45351, -1.89742, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.16599, 0.000970933, 0.279661, -0.11128, -0.142978, 0.349731, 0.138823, -0.0374245, 0.710118, -0.413111, 0.626684, -0.934263, -0.540907, 1.05573, -0.138708, 0.18564, -2.74675, -0.352494, 0.757677, 0.0150329, 0.274431, 0.648149, 0.201842, 1.21261, 0.911764, -0.114774, 0.264635, 0.471706, -0.588667, 0.0347851, -0.172986, -1.90808, -0.00981503, 0.367291, -0.173109, 0.198375, 1.81535, 0.163381, -0.00274743, -0.468136, 0.493457, 1.03443, 0.304256, 0.824376, 0.670772, -0.388276, 0.735545, -0.00443435, 0.317677, -0.622659, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0369813, 0.00790475, -0.0101323, 0.0121146, -0.0382082, -0.0273413, -0.0521201, -0.0143506, -0.0573899, -0.0403279, -0.0170003, 0.00352577, -0.0132653, -0.0157836, 0.0319825, -0.0329832, -0.0338019, -0.0321096, -0.0223814, -0.041118, 0.00752738, -0.0187077, 0.0117692, 0.00420267, -0.0151119, -0.0355323, -0.0428212, -0.0209878, -0.0416685, 0.0043386, 0.0379602, -0.0503667, 0.00918647, -0.0270491, 0.0181805, -0.00474414, -0.0440081, 0.00841384, 0.0114843, -0.038354, -0.049696, 0.0373241, -0.0204661, 0.00341254, 0.0435052, -0.00544535, -0.00678819, 0.0131972, -0.00941766, -0.0281827, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.940682, 0.0351041, 0.380722, 0.502597, 1.45125, 0.581081, -0.581673, 0.0163375, 0.0435883, -0.173868, -0.322581, -0.13821, -0.245726, 0.545006, -0.659891, 0.318026, 0.902243, 0.25046, 0.129457, -0.00334907, -0.675135, 1.22787, -0.821382, 1.67594, 1.40104, 0.83563, 1.12878, 1.15659, 0.726494, 0.0137716, -0.107244, 0.252029, 0.448191, -1.19179, -0.0304439, 0.603724, 0.871528, -0.706363, 0.0357409, 1.26204, 0.34955, 0.933638, 0.591077, -0.606146, 0.298635, 0.281229, -0.475854, -0.0279978, 0.0916142, -1.42455, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.37477, -0.012545, -0.45276, -0.597142, -0.866414, -0.366952, 1.29576, 0.00662982, 0.953494, -3.72587, -0.507498, -0.374227, 0.641226, 0.707413, -0.684191, 0.259211, 0.81112, 0.01357, -0.0431374, -0.0027043, -1.84569, -3.93506, 0.991273, 0.683219, -0.928136, 1.42632, -1.29098, -0.188523, -0.450309, -0.0458091, -0.54936, -2.19983, 0.603393, -0.968181, 0.696043, 0.32037, -0.411325, 0.826906, 0.0149919, -0.396254, 0.480431, -2.23813, 0.441865, -0.922118, 0.157547, 1.65703, -2.33815, 0.026135, 0.175717, 1.48834, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.879716, -0.00152826, -0.99429, 0.54609, 1.51109, -0.552246, 0.815562, -0.0312774, 1.38346, 0.737214, -0.339576, 1.45959, -0.476203, 0.895231, -1.19743, 0.699892, 1.30736, -0.0617741, 0.799775, -0.0406883, -0.660732, 1.55277, -0.839839, 2.44545, 0.331879, -0.47535, 0.573983, 0.660869, 0.376294, -0.0074391, -0.216786, 1.72866, -0.869055, -0.50943, -0.598403, -0.421955, 1.23896, 0.842324, 0.0341657, -0.0146797, 0.595275, -0.248316, 0.139735, -1.26298, 0.424982, 2.97461, -0.453933, 0.0329751, 0.529613, -0.396143, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.300012, 0.0329408, -0.807974, 0.700004, -2.74797, 0.204386, -0.458142, -0.029692, 0.574731, -0.989461, -0.528052, -0.0513366, -0.973595, 0.20362, 0.900018, -0.244294, -0.229147, -0.278168, -0.208701, 0.00853311, 0.556689, 0.715745, 1.05197, -0.455609, -0.837228, 1.61125, -0.217714, -0.376319, 1.2134, -0.038587, -0.00796946, 0.221128, -0.100173, 0.606413, 0.211819, -1.08757, -1.27549, 0.635961, 0.0472756, -0.0599445, -0.851797, -0.488964, 0.180175, 0.577093, 0.525124, -1.19696, -0.22649, 0.0200783, 0.44606, 0.994032, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [2.05325, -0.0373689, 4.19236, 1.41007, 1.45571, 0.00500728, -0.395821, 0.00674065, -0.369642, 2.62607, -0.128212, 0.882952, -1.46486, 0.363315, 0.170526, -0.0909238, -0.38733, 0.135003, 0.0820662, -0.0504246, 1.69363, 2.06637, -1.71142, 0.140659, 1.23198, -2.21166, -0.014604, 1.60733, 0.539229, 0.0139103, 0.232539, 2.65857, -0.242305, -0.319053, -1.06613, -0.245476, 1.7137, -0.291532, -0.0167664, 0.425577, -0.344722, 0.205123, -0.537571, 0.924134, -0.306346, 0.649937, 1.49057, 0.0223553, -1.04408, -1.84166, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.300534, -0.00807179, 0.0950676, 0.306048, -0.195281, -0.234345, 0.203346, 0.0266416, 0.0811899, -0.515158, 0.256385, 0.493531, 0.150891, -0.419683, -0.336658, -0.0543277, 0.0597146, 0.0927915, 0.174625, 0.0259365, 1.52888, 0.0245696, 0.403328, -0.875172, 0.327694, 0.0266812, -0.794787, 0.0836281, -0.391833, -0.0252323, -0.0282752, -0.035486, 0.322607, -0.0190154, -0.159157, -0.109814, 0.370114, -0.0285401, -0.0135562, -0.306636, 0.271039, -2.06708, 0.0145588, -0.173505, 0.621278, 0.990445, 0.899573, -0.00289347, 0.278117, 0.353106, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.811575, -0.00971203, 0.620942, -3.00993, 0.102319, -0.623, -0.189242, 0.0341471, 0.614591, -3.465, -0.872928, -2.00921, -0.39477, 0.631687, 0.934606, -0.190825, -3.36951, 0.165104, 0.358463, 0.0182547, -1.02923, 0.883837, 0.657485, -2.82263, 0.779337, -1.38077, 1.10104, 0.99331, -0.310723, -0.0421253, 0.390861, -0.0947967, 0.851005, 0.0524976, 0.401724, 0.423894, 1.28779, 0.467213, 0.00586105, 0.946702, 0.305354, 0.0901936, -0.857551, -0.699873, -0.643841, 0.270907, -3.71997, 0.0139508, 0.450908, 0.291512, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.536763, 0.031159, 0.728318, 1.39546, -0.541238, -0.93773, 0.7383, 0.0555059, -0.351363, 1.96964, -1.80258, 0.527482, -0.682899, 0.474131, -1.50517, 0.312715, 0.481708, 0.491677, -0.658161, 0.011701, 1.87186, 3.02187, 0.87213, -2.62804, -1.04103, -0.297734, -0.492817, 0.552078, 0.432864, 0.0564016, -0.0173808, 0.586263, 0.587687, 0.523695, -0.562916, -0.967812, 0.0176689, 0.649222, 0.0569528, -0.289023, -0.281947, -2.80125, 0.146996, -1.55691, -0.370369, -0.400942, -2.70723, 0.0259348, -0.147333, -0.433706, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0464599, -0.0079038, 0.243377, 0.258093, 0.00293238, -0.0851088, -0.604785, -0.0266767, -0.0482764, -0.259088, 0.757856, -1.02238, 0.198969, 0.0640844, -0.0483814, 0.0660385, 0.0430807, 0.111776, -0.273306, 0.0513119, -0.571032, 0.583345, -0.0782716, -0.179948, 0.234472, -0.50291, -0.262066, 0.154268, 0.172122, 0.0437059, 0.0141426, -0.875558, 0.623688, -0.52612, 0.285137, -0.548681, -0.0256318, -0.301951, -0.0176992, -0.366627, -0.532482, -1.35938, 0.13568, -0.530571, -0.354857, 0.0506765, 0.325416, -0.00493181, -0.287621, -0.69408, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.54803, -0.0116195, -0.233243, -0.753024, 0.723902, -0.227817, -0.452068, 0.0433856, 1.13044, -0.699128, 0.381108, 0.341289, -0.4159, -0.560613, -0.299207, 0.0413537, -1.82998, 0.513011, -0.0765663, -0.0425481, 1.64932, 1.82147, -0.752159, -0.596777, -0.00965059, 0.37495, -0.297932, 0.465691, 0.769041, -0.0379544, 0.183886, 0.916463, 1.46314, 0.50646, 0.374894, 1.01858, 1.25339, 1.08646, -0.00765549, -0.101651, -0.590263, 1.82842, -0.867371, 0.232478, 0.40183, -4.94723, -0.262036, -0.0509522, 1.47822, 0.172365, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.628053, -0.0407089, 0.691986, 1.31525, 0.244943, -0.622933, -0.368841, 0.0176566, -0.0221794, 0.99271, -0.982266, 0.125902, 0.399257, 0.6218, 0.345202, -0.690375, -1.72366, 0.0301423, 0.0363626, 0.0132654, 0.782159, 1.28544, 1.26212, -2.18739, 0.10101, 0.727801, -0.253704, 0.0311014, 0.117426, -0.0326713, 0.440929, -1.07138, -0.218373, -0.269653, 0.597309, -0.779588, 0.122013, -0.931328, 0.0189941, -0.967093, -0.478583, -0.176234, 0.279432, -0.430352, -0.796506, 0.267377, 0.767202, -0.0363541, -1.20068, 1.60923, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.130877, -0.00127239, -0.0826013, -0.190726, 0.516599, 0.25368, 0.275271, 0.030005, 0.0147348, -0.773813, -0.284732, -1.22561, -0.123864, 0.502854, 0.477939, -0.283831, -0.351537, -0.0249894, -0.0957313, -0.000333735, -0.778694, -1.29163, -0.437392, 0.930863, 0.353148, 0.0433137, -0.116824, 0.163159, -0.116611, -0.0398998, 0.0375638, -8.83371, -0.236638, 0.142012, 0.161726, 0.124134, -0.526533, -0.337052, 0.0239868, 0.778672, 0.193865, -0.345845, -0.116688, 0.10221, -0.906321, -0.618747, -0.622624, 0.0223469, -0.204699, 0.129226, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.472884, 0.00739084, -0.469071, 0.0611287, 0.876013, 0.122209, -0.145028, -0.048118, -0.288575, -0.547429, -0.259075, -0.357409, -2.40852, 0.386794, -0.190352, -0.369062, 0.495622, 0.0395544, -0.557139, 0.034117, 0.403786, 0.197651, -1.84879, 0.439188, 0.774171, -0.949503, -0.0305826, 0.197849, 0.0330659, -0.0485334, -0.50703, -0.413806, 0.224515, -0.181742, -0.193939, 0.458981, -0.53477, 0.0838074, 0.0249303, 0.0778854, -0.326287, -0.143516, 0.509041, 0.33155, -0.193841, -0.56778, 0.261758, -2.39359e-05, 0.524556, 0.0747095, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.488411, -0.0196872, -0.380355, 0.691669, -0.729986, -0.149006, 0.353327, 0.0308976, -0.279961, -0.864264, -0.208055, 1.17872, 0.496262, -0.667007, 0.184159, 0.305074, 0.656293, -0.0103285, 0.118884, -0.0292062, -1.037, 1.07316, 0.250767, -1.84009, -1.65171, 0.858823, 0.0514541, -1.12163, 0.139576, 0.00800404, -0.345537, 0.686373, 0.548325, 0.279926, 0.00534401, -0.0699963, -0.498804, -0.114796, 0.00835969, -0.176232, 0.320554, -0.400013, 0.42627, -0.251326, -0.33921, -0.120242, 0.00920841, 0.0254246, -0.299404, 0.870816, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0198875, -0.00607736, -0.0540284, -0.00632154, 0.0167855, -0.0497077, 0.0258031, -0.0388469, -0.0103947, 0.00545807, 0.0245229, -0.0491167, 0.0194953, -0.0505109, -0.0178583, -0.0567574, -0.057256, -0.0583663, -0.0555436, -0.0537803, 0.0257302, 0.0239676, 0.00867493, -0.00139481, -0.0421969, -0.0486494, -0.0481241, 0.0331244, -0.048697, -0.0137832, 0.0387588, -0.0353854, -0.0086431, -0.00307148, 0.0230106, 0.0283045, 0.0366886, -0.0414259, 0.00452847, 0.0329737, -0.0143493, 0.00592532, -0.0226262, 0.0143783, 0.0360088, 0.00193317, -0.0389581, 0.00738929, 0.0163155, -0.0186373, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0258735, -0.00657013, 0.0190697, -0.0535347, -0.0256464, 0.0767936, -0.0403348, -0.0092416, 0.0312969, -0.00212134, -0.0526688, -0.0500288, 0.036148, -0.0567723, -0.0376744, -0.0575832, 0.00476191, -0.0423419, 0.0156385, -0.0337381, 0.00851986, 0.0485768, 0.0107559, -0.000387027, -0.0237549, 0.0442388, 0.0176307, 0.0409175, 0.0327508, -0.0356599, -0.0124285, -0.0119716, -0.0124079, 0.0307782, -0.0666203, 0.0035078, -0.027973, -0.0101445, 0.0216699, 0.0379985, -0.0649348, 0.0122677, 0.000281339, -0.0122511, -0.0199435, -0.0236011, -0.038602, 0.031113, -0.011599, -0.0190302, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.02294, 0.0556195, -1.6755, -0.868252, -0.761386, 0.0995757, -2.03505, 0.0517958, 0.00498525, -1.80365, -0.988682, -0.0659456, -1.58846, 1.72387, 0.609838, -1.12894, -0.172285, -0.0040633, -2.14474, 0.0357348, 0.411888, -2.19676, -0.882105, 0.843226, 0.218445, -1.36065, 0.389768, 0.757111, -1.16805, -0.0203224, -0.892939, -1.27278, -1.55011, -0.471735, 0.585415, -2.4576, -0.209996, -0.93619, -0.024229, -1.37763, -1.22031, -0.960789, 0.21934, 0.401193, -2.10319, -5.34541, -0.0671449, -0.0204648, 1.22866, 1.71015, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.726602, 0.0303578, 0.352617, -0.330851, -0.393763, -0.324131, -0.0599508, 0.0498682, -0.0512581, 0.563171, 0.696383, -0.285257, -0.00268363, -0.429165, 0.731258, 0.286139, -0.307712, -2.09429, 0.437259, -0.0401714, -0.0731361, 0.751803, -1.18935, -2.70431, -0.152566, -0.547403, -1.12531, 0.0763791, 0.454179, -0.00683033, 0.0281029, -0.139928, 0.308964, -0.126484, -0.00624297, 0.458334, -0.142086, -0.430619, -0.00793894, 0.141329, 0.477849, 0.487711, -0.679379, -0.14172, 1.35156, 0.416534, -1.48418, -0.0123521, -0.0350665, -0.673634, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.386008, -0.0292611, -0.261639, -1.15419, 0.321164, 0.657973, -0.178026, -0.0034962, 0.0555508, -0.497535, -0.173359, -0.251035, -0.151959, -0.856117, -0.104079, -0.024549, 0.504023, 0.00351342, 0.480591, -0.0299321, -0.992616, 0.158788, -0.886937, -0.746286, -0.431002, -1.08323, 0.914822, -0.640419, -0.0798886, 0.00885968, 0.0544776, -0.0654253, -0.37752, -0.0298599, -0.0413058, 1.23414, -0.168184, -0.21333, 0.011725, -0.222531, 0.51562, -0.7478, 0.328023, -0.645875, 0.71892, -0.0777874, -0.233574, 0.0474033, -0.139122, 0.657899, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.3233, 0.0438407, 0.64234, -1.25533, 2.14799, -0.284291, 0.149017, -0.0231499, 0.475473, -1.69022, -2.11329, -2.35416, -1.15825, 0.809211, -0.697008, -1.37377, -1.24177, -0.18521, -1.0088, 0.0108919, 1.90069, 0.624528, -0.69843, 1.06067, 2.18537, -2.10086, 0.485756, 2.21761, 1.76915, 0.0250088, 0.721359, -1.44113, -1.21318, -0.523391, -1.17975, -1.07342, 1.79928, 0.438222, -0.0106898, -0.180615, -1.68859, -1.58021, -1.37811, 0.952485, 0.451176, -0.642701, -0.590476, -0.007849, 1.2082, -1.59695, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.05866, 0.00375881, -3.3248, 1.0733, -0.648101, -0.118473, -0.373765, -0.0331752, -0.325519, 1.65025, 0.118231, 1.38714, -0.00443289, 0.639002, 0.783252, 0.933908, -0.541601, 0.0770804, -0.0328919, -0.022424, -2.45641, -0.483937, -2.44382, -1.08617, -2.34498, 0.174403, -0.181129, -1.71345, 0.504006, -0.0519431, 0.833118, 1.17258, -0.341409, 0.525344, -5.71737, 0.0567739, -2.27604, -1.41427, 0.00790601, -0.394523, -0.0242417, 2.49501, -1.20414, 0.0826556, -0.22665, 1.16899, -0.152718, -0.0533492, -0.191153, -0.0581032, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00690407, -0.00178573, -0.401625, -0.0897237, -0.0871911, -0.265575, 0.0925895, -0.0305087, -0.131679, -0.497559, 0.13075, -0.273056, 0.0830041, 0.296215, 0.196655, -0.0259276, -0.261938, 2.33631, -0.0304628, 0.01375, 0.0512001, -0.0631874, 0.00829912, 0.233849, -0.0547651, -0.245891, -3.36209, 0.40443, -0.0144782, 0.0151867, 0.0210598, 0.263529, 0.101175, 0.0632622, -0.0899748, 0.0986711, -0.179171, 0.223075, 0.0468724, 0.404029, 0.176966, -0.0388019, -0.113481, 0.30668, -0.123987, -0.26302, -0.0969669, -0.0323245, -0.338123, -0.258932, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.134158, 0.0306361, 0.952415, -1.57294, 1.34693, 0.447742, -0.457959, 0.0318894, 0.104726, -2.7994, 0.0565428, 0.764967, 0.173433, -0.00173175, -0.535716, -0.289616, -1.36744, -0.0303885, -0.54917, 0.0317159, 0.443452, -0.0760792, -0.0852481, 0.128951, 1.0264, -0.0902724, -1.09757, -0.72768, -0.313089, -0.0205739, 0.0601563, -4.65433, 1.33768, -0.611385, -0.134867, -0.245119, 1.03788, 0.24059, 0.0359598, 0.181092, -0.123875, -0.423008, -0.0795875, -0.393977, 0.990834, -2.20925, 0.0297631, -0.0361953, -0.639401, 0.0712367, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.2641, -0.0417575, 1.27177, -0.0356839, -1.04338, 0.111377, 0.226368, 0.0404121, 0.186412, -0.365729, 0.315602, -0.50737, -0.341453, -0.577203, -0.659272, 0.467971, -0.203179, -0.111245, -0.477123, -0.00639458, 0.130218, 1.49074, -0.0023189, -1.21298, -0.571651, 0.470922, 0.467021, -0.559446, -0.704294, 0.0216842, 0.377164, -1.01366, 1.07444, -0.514905, 0.3969, 0.274382, 0.639489, 0.248464, 0.0102149, -2.86937, -0.389706, -3.56274, 0.928326, -0.529432, -0.502171, 0.762602, 0.58874, 0.013376, -0.390298, -0.141699, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.548114, -0.0293734, -0.0039729, 0.178659, 1.15459, 0.222618, 0.347462, -0.0246201, 0.664214, -0.700374, -0.0684861, 0.144094, -0.178237, 1.79156, -0.574192, -0.394846, -0.158485, 0.103043, 0.0091796, -0.0397297, -1.16399, 0.436151, -0.186745, -0.45157, 0.0761072, 0.0801479, -0.0407364, -0.000377281, 0.235321, -0.0172175, -0.171792, 0.125446, 1.05792, -0.239853, 0.0892417, 0.188686, -0.68851, -0.298999, -0.0161477, -1.53911, 0.329309, 0.615944, -0.318068, -0.0305608, -0.573718, -0.132126, -0.31329, 0.011456, -0.681257, 0.515197, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.460731, -0.0301127, -0.428427, -2.48751, -0.83065, -0.883966, 0.279434, -0.00794752, 0.223099, -4.74498, -1.75517, -5.09443, -0.600603, 1.14182, 0.459169, -0.284944, -0.679725, -0.0482618, 0.232535, -0.0323519, -1.34987, -1.23937, -1.87586, 0.0632404, 1.12042, -2.19599, 0.737684, 0.568447, -0.0637095, -0.00533067, -1.16297, -0.592974, 1.2261, -0.628262, -0.194981, -0.0560719, -0.898778, 0.0493624, 0.0199135, -0.544934, -0.912482, 0.937652, 0.0768836, 1.08483, -0.949907, -2.48858, -0.400729, 0.0248984, 0.0153583, 0.0463829, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.320401, 0.0243087, -0.485566, 0.589703, 0.416235, -0.597847, 0.403117, 0.037697, -0.0760175, -0.446206, -1.12122, 0.16946, -0.562265, -0.817965, -0.820667, -0.0713162, -0.937677, 0.11433, -0.55182, -0.0202769, -1.23143, 0.0690411, -0.116654, -0.613853, 0.950279, 0.0422523, -0.405061, 0.552636, 0.421952, 0.0474179, 0.241392, -1.1232, -0.405543, 0.0604746, -0.384544, -1.14277, -0.280339, 0.294389, 0.0145138, 0.145207, -0.947958, -0.601997, 0.0275754, 0.381507, -0.248798, -2.89672, 0.96466, -0.00381226, 0.816338, 0.133073, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.414413, -0.0363386, 1.02449, -0.661365, 0.288037, 0.537636, -0.407076, -0.0234669, -0.203776, 0.0416998, -0.331944, -0.0755552, 0.746639, 1.1792, 0.332053, 0.56515, 0.721666, 0.0210344, 0.213582, -0.00826963, 0.465899, -0.107838, -0.728213, 0.180507, 0.55446, 0.596588, -0.0842421, 0.185905, 0.116572, 0.0389408, -0.307259, 0.81806, 0.0819738, -0.418749, -0.824986, 0.592255, 0.422047, 0.0323057, -0.0021809, -0.733894, 0.168453, 1.28805, 0.507406, 0.112454, -0.239313, 0.369218, 0.829026, -0.00869424, -0.463915, -2.42918, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.01663, 0.0386263, 0.00120916, -0.0451415, -0.0220976, -0.0440568, -0.0510183, -0.0148753, -0.0395089, -0.0415191, -0.0411545, -0.0102679, 0.0450743, -0.055889, -0.046321, -0.0421782, 0.0368874, -0.0436541, -0.0437704, -0.0390569, -0.0473675, -0.0216969, -0.0166582, -0.0173944, -0.0381499, -0.0451963, -0.00775195, -0.0358069, 0.0384851, -0.0344401, -0.0278556, 0.0439719, 0.0390274, 0.00721634, 0.0177626, 0.0351285, -0.0380619, -0.0259351, -0.0145932, -0.0366783, 0.0248615, -0.00397751, -0.00142968, -0.0480314, 0.0112837, -0.0445499, -0.0436742, 0.00799352, 0.0456502, 0.0230824, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.414384, -0.00231364, 0.875889, -1.39643, -0.869966, 1.10983, 1.05539, -0.0260571, -1.44767, -4.29332, -2.60239, -2.25624, 0.127943, -0.427369, -0.533697, -0.660397, 1.32016, -0.184969, -1.09173, 0.0200784, -3.0187, -5.63471, 0.246623, -0.547549, -0.0256984, 0.522804, 0.19604, 1.41626, -1.94971, 0.00813745, -0.993992, -2.38771, 2.16956, 1.01218, 0.980762, 0.527131, 0.219258, 2.02792, 0.0625114, -0.112698, 1.17367, 1.16576, 0.255234, -0.47052, 2.47278, 1.16077, -1.69954, 0.0436209, 1.20323, 1.35262, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0132199, -0.0417997, -0.00719966, 0.016428, 0.00601104, -0.0272129, 0.0177411, 0.00151286, -0.027505, 0.0380109, -0.0440874, -0.0157825, -0.011651, -0.0437956, 0.0327674, -0.0279694, -0.0437383, 0.0168177, 0.0236335, -0.0329631, -0.0488818, -0.0407073, -0.0125001, -0.025775, -0.0150419, 0.0196799, 0.0209345, -0.0197318, 0.0289146, 0.0169053, -0.0211684, -0.00915396, 0.00627123, -0.0252385, -0.0390744, 0.00793733, -0.0224888, -0.0319256, -0.0476298, -0.00916129, -0.0448756, -0.0297838, 0.0354489, -0.02153, -0.0502914, 0.00669731, 0.020069, -0.0330264, 0.0317083, 0.0368449, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.281655, 0.0354404, -0.228097, -1.79684, -0.335918, 1.07292, -0.150983, 0.0140015, 0.921217, -3.68252, -1.3079, -2.91827, 0.741404, 1.56372, 0.309365, -0.811356, -0.589859, -0.133671, -1.03666, -0.0202123, -1.14085, -2.46727, -0.0215655, 2.25777, 0.869272, 1.3341, 0.539093, 0.655133, -0.20866, 0.031899, -0.604354, -4.46642, 0.048614, -0.139468, 0.795229, -0.856843, 1.19428, 0.733831, -0.0252643, 0.482567, -0.5976, 1.7458, 0.454519, -0.710614, -0.695329, -2.18608, -1.26346, -0.0379351, 0.369941, 0.468539, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0321723, 0.0296687, -0.0286022, -0.0238791, -0.00724828, -0.0129299, -0.0636556, -0.0128918, 0.0358267, -0.0465134, -0.0292291, 0.0223414, 0.020619, 0.0187823, 0.0354607, -0.0273781, -0.0358777, 0.000451456, 0.00582306, 0.00558234, -0.0345017, 0.0327072, -0.0531381, 0.00143067, -0.0589801, -0.0233611, 0.000409158, -0.0763761, 0.0287896, -0.0371638, -0.0581249, 0.0384736, 0.0345602, -0.0625359, -0.0466186, -0.0376113, -0.038566, -0.0145217, -0.0440314, -0.0563814, 0.00736524, -0.058461, -0.00626197, -0.00572287, -0.00809643, -0.013542, -0.058765, 0.026242, 0.0228027, -0.0418866, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.719338, 0.0204895, 0.174601, 0.108119, 0.590352, -0.327718, 0.147719, -0.0360001, 0.0618065, -0.339088, -0.50395, 0.481515, -0.199065, -0.840699, 0.382633, -0.759422, -0.00902928, 0.0443396, -0.858096, -0.0338819, -2.17029, -0.114903, 0.154378, -0.032247, 0.0107921, 1.44426, -0.0658086, -0.907914, 0.417965, -0.0416142, -0.47496, 0.639735, 0.663142, -0.351047, -0.276158, -0.3696, 0.542465, 0.300919, -0.0298802, 0.630065, -0.116753, -0.975436, 0.0169704, 0.436917, 1.10646, -2.02246, -0.17744, -0.039202, -0.40418, 0.0964794, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.52383, 0.0477662, -0.229267, -0.597566, 0.092735, 0.243896, -0.255885, 0.0258085, 0.125031, 0.383495, -0.0442367, -1.51044, 0.524578, -0.840614, 0.00760666, 0.435934, 0.05883, 0.717967, 0.723604, -0.0128166, -1.11148, -0.304063, -1.33644, 0.779261, -1.08422, -1.06868, -2.10849, -0.390652, 0.415699, -0.0341623, 0.0426006, -0.450386, -0.806359, -0.160062, 0.468358, 0.96191, -0.59477, -0.577203, 0.0286026, -1.14383, 0.347446, 0.0547183, -0.0544564, -0.530786, 0.781679, 0.0441873, -0.14289, 0.0217886, 0.0262068, -1.56131, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0105759, 0.0119178, -0.0393875, 0.000446905, -0.0368661, -0.0052709, -0.0572881, -0.00880391, -0.0213695, -0.0122421, 0.0163755, -0.0239939, 0.0102638, 0.00584832, -0.0474857, -0.0460922, 0.0129593, -0.0236578, 0.0340902, -0.0442002, -0.0282323, 0.0218848, 0.0162166, 0.0229675, -0.030684, 0.0262269, -0.0510587, 0.031155, -0.0408606, 0.0298759, 0.0313479, 0.0290188, 0.011859, -0.012158, 0.0186996, -0.0278942, 0.0326997, -0.0294799, 0.0334168, -0.0381361, -0.0551344, -0.0330609, 0.0295384, 0.00316511, -0.0454466, -0.0114168, -0.0107599, 0.0328913, 0.0183429, -0.0209775, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.192216, 0.0124481, 0.803639, 0.0532066, -0.635718, -0.0291452, 0.305237, 0.0189267, 1.25234, -5.42915, -0.897957, -0.218364, 0.624906, 0.934786, 0.933037, -0.156029, -0.756382, 0.305326, -0.14611, -0.0235628, -0.822627, 1.2028, 0.922986, 3.49925, 0.145373, 0.0612041, 0.28079, -0.441421, -4.93501, 0.0159239, -0.125116, 0.741484, -0.818714, 0.388347, 0.227315, -0.28167, -1.71852, -0.477976, 0.039187, -0.284009, 0.275625, 0.784857, 0.281935, 0.539226, 0.797359, 0.638503, -1.90969, 0.0231691, -0.366668, -0.251319, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.11934, -0.0352819, 1.56885, 0.240274, -3.83974, 0.150382, -0.943492, -0.0118648, 0.284032, -0.263045, 0.340096, 0.0149696, 0.396932, 0.130564, 0.12328, 0.30438, 2.51871, -0.0382778, -0.132585, 0.0273159, -0.153511, 1.05474, 1.06521, -0.371167, -0.523724, 0.644273, -0.235785, 0.831925, 0.965816, -0.0549822, -0.860835, -0.489784, 0.765147, 0.737299, -0.798945, 0.126771, -1.96832, -0.885778, 0.00561914, -0.429045, 0.331817, 1.48771, -0.668876, 0.152315, 0.942668, -1.67509, 0.322791, -0.0433644, -1.01689, -1.75279, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.806483, -0.0171368, 0.418937, 0.0532857, 0.164186, -0.0184381, 0.147487, -0.0431956, -0.533668, -1.76269, 0.103595, 1.55914, -0.312486, 0.128924, 0.150152, -0.114781, -0.842844, 0.189308, -0.0200486, 0.0234341, 0.0305502, -0.591656, -0.541197, 0.390157, 0.374915, -0.83165, -0.168258, -0.150564, 0.48875, 0.0373067, 0.102742, 0.0842952, -0.597301, -0.0743358, -0.264313, 0.194626, -0.327329, 0.426044, -0.0215566, -0.238666, 0.943515, 0.63197, -0.249414, 0.462331, -0.571844, -1.44482, -0.697306, -0.00934313, -0.149282, 0.0761366, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00600682, -0.0187068, -0.0175279, 0.0115042, -0.0474084, -0.0029588, -0.0326845, -0.00281687, 0.026756, 0.0442975, 0.00833405, 0.0209159, -0.0267345, -0.00552974, 0.0298377, -0.0109637, 0.00191586, -0.026876, -0.0249432, -0.0400982, -0.00930607, 0.0233549, 0.0359734, 0.0193588, 0.0248503, 0.00113048, -0.0476709, -0.0164542, -0.0325324, 0.0247685, 0.00875246, -0.0126936, -0.0320602, -0.0415725, -0.0463309, -0.0454741, -0.0268753, -0.0220487, -0.0185237, -0.0130077, -0.0498781, 0.0237131, -0.0476117, -0.0326339, -0.0118265, -0.00599952, -0.0432347, 0.0365002, -0.0388641, -0.0216687, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.620629, -0.0328565, -0.736406, 0.63311, -2.11766, -0.710669, 1.27303, 0.0230538, 0.0961177, -0.353038, -0.534951, 0.481374, -0.729692, 1.47984, -0.389653, -3.30214, 0.601666, -0.3234, -2.65377, -0.0459376, 3.38714, 1.83748, -7.61097, -0.0197629, 1.31647, 0.382538, 0.891691, 1.76096, 1.03296, 0.0253989, 0.532865, 0.389848, -0.0144579, 1.67626, -1.34033, -1.14021, -0.470837, -1.27503, -0.0366417, -0.40131, -1.38262, 2.00512, -0.10755, 2.14241, -2.01778, -0.502504, 1.91286, 0.036192, 1.09448, -3.98767, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.08167, 0.0401, -0.0365, 0.03824, -0.03021, -0.02043, -0.02603, -0.03876, 0.01124, -0.01057, -0.05157, -0.0482, 0.03564, -0.01591, -0.02773, 0.02338, -0.007812, 0.01191, 0.00803, -0.02158, -0.0381, -0.02782, 0.0146, -0.01851, -0.0412, 0.00746, -0.01834, 0.02774, -0.03668, 0.02423, -0.02353, 0.015305, -0.058, -0.03418, 0.02928, 0.03125, -0.02289, -6.2e-06, -0.04327, 0.00913, -0.0903, -0.05328, -0.00137, 0.0112, -0.03323, -0.02211, 0.015564, -0.00787, -0.07635, -0.0446], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.435, -0.005135, -0.7153, 0.8477, -1.295, -0.5923, 1.2, 0.05023, 0.4192, 0.4465, 0.0883, -0.6343, -2.225, 0.10754, -0.11505, -1.452, -0.328, 0.3135, -3.215, 0.04, 1.874, 0.4114, 6.074, -1.486, 1.374, -6.5, 0.3328, -0.3516, 1.078, -1.52e-05, 0.3667, -1.471, -1.227, 0.6997, -10.99, -1.689, -1.099, -2.756, 0.0144, 0.7773, -2.904, -1.43, -3.434, 1.389, -1.723, -1.823, 0.536, -0.03445, 0.178, -1.511], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.643, -0.011765, 1.25, -0.355, 1.173, 0.4568, 0.1763, -0.01735, -0.702, 0.12415, -1.262, 1.48, 0.2466, -0.05472, -0.1301, 0.05096, 0.6147, -0.1488, -0.0723, -0.0384, -0.1584, -0.3025, -0.1255, 1.587, 0.403, -0.891, -0.0775, 0.4766, -0.21, 0.01232, -0.0714, -0.0777, -0.8823, -0.682, -0.1509, -0.562, 1.362, 1.507, -0.03278, -0.03586, -0.336, -2.729, 0.2185, 0.652, -0.569, -2.623, 0.2588, -0.02327, -0.6694, -0.7495], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -12.13, -0.0403, 1.416, -2.113, -2.37, -0.0834, 1.21, -0.0091, 0.7603, -2.135, -0.6636, -2.785, 1.044, -1.248, -0.0901, -1.667, 0.729, 0.07104, -1.887, 0.002182, 0.008644, -2.17, -3.73, -2.98, 1.266, 1.167, -1.269, 0.5376, -0.2224, 0.0432, -2.31, -4.113, 1.576, -0.3318, -2.127, -1.022, -3.615, 1.692, 0.002111, -0.0586, -1.154, -1.724, 0.0645, -0.782, -0.555, -2.879, -2.943, -0.03726, 1.955, -1.423], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02385, 0.04788, 0.44, -0.888, -0.924, 0.0652, -0.02107, -0.05344, -0.3467, 1.447, 0.1545, -1.17, 0.1853, -0.628, 0.2174, -0.3245, -0.2484, 0.1339, 0.2825, 0.01717, 0.1082, 0.5845, -0.6934, -1.347, -1.338, 0.488, 1.626, -0.04474, -0.3374, 0.02332, -0.09375, -0.5234, 0.03183, -0.09216, 0.26, 0.1741, 0.2788, -0.1449, 0.02255, -0.4426, 0.0854, 0.7617, 0.536, 0.871, 1.195, -2.656, 0.8257, 0.01991, 0.25, 0.10724], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4514, 0.05103, 0.08746, 1.056, -1.945, 0.3784, 0.517, 0.00631, -0.4639, 0.502, -0.274, 2.393, 0.4573, 0.3127, -0.1766, -0.833, -0.959, -0.3577, -0.1686, -0.00981, -1.52, -0.365, 1.112, 0.4827, 0.2166, 0.6323, -0.8027, -0.5996, -0.2062, 0.02612, -0.731, 2.693, 0.961, -0.315, 0.653, -0.1752, -2.717, 0.1765, -0.02243, -0.2925, -0.12006, -0.8887, -0.8687, -0.1598, -1.262, -4.465, -0.5396, -0.001664, -0.4233, 1.012], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.697, 0.01784, -2.395, 1.535, 1.116, -0.774, -1.171, -0.0305, -0.4458, 0.719, -0.2297, -0.904, -1.427, -0.7666, -0.2612, -0.1475, 0.383, 0.2996, -0.02963, 0.0473, 0.78, 0.731, -0.686, -2.938, 1.008, -1.935, -0.983, -0.8794, 0.5303, -0.0351, 0.98, 0.2283, -1.73, 0.4966, -1.156, -0.113, 2.082, -0.8022, 0.012024, 0.0815, -1.718, 0.5986, -0.4504, 0.3489, 0.376, -0.47, 0.5205, -0.00834, -0.4536, -1.897], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.166, 0.000971, 0.2795, -0.11127, -0.143, 0.3496, 0.1388, -0.0374, 0.71, -0.413, 0.6265, -0.934, -0.541, 1.056, -0.1387, 0.1857, -2.746, -0.3525, 0.758, 0.01503, 0.2744, 0.648, 0.2018, 1.213, 0.9116, -0.11475, 0.2646, 0.4717, -0.589, 0.0348, -0.173, -1.908, -0.00981, 0.3672, -0.1731, 0.1984, 1.815, 0.1633, -0.002747, -0.468, 0.4934, 1.034, 0.3042, 0.824, 0.671, -0.3882, 0.7354, -0.004433, 0.3176, -0.6226], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.037, 0.007904, -0.01013, 0.012115, -0.0382, -0.02734, -0.05212, -0.01435, -0.0574, -0.0403, -0.017, 0.003527, -0.01327, -0.01578, 0.03198, -0.033, -0.0338, -0.0321, -0.02238, -0.0411, 0.007526, -0.0187, 0.01177, 0.004204, -0.015114, -0.03552, -0.04282, -0.02098, -0.04166, 0.004337, 0.03796, -0.05035, 0.009186, -0.02705, 0.01817, -0.004745, -0.044, 0.008415, 0.01148, -0.03836, -0.04968, 0.03732, -0.02046, 0.003412, 0.04352, -0.005444, -0.006786, 0.0132, -0.009415, -0.02818], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.941, 0.0351, 0.3806, 0.5024, 1.451, 0.581, -0.5815, 0.01634, 0.04358, -0.1738, -0.3225, -0.1382, -0.2457, 0.545, -0.6597, 0.318, 0.9023, 0.2505, 0.1295, -0.00335, -0.6753, 1.228, -0.8213, 1.676, 1.401, 0.8354, 1.129, 1.156, 0.7266, 0.01377, -0.10724, 0.252, 0.4482, -1.191, -0.03044, 0.6035, 0.8716, -0.7065, 0.03574, 1.262, 0.3496, 0.9336, 0.5913, -0.606, 0.2986, 0.2812, -0.4758, -0.028, 0.0916, -1.425], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.375, -0.01254, -0.453, -0.597, -0.866, -0.367, 1.296, 0.00663, 0.9536, -3.727, -0.5073, -0.3743, 0.641, 0.7075, -0.684, 0.2593, 0.811, 0.01357, -0.04315, -0.002705, -1.846, -3.936, 0.991, 0.683, -0.928, 1.427, -1.291, -0.1885, -0.4502, -0.0458, -0.5493, -2.2, 0.6035, -0.9683, 0.696, 0.3203, -0.4114, 0.827, 0.01499, -0.3962, 0.4805, -2.238, 0.442, -0.922, 0.1576, 1.657, -2.338, 0.02614, 0.1757, 1.488], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.88, -0.001528, -0.994, 0.546, 1.511, -0.5522, 0.8154, -0.03128, 1.384, 0.7373, -0.3396, 1.46, -0.4763, 0.895, -1.197, 0.6997, 1.308, -0.06177, 0.8, -0.04068, -0.6606, 1.553, -0.84, 2.445, 0.3318, -0.4753, 0.574, 0.6606, 0.3762, -0.00744, -0.2168, 1.729, -0.869, -0.5093, -0.5986, -0.4219, 1.239, 0.8423, 0.03418, -0.01468, 0.595, -0.2483, 0.1398, -1.263, 0.425, 2.975, -0.4539, 0.033, 0.53, -0.3962], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3, 0.03293, -0.808, 0.7, -2.748, 0.2043, -0.4583, -0.0297, 0.5747, -0.9893, -0.528, -0.05133, -0.9736, 0.2036, 0.9, -0.2443, -0.2291, -0.278, -0.2087, 0.00853, 0.5566, 0.716, 1.052, -0.4556, -0.8374, 1.611, -0.2178, -0.3762, 1.214, -0.03857, -0.00797, 0.2211, -0.10016, 0.6064, 0.2118, -1.088, -1.275, 0.6357, 0.04727, -0.05994, -0.8516, -0.489, 0.1802, 0.577, 0.525, -1.197, -0.2264, 0.02008, 0.446, 0.994], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.053, -0.03738, 4.19, 1.41, 1.456, 0.00501, -0.3958, 0.00674, -0.3696, 2.627, -0.1282, 0.883, -1.465, 0.3633, 0.1705, -0.09094, -0.3875, 0.135, 0.0821, -0.0504, 1.693, 2.066, -1.711, 0.1406, 1.232, -2.21, -0.0146, 1.607, 0.539, 0.01391, 0.2325, 2.658, -0.2423, -0.319, -1.066, -0.2455, 1.714, -0.2915, -0.01677, 0.4255, -0.3447, 0.2051, -0.5376, 0.9243, -0.3064, 0.65, 1.49, 0.02235, -1.044, -1.842], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3005, -0.00807, 0.0951, 0.3062, -0.1953, -0.2344, 0.2034, 0.02664, 0.0812, -0.515, 0.2563, 0.4937, 0.1509, -0.4197, -0.3367, -0.05432, 0.05972, 0.0928, 0.1747, 0.02594, 1.529, 0.02457, 0.4033, -0.875, 0.3276, 0.02669, -0.795, 0.0836, -0.3918, -0.02524, -0.02827, -0.0355, 0.3225, -0.01901, -0.1592, -0.1098, 0.37, -0.02853, -0.01356, -0.3066, 0.271, -2.066, 0.01456, -0.1735, 0.621, 0.99, 0.8994, -0.002893, 0.278, 0.353], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.8115, -0.00971, 0.621, -3.01, 0.1023, -0.623, -0.1892, 0.03415, 0.6147, -3.465, -0.873, -2.01, -0.3948, 0.632, 0.9346, -0.1908, -3.37, 0.1652, 0.3584, 0.01825, -1.029, 0.884, 0.6577, -2.822, 0.7793, -1.381, 1.101, 0.993, -0.3108, -0.0421, 0.3909, -0.0948, 0.851, 0.0525, 0.4016, 0.4238, 1.288, 0.4673, 0.00586, 0.947, 0.3054, 0.0902, -0.8574, -0.6997, -0.644, 0.271, -3.72, 0.013954, 0.451, 0.2915], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5366, 0.03116, 0.7285, 1.3955, -0.541, -0.9375, 0.7383, 0.0555, -0.3513, 1.97, -1.803, 0.5273, -0.683, 0.474, -1.505, 0.3127, 0.4817, 0.4917, -0.658, 0.0117, 1.872, 3.021, 0.872, -2.629, -1.041, -0.2979, -0.493, 0.5522, 0.4329, 0.0564, -0.01738, 0.5864, 0.588, 0.524, -0.563, -0.968, 0.01767, 0.6494, 0.05695, -0.289, -0.282, -2.8, 0.147, -1.557, -0.3704, -0.401, -2.707, 0.02594, -0.1473, -0.4336], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04645, -0.007904, 0.2434, 0.258, 0.002932, -0.0851, -0.605, -0.02667, -0.04828, -0.259, 0.758, -1.022, 0.199, 0.0641, -0.04837, 0.06604, 0.0431, 0.11176, -0.2732, 0.0513, -0.571, 0.5835, -0.07825, -0.1799, 0.2345, -0.503, -0.262, 0.1543, 0.1721, 0.0437, 0.014145, -0.8755, 0.6235, -0.526, 0.2852, -0.549, -0.02563, -0.302, -0.0177, -0.3667, -0.5327, -1.359, 0.1356, -0.531, -0.3547, 0.0507, 0.3254, -0.004932, -0.2876, -0.694], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.548, -0.01162, -0.2333, -0.753, 0.724, -0.2278, -0.4521, 0.0434, 1.131, -0.699, 0.381, 0.3413, -0.416, -0.5605, -0.2993, 0.04135, -1.83, 0.513, -0.07654, -0.04254, 1.649, 1.821, -0.752, -0.5967, -0.00965, 0.375, -0.2979, 0.4656, 0.769, -0.03796, 0.1838, 0.9165, 1.463, 0.5063, 0.375, 1.019, 1.253, 1.087, -0.007656, -0.1016, -0.5903, 1.828, -0.867, 0.2324, 0.4019, -4.945, -0.262, -0.05096, 1.479, 0.1724], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.628, -0.0407, 0.692, 1.315, 0.245, -0.623, -0.369, 0.01765, -0.02219, 0.9927, -0.9824, 0.1259, 0.3992, 0.6216, 0.3452, -0.6904, -1.724, 0.03014, 0.03638, 0.01327, 0.782, 1.285, 1.262, -2.188, 0.101, 0.728, -0.2537, 0.0311, 0.11743, -0.03268, 0.441, -1.071, -0.2184, -0.2695, 0.597, -0.78, 0.122, -0.931, 0.019, -0.9673, -0.4785, -0.1763, 0.2795, -0.4304, -0.7964, 0.2673, 0.767, -0.03635, -1.2, 1.609], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1309, -0.001272, -0.0826, -0.1907, 0.5166, 0.2537, 0.2754, 0.03, 0.01473, -0.774, -0.2847, -1.226, -0.12384, 0.503, 0.478, -0.284, -0.3516, -0.025, -0.0957, -0.0003338, -0.779, -1.292, -0.4375, 0.9307, 0.353, 0.0433, -0.1168, 0.1632, -0.11664, -0.0399, 0.03757, -8.836, -0.2367, 0.142, 0.1617, 0.12415, -0.5264, -0.3372, 0.02399, 0.779, 0.1938, -0.346, -0.1167, 0.10223, -0.9062, -0.6187, -0.6226, 0.02235, -0.2047, 0.1293], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.473, 0.00739, -0.469, 0.06113, 0.876, 0.1222, -0.145, -0.04813, -0.2886, -0.5474, -0.259, -0.3574, -2.408, 0.3867, -0.1903, -0.3691, 0.4956, 0.03955, -0.557, 0.03412, 0.4038, 0.1976, -1.849, 0.4392, 0.7744, -0.9497, -0.03058, 0.1979, 0.03308, -0.04852, -0.507, -0.4138, 0.2245, -0.1818, -0.194, 0.459, -0.5347, 0.0838, 0.02493, 0.0779, -0.3262, -0.1436, 0.5093, 0.3315, -0.1938, -0.568, 0.2617, -2.396e-05, 0.5244, 0.0747], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4885, -0.01968, -0.3804, 0.692, -0.73, -0.149, 0.3533, 0.0309, -0.28, -0.8643, -0.208, 1.179, 0.4963, -0.667, 0.1842, 0.3052, 0.6562, -0.01033, 0.1189, -0.0292, -1.037, 1.073, 0.2507, -1.84, -1.651, 0.859, 0.05145, -1.122, 0.1395, 0.008, -0.3455, 0.6865, 0.5483, 0.28, 0.005344, -0.07, -0.4988, -0.1148, 0.00836, -0.1763, 0.3206, -0.4, 0.4263, -0.2512, -0.339, -0.12024, 0.00921, 0.02542, -0.2993, 0.8706], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01988, -0.006077, -0.05402, -0.00632, 0.01678, -0.0497, 0.0258, -0.03885, -0.01039, 0.00546, 0.02452, -0.0491, 0.0195, -0.0505, -0.01785, -0.05676, -0.05725, -0.05838, -0.05554, -0.05377, 0.02573, 0.02397, 0.008675, -0.001395, -0.0422, -0.04865, -0.04813, 0.0331, -0.0487, -0.01379, 0.03876, -0.0354, -0.008644, -0.00307, 0.02301, 0.0283, 0.03668, -0.0414, 0.004528, 0.03296, -0.01435, 0.005924, -0.02263, 0.01438, 0.036, 0.001933, -0.03897, 0.00739, 0.01631, -0.01863], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02588, -0.00657, 0.01907, -0.05353, -0.02565, 0.0768, -0.04034, -0.00924, 0.0313, -0.002121, -0.05267, -0.05002, 0.03613, -0.05676, -0.0377, -0.0576, 0.00476, -0.04233, 0.01564, -0.03375, 0.00852, 0.04858, 0.01076, -0.000387, -0.02376, 0.04425, 0.01762, 0.04092, 0.03275, -0.03568, -0.01243, -0.01197, -0.012405, 0.03078, -0.06665, 0.003508, -0.02797, -0.01015, 0.02167, 0.038, -0.06494, 0.01227, 0.0002813, -0.01225, -0.01994, -0.0236, -0.0386, 0.03111, -0.0116, -0.01903], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.022, 0.05563, -1.676, -0.868, -0.761, 0.09955, -2.035, 0.0518, 0.004986, -1.804, -0.989, -0.0659, -1.589, 1.724, 0.61, -1.129, -0.1722, -0.004063, -2.145, 0.03574, 0.4119, -2.197, -0.8823, 0.8433, 0.2185, -1.36, 0.3896, 0.7573, -1.168, -0.02032, -0.893, -1.272, -1.55, -0.4717, 0.5854, -2.457, -0.21, -0.936, -0.02423, -1.378, -1.221, -0.961, 0.2194, 0.4011, -2.104, -5.344, -0.06714, -0.02046, 1.229, 1.71], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.7266, 0.03036, 0.3525, -0.3308, -0.3938, -0.3242, -0.05994, 0.04987, -0.05127, 0.563, 0.6963, -0.2852, -0.002684, -0.4292, 0.7314, 0.2861, -0.3076, -2.094, 0.4373, -0.04016, -0.0731, 0.752, -1.189, -2.705, -0.1526, -0.5474, -1.125, 0.07635, 0.454, -0.006832, 0.0281, -0.1399, 0.309, -0.1265, -0.006245, 0.4583, -0.1421, -0.4307, -0.00794, 0.1414, 0.4778, 0.4878, -0.679, -0.1417, 1.352, 0.4165, -1.484, -0.01235, -0.03506, -0.674], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.386, -0.02927, -0.2617, -1.154, 0.321, 0.658, -0.178, -0.003496, 0.05554, -0.4976, -0.1733, -0.251, -0.152, -0.856, -0.10406, -0.02455, 0.504, 0.003513, 0.4807, -0.02994, -0.9927, 0.1588, -0.8867, -0.746, -0.431, -1.083, 0.915, -0.6406, -0.0799, 0.00886, 0.05447, -0.0654, -0.3774, -0.02986, -0.04132, 1.234, -0.1682, -0.2134, 0.01173, -0.2225, 0.5156, -0.7476, 0.3281, -0.646, 0.7188, -0.07776, -0.2335, 0.0474, -0.1392, 0.6577], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.323, 0.04385, 0.6426, -1.255, 2.148, -0.2842, 0.149, -0.02315, 0.4756, -1.69, -2.113, -2.354, -1.158, 0.809, -0.697, -1.374, -1.242, -0.1852, -1.009, 0.010895, 1.9, 0.6245, -0.698, 1.061, 2.186, -2.102, 0.4858, 2.217, 1.77, 0.02501, 0.721, -1.441, -1.213, -0.5234, -1.18, -1.073, 1.799, 0.4382, -0.01069, -0.1807, -1.688, -1.58, -1.378, 0.9526, 0.4512, -0.6426, -0.5903, -0.00785, 1.208, -1.597], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.059, 0.00376, -3.324, 1.073, -0.648, -0.11847, -0.3738, -0.03317, -0.3254, 1.65, 0.1182, 1.387, -0.004433, 0.639, 0.783, 0.934, -0.5415, 0.0771, -0.0329, -0.02243, -2.457, -0.484, -2.443, -1.086, -2.346, 0.1744, -0.1812, -1.714, 0.504, -0.05194, 0.833, 1.173, -0.3413, 0.5254, -5.72, 0.05676, -2.275, -1.414, 0.007904, -0.3945, -0.02425, 2.494, -1.204, 0.08264, -0.2267, 1.169, -0.1527, -0.05334, -0.1912, -0.0581], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.006905, -0.001785, -0.4016, -0.0897, -0.0872, -0.2656, 0.0926, -0.0305, -0.1317, -0.4976, 0.1307, -0.273, 0.083, 0.2961, 0.1967, -0.02592, -0.262, 2.336, -0.03046, 0.01375, 0.0512, -0.0632, 0.0083, 0.2339, -0.05478, -0.2458, -3.361, 0.4045, -0.01448, 0.01519, 0.02106, 0.2634, 0.1012, 0.06323, -0.08997, 0.0987, -0.1792, 0.223, 0.04688, 0.404, 0.177, -0.0388, -0.11346, 0.3066, -0.12396, -0.263, -0.097, -0.03232, -0.3381, -0.259], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1342, 0.03064, 0.9526, -1.573, 1.347, 0.4478, -0.458, 0.0319, 0.10474, -2.799, 0.05655, 0.765, 0.1735, -0.001732, -0.5356, -0.2896, -1.367, -0.0304, -0.5493, 0.0317, 0.4434, -0.07605, -0.08527, 0.1289, 1.026, -0.0903, -1.098, -0.7275, -0.313, -0.02057, 0.06015, -4.656, 1.338, -0.6113, -0.1349, -0.2451, 1.038, 0.2406, 0.03595, 0.1812, -0.1239, -0.423, -0.0796, -0.394, 0.9907, -2.209, 0.02977, -0.0362, -0.639, 0.0712], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.264, -0.04175, 1.271, -0.03568, -1.043, 0.1114, 0.2263, 0.0404, 0.1864, -0.3657, 0.3157, -0.5073, -0.3416, -0.577, -0.659, 0.468, -0.2031, -0.11127, -0.477, -0.006393, 0.1302, 1.491, -0.00232, -1.213, -0.572, 0.471, 0.467, -0.5596, -0.704, 0.02168, 0.3772, -1.014, 1.074, -0.515, 0.397, 0.2744, 0.6396, 0.2484, 0.010216, -2.87, -0.3896, -3.562, 0.928, -0.5293, -0.502, 0.7627, 0.589, 0.013374, -0.3904, -0.1417], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5483, -0.02937, -0.00397, 0.1787, 1.154, 0.2227, 0.3474, -0.02463, 0.664, -0.7, -0.0685, 0.144, -0.1782, 1.792, -0.574, -0.3948, -0.1584, 0.103, 0.00918, -0.03973, -1.164, 0.436, -0.1868, -0.4517, 0.0761, 0.08014, -0.04074, -0.0003772, 0.2354, -0.01721, -0.1718, 0.1255, 1.058, -0.2399, 0.08923, 0.1887, -0.6885, -0.299, -0.01614, -1.539, 0.3293, 0.6157, -0.318, -0.03056, -0.5737, -0.1321, -0.3132, 0.01146, -0.681, 0.515], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4607, -0.0301, -0.4285, -2.488, -0.8306, -0.884, 0.2795, -0.00795, 0.2231, -4.746, -1.755, -5.094, -0.6006, 1.142, 0.4592, -0.285, -0.6797, -0.04825, 0.2325, -0.03235, -1.35, -1.239, -1.876, 0.06323, 1.12, -2.195, 0.738, 0.5684, -0.0637, -0.00533, -1.163, -0.593, 1.227, -0.6284, -0.195, -0.05606, -0.899, 0.04938, 0.01991, -0.545, -0.9126, 0.9375, 0.0769, 1.085, -0.9497, -2.488, -0.4006, 0.0249, 0.01536, 0.0464], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.0243, -0.4856, 0.59, 0.4163, -0.5977, 0.403, 0.0377, -0.076, -0.4463, -1.121, 0.1694, -0.5625, -0.818, -0.821, -0.0713, -0.9375, 0.1143, -0.552, -0.02028, -1.231, 0.06903, -0.11664, -0.614, 0.95, 0.04227, -0.405, 0.5527, 0.4219, 0.04742, 0.2413, -1.123, -0.4055, 0.0605, -0.3845, -1.143, -0.2803, 0.2944, 0.01451, 0.1453, -0.9478, -0.602, 0.02757, 0.3816, -0.2488, -2.896, 0.965, -0.003813, 0.8164, 0.133], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4143, -0.03635, 1.024, -0.661, 0.288, 0.5376, -0.407, -0.02347, -0.2037, 0.0417, -0.332, -0.07556, 0.7466, 1.18, 0.332, 0.565, 0.7217, 0.02104, 0.2136, -0.00827, 0.4658, -0.10785, -0.728, 0.1805, 0.5547, 0.5967, -0.0842, 0.1859, 0.1166, 0.03894, -0.3074, 0.818, 0.082, -0.4187, -0.825, 0.5923, 0.422, 0.03232, -0.00218, -0.734, 0.1685, 1.288, 0.5073, 0.1124, -0.2393, 0.3691, 0.829, -0.0087, -0.4639, -2.43], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01663, 0.03864, 0.001209, -0.04514, -0.0221, -0.04407, -0.05103, -0.01488, -0.03952, -0.0415, -0.04117, -0.01027, 0.04507, -0.05588, -0.04633, -0.04218, 0.0369, -0.04364, -0.04376, -0.03906, -0.04736, -0.0217, -0.01666, -0.0174, -0.03815, -0.0452, -0.00775, -0.0358, 0.03848, -0.03445, -0.02786, 0.04398, 0.03903, 0.007217, 0.01776, 0.03513, -0.03806, -0.02594, -0.014595, -0.03668, 0.02486, -0.00398, -0.00143, -0.04803, 0.011284, -0.04456, -0.04367, 0.007996, 0.04565, 0.02309], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4143, -0.002314, 0.876, -1.396, -0.87, 1.109, 1.056, -0.02606, -1.447, -4.293, -2.602, -2.256, 0.1279, -0.4275, -0.5337, -0.66, 1.32, -0.1849, -1.092, 0.02008, -3.02, -5.633, 0.2466, -0.5474, -0.0257, 0.523, 0.196, 1.416, -1.95, 0.00814, -0.994, -2.389, 2.17, 1.012, 0.981, 0.5273, 0.2192, 2.027, 0.0625, -0.1127, 1.174, 1.166, 0.2551, -0.4705, 2.473, 1.161, -1.699, 0.0436, 1.203, 1.353], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01322, -0.0418, -0.0072, 0.01643, 0.006012, -0.0272, 0.01775, 0.001513, -0.02751, 0.03802, -0.0441, -0.01578, -0.01165, -0.0438, 0.03278, -0.02797, -0.04373, 0.01682, 0.02364, -0.03296, -0.0489, -0.0407, -0.0125, -0.02577, -0.015045, 0.01968, 0.02094, -0.01973, 0.02892, 0.0169, -0.02116, -0.009155, 0.00627, -0.02524, -0.03906, 0.007935, -0.02249, -0.03192, -0.04764, -0.00916, -0.04486, -0.02979, 0.03546, -0.02153, -0.0503, 0.0067, 0.02007, -0.03302, 0.0317, 0.03683], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2817, 0.03543, -0.2281, -1.797, -0.336, 1.073, -0.151, 0.014, 0.9214, -3.682, -1.308, -2.918, 0.741, 1.563, 0.3093, -0.8115, -0.59, -0.1337, -1.037, -0.02022, -1.141, -2.467, -0.02156, 2.258, 0.869, 1.334, 0.539, 0.6553, -0.2086, 0.0319, -0.6045, -4.465, 0.0486, -0.1395, 0.7954, -0.857, 1.194, 0.734, -0.02527, 0.4827, -0.5977, 1.746, 0.4546, -0.7104, -0.6953, -2.186, -1.264, -0.03793, 0.3699, 0.4685], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.02966, -0.0286, -0.02388, -0.007248, -0.01293, -0.06366, -0.01289, 0.03583, -0.0465, -0.02924, 0.02234, 0.02061, 0.01878, 0.03546, -0.02737, -0.0359, 0.0004516, 0.00582, 0.00558, -0.03452, 0.0327, -0.05313, 0.0014305, -0.059, -0.02336, 0.0004091, -0.07635, 0.0288, -0.03717, -0.05814, 0.03848, 0.03455, -0.06256, -0.04663, -0.0376, -0.03857, -0.01452, -0.04404, -0.0564, 0.007366, -0.05847, -0.006264, -0.005722, -0.008095, -0.01354, -0.05878, 0.02625, 0.0228, -0.0419], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.0205, 0.1746, 0.1081, 0.5903, -0.3276, 0.1477, -0.036, 0.0618, -0.339, -0.504, 0.4814, -0.1991, -0.841, 0.3826, -0.7593, -0.009026, 0.04434, -0.858, -0.03387, -2.17, -0.1149, 0.1544, -0.03226, 0.010796, 1.444, -0.0658, -0.9077, 0.418, -0.04163, -0.4749, 0.6396, 0.663, -0.351, -0.2761, -0.3696, 0.5425, 0.301, -0.02988, 0.63, -0.11676, -0.9756, 0.01697, 0.437, 1.106, -2.021, -0.1775, -0.0392, -0.4043, 0.0965], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.524, 0.04776, -0.2292, -0.5977, 0.0927, 0.2439, -0.2559, 0.0258, 0.125, 0.3835, -0.04425, -1.511, 0.5244, -0.841, 0.007607, 0.436, 0.05884, 0.718, 0.7236, -0.01282, -1.111, -0.304, -1.337, 0.7793, -1.084, -1.068, -2.11, -0.3906, 0.4158, -0.03415, 0.0426, -0.4504, -0.806, -0.16, 0.4683, 0.962, -0.5947, -0.577, 0.0286, -1.144, 0.3474, 0.05472, -0.05444, -0.531, 0.7817, 0.0442, -0.143, 0.02179, 0.0262, -1.562], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.010574, 0.01192, -0.0394, 0.0004468, -0.03687, -0.005272, -0.05728, -0.008804, -0.02136, -0.012245, 0.01637, -0.02399, 0.01026, 0.005848, -0.0475, -0.04608, 0.01296, -0.02365, 0.0341, -0.0442, -0.02823, 0.02188, 0.01622, 0.02296, -0.03069, 0.02623, -0.05106, 0.03116, -0.04086, 0.02988, 0.03134, 0.02902, 0.011856, -0.01216, 0.01869, -0.0279, 0.0327, -0.02948, 0.03342, -0.03815, -0.05515, -0.03305, 0.02954, 0.003164, -0.04544, -0.01141, -0.01076, 0.0329, 0.01834, -0.02098], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1923, 0.01245, 0.8037, 0.0532, -0.6357, -0.02914, 0.3052, 0.01892, 1.252, -5.43, -0.898, -0.2184, 0.625, 0.9346, 0.933, -0.156, -0.7563, 0.3054, -0.1461, -0.02356, -0.8228, 1.203, 0.923, 3.5, 0.1454, 0.06122, 0.2808, -0.4414, -4.934, 0.01593, -0.1251, 0.7417, -0.819, 0.3884, 0.2273, -0.2817, -1.719, -0.478, 0.03918, -0.284, 0.2756, 0.7847, 0.282, 0.539, 0.7974, 0.6387, -1.91, 0.02316, -0.3667, -0.2512], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.119, -0.03528, 1.569, 0.2402, -3.84, 0.1504, -0.9434, -0.01186, 0.284, -0.263, 0.34, 0.01497, 0.397, 0.1306, 0.1233, 0.3044, 2.52, -0.03827, -0.1326, 0.02731, -0.1536, 1.055, 1.065, -0.371, -0.524, 0.644, -0.2358, 0.832, 0.966, -0.055, -0.861, -0.4897, 0.765, 0.7373, -0.799, 0.1268, -1.969, -0.8857, 0.00562, -0.429, 0.3318, 1.487, -0.669, 0.1523, 0.943, -1.675, 0.3228, -0.04337, -1.017, -1.753], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.01714, 0.419, 0.05328, 0.1642, -0.01843, 0.1475, -0.04318, -0.5337, -1.763, 0.1036, 1.56, -0.3125, 0.1289, 0.1501, -0.1148, -0.843, 0.1893, -0.02005, 0.02344, 0.03055, -0.592, -0.541, 0.3901, 0.375, -0.8315, -0.1682, -0.1505, 0.4888, 0.0373, 0.1027, 0.0843, -0.597, -0.07434, -0.2644, 0.1946, -0.3274, 0.426, -0.02156, -0.2386, 0.9434, 0.632, -0.2494, 0.4624, -0.572, -1.444, -0.6973, -0.009346, -0.1493, 0.0761], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00601, -0.0187, -0.01753, 0.011505, -0.0474, -0.002958, -0.03268, -0.002817, 0.02675, 0.0443, 0.00833, 0.02092, -0.02673, -0.00553, 0.02983, -0.01096, 0.001916, -0.02687, -0.02495, -0.0401, -0.00931, 0.02336, 0.03598, 0.01936, 0.02486, 0.00113, -0.04767, -0.01645, -0.03253, 0.02477, 0.00875, -0.012695, -0.03207, -0.04156, -0.04633, -0.04547, -0.02687, -0.02205, -0.01852, -0.01301, -0.04987, 0.02371, -0.0476, -0.03262, -0.011826, -0.006, -0.04324, 0.0365, -0.03885, -0.02167], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.6206, -0.03287, -0.7363, 0.6333, -2.117, -0.7104, 1.273, 0.02306, 0.0961, -0.353, -0.535, 0.4814, -0.7295, 1.4795, -0.3896, -3.303, 0.6016, -0.3235, -2.654, -0.04593, 3.387, 1.838, -7.61, -0.01976, 1.316, 0.3826, 0.8916, 1.761, 1.033, 0.0254, 0.5327, 0.39, -0.01446, 1.676, -1.34, -1.141, -0.471, -1.275, -0.03665, -0.4014, -1.383, 2.006, -0.10754, 2.143, -2.018, -0.5024, 1.913, 0.0362, 1.095, -3.988]]
[-0.0160073, 1.13801, -0.050465, 0.925692, -0.51867, -0.362223, 0.606739, -1.43232, -0.00888203, -1.51817, -0.569224, -0.944954, 0.377933, -0.00466537, -0.125626, -1.23042, 0.774899, 0.28979, -1.84096, -0.140843, 0.174691, -0.258987, 0.0853876, -0.0143045, -0.0541707, 1.5722, 0.462849, -0.28421, 1.78384, -0.284136, 0.817811, 0.585292, -0.344359, -0.275818, 0.151074, 0.936155, -0.869645, -0.00380259, 0.623492, -0.0209746, 0.930985, -0.0121284, 0.566637, 0.762384, -0.00903152, -0.755708, -0.225896, -0.286045, -0.0074022, -0.662228, -0.016, 1.138, -0.05048, 0.926, -0.5186, -0.3623, 0.607, -1.433, -0.00888, -1.519, -0.5693, -0.945, 0.378, -0.004665, -0.1256, -1.23, 0.775, 0.2898, -1.841, -0.1409, 0.1747, -0.259, 0.0854, -0.014305, -0.05417, 1.572, 0.463, -0.2842, 1.784, -0.2842, 0.818, 0.5854, -0.3442, -0.276, 0.1511, 0.936, -0.8696, -0.003803, 0.6235, -0.02098, 0.931, -0.01213, 0.5664, 0.762, -0.00903, -0.756, -0.226, -0.2861, -0.0074, -0.662]
ReLU
[[-0.0174227, -0.250771, 2.38006, 0.00576329, -0.913704, 1.48379, -0.08181, -0.481278, -0.0422712, -0.374008, 0.80123, 0.286981, -0.0673351, -0.656049, -0.192995, -0.308873, -0.363496, 1.46, 1.83271, 1.04062, -0.430231, 1.36345, 0.0280928, 0.0153395, -0.0100781, 0.319809, -0.190775, -0.256179, 0.715772, 0.718141, -0.180004, -0.0591593, 0.738241, 0.522243, 0.908442, 0.243023, 0.373217, -0.026913, -0.124807, 0.03408, -0.263459, 0.0242426, -1.53993, 0.74738, -0.035714, -0.599153, -1.26567, 1.01237, 0.0405021, 0.330976, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.02535, 0.104748, 0.0450572, -2.24528, 0.431943, 0.948603, 0.391519, 0.213703, 0.0100927, 0.34359, 0.327918, -0.417512, 0.0880171, 0.140697, 0.343948, 0.854696, -0.403458, 0.653978, 0.353927, -0.174012, -0.00650652, 0.038876, 0.541833, 0.0301403, -0.00110473, -0.793204, -0.662074, -0.105986, -0.727056, 0.326754, 0.108542, -0.945551, 0.380273, -0.0130426, 0.395409, 0.114081, -0.222871, 0.0233781, 0.132914, 0.000202825, -0.0616753, -0.0392586, -0.755079, 0.386619, -0.00295241, -0.0970148, 0.369513, -0.195555, 0.01384, -0.275982, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0212878, 1.27712, 0.859485, -1.78027, 1.04622, 0.434265, 1.12396, -1.3375, -0.0399619, 0.611194, -0.00930201, -3.03953, -0.428576, 0.118882, 0.752126, 0.557025, -0.182047, -2.26183, -3.08987, 0.520819, 1.01196, -3.28163, -1.93454, -0.0270753, 0.0358575, 0.152153, 0.379062, -1.09343, 0.003384, -2.49352, -5.68824, 1.28277, -1.16453, -5.88659, 0.271771, -2.00896, -1.29391, -0.0151012, -0.879826, -0.0233393, 0.291062, -0.0179272, 0.14336, -7.42363, -0.00617132, -1.92845, -0.169778, -4.18896, 0.0178543, -0.12681, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0357649, -0.0255476, -0.015554, -0.0236852, 0.0246859, -0.0408772, -0.00492157, -0.0278507, -0.0164943, -0.0334287, 0.00352291, -0.0228257, -0.0328598, 0.00486066, 0.0214394, 0.0286318, 0.00115368, -0.0499333, 0.0198868, 0.0210706, -0.0535911, 0.00292366, -0.0175717, 0.000542349, 0.0341634, 0.027085, 0.00684206, -0.00892454, -0.0511007, -0.0338873, 0.00407805, -0.0521419, -0.0498725, -0.0484216, -0.0474761, 0.00542106, 0.0155991, 0.0365814, -0.0129649, -0.0200004, 0.00582396, 0.0251833, 0.016057, -0.0615807, 0.0337178, 0.0158462, 0.0154649, 0.0225999, -0.0444797, -0.0518645, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.038322, -0.142476, -0.246626, 0.316738, 0.987603, 0.629077, -0.668213, 0.934253, 0.0274912, -0.247402, 0.22052, -0.260138, 0.736704, 0.044446, -0.541103, -0.321954, 0.408269, 1.21052, -0.344505, 0.777213, 0.37942, 2.40938, 0.689923, -0.0289685, -0.0138226, 0.150502, -0.215505, 0.458636, 0.181268, 1.2453, -4.35995, 1.30067, -1.72538, 1.69529, 1.35168, 0.893756, 1.288, -0.0474944, 0.0401975, -0.0378122, -0.36032, -0.00456354, -0.341838, 0.633591, 0.0241457, 2.39267, 0.228138, 3.72427, -0.00181046, 0.630147, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0211061, 0.680526, 1.13281, 0.422119, 1.05016, 0.912601, 0.584933, -0.048185, -0.041821, 0.147281, -0.225868, -0.460128, -0.163172, -0.0240765, 0.377253, 0.210781, -0.49083, -1.4873, -0.920561, -0.443156, 0.0181373, 2.36813, 1.24751, -0.00933405, -0.0143286, -0.228582, 0.401034, 1.36004, -0.183773, 0.231722, -0.181297, 0.430517, -0.0910067, -2.56618, -0.383561, 1.26807, 0.64203, -0.00287072, 0.33424, 0.0266221, -0.0739565, 0.0290242, 1.55014, 0.304038, 0.0251755, -1.06683, -0.181865, 0.701497, -0.0249908, 0.211248, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00306667, -0.0365431, -0.00124234, -0.0457739, -0.00984148, -0.0542733, 0.0285555, 0.0203107, 0.0304546, 0.0209619, 0.007413, -0.0418253, -0.061337, -0.0285753, -0.0397634, 0.0385112, -0.0481593, -0.0211143, -0.0508654, 0.0175952, -0.0104613, 0.0324819, -0.0149319, 0.013158, 0.015391, -0.0469494, -0.0479429, -0.0372985, 0.0189363, 0.00999531, -0.00862775, -0.0255665, -0.0500966, 0.0271671, 0.0191812, -0.0480291, -0.0301295, -0.0209494, 0.0127816, 0.00621171, -0.0282832, -0.0440064, -0.000347732, 0.0267703, 0.0381459, -0.0404405, -0.0566466, -0.0480292, 0.026526, 0.00799475, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0425716, 0.60736, 0.393888, -0.773299, -1.1156, -1.58916, 0.711863, -0.300874, -0.0104368, -0.940986, -0.199773, 0.0866959, 2.08046, 0.12694, 0.138988, 0.635819, 0.263246, 0.637923, 1.72687, 1.11929, 0.95909, 0.451569, 0.399592, -0.00333791, 0.0283663, 1.58018, 0.712503, 1.73357, -3.30011, -0.508904, 0.124849, 1.10999, 1.17295, -0.147818, 0.460817, 0.0736527, 2.04421, -0.0411707, 0.407893, 0.0403754, 0.0875235, -0.0102878, -0.892841, -0.958022, -0.000480627, 0.150922, 0.208376, 0.515529, 0.0310686, 0.27538, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.021615, -0.449043, 1.68163, 0.201951, -0.132148, -1.29069, -0.52286, -0.406737, -0.0297306, -0.550867, -1.82377, 1.25609, 1.08556, -0.846539, 1.0179, -1.07396, 0.0764585, -0.380051, 0.53349, 1.92772, 2.78534, 1.18478, 0.939465, 0.0409313, 0.0782939, 0.476808, 0.0171619, 3.74288, 0.590816, -1.39041, 0.491968, -0.403811, -0.926906, 1.0533, -2.37566, 0.762894, 0.00579056, 0.039253, -0.858319, -0.0180129, -0.0599501, -0.0315726, -0.201371, -0.113434, 0.0363428, 0.412758, 0.465607, 1.17459, 0.0509723, 0.15286, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0445766, -0.0252522, 3.5441, 0.513002, 0.827346, 0.628416, 0.0856557, 1.06996, 0.0228626, 0.610917, 0.67773, -0.188567, -0.239319, -0.859874, 1.84213, 0.201299, -0.0136174, 3.55287, 0.716227, 0.422821, 2.74053, 2.24189, 1.04632, 0.015145, 0.0488543, -0.416695, 1.24116, -0.182586, 0.701008, 1.70236, -3.04022, 0.878239, 0.549454, 2.67892, 1.92118, 0.381985, 1.29929, -0.0181753, -0.525815, -0.0397157, -0.131095, 0.0329835, -4.19342, 2.01087, -0.0285057, 2.03654, -1.0487, 3.16025, -0.037196, 0.835923, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0101404, -0.283597, 0.943031, -0.0529501, -0.302243, -0.427397, 0.19616, 1.42758, -0.0361113, -0.59952, 0.620425, 0.214382, -0.0498694, 0.136959, -0.382781, -0.664685, -0.313819, 0.299634, -2.53569, 1.13665, -0.861337, 0.852487, -1.33481, -0.0273918, 0.0307485, -0.546227, 0.58281, 0.183119, -0.581607, -0.371967, -0.0935823, -0.175138, 0.292183, -0.28273, -0.189304, 0.324359, -0.461683, -0.0500914, -0.0330327, 0.020183, -0.10922, -0.028751, -1.15079, 0.28179, -0.00815475, 1.13069, -0.00803147, -2.2204, 0.0309116, 0.435672, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0191222, 0.547841, 1.66575, 0.659195, 1.17262, 1.44678, 0.179508, 0.282669, 0.00823252, -0.197966, 0.586834, 0.0329179, 1.49975, 0.182695, 1.15318, 0.560492, 0.808573, 1.13971, 0.419875, 1.03227, 0.177641, 1.11029, 0.942333, -0.0154934, 0.00560393, 0.675981, -1.0131, -0.300228, 0.436649, 2.15485, 0.788876, -0.0653293, 0.202114, 1.15182, 1.14863, 1.00885, 0.318617, -0.0255371, 0.590895, -0.039171, -0.130318, 0.0364254, -0.841306, -0.515882, -0.0404435, 0.189671, 0.53382, -1.48786, -0.0454031, 0.792292, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0293746, -0.193824, 0.179153, 0.565323, 0.307273, 1.20731, 0.228806, -0.601456, -0.0446586, 0.265504, 0.101223, 0.476158, 0.419987, -0.216456, 0.0802947, -0.390364, -0.307692, 0.596974, 1.60531, 0.290014, 0.731126, 0.454321, 1.00798, -0.0117829, 0.0183798, -0.0883174, -0.260985, -0.0465755, -0.240418, 0.362196, -1.34716, 0.620281, -0.427591, -0.0832273, 0.4206, -0.445002, 1.67491, 0.0128214, -0.10786, 0.0401592, -0.308876, -0.0174866, 0.541002, -0.26075, 0.0367091, 0.872669, -0.423179, 0.620908, -0.019431, -0.464674, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00734433, 0.0110285, -0.0337221, 0.0328322, 0.0307246, -0.0492146, -0.0433461, 0.0142175, 0.041621, 0.00797334, -0.0180896, -0.033063, -0.00844981, 0.0100992, -0.0277846, -0.00115632, 0.0420488, -0.0554124, -0.0216009, 0.000269521, -0.00801644, -0.010717, -0.0223582, 0.0412137, 0.0483928, -0.0398232, -0.0478029, -0.0461387, -0.0167889, -0.0490563, -0.0140982, -0.0566697, -0.0190606, 0.0211787, -0.0510019, -0.0148554, -0.0247205, 0.0155097, -0.0294282, -0.0244502, -0.0167361, 0.0477712, 0.000338103, 0.00926543, -0.0304783, 0.0269892, 0.0295795, 0.0282401, 0.0301497, -0.0413873, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0466011, -1.1151, -2.57641, 0.902007, -2.80858, -1.24052, 0.579775, 1.05242, 0.0534489, -1.09763, 0.881366, -0.306077, 1.15346, 1.05539, 0.516762, 0.329477, -0.615077, -0.30214, 0.302663, 0.650407, -0.496564, -2.05738, 0.088707, -0.0204826, 0.0416224, 0.419757, -0.59806, -1.50907, 0.0648849, -0.0761757, 0.313711, -0.433683, -0.252581, -3.05789, -1.74939, -0.668245, -1.13478, -0.0137602, 0.508039, -0.0266756, -0.25969, 0.0257433, 0.780524, 0.00675452, -0.0106019, 3.02019, 0.368762, 0.0708172, -0.0414445, -1.41896, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00062584, -0.349655, 0.85914, 1.23877, -1.07785, 4.12635, 0.904749, 1.6084, -0.0321667, -0.10714, 1.32594, -0.300346, 0.0944939, 0.809979, 1.51027, -0.207212, -0.463727, 0.90659, 1.68343, 3.11647, 1.25297, 0.69324, 2.93523, -0.0609564, 0.0702676, -0.463855, -0.191509, 1.89128, 1.21442, 1.64101, -0.232534, 0.404048, -0.464778, 0.978677, 0.143022, -0.160434, 0.306779, -0.0283078, -0.0644003, 0.00106847, 0.472538, 0.0321865, 0.886412, -0.435991, -0.0472836, 0.104321, -0.366719, -0.0979269, -0.0337007, -0.613285, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0197171, -0.0358142, 0.693718, 0.117383, -0.285602, -0.0287025, -0.00631496, 2.37598, -0.0253595, 0.373528, 0.740988, -0.0889585, 1.20768, 0.125256, 0.640483, 0.326387, -0.136782, 0.494713, 0.0542451, -0.128037, 1.38157, 1.74183, -1.81419, -0.0316764, 0.054703, -0.172586, -0.00655398, -0.265655, -0.427834, -0.654497, -0.116312, 0.563615, 0.216589, 0.271417, -0.333373, 0.381832, 0.506873, -0.0279127, -0.0758917, 0.0395336, 0.317467, 0.00592574, 0.0687653, -0.176614, 0.0450601, 0.34209, 0.168505, 0.659151, -0.0166177, -1.28488, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0169379, -0.0343474, 0.038178, 0.00847747, -0.024102, -0.0198949, 0.0188412, -0.0253979, -0.0147907, -0.0061401, -0.0222806, -0.0156435, 0.0706923, -0.0301295, -0.0140545, 0.00770225, 0.0193068, -0.0183013, 0.0360273, 0.00471787, -0.0581714, -0.00988513, -0.0566134, -0.0335719, -0.00580236, 0.0682412, 0.0405876, -0.0370693, -0.0182994, -0.038322, -0.0278712, -0.0477454, -0.0735205, -0.0331532, -0.00234382, -0.0305767, -0.0648782, 0.0237884, -0.0679246, 0.0203206, -0.0693128, 0.0156486, 0.0139678, 0.0227641, 0.0168848, 0.0237822, -0.0397725, -0.0138375, -0.0121559, -0.0463214, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0139116, -1.32865, -0.972259, 0.525793, -0.981007, -1.11118, -5.46045, -3.67496, -0.0061788, -1.39313, -0.327956, 1.36139, 0.241186, -1.60984, -3.02161, 0.204238, 1.44987, -1.87878, 1.10378, -4.47562, -1.99543, -1.07773, -2.64175, 0.0347594, -0.00203664, -0.573952, -0.842452, -2.66432, -0.794948, -10.0829, 0.433028, -6.32445, -1.48228, 1.18305, -1.57209, 1.30532, 0.0153648, 0.017866, 1.12151, -0.047072, -0.67604, 0.0292491, -0.950436, 0.696331, -0.0275488, -2.39289, -2.46146, -4.87982, 0.0373275, -1.33131, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0268809, 0.0708779, -3.02999, 0.57575, -0.727437, -0.463217, 0.317254, -0.134031, -0.0453373, 2.05562, 0.907133, -0.209683, -0.32521, -0.423942, -0.739973, 1.16742, -0.254818, 0.379628, -0.286919, -3.80068, 2.89452, 1.49145, -5.32446, 0.0292441, 0.0216927, 0.286135, -0.548992, 2.8245, -0.403329, 1.10042, -0.688327, 1.37285, 1.90601, -1.41674, 0.534295, 1.27852, -0.135907, 0.00124502, -0.216935, -0.0297329, -0.584541, -0.0311978, 0.801252, -1.50651, -0.0261785, 1.4999, 0.335939, 1.48722, -0.0150772, 0.608429, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0409129, 0.42424, 1.27489, 0.333732, 0.483232, -0.470204, 0.540178, -1.88864, 0.0136898, 0.0404181, 0.559685, 0.165904, -0.0397312, 0.603508, -0.797547, -0.748788, 0.531611, 0.685721, -1.09689, -0.325665, -0.719521, -1.02663, -0.0422043, 0.0105305, 0.00566069, 0.173076, -0.702173, 0.29381, 0.153567, 0.383652, -0.149013, 0.749581, -0.69927, 0.361936, 2.00451, 1.39225, -0.318145, -0.040373, 0.0173369, -0.0388357, 0.393926, -0.0446688, -0.292445, -0.206891, -0.0421871, -1.29301, 0.879619, -2.93487, -0.0181541, -0.314229, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0404105, 0.664135, 0.0696238, -1.00203, 0.569019, -1.05428, -0.167207, 1.2835, 0.0325157, -0.0242591, -0.421759, 0.270807, 1.54902, -0.343002, -0.481497, 1.4741, -0.543763, 0.236517, 0.732049, 0.363405, 0.484063, 1.02265, -1.09531, -0.0398737, -0.0285087, 0.317551, 0.267803, 0.0858794, -1.22169, -2.47632, 0.225836, -0.331713, 1.25299, -0.65648, 1.81084, 1.00331, 0.0309878, 0.0129491, -0.106675, -0.0200594, -0.0342881, 0.0057967, 0.597104, -0.0802554, -0.0151654, 1.4652, 0.35571, 0.798538, 0.00830835, 0.423891, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0288888, -0.310461, 0.0755808, 1.33653, 0.129186, -0.158015, 0.200688, 0.297396, -0.0369857, 0.244489, -0.874314, -0.883539, -2.26216, 0.639575, -0.954194, 1.63304, -1.2712, -0.653573, -1.79948, -0.663074, -0.763743, 0.164015, 0.89539, -0.00382272, -0.016379, -0.10645, 0.365421, -0.489621, 1.20552, 0.41432, 0.06435, 1.02329, 2.01373, -1.02625, 0.100157, -0.553848, -1.27106, 0.022968, -0.120518, 0.0255728, 0.931903, -0.0138033, -0.482512, 0.69074, 0.0365708, -1.5509, -1.09434, 0.951808, -0.00424389, -0.132982, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0224293, 0.0931553, 1.7377, 0.815254, 1.28018, -1.64539, -0.0328376, 0.568264, 0.0497929, 0.692068, -0.207638, 0.080347, 0.116658, 0.100545, -0.206173, 1.68873, 0.721071, 0.310418, 0.265478, -0.767962, 2.74909, 2.64849, 0.629676, 0.0252515, 0.0158238, -0.807279, -1.83604, 2.50832, -0.31189, 0.498993, 0.282857, -0.268733, -0.711721, -0.534875, -6.47244, -0.539886, 0.485307, 0.0250919, -0.307435, -0.0472231, 0.17545, 0.0360264, -0.709414, 0.337871, -0.0235838, 1.03717, 0.67374, 0.0104428, -0.017834, 0.312841, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0392865, 0.249275, -1.56568, -0.178879, 0.319678, -2.71238, -0.424337, 0.524221, -0.0331089, -0.440698, 0.273236, 0.151769, 0.377094, 0.470851, 1.93603, -0.124163, -0.330091, 0.284439, -1.2128, -0.758837, -0.415587, -3.63599, -0.575483, 0.00815052, -0.00604709, -0.44011, 0.848988, 1.55268, -0.226447, 0.202497, -0.0940119, 0.134096, -1.76691, -0.0151884, 1.48203, 0.912944, -0.211244, 0.00858064, 0.214217, -0.0386721, -0.117358, -0.0340031, -0.136973, 0.266614, 0.0456951, 0.177403, 0.128135, 0.972105, 0.0269393, 0.294083, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0450809, -0.0148554, 0.265745, -0.582184, 0.51764, 0.757659, 0.462133, 0.24415, 0.0273991, 0.835808, -0.40205, -0.605187, -0.00431841, -0.583839, 0.801519, 0.182477, 0.186697, 0.630409, -0.116578, -0.223555, 1.02266, 1.89879, 0.505058, 0.0201531, 0.0521514, -0.0924128, 0.409143, -0.122815, -0.00547264, 0.419878, 0.220251, -0.575979, 0.5202, 0.94095, 1.70232, 0.245397, 0.442282, 0.0463059, 0.148222, -0.0351535, 0.164714, -0.0333861, 0.16848, 0.385366, -0.00105471, -0.436596, -0.783774, 0.768004, -0.0377054, 0.536229, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00887947, -0.119218, -1.1869, -0.00896443, 0.593392, -2.60306, 0.707702, -1.03861, -0.0129522, -1.64706, -0.475416, -0.270167, -0.0919889, 0.572061, 0.561947, -0.223713, 0.438771, 1.05693, -0.116039, -0.214596, 0.0114068, 1.16067, -0.613527, 0.00769238, -0.0153714, 0.342744, 0.152799, -1.27117, -0.400026, -0.460746, -0.400596, 0.637421, 0.418224, 0.773684, -0.403375, 0.574599, -3.49216, 0.00691642, 0.228388, -0.000117534, -0.280874, 0.0515912, 0.621869, 0.222332, 0.00323016, -0.208632, 0.00800437, -0.0800446, 0.0442075, -0.839673, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0315861, 0.0696756, 0.0902169, -0.149922, 0.277953, 1.0517, -0.0206301, 0.533006, -0.0220716, 0.564744, -0.763029, 0.247412, -0.00883938, -0.484407, 1.2582, 0.98009, 0.234496, 0.748508, -0.272819, -0.588285, -0.386134, 0.213764, 0.0951172, -0.0452735, 0.0575986, 0.129751, -0.461049, 0.111133, -0.360533, -0.508457, 0.205029, 0.360677, -0.0485442, -0.158046, 0.903206, -0.704785, 0.27067, 0.0117781, 0.0185876, -0.0320609, -0.12285, -0.0352748, 0.654071, 0.308934, -0.0407519, 0.526789, 0.289252, 0.0924274, -0.00780108, 0.546711, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0181304, 0.00949841, -0.0280481, -0.0152226, 0.0347698, 0.0271518, -0.0310153, 0.0018296, -0.0432288, -0.0434151, -0.0304043, -0.00733748, -0.000207542, -0.0510519, -0.0423805, -0.0377138, 0.0157695, -0.0322326, 0.005345, -0.0256414, -0.0346904, -0.0475367, -0.0164002, 0.0381402, 0.0278846, 0.0132018, -0.0441766, -0.0146194, 0.0273906, 0.0424113, -0.00324636, 0.0118764, -0.0425697, 0.0358726, -0.000331712, -0.0506709, 0.0338269, -0.0138959, 0.0132137, 0.044824, -0.0528385, -0.0153412, 0.00780347, 0.00785615, -0.0258294, 0.0384991, 0.0053698, 0.000182449, 0.00406551, -0.0469046, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0211659, 0.180365, 0.439211, -0.244297, 0.428055, 1.07426, 0.264182, -0.00457862, -0.0199402, 0.0114894, 1.08364, -0.82565, -0.252542, 0.313152, 0.345937, 0.13339, 0.517062, 0.346963, 0.920066, 2.15765, 0.684642, -0.944524, 0.725188, 0.016394, 0.0451314, 0.112843, 0.346215, 0.227103, 0.795809, 0.603933, 0.408942, 1.13497, 0.704121, -0.516904, -0.100662, -1.44646, 0.158938, -0.0432309, 0.0829529, 0.0438744, -0.0717335, -0.00989939, -0.179997, -0.0490745, -0.0152064, -0.251544, -0.659159, -1.07239, -0.0421094, -0.07944, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0456954, -0.482145, -1.4855, 0.149341, 0.451142, 0.153436, -0.374878, -0.349608, 0.011839, -0.627147, 0.258502, 0.145816, 0.390749, 0.194433, -0.223731, -0.245157, -0.12298, -0.422038, 1.45869, -1.73329, -2.84296, -0.191657, -0.914657, -0.0309152, 0.00315839, -2.1659, -0.736895, 0.626806, -0.141916, 0.411962, 0.396528, -1.26404, -0.327947, 0.500393, -0.104849, 1.73428, -0.0559302, -0.00920849, 0.521896, 0.0387513, -0.146985, 0.026076, 1.01805, -0.136196, 0.00855666, -1.1443, -1.62027, -2.09843, 0.0309744, -0.590788, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0317854, -0.160797, 0.525168, 0.687101, 1.40461, 1.21456, 0.275865, -0.0479398, 0.0303359, 0.261559, 0.236964, 0.127134, -1.04034, 0.467426, 0.406339, 0.343312, -0.629142, -0.226752, 0.288176, 0.428924, 0.59854, -0.208837, 0.611425, 0.0288003, -0.036105, 0.0831579, 0.0748531, 2.94026, 0.810169, 0.557477, 0.741865, 0.287144, 1.73647, 0.381962, 1.35564, 0.500721, 0.607376, 0.0157465, -0.180455, 0.0164516, 0.326125, -0.0405854, 0.921621, 0.163792, 0.00997685, 1.96192, -0.580009, 1.33432, -0.0455388, -0.534532, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0100166, 0.0599766, 1.2809, 0.359832, 1.4074, 0.360035, -0.338027, -0.525081, 0.0166505, -0.796074, -0.334835, 0.377395, 1.24746, 0.0946002, -0.266918, -0.950544, 1.36792, 0.997801, 0.120699, -0.253349, 0.749941, -5.46585, 0.215507, 0.0453204, 0.0421787, -0.10096, 0.304246, 0.285714, 0.970492, 0.149384, 0.294565, 0.888617, 0.983315, 1.27585, -0.219621, 0.120248, 0.818245, 0.0153699, -0.231634, 0.00985954, -0.218659, 0.0180283, 0.720243, 0.135326, 0.0261663, 0.209279, 0.314398, -2.36116, -0.0142231, 0.549744, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00929066, 0.142182, 0.662744, -0.28092, 0.0359332, -0.925601, -0.561582, 1.02436, 0.0105105, 0.451289, -1.04349, -0.0141714, 0.149105, -0.39033, 0.557376, -0.221267, 0.0195384, -0.84414, 1.41561, 0.267944, -1.00612, 1.1178, 0.187138, -0.010975, 0.0465692, -0.118917, 0.791183, 1.852, -0.515939, -1.01049, -0.039171, 0.313452, 0.800285, -0.746299, -0.369036, -0.720256, 1.00481, 0.0200925, -0.114147, 0.0137857, -0.248516, 0.0022141, 0.444217, -0.0723464, -0.0191552, 2.5782, -0.322728, 0.0997641, 0.0453005, -0.542101, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0221879, -0.398746, 0.225804, -0.815634, -0.781265, 0.377621, -0.371645, 1.8731, -0.0260195, 1.30298, 0.314776, 0.726606, 1.77009, -0.519114, 0.853735, 0.113924, -0.722003, -1.21997, 0.157367, 0.704636, -0.109257, 0.354343, 0.518885, -0.0242834, 0.0361372, 0.66655, 0.483598, -0.16195, -0.018715, 1.59543, 0.323791, -0.287328, 0.23238, 1.64122, 1.23081, 1.62638, -0.356035, 0.00581254, -0.419957, 0.000968263, -0.252147, -0.0468226, -0.53488, 0.0815187, 0.0195461, -0.307661, 0.621218, 1.48836, -0.0470286, 0.441769, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0399493, 0.705666, 0.827024, -0.111508, 0.446958, 0.329416, -0.447152, -0.408544, -0.023899, 0.15667, 0.532088, -0.235044, -1.92595, 0.223838, -2.22898, 0.0256829, -0.884492, -1.13564, 0.662818, 0.659073, 1.54703, 0.189616, 0.71236, -0.00924783, 0.00705734, -0.202088, 0.549106, -0.374088, 0.344415, 0.799815, 0.207282, -0.287136, 0.0276096, 1.10689, -0.0193921, -0.106871, -2.19819, -0.0242318, -0.104364, -0.0304771, 0.411541, 0.016967, -1.15987, 0.102271, -0.0311018, 1.77844, 1.03262, 0.367254, -0.0357521, -1.2649, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0267793, 0.439779, 0.116963, 0.242751, 0.139935, -0.163029, -0.146005, -1.13973, 0.0311079, -1.40882, 0.240348, -0.0193337, 1.14872, -0.118614, 1.91592, -0.297606, -0.180602, -0.992893, -2.71165, 0.136674, 0.496145, 2.82505, -0.04122, 0.0332457, -0.0104289, 0.812434, -1.42039, 0.494325, -0.547922, 1.11475, -0.860497, 0.99773, -0.654302, -4.7271, 1.14067, -0.278223, 0.617583, 0.0377579, 0.342197, 0.0230647, -0.613258, -0.0355202, 0.397644, 0.406169, 0.0499081, -4.35981, 0.484134, -2.9833, -0.0173289, -1.12317, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0305862, -0.169152, 0.0565797, 0.590177, -0.0929488, 0.424508, 1.13682, -2.5678, 0.0591029, 0.782229, 0.629476, 0.802787, 0.90597, 0.34797, 2.35307, -0.91889, -0.427945, -1.13485, -0.534629, -0.964168, -0.207049, -0.596632, -0.273154, 0.0030808, 0.0128615, 0.319368, -0.91832, -0.636002, -0.0754569, 0.714686, 0.0250555, -0.149262, -1.73664, 0.454122, -0.444072, 1.28221, -1.21271, 0.015067, 0.124005, -0.0129964, 0.298196, -0.0169186, 1.14215, 0.035985, -0.0232083, 0.800279, 0.484445, -0.636022, 0.00270644, -0.407912, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0184134, -1.24737, -6.01226, -0.865296, -0.133555, 0.626301, -0.228477, 0.0538853, -0.0240506, -0.981724, -0.315908, -0.200134, -1.22861, 0.311787, -2.14211, 1.05125, -1.06113, -3.08693, -2.41093, -0.441079, -0.988177, -0.802296, 0.37381, -0.0218808, -0.0919721, 5.70178e-05, -0.611823, 0.919087, 1.10762, 0.350929, -13.1199, -2.4332, 0.375456, -1.24119, -0.74713, -1.57102, -1.07546, 0.0245101, 0.396151, 0.0424384, 0.352765, 0.0269242, -0.155149, -9.51851, -0.0307324, -2.19844, -1.67034, -2.15832, 0.00817993, 1.03247, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0295183, -0.838766, 1.79322, -0.210363, 0.493783, -0.101554, 1.06361, 0.0142068, -0.0498714, -0.581568, 0.219152, -0.570526, 1.43533, 0.657352, 0.303882, 0.201796, -0.0202833, -2.17553, 0.0278442, -0.879844, 0.772254, 1.45444, 0.140163, -0.017782, -0.0261563, -0.239227, -0.0553622, -0.0430596, -0.818033, -1.21842, 0.0527271, 0.123229, -0.040435, -1.89321, 1.44915, -2.10597, 0.224579, 0.0343605, 0.146246, -0.0169497, -0.170271, 0.006747, 1.3247, 0.207412, 0.00092503, -0.121495, 0.28743, 2.78379, -0.0385365, -0.0941757, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0496777, 0.697324, 2.05135, 0.177757, 0.032133, 1.6357, -0.182694, 3.26476, 0.00153784, 0.809082, 0.0182597, 0.828612, 0.889721, -0.497195, 1.66016, -6.65095, 0.494208, 0.135381, -1.01341, 1.42607, 2.93618, 1.68132, 0.342722, -0.04808, -0.0327004, -0.233373, 0.0410333, 0.607552, 0.291403, 0.490297, 0.00315705, 1.34488, 2.2157, -0.4547, 1.55351, -0.424279, 1.1062, -0.00247911, -0.0782419, -0.0147648, -0.725459, -0.0310783, 1.76832, 0.298897, -0.00828082, -1.33919, 1.34749, 1.01574, -0.0108906, -0.0876214, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0320503, -0.142736, -1.9927, 1.7381, 0.582347, -2.36397, -0.0682179, 0.238037, 0.00404456, 0.402926, 0.651356, 0.538762, 3.10182, 0.498738, 1.14618, 0.40765, 0.267247, 1.38535, -1.06793, -1.09466, -3.25177, -5.95336, -0.302679, -0.00530727, -0.0393691, -0.896361, -0.251798, -4.24793, -2.79544, 2.16648, 0.120103, -1.39588, -0.694573, -3.40485, -4.10979, -0.369655, -3.92839, 0.0270555, 0.526196, 0.0208531, 0.00814747, -0.0338259, 0.323937, 0.234222, -0.0103827, -0.247996, -1.7105, -1.5498, -0.0495928, -0.659057, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00294125, -0.427678, 0.0870193, 0.600308, 0.639915, 0.875761, 0.403232, -0.0674173, 0.00978869, 0.123425, 0.377282, -0.270869, 0.340349, 0.143259, -1.01971, 1.15231, -0.400551, 0.602063, 0.904934, 0.105398, 1.0103, -0.353842, 1.1743, 0.0321096, -0.0578378, 0.0824332, -0.44708, 1.56818, 0.324715, 0.828966, -3.7454, -0.469725, 0.519087, -0.43281, -0.179998, -0.337249, 0.0801324, -0.0377986, -0.130261, -0.00064649, -0.0319123, 0.0249212, -0.115514, -4.15173, -0.0153746, 1.43898, -0.637183, 1.13174, -0.0321837, -0.711949, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0226168, 0.462712, -0.153128, 0.831993, -1.3192, 0.831004, 0.350129, 1.0047, 0.002027, -0.247451, 0.95803, 0.295259, -1.87321, -0.164031, 1.77623, -0.28209, 0.274677, 0.178767, 0.568996, 0.994637, -0.413361, 2.52451, 0.359231, -0.0383045, 0.0349773, 0.35562, -0.219527, 1.4087, 0.232405, 1.06402, -9.80996, -0.284764, -0.79353, -1.04189, 0.600663, -0.0680195, 1.9871, 0.0058317, 0.219199, -0.0198442, -0.205137, 0.0160265, 0.471945, -3.6294, -0.0341123, 1.61704, 1.04251, 1.06562, -0.0181407, 0.651623, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0125807, -0.264869, 1.24536, 0.321347, 1.24847, 2.28805, 0.55414, 2.97847, 0.0111997, -0.233507, -0.380479, -0.128907, 0.980171, -2.10918, 0.912819, -0.294545, 0.276093, 0.926282, -1.91843, 2.66499, 1.59598, 4.9843, 1.1418, 0.0452279, -0.0100749, 0.625614, -0.198317, 0.333164, -0.0476193, 2.43688, -0.206059, -0.430076, -0.288784, 0.367856, 0.899459, 0.487364, -1.71364, -0.0288795, -0.0930149, 0.0219699, -0.663805, -0.00957549, 1.21341, 0.148615, 0.0421342, -0.973284, 1.27444, 0.80345, -0.0369187, 0.358247, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0150581, -0.0599512, -0.0486529, -0.0225864, -0.0420918, -0.00814863, 0.0189763, -0.0334611, 0.0214505, -0.00436986, 0.0428039, -0.0206709, -0.0248334, -0.0583545, -0.0617167, -0.0010291, 0.0138506, -0.00590731, -0.0276729, -0.0421456, -0.0319987, 0.0219892, -0.000665207, 0.0368505, -0.0143547, 0.01384, -0.0227541, -0.0282807, 0.000553549, -0.0156216, 0.00787897, -0.0195637, -0.0071186, 0.0215151, -0.0402106, -0.039784, -0.00355345, 0.00623946, -0.0519165, -0.000241488, -0.0370789, 0.0179485, 0.01325, 0.00249708, -0.000855652, 0.0102117, 0.00234663, 0.00273565, 0.0495091, -0.0231337, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00323848, 1.07994, -0.769004, 0.406841, 0.541022, 0.603635, -0.893895, 0.41892, 0.0391791, 0.141913, 0.118978, 0.437877, -0.688916, -0.37965, 0.110014, 1.76969, 0.211939, -0.186953, 0.19961, 0.513466, -1.72947, 0.551988, -0.10713, 0.00666863, 0.0178726, 0.44668, -0.502456, 0.386398, 0.0765881, 0.492615, -0.193517, 0.410227, 0.133592, 0.980995, -3.3725, 0.187416, -0.705955, 0.00606065, -0.0958254, -0.00498144, -1.00274, 0.00633082, -1.12356, 0.0808755, -0.0411298, 0.857732, 1.10646, 0.0425846, -0.0221787, 0.845293, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0162188, 0.362487, -0.291675, -1.12287, -0.488644, -5.70794, -1.76142, 1.05794, 0.0212151, 0.0697627, 0.285484, 0.0107735, -0.399139, -1.13538, -0.438966, -1.20752, 1.11986, -0.245424, -2.69167, -3.0186, -0.527506, -1.33951, 0.571312, 0.0240896, -0.110973, 0.332342, 0.142334, 0.265531, -0.812647, -3.57124, -0.291436, 0.204331, -1.15907, -0.352134, 0.604764, -1.51232, 1.85621, -0.0403097, -0.17683, -0.00816137, 0.593466, -0.0383957, -1.32074, -0.0597573, -0.00906103, 1.25856, -1.66172, 1.05781, -0.0369336, -0.662383, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0242291, 0.135005, -0.482283, 0.236274, -0.351513, -0.57595, 0.0147931, 1.19874, -0.0269489, 0.405001, 0.00198897, 0.259945, -0.875825, -0.163482, -1.18211, 0.180921, -0.110865, -0.49736, -0.150296, -0.248147, -0.953357, 1.48818, -0.0769903, 0.0245394, -0.0836376, -0.346043, 1.07063, 0.919722, -0.00338835, 0.188423, -0.445555, -0.209024, -0.218623, 0.00447201, 0.350352, -0.466024, 0.0652116, 0.0360829, -0.162237, 0.00269485, -0.124101, -0.0167443, -0.760499, 0.0625619, -0.042516, 1.38549, -0.00767579, 0.378763, 0.0324429, -0.0265033, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0230861, -0.614451, 0.291329, 0.364409, 0.612935, -0.278996, 0.004588, 0.0612245, 0.03398, 0.171808, 0.18814, -0.306258, 0.195643, 0.0622614, 0.101497, 0.189061, 0.11544, 0.0180171, 0.689474, 0.932643, -0.376465, 1.735, -0.0140856, 0.00065285, 0.0297671, -0.10882, 0.423193, 2.13151, 0.260111, 0.0961658, -1.13995, 0.0095547, 0.26618, 0.987468, 0.466916, -0.893926, 0.110046, -0.0239101, -0.105683, -0.013039, 0.0595174, -0.0301833, 0.758675, -0.401508, -0.0211837, -0.334945, 0.434018, 1.111, -0.0234944, 0.0362675, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01743, -0.2507, 2.38, 0.005764, -0.9136, 1.483, -0.0818, -0.4812, -0.04227, -0.374, 0.8013, 0.2869, -0.0673, -0.6562, -0.193, -0.3088, -0.3635, 1.46, 1.833, 1.041, -0.4302, 1.363, 0.02809, 0.01534, -0.01008, 0.3198, -0.1908, -0.256, 0.716, 0.7183, -0.18, -0.05917, 0.7383, 0.5225, 0.908, 0.243, 0.3733, -0.02692, -0.1248, 0.0341, -0.2634, 0.02425, -1.54, 0.7476, -0.0357, -0.599, -1.266, 1.013, 0.0405, 0.331], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02534, 0.10474, 0.04504, -2.246, 0.432, 0.9487, 0.3916, 0.2137, 0.01009, 0.3435, 0.328, -0.4175, 0.088, 0.1407, 0.344, 0.8545, -0.4036, 0.654, 0.354, -0.1741, -0.006508, 0.03888, 0.542, 0.03014, -0.001104, -0.793, -0.662, -0.10596, -0.727, 0.3267, 0.1085, -0.9453, 0.3804, -0.01305, 0.3955, 0.1141, -0.2229, 0.02338, 0.1329, 0.0002028, -0.06168, -0.03925, -0.755, 0.3867, -0.002953, -0.097, 0.3696, -0.1956, 0.01384, -0.276], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02129, 1.277, 0.8594, -1.78, 1.046, 0.4343, 1.124, -1.338, -0.03995, 0.6113, -0.0093, -3.04, -0.4285, 0.1189, 0.752, 0.557, -0.182, -2.262, -3.09, 0.521, 1.012, -3.281, -1.935, -0.02707, 0.03586, 0.1521, 0.3792, -1.094, 0.003384, -2.494, -5.688, 1.283, -1.164, -5.887, 0.2717, -2.01, -1.294, -0.0151, -0.88, -0.02335, 0.291, -0.01793, 0.1433, -7.42, -0.006172, -1.929, -0.1698, -4.188, 0.01785, -0.1268], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03577, -0.02554, -0.01556, -0.02368, 0.02469, -0.04086, -0.00492, -0.02785, -0.0165, -0.03342, 0.003523, -0.02283, -0.03287, 0.00486, 0.02144, 0.02863, 0.001154, -0.04993, 0.01988, 0.02107, -0.0536, 0.002924, -0.01758, 0.000542, 0.03415, 0.02708, 0.006844, -0.00893, -0.0511, -0.03387, 0.004078, -0.05215, -0.04987, -0.04843, -0.0475, 0.00542, 0.0156, 0.0366, -0.01296, -0.02, 0.005825, 0.02518, 0.01605, -0.06158, 0.03372, 0.01584, 0.015465, 0.0226, -0.0445, -0.05185], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03833, -0.1425, -0.2466, 0.3167, 0.988, 0.629, -0.6685, 0.934, 0.0275, -0.2474, 0.2205, -0.2603, 0.737, 0.04443, -0.541, -0.322, 0.4082, 1.211, -0.3445, 0.7773, 0.3794, 2.41, 0.69, -0.02896, -0.013824, 0.1505, -0.2155, 0.4587, 0.1813, 1.245, -4.36, 1.301, -1.726, 1.695, 1.352, 0.8936, 1.288, -0.0475, 0.0402, -0.0378, -0.3604, -0.004562, -0.3418, 0.634, 0.02414, 2.393, 0.2281, 3.725, -0.00181, 0.6304], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0211, 0.6807, 1.133, 0.422, 1.05, 0.9126, 0.585, -0.0482, -0.0418, 0.1473, -0.2258, -0.4602, -0.1632, -0.02408, 0.3772, 0.2108, -0.4907, -1.487, -0.9204, -0.443, 0.01814, 2.367, 1.247, -0.00933, -0.01433, -0.2286, 0.4011, 1.36, -0.1837, 0.2317, -0.1813, 0.4304, -0.091, -2.566, -0.3835, 1.269, 0.642, -0.00287, 0.3342, 0.02663, -0.074, 0.02902, 1.55, 0.304, 0.02518, -1.066, -0.1819, 0.7017, -0.025, 0.2113], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.003067, -0.03653, -0.001243, -0.04578, -0.00984, -0.05426, 0.02855, 0.02031, 0.03046, 0.02097, 0.007412, -0.04184, -0.06134, -0.02858, -0.03976, 0.0385, -0.04816, -0.02112, -0.05087, 0.0176, -0.01046, 0.03247, -0.01493, 0.01316, 0.01539, -0.04694, -0.04794, -0.0373, 0.01894, 0.009995, -0.00863, -0.02557, -0.0501, 0.02716, 0.01918, -0.04803, -0.03014, -0.02095, 0.01278, 0.00621, -0.02829, -0.044, -0.0003476, 0.02676, 0.03815, -0.04044, -0.05664, -0.04803, 0.02652, 0.007996], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04257, 0.6074, 0.3938, -0.7734, -1.115, -1.589, 0.712, -0.3008, -0.01044, -0.941, -0.1998, 0.0867, 2.08, 0.127, 0.139, 0.6357, 0.2632, 0.6377, 1.727, 1.119, 0.959, 0.4517, 0.3997, -0.003338, 0.02837, 1.58, 0.7124, 1.733, -3.3, -0.509, 0.1249, 1.11, 1.173, -0.1478, 0.461, 0.07367, 2.045, -0.04117, 0.408, 0.04037, 0.0875, -0.010284, -0.893, -0.958, -0.0004807, 0.1509, 0.2084, 0.5156, 0.03107, 0.2754], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02162, -0.449, 1.682, 0.2019, -0.1322, -1.291, -0.523, -0.4067, -0.02972, -0.551, -1.824, 1.256, 1.086, -0.8467, 1.018, -1.074, 0.0765, -0.3801, 0.5337, 1.928, 2.785, 1.185, 0.9395, 0.04092, 0.0783, 0.4768, 0.01717, 3.742, 0.591, -1.391, 0.492, -0.4038, -0.927, 1.054, -2.375, 0.7627, 0.00579, 0.03925, -0.8584, -0.018, -0.05994, -0.0316, -0.2014, -0.11346, 0.03635, 0.4128, 0.4656, 1.175, 0.05096, 0.1528], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0446, -0.02525, 3.545, 0.513, 0.827, 0.6284, 0.08563, 1.07, 0.02286, 0.611, 0.6777, -0.1886, -0.2394, -0.86, 1.842, 0.2013, -0.01362, 3.553, 0.7163, 0.4229, 2.74, 2.242, 1.046, 0.015144, 0.04886, -0.4167, 1.241, -0.1826, 0.701, 1.702, -3.041, 0.8784, 0.5493, 2.68, 1.921, 0.382, 1.299, -0.01817, -0.526, -0.0397, -0.1311, 0.033, -4.195, 2.012, -0.0285, 2.037, -1.049, 3.16, -0.0372, 0.836], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01014, -0.2837, 0.943, -0.05295, -0.3022, -0.4275, 0.1962, 1.428, -0.0361, -0.5996, 0.6206, 0.2144, -0.04987, 0.137, -0.3828, -0.6646, -0.3137, 0.2996, -2.535, 1.137, -0.8613, 0.8525, -1.335, -0.02739, 0.03075, -0.5464, 0.583, 0.1831, -0.5815, -0.372, -0.09357, -0.1752, 0.2922, -0.2827, -0.1893, 0.3245, -0.4617, -0.05008, -0.03302, 0.02019, -0.1092, -0.02875, -1.15, 0.2817, -0.008156, 1.131, -0.00803, -2.22, 0.03091, 0.4358], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01912, 0.548, 1.666, 0.659, 1.173, 1.447, 0.1796, 0.2827, 0.00823, -0.198, 0.587, 0.03293, 1.5, 0.1827, 1.153, 0.5605, 0.8086, 1.14, 0.42, 1.032, 0.1776, 1.11, 0.9424, -0.015495, 0.005604, 0.676, -1.013, -0.3003, 0.4368, 2.154, 0.789, -0.0653, 0.2021, 1.151, 1.148, 1.009, 0.3186, -0.02554, 0.591, -0.03918, -0.1304, 0.03644, -0.8413, -0.516, -0.04044, 0.1897, 0.5337, -1.488, -0.0454, 0.7925], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02937, -0.1938, 0.1792, 0.5654, 0.3074, 1.207, 0.2288, -0.6016, -0.04465, 0.2656, 0.1012, 0.476, 0.42, -0.2164, 0.0803, -0.3904, -0.3076, 0.597, 1.605, 0.29, 0.731, 0.4543, 1.008, -0.01178, 0.01839, -0.0883, -0.261, -0.04657, -0.2405, 0.3623, -1.347, 0.62, -0.4275, -0.08325, 0.4207, -0.445, 1.675, 0.012825, -0.10785, 0.04016, -0.3088, -0.01749, 0.541, -0.2607, 0.0367, 0.8726, -0.423, 0.621, -0.01942, -0.4646], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.007343, 0.01103, -0.03372, 0.03284, 0.03073, -0.04922, -0.04333, 0.01422, 0.04163, 0.00797, -0.0181, -0.03305, -0.00845, 0.0101, -0.02779, -0.001156, 0.04205, -0.05542, -0.0216, 0.0002694, -0.00802, -0.01072, -0.02235, 0.0412, 0.0484, -0.03983, -0.0478, -0.04614, -0.01678, -0.04904, -0.0141, -0.05667, -0.01906, 0.02118, -0.051, -0.014854, -0.02472, 0.01551, -0.02943, -0.02444, -0.01674, 0.04776, 0.000338, 0.00926, -0.03047, 0.027, 0.02959, 0.02824, 0.03015, -0.04138], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0466, -1.115, -2.576, 0.902, -2.809, -1.24, 0.5796, 1.053, 0.05344, -1.098, 0.8813, -0.3062, 1.153, 1.056, 0.5166, 0.3296, -0.615, -0.3022, 0.3027, 0.6504, -0.4966, -2.057, 0.0887, -0.02048, 0.04163, 0.4197, -0.598, -1.509, 0.0649, -0.0762, 0.3137, -0.4336, -0.2527, -3.059, -1.749, -0.6685, -1.135, -0.01376, 0.508, -0.02667, -0.2598, 0.02574, 0.781, 0.006756, -0.010605, 3.02, 0.3687, 0.0708, -0.04144, -1.419], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0006256, -0.3496, 0.8594, 1.239, -1.078, 4.125, 0.905, 1.608, -0.03217, -0.1071, 1.326, -0.3003, 0.0945, 0.81, 1.511, -0.2072, -0.4636, 0.9067, 1.684, 3.117, 1.253, 0.6934, 2.936, -0.06094, 0.07025, -0.4639, -0.1915, 1.892, 1.215, 1.641, -0.2325, 0.404, -0.4648, 0.9785, 0.1431, -0.1604, 0.307, -0.0283, -0.0644, 0.001068, 0.4727, 0.0322, 0.886, -0.436, -0.04727, 0.1043, -0.3667, -0.0979, -0.0337, -0.6133], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01971, -0.03583, 0.694, 0.1174, -0.2856, -0.0287, -0.006313, 2.377, -0.02536, 0.3735, 0.741, -0.0889, 1.208, 0.1252, 0.6406, 0.3264, -0.1368, 0.4946, 0.05426, -0.128, 1.382, 1.742, -1.814, -0.03168, 0.05472, -0.1726, -0.006554, -0.2656, -0.4277, -0.6543, -0.11633, 0.5635, 0.2166, 0.2715, -0.3333, 0.3818, 0.507, -0.02791, -0.07587, 0.03952, 0.3174, 0.005924, 0.0688, -0.1766, 0.04507, 0.342, 0.1685, 0.659, -0.01662, -1.285], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01694, -0.03433, 0.03818, 0.00848, -0.02411, -0.0199, 0.01884, -0.02539, -0.01479, -0.00614, -0.02228, -0.01564, 0.0707, -0.03014, -0.01405, 0.0077, 0.0193, -0.0183, 0.03604, 0.00472, -0.05817, -0.00989, -0.0566, -0.03357, -0.005802, 0.06824, 0.0406, -0.03708, -0.0183, -0.03833, -0.02788, -0.04776, -0.07355, -0.03314, -0.002344, -0.03058, -0.0649, 0.02379, -0.06793, 0.02032, -0.06934, 0.01566, 0.01397, 0.02277, 0.01689, 0.02379, -0.03976, -0.01384, -0.01215, -0.04633], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01391, -1.329, -0.972, 0.526, -0.981, -1.111, -5.46, -3.676, -0.00618, -1.394, -0.328, 1.361, 0.2412, -1.609, -3.021, 0.2042, 1.45, -1.879, 1.104, -4.477, -1.995, -1.078, -2.643, 0.03476, -0.002037, -0.5737, -0.8423, -2.664, -0.795, -10.086, 0.433, -6.324, -1.482, 1.183, -1.572, 1.306, 0.015366, 0.01787, 1.121, -0.04706, -0.6763, 0.02925, -0.95, 0.6963, -0.02754, -2.393, -2.46, -4.88, 0.03732, -1.331], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02689, 0.07086, -3.03, 0.5757, -0.7275, -0.4631, 0.3171, -0.134, -0.04535, 2.055, 0.907, -0.2097, -0.3252, -0.4238, -0.7397, 1.167, -0.255, 0.3796, -0.2869, -3.8, 2.895, 1.491, -5.324, 0.02925, 0.0217, 0.2861, -0.549, 2.824, -0.4033, 1.101, -0.6885, 1.373, 1.906, -1.417, 0.534, 1.278, -0.1359, 0.001245, -0.2169, -0.02974, -0.5845, -0.0312, 0.8013, -1.507, -0.02618, 1.5, 0.336, 1.487, -0.015076, 0.6084], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04092, 0.4243, 1.274, 0.3337, 0.4832, -0.4702, 0.54, -1.889, 0.01369, 0.0404, 0.5596, 0.1659, -0.03973, 0.6035, -0.7974, -0.749, 0.5317, 0.6855, -1.097, -0.3257, -0.7197, -1.026, -0.0422, 0.01053, 0.00566, 0.1731, -0.702, 0.2937, 0.1536, 0.3835, -0.149, 0.7495, -0.699, 0.3618, 2.004, 1.393, -0.318, -0.04037, 0.01733, -0.03885, 0.394, -0.04468, -0.2925, -0.2069, -0.04218, -1.293, 0.8794, -2.936, -0.01816, -0.3142], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0404, 0.664, 0.06964, -1.002, 0.569, -1.055, -0.1672, 1.283, 0.0325, -0.02426, -0.4219, 0.2708, 1.549, -0.343, -0.4814, 1.474, -0.544, 0.2366, 0.732, 0.3635, 0.4841, 1.022, -1.096, -0.0399, -0.0285, 0.3176, 0.2678, 0.0859, -1.222, -2.477, 0.2258, -0.3318, 1.253, -0.6562, 1.811, 1.003, 0.03099, 0.01295, -0.1067, -0.02007, -0.0343, 0.0058, 0.597, -0.08026, -0.01517, 1.465, 0.3557, 0.7983, 0.00831, 0.4238], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.3105, 0.07556, 1.337, 0.1292, -0.158, 0.2007, 0.2974, -0.037, 0.2445, -0.8745, -0.8833, -2.262, 0.6396, -0.954, 1.633, -1.271, -0.654, -1.8, -0.663, -0.7637, 0.1641, 0.8955, -0.003822, -0.01637, -0.10645, 0.3655, -0.4895, 1.205, 0.4143, 0.06433, 1.023, 2.014, -1.026, 0.10016, -0.5537, -1.271, 0.02296, -0.12054, 0.02557, 0.932, -0.0138, -0.4824, 0.691, 0.03656, -1.551, -1.095, 0.9517, -0.004246, -0.1329], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02243, 0.09314, 1.737, 0.8154, 1.28, -1.6455, -0.03284, 0.5684, 0.0498, 0.692, -0.2076, 0.0803, 0.11664, 0.1005, -0.2062, 1.688, 0.721, 0.3103, 0.2654, -0.768, 2.75, 2.648, 0.63, 0.02525, 0.01582, -0.807, -1.836, 2.508, -0.312, 0.499, 0.283, -0.2688, -0.712, -0.5347, -6.473, -0.54, 0.4854, 0.02509, -0.3074, -0.0472, 0.1754, 0.03604, -0.7095, 0.338, -0.02359, 1.037, 0.674, 0.010445, -0.01784, 0.3127], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03928, 0.2493, -1.565, -0.1788, 0.3196, -2.713, -0.4243, 0.5244, -0.0331, -0.4407, 0.2732, 0.1517, 0.3772, 0.471, 1.936, -0.12415, -0.33, 0.2844, -1.213, -0.759, -0.4155, -3.637, -0.5757, 0.00815, -0.006046, -0.4402, 0.849, 1.553, -0.2264, 0.2025, -0.094, 0.1342, -1.767, -0.01519, 1.482, 0.913, -0.2113, 0.00858, 0.2142, -0.03867, -0.1174, -0.034, -0.137, 0.2666, 0.0457, 0.1774, 0.1282, 0.972, 0.02693, 0.2942], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.04507, -0.014854, 0.2656, -0.582, 0.5176, 0.758, 0.4622, 0.2441, 0.0274, 0.836, -0.402, -0.605, -0.00432, -0.584, 0.802, 0.1825, 0.1866, 0.6304, -0.1166, -0.2235, 1.022, 1.898, 0.505, 0.02016, 0.05215, -0.0924, 0.4092, -0.1228, -0.005474, 0.42, 0.2202, -0.576, 0.52, 0.941, 1.702, 0.2454, 0.4424, 0.0463, 0.1482, -0.03516, 0.1647, -0.0334, 0.1685, 0.3853, -0.001055, -0.4365, -0.7837, 0.768, -0.03772, 0.536], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00888, -0.1192, -1.187, -0.008965, 0.5933, -2.604, 0.7075, -1.039, -0.012955, -1.647, -0.4753, -0.2703, -0.092, 0.5723, 0.562, -0.2238, 0.4387, 1.057, -0.116, -0.2146, 0.011406, 1.161, -0.614, 0.007694, -0.01537, 0.3428, 0.1528, -1.271, -0.4001, -0.4607, -0.4006, 0.637, 0.4182, 0.774, -0.4033, 0.5747, -3.492, 0.006916, 0.2284, -0.00011754, -0.2808, 0.0516, 0.622, 0.2223, 0.003231, -0.2086, 0.008, -0.08, 0.04422, -0.84], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0316, 0.0697, 0.0902, -0.1499, 0.2778, 1.052, -0.02063, 0.533, -0.02206, 0.565, -0.763, 0.2474, -0.00884, -0.4844, 1.258, 0.98, 0.2345, 0.7485, -0.2727, -0.5884, -0.3862, 0.2137, 0.0951, -0.0453, 0.0576, 0.1298, -0.461, 0.11115, -0.3606, -0.5083, 0.2051, 0.3606, -0.04855, -0.1581, 0.9033, -0.7046, 0.2708, 0.01178, 0.01859, -0.03207, -0.12286, -0.03528, 0.6543, 0.3088, -0.04074, 0.527, 0.2893, 0.0924, -0.0078, 0.547], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01813, 0.0095, -0.02805, -0.01522, 0.03476, 0.02715, -0.03102, 0.001829, -0.04324, -0.04343, -0.03041, -0.007336, -0.0002075, -0.05106, -0.0424, -0.03772, 0.01576, -0.03223, 0.005344, -0.02563, -0.0347, -0.04755, -0.0164, 0.03815, 0.02788, 0.0132, -0.0442, -0.01462, 0.02739, 0.04242, -0.003246, 0.01188, -0.04257, 0.03586, -0.0003316, -0.05066, 0.0338, -0.01389, 0.013214, 0.04483, -0.05283, -0.01534, 0.007805, 0.00786, -0.02583, 0.0385, 0.00537, 0.0001824, 0.004066, -0.0469], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02116, 0.1804, 0.4392, -0.2443, 0.428, 1.074, 0.2642, -0.004578, -0.01994, 0.01149, 1.084, -0.8257, -0.2524, 0.3132, 0.346, 0.1334, 0.517, 0.347, 0.92, 2.158, 0.6846, -0.9443, 0.725, 0.01639, 0.04514, 0.11285, 0.3462, 0.227, 0.796, 0.604, 0.409, 1.135, 0.704, -0.517, -0.10065, -1.446, 0.1589, -0.04324, 0.08295, 0.04388, -0.0717, -0.0099, -0.18, -0.04907, -0.015205, -0.2515, -0.659, -1.072, -0.0421, -0.07947], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0457, -0.4822, -1.485, 0.1493, 0.4512, 0.1534, -0.375, -0.3496, 0.01184, -0.627, 0.2585, 0.1459, 0.3909, 0.1945, -0.2238, -0.2451, -0.123, -0.422, 1.459, -1.733, -2.844, -0.1917, -0.9146, -0.03091, 0.003159, -2.166, -0.737, 0.627, -0.142, 0.4119, 0.3965, -1.264, -0.328, 0.5005, -0.10486, 1.734, -0.05594, -0.00921, 0.522, 0.03876, -0.147, 0.02608, 1.018, -0.1362, 0.00856, -1.145, -1.62, -2.098, 0.03098, -0.591], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0318, -0.1608, 0.5254, 0.687, 1.404, 1.215, 0.276, -0.04794, 0.03033, 0.2615, 0.2369, 0.1271, -1.04, 0.4675, 0.4062, 0.3433, -0.629, -0.2268, 0.288, 0.429, 0.5986, -0.2089, 0.6113, 0.0288, -0.0361, 0.0831, 0.0748, 2.94, 0.81, 0.5576, 0.7417, 0.287, 1.736, 0.382, 1.355, 0.5005, 0.6074, 0.01575, -0.1804, 0.01645, 0.3262, -0.0406, 0.9214, 0.1638, 0.00998, 1.962, -0.58, 1.334, -0.04553, -0.5347], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01002, 0.05997, 1.281, 0.3599, 1.407, 0.36, -0.3381, -0.525, 0.01665, -0.796, -0.3347, 0.3774, 1.247, 0.0946, -0.2668, -0.9507, 1.368, 0.9976, 0.1207, -0.2534, 0.75, -5.465, 0.2155, 0.04532, 0.04218, -0.10095, 0.3042, 0.2856, 0.9707, 0.1494, 0.2947, 0.8887, 0.9834, 1.275, -0.2196, 0.12024, 0.8184, 0.01537, -0.2317, 0.00986, -0.2186, 0.01804, 0.72, 0.1354, 0.02617, 0.2092, 0.3145, -2.361, -0.01422, 0.55], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.00929, 0.1422, 0.6626, -0.281, 0.03592, -0.926, -0.5615, 1.024, 0.01051, 0.4512, -1.044, -0.01417, 0.149, -0.3904, 0.5576, -0.2213, 0.01953, -0.844, 1.416, 0.2678, -1.006, 1.118, 0.1871, -0.01098, 0.04657, -0.1189, 0.791, 1.852, -0.516, -1.011, -0.03918, 0.3135, 0.8003, -0.746, -0.3691, -0.72, 1.005, 0.0201, -0.11414, 0.01379, -0.2485, 0.002214, 0.4443, -0.0723, -0.01915, 2.578, -0.3228, 0.0998, 0.0453, -0.542], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02219, -0.3987, 0.2258, -0.8154, -0.7812, 0.3777, -0.3716, 1.873, -0.02602, 1.303, 0.3147, 0.7266, 1.7705, -0.519, 0.8535, 0.11395, -0.722, -1.22, 0.1573, 0.7046, -0.10925, 0.3542, 0.519, -0.02428, 0.03613, 0.6665, 0.4836, -0.162, -0.01872, 1.596, 0.3237, -0.2874, 0.2324, 1.642, 1.23, 1.626, -0.356, 0.005814, -0.42, 0.0009685, -0.2522, -0.0468, -0.5347, 0.08154, 0.01955, -0.3076, 0.621, 1.488, -0.04703, 0.4417], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03995, 0.7056, 0.827, -0.1115, 0.447, 0.3293, -0.4473, -0.4084, -0.0239, 0.1566, 0.532, -0.235, -1.926, 0.2239, -2.229, 0.02568, -0.8843, -1.136, 0.6626, 0.659, 1.547, 0.1896, 0.7124, -0.00925, 0.007057, -0.2021, 0.5493, -0.374, 0.3445, 0.8, 0.2073, -0.287, 0.0276, 1.106, -0.0194, -0.1069, -2.197, -0.02423, -0.1044, -0.03047, 0.4116, 0.01697, -1.16, 0.1023, -0.0311, 1.778, 1.032, 0.3672, -0.03577, -1.265], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02678, 0.4397, 0.11694, 0.2428, 0.1399, -0.1631, -0.146, -1.14, 0.03111, -1.409, 0.2404, -0.01933, 1.148, -0.1186, 1.916, -0.2976, -0.1805, -0.9927, -2.71, 0.1367, 0.496, 2.824, -0.04123, 0.03323, -0.01043, 0.8125, -1.42, 0.4944, -0.548, 1.115, -0.8604, 0.9976, -0.6543, -4.727, 1.141, -0.2783, 0.6177, 0.03775, 0.3423, 0.02307, -0.6133, -0.03552, 0.3977, 0.4062, 0.0499, -4.36, 0.4841, -2.982, -0.01733, -1.123], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03058, -0.1692, 0.05658, 0.5903, -0.09296, 0.4246, 1.137, -2.568, 0.0591, 0.782, 0.6294, 0.8027, 0.906, 0.348, 2.354, -0.919, -0.428, -1.135, -0.5347, -0.9644, -0.207, -0.5967, -0.2732, 0.00308, 0.01286, 0.3193, -0.9185, -0.636, -0.07544, 0.715, 0.02505, -0.1493, -1.736, 0.454, -0.444, 1.282, -1.213, 0.01507, 0.124, -0.01299, 0.298, -0.01692, 1.143, 0.03598, -0.02321, 0.8003, 0.4844, -0.636, 0.002707, -0.408], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01842, -1.247, -6.01, -0.865, -0.1335, 0.6265, -0.2285, 0.0539, -0.02405, -0.982, -0.316, -0.2001, -1.229, 0.3118, -2.143, 1.051, -1.062, -3.088, -2.41, -0.4412, -0.9883, -0.8022, 0.3738, -0.02188, -0.092, 5.704e-05, -0.612, 0.919, 1.107, 0.3508, -13.12, -2.434, 0.3755, -1.241, -0.747, -1.571, -1.075, 0.0245, 0.3962, 0.04245, 0.3528, 0.02693, -0.1552, -9.516, -0.03073, -2.2, -1.67, -2.158, 0.00818, 1.032], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02953, -0.839, 1.793, -0.2103, 0.494, -0.10156, 1.063, 0.014206, -0.04987, -0.5815, 0.2191, -0.5703, 1.436, 0.657, 0.304, 0.2018, -0.02028, -2.176, 0.02785, -0.88, 0.7725, 1.454, 0.1401, -0.01778, -0.02615, -0.2393, -0.05536, -0.04306, -0.818, -1.219, 0.05273, 0.1232, -0.04044, -1.894, 1.449, -2.105, 0.2246, 0.03436, 0.1462, -0.01695, -0.1703, 0.00675, 1.324, 0.2074, 0.000925, -0.1215, 0.2874, 2.783, -0.03854, -0.0942], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.04968, 0.6973, 2.05, 0.1777, 0.03214, 1.636, -0.1827, 3.266, 0.001538, 0.809, 0.01826, 0.8286, 0.8896, -0.4973, 1.66, -6.652, 0.4941, 0.1354, -1.014, 1.426, 2.936, 1.682, 0.3428, -0.04807, -0.0327, -0.2334, 0.04105, 0.6074, 0.2915, 0.4902, 0.003157, 1.345, 2.215, -0.4546, 1.554, -0.4243, 1.106, -0.00248, -0.07825, -0.01476, -0.7256, -0.03108, 1.769, 0.2988, -0.00828, -1.339, 1.348, 1.016, -0.01089, -0.08765], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03204, -0.1427, -1.993, 1.738, 0.5825, -2.363, -0.06824, 0.238, 0.004044, 0.4028, 0.6514, 0.5386, 3.102, 0.4988, 1.146, 0.4077, 0.2673, 1.386, -1.068, -1.095, -3.252, -5.953, -0.3027, -0.005306, -0.03937, -0.8965, -0.2517, -4.246, -2.795, 2.166, 0.1201, -1.3955, -0.6943, -3.404, -4.11, -0.3696, -3.928, 0.02705, 0.5264, 0.02086, 0.00815, -0.0338, 0.324, 0.2343, -0.01038, -0.248, -1.711, -1.55, -0.0496, -0.659], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.002941, -0.4277, 0.08704, 0.6, 0.64, 0.876, 0.4033, -0.06744, 0.00979, 0.1234, 0.3772, -0.2708, 0.3403, 0.1433, -1.02, 1.152, -0.4006, 0.602, 0.905, 0.1054, 1.011, -0.3538, 1.174, 0.0321, -0.05783, 0.08246, -0.447, 1.568, 0.3247, 0.829, -3.746, -0.4697, 0.519, -0.4329, -0.18, -0.3372, 0.08014, -0.0378, -0.1302, -0.0006466, -0.03192, 0.02492, -0.11554, -4.152, -0.01537, 1.439, -0.637, 1.132, -0.0322, -0.712], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02261, 0.4626, -0.1531, 0.832, -1.319, 0.831, 0.35, 1.005, 0.002028, -0.2474, 0.958, 0.2952, -1.873, -0.1641, 1.776, -0.282, 0.2747, 0.1787, 0.569, 0.9946, -0.4133, 2.525, 0.3591, -0.0383, 0.03497, 0.3557, -0.2195, 1.409, 0.2324, 1.064, -9.81, -0.2847, -0.7935, -1.042, 0.6006, -0.068, 1.987, 0.005833, 0.2192, -0.01985, -0.2051, 0.01602, 0.472, -3.629, -0.03412, 1.617, 1.043, 1.065, -0.01814, 0.652], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01258, -0.265, 1.245, 0.3213, 1.248, 2.287, 0.554, 2.979, 0.0112, -0.2335, -0.3804, -0.1289, 0.98, -2.11, 0.9126, -0.2944, 0.2761, 0.9263, -1.918, 2.664, 1.596, 4.984, 1.142, 0.04523, -0.01008, 0.6255, -0.1984, 0.3333, -0.0476, 2.438, -0.206, -0.4302, -0.2888, 0.368, 0.8994, 0.4873, -1.714, -0.02888, -0.093, 0.02197, -0.6636, -0.009575, 1.214, 0.1486, 0.04214, -0.973, 1.274, 0.803, -0.03693, 0.3582], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01506, -0.05994, -0.04865, -0.02258, -0.04208, -0.00815, 0.01898, -0.03345, 0.02145, -0.00437, 0.04282, -0.02068, -0.02483, -0.05835, -0.0617, -0.001029, 0.01385, -0.00591, -0.02768, -0.04214, -0.032, 0.02199, -0.000665, 0.03687, -0.01435, 0.01384, -0.02275, -0.02827, 0.0005536, -0.01563, 0.00788, -0.01956, -0.00712, 0.02151, -0.04022, -0.0398, -0.003553, 0.00624, -0.0519, -0.0002415, -0.03708, 0.01794, 0.01325, 0.002497, -0.0008554, 0.01021, 0.002346, 0.002735, 0.0495, -0.02313], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.003239, 1.08, -0.769, 0.4067, 0.541, 0.6035, -0.894, 0.419, 0.03918, 0.142, 0.11896, 0.438, -0.689, -0.3796, 0.11, 1.77, 0.2119, -0.187, 0.1996, 0.5137, -1.7295, 0.552, -0.1071, 0.006668, 0.01787, 0.4468, -0.5024, 0.3865, 0.0766, 0.4927, -0.1935, 0.4102, 0.1335, 0.981, -3.373, 0.1874, -0.706, 0.00606, -0.0958, -0.004982, -1.003, 0.006332, -1.124, 0.0809, -0.04114, 0.858, 1.106, 0.04257, -0.02219, 0.845], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01622, 0.3625, -0.2917, -1.123, -0.4885, -5.707, -1.762, 1.058, 0.02121, 0.06976, 0.2854, 0.01077, -0.3992, -1.136, -0.439, -1.208, 1.12, -0.2455, -2.691, -3.02, -0.5273, -1.34, 0.5713, 0.0241, -0.11096, 0.3323, 0.1423, 0.2656, -0.8125, -3.57, -0.2915, 0.2043, -1.159, -0.352, 0.605, -1.513, 1.856, -0.0403, -0.1769, -0.00816, 0.5933, -0.0384, -1.32, -0.05975, -0.00906, 1.259, -1.662, 1.058, -0.03693, -0.6626], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.135, -0.4822, 0.2363, -0.3516, -0.576, 0.01479, 1.199, -0.02695, 0.405, 0.00199, 0.26, -0.876, -0.1635, -1.182, 0.1809, -0.11084, -0.4973, -0.1503, -0.2482, -0.953, 1.488, -0.07697, 0.02454, -0.0836, -0.346, 1.07, 0.92, -0.003387, 0.1885, -0.4456, -0.209, -0.2186, 0.00447, 0.3503, -0.466, 0.0652, 0.03607, -0.1622, 0.002695, -0.1241, -0.01674, -0.7607, 0.06256, -0.0425, 1.386, -0.007675, 0.3787, 0.03244, -0.0265], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02309, -0.6143, 0.2913, 0.3645, 0.613, -0.279, 0.00459, 0.06122, 0.03397, 0.1718, 0.1881, -0.3062, 0.1957, 0.06226, 0.1015, 0.1891, 0.1154, 0.01802, 0.6895, 0.9326, -0.3765, 1.735, -0.014084, 0.000653, 0.02977, -0.1088, 0.423, 2.13, 0.26, 0.0962, -1.14, 0.00955, 0.266, 0.9873, 0.4668, -0.894, 0.11005, -0.02391, -0.1057, -0.01304, 0.0595, -0.03018, 0.759, -0.4016, -0.02118, -0.335, 0.434, 1.111, -0.0235, 0.03625]]
[-1.23478, -0.264469, 0.267763, -0.033294, -0.520729, 1.23169, -0.0221464, -3.04675, -2.04097, -3.56102, -0.0587972, -0.564314, 0.921208, -0.0187673, -0.578307, -0.356915, -0.420903, -0.0499427, 0.230089, 0.0145245, -1.79882, 0.0904793, -0.663786, -2.02211, -0.525753, -1.59602, 0.48332, 0.2203, -0.0173594, -0.927773, -0.436876, -1.66187, -1.45476, 1.47935, -2.05442, -0.924477, -0.629706, -0.769035, -0.426388, -1.28656, -3.0676, 0.97469, 0.304347, -0.608195, -1.02447, -0.0356095, -0.391001, -0.00731824, 0.915997, 1.55269, -1.234, -0.2644, 0.2678, -0.0333, -0.5205, 1.231, -0.02214, -3.047, -2.041, -3.56, -0.0588, -0.5645, 0.9214, -0.01877, -0.578, -0.357, -0.421, -0.04996, 0.2301, 0.01453, -1.799, 0.09045, -0.6636, -2.021, -0.526, -1.596, 0.4834, 0.2203, -0.01736, -0.9277, -0.4368, -1.662, -1.455, 1.4795, -2.055, -0.9243, -0.63, -0.769, -0.4263, -1.286, -3.068, 0.9746, 0.3044, -0.6084, -1.024, -0.0356, -0.391, -0.007317, 0.916, 1.553]
ReLU
[[-0.393878, 0.35843, 0.72796, -0.00449217, 0.809464, -0.929183, -0.0235743, -1.31379, 0.0893272, -0.0918779, -0.135752, -0.120153, -0.502698, 0.0483125, 0.525224, 0.398447, 0.676263, -0.0287181, -0.466211, -0.0213684, -0.144834, 0.147226, 0.0654387, 0.416842, -0.684249, -0.00860557, -0.474539, 0.501853, 0.0111717, -0.137831, -0.286146, -0.549232, 0.203357, 0.0222338, 0.925091, 0.109083, -2.31644, 0.205981, -1.07184, -0.524374, 0.203499, -0.00981463, 0.738541, 0.860584, -0.46897, 0.0108196, -0.308122, 0.184552, 0.655011, 0.0787412, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [2.58516, -0.326178, 0.087449, 0.0219335, -1.28167, -0.228666, 0.0443919, 0.507434, 1.99741, 2.11417, 1.2285, -0.955263, 1.84148, -0.023456, 0.321418, -0.394106, -0.95683, -0.00659644, 0.710766, 2.16806, 1.46727, 2.12908, 0.84152, 0.946951, 1.06371, 2.28094, 1.32139, 0.0652702, -0.00417988, 0.738301, -0.740169, -1.2559, 1.06236, -0.926519, 1.46998, 0.314234, 1.93122, 0.697533, 0.699159, 0.674939, 0.944936, -1.2099, 0.848502, -0.233885, 0.77575, 0.0175822, 0.814452, 0.876923, 1.02527, -0.449537, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.96285, -0.261727, -1.89424, 0.0654653, -0.942096, -0.403035, -0.0222072, -1.51352, 1.34977, 1.77619, 0.152434, -0.446185, 0.928488, -0.0241464, -0.857246, -0.00312694, 1.90994, -0.0263609, 0.966485, 2.51106, 1.17204, 0.0135041, -0.883944, 1.6007, 0.767171, -4.12757, 0.60007, 0.783165, 0.017749, -0.675483, 1.05274, -1.0858, 0.0704407, 1.76627, 1.3589, 1.8409, 0.209411, -0.142561, 0.444373, 2.06359, 1.50175, 0.105508, 0.427958, 0.198309, 1.83072, -0.0386184, -0.5834, 0.205094, 0.34403, 0.390492, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.244428, 0.59296, -1.75054, 0.0347317, -1.18126, -0.39888, -0.0422243, -0.196246, -0.00669933, 0.792391, 0.106147, 0.160571, -1.39079, -0.0202726, 0.426182, 0.52098, -1.67693, -0.0329183, 0.425921, 0.743852, 1.10827, -0.18588, 0.232884, -0.144353, -0.772586, -1.99911, -1.093, -0.745221, 0.0287114, 0.153786, 0.242029, 0.0328683, 0.0219738, 0.105125, 0.70221, 0.769671, -0.118145, 0.341125, 0.670001, -0.11667, 0.721026, 0.0850244, -0.535828, -0.102599, -0.309793, -0.0322694, 0.00447112, 0.274699, -0.772465, -0.725416, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.368312, 1.19987, 0.068803, -0.0381272, 0.586423, 0.409329, -0.0105197, 1.82619, 1.13286, 1.4128, 1.42571, -0.0925616, -1.61134, 0.0229932, -0.376709, -1.12633, 2.94341, -0.00445797, -0.830381, 0.421289, 0.510994, 0.596918, -1.29956, -0.288952, 0.641451, 1.02476, 0.332501, 0.51926, 0.00606303, -0.0930103, 1.43333, -1.19244, 0.277475, 0.779419, 1.69263, -0.223365, -0.67499, 0.401086, 0.0775088, 0.805708, 0.995276, -1.08969, -1.29547, -0.279285, 2.2202, -0.0163686, -0.903608, 0.276329, 0.628639, 0.454016, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.213253, 2.17697, 0.78001, 0.0429809, 0.819161, -0.502619, -0.0182944, 0.406278, 1.2078, -0.744871, 1.94601, 0.206204, -1.93287, 0.0203947, -0.0626698, 0.884512, -0.127167, -0.0420663, 1.30624, -0.270072, 0.882184, -1.87484, -0.00407857, -0.656807, 0.39743, -1.03821, 0.661335, -0.118222, -0.0200119, 0.0346856, -0.326647, 0.752204, 1.15695, 1.42941, -0.117977, -0.248742, -1.24264, -0.0403385, 0.0144975, 0.259552, -0.353375, 0.200672, -1.71625, 0.0412392, -0.736708, 0.0193731, -0.652859, 0.748298, -1.25599, -0.59727, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.785556, -0.59349, 3.04237, -0.0417, 0.746448, -0.430424, 0.0163102, 1.07053, 1.31539, 1.10855, -1.41858, -0.500289, -0.0964867, 0.0176538, 0.173131, -0.624634, 2.96489, 0.0856854, -0.185465, -0.320772, -1.64239, 0.52571, 0.585483, 0.39672, -0.541724, -0.313224, 0.0934767, 0.419555, 0.0521195, 0.191822, 0.233739, -0.318767, -0.90188, 0.665502, 0.0871374, -0.840503, 0.653202, 0.509419, 1.09769, 0.67424, 0.0245367, 0.444754, 1.72289, 0.495355, 1.19965, 0.0411434, 0.892582, 0.408219, 0.132209, -0.442961, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.32966, 2.90393, 0.43827, 0.0344, -0.153338, 0.0405733, -0.0425776, 0.270269, -0.227095, -1.10784, 0.605804, -1.12512, 0.764874, -0.0404754, -0.673213, -0.0128372, 2.16542, -0.0175619, 0.378126, 0.289863, 1.30868, -0.394817, 0.946241, 0.218271, 0.983735, 2.83075, -0.501629, 0.374817, -0.0216768, -0.874734, -1.25422, -1.07027, -0.0400087, 0.626281, -0.633012, 0.802715, 1.51225, -0.126549, 1.27202, 0.602467, 0.397873, -0.154911, -0.205038, 0.0204592, 0.62636, 0.030939, 1.82399, 0.120827, 0.243743, 0.487004, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.142707, -0.0801395, -0.082887, 0.0495881, -0.304972, 0.203613, -0.00210094, -1.34374, -1.89002, -0.467026, -0.945209, 0.18399, 1.2456, -0.0421085, 0.474846, -0.105114, 0.389009, -0.0755804, -0.176299, -0.247454, -1.48619, 1.11066, 0.448871, 1.70525, 0.0851926, 1.01831, 0.261911, -0.266715, 0.00657643, 0.237861, -0.200265, -0.139153, -1.40109, -0.0710802, -1.06083, 1.03942, -0.602187, 0.778306, 0.0264503, 0.0313153, -0.7271, -0.192046, -1.4491, -0.635014, -0.139471, -0.0196275, 0.76652, -0.946027, 0.213925, -0.395233, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.59573, 0.190257, -1.08086, -0.0184249, 0.651598, 1.11813, 0.0136164, 1.54625, 2.26396, 1.06128, 1.21685, -1.54054, 0.434078, 0.0056191, -0.417233, -0.529292, 2.61584, -0.0190886, -0.584155, 0.961197, -2.48335, 0.148114, -0.596141, 1.68224, 0.00503263, 2.96367, 0.512523, 1.4357, 0.027712, -2.39126, -1.86086, -2.01851, 1.31859, 1.60213, 1.46601, -0.16575, -0.224739, -1.14237, -1.08934, -0.504663, -1.29463, -0.606734, 3.30412, 1.77501, 0.976176, 0.0165431, -0.197528, -0.794597, 1.96277, -0.124709, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.349557, 0.0869318, 0.784087, -0.00799563, -0.974908, 0.282813, -0.00590119, 1.73843, 2.12448, 2.61662, 1.7504, -1.25494, -0.030326, 0.0408754, -0.0903857, -0.380246, 0.534665, -0.0385958, -0.399798, 0.749335, 1.24413, -1.62121, -0.647039, 1.66011, -0.767623, 1.68449, -0.837141, 1.17781, -0.0145057, 0.257123, 0.98553, -0.808831, 1.21621, 1.00531, 2.08285, 0.501117, 0.944174, -0.0848117, 0.589053, -0.777818, 0.473749, 0.433765, 0.988971, 0.797442, 1.85093, 0.0254454, 0.827495, -0.722846, 0.41463, -0.0188676, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [3.78384, 2.92451, 3.10232, -0.000915826, -1.03417, -0.0941289, -0.0387805, 0.814957, 2.61547, 2.15699, 2.92933, -2.32025, 0.474589, 0.0310583, -1.37105, -0.527534, 2.25779, 0.00762515, 0.299382, 2.17072, 1.65677, 0.879183, 1.25092, 4.17392, -0.341186, 4.28447, -0.490914, 1.26408, -0.0305689, -1.70644, -0.3977, -1.31068, 0.425422, 2.50131, 1.22095, 1.84139, 3.38806, -2.08348, 4.58494, 3.30544, 1.67168, 1.26081, 2.08978, 0.925086, 0.389733, -0.0310637, 1.43676, 2.44058, 2.68124, -0.143967, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.156849, 0.309358, -0.374491, 0.0239249, -0.07595, 0.507394, -0.00693192, -1.06626, -0.362813, -0.353755, 1.34093, 0.323685, -0.0934814, 0.0273457, -0.365936, -0.5422, 1.4004, -0.0383596, -0.455682, 0.0901341, -0.0533924, 0.418213, 0.0188977, -1.00878, -0.35913, -0.00748856, -0.152662, -0.220156, 0.00286766, -0.129983, -0.300272, -0.399017, 0.637844, 0.397246, 1.04322, 0.0305152, -1.7567, -0.00291832, 1.21167, -0.546534, 0.43843, -0.372213, 1.86206, 0.0357618, 0.156909, -0.00312543, -0.5888, 0.00904325, 1.08292, 0.208223, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.445809, 1.02422, -3.20057, 0.0318614, 0.607864, -0.913978, 0.0130299, -0.820177, 0.926557, 0.239963, 2.13435, 0.671949, -0.670928, 0.0324165, -0.00408462, -0.182245, -1.56602, -0.00637716, -0.0346165, 0.149096, 0.859943, -0.0629175, -0.153316, 0.480636, -0.434466, -0.855239, -0.892326, -0.49648, -0.0298435, 0.408225, 0.243837, 1.1792, -0.749402, -0.443892, -0.912135, -0.975913, 0.00539659, -0.252979, -0.547563, 0.315867, -0.552643, 0.22396, 1.05219, 1.52066, 0.0982773, 0.0178635, -1.42661, -0.921409, -1.44395, -1.95754, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.830556, -0.481863, -0.18202, 0.0417486, 0.221305, 0.0285944, -0.0375664, -2.24669, -0.696416, -0.0149814, -0.0698036, -0.411574, -1.92761, -0.0493441, -0.343601, -0.00821399, -0.0567373, -0.0111517, 0.221858, 0.0674172, -0.418909, -0.193047, -0.196775, 0.178052, 0.28434, -0.160526, 0.853343, 0.197845, 0.0426568, 0.109277, 0.0122666, 0.0872968, 0.285718, 0.187931, 1.34214, -0.0327542, 1.13624, -0.414499, 0.0828002, 0.246373, -0.414198, 0.0240619, 0.376562, 0.864767, 0.75348, -0.0122047, -0.0200505, -0.140551, 0.60972, -0.0156471, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.740454, 2.49979, 0.686297, 0.0636368, 0.367233, 0.150484, -0.0217644, 1.01844, 1.50355, 0.913759, -1.54992, -0.688457, 0.240157, 0.0252473, -0.380938, -0.111334, 2.95024, 0.0304525, 0.020721, 0.644484, 0.665138, 1.6942, 0.962284, 2.57479, -0.0643629, 0.377653, -0.315925, -0.630149, -0.0297464, -0.292987, 0.489228, -1.10332, 0.131097, 1.39649, -0.686464, -0.411087, 0.624688, 0.272973, 1.48654, 1.06938, -1.83303, 0.273255, 0.351182, -0.801132, 2.2912, -0.0198876, 0.669793, -0.519318, 1.64445, 0.271385, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.619656, -0.231372, -0.411522, -0.0108604, -0.130439, 0.629808, 0.0326454, -0.210251, 0.28337, -0.37321, -0.222743, -0.182117, 0.210533, 0.0027956, 0.0745678, -0.00944433, 0.242754, 0.0411793, -0.0907545, -0.16076, -0.285241, -0.127318, -0.210129, -0.136782, -0.143325, 0.0254547, 0.0312028, 0.156091, -0.00381057, 0.0471896, 0.294851, -0.00910786, 0.360972, -0.182802, 0.138192, -0.205458, 0.477041, -0.0426491, 1.35581, 0.0967916, 0.157962, 0.0601959, 0.00841837, -0.161554, -0.106322, -0.0213732, -0.249197, -0.433931, 0.265088, 0.0997686, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.696616, -0.528911, -0.523153, 0.00501856, -0.534656, 0.238759, -0.0205936, 0.496134, -0.267155, -0.826039, 1.52662, 0.158861, -1.0239, -0.0369184, -0.191636, 0.0107345, -0.438263, -0.0250144, -0.277294, -0.647348, 1.22409, -0.418283, 0.181288, 0.127927, 0.0424607, -0.353145, 0.296626, -0.305431, -0.0248409, 0.0528117, -0.21468, -0.274215, 0.0581723, -0.0648903, -1.19784, -0.155961, -0.993309, -0.116473, -1.40638, 0.203553, -0.544262, 0.228064, -1.02431, -0.536886, 0.242077, 0.00659147, -0.120233, 1.70526, -0.806859, 0.432699, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00264072, -0.876189, 0.321322, -0.0388514, -0.480584, -0.1939, -0.0310907, 1.05087, -0.629849, -0.138728, -0.50223, 0.43179, 0.885426, -0.00376055, -0.0297206, 0.220839, -1.29196, 0.0586515, 0.10338, 0.672148, 0.644691, -0.756969, 0.324713, -0.757192, -0.222777, -0.840585, 0.0797318, -0.854377, 0.00705073, 0.191267, -0.220166, 0.459028, -0.531805, 0.136136, -1.17973, -0.488119, -0.559153, -0.0376673, -0.425867, 0.516553, 0.258326, 0.0641946, -0.666689, -0.10101, 0.0851874, -0.0376421, 0.463779, -0.0862234, -0.625349, -0.606502, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0229309, -0.0120138, 0.00319502, 0.0237931, -0.0268383, 0.0165066, -0.00477437, -0.039485, -0.0463675, -0.00377086, 0.0351066, -0.0811878, -0.0540585, 0.0393368, 0.0151197, 0.0389614, -0.0240164, 0.0385291, -0.0113119, 0.031408, -0.0366696, -0.0328914, -0.00302926, -0.000350447, -0.0038981, 0.00711092, 0.0108126, -0.0197087, -0.00593005, -0.034424, -0.0380552, -0.0560857, -0.0321614, -0.00670077, -0.00787027, -0.0147682, -0.0448718, -0.078205, -0.0161927, 0.0253763, -0.0110008, 0.012158, -0.0330597, -0.00695663, 0.00745809, 0.0105001, -0.0325484, 0.0390122, -0.0409543, -0.0332817, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.859252, -0.117052, -1.29604, -0.0015216, -0.106904, 0.0891328, -0.0192596, 1.09386, 0.840287, 0.205736, 0.673327, -0.498578, 0.760083, 0.0373551, -0.888883, 0.0748364, 1.5821, -0.0293047, -0.333097, -0.172806, -0.379235, 0.470978, -0.7951, -0.240114, -0.133886, 0.991544, 0.0774676, 0.444034, -0.0259451, -1.2847, -0.404298, -0.380758, 0.574748, 0.32179, 0.176963, 0.353863, -1.83397, -0.167524, -1.34525, -0.0153685, 0.416226, -0.167735, 0.550326, 0.232096, 0.572469, 0.0148138, 0.355508, -0.305458, 0.0178185, 0.32447, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.742766, -1.73646, -0.567539, -0.00282602, 0.623498, 0.573718, 0.048402, -1.75547, 0.978368, -1.12566, -1.29302, -0.282544, 0.535119, -0.0404521, -1.37153, -0.88019, -0.840513, -0.0681338, -0.902201, -0.77842, -1.54087, 0.766994, -0.26237, -1.37454, -0.0775878, -1.87887, -1.16006, 1.25163, 0.0359873, -0.334689, -0.538521, -0.450097, 0.30699, -0.0622337, 0.694023, -0.317795, 0.281026, -0.405307, -1.26776, -0.960404, -0.110001, -0.0791181, 2.08304, 1.45484, -1.04284, 0.0138997, -2.46416, -0.578271, 1.08547, 1.23504, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.57585, 3.60424, -2.93175, 0.0347132, 0.0282978, 0.396023, -0.0263347, 3.40626, -3.7319, -2.08305, 1.50726, 0.438309, 0.822055, 0.0146573, 1.33283, 0.25307, -1.22594, -0.0245248, -0.523732, 1.95409, -0.235378, -3.00093, 2.2045, -1.24778, 0.102807, 0.706497, 0.0444942, -2.27269, 0.0185233, -0.804293, -0.502102, 1.04139, 1.06423, -1.89614, -1.40697, 1.04984, 1.2527, 0.347987, 0.983171, 2.04455, -1.59938, -0.143255, -2.24826, -0.682614, 2.77135, -0.0147054, -0.593641, 2.11957, -2.53295, -2.20689, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0787304, 0.0324694, 0.0011297, 0.0232359, -0.376808, -0.578332, 0.0330772, 0.593557, 1.31086, 0.872011, 0.739141, -0.411849, -0.0439553, -0.00511328, 0.0475812, 0.675897, -1.72457, -0.0474993, 0.327481, 0.373565, 1.86767, 0.313931, -0.189521, -0.511217, -0.493088, 0.944141, 0.484103, 0.615778, -0.00649592, -1.39504, 0.18124, -0.815595, -0.124835, 0.737511, 0.87211, 0.738694, 1.18197, -0.565708, 1.31407, 1.77631, -0.612424, 0.331339, -0.434036, 0.822722, 1.48539, 0.0174201, 0.945929, 1.37655, 1.2725, -0.870741, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.76395, 0.1996, 1.71559, 0.0129577, 0.637193, 0.242987, 0.02241, 1.4369, -2.26683, -3.24108, 0.691535, -0.728576, -1.46146, 0.0312136, 0.57705, 0.104075, -1.57401, 0.0182585, 0.340256, -0.880211, -0.928572, 1.36469, -0.704162, 0.894702, -1.66453, 0.13771, 0.593134, 1.38101, 0.00730859, -1.14734, -0.269617, -0.52154, -0.110466, -0.341575, 0.762065, 1.19831, 0.952639, 0.420147, 1.41325, 1.00546, 0.0808051, -0.260712, -0.972807, 0.718796, 1.59051, -0.0433536, -0.276872, 0.934389, 1.04859, -0.296046, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.161076, 0.174445, -0.660211, 0.0204816, 0.558597, 0.594182, -0.00303106, 0.0159179, 1.9649, 0.677895, -0.840698, -0.890346, 1.35477, 0.0248952, 0.643079, 0.343154, -0.943186, 0.00936451, 0.0969821, -0.107833, -0.817465, -0.127512, 0.250694, 1.52897, 0.455572, 0.742095, -0.00939257, 0.909043, 0.0123523, -0.615595, -0.273529, -1.46372, -0.375935, -1.21286, -0.0824397, -0.0853332, 1.193, -0.109561, -2.49791, -0.387518, 0.441116, -0.0569023, 0.424241, 0.422499, 0.125603, 0.0323997, -0.653088, 0.0617978, -0.54886, 1.52928, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.469645, 1.8055, -0.197516, 0.0459566, 1.1735, 0.0622259, -0.0102878, -0.390127, 0.290462, -0.52153, 1.33743, -0.0712437, -0.489113, -0.0334614, 0.326066, -0.588765, 1.14441, -0.0421531, 0.261964, -0.297982, 0.438745, 0.871786, 0.0647927, 0.727915, 0.0291448, -0.496362, 0.428533, 0.327182, -0.0414587, 0.472338, -0.692434, -0.273381, -0.120302, -0.820586, -3.71798, -0.257865, 1.24895, 0.0189088, -1.30129, -0.0525728, -0.713225, -0.467205, -0.724231, 0.161597, 0.776869, 0.00832459, 0.00792696, -0.0282284, -1.40962, 0.825105, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.042388, -0.0137589, 0.0252431, 0.0405946, -0.00263613, 0.0259608, 0.0379704, 0.0393269, 0.00265282, 0.0176147, 0.0344306, -0.0251566, -0.0391213, 0.029255, 0.0192728, -0.037103, 0.0467641, 0.0167445, 0.0294659, -0.0492814, 0.00772888, -0.00451398, -0.00450609, 0.0168866, -0.0492137, 0.0173189, -0.0423318, -0.0291029, -0.0271668, -0.0225832, -0.00313362, -0.0282385, -0.0496208, -0.0301078, 0.00440129, 0.0214355, 0.00743999, -0.0277556, 0.0183505, 0.0380335, -0.02196, -0.0338062, -0.00134899, 0.0335826, 0.0250766, -0.044858, -0.0401996, 0.0304951, -0.00924281, -0.0376415, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.216971, -0.825522, 0.878032, -0.0472229, 0.361792, 0.0461405, 0.0210777, -0.363413, 0.412081, 1.42567, -0.0550044, 0.0519395, 0.877139, 0.0229993, -0.338351, -0.115284, 0.0690251, -0.0369556, 0.161432, 0.206363, -0.0344023, -0.0222184, 0.0207951, 0.580751, 0.169589, 0.230809, 0.370861, -0.0448808, 0.00988658, 0.243671, -0.101776, 0.608673, -0.260498, -0.463678, 0.607501, 0.418741, -1.35517, -0.640193, -1.07322, 0.0156993, -1.58524, 0.241115, -0.86495, -0.251434, 0.282316, -0.0369635, -0.645796, -0.0118154, 0.998532, -0.0950606, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.835316, -0.802576, 0.957831, -0.0463288, 0.372123, -0.167561, -0.0192388, 1.50561, 4.23294, 1.52492, 1.11797, -0.352697, 0.943918, -0.00682828, -0.124397, -0.577477, 0.168168, -0.0280991, 0.73721, 1.14366, 1.151, 1.79637, 0.308924, 0.370482, 1.46818, -2.63392, 0.719778, 0.72481, -0.021225, 0.648568, -0.692472, -0.135592, -1.90639, -3.66446, -0.376034, -0.340487, 1.6234, -1.26558, 3.23535, -0.211781, 0.117645, -0.126944, 0.388396, -0.569593, -2.13688, -0.0511639, 0.389795, 1.03549, -0.745366, 0.250648, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.463395, 0.623711, 1.33397, 0.0360302, -0.211387, 0.52329, 0.00869146, 1.00119, 1.73102, 0.0472727, -1.26565, -1.08026, 0.359896, -0.0239675, -1.1132, -0.306039, 1.9988, -0.000215725, -0.412885, -0.485065, -0.559317, 0.424179, 0.330443, 1.17581, -0.730794, 1.09719, -0.217609, -0.148304, -0.0111096, -0.614078, 0.368445, -0.996289, -0.00169573, 1.2042, 0.590119, 0.278128, 0.430567, 0.0258397, 0.392574, 0.0990251, 0.0827695, 0.167698, 1.52469, 1.50035, 0.110319, 0.0255077, 1.50598, 0.0081768, 1.41017, -0.157693, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.336923, -3.44448, -0.0422761, -0.0273972, -0.22666, 0.314959, -0.0341384, 1.50049, -0.219088, 1.31656, -6.29678, -0.178264, 0.645593, 0.0195912, -0.745438, -0.23883, -1.30685, -0.0709437, 0.467601, 0.561642, -0.590916, 0.165143, 0.228536, -0.722737, 0.049198, -0.252766, -0.196736, 0.167977, 0.0443522, 0.33195, 0.134274, 0.0382914, -0.104002, -1.2564, -0.474919, -0.251921, -0.192789, 0.390418, 0.786698, -0.588101, -0.175477, -0.0218914, -0.185001, -0.59551, 0.635802, -0.0309976, 0.667042, -2.27393, -1.22654, 0.581786, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [3.2176, 3.07838, 2.25835, -0.0238111, 0.727968, 0.286749, 0.0273887, -1.70908, 3.60407, 0.224886, 0.439568, -2.26198, 1.04662, -0.0225354, -0.514485, 0.0450561, 1.52384, 0.00896384, 0.262296, 0.469589, 2.45612, -0.769194, 0.863843, 2.0338, 0.0425672, 2.38724, -2.43361, 2.43783, 0.0341324, -0.352529, 1.6406, -1.24597, -0.765252, -0.03757, -0.360499, 2.21349, 2.54319, -1.25358, -1.10902, 0.19304, 0.321964, 0.663879, 0.606488, -0.80387, 0.111514, 0.0042708, 2.40577, 0.587015, 0.403067, 0.478924, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.12471, 0.0296377, -0.146788, 0.0131916, 0.0457092, 0.0381809, -0.00888233, 1.22529, 0.306256, 1.65198, -2.04999, -0.932265, 2.95821, -0.0385786, -0.0530566, -0.651395, 2.38611, 0.0133325, -0.765812, 1.06541, -0.931496, 2.27445, -0.233455, 1.82169, 0.308087, 1.67603, -0.0664522, 2.99695, 0.0107441, -0.551631, -0.0580498, -1.12112, -0.319078, 0.725763, 1.793, 0.517875, 0.847084, -0.335314, 2.61267, 0.289133, -0.0239973, -0.146294, -0.675592, 0.218284, 0.695281, 0.0335905, -0.401644, -0.474724, 2.6237, 0.799464, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.776076, -0.817299, -0.512589, 0.0378806, 0.86144, 0.243958, -0.0410762, 0.505871, 1.7993, 0.372746, 1.30557, -0.564205, 0.221296, -0.0500983, 0.8691, -0.266572, -4.27161, 0.00237565, -0.0755857, 0.138695, 0.456835, 1.47883, 0.332207, 0.0569256, -2.01562, -0.430743, 0.678411, -0.00173925, 0.0293804, -0.1275, 0.781718, -0.668559, 0.489768, -0.384012, 0.475289, 0.0526588, 1.50481, -0.841233, 0.419991, -0.0844802, 1.03044, 0.060077, 0.421652, -0.845629, 0.534884, 0.0212919, 0.762817, 1.77655, 0.359771, -0.00446946, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [3.74754, 0.981501, 4.1935, -0.01844, 1.16858, 3.65551, -0.0162938, 0.512521, 4.28604, 1.53723, 5.06902, 4.26713, 0.575742, -0.00470535, 4.88424, 5.2197, 0.5685, -0.0321214, 4.82557, 3.38312, 4.00295, 2.11482, 4.4431, 3.33877, 1.32441, 1.19321, 5.34778, -0.0159414, 0.0235568, 3.10698, 1.22306, 3.32767, 0.754847, 0.827702, 4.22593, 4.80332, 1.6234, 1.95273, -0.878672, 6.6685, 4.40221, 0.801638, -2.11467, -0.0147843, 3.83492, -0.0277824, 5.48116, 7.28382, 2.72836, 2.84049, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.418552, -0.160556, 1.12772, -0.0136214, 0.479552, -0.385089, 0.00662183, 0.89017, -1.67028, 0.22769, 1.47293, -0.682096, 2.43318, -0.00940888, -0.344562, -0.322306, 3.57301, -0.0421677, 0.797762, 0.329637, 1.72031, 1.89084, 0.386028, 1.62918, 0.47998, -0.408971, 0.869212, 0.564471, -0.0202688, -0.965844, -0.249215, -0.922723, 0.730658, -1.3936, -1.39358, 2.79345, 0.354658, -0.0213874, 3.24637, 0.828754, 2.60444, -0.0973118, 0.096168, -0.531632, -4.15977, 0.0321598, 0.395864, 1.14204, 0.598475, -0.395218, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.50909, 1.49998, -0.810736, 0.0310835, 0.243721, 0.274843, 0.00466578, -0.116444, 0.223772, 0.620242, 2.39399, -0.45487, -0.716893, 0.0289747, 0.221779, -1.14615, 0.371613, 0.0709968, -1.20527, 1.79935, 0.798266, -1.19904, 0.29438, 0.125693, 0.0746465, 0.95109, 0.761311, 1.17477, -0.0479387, -0.000679822, 0.934757, -0.705277, 0.477707, 0.510795, 0.986115, 0.25622, 2.14058, 0.327674, 1.4006, -0.184706, 0.661716, -1.23627, 1.37733, -0.685068, 0.351921, -0.0303133, 0.351591, 1.89098, -0.63457, 0.756429, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.168517, -0.00452596, -0.513604, 0.023113, -0.337289, 0.276306, 0.0279307, 0.0357853, -0.175866, -0.252627, -0.686702, -0.30664, -0.663865, -0.0490088, 0.113933, 0.630957, -0.244046, -0.0204868, 0.0439733, 0.299603, 0.455578, 0.31618, -0.0935981, -0.116656, 0.165292, 0.236697, -0.286704, 0.314798, 0.0108285, -0.0566879, 0.149834, 0.00274254, 0.183555, -0.0845217, -0.293324, 0.339271, 0.479246, -0.171329, 0.695131, 0.337403, 0.145384, 0.150439, 0.0551764, -0.117729, -0.215271, 0.00479373, -0.600013, 0.289207, -0.0655336, -0.681641, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-2.54672, -8.16363, 1.41603, -0.0551662, 0.730845, -0.0367681, 0.0192837, 0.528315, -1.68072, -0.692059, 1.87375, 0.63153, -1.72832, 0.0218909, -2.2805, 1.29885, -3.04669, -0.00579371, -4.43905, -3.53354, 4.57693, 0.736016, -1.5145, 1.32026, -2.12286, -6.2362, -0.314489, -4.59902, 0.0407394, 0.0803878, 0.896175, -0.253713, -0.0161902, -1.97158, 3.65258, -3.55342, -5.40185, -0.166916, -3.08387, 1.09649, -0.922571, -2.81673, 0.856505, 0.213578, -1.3536, -0.0236431, 0.0970471, -3.47001, -6.50958, -0.525084, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0137849, -0.0536254, 0.0158057, 0.0497234, -0.00329473, -0.00235484, -0.031691, 0.0388767, -0.0487448, 0.0333868, 0.0108206, -0.0192135, 0.0180267, 0.0240777, -0.0172599, -0.00969261, 0.0136269, -0.00744226, -0.0271597, -0.0100923, 0.0235974, -0.00167911, -0.038633, 0.00733045, -0.0292755, -0.0385038, -0.00292407, 0.025985, -0.0293417, -0.0315557, 0.00895965, -0.00552594, -0.00584415, -0.0563469, 0.00243298, 0.0241, 0.0284737, 0.00947068, -0.0349513, 0.0329486, 0.0218866, 0.000775696, 0.0111154, 0.0309732, -0.00792239, 0.0366919, -0.0556732, -0.0419303, -0.00319322, -0.0138853, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.165381, -1.75409, -1.6155, 0.00387215, 0.0361314, 0.0667254, -0.030504, 1.18651, 0.423248, -0.0705935, 0.806655, -0.577011, 0.554846, -0.0336982, -0.23127, -0.492652, -0.332347, 0.0189391, -0.072479, 0.575862, 0.461897, 1.7173, -0.118995, 0.930037, -0.7963, 1.08157, -0.133202, 0.757447, -0.0308286, -0.812435, -0.451676, -0.194125, 0.859194, 1.03248, 0.380128, -0.961734, -1.12197, -0.346602, -0.291164, -0.273364, -0.377956, 0.130485, 2.5867, 0.539899, -1.30756, 0.000264047, 0.226184, 0.174307, 1.13564, 0.0695867, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0974658, 1.55361, 0.108158, 0.0227874, 0.167401, -0.046536, -0.0344433, -0.407101, -0.344841, 0.1745, 1.13155, -0.702042, -0.106134, -0.0108797, 0.26425, -1.15774, 2.19304, -0.0135509, -0.11799, -0.138362, -0.171478, 0.213685, 0.561121, 1.74159, 0.411079, 0.589297, 0.938664, 1.22711, 0.0398209, 0.00858897, 0.0600559, -0.0296519, -0.236358, 0.644716, -0.280556, 0.0260859, -1.10532, 1.3581, 1.89641, -0.0928172, 0.473709, -1.72294, 1.2398, 1.32799, 0.940163, -0.0534905, -0.134954, 1.19038, -1.51621, 0.357045, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [3.24836, 0.691795, -1.47202, -0.00160122, 0.383893, -2.48482, -0.0463567, 1.57349, 1.79972, 0.242885, 2.49831, -1.14919, 2.42472, 0.0226615, -0.784927, -0.221916, 3.14177, 0.0421929, 0.527514, 0.784188, -1.30344, 2.34154, 0.989644, -1.94715, 1.35573, 3.72675, 2.19525, 1.67245, -0.0537509, -0.690234, 1.46626, -2.05319, 2.40974, 0.21721, 1.81194, 1.59863, 3.06589, 0.542154, 3.78833, -0.344771, 2.49384, -0.956334, 1.19469, 0.771245, 1.46819, -0.0384707, 1.54071, 0.676805, 1.93059, -0.581626, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.186141, 2.74806, 1.65498, 0.00148606, 0.363627, -0.203183, -0.0245182, 1.64412, -1.23637, 2.22821, -0.441694, -0.983785, -0.634675, -0.0417627, -0.0849217, -0.852204, 3.56023, -0.00239575, 0.140074, 3.1757, -0.772014, 0.0177191, 1.28623, 3.20623, -0.410952, 2.12841, 1.06156, -2.16177, 0.0287112, -0.880233, 1.76032, -1.44879, -1.62916, 1.90503, 1.83619, 0.711201, 1.09801, -0.620056, 2.14974, 2.28642, 0.517348, 0.307516, 1.5386, -0.0322675, 1.85636, 0.0400503, 2.02228, 3.89855, -2.25751, 0.715787, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0877873, 0.337575, 0.530912, -0.0205463, 0.551741, -0.190886, 0.0228073, 0.301312, 0.661815, -0.711802, -0.0659312, -0.0655242, -1.26042, 0.039207, -0.0783497, -0.176018, -0.911198, 0.0438733, -0.171229, -0.788553, 1.03602, 0.227157, -0.58437, 0.813346, -0.144998, -0.00563618, -0.331998, 1.07252, 0.0150329, -0.192886, 0.0422391, 0.426097, 0.581497, -0.669427, -0.24415, -0.517621, 0.637578, -0.359786, -0.514744, -0.248141, 0.0249956, 0.286117, 1.45906, 1.30375, 0.57477, 0.00515401, -1.16195, -0.193987, -0.694395, 0.628094, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.0794, 0.429074, 0.618074, 0.00668483, 0.570913, -0.0400485, 0.00582445, 1.31283, 0.0599567, 0.0350679, -1.02513, -0.448416, 0.30321, -0.0164523, -0.528824, -0.10511, 0.752577, 0.0454187, -0.244881, 0.14906, 0.323738, -0.0483248, 0.278812, 0.692192, -0.72084, 0.066933, 0.686703, -0.0981185, -0.0354454, 0.296278, 0.388386, -0.419556, 0.311407, 0.729783, -1.05926, 0.113841, 1.34887, -0.0878853, -0.487907, -0.898925, 0.157509, -0.229053, 0.449012, -0.82168, 0.507735, 0.0484572, -0.429798, 0.845273, 1.23952, -0.211493, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.147346, 1.52135, -2.58647, -0.0541427, -0.543208, -0.0106217, 0.0110344, 0.558896, -0.317425, -0.990686, 1.9762, -0.0736324, 1.32899, -0.0265475, 0.149941, 0.700794, 0.364956, -0.0180157, 0.708744, 1.08517, -3.94781, -0.0282425, 1.0832, 0.0368816, -0.575093, 1.10927, 0.251991, -1.33629, -0.00663128, -0.187675, -1.12493, -0.362107, 0.2666, -0.612734, -0.876516, 2.14786, -2.70159, 0.61391, -1.18038, 0.132979, 1.08978, 0.103999, -3.88496, -3.28784, -0.710264, 0.0154599, 1.46057, 0.219151, -0.00479078, 0.187367, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.21358, 2.15138, -3.74256, 0.0205762, -0.699011, -0.600841, -0.00466562, 0.640398, 1.57781, -0.86288, 0.897788, -0.328991, 1.35853, -0.0336036, -0.333445, -0.897865, 1.23053, -0.0460945, 0.636923, 0.654931, 0.810724, 1.70878, 0.542329, 1.47472, 0.672987, -1.44599, 0.507357, 0.187003, 0.0200324, 0.479765, -1.39217, -1.44409, -0.676295, 0.932616, 0.263301, 0.130485, 0.354044, -0.364893, 2.32014, -0.765996, 0.151272, 0.0180004, -0.622085, 0.682435, 0.756276, -0.00668701, 0.0558605, 0.807698, 1.1313, 1.01411, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00963669, 0.6198, -0.0860072, 0.0316191, 0.976985, -0.00132159, -0.0337707, 0.0524549, 1.92855, 1.12655, -0.733271, -0.628047, 1.20285, 0.0459026, -1.01693, -0.80856, 0.172569, -0.0436003, -0.875436, -1.15459, 1.3371, -2.18064, 0.097589, 0.202074, 1.42085, 1.03207, 1.741, 1.15699, 0.0376366, -0.661484, 1.25099, -0.326063, -0.324266, -0.317854, 1.42994, 1.29577, 0.0540359, -0.503849, -2.27559, 0.586914, -0.00453877, 0.511602, 0.342261, 0.623429, 1.09064, -0.0406318, 0.603227, 2.51843, 0.599552, -0.14164, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3938, 0.3584, 0.728, -0.004494, 0.8096, -0.929, -0.02357, -1.313, 0.08936, -0.09186, -0.1357, -0.1202, -0.503, 0.0483, 0.5254, 0.3984, 0.6763, -0.02872, -0.4663, -0.02136, -0.1448, 0.1472, 0.0654, 0.4167, -0.684, -0.008606, -0.4746, 0.502, 0.01117, -0.1378, -0.2861, -0.5493, 0.2034, 0.02223, 0.9253, 0.1091, -2.316, 0.2059, -1.072, -0.5244, 0.2035, -0.00981, 0.739, 0.8604, -0.469, 0.01082, -0.308, 0.1846, 0.655, 0.07874], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.586, -0.3262, 0.08746, 0.02193, -1.281, -0.2286, 0.0444, 0.5073, 1.997, 2.113, 1.229, -0.955, 1.842, -0.02345, 0.3215, -0.394, -0.957, -0.006596, 0.711, 2.168, 1.467, 2.129, 0.8413, 0.947, 1.063, 2.281, 1.321, 0.06525, -0.00418, 0.7383, -0.74, -1.256, 1.0625, -0.927, 1.47, 0.3142, 1.932, 0.6978, 0.699, 0.675, 0.945, -1.21, 0.8486, -0.2339, 0.776, 0.01758, 0.8145, 0.877, 1.025, -0.4495], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.963, -0.2617, -1.895, 0.0655, -0.942, -0.403, -0.0222, -1.514, 1.35, 1.776, 0.1525, -0.4463, 0.9287, -0.02414, -0.8574, -0.003126, 1.91, -0.02637, 0.9663, 2.512, 1.172, 0.013504, -0.884, 1.601, 0.767, -4.13, 0.6, 0.783, 0.01775, -0.6753, 1.053, -1.086, 0.07043, 1.767, 1.359, 1.841, 0.2094, -0.1426, 0.4443, 2.064, 1.502, 0.1055, 0.428, 0.1984, 1.831, -0.0386, -0.5835, 0.2051, 0.344, 0.3904], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2444, 0.593, -1.751, 0.03473, -1.182, -0.399, -0.04224, -0.1963, -0.0067, 0.7925, 0.10614, 0.1605, -1.391, -0.02028, 0.4263, 0.521, -1.677, -0.03293, 0.426, 0.7437, 1.108, -0.1859, 0.2329, -0.1444, -0.7725, -1.999, -1.093, -0.745, 0.02872, 0.1538, 0.2421, 0.03287, 0.02197, 0.1051, 0.702, 0.7695, -0.11816, 0.341, 0.67, -0.1167, 0.721, 0.085, -0.5356, -0.1026, -0.3098, -0.03226, 0.00447, 0.2747, -0.7725, -0.7256], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3684, 1.2, 0.0688, -0.03812, 0.5864, 0.4094, -0.01052, 1.826, 1.133, 1.413, 1.426, -0.0926, -1.611, 0.023, -0.3767, -1.126, 2.943, -0.00446, -0.8306, 0.4214, 0.511, 0.5967, -1.3, -0.289, 0.6416, 1.024, 0.3325, 0.519, 0.00606, -0.093, 1.434, -1.192, 0.2776, 0.7793, 1.692, -0.2234, -0.675, 0.4011, 0.0775, 0.8057, 0.995, -1.09, -1.296, -0.2793, 2.22, -0.01637, -0.904, 0.2764, 0.6284, 0.454], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2133, 2.178, 0.78, 0.04297, 0.8193, -0.5024, -0.0183, 0.4062, 1.208, -0.7446, 1.946, 0.2062, -1.933, 0.0204, -0.0627, 0.8843, -0.1272, -0.04205, 1.307, -0.27, 0.8823, -1.875, -0.004078, -0.6567, 0.3975, -1.038, 0.661, -0.1182, -0.02, 0.0347, -0.3267, 0.7524, 1.157, 1.43, -0.118, -0.2488, -1.242, -0.04034, 0.014496, 0.2595, -0.3533, 0.2007, -1.716, 0.04123, -0.737, 0.01938, -0.653, 0.7485, -1.256, -0.597], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.7856, -0.5933, 3.043, -0.0417, 0.7466, -0.4304, 0.01631, 1.07, 1.315, 1.108, -1.419, -0.5005, -0.0965, 0.01765, 0.1731, -0.6245, 2.965, 0.0857, -0.1854, -0.3208, -1.643, 0.526, 0.5854, 0.3967, -0.5415, -0.3132, 0.0935, 0.4194, 0.05212, 0.1918, 0.2338, -0.3188, -0.902, 0.6655, 0.08716, -0.8403, 0.6533, 0.5093, 1.098, 0.6743, 0.02454, 0.4448, 1.723, 0.4954, 1.199, 0.04114, 0.8926, 0.4082, 0.1322, -0.4429], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.33, 2.904, 0.4382, 0.0344, -0.1533, 0.0406, -0.04257, 0.2703, -0.227, -1.107, 0.606, -1.125, 0.7646, -0.04047, -0.6733, -0.01284, 2.166, -0.01756, 0.3782, 0.2898, 1.309, -0.3948, 0.9463, 0.2183, 0.984, 2.83, -0.5015, 0.3748, -0.02168, -0.8745, -1.254, -1.07, -0.04, 0.6265, -0.633, 0.8027, 1.513, -0.1266, 1.272, 0.6025, 0.398, -0.1549, -0.2051, 0.02046, 0.6265, 0.03094, 1.824, 0.12085, 0.2438, 0.487], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1427, -0.08014, -0.0829, 0.0496, -0.305, 0.2036, -0.0021, -1.344, -1.89, -0.467, -0.9453, 0.184, 1.245, -0.0421, 0.4749, -0.1051, 0.389, -0.07556, -0.1763, -0.2474, -1.486, 1.11, 0.449, 1.705, 0.0852, 1.019, 0.262, -0.2666, 0.006577, 0.2379, -0.2003, -0.1392, -1.401, -0.0711, -1.061, 1.039, -0.602, 0.7783, 0.02644, 0.0313, -0.727, -0.192, -1.449, -0.6353, -0.1395, -0.01962, 0.7666, -0.946, 0.2139, -0.3953], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.596, 0.1903, -1.081, -0.01842, 0.6514, 1.118, 0.01362, 1.546, 2.264, 1.062, 1.217, -1.541, 0.434, 0.00562, -0.4172, -0.5293, 2.615, -0.01909, -0.584, 0.9614, -2.482, 0.1481, -0.596, 1.683, 0.00503, 2.963, 0.5127, 1.436, 0.02771, -2.39, -1.861, -2.018, 1.318, 1.603, 1.466, -0.1658, -0.2247, -1.143, -1.089, -0.505, -1.295, -0.607, 3.305, 1.775, 0.976, 0.01654, -0.1975, -0.7944, 1.963, -0.1247], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3496, 0.0869, 0.784, -0.007996, -0.975, 0.2827, -0.0059, 1.738, 2.125, 2.617, 1.75, -1.255, -0.03032, 0.04086, -0.0904, -0.3801, 0.5347, -0.0386, -0.4, 0.7495, 1.244, -1.621, -0.647, 1.66, -0.7676, 1.685, -0.837, 1.178, -0.0145, 0.257, 0.9854, -0.8086, 1.216, 1.005, 2.082, 0.501, 0.9443, -0.08484, 0.589, -0.778, 0.4736, 0.4338, 0.989, 0.7974, 1.851, 0.02545, 0.8276, -0.7227, 0.4146, -0.01888], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 3.783, 2.924, 3.102, -0.000916, -1.034, -0.0941, -0.0388, 0.815, 2.615, 2.156, 2.93, -2.32, 0.4746, 0.03105, -1.371, -0.5273, 2.258, 0.007626, 0.2993, 2.17, 1.657, 0.8794, 1.251, 4.176, -0.341, 4.285, -0.491, 1.264, -0.03056, -1.706, -0.3977, -1.311, 0.4255, 2.502, 1.221, 1.842, 3.389, -2.084, 4.586, 3.305, 1.672, 1.261, 2.09, 0.9253, 0.3896, -0.03107, 1.437, 2.441, 2.682, -0.1439], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1569, 0.3093, -0.3745, 0.02393, -0.0759, 0.5073, -0.00693, -1.066, -0.3628, -0.3538, 1.341, 0.3237, -0.0935, 0.02734, -0.366, -0.542, 1.4, -0.03836, -0.4556, 0.09015, -0.0534, 0.4182, 0.01889, -1.009, -0.3591, -0.00749, -0.1527, -0.2202, 0.002867, -0.13, -0.3003, -0.399, 0.6377, 0.3972, 1.043, 0.03052, -1.757, -0.002918, 1.212, -0.5464, 0.4385, -0.3723, 1.862, 0.03577, 0.1569, -0.003126, -0.589, 0.00904, 1.083, 0.2083], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4458, 1.024, -3.201, 0.03186, 0.608, -0.914, 0.01303, -0.8203, 0.927, 0.24, 2.135, 0.672, -0.671, 0.0324, -0.004086, -0.1823, -1.566, -0.00638, -0.0346, 0.149, 0.86, -0.0629, -0.1533, 0.4807, -0.4346, -0.8555, -0.892, -0.4966, -0.02985, 0.4082, 0.2439, 1.18, -0.7495, -0.4438, -0.912, -0.976, 0.005398, -0.253, -0.5474, 0.316, -0.5527, 0.224, 1.052, 1.5205, 0.09827, 0.01787, -1.427, -0.9214, -1.444, -1.958], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.8306, -0.482, -0.182, 0.04175, 0.2213, 0.0286, -0.03757, -2.246, -0.6963, -0.014984, -0.0698, -0.4116, -1.928, -0.04935, -0.3435, -0.00822, -0.05673, -0.011154, 0.2218, 0.06744, -0.419, -0.193, -0.1968, 0.1781, 0.2844, -0.1605, 0.8535, 0.1979, 0.04266, 0.10925, 0.01227, 0.0873, 0.2856, 0.188, 1.342, -0.03275, 1.137, -0.4146, 0.0828, 0.2463, -0.4143, 0.02406, 0.3765, 0.8647, 0.7534, -0.01221, -0.02005, -0.1405, 0.61, -0.01564], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.74, 2.5, 0.6865, 0.06366, 0.3672, 0.1505, -0.02176, 1.019, 1.504, 0.9136, -1.55, -0.6885, 0.2401, 0.02525, -0.3809, -0.1113, 2.951, 0.03046, 0.02072, 0.6445, 0.665, 1.694, 0.9624, 2.574, -0.0644, 0.3777, -0.316, -0.6304, -0.02974, -0.293, 0.4893, -1.104, 0.1311, 1.396, -0.6865, -0.4111, 0.6245, 0.273, 1.486, 1.069, -1.833, 0.2732, 0.351, -0.8013, 2.291, -0.01988, 0.67, -0.5195, 1.645, 0.2715], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.6196, -0.2313, -0.4116, -0.01086, -0.1305, 0.63, 0.03265, -0.2102, 0.2834, -0.3733, -0.2228, -0.1821, 0.2106, 0.002796, 0.0746, -0.009445, 0.2428, 0.04117, -0.09076, -0.1608, -0.2852, -0.1273, -0.2101, -0.1368, -0.1433, 0.02545, 0.0312, 0.1561, -0.00381, 0.04718, 0.295, -0.00911, 0.361, -0.1829, 0.1382, -0.2054, 0.477, -0.04266, 1.355, 0.0968, 0.158, 0.06018, 0.008415, -0.1615, -0.1063, -0.02138, -0.2491, -0.4338, 0.2651, 0.0998], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.697, -0.529, -0.523, 0.00502, -0.5347, 0.2388, -0.0206, 0.496, -0.267, -0.826, 1.526, 0.1588, -1.023, -0.03693, -0.1917, 0.010735, -0.4382, -0.02501, -0.2773, -0.6475, 1.224, -0.4182, 0.1813, 0.1279, 0.04245, -0.353, 0.2966, -0.3054, -0.02484, 0.05283, -0.2147, -0.2742, 0.05817, -0.0649, -1.198, -0.156, -0.993, -0.11646, -1.406, 0.2036, -0.5444, 0.228, -1.024, -0.537, 0.2421, 0.00659, -0.12024, 1.705, -0.8066, 0.4326], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00264, -0.876, 0.3213, -0.03885, -0.4805, -0.1938, -0.0311, 1.051, -0.63, -0.1387, -0.5024, 0.432, 0.8853, -0.003761, -0.02972, 0.2208, -1.292, 0.05865, 0.1034, 0.6724, 0.6445, -0.757, 0.3247, -0.7573, -0.2228, -0.841, 0.0797, -0.8545, 0.00705, 0.1913, -0.2202, 0.459, -0.5317, 0.1361, -1.18, -0.488, -0.559, -0.03766, -0.4258, 0.5166, 0.2583, 0.0642, -0.6665, -0.101, 0.0852, -0.03763, 0.4639, -0.08624, -0.6255, -0.6064], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02293, -0.01202, 0.003195, 0.02379, -0.02684, 0.01651, -0.004776, -0.0395, -0.04636, -0.00377, 0.0351, -0.0812, -0.05405, 0.03934, 0.01512, 0.03897, -0.02402, 0.03854, -0.011314, 0.0314, -0.03668, -0.0329, -0.003029, -0.0003505, -0.003899, 0.00711, 0.01081, -0.01971, -0.00593, -0.03442, -0.03806, -0.0561, -0.03217, -0.006702, -0.00787, -0.01477, -0.04486, -0.0782, -0.01619, 0.02538, -0.011, 0.01216, -0.03305, -0.006958, 0.007458, 0.0105, -0.03256, 0.039, -0.04095, -0.0333], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.8594, -0.11707, -1.296, -0.001522, -0.10693, 0.0891, -0.01926, 1.094, 0.8403, 0.2057, 0.6733, -0.4985, 0.7603, 0.03735, -0.8887, 0.0748, 1.582, -0.02931, -0.333, -0.1729, -0.3792, 0.471, -0.795, -0.2401, -0.1339, 0.9917, 0.07745, 0.444, -0.02594, -1.285, -0.4043, -0.3809, 0.5747, 0.3218, 0.177, 0.3538, -1.834, -0.1675, -1.346, -0.015366, 0.4163, -0.1677, 0.5503, 0.232, 0.5723, 0.01482, 0.3555, -0.3054, 0.01782, 0.3245], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.7427, -1.736, -0.5674, -0.002827, 0.6235, 0.5737, 0.0484, -1.756, 0.9785, -1.126, -1.293, -0.2825, 0.535, -0.04047, -1.371, -0.8804, -0.8403, -0.0681, -0.9023, -0.7783, -1.541, 0.767, -0.2625, -1.375, -0.0776, -1.879, -1.16, 1.252, 0.03598, -0.3347, -0.5386, -0.4502, 0.307, -0.06223, 0.694, -0.3179, 0.281, -0.4053, -1.268, -0.9604, -0.11, -0.0791, 2.084, 1.455, -1.043, 0.0139, -2.465, -0.578, 1.086, 1.235], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.576, 3.604, -2.932, 0.0347, 0.0283, 0.396, -0.02634, 3.406, -3.732, -2.084, 1.507, 0.4382, 0.8223, 0.014656, 1.333, 0.2532, -1.226, -0.02452, -0.524, 1.954, -0.2354, -3.0, 2.205, -1.248, 0.1028, 0.7065, 0.0445, -2.273, 0.01852, -0.804, -0.502, 1.041, 1.064, -1.896, -1.407, 1.05, 1.253, 0.348, 0.9834, 2.045, -1.6, -0.1433, -2.248, -0.6826, 2.771, -0.0147, -0.5938, 2.12, -2.533, -2.207], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.07874, 0.03247, 0.00113, 0.02324, -0.3767, -0.578, 0.03308, 0.5938, 1.311, 0.872, 0.7393, -0.4119, -0.04395, -0.00511, 0.04758, 0.676, -1.725, -0.0475, 0.3274, 0.3735, 1.867, 0.314, -0.1896, -0.511, -0.4932, 0.9443, 0.4841, 0.6157, -0.006496, -1.3955, 0.1813, -0.8154, -0.1248, 0.7373, 0.872, 0.739, 1.182, -0.566, 1.314, 1.776, -0.6123, 0.3313, -0.434, 0.8228, 1.485, 0.01743, 0.946, 1.377, 1.272, -0.8706], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.764, 0.1996, 1.716, 0.012955, 0.637, 0.243, 0.02242, 1.437, -2.268, -3.24, 0.6914, -0.7285, -1.462, 0.03122, 0.577, 0.10406, -1.574, 0.01826, 0.3403, -0.8804, -0.9287, 1.364, -0.704, 0.8945, -1.664, 0.1377, 0.5933, 1.381, 0.00731, -1.147, -0.2695, -0.5215, -0.1105, -0.3416, 0.762, 1.198, 0.9526, 0.4202, 1.413, 1.006, 0.0808, -0.2607, -0.9727, 0.7188, 1.591, -0.04337, -0.2769, 0.9346, 1.049, -0.2961], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1611, 0.1744, -0.66, 0.02048, 0.5586, 0.594, -0.00303, 0.01591, 1.965, 0.6777, -0.841, -0.89, 1.3545, 0.0249, 0.643, 0.3433, -0.9434, 0.00936, 0.097, -0.10785, -0.8174, -0.1276, 0.2507, 1.529, 0.4556, 0.742, -0.00939, 0.909, 0.01235, -0.6157, -0.2734, -1.464, -0.376, -1.213, -0.08246, -0.0853, 1.193, -0.10956, -2.498, -0.3875, 0.4412, -0.05692, 0.4243, 0.4226, 0.1256, 0.0324, -0.6533, 0.0618, -0.549, 1.529], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4697, 1.806, -0.1975, 0.04596, 1.174, 0.06223, -0.010284, -0.3901, 0.2905, -0.5215, 1.338, -0.0712, -0.489, -0.03345, 0.3262, -0.589, 1.145, -0.04214, 0.262, -0.298, 0.4387, 0.8716, 0.0648, 0.728, 0.02914, -0.4963, 0.4285, 0.3271, -0.04147, 0.4724, -0.6924, -0.2734, -0.1203, -0.821, -3.719, -0.2578, 1.249, 0.0189, -1.302, -0.05258, -0.7134, -0.4673, -0.724, 0.1616, 0.777, 0.00832, 0.00793, -0.02823, -1.409, 0.825], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0424, -0.013756, 0.02524, 0.0406, -0.002636, 0.02596, 0.03796, 0.03934, 0.002653, 0.01761, 0.03442, -0.02516, -0.03912, 0.02925, 0.01927, -0.0371, 0.04675, 0.01674, 0.02946, -0.0493, 0.00773, -0.004513, -0.004505, 0.01689, -0.04922, 0.01732, -0.04233, -0.0291, -0.02716, -0.02258, -0.003134, -0.02824, -0.04962, -0.0301, 0.004402, 0.02144, 0.00744, -0.02776, 0.01836, 0.03802, -0.02196, -0.0338, -0.001349, 0.03357, 0.02507, -0.04486, -0.0402, 0.0305, -0.00924, -0.03763], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2169, -0.8257, 0.878, -0.0472, 0.3618, 0.04614, 0.02107, -0.3635, 0.412, 1.426, -0.055, 0.05194, 0.877, 0.023, -0.3384, -0.1153, 0.06903, -0.03696, 0.1614, 0.2064, -0.0344, -0.02222, 0.0208, 0.5806, 0.1696, 0.2308, 0.3708, -0.0449, 0.00989, 0.2437, -0.10175, 0.609, -0.2605, -0.4636, 0.6074, 0.4187, -1.355, -0.64, -1.073, 0.0157, -1.585, 0.2411, -0.8647, -0.2515, 0.2822, -0.03696, -0.646, -0.01182, 0.9985, -0.09503], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.8354, -0.8027, 0.958, -0.04633, 0.372, -0.1676, -0.01924, 1.506, 4.234, 1.525, 1.118, -0.3528, 0.944, -0.00683, -0.1244, -0.5776, 0.1682, -0.0281, 0.7373, 1.144, 1.151, 1.796, 0.3088, 0.3704, 1.468, -2.635, 0.7197, 0.7246, -0.02122, 0.6484, -0.6924, -0.1356, -1.906, -3.664, -0.376, -0.3406, 1.623, -1.266, 3.234, -0.2118, 0.1176, -0.127, 0.3884, -0.57, -2.137, -0.05118, 0.39, 1.035, -0.7456, 0.2507], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4634, 0.6235, 1.334, 0.03604, -0.2114, 0.5234, 0.00869, 1.001, 1.731, 0.04727, -1.266, -1.08, 0.3599, -0.02397, -1.113, -0.3062, 1.999, -0.0002158, -0.4128, -0.485, -0.559, 0.424, 0.3303, 1.176, -0.731, 1.098, -0.2177, -0.1483, -0.01111, -0.6143, 0.3684, -0.996, -0.001696, 1.204, 0.5903, 0.278, 0.4307, 0.02583, 0.3926, 0.099, 0.08276, 0.1677, 1.524, 1.5, 0.1103, 0.02551, 1.506, 0.00818, 1.41, -0.1577], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.337, -3.445, -0.04227, -0.0274, -0.2267, 0.315, -0.03415, 1.501, -0.2191, 1.316, -6.297, -0.1782, 0.6455, 0.01959, -0.7456, -0.2388, -1.307, -0.0709, 0.4675, 0.5615, -0.591, 0.1652, 0.2285, -0.7227, 0.0492, -0.2527, -0.1968, 0.168, 0.04434, 0.332, 0.1343, 0.0383, -0.104, -1.257, -0.4749, -0.252, -0.1927, 0.3904, 0.7866, -0.588, -0.1755, -0.0219, -0.185, -0.5957, 0.6357, -0.03099, 0.667, -2.273, -1.227, 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, 3.217, 3.078, 2.258, -0.0238, 0.728, 0.2869, 0.02739, -1.709, 3.604, 0.2249, 0.4395, -2.262, 1.047, -0.02254, -0.5146, 0.04504, 1.523, 0.008965, 0.2622, 0.4695, 2.457, -0.769, 0.864, 2.033, 0.04257, 2.387, -2.434, 2.438, 0.03412, -0.3525, 1.641, -1.246, -0.765, -0.03757, -0.3606, 2.213, 2.543, -1.254, -1.109, 0.193, 0.322, 0.664, 0.6064, -0.8037, 0.1115, 0.004272, 2.406, 0.587, 0.403, 0.479], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.125, 0.02963, -0.1467, 0.01319, 0.04572, 0.03818, -0.00888, 1.226, 0.3062, 1.652, -2.05, -0.932, 2.959, -0.03857, -0.05307, -0.6514, 2.387, 0.013336, -0.7656, 1.065, -0.9316, 2.275, -0.2334, 1.821, 0.308, 1.676, -0.06647, 2.996, 0.01074, -0.552, -0.05804, -1.121, -0.319, 0.7256, 1.793, 0.518, 0.847, -0.3352, 2.613, 0.289, -0.024, -0.1462, -0.676, 0.2183, 0.6953, 0.0336, -0.4016, -0.4746, 2.623, 0.7993], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.776, -0.8174, -0.5127, 0.03787, 0.8613, 0.244, -0.04108, 0.506, 1.799, 0.3728, 1.306, -0.564, 0.2213, -0.0501, 0.869, -0.2666, -4.273, 0.002377, -0.07556, 0.1387, 0.4568, 1.479, 0.3323, 0.05692, -2.016, -0.4307, 0.678, -0.0017395, 0.02937, -0.1274, 0.7817, -0.6685, 0.4897, -0.384, 0.4753, 0.05267, 1.505, -0.8413, 0.42, -0.0845, 1.03, 0.0601, 0.4216, -0.8457, 0.5347, 0.02129, 0.7627, 1.776, 0.3599, -0.00447], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 3.748, 0.9814, 4.195, -0.01843, 1.169, 3.656, -0.0163, 0.5127, 4.285, 1.537, 5.07, 4.266, 0.5757, -0.004704, 4.883, 5.22, 0.5684, -0.03214, 4.824, 3.383, 4.004, 2.115, 4.44, 3.338, 1.324, 1.193, 5.348, -0.01595, 0.02356, 3.107, 1.223, 3.328, 0.755, 0.8276, 4.227, 4.805, 1.623, 1.953, -0.879, 6.668, 4.402, 0.802, -2.115, -0.014786, 3.834, -0.02779, 5.48, 7.285, 2.729, 2.84], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.1605, 1.128, -0.01362, 0.4795, -0.385, 0.006622, 0.89, -1.67, 0.2277, 1.473, -0.682, 2.434, -0.00941, -0.3445, -0.3223, 3.572, -0.04218, 0.798, 0.3296, 1.721, 1.891, 0.386, 1.629, 0.48, -0.409, 0.869, 0.5645, -0.02026, -0.966, -0.2493, -0.923, 0.7305, -1.394, -1.394, 2.793, 0.3547, -0.0214, 3.246, 0.8286, 2.604, -0.0973, 0.0962, -0.5317, -4.16, 0.03217, 0.3958, 1.142, 0.5986, -0.3953], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.509, 1.5, -0.8105, 0.03108, 0.2438, 0.275, 0.004665, -0.11646, 0.2238, 0.62, 2.395, -0.4548, -0.717, 0.02898, 0.2218, -1.146, 0.3716, 0.071, -1.205, 1.8, 0.7983, -1.199, 0.2944, 0.1257, 0.07465, 0.951, 0.761, 1.175, -0.04794, -0.00068, 0.9346, -0.705, 0.4778, 0.5107, 0.9863, 0.256, 2.14, 0.3276, 1.4, -0.1847, 0.6616, -1.236, 1.377, -0.685, 0.3518, -0.03032, 0.3516, 1.891, -0.635, 0.7563], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1685, -0.004524, -0.5137, 0.02312, -0.3374, 0.2764, 0.02792, 0.0358, -0.1759, -0.2527, -0.6865, -0.3066, -0.664, -0.049, 0.11395, 0.631, -0.244, -0.0205, 0.04398, 0.2996, 0.4556, 0.3162, -0.0936, -0.11664, 0.1653, 0.2367, -0.2866, 0.3147, 0.010826, -0.0567, 0.1498, 0.002743, 0.1836, -0.08453, -0.2932, 0.3394, 0.4792, -0.1714, 0.6953, 0.3374, 0.1454, 0.1504, 0.05518, -0.11774, -0.2153, 0.004795, -0.6, 0.2893, -0.06555, -0.6816], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -2.547, -8.164, 1.416, -0.05518, 0.731, -0.03677, 0.01929, 0.5283, -1.681, -0.692, 1.874, 0.6313, -1.729, 0.0219, -2.281, 1.299, -3.047, -0.005795, -4.438, -3.533, 4.58, 0.736, -1.515, 1.32, -2.123, -6.234, -0.3145, -4.598, 0.04074, 0.0804, 0.896, -0.2537, -0.01619, -1.972, 3.652, -3.553, -5.402, -0.1669, -3.084, 1.097, -0.9224, -2.816, 0.8564, 0.2136, -1.354, -0.02364, 0.09705, -3.47, -6.508, -0.525], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01379, -0.05362, 0.01581, 0.0497, -0.003294, -0.002356, -0.03168, 0.03888, -0.04874, 0.0334, 0.01082, -0.01921, 0.01802, 0.02408, -0.01726, -0.00969, 0.013626, -0.007442, -0.02716, -0.01009, 0.02359, -0.001679, -0.03864, 0.00733, -0.02928, -0.0385, -0.002924, 0.02599, -0.02934, -0.03156, 0.00896, -0.005527, -0.005844, -0.05634, 0.002434, 0.0241, 0.02847, 0.00947, -0.03494, 0.03296, 0.02188, 0.000776, 0.011116, 0.03098, -0.00792, 0.03668, -0.05566, -0.04193, -0.003193, -0.013885], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1654, -1.754, -1.615, 0.003872, 0.03613, 0.0667, -0.0305, 1.187, 0.4233, -0.0706, 0.8066, -0.577, 0.5547, -0.0337, -0.2313, -0.4927, -0.3323, 0.01894, -0.07245, 0.5757, 0.462, 1.718, -0.119, 0.93, -0.7964, 1.082, -0.1332, 0.7573, -0.03082, -0.8125, -0.4517, -0.1941, 0.8594, 1.032, 0.3801, -0.962, -1.122, -0.3467, -0.2913, -0.2734, -0.378, 0.1305, 2.586, 0.54, -1.308, 0.000264, 0.2262, 0.1743, 1.136, 0.0696], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0975, 1.554, 0.10815, 0.02278, 0.1674, -0.04654, -0.03445, -0.407, -0.3447, 0.1746, 1.132, -0.702, -0.10614, -0.01088, 0.2642, -1.158, 2.193, -0.01355, -0.118, -0.1383, -0.1715, 0.2137, 0.561, 1.741, 0.4111, 0.5894, 0.9385, 1.228, 0.03983, 0.00859, 0.06006, -0.02965, -0.2363, 0.6445, -0.2805, 0.0261, -1.105, 1.358, 1.896, -0.09283, 0.4736, -1.723, 1.24, 1.328, 0.94, -0.0535, -0.135, 1.19, -1.517, 0.357], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 3.248, 0.692, -1.472, -0.001601, 0.3838, -2.484, -0.04636, 1.573, 1.8, 0.2429, 2.498, -1.149, 2.424, 0.02266, -0.785, -0.2219, 3.143, 0.0422, 0.5273, 0.784, -1.304, 2.342, 0.9897, -1.947, 1.355, 3.727, 2.195, 1.673, -0.05374, -0.6904, 1.466, -2.053, 2.41, 0.2172, 1.812, 1.599, 3.066, 0.542, 3.79, -0.3447, 2.494, -0.9565, 1.194, 0.7715, 1.468, -0.03848, 1.541, 0.677, 1.931, -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.1862, 2.748, 1.655, 0.001486, 0.3635, -0.2031, -0.02452, 1.645, -1.236, 2.229, -0.4417, -0.984, -0.635, -0.04175, -0.0849, -0.852, 3.56, -0.002396, 0.14, 3.176, -0.772, 0.01772, 1.286, 3.207, -0.411, 2.129, 1.062, -2.162, 0.02872, -0.8804, 1.761, -1.449, -1.629, 1.905, 1.836, 0.7114, 1.098, -0.62, 2.15, 2.287, 0.5176, 0.3076, 1.539, -0.03226, 1.856, 0.04004, 2.021, 3.898, -2.258, 0.716], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.08777, 0.3376, 0.531, -0.02055, 0.552, -0.1909, 0.02281, 0.3013, 0.6616, -0.712, -0.0659, -0.06555, -1.261, 0.0392, -0.07837, -0.176, -0.911, 0.04388, -0.1713, -0.7886, 1.036, 0.2272, -0.5845, 0.8135, -0.145, -0.005634, -0.332, 1.072, 0.01503, -0.1929, 0.04224, 0.426, 0.5815, -0.6694, -0.2441, -0.5176, 0.6377, -0.3599, -0.5146, -0.2482, 0.025, 0.2861, 1.459, 1.304, 0.5747, 0.005154, -1.162, -0.194, -0.6943, 0.628], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.079, 0.429, 0.618, 0.006683, 0.571, -0.04004, 0.005825, 1.3125, 0.05997, 0.03506, -1.025, -0.4485, 0.3032, -0.01645, -0.529, -0.1051, 0.7524, 0.0454, -0.2449, 0.149, 0.3237, -0.04834, 0.2788, 0.6924, -0.7207, 0.06696, 0.6865, -0.09814, -0.03543, 0.2964, 0.3884, -0.4197, 0.3115, 0.73, -1.06, 0.11383, 1.349, -0.0879, -0.4878, -0.899, 0.1575, -0.229, 0.449, -0.822, 0.508, 0.04846, -0.4297, 0.845, 1.239, -0.2115], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1473, 1.521, -2.586, -0.05414, -0.543, -0.01062, 0.01103, 0.559, -0.3174, -0.9907, 1.977, -0.0736, 1.329, -0.02655, 0.1499, 0.7007, 0.365, -0.01802, 0.709, 1.085, -3.947, -0.02824, 1.083, 0.0369, -0.575, 1.109, 0.252, -1.336, -0.00663, -0.1876, -1.125, -0.362, 0.2666, -0.613, -0.8765, 2.148, -2.701, 0.614, -1.181, 0.1329, 1.09, 0.104, -3.885, -3.287, -0.7104, 0.01546, 1.461, 0.2191, -0.00479, 0.1874], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.214, 2.152, -3.742, 0.02057, -0.699, -0.601, -0.004665, 0.6406, 1.578, -0.863, 0.898, -0.329, 1.358, -0.0336, -0.3335, -0.898, 1.23, -0.04608, 0.6367, 0.655, 0.8105, 1.709, 0.5425, 1.475, 0.673, -1.446, 0.5073, 0.187, 0.02003, 0.4797, -1.393, -1.444, -0.6763, 0.9326, 0.2632, 0.1305, 0.354, -0.365, 2.32, -0.766, 0.1512, 0.018, -0.622, 0.6826, 0.7563, -0.006687, 0.05585, 0.8076, 1.131, 1.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.009636, 0.6196, -0.086, 0.03162, 0.977, -0.001322, -0.03378, 0.05246, 1.929, 1.127, -0.7334, -0.628, 1.203, 0.0459, -1.017, -0.8086, 0.1726, -0.0436, -0.8755, -1.154, 1.337, -2.18, 0.0976, 0.202, 1.421, 1.032, 1.741, 1.157, 0.03763, -0.6616, 1.251, -0.3262, -0.3242, -0.3179, 1.43, 1.296, 0.05405, -0.504, -2.275, 0.587, -0.00454, 0.5117, 0.3423, 0.6235, 1.091, -0.04062, 0.603, 2.518, 0.5996, -0.1416]]
[1.93187, -1.31029, -0.4695, -0.431816, 1.84282, -2.56508, -0.161302, 0.585755, 0.854798, 2.69622, 2.90729, -2.71848, -0.0613128, -2.49897, 0.40425, -2.18749, 0.00912853, 0.233331, 0.127019, -0.0343806, 2.68806, 0.363556, -2.25003, -0.245943, 0.74977, 1.43116, 0.874121, -0.00602453, -0.520315, -0.745675, 3.05411, -0.250532, -0.484136, 1.66353, 0.607253, 4.43001, -1.17112, 0.352899, -0.246466, -0.780581, -0.0223486, 1.61283, -0.825565, -1.33636, -0.261264, -1.63216, 0.0414352, 2.39309, -0.412244, -1.29259, 1.932, -1.311, -0.4695, -0.432, 1.843, -2.564, -0.1613, 0.586, 0.855, 2.695, 2.908, -2.719, -0.0613, -2.498, 0.4043, -2.188, 0.009125, 0.2333, 0.1271, -0.0344, 2.688, 0.3635, -2.25, -0.246, 0.75, 1.432, 0.874, -0.006023, -0.5205, -0.7456, 3.055, -0.2505, -0.4841, 1.663, 0.6074, 4.43, -1.171, 0.3528, -0.2465, -0.781, -0.02235, 1.613, -0.8257, -1.336, -0.2612, -1.632, 0.04144, 2.393, -0.4124, -1.293]
ReLU
[[-0.0524683, -0.0471137, 0.0387389, 0.0224183, 0.0176356, 0.00246387, -0.0227621, 0.00166196, -0.0499424, 0.0243107, 0.00108962, 0.0197796, -0.0454376, -0.0100461, -0.0437696, -0.0504532, 0.0236728, -0.019242, -0.0450632, -0.0434664, -0.055508, -0.0132083, 0.0233739, 0.0149702, -0.0429694, -0.0348185, 0.0119188, -0.0297417, -0.00140415, 0.00551955, 0.00462225, -0.00941756, 0.0302838, -0.0199839, -0.0127894, -0.0195217, 0.0305504, -0.00563555, -0.000925426, -0.0410342, -0.00723406, 0.0272233, 0.00668536, 0.0377271, 0.0306391, -0.0289491, -0.0482954, -0.00516397, 0.0210757, -0.0268926, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.595528, -1.47133, -0.408447, 0.314092, 0.0163449, 0.401211, 0.830835, -3.13751, -1.34093, -1.42777, -1.16094, -0.53828, -0.388742, 0.750585, -0.129429, 0.75148, 0.277376, -0.359643, -1.48072, 0.0180149, 0.435596, -1.9233, -0.185117, -0.164241, -0.91945, -0.072883, -0.0806278, -0.00738815, -0.0569284, 0.147672, -0.50537, -1.08422, -0.0734499, -1.0262, -0.508225, 0.0328905, 0.0650906, 0.459801, -0.694118, 0.48397, -0.034364, -0.381914, -1.32985, 0.584243, -0.729434, -0.361297, 0.122002, 0.0416036, 0.125795, -0.826396, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.676394, 0.825199, -0.0284459, -0.214332, 0.797514, 0.223844, 0.000171085, 0.799209, -0.128154, -1.36548, 0.030108, -0.139227, 1.23827, -0.729741, 1.26296, -0.229651, 0.700988, 0.454563, 1.14798, -0.0528806, -0.633848, -1.33258, 0.0397979, 0.819544, 0.465968, 1.22868, -0.0392704, 0.00865539, 0.860129, -0.327851, -0.0771712, -0.0146969, -0.168981, 0.118984, 0.0651374, -0.117202, -0.122434, 0.0165103, 0.221292, -0.389903, -0.0355747, 0.154071, 0.130255, 0.659179, 0.0342564, -0.177503, 0.180341, -0.852869, 0.235131, -0.182766, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.207799, 0.471266, 0.495725, -0.358351, -0.143853, -0.317099, -0.186361, 0.749202, -1.31211, -4.0546, 0.0435359, -1.41939, 0.499428, -0.669558, 0.729491, -0.329357, 2.24995, 0.259685, 1.72455, -0.00512775, -0.121589, -0.124085, 0.178482, 0.504916, 1.31151, 1.36789, 0.83652, -0.0138374, 1.85244, -0.62613, -0.132214, 0.187695, 0.588951, -4.69914, 1.28559, -0.119949, -0.360509, -0.0770615, -0.251394, -0.167544, -0.00602892, -1.66871, -0.939021, 0.553058, 0.62075, -0.0435366, 0.531915, -0.6624, 1.28774, 1.12067, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.31274, 0.28991, 0.265971, 1.11369, 0.207151, -0.485684, 0.873734, -0.535711, 0.111158, -1.16419, 0.641964, -2.01477, 1.21639, -0.2676, 0.858901, 0.157142, 1.09137, -1.12377, 0.38786, 0.046927, 0.544547, 0.922627, 0.230246, 0.209894, -0.268644, 0.597006, 1.07533, -0.0334945, 0.689095, -0.0948616, -0.0677175, -0.528322, 1.54833, -0.2441, -0.934717, -0.0984531, 0.0783959, 0.524419, 0.672619, -0.0496713, -0.0215405, -0.266182, 0.663826, 0.691146, -1.43354, -0.153825, -0.0508429, -0.119477, 0.75348, 0.582727, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.99159, 1.66924, -0.182439, -1.35593, -1.53989, 0.0521212, 0.221116, 1.31776, -0.642604, 0.643433, 0.239987, 0.0376198, -0.36397, -1.63113, 2.14094, 1.46332, -0.0971861, 1.06948, 1.73319, -0.0290584, 1.1998, -0.738685, 0.127529, 2.04328, -0.777424, 1.13843, -1.21763, 0.0056412, -0.527582, 1.34252, 0.245247, 3.48969, -0.00594787, -3.87151, 1.15777, -0.160272, 0.340614, -0.106993, 2.16076, 0.509076, 0.0126624, 0.162187, 0.141781, 0.843858, 0.169809, 0.432736, 0.35683, -0.507661, -0.590403, 2.11519, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.520592, -0.311823, -0.208598, -5.05961, 0.395176, -1.48469, -0.720039, -1.65709, 0.293534, -1.30372, 1.10692, -2.1501, -0.916646, -2.27858, 1.74615, -6.15546, -2.35857, 1.4197, 1.76989, 0.00726349, 0.0521619, 0.552106, -0.00478471, 2.17117, -1.73599, -0.135867, 2.19561, -0.0437642, 0.30405, 0.316991, 0.0662261, -2.21838, -3.50645, 0.169267, -0.34062, -0.108219, -0.185681, -0.327321, 0.379588, 1.06905, 0.0156948, -0.0656964, 0.330823, 0.318194, 0.0458583, -1.41214, 0.462985, 0.263067, -0.77053, -0.0165355, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.621536, -0.392075, -0.345236, 1.19229, 1.01537, -0.970392, -0.344852, 1.72841, 0.402612, -3.09344, 0.948424, 0.478884, 0.877577, -0.907143, 3.01968, 0.592869, -0.0203862, -0.65938, -0.440328, 0.0642777, 1.12521, -3.9938, -0.838376, -0.389288, 0.813703, 0.778457, 1.0023, 0.0368238, -1.18313, -0.495487, 0.433784, -5.5219, -0.0320535, 0.844614, -2.65098, -0.0932073, 0.964868, 1.11862, 0.395494, -0.235789, 0.057743, 3.15594, 1.36106, -0.428266, 1.04224, -0.0144871, 0.854598, -0.221688, -1.10333, 0.864083, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.131035, -2.95782, 0.0616395, 0.0708916, 0.385307, -0.195677, 0.664443, -2.46318, -0.648018, -1.25306, 0.713642, -0.655622, 0.547169, -1.24355, 0.761311, 0.0516914, -3.06958, 0.383382, -1.44925, -0.027166, 0.617033, 0.0262197, 0.166987, -0.258669, 0.929776, 0.298504, -0.00209792, -0.0397909, -0.0737291, -0.177986, -0.989662, -2.9696, 0.484143, 0.154181, -1.57465, -0.0118953, 0.0406913, 0.164944, 0.68723, 0.199195, 0.0293281, 0.501045, 0.158048, 0.243261, -0.13491, 0.151727, 0.301246, -0.281761, -0.149593, -0.143784, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.45562, 1.46856, -0.00642481, -1.1417, 0.637962, -0.133555, -0.0298342, -2.07381, 1.70124, -0.586502, 0.216705, -1.48633, 1.15633, -0.95764, 0.187922, 0.27497, 1.26247, 1.19732, 0.457545, -0.0186042, 1.14416, -3.07648, -0.286704, 1.24095, 0.643269, 1.31056, -0.419938, -0.0295497, 1.41437, 2.21734, 1.18243, -0.321897, 2.10481, 0.327059, 0.187401, -0.248311, 0.72443, 2.36516, -1.9509, 0.0246526, -0.00978284, 0.629684, 1.96193, 0.0824985, -0.720427, -0.146928, 0.320883, -0.063883, -1.14435, -2.29952, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.83497, 0.362302, 0.451109, 0.610075, 0.795943, -0.498626, -2.34071, 0.951153, 1.01812, -1.63101, 0.763406, -0.0960891, -1.52067, 0.163351, 0.930673, -0.00858086, -0.590041, 0.645433, 1.12486, -0.0154887, 0.203203, 1.12541, 0.0610742, -1.00452, 1.04211, 0.438722, 0.119056, -0.0409693, 0.073511, 1.61846, 0.656577, -2.50935, 0.993451, -0.347576, -0.382661, -0.223996, 0.623222, -0.125749, 0.969924, 0.425873, 0.0486597, 0.751001, 0.580133, 0.854984, -1.39864, -0.313709, -0.240716, 0.523003, 0.0781864, 0.912731, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.581863, 0.128781, 0.145687, -0.27586, -0.599144, 0.325222, -0.653278, 0.0895922, -0.520542, -0.936275, 0.377974, -0.623319, 1.43019, -0.40321, -0.220811, 0.14032, -0.290509, -0.287572, 1.57447, -0.0225745, 0.220567, -1.42132, -0.00744588, -0.815812, 0.581448, 0.554499, 0.887149, -0.0349126, -0.383969, 0.820736, 0.0543861, -1.87121, 0.838664, 0.528423, 1.01269, -0.0720276, -0.762428, -1.3021, 0.926182, 0.0212215, 0.0474311, -0.249417, 0.101352, 0.603572, 0.509477, -0.260237, 0.0459149, -0.312999, -0.850827, -0.54436, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.295539, -0.0603741, 0.30444, -0.0573484, -0.441255, 0.172022, -0.477835, 0.706307, 0.258554, -0.248694, 0.224403, -0.584869, 0.560163, 0.2011, 1.03867, 0.394824, -0.209375, 0.343342, 0.558855, -0.00842291, -0.232645, 0.0941279, -0.303885, 0.985053, -0.842521, 0.243915, 0.224772, 0.01684, 0.472429, 0.148913, -0.288378, 1.18766, 0.134317, 1.10995, 0.131038, -0.0480875, 0.457555, -0.194082, -0.864296, 0.192917, 0.048744, 0.0163439, -0.733333, -0.0995366, 0.057189, 0.0406098, -0.288699, -0.376919, -1.29844, 0.186429, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.213835, 0.874093, 0.194955, -0.448753, 0.283863, -0.0667381, 1.21742, -0.719829, -0.37714, -1.32052, -0.280759, -0.0295276, 0.968813, 0.477504, 2.2095, -0.86531, 1.00084, 0.745381, 0.0899731, -0.0344694, 1.14828, 0.405165, 0.00149931, -0.419561, -0.549641, 0.0393039, 0.735782, -0.0481217, 1.16364, -1.16323, 0.144727, -0.128765, 0.192147, 0.03751, 0.269556, -0.132524, 0.278992, 0.435725, 1.06331, -0.0911946, -0.0428374, 0.0343763, -0.423998, 0.147878, 0.317662, 0.245489, 0.526755, 0.00501609, 0.476852, 0.857719, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.657233, 1.09068, 0.10255, -0.0862769, 0.320501, 0.0210995, -0.465654, 0.23104, 0.397845, -1.71254, 0.248784, 0.158137, 0.199916, 0.35736, 0.496431, -0.083909, 0.633176, -1.64025, -0.479948, 0.0286263, -0.951593, -0.37874, -0.410958, 0.0110367, 1.0568, -1.26045, 0.0298983, 0.00199422, -1.43488, -0.890514, -0.271733, 0.0677615, -3.69354, -0.0572694, -3.8312, 0.0650698, -3.09437, -1.49602, -1.84428, -1.306, -0.0351684, -0.537447, -0.482437, -0.208059, -4.76909, 1.10212, -0.0811978, -1.26061, 2.51094, -0.921592, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.86415, 0.976403, 1.52243, -2.90904, 0.536218, 0.774957, 0.155108, 0.402219, 1.02088, -1.43843, -0.295065, 0.170352, 1.56359, 0.70806, 2.57969, 0.524777, -2.1608, 1.46109, -0.531916, -0.0154589, 0.466413, 0.0608386, 0.398402, -2.05854, 1.30355, 0.266386, 0.354028, 0.0409687, 1.94685, 1.00227, 1.01184, -1.63674, -1.504, -0.804854, 1.52478, -0.277801, 0.460902, 0.156191, 0.943897, 0.0535304, -0.0317016, -0.716587, 0.179156, 0.000155723, 0.00417827, 0.614994, 0.204945, 0.551368, -0.978196, 1.94433, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.972051, 1.13671, -0.366014, -0.776019, -1.18029, 0.917484, 1.24989, 0.66633, 0.348361, -1.89199, -0.0309029, -2.62676, 0.647751, -0.158809, 0.979054, -5.60221, 2.19588, 1.37446, 1.34588, 0.00571684, -1.37635, -0.38204, -0.107958, -1.39374, -0.197083, 0.498944, 0.846702, 0.0381701, 1.19376, 0.62658, 0.98644, 1.87799, -1.20453, 0.0870994, -0.140803, -0.21716, -0.617498, 1.26618, 1.05898, -0.367738, -0.0157662, -0.0410363, 0.800409, 0.38137, -1.31292, 0.720914, 0.494598, 0.321359, -0.143709, 1.75981, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0932966, 2.34979, 1.34952, -0.309347, 1.68973, 0.456457, 1.60106, 0.690538, 1.83944, -5.03675, 0.725364, 0.394838, 0.396574, 1.7649, 2.93768, 0.379914, 1.3735, 3.08934, 1.45623, 0.0523414, -1.47072, 3.9853, 1.54516, -3.51392, 0.103701, 1.74736, 1.50953, -0.0450341, -2.12481, 1.8503, -0.77874, 2.97552, -0.971446, -1.55761, -0.530127, -0.382639, -1.48386, 0.749978, 1.11634, -0.836521, 0.0258609, 2.28977, 0.810347, 0.456813, 1.71529, 2.09175, 0.991774, -0.428161, -0.576439, 0.59715, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.19695, 1.59849, -0.264135, -0.955047, 1.64054, 0.350277, 3.52675, -0.17243, 0.343697, -0.721947, 0.838934, -2.11594, 1.41413, 1.2732, 1.55528, 1.07779, 1.61679, 0.673245, -1.13586, 0.0230112, 2.38864, -1.38549, -0.873168, -0.618016, 2.84712, 0.639983, 1.14745, -0.0479037, -1.38018, -0.543638, 0.900633, -1.84425, 1.60297, -1.15709, 0.667961, -0.260853, -0.0948166, -0.255248, 2.21204, -0.196356, 0.0384511, 1.87776, 2.18333, -0.541313, 0.0627982, 0.509745, 0.184179, 0.937445, -0.0851166, 2.04006, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.33189, 1.9895, 0.467342, -3.36256, -0.340014, -0.0641166, 1.03644, -1.73935, 0.117815, -0.419913, -0.346734, -0.533823, -1.30349, 1.5025, 0.223321, -0.0635077, 0.934411, 0.7846, 0.848319, 0.0321187, -0.228507, 0.532389, 0.105084, 0.407139, -1.36828, -1.1727, 0.731758, 0.0383347, 1.37832, -0.542917, -0.446875, 3.06174, -0.933128, -0.0110819, 0.790446, -0.197162, 0.38099, -0.731831, 0.908692, 0.161963, -0.0488413, 1.14731, 1.60883, 1.47185, -3.67115, -0.0879459, 0.560834, 0.498636, -0.497183, 1.72119, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.62256, 0.0920488, -0.448733, 0.542861, -0.410663, -1.9448, 0.483487, 2.04376, -1.02753, -1.85055, 1.26539, -1.3324, 1.11516, -2.09663, 2.87414, -0.295073, 0.0749163, -0.537471, 0.113895, 0.0106524, 1.12077, -1.35064, -0.850714, -0.255393, 0.170679, 2.45594, 1.1772, 0.02761, 1.52055, -0.655509, -0.90793, -1.07618, -0.480319, -0.821545, 0.404053, -0.063071, 0.332467, -0.38476, -0.502128, -0.294094, -0.0284102, 1.1426, 2.50919, 0.958088, 0.449673, -0.762652, 1.0932, 0.170835, 0.560174, 0.2211, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.3925, 0.13553, 0.678218, -1.11054, 1.12606, -0.163133, -0.00813514, -0.17693, -0.634328, -2.02364, -0.153749, -0.485252, 2.05508, 2.5159, -1.20368, 0.0260146, 3.49318, 2.41076, 1.91587, 0.0297838, 1.11927, -1.23755, 0.108143, -0.253864, 2.47121, -0.927945, -0.0678579, -0.0313669, 2.66778, 2.20929, -1.18751, 2.83871, -1.54066, 0.498387, -0.122849, -0.354349, -0.538586, -0.00208679, 1.98546, 0.641627, 0.033084, 1.63398, 0.612969, 0.62692, 0.113176, 0.812404, -0.14157, 0.569448, -0.244604, 0.678109, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.448277, 1.39948, -0.00128607, 0.431945, 1.14361, 0.988732, -0.589376, 2.3537, 0.820702, -1.79547, -0.244168, 0.0149542, 1.54274, -0.349147, -0.261427, 1.53768, 0.446707, -0.0397812, 0.920228, -0.0151142, 0.804458, 0.765007, 0.0810443, 0.671524, 0.507523, 0.438775, -0.166402, -0.0255639, 1.68514, -0.873922, -0.230231, 0.914265, -0.485317, -0.774419, 0.423893, -0.207741, -0.246884, 1.53039, -0.522963, 0.405427, 0.0266917, 0.152353, -0.132201, 0.147407, 0.651855, 1.82879, -0.338667, 0.238215, -2.40959, -1.42171, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.911756, 0.653769, -0.0527143, -1.32985, 1.12747, 0.587877, -0.64845, 0.7231, 0.0734614, -0.36317, -0.292907, -0.73937, -0.236911, 0.851887, 0.50568, 0.0244786, 1.99333, 0.729976, 0.893244, -0.00930474, 0.0607339, -0.580709, 0.0611328, -0.560055, 0.826061, 0.079669, 0.15631, 0.0374545, 0.384944, -0.00851246, 0.422935, 0.697695, 0.285716, 0.843363, 0.472466, -0.152416, 1.02788, 0.296611, 1.15765, -0.140624, -0.0173587, 0.345819, -0.491552, -0.123477, 1.45835, 0.564547, -0.23478, -0.0964811, -1.2425, -0.898651, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.40907, 2.03576, 0.00652124, 1.04937, 0.988343, 0.60323, 0.0139936, 1.50655, 2.04713, -2.44848, 0.360376, -0.875113, 0.135859, 0.565285, 1.99228, -1.97548, 2.51314, -1.98443, -1.98352, 0.0102326, 0.289792, -0.576215, -0.683101, 0.401783, -0.281622, 1.40816, -0.329233, -0.0245368, 0.461409, 1.9949, -0.0798133, -6.91424, -0.676404, -0.504145, 0.209693, -0.269278, -3.68005, 0.462676, 1.85016, 1.40922, 0.0157425, 0.533176, 1.15075, 0.327894, 0.456571, 1.72477, 1.01443, -0.335088, 0.0748211, 2.12554, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.881622, -3.09683, 0.64056, -3.37625, -0.0378445, -0.761036, -2.16358, -0.800973, -0.735396, -1.16412, -2.7187, -2.88128, -0.458024, -0.10019, -0.0191714, -1.38057, 0.321455, 1.26628, 0.239526, 0.0305795, -2.6371, -2.11264, 0.404796, -1.70545, -0.684694, -3.41133, -2.21119, 0.0251868, -0.849699, 1.95183, -0.0409417, 1.99803, 1.09928, -1.58144, -0.437822, 0.152981, -1.05205, -0.399566, 0.281749, -0.889771, 0.0285164, -0.32934, 0.886472, -4.24201, -3.25248, 2.10902, -0.943351, 0.918964, -0.531421, -2.92483, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0746538, -2.55885, 1.09823, -1.6772, -3.05127, 0.375083, -0.84592, -3.9955, -0.402748, -9.93272, -0.993012, -2.21767, -2.84783, -1.63244, -4.12064, 0.336085, -3.60717, 1.34262, -2.15871, -0.0161532, -0.638014, -4.3112, 0.422151, -3.33606, 0.810283, -7.92409, -2.73857, 0.026902, -3.1217, 0.432603, -1.67081, -0.517372, -4.48844, -2.00675, 0.914214, 0.412001, -0.0773939, 1.03413, -3.16357, 1.19273, -0.00575727, -2.09423, -1.74348, 0.603694, -2.68857, -0.2033, -0.272434, -0.820981, 1.37056, -1.19669, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-5.13766, 1.07495, 0.735139, -2.34889, -1.95286, 0.581806, 1.95156, 1.48327, -1.34533, -2.49557, 1.30978, -0.458763, 1.3461, 2.36606, 0.936697, -1.41924, 1.40134, 2.42629, 1.65216, 0.052726, 0.661129, -1.15609, 0.174823, 2.2246, 0.546573, 1.83526, 1.0767, 0.0488815, 0.46713, 2.48684, -0.692511, 3.2107, -0.781262, 1.04497, 0.352623, -0.259186, 0.437071, 1.11155, 1.71224, 0.176965, 0.0485283, 0.23344, 2.3132, -1.10713, 1.23632, 1.08157, -1.1674, -0.36398, -6.88521, 2.74613, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0085636, 0.0218085, 0.00158811, 0.0150927, 0.014389, 0.0273938, -0.00991611, 0.00294794, -0.0116828, -0.0147964, -0.0194808, 0.00958467, -0.00177618, -0.0339532, -0.0233146, 0.00453635, -0.0129083, -0.0176445, -0.0619511, 0.035453, 0.033275, -0.0335271, -0.0629074, -0.0195214, -0.0346296, -0.0484144, -0.0318606, -0.0255338, 0.0185797, 0.0230929, -0.0126622, -0.0185441, -0.0456772, -0.0132329, -0.0122704, -0.00415933, 0.000289898, -0.0431349, -0.0346689, -0.00350189, -0.0458723, -0.0226582, -0.0385396, -0.000889565, -0.0311545, -0.00843709, 0.0242125, -0.0638102, 0.0172204, -0.0496593, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.20996, -1.25639, 1.07085, 0.258481, 0.460215, 0.628817, -1.68945, 1.71688, 0.93193, -2.22309, 0.796382, 0.299743, 0.0181656, 1.74311, 3.36936, 1.26721, 1.39834, 1.20397, 2.64779, -0.0169589, 1.14488, -1.90738, 0.169119, 0.625602, 1.03834, 2.26527, 2.3842, -0.0355169, 1.79712, 0.712544, -2.33284, 3.54382, 2.66806, -1.44016, 1.05358, -0.470439, -0.505775, -0.723143, -0.113153, 1.68044, 0.041324, -0.814071, 2.54367, 0.435257, -1.34325, 0.789912, 0.329605, 1.17223, 0.934663, 0.517411, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.700275, 0.574399, 0.106517, -0.16163, 0.349127, -0.0691996, 0.412291, 0.855645, -1.22457, -1.40301, 0.2018, -0.0406081, 1.05486, -2.51657, 0.503729, 0.344102, 2.70572, -0.466613, 1.23466, -0.0382405, -0.210385, -1.60115, 0.111905, 1.17213, 1.13572, 3.32379, 0.628913, 0.00647838, 1.24557, 1.60032, 0.86205, 1.30304, 0.102084, -0.0775894, 1.43555, -0.21333, 0.0817683, 0.0711044, 0.764438, -0.516879, 0.00645074, 0.485337, 0.943278, -0.256476, 0.656985, -1.06284, -0.00614037, -1.11543, 0.448951, 0.585998, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.594205, 0.737161, -0.287177, -0.194438, -5.42505, 0.839566, -0.282926, -1.95605, -0.427786, 3.35539, -0.540285, -1.73761, -1.22989, 1.13585, -2.74309, 0.218765, -2.36459, 1.94628, -0.619388, -0.0251101, 0.15922, 1.80962, 0.379936, 0.639049, -2.42874, -3.51252, -2.20352, 0.038065, 0.0275913, -0.627715, -1.90653, -1.13045, -1.14881, 0.477584, 0.142724, 0.20337, -0.499673, -3.00802, -0.504373, 1.30392, 0.00794812, -4.00899, -5.14203, 2.02181, 0.489972, 2.144, -0.686017, 1.30099, -0.572879, -0.0685107, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.05603, 2.79983, 1.46295, -3.06472, 1.29799, -1.09378, 0.799344, -1.69113, 1.42196, -2.33489, 0.851268, -1.06368, 0.108109, 1.53753, 2.43973, 0.151884, 1.09943, 1.58623, 0.486715, 0.00713009, -0.582464, 1.81637, -1.14947, -1.46143, 1.71845, 0.195385, 0.742732, -0.0399478, 2.22465, 0.215197, 0.596075, 2.2448, -1.18611, -0.268398, 0.757367, -0.237059, 1.52932, 1.78132, -1.19265, -0.49096, -0.0549246, 0.427943, -0.548509, 0.618993, 0.715103, 0.613538, 1.12602, 0.0899473, -2.02126, -1.07432, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.552063, 0.172223, 0.00731055, -0.15676, -0.62205, -0.261228, -0.00523317, 0.0404569, -0.665144, -0.505143, 0.386915, 0.394535, 0.557874, -1.0984, 1.07762, 0.287561, 1.70824, -0.389419, 0.458849, 0.0229235, 0.323537, -0.862134, -0.0267241, 0.568672, 0.132775, 1.38514, -0.596216, 0.00638251, 0.0564332, 0.651425, 0.122482, 0.454745, 0.342983, 0.332073, 0.420364, -0.0956444, -0.208039, 0.248618, -0.369846, -0.0628204, -0.0405775, 0.254985, 0.570166, -0.0940168, 0.070654, -0.321929, -0.192129, -0.480461, 0.229578, 0.148884, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.42309, -1.3941, -0.388239, 0.980052, 0.368586, -0.100642, 0.0815059, -2.42124, -0.0735383, 0.151373, 0.451705, -1.31446, 0.0283512, -0.722856, -3.85295, -0.524583, -0.794616, -0.73422, 0.866256, -0.0474158, -0.450778, 1.00157, -0.0903547, 0.754536, -0.248356, -2.73409, 0.757481, -0.00597883, -0.0949995, -2.00842, -1.66494, -3.5884, -0.416501, 0.3086, -7.09814, -0.0281408, 0.400128, 0.248145, -3.36574, -3.98437, -0.00350364, 0.418908, 0.0244441, 0.471133, -0.702598, -1.29006, -1.13289, 0.346237, 1.2322, 1.0324, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.215973, 0.47546, 0.121441, 0.331081, 0.0689184, -0.0481732, -0.243772, 0.245166, -0.0467849, -0.428834, 0.0272728, 0.207477, 0.0233892, -0.310964, -0.412344, 0.0882998, 0.453838, 0.156711, -0.0674974, 0.00952226, -0.130372, 0.252303, -0.12336, -0.0114175, 0.120536, 0.00471501, 0.0935355, -0.0276496, 0.0758419, -0.0304552, 0.175458, -0.686193, -0.0877997, -0.0164988, -0.309339, -0.014771, -0.280009, -0.178431, -0.0568548, -0.00323276, 0.0259726, -0.161655, -0.0813465, -0.179906, 0.202676, 0.0172924, 0.271338, -0.0766869, -0.173466, -0.012252, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0394802, -0.0038011, -0.0299727, -0.0272866, -0.0417137, -0.0205576, 0.0253233, 0.0318025, 0.0238941, -0.0167983, -0.0231191, 0.0243763, -0.0171247, -0.0362767, -0.0240678, 0.00912471, -0.0145983, -0.0232822, -0.00960656, -0.0458107, 0.00967702, -0.0450748, 0.0257284, 0.0379377, 0.0453769, -0.0154408, -0.0570367, 0.0266039, -0.0174398, 0.00684679, -0.0433648, 0.0277978, 0.00500316, 0.0224316, -0.0257072, -0.00992063, 0.0310039, -0.0363632, -0.03491, 0.0245562, -0.0185838, -0.0319784, 0.0140106, -0.028236, 0.0275164, -0.0145786, 0.0438562, -0.0383087, 0.0229448, -0.00323305, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0598623, 0.664827, 0.543777, 0.636487, -0.0620058, -0.314311, 1.14825, 0.555508, 1.09371, -0.936381, 0.712147, 0.732774, 0.749812, -1.46331, 1.45872, 0.351275, 0.36033, 0.840091, 0.98248, 0.0211703, 0.670456, 1.26261, -0.243534, -0.490977, 0.0321166, 0.704047, 0.167493, 0.00758608, 0.556151, 0.15233, -0.0584485, -0.0412612, 0.462136, -0.345423, 0.559371, -0.129796, 0.184732, 0.661023, 2.47946, -1.84569, -0.0256677, 0.373406, -0.333317, -0.0713944, 0.136824, -0.620768, -0.0771398, 0.171692, -0.8091, 0.263091, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.134356, -0.930922, -1.04016, -1.70948, -0.469235, -0.243488, -0.361065, 0.414189, -0.965491, -7.35794, 0.49018, 1.17376, -0.660005, -0.457619, -1.14584, -0.575144, 0.601598, 0.732946, -1.05186, 0.00606151, -2.23439, -9.7469, 0.0585145, 0.613725, -0.120061, -0.228727, -0.685401, -0.048821, -0.834654, -0.644676, -2.21425, 0.570129, -0.850396, -0.248595, -1.38066, 0.0504483, 0.246891, -1.47473, -0.976434, -0.655993, 0.0256557, -2.38086, 2.17218, -1.24956, -1.2536, -5.47472, 1.37774, 0.860483, 0.0551079, 1.04388, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0278904, -0.197407, 0.121955, -1.82859, 0.791445, -0.540758, 0.0506189, -0.756082, 0.338743, -1.36326, -0.321441, -1.03566, -0.15335, 0.83354, 1.6093, -2.36165, 0.17441, 0.00574468, -1.47465, -0.0314722, 0.65318, 0.483637, 0.0616901, -0.172609, 0.601485, -0.629141, 0.262445, -0.0450697, 1.91607, 0.689273, 0.614455, -0.606751, 0.661812, -0.314416, -0.569411, -0.11471, 0.374974, -0.204327, -0.221273, -5.67958, 0.0418646, 0.534759, 0.680515, 0.52264, -1.62106, 0.855669, -0.130935, 0.211559, -0.0855928, 0.140863, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.43624, 4.22015, 1.77214, 0.70482, 2.81147, -0.936442, -2.36057, 0.983073, 0.347789, -6.137, 1.40152, -3.23212, 2.95838, -0.954776, 6.40163, -0.661263, 1.37591, 3.70234, 0.543369, -0.0104265, 3.01056, 3.34166, -0.638891, 3.55254, 1.59458, -3.69467, 0.0985299, 0.0470907, -1.10234, 3.90454, 0.22026, 3.46429, 4.8295, -0.604551, 2.07434, 0.09115, -0.276925, 0.814651, -0.763597, 0.861345, -0.0437325, 2.31456, -1.3191, 2.21696, 3.57157, 5.01147, 0.128131, -2.30601, -0.403096, 5.50777, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.05786, 0.520975, 1.10806, -2.33492, 0.426178, -0.702966, -0.362403, 0.33103, 0.692275, -2.94809, 0.206203, -3.31385, 1.10289, 1.92498, 1.2447, 0.112774, 1.70052, 0.524045, 1.09499, 0.0282761, -0.611694, 0.193591, -0.16744, 0.217929, 0.893015, 0.328059, -0.112659, 0.00056785, 0.900371, 1.07229, -0.990776, 0.620628, 0.204796, -0.290584, -0.625305, -0.165456, 0.155061, 0.0179875, 0.990718, -6.34805, 0.0476681, 1.24627, 0.158641, -0.20473, 0.241221, -4.25374, 0.363366, 0.194091, -1.21043, 0.334277, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.429279, -0.103696, -1.03022, 0.0131041, 0.237999, 0.49014, -0.113149, -6.26635, 0.190931, -4.75805, 0.796651, -3.83885, 0.771045, -1.77999, 0.257917, -2.42464, -5.2325, -0.0762076, -0.52381, 0.0323317, -0.499749, -0.74581, 0.0376052, -1.12496, -0.263478, -2.53516, -0.552616, -0.0220044, 0.778963, -0.557828, -2.24804, -5.09181, -7.35628, 1.1606, -0.440514, -0.00206733, -0.423539, -0.981533, -6.17542, -3.54772, -0.0194808, 1.06845, -0.26083, 0.0486648, -0.26486, -5.95661, 1.13271, 0.32457, -0.695484, -2.38455, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.072515, 1.09416, 0.130798, -0.318927, 0.784459, 0.726948, -0.00685746, -0.418464, -1.67223, -1.85165, -0.124812, 0.457372, -1.29169, -0.027166, -2.54181, 0.691096, -1.0117, -3.69912, -0.608322, -0.0448513, -2.06251, 1.56021, 0.25061, -0.0462341, 0.280387, -0.182111, -1.79069, -0.0414267, -1.18389, 0.0673053, 0.546708, 0.420629, 0.110793, -0.493827, 1.08017, 0.028533, 0.147756, 1.30627, -0.0696699, -0.0246402, -0.0150345, -0.20194, -0.163235, 0.134969, 0.261983, 1.26403, 0.0523358, -2.93412, 0.158222, -0.490893, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.184399, 0.457992, -0.0924458, -0.658243, -0.309683, 0.12756, 0.0612011, 0.362916, 0.126625, 0.42677, -0.298867, -0.252082, -0.0437859, 0.591344, -0.399254, -0.362944, -3.38033, 0.258246, -0.4215, 0.0452605, 0.228928, 0.291433, -0.107299, 0.304532, -0.19702, -0.792202, 0.0713496, 0.0201278, 0.000924587, 0.30435, -0.117636, 1.31282, -0.378931, 0.00833778, -0.0914392, -0.00868048, -0.259433, 0.329754, -0.418115, -0.627621, 0.00708408, -0.0856937, -0.198956, 0.0995927, 0.269445, -0.238978, 0.920825, 0.123077, -0.314866, -0.577737, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.311365, -0.0804592, -0.230134, -0.247307, 0.129533, -1.01776, -0.423019, 0.612068, -0.0311238, -0.221459, 0.557612, -0.234203, -0.0945154, -1.44964, 0.49538, 0.173014, 0.670139, -0.672519, -0.657963, -0.00243652, 0.190946, -1.27744, -0.0808583, 0.427537, 0.455262, 0.610952, -0.170049, -0.035615, -0.593103, 0.228101, 0.17997, -1.14053, 0.0558489, 0.138523, -0.998218, -0.00646378, 0.621878, -0.406943, -0.448699, -0.00170961, -0.0081261, 0.54157, 0.115175, -0.283945, 0.0802252, -0.989919, 0.693727, -0.333462, -0.00638269, 0.28884, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.16158, 1.38009, -0.6507, -0.166675, 0.680412, -0.00514515, 1.4187, 1.78042, 2.26668, -3.7058, 1.29712, -0.92014, 0.310839, -0.329334, 2.21735, -0.563759, -1.54916, 0.566012, -1.11878, -0.00829053, 1.77809, 0.69466, -0.341475, -2.0834, 3.1619, 0.787896, 1.32243, 0.040405, -0.476943, 1.02548, 1.23703, -0.230813, -0.471908, 0.714405, 0.543441, -0.203256, 1.62798, -1.52869, 1.04481, 0.34968, 0.0407593, 2.19452, -0.79536, 0.00792426, -0.34897, 0.859553, 0.7432, 0.400934, -1.36035, 3.34557, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [2.4986, 0.431674, 0.00703691, 1.9312, -1.34528, 0.634535, 2.54584, -0.989031, 1.58017, -0.896399, 0.693875, -0.669699, 1.73973, -4.85194, 2.19068, 1.33221, 1.88642, 0.815339, 1.89885, 0.0133625, 0.370593, -1.05664, -0.39809, 0.213138, 1.22549, 2.31086, -0.152995, 0.00502988, 1.2923, 1.2174, 1.22617, 1.49323, -0.478967, -1.62348, 2.16524, -0.432211, -0.313742, 0.407423, 0.639902, -0.0694576, -0.0361526, 0.559002, 2.71862, 0.48741, -0.432672, -2.41858, 0.460717, 0.805576, -0.119468, 0.378163, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-2.3145, -3.56267, -0.644848, -0.906352, -5.51521, 1.5347, -4.00724, -2.56005, 0.213501, -2.29819, -3.34652, -1.73305, -4.09748, 8.10305, -5.7237, -2.07033, -1.08702, 4.08859, 0.100321, 0.0023005, -7.4334, -2.67383, 1.68431, 1.82371, -7.49013, -8.02817, -0.867467, 0.0220523, 2.76103, -5.30111, -3.00732, -1.40471, -2.63189, -3.92655, -0.00332296, 0.554563, -2.90306, -5.83773, -0.225029, 1.30703, -0.0422245, -6.45918, -2.56795, 0.999892, -5.81977, -0.69352, -1.63436, 2.54244, -3.10131, -5.39516, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.592266, -3.10178, 0.83251, -0.929666, 0.279711, -0.222886, -1.2243, 0.524013, -1.1108, 1.07727, 0.249115, -0.142653, -0.785018, -0.889081, -0.561964, 0.735577, 0.228692, -2.0292, 0.315489, -0.00354878, -3.17919, 0.51945, 0.12492, -0.566982, -1.02228, 0.3785, 1.1481, -0.0477327, -0.361303, -1.46, -0.520701, -1.11235, -0.122358, -1.20486, -1.23753, -0.0407838, -0.61568, 0.0116833, 1.02957, -0.323854, -0.0387188, 0.859965, 0.846305, -1.43235, -0.511631, 0.324723, 0.791268, -3.73779, -0.252209, -0.271391, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.05246, -0.04712, 0.03873, 0.02242, 0.01764, 0.002464, -0.02277, 0.001662, -0.04996, 0.0243, 0.00109, 0.01978, -0.04544, -0.01005, -0.04376, -0.05045, 0.02367, -0.01924, -0.04507, -0.04346, -0.0555, -0.01321, 0.02338, 0.01497, -0.04297, -0.03482, 0.01192, -0.02974, -0.001404, 0.00552, 0.004623, -0.009415, 0.03029, -0.01999, -0.01279, -0.01952, 0.03055, -0.005634, -0.0009255, -0.04105, -0.007233, 0.02722, 0.006687, 0.03772, 0.03064, -0.02895, -0.0483, -0.005165, 0.02107, -0.02689], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5957, -1.472, -0.4084, 0.3142, 0.01634, 0.4011, 0.831, -3.137, -1.341, -1.428, -1.161, -0.538, -0.3887, 0.7505, -0.1294, 0.7515, 0.2773, -0.3596, -1.48, 0.01802, 0.4355, -1.923, -0.185, -0.1642, -0.9194, -0.0729, -0.0806, -0.00739, -0.05692, 0.1477, -0.5054, -1.084, -0.0734, -1.026, -0.5083, 0.0329, 0.06506, 0.4597, -0.6943, 0.484, -0.03436, -0.3818, -1.33, 0.5845, -0.7295, -0.3613, 0.122, 0.0416, 0.1259, -0.826], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.825, -0.02844, -0.2144, 0.7974, 0.2239, 0.0001711, 0.7993, -0.1282, -1.365, 0.0301, -0.1393, 1.238, -0.73, 1.263, -0.2296, 0.701, 0.4546, 1.148, -0.0529, -0.634, -1.333, 0.0398, 0.8193, 0.466, 1.229, -0.03928, 0.00865, 0.8604, -0.328, -0.07715, -0.014694, -0.169, 0.11896, 0.0651, -0.1172, -0.12244, 0.01651, 0.2213, -0.39, -0.03558, 0.154, 0.1302, 0.659, 0.03427, -0.1775, 0.1803, -0.853, 0.2351, -0.1827], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2078, 0.4712, 0.4956, -0.3584, -0.1438, -0.3171, -0.1864, 0.749, -1.3125, -4.055, 0.04355, -1.419, 0.4995, -0.6694, 0.7295, -0.3293, 2.25, 0.2598, 1.725, -0.005127, -0.1216, -0.1241, 0.1785, 0.505, 1.312, 1.368, 0.8364, -0.01384, 1.853, -0.626, -0.1322, 0.1877, 0.589, -4.7, 1.285, -0.11993, -0.3606, -0.0771, -0.2515, -0.1676, -0.006027, -1.669, -0.939, 0.553, 0.6206, -0.04355, 0.5317, -0.6626, 1.288, 1.121], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.3125, 0.2898, 0.2659, 1.113, 0.2072, -0.4856, 0.8735, -0.5356, 0.11115, -1.164, 0.642, -2.016, 1.217, -0.2676, 0.859, 0.1571, 1.092, -1.124, 0.388, 0.04694, 0.5444, 0.923, 0.2302, 0.2098, -0.2686, 0.597, 1.075, -0.0335, 0.689, -0.09485, -0.0677, -0.5283, 1.548, -0.2441, -0.9346, -0.09845, 0.07837, 0.5244, 0.673, -0.04968, -0.02155, -0.266, 0.664, 0.691, -1.434, -0.1538, -0.05084, -0.1195, 0.7534, 0.5825], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.991, 1.669, -0.1825, -1.355, -1.54, 0.05212, 0.2211, 1.317, -0.6426, 0.6436, 0.24, 0.03763, -0.364, -1.631, 2.14, 1.463, -0.09717, 1.069, 1.733, -0.02905, 1.2, -0.739, 0.1276, 2.043, -0.7773, 1.139, -1.218, 0.005642, -0.5273, 1.343, 0.2452, 3.49, -0.005947, -3.871, 1.158, -0.1603, 0.3406, -0.107, 2.16, 0.5093, 0.012665, 0.1622, 0.1417, 0.8438, 0.1698, 0.4326, 0.357, -0.508, -0.5903, 2.115], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5205, -0.3118, -0.2086, -5.06, 0.3953, -1.484, -0.72, -1.657, 0.2935, -1.304, 1.106, -2.15, -0.9165, -2.28, 1.746, -6.156, -2.36, 1.42, 1.77, 0.007263, 0.05215, 0.5522, -0.004784, 2.172, -1.736, -0.1359, 2.195, -0.04376, 0.304, 0.317, 0.0662, -2.219, -3.506, 0.1693, -0.3406, -0.1082, -0.1857, -0.3274, 0.3796, 1.069, 0.0157, -0.0657, 0.3308, 0.318, 0.04587, -1.412, 0.463, 0.2632, -0.7705, -0.01654], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.6216, -0.392, -0.3452, 1.192, 1.016, -0.97, -0.345, 1.729, 0.4026, -3.094, 0.948, 0.479, 0.8774, -0.907, 3.02, 0.593, -0.02039, -0.659, -0.4404, 0.0643, 1.125, -3.994, -0.8384, -0.3894, 0.8135, 0.7783, 1.002, 0.03683, -1.184, -0.4956, 0.4338, -5.523, -0.03204, 0.8447, -2.65, -0.0932, 0.965, 1.118, 0.3955, -0.2358, 0.05774, 3.156, 1.361, -0.4282, 1.042, -0.01449, 0.8545, -0.2217, -1.104, 0.8643], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.131, -2.957, 0.06165, 0.07086, 0.3853, -0.1957, 0.6646, -2.463, -0.648, -1.253, 0.714, -0.656, 0.5474, -1.243, 0.761, 0.0517, -3.07, 0.3833, -1.449, -0.02716, 0.617, 0.02621, 0.167, -0.2588, 0.9297, 0.2986, -0.002098, -0.0398, -0.0737, -0.178, -0.9897, -2.969, 0.4841, 0.1542, -1.574, -0.011894, 0.04068, 0.1649, 0.687, 0.1992, 0.02933, 0.501, 0.1581, 0.2433, -0.1349, 0.1517, 0.3013, -0.2817, -0.1495, -0.1438], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.456, 1.469, -0.006424, -1.142, 0.638, -0.1335, -0.02983, -2.074, 1.701, -0.5864, 0.2167, -1.486, 1.156, -0.9575, 0.1879, 0.275, 1.263, 1.197, 0.4575, -0.0186, 1.145, -3.076, -0.2866, 1.241, 0.643, 1.311, -0.42, -0.02956, 1.414, 2.217, 1.183, -0.3218, 2.105, 0.3271, 0.1874, -0.2483, 0.7246, 2.365, -1.951, 0.02466, -0.00978, 0.63, 1.962, 0.0825, -0.72, -0.147, 0.3208, -0.0639, -1.145, -2.299], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.835, 0.3623, 0.4512, 0.61, 0.796, -0.4985, -2.34, 0.951, 1.019, -1.631, 0.763, -0.09607, -1.5205, 0.1633, 0.9307, -0.00858, -0.59, 0.6455, 1.125, -0.01549, 0.2032, 1.125, 0.06107, -1.005, 1.042, 0.4387, 0.1191, -0.04095, 0.0735, 1.618, 0.6567, -2.51, 0.9937, -0.3477, -0.3826, -0.224, 0.623, -0.1257, 0.9697, 0.4258, 0.04865, 0.751, 0.58, 0.855, -1.398, -0.3137, -0.2407, 0.523, 0.0782, 0.9126], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.582, 0.1288, 0.1456, -0.276, -0.599, 0.3252, -0.6533, 0.0896, -0.5205, -0.936, 0.378, -0.6235, 1.431, -0.4033, -0.2208, 0.1404, -0.2905, -0.2876, 1.574, -0.02257, 0.2206, -1.421, -0.007446, -0.816, 0.5815, 0.5547, 0.887, -0.0349, -0.384, 0.821, 0.05438, -1.871, 0.839, 0.5283, 1.013, -0.072, -0.762, -1.302, 0.9263, 0.02122, 0.04742, -0.2494, 0.1014, 0.6035, 0.5093, -0.2603, 0.04593, -0.313, -0.8506, -0.5444], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2957, -0.06036, 0.3044, -0.05734, -0.4412, 0.172, -0.4778, 0.7065, 0.2585, -0.2487, 0.2244, -0.585, 0.56, 0.201, 1.039, 0.3948, -0.2094, 0.3433, 0.559, -0.00842, -0.2327, 0.0941, -0.304, 0.985, -0.8423, 0.2439, 0.2247, 0.01685, 0.4724, 0.1489, -0.2883, 1.1875, 0.1343, 1.11, 0.131, -0.0481, 0.4575, -0.1941, -0.8643, 0.1929, 0.04874, 0.01634, -0.7334, -0.09955, 0.0572, 0.04062, -0.2888, -0.377, -1.299, 0.1864], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2139, 0.874, 0.195, -0.4487, 0.284, -0.0667, 1.218, -0.7197, -0.3772, -1.32, -0.2808, -0.02953, 0.9688, 0.4775, 2.209, -0.865, 1.001, 0.7456, 0.08997, -0.03445, 1.148, 0.4053, 0.001499, -0.4197, -0.55, 0.0393, 0.736, -0.04813, 1.164, -1.163, 0.1448, -0.1288, 0.1921, 0.0375, 0.2695, -0.1326, 0.279, 0.4358, 1.063, -0.0912, -0.04285, 0.03436, -0.424, 0.1478, 0.3176, 0.2455, 0.527, 0.005016, 0.4768, 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.657, 1.091, 0.10254, -0.0863, 0.3206, 0.0211, -0.4656, 0.2311, 0.398, -1.713, 0.2488, 0.1581, 0.2, 0.3574, 0.4963, -0.0839, 0.6333, -1.641, -0.48, 0.02863, -0.9517, -0.3787, -0.411, 0.01104, 1.057, -1.261, 0.02989, 0.001995, -1.435, -0.8906, -0.2717, 0.06775, -3.693, -0.05728, -3.832, 0.06506, -3.094, -1.496, -1.845, -1.306, -0.03516, -0.5376, -0.4824, -0.208, -4.77, 1.103, -0.0812, -1.261, 2.512, -0.9214], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.864, 0.9766, 1.522, -2.908, 0.536, 0.775, 0.1552, 0.402, 1.0205, -1.438, -0.2952, 0.1704, 1.563, 0.708, 2.58, 0.525, -2.16, 1.461, -0.5317, -0.01546, 0.4663, 0.06085, 0.3984, -2.059, 1.304, 0.2664, 0.354, 0.04095, 1.947, 1.002, 1.012, -1.637, -1.504, -0.8047, 1.524, -0.2778, 0.461, 0.1562, 0.944, 0.05353, -0.0317, -0.717, 0.1792, 0.0001557, 0.004177, 0.615, 0.205, 0.5513, -0.978, 1.944], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.972, 1.137, -0.366, -0.776, -1.181, 0.9175, 1.25, 0.6665, 0.3484, -1.892, -0.0309, -2.627, 0.648, -0.1588, 0.979, -5.6, 2.195, 1.374, 1.346, 0.00572, -1.376, -0.382, -0.108, -1.394, -0.1971, 0.499, 0.8467, 0.03818, 1.193, 0.6265, 0.9863, 1.878, -1.204, 0.0871, -0.1407, -0.2172, -0.6177, 1.267, 1.059, -0.3677, -0.01576, -0.04105, 0.8003, 0.3813, -1.3125, 0.7207, 0.4946, 0.3213, -0.1437, 1.76], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0933, 2.35, 1.35, -0.3093, 1.689, 0.4565, 1.601, 0.6904, 1.84, -5.035, 0.7256, 0.3948, 0.3965, 1.765, 2.938, 0.38, 1.373, 3.09, 1.456, 0.05234, -1.471, 3.984, 1.545, -3.514, 0.1037, 1.747, 1.51, -0.04504, -2.125, 1.851, -0.779, 2.975, -0.9717, -1.558, -0.5303, -0.3826, -1.483, 0.75, 1.116, -0.8364, 0.02586, 2.29, 0.8105, 0.4568, 1.715, 2.092, 0.9917, -0.4282, -0.5767, 0.597], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.197, 1.599, -0.2642, -0.955, 1.641, 0.3503, 3.527, -0.1725, 0.3438, -0.722, 0.839, -2.115, 1.414, 1.273, 1.556, 1.078, 1.617, 0.6733, -1.136, 0.02301, 2.389, -1.386, -0.873, -0.618, 2.848, 0.64, 1.147, -0.0479, -1.38, -0.5435, 0.9004, -1.845, 1.603, -1.157, 0.668, -0.2607, -0.0948, -0.2551, 2.213, -0.1964, 0.03845, 1.878, 2.184, -0.5415, 0.0628, 0.51, 0.1842, 0.9375, -0.08514, 2.041], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.332, 1.989, 0.4673, -3.363, -0.34, -0.0641, 1.036, -1.739, 0.1178, -0.42, -0.3467, -0.5337, -1.304, 1.503, 0.2233, -0.06354, 0.9346, 0.7847, 0.848, 0.0321, -0.2285, 0.532, 0.1051, 0.4072, -1.368, -1.173, 0.732, 0.03833, 1.378, -0.543, -0.4468, 3.062, -0.933, -0.011086, 0.7905, -0.1971, 0.381, -0.732, 0.9087, 0.162, -0.04883, 1.147, 1.608, 1.472, -3.672, -0.08795, 0.561, 0.4985, -0.497, 1.721], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.6226, 0.09204, -0.4487, 0.543, -0.4106, -1.944, 0.4834, 2.043, -1.027, -1.851, 1.266, -1.332, 1.115, -2.096, 2.875, -0.2952, 0.0749, -0.5376, 0.1139, 0.01065, 1.121, -1.351, -0.8506, -0.2554, 0.1707, 2.455, 1.177, 0.0276, 1.5205, -0.6553, -0.9077, -1.076, -0.4802, -0.822, 0.404, -0.06305, 0.3325, -0.3848, -0.502, -0.2942, -0.02841, 1.143, 2.51, 0.958, 0.4497, -0.7627, 1.093, 0.1708, 0.56, 0.2211], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.393, 0.1355, 0.678, -1.11, 1.126, -0.1631, -0.00813, -0.1769, -0.6343, -2.023, -0.1538, -0.4854, 2.055, 2.516, -1.204, 0.02602, 3.494, 2.41, 1.916, 0.02979, 1.119, -1.237, 0.10815, -0.254, 2.47, -0.9277, -0.0679, -0.03137, 2.668, 2.209, -1.1875, 2.838, -1.541, 0.4983, -0.12286, -0.3542, -0.5386, -0.002087, 1.985, 0.6416, 0.03308, 1.634, 0.613, 0.627, 0.11316, 0.8125, -0.1416, 0.5693, -0.2446, 0.678], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4482, 1.399, -0.0012865, 0.432, 1.144, 0.989, -0.5894, 2.354, 0.821, -1.796, -0.2441, 0.01495, 1.543, -0.349, -0.2615, 1.538, 0.4468, -0.0398, 0.9204, -0.015114, 0.8047, 0.765, 0.08105, 0.6714, 0.5073, 0.4387, -0.1664, -0.02556, 1.686, -0.874, -0.2302, 0.914, -0.4854, -0.7744, 0.4238, -0.2078, -0.2468, 1.53, -0.523, 0.4055, 0.02669, 0.1523, -0.1322, 0.1475, 0.652, 1.829, -0.3386, 0.2382, -2.41, -1.422], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.9116, 0.654, -0.0527, -1.33, 1.128, 0.588, -0.6484, 0.723, 0.0735, -0.3633, -0.293, -0.7393, -0.2369, 0.852, 0.506, 0.02448, 1.993, 0.73, 0.893, -0.00931, 0.06073, -0.5806, 0.06113, -0.56, 0.826, 0.07965, 0.1562, 0.03745, 0.385, -0.008514, 0.4229, 0.6978, 0.2856, 0.8433, 0.4724, -0.1525, 1.028, 0.2966, 1.157, -0.1406, -0.01736, 0.3457, -0.4915, -0.1235, 1.458, 0.5645, -0.2347, -0.0965, -1.242, -0.8984], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.409, 2.035, 0.006523, 1.05, 0.9883, 0.603, 0.01399, 1.507, 2.047, -2.45, 0.3604, -0.875, 0.1359, 0.5654, 1.992, -1.976, 2.514, -1.984, -1.983, 0.01023, 0.2898, -0.576, -0.683, 0.4019, -0.2817, 1.408, -0.3293, -0.02454, 0.4614, 1.995, -0.07983, -6.914, -0.6763, -0.504, 0.2097, -0.2693, -3.68, 0.4626, 1.851, 1.409, 0.01575, 0.533, 1.15, 0.328, 0.4565, 1.725, 1.015, -0.3352, 0.0748, 2.125], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.882, -3.098, 0.6406, -3.377, -0.03784, -0.761, -2.164, -0.801, -0.7354, -1.164, -2.719, -2.88, -0.458, -0.1002, -0.01917, -1.381, 0.3215, 1.267, 0.2395, 0.03058, -2.637, -2.113, 0.4048, -1.705, -0.6846, -3.412, -2.21, 0.02519, -0.8496, 1.952, -0.04095, 1.998, 1.1, -1.581, -0.4377, 0.153, -1.052, -0.3997, 0.2817, -0.8896, 0.02852, -0.3293, 0.886, -4.242, -3.252, 2.11, -0.9434, 0.919, -0.5312, -2.926], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.07465, -2.559, 1.099, -1.677, -3.05, 0.375, -0.8457, -3.996, -0.4028, -9.93, -0.993, -2.217, -2.848, -1.633, -4.12, 0.3362, -3.607, 1.343, -2.158, -0.01616, -0.638, -4.312, 0.422, -3.336, 0.81, -7.926, -2.738, 0.0269, -3.121, 0.4326, -1.671, -0.5176, -4.49, -2.006, 0.914, 0.412, -0.0774, 1.034, -3.164, 1.192, -0.005756, -2.094, -1.743, 0.6035, -2.69, -0.2032, -0.2725, -0.821, 1.37, -1.196], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -5.137, 1.075, 0.7354, -2.35, -1.953, 0.582, 1.951, 1.483, -1.346, -2.496, 1.31, -0.4587, 1.346, 2.365, 0.9365, -1.419, 1.401, 2.426, 1.652, 0.05273, 0.661, -1.156, 0.1748, 2.225, 0.5464, 1.835, 1.077, 0.0489, 0.467, 2.486, -0.6924, 3.21, -0.7812, 1.045, 0.3525, -0.2593, 0.437, 1.111, 1.712, 0.177, 0.04852, 0.2334, 2.312, -1.107, 1.236, 1.082, -1.167, -0.364, -6.887, 2.746], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.00856, 0.0218, 0.001588, 0.01509, 0.01439, 0.02739, -0.00992, 0.002949, -0.01168, -0.01479, -0.01949, 0.00958, -0.001776, -0.03397, -0.02332, 0.004536, -0.01291, -0.01764, -0.06195, 0.03546, 0.03326, -0.03354, -0.0629, -0.01952, -0.03464, -0.0484, -0.03186, -0.02553, 0.01859, 0.02309, -0.012665, -0.01854, -0.0457, -0.01323, -0.01227, -0.004158, 0.00029, -0.04312, -0.03467, -0.003502, -0.04587, -0.02266, -0.03854, -0.00089, -0.03116, -0.00844, 0.02422, -0.0638, 0.01723, -0.04965], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.21, -1.257, 1.071, 0.2585, 0.4602, 0.629, -1.689, 1.717, 0.932, -2.223, 0.7964, 0.2998, 0.01817, 1.743, 3.37, 1.268, 1.398, 1.204, 2.648, -0.01695, 1.145, -1.907, 0.1691, 0.6255, 1.038, 2.266, 2.385, -0.03552, 1.797, 0.7124, -2.332, 3.543, 2.668, -1.44, 1.054, -0.4705, -0.506, -0.723, -0.11316, 1.681, 0.04132, -0.814, 2.543, 0.4353, -1.343, 0.79, 0.3296, 1.172, 0.9346, 0.5176], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.7, 0.574, 0.1065, -0.1616, 0.349, -0.0692, 0.4124, 0.8555, -1.225, -1.403, 0.2018, -0.04062, 1.055, -2.516, 0.504, 0.344, 2.705, -0.4666, 1.234, -0.03824, -0.2103, -1.602, 0.1119, 1.172, 1.136, 3.324, 0.629, 0.006477, 1.245, 1.601, 0.862, 1.303, 0.1021, -0.0776, 1.436, -0.2134, 0.0818, 0.0711, 0.7646, -0.517, 0.00645, 0.4854, 0.9434, -0.2566, 0.657, -1.0625, -0.00614, -1.115, 0.449, 0.586], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.594, 0.7373, -0.287, -0.1945, -5.426, 0.8394, -0.283, -1.956, -0.4277, 3.355, -0.5405, -1.737, -1.2295, 1.136, -2.742, 0.2188, -2.365, 1.946, -0.6196, -0.02512, 0.1592, 1.81, 0.38, 0.639, -2.43, -3.512, -2.203, 0.03806, 0.02759, -0.628, -1.906, -1.131, -1.148, 0.4775, 0.1427, 0.2034, -0.4998, -3.008, -0.5044, 1.304, 0.00795, -4.008, -5.14, 2.021, 0.49, 2.145, -0.686, 1.301, -0.5728, -0.0685], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.056, 2.8, 1.463, -3.064, 1.298, -1.094, 0.7993, -1.691, 1.422, -2.334, 0.851, -1.063, 0.1081, 1.537, 2.44, 0.1519, 1.1, 1.586, 0.4868, 0.00713, -0.5825, 1.816, -1.149, -1.462, 1.719, 0.1954, 0.7427, -0.03995, 2.225, 0.2152, 0.596, 2.244, -1.187, -0.2683, 0.7573, -0.237, 1.529, 1.781, -1.192, -0.491, -0.05493, 0.428, -0.5483, 0.619, 0.7153, 0.614, 1.126, 0.08997, -2.021, -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.5522, 0.1722, 0.00731, -0.1567, -0.622, -0.2612, -0.005234, 0.04047, -0.665, -0.5054, 0.387, 0.3945, 0.558, -1.099, 1.077, 0.2876, 1.708, -0.3894, 0.4587, 0.02292, 0.3235, -0.8623, -0.02672, 0.569, 0.1328, 1.385, -0.596, 0.006382, 0.05643, 0.6514, 0.1225, 0.4548, 0.343, 0.332, 0.4204, -0.09564, -0.208, 0.2487, -0.3699, -0.0628, -0.0406, 0.255, 0.5703, -0.094, 0.0707, -0.322, -0.1921, -0.4805, 0.2296, 0.1489], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.423, -1.395, -0.3882, 0.98, 0.3687, -0.10065, 0.0815, -2.422, -0.07355, 0.1514, 0.4517, -1.314, 0.02835, -0.7227, -3.854, -0.5244, -0.7944, -0.7344, 0.866, -0.04742, -0.4507, 1.002, -0.09033, 0.7544, -0.2484, -2.734, 0.7573, -0.005978, -0.095, -2.008, -1.665, -3.588, -0.4165, 0.3086, -7.098, -0.02814, 0.4001, 0.2482, -3.365, -3.984, -0.003504, 0.419, 0.02444, 0.4712, -0.7026, -1.29, -1.133, 0.3462, 1.232, 1.032], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.216, 0.4753, 0.12146, 0.331, 0.0689, -0.0482, -0.2438, 0.2451, -0.04678, -0.429, 0.02727, 0.2075, 0.02339, -0.311, -0.4124, 0.0883, 0.4539, 0.1567, -0.0675, 0.00952, -0.1304, 0.2522, -0.12335, -0.01142, 0.12054, 0.004715, 0.0935, -0.02765, 0.07587, -0.03046, 0.1754, -0.686, -0.0878, -0.0165, -0.3093, -0.01477, -0.28, -0.1785, -0.05685, -0.003233, 0.02597, -0.1616, -0.08136, -0.1799, 0.2026, 0.01729, 0.2712, -0.07666, -0.1735, -0.01225], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0395, -0.003801, -0.02997, -0.02728, -0.04172, -0.02055, 0.02533, 0.0318, 0.0239, -0.0168, -0.02312, 0.02438, -0.01712, -0.0363, -0.02406, 0.009125, -0.014595, -0.02328, -0.009605, -0.0458, 0.009674, -0.04507, 0.02573, 0.03793, 0.04538, -0.01544, -0.05704, 0.02661, -0.01744, 0.006847, -0.04337, 0.0278, 0.005005, 0.02243, -0.02571, -0.00992, 0.031, -0.03638, -0.0349, 0.02455, -0.01859, -0.03198, 0.01401, -0.02823, 0.02751, -0.01458, 0.04385, -0.0383, 0.02295, -0.003233], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.05988, 0.665, 0.544, 0.6367, -0.062, -0.3142, 1.148, 0.5557, 1.094, -0.9365, 0.712, 0.733, 0.75, -1.463, 1.459, 0.3513, 0.3604, 0.8403, 0.9824, 0.02116, 0.6704, 1.263, -0.2435, -0.491, 0.0321, 0.704, 0.1675, 0.007587, 0.556, 0.1523, -0.05844, -0.04126, 0.4622, -0.3455, 0.5596, -0.1298, 0.1847, 0.661, 2.479, -1.846, -0.02567, 0.3733, -0.3333, -0.0714, 0.1368, -0.6206, -0.07715, 0.1718, -0.809, 0.2632], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1344, -0.931, -1.04, -1.71, -0.4692, -0.2435, -0.361, 0.4143, -0.9653, -7.36, 0.4902, 1.174, -0.66, -0.4575, -1.1455, -0.575, 0.6016, 0.733, -1.052, 0.00606, -2.234, -9.75, 0.0585, 0.614, -0.12006, -0.2288, -0.6855, -0.04883, -0.8345, -0.6445, -2.215, 0.5703, -0.8506, -0.2485, -1.381, 0.05045, 0.247, -1.475, -0.9766, -0.656, 0.02565, -2.38, 2.172, -1.25, -1.254, -5.477, 1.378, 0.8604, 0.0551, 1.044], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0279, -0.1974, 0.12195, -1.828, 0.7915, -0.5405, 0.05063, -0.756, 0.3386, -1.363, -0.3215, -1.036, -0.1533, 0.8335, 1.609, -2.361, 0.1744, 0.005745, -1.475, -0.03146, 0.6533, 0.4836, 0.06168, -0.1726, 0.6016, -0.629, 0.2625, -0.04507, 1.916, 0.6895, 0.6143, -0.607, 0.6616, -0.3145, -0.5693, -0.1147, 0.375, -0.2043, -0.2213, -5.68, 0.04187, 0.5347, 0.6807, 0.5225, -1.621, 0.8555, -0.131, 0.2115, -0.0856, 0.1409], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.437, 4.22, 1.772, 0.7046, 2.81, -0.9365, -2.361, 0.983, 0.348, -6.137, 1.401, -3.232, 2.959, -0.9546, 6.402, -0.661, 1.376, 3.703, 0.5435, -0.01043, 3.01, 3.342, -0.6387, 3.553, 1.595, -3.695, 0.0985, 0.0471, -1.103, 3.904, 0.2202, 3.465, 4.83, -0.6045, 2.074, 0.0911, -0.2769, 0.8145, -0.7637, 0.8613, -0.04373, 2.314, -1.319, 2.217, 3.572, 5.01, 0.1282, -2.307, -0.403, 5.508], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.058, 0.521, 1.108, -2.334, 0.4263, -0.703, -0.3623, 0.331, 0.6924, -2.947, 0.2062, -3.314, 1.103, 1.925, 1.245, 0.1128, 1.7, 0.524, 1.095, 0.02827, -0.612, 0.1936, -0.1675, 0.2179, 0.893, 0.3281, -0.1127, 0.000568, 0.9004, 1.072, -0.9907, 0.6206, 0.2048, -0.2905, -0.6255, -0.1654, 0.155, 0.01799, 0.9907, -6.348, 0.04767, 1.246, 0.1587, -0.2047, 0.2412, -4.254, 0.3633, 0.1941, -1.21, 0.3342], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4292, -0.1037, -1.03, 0.01311, 0.238, 0.4902, -0.11316, -6.266, 0.1909, -4.758, 0.797, -3.838, 0.771, -1.78, 0.2578, -2.424, -5.234, -0.07623, -0.524, 0.03232, -0.4998, -0.7456, 0.0376, -1.125, -0.2634, -2.535, -0.5527, -0.022, 0.779, -0.5576, -2.248, -5.094, -7.355, 1.16, -0.4404, -0.002068, -0.4236, -0.9814, -6.176, -3.547, -0.01949, 1.068, -0.2607, 0.04868, -0.265, -5.957, 1.133, 0.3245, -0.6953, -2.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.0725, 1.094, 0.1307, -0.3188, 0.7847, 0.727, -0.00686, -0.4185, -1.672, -1.852, -0.1248, 0.4573, -1.292, -0.02716, -2.541, 0.691, -1.012, -3.7, -0.6084, -0.04486, -2.062, 1.561, 0.2505, -0.04623, 0.2803, -0.1821, -1.791, -0.0414, -1.184, 0.0673, 0.547, 0.4207, 0.1108, -0.494, 1.08, 0.02853, 0.1477, 1.307, -0.06964, -0.02464, -0.01504, -0.2019, -0.1632, 0.135, 0.262, 1.264, 0.05234, -2.934, 0.1582, -0.491], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1844, 0.458, -0.09247, -0.658, -0.3096, 0.1276, 0.0612, 0.363, 0.1266, 0.4268, -0.2988, -0.2522, -0.0438, 0.5913, -0.3992, -0.363, -3.38, 0.2583, -0.4214, 0.04526, 0.2289, 0.2915, -0.1073, 0.3044, -0.197, -0.792, 0.07135, 0.02013, 0.0009246, 0.3044, -0.1176, 1.3125, -0.379, 0.00834, -0.09143, -0.00868, -0.2595, 0.3298, -0.4182, -0.6274, 0.007084, -0.0857, -0.199, 0.0996, 0.2695, -0.239, 0.921, 0.12305, -0.315, -0.5776], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.08044, -0.2301, -0.2473, 0.1295, -1.018, -0.423, 0.6123, -0.03113, -0.2214, 0.5576, -0.2343, -0.09454, -1.449, 0.4954, 0.173, 0.67, -0.6724, -0.658, -0.002436, 0.1909, -1.277, -0.0809, 0.4275, 0.4553, 0.611, -0.17, -0.0356, -0.5933, 0.2281, 0.1799, -1.141, 0.05585, 0.1385, -0.998, -0.006462, 0.622, -0.407, -0.4487, -0.00171, -0.008125, 0.5415, 0.1152, -0.284, 0.0802, -0.9897, 0.694, -0.3335, -0.006382, 0.2888], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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.161, 1.38, -0.651, -0.1666, 0.68, -0.005146, 1.419, 1.78, 2.268, -3.705, 1.297, -0.92, 0.3108, -0.3293, 2.217, -0.564, -1.549, 0.566, -1.119, -0.00829, 1.778, 0.695, -0.3416, -2.084, 3.162, 0.788, 1.322, 0.0404, -0.477, 1.025, 1.237, -0.2308, -0.472, 0.7144, 0.5435, -0.2032, 1.628, -1.528, 1.045, 0.3496, 0.04077, 2.195, -0.7954, 0.00793, -0.3489, 0.8594, 0.743, 0.401, -1.36, 3.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, 2.498, 0.4316, 0.00704, 1.932, -1.346, 0.635, 2.545, -0.9893, 1.58, -0.8965, 0.694, -0.67, 1.739, -4.85, 2.191, 1.332, 1.887, 0.8154, 1.898, 0.01336, 0.3706, -1.057, -0.3982, 0.2131, 1.226, 2.31, -0.153, 0.00503, 1.292, 1.218, 1.227, 1.493, -0.479, -1.623, 2.166, -0.4321, -0.3137, 0.4075, 0.64, -0.06946, -0.03616, 0.559, 2.719, 0.4873, -0.4326, -2.418, 0.4607, 0.8057, -0.11945, 0.3782], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -2.314, -3.562, -0.645, -0.9062, -5.516, 1.535, -4.008, -2.56, 0.2135, -2.299, -3.346, -1.733, -4.098, 8.1, -5.723, -2.07, -1.087, 4.09, 0.10034, 0.0023, -7.434, -2.674, 1.685, 1.823, -7.49, -8.03, -0.8677, 0.02205, 2.762, -5.3, -3.008, -1.404, -2.633, -3.926, -0.003323, 0.5547, -2.902, -5.836, -0.225, 1.307, -0.04224, -6.46, -2.568, 1.0, -5.82, -0.6934, -1.635, 2.543, -3.102, -5.395], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5923, -3.102, 0.8325, -0.9297, 0.2798, -0.2229, -1.225, 0.524, -1.11, 1.077, 0.2491, -0.1427, -0.785, -0.889, -0.562, 0.7354, 0.2286, -2.03, 0.3154, -0.00355, -3.18, 0.5195, 0.12494, -0.567, -1.022, 0.3784, 1.148, -0.04773, -0.3613, -1.46, -0.5205, -1.112, -0.1224, -1.205, -1.237, -0.04077, -0.6157, 0.01168, 1.029, -0.324, -0.03873, 0.86, 0.846, -1.433, -0.5117, 0.3247, 0.7915, -3.738, -0.2522, -0.2715]]
[-0.0197314, -0.174574, 1.59627, 0.443892, 1.60762, 0.308789, 0.297324, 2.87569, 1.26856, 1.73691, 0.825915, 0.980848, 2.09296, 2.64097, -2.50313, -1.37152, 1.87162, -0.189734, 0.774083, 0.541538, 3.46886, 0.802282, 0.448007, 1.58069, 3.63631, -1.50896, 1.42224, -0.2705, -0.03, -0.887675, 2.23043, -2.09059, -0.483435, 3.18762, 1.59152, 1.33621, -0.00536854, -0.903458, 0.493521, 0.47139, -4.74939, 2.35471, 1.45971, -2.89464, 1.42748, -0.382392, -0.757207, -0.00865623, -2.72058, -0.875572, -0.01973, -0.1746, 1.597, 0.4438, 1.607, 0.3088, 0.2974, 2.875, 1.269, 1.737, 0.8257, 0.981, 2.094, 2.64, -2.504, -1.371, 1.872, -0.1897, 0.774, 0.5415, 3.469, 0.8022, 0.448, 1.581, 3.637, -1.509, 1.422, -0.2705, -0.03, -0.8877, 2.23, -2.09, -0.4834, 3.188, 1.592, 1.336, -0.005367, -0.9033, 0.4934, 0.4714, -4.75, 2.355, 1.46, -2.895, 1.428, -0.3823, -0.7573, -0.00866, -2.72, -0.8755]
ReLU
[[-0.0286819, -4.24368, -0.0461015, -2.6871, -0.959902, -0.0885401, -0.0600185, 0.132536, -0.301149, 0.386993, -0.154286, 0.157003, -1.70576, 0.370244, -2.76297, -3.05461, 0.102434, 0.00303567, -0.501838, -1.0411, -0.0136344, -0.395432, -2.86274, -0.161736, -0.16444, 0.172725, -0.188477, -6.11521, -0.00693887, -4.10725, -0.283408, -0.148935, -2.24968, 0.278238, -1.62914, -1.379, -0.0191267, -0.325255, 0.471634, -4.84396, 0.0347332, 0.932573, 0.39365, -1.70339, 1.62164, -1.89542, -0.271792, -7.01942, -0.219745, -6.00302, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0250134, 1.0435, 0.991953, 2.19349, -2.67641, 0.353426, 1.70039, -0.796351, 1.71826, -0.056427, 2.14824, 2.20355, -0.534554, 1.12941, 3.1009, 0.649946, 0.672066, 0.397839, 0.23292, 0.79371, -0.257091, -2.92515, -1.48934, 1.00386, 2.08305, -0.981588, 0.183583, 0.535857, 0.0135963, -1.32983, -8.46212, -0.429458, 1.00516, -2.64039, 1.65836, -0.991994, -0.037302, 1.88546, 1.01143, 0.898608, -0.422393, 0.857004, 1.22793, -2.06413, 1.02504, -13.1135, -0.41084, 0.229008, -0.104414, 0.380536, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0378177, -2.99113, -8.69469, -0.103503, -5.74756, -2.88841, -5.78838, -3.21811, -8.39739, -4.88621, -3.97237, -4.71751, -0.834999, 3.13915, -1.32826, -1.76775, -2.21817, -0.719608, -4.50786, -0.736106, 1.11064, 0.31412, -7.24443, -5.7082, -2.87903, -2.08749, -0.980978, -2.93358, 0.0105743, -0.239779, -1.90275, -3.4184, 0.961898, -2.06929, -0.042069, -9.34021, 0.0488198, -3.20601, -0.671593, -2.01289, -3.13413, -5.14568, -1.02761, -2.83356, -1.66116, -5.59319, -0.264451, 1.99753, -1.13097, -1.20654, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0228454, -5.8027, -1.57799, -1.36434, -1.52949, 0.242675, -1.28595, -1.56846, 1.04994, 0.0455825, 2.68206, -2.091, -3.02973, -1.7894, -1.3443, -1.91295, 0.323458, -1.03383, -2.15972, -2.74002, -0.0556895, 1.20506, -1.01294, -4.35661, -1.10365, -0.268258, -4.59627, -1.91374, -0.0299337, 0.00542948, -1.48392, 0.806294, -0.69376, -1.12477, -3.68706, -4.15271, -0.0170334, -1.29786, 0.261143, -3.8464, -0.396956, 1.61711, -4.49049, -3.48898, -0.48969, -2.76862, -0.178716, -1.48407, -0.428634, -0.121472, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00126122, -0.775443, -0.83798, -0.356497, -0.380123, -0.275415, -0.46676, -0.0549428, 0.292457, 0.0480321, 0.857812, -1.14594, -0.419194, 0.289544, -0.496855, -0.932515, -2.62249, -0.8225, -0.147713, -0.559746, -0.00403786, -0.17315, -0.84647, -0.448507, -0.0693616, -0.321647, -0.0289631, -1.39902, -0.0434608, -0.139401, -0.772668, 0.175315, 0.485854, -0.192766, -0.959592, -1.69243, 0.00135086, -0.809564, -0.689193, 0.110052, -0.0499524, -1.31647, -0.185436, -1.29006, -0.202343, 0.132328, -0.093384, 0.301787, -0.0996198, -0.157805, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0185213, -1.20803, 2.6112, 2.92081, -1.13853, 0.0783788, 1.08309, -0.449914, 1.38317, 0.348634, 0.868321, 2.02981, -1.62302, 1.44858, 0.16837, 0.781049, 1.06416, -6.43652, -0.0138185, 0.667113, -0.765295, 0.25968, 1.31332, 0.134804, 1.19641, -0.386318, -0.95155, 1.69811, -0.0288075, -1.67803, -2.22594, 0.690202, 0.067359, 0.453956, 0.649947, 1.5302, -0.0101712, 1.16955, -0.768887, 1.44104, -0.704428, -0.530298, 1.78553, -0.791598, 1.13426, -11.5094, -0.99636, 0.656147, -0.312454, -0.608466, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0382425, 0.835182, -0.607566, 1.61671, -0.484396, -1.82891, 1.09541, -0.239363, 1.26589, 0.413903, 2.16368, 3.10723, -0.568136, -0.994205, 1.45184, -3.02153, 1.92606, -0.740904, -0.0906536, 2.59179, -0.611629, 0.716162, 0.678032, 0.54258, 1.11068, -0.689464, 0.510677, 0.567451, -0.0285091, -1.34719, -0.392327, -0.785027, -3.71691, 1.65119, 1.0295, -3.12837, 0.0237502, -5.45068, 1.38703, 1.73054, -0.460575, -2.68295, 0.424473, 0.950907, 1.7405, -2.65092, -0.220106, -0.235493, -0.12491, -1.174, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0231934, -0.0130335, -0.0134275, 0.0168465, -0.0180842, -0.00856518, -0.00787221, 0.00622404, -0.019709, -0.0015184, 0.044492, 0.0156747, -0.0214347, 0.0789361, 0.0390619, 0.0139056, 0.00672019, 0.00102949, -0.0117119, 0.0647502, -0.00269966, -0.0258274, -0.0355855, 0.0110494, 0.0035043, -0.0248466, -0.00144928, -0.040265, 0.003952, 0.0334521, -0.0233069, 0.0222911, 0.014313, 0.0300859, 0.0347067, -0.228607, -0.0112602, -0.0425065, 0.021168, 0.0158268, -0.00493056, -0.0178357, 0.0105956, -0.017701, 0.0309515, -0.0139056, 0.0114926, 0.000301613, -0.00979454, -0.770772, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0013741, 1.38193, -0.331918, -0.961012, 1.13455, -0.628714, 0.260564, -0.207775, 1.82891, -0.750087, 0.970509, 2.62888, 0.49165, -0.737334, 1.10492, -3.05416, -1.84916, -1.12135, -0.103675, 1.47762, 0.135597, -3.86435, 0.773276, 0.934467, 0.323397, 0.0904823, 0.170303, -1.73204, 0.0398451, -1.61555, -5.10595, -0.313577, 1.78257, 1.34992, 0.252708, -3.287, 0.0448733, -1.70686, -0.122971, 0.833026, -0.394786, 0.342258, 0.00640983, -0.722871, 1.53659, -4.46353, -0.141912, 1.40802, -0.0377048, -0.5582, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0322835, 2.11387, 1.44543, 2.01507, -2.54594, -0.412447, 1.45259, -0.559319, -1.20454, -1.41327, 0.300818, -3.12196, -1.01799, 1.03765, 0.974186, -0.241005, 0.669382, 0.359366, 0.0353407, 1.69487, -0.110559, 0.301145, -0.17764, 0.121237, 0.424402, -0.401807, -0.540663, -0.482947, -0.0210699, 0.796599, -0.354882, -0.305809, 0.397765, -1.16022, 1.20445, 2.19773, -0.0031983, 1.29947, 0.344852, -1.3937, -0.110921, 0.634463, 0.549903, 0.0863182, 2.35748, 1.23097, -0.633369, 0.997415, -0.0319122, 1.17878, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00983368, 0.572672, -1.45772, 1.60779, -1.29233, -1.86667, -7.0337, -0.382428, -4.93183, -4.61975, -3.22073, 1.8588, -2.62356, 0.531124, -1.37879, -1.38817, -0.508983, -7.15272, -0.750171, -1.04541, 0.0754478, 0.868014, -2.89459, -7.38901, 1.28258, -0.327003, -1.2927, -2.53808, -0.0109378, 0.389662, 0.583753, -0.395544, -0.290981, -0.802285, -0.499901, -0.4769, -0.0127654, -6.28924, -0.532915, -0.332045, -1.0305, -3.40455, -1.70824, -0.942546, -1.30053, -0.623807, -1.60448, -3.80435, -0.00174553, -5.83553, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0343568, -0.822069, -0.125447, -2.37929, -0.936852, -1.92713, -0.873975, -0.0252141, 0.233209, -0.500022, 0.0291152, 0.393011, -0.100912, 0.206637, -2.7234, -0.289063, -0.858433, -0.573368, -0.416899, -1.22713, -0.0775354, -0.0220315, -1.50686, -1.46359, 0.593159, -0.767487, -0.457886, -1.08734, -0.00111756, -0.00550441, -2.65466, -0.198191, 0.724274, -1.58089, 0.624219, -1.50873, -0.0261223, -2.1513, -0.740184, -0.222223, 0.0161883, -3.20049, -0.83724, -1.33099, 1.51587, 0.311303, -0.294473, 0.754532, -0.126384, -0.182374, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0308744, -0.608601, 0.711032, -0.601166, -2.61058, -1.23339, 0.547862, -1.83082, -2.46305, -1.71327, 0.493626, -1.77333, 1.58657, -3.7085, 0.303033, -1.03747, -0.727781, 0.62863, -2.65836, -0.845192, -1.35918, 1.61364, -1.08301, -2.26031, -2.9393, -1.05086, -0.597547, -0.96221, -0.0343577, -1.19655, -3.6908, -0.439647, -1.44574, -2.19605, -2.00082, -0.233589, -0.0191979, -3.21856, -0.0465783, -0.692167, 0.0316093, 1.73297, -1.83342, -0.531535, -1.95021, -0.307662, -1.37661, -2.11904, -0.281874, -0.996654, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0461932, 0.123468, -2.2651, 0.496864, -0.00781013, -1.27028, 1.67036, -0.675324, -2.0027, 0.79242, -0.134968, 0.364122, 0.0353157, 1.7519, 0.527081, -2.13585, -0.872361, 0.977669, -0.128566, -1.47325, -0.179932, 0.810524, 0.538292, 0.181679, 1.62987, -0.0603636, 0.618878, -1.60714, -0.041383, -1.34256, -11.2277, -0.482391, 0.639021, 3.12303, 1.09092, 1.98642, 0.0291438, -5.10582, -0.384694, 1.22589, -0.422574, 0.184655, 0.985061, -1.97656, -2.06958, -10.8521, 0.124732, -5.33183, -0.166687, 2.09171, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0144361, 1.07883, 0.556736, 0.825803, 0.178335, -1.43801, -0.189243, 0.165406, -0.509168, -0.245923, 0.516825, 0.839908, 0.324858, 0.690934, 0.447364, -1.03307, -0.283433, 0.0130504, -0.0700145, 0.547192, -0.237924, 0.239097, 0.752357, -0.549389, 0.382601, -0.0604965, -0.260218, 0.10529, -0.0176901, -0.159992, 0.271146, -0.171657, -0.313045, -1.82791, 0.76801, 0.893531, -0.0287851, -0.242786, 0.289165, -0.635864, -0.206211, 0.81201, -1.42783, -0.0539597, -0.0105704, -1.61557, 0.00484631, 1.05845, -0.0172058, -1.94879, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0134539, -4.79595, 1.31937, 1.49952, 0.0359408, 0.0597058, 0.617903, -0.0585165, 1.74374, -0.901806, 0.828468, 1.83284, 0.61195, 0.386018, -8.26638, 0.90295, 0.792104, -0.198451, -0.337777, -1.37811, -0.045555, -1.11543, 0.0773918, -1.61124, 1.86861, -0.0424089, 0.397744, 0.734397, -0.00490889, 0.0189555, -3.31927, -0.110412, -1.04111, 0.0170101, 0.659231, 2.47324, 0.0344116, -1.26378, 0.89852, -3.14517, -0.3743, 1.46505, 0.382608, -4.16323, -6.26659, 0.799755, -0.732012, -1.03381, -0.243521, -0.984778, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.020772, -0.133446, 0.381691, 0.291537, -0.506212, -0.000900774, -0.843512, -0.0311881, 0.221148, 0.0349105, 0.603151, -1.33205, 0.192013, 0.151861, 0.710069, -0.428538, -0.104023, 0.136487, 0.0281834, -0.504228, 0.123157, -0.432677, 0.0605146, 0.108188, -0.0735903, 0.0704902, -0.142236, -0.910906, -0.0212427, 0.0219745, -0.195528, -0.0227223, -0.0799703, -0.0134881, 0.194264, -1.32316, -0.0250868, -0.279948, 0.261781, 0.598835, -0.0228218, 0.371469, -0.0090664, -0.196757, 0.809857, -0.21238, -0.0888781, 0.172542, -0.0466275, -1.45083, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0342112, 0.0264722, 0.0277626, -0.153031, 0.176031, 0.0631099, -0.580064, 0.0190726, -0.0259213, 0.0388193, 0.0295796, 0.111995, -0.0770301, -0.0736401, -0.288722, 0.223925, -0.0273126, -0.122394, -0.0163127, -0.0614492, 0.0033076, 0.0731077, 0.0778204, -0.0338299, 0.0796947, -0.167705, -0.0884074, -0.0280608, -0.0175068, 0.0928035, 0.00232778, -0.0789643, -0.0564238, 0.0329414, 0.0623936, 0.152785, 0.0104968, 0.0150701, -0.137367, -0.45796, -0.00312017, 0.1042, -0.454201, -0.00209623, 0.431653, -0.0494564, 0.0153196, -0.0369183, -0.0335325, 0.17606, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0041123, -0.0680441, 2.57903, 0.797439, 1.26997, 0.495477, 0.26821, -0.618981, -1.19862, -1.38873, 0.148735, 0.00456954, 0.24714, 0.706602, -0.17052, 0.111022, -0.216453, -0.080691, -0.517314, 2.05867, -0.655869, 1.25127, -0.0396477, 0.927647, 0.812596, -0.237696, 0.293056, 2.12969, 0.0454284, 0.529556, -1.75111, -0.0749197, 0.897919, -1.68176, 0.795188, 1.64492, -0.0478993, 0.0116592, -0.0264137, 1.43529, -0.850899, 0.553768, -0.438551, -1.25627, 1.06085, -0.238746, 0.409768, 1.28632, -0.172777, 1.005, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.046435, -0.835437, 2.37181, 1.07713, -0.00991992, -2.3874, 0.258339, -0.701809, -1.85395, 0.373844, 0.435988, -0.328277, -0.481172, 0.807875, -0.11257, 1.35717, 0.841587, -0.164725, -3.28138, 1.35115, -0.38429, 1.21106, 1.07556, 1.45646, -3.04835, -0.671014, -0.0199161, -2.52138, 0.0464944, 1.91447, 0.000579353, 0.355522, 0.590606, -0.291078, -1.18063, 2.58439, 0.0104144, 0.160147, 1.22713, 4.01961, -0.703029, 1.05224, -0.370472, -0.474241, 2.31943, -3.73619, -0.321685, 2.00372, -0.324376, -0.100941, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00178412, 1.03958, -0.294973, 0.173298, -0.279196, -1.36279, -1.00137, -3.16389, -1.76994, -3.43675, -1.5123, -0.221048, 1.15969, -2.11361, 0.387273, -0.142749, 0.080315, 0.319969, -0.055656, -0.274802, -2.63395, 0.737551, 1.21391, -0.695304, -2.01794, 0.271281, -0.306339, -1.028, 0.0376905, -1.29226, -1.42668, -0.692761, -0.105137, -0.57551, 0.59477, 1.88474, -0.0290779, -4.24895, 0.734081, 0.0850049, -0.333798, -0.0280753, -0.822967, -1.23161, -1.40122, -0.45291, -2.11653, -0.703737, -0.158618, -1.45843, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0295223, 0.181386, -0.0847033, -0.15855, -0.072228, 0.0384788, 0.141685, 0.0267868, -0.180098, -0.0552454, 0.324864, 0.176736, 0.185424, 0.337517, -0.0307904, 0.056337, -0.183789, 0.00096884, -0.0427984, 0.0782164, 0.0426009, 0.232508, 0.123047, -0.180393, 0.0477939, -0.206506, -0.170796, 0.269607, -0.0206997, -0.186582, -0.118072, 0.0944296, 0.0442919, 0.0203462, 0.533624, -0.165895, 0.023204, -0.105323, -0.58896, 0.245511, -0.0528967, 0.0769294, -0.00328738, -0.295196, 0.237769, -0.000813771, -0.179317, 0.117843, -1.57599, -0.00786139, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0300706, 2.18658, 1.59165, 0.41525, 0.369697, -1.17619, 0.801005, -0.360643, -2.36778, -0.0222337, 1.75406, 1.87773, 0.562383, 0.395036, 2.624, -7.46071, 0.965834, 0.240483, 0.699096, 2.15542, -0.325303, -1.06565, -1.52842, -0.0326371, 1.11505, 0.826445, -0.239192, -0.291227, 0.0356405, 0.706005, -0.477588, -0.559206, 1.28545, 1.3392, 2.1706, 2.38193, -0.027955, -2.28294, 0.799228, 2.14692, -0.740712, -0.416852, 0.142766, 1.55251, -1.55854, -2.48014, -0.258033, -10.3099, -0.277695, 1.17611, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.011796, 0.016984, -0.0350386, 0.125051, -0.147143, -0.00808061, -0.140844, 0.0137052, 0.0551484, -0.0212469, 0.0624939, -0.141023, 0.00641476, 0.0519965, 0.00891656, 0.0887931, -0.0221912, 0.0293096, 0.0122589, -0.0953325, -0.0597406, 0.096588, -0.123781, -0.0945194, 0.0187689, -0.00534524, -0.0331651, 0.0397492, -0.0298255, 0.0486049, 0.00939478, -0.0368093, 0.111088, -0.0768176, 0.0501081, 0.0240402, 0.0251936, -0.0573778, -0.0297965, 0.171151, -0.0066892, 0.0157925, -0.125825, -0.0777634, 0.150874, -0.0801698, -0.0646133, 0.0338332, -0.00852768, 0.0282472, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0019857, -2.53831, -8.60268, 1.1385, -5.74139, -4.86583, -0.841966, -0.323136, -3.52904, -1.59864, -2.74523, -4.95248, -0.922357, -6.22681, 0.134414, -1.94765, -4.16216, -0.1608, -2.78147, -2.09829, 0.069878, -0.2842, -2.86127, -6.86158, -1.77265, -0.0408796, 0.121095, -2.38568, -0.0313415, -5.36448, -3.09233, -0.175567, -0.386704, -2.33952, -0.518325, -3.05065, 0.0038997, 0.485729, -0.0810192, 0.647133, -0.148496, -0.297167, -1.66645, 0.26812, -1.67034, -1.1894, -0.401633, -0.31213, -0.18982, -2.09057, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0177347, 0.481669, 0.88487, -0.568686, -0.33945, 0.932576, 1.55324, -0.879371, 1.05063, -1.36501, 0.649186, 1.80128, -1.41423, 0.825145, 1.08922, -3.651, -1.22181, -3.90273, 0.11816, -3.57707, -0.229952, 0.920761, 0.29071, 1.63363, 0.333723, 1.14887, 5.61587e-05, 2.80534, 0.00462317, -2.53885, -0.949636, 0.225606, 0.519951, 1.29596, 0.405744, 2.3469, 0.0111345, -3.13167, 2.23708, 2.25035, -0.624595, 0.98157, -0.195386, 0.393626, 1.09192, -3.89028, 0.333631, 0.0618799, -0.69503, 2.36979, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0255046, 0.795287, -0.0399185, 1.24685, 1.19618, 0.839061, -0.849784, 0.327411, 1.6412, -0.268345, 0.604345, 2.35152, 0.611677, -0.266459, 1.13496, -1.79918, 0.904989, 0.436286, -0.0368254, -0.975625, 0.105906, 1.03014, -0.23009, -0.71492, -0.951384, -0.0845233, 0.208785, 0.784368, -0.010834, 0.42277, -2.73387, -0.153192, 0.240283, 0.196043, -0.385198, 0.00471271, -0.00991332, -1.93389, 1.36493, 2.21957, -0.273209, 0.175247, 0.29298, -4.40962, -0.499769, 0.88668, -0.327174, 0.673505, -0.270558, 0.177049, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0471566, -0.0138649, -0.0352608, -0.0455948, 0.0219233, 0.0035058, 0.00163024, -0.0120657, 0.0137261, 0.0104325, -0.0256977, -0.0182823, 0.0222439, 0.0215854, -0.00318648, -0.0120117, 0.014229, -0.00860895, -0.0116235, 0.000319937, -0.00941622, -0.00598618, -0.00690794, -0.00349249, 0.00572746, -0.00690132, 0.00744078, 0.00855551, 0.0498535, 0.0221372, -0.0909994, -0.00952062, 0.0180865, -0.0678023, 0.0850598, 0.0023835, 0.0586441, -0.024537, 0.011249, 0.0174076, -0.00204818, 0.0294244, 0.0199873, -0.00608892, 0.116997, 0.0382991, 0.00404617, -0.0193262, 0.00026309, 0.160101, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0228709, -1.07543, -1.38088, 0.147299, -0.830584, 0.782001, 1.69863, 0.111186, -0.572363, -0.309281, 3.62783, 3.08743, -1.21102, 0.751922, 1.08605, -1.18699, 1.01916, -1.27189, 0.101415, -3.8018, -0.473291, -0.473588, 0.285281, -0.0226527, 1.50864, 0.712825, 0.225238, 1.66512, 0.0336761, -0.529854, -3.54672, -0.0396543, 1.0889, 0.125813, 0.824498, 1.62833, 0.0311324, -0.824381, 1.02861, 0.283064, -0.264326, 2.10806, 0.505695, 0.734924, 1.14931, 0.283678, -1.31803, 0.243107, -0.603574, 0.92181, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0230846, -0.0428676, 0.0180739, 0.00841528, 0.00551233, 0.00361772, -0.255306, 0.00255373, -0.0220554, -0.0132402, -0.0177854, -0.00158482, 0.0129608, -0.0378126, -0.0099699, 0.0175392, -0.0360347, 0.00937367, 0.00212622, -3.08409, 0.00449768, 0.0473442, -0.00944604, -0.0184139, 0.0131431, -0.00100611, -0.00139741, 0.0163383, 0.0051534, -0.0684255, -0.00060672, -0.0250377, 0.00385998, 0.0136314, -4.66654, 0.00224808, 0.0299127, -0.00715884, -0.00307205, -0.0339476, -0.000290296, -0.0096253, -0.155943, -0.00432375, -0.407567, -0.0373433, -0.00476629, -0.00598976, -0.00477753, 0.011343, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0298641, -0.19166, 0.0703412, 0.171787, -0.0433796, 0.00331258, 0.0737534, 0.0591996, -0.300417, -0.0217168, -0.00146455, -0.103501, 0.168273, 0.0245245, -0.150389, 0.0163397, -0.201722, 0.124425, 0.0930822, 0.0937369, 0.0263607, 0.137786, -0.137494, -0.0457283, 0.101797, -0.0137625, -0.12772, 0.162517, -0.00290424, -0.0941684, -0.0361996, -0.0859796, 0.0826898, 0.150831, -0.899426, 0.0939849, 0.0397048, -0.10139, -0.340161, -0.320912, -0.0245474, -0.183357, -0.353389, 0.0218927, -0.407858, -0.308349, -0.00803121, -0.0645518, -0.0567549, -0.183025, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0174442, -0.603877, 0.13814, 0.220757, 0.0596582, 0.060978, -0.392473, 0.126921, -0.581173, -0.0152848, 0.0186254, -0.11038, 0.241399, -0.0206218, -0.496995, 0.197239, -0.353928, 0.134536, 0.15218, 0.0338208, 0.0484178, 0.309088, -0.203938, -0.122543, 0.252472, 0.133751, -0.318496, 0.256349, -0.0230657, -0.090064, -0.0630801, -0.180784, 0.0931885, 0.297897, -2.25836, 0.299598, -0.0389142, -0.176862, -0.398418, -1.0459, -0.0507578, -0.247381, 0.105249, 0.00831394, -0.41011, -0.60033, -0.00477629, -0.146942, -0.102179, -0.232439, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0217843, 0.0789566, 0.184294, 0.353942, -0.220658, -0.126771, 0.281235, -0.14656, 0.132518, 0.0190357, 0.264607, -0.17845, -0.0847807, -0.215745, 0.358742, 0.192596, -0.00474413, 0.10036, -0.127601, 0.170922, -0.175247, 0.229346, -0.174832, -0.0699597, 0.21103, -0.48911, -0.332403, 0.139789, -0.0164975, 0.0883628, -0.0445132, -0.0362067, 0.201789, -0.515257, 0.0407366, -0.19788, -0.0307271, -0.32675, -0.14116, 0.220417, -0.123028, 0.314534, 0.111066, 0.0021637, 0.06617, 0.663159, -0.142839, 0.0777838, -0.0730452, -0.717841, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0120085, 2.21361, 1.38895, 2.10851, -1.58129, 0.881, 0.420522, 0.0968573, 1.32559, -0.330968, 1.87931, 1.23287, -1.33255, -0.511877, 0.20487, -0.904375, 0.0542806, 0.619208, 0.602706, 1.30013, -1.18322, -0.342971, -3.44673, -7.73581, 0.498998, 0.582751, -0.418644, 0.956273, -0.0118811, -7.18472, -0.535607, -0.56486, 2.04108, 0.0419707, 0.397489, 1.99129, -0.0226477, -3.3358, -1.4925, 3.18791, -0.0922606, -0.69876, 1.63035, -0.432176, 2.6177, -8.94852, -1.05192, -1.61112, -0.0548757, 0.399564, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0232079, -2.96385, -3.08781, -0.715695, -3.15419, -1.21693, -3.68356, -0.91852, 2.43053, -3.42622, -5.44683, -3.17246, -2.87959, -4.86152, -1.90952, -2.68034, 0.286488, -0.554445, -0.455476, -2.9436, -3.97776, 0.984942, -0.426884, -6.36695, -4.07187, -1.43195, -0.529303, -1.26034, -0.0428164, 2.02571, -3.31889, 0.594343, -2.32736, -5.3235, -0.840269, -5.78256, 0.0376238, -1.3968, -2.24302, -0.59066, -0.582118, -4.29013, -4.19922, -3.00037, -4.06437, -2.13871, 1.63282, -1.64063, -0.68847, -0.0447362, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00354997, -0.979155, 1.1984, 2.12302, -0.220763, 0.739189, -0.216152, 0.206626, 1.54336, -0.857004, 1.0302, 1.69909, 1.48634, 2.09878, 0.783405, -3.89111, -0.175529, -3.88578, 0.0381288, 1.49285, -1.72503, -0.0458707, -0.707224, 1.17862, -0.935913, -0.0255506, -0.0853517, 0.302332, 0.0153935, 1.42213, -0.987317, -0.157739, 1.03062, -0.416047, -0.408606, 3.19392, -0.0550401, -1.99447, 0.280895, 1.97709, -0.536798, 0.697858, 0.360986, -0.119627, -1.1008, 0.19623, -0.168538, -4.79234, 0.0342792, 0.0606647, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0174733, 1.2696, 1.49842, -2.8874, -0.18363, 1.19606, 0.751479, -0.0237166, 1.33422, 0.575336, -2.60519, 2.71745, -2.48935, 0.452609, -1.48015, 1.28378, 1.41835, 0.0983954, -0.7401, 0.183347, -1.76278, -0.342, -1.58554, 0.423546, 1.28614, -0.605131, 0.572648, 1.63959, -0.0304239, -1.92455, -2.50638, -0.572637, -2.66655, -0.945714, 1.40224, 1.47963, 0.025696, 2.24594, -0.245894, -0.141532, -0.492717, 1.55931, 0.630998, 0.904111, 1.9205, -9.38838, -0.270235, 3.24317, -0.168076, -0.0301198, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.013502, 0.497663, 0.289042, 0.0902418, 0.0814896, -0.318018, 0.666758, 0.151627, 0.525529, -0.528218, 0.27364, 0.149602, -0.269036, 0.635494, 0.392386, 0.125599, -0.740295, -0.304831, -0.0555694, -0.00964942, -0.0463794, 0.295573, -1.3889, -0.572554, -0.0334564, 0.250445, -0.100422, 0.683184, 0.0356274, 0.766763, -1.65615, -0.0892992, 0.95821, -0.412876, -0.661999, 0.609103, 0.00850965, -0.120198, 0.0530375, 1.31153, -0.127702, 0.379401, 0.564046, -1.11842, -1.20711, 0.921399, -0.516313, 0.86621, -0.0735505, -0.00384555, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0288824, -1.86454, -1.58277, -2.88662, -1.98478, 0.260422, -3.57705, -0.0250573, 0.0527132, 0.130726, -0.0925588, -1.90268, -0.454763, 0.937946, -1.18459, -0.0579624, -0.277144, -1.78817, -0.473092, 0.620816, -0.138527, -0.165548, -0.553569, -2.74581, 0.11762, -1.47336, -0.0488193, -0.623284, -0.0120246, -3.85922, -1.03904, 0.203121, -0.459634, -0.273965, -1.32496, -2.66586, 0.0278394, -2.62123, -0.502541, 0.232003, -0.0814118, -0.68428, 0.107435, -3.13706, -1.1639, -0.884557, 0.0611737, -0.210762, -0.0931495, -0.134594, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.043644, -2.15992, 0.996597, -1.7497, 0.73408, 0.251424, 1.22388, -0.827362, 2.59646, 0.213118, 2.21371, 2.14106, 0.358641, 1.25761, 1.93465, -2.96256, -1.58664, -3.61934, -0.293653, 1.64302, -0.855766, -1.00516, 1.44429, 1.90447, 1.14339, 0.108854, -0.194733, -1.44826, -0.0108301, -1.50786, -5.49574, 0.0853836, -0.407563, 1.79913, 1.4601, 1.81226, -0.042272, -5.8625, 0.936786, 1.18148, -0.48759, -2.47588, 0.30823, -0.817599, 1.80701, -3.02308, -0.364361, 0.0754744, -0.171239, 0.0669673, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00254357, 1.13373, -0.52544, -2.65271, -1.61752, -1.93624, 1.46694, -1.16839, 1.43927, 0.144277, 0.560337, 1.08531, -3.48686, -0.174307, 0.301332, 0.678353, 0.291418, 0.510485, -0.694974, 1.79328, -0.374508, 1.44794, -0.452053, 0.261021, 1.13234, 0.600071, 0.299363, -0.389276, 0.0145296, 1.95561, 0.780396, -0.224599, 2.15055, -0.0825713, 0.823311, -2.04381, -0.00451725, -4.94598, -0.851231, 2.31926, -0.492336, -0.821204, 0.68302, -2.83613, 0.625696, -0.540421, -0.994293, -0.70528, -0.287879, 0.923466, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0372598, 0.0271917, -4.15778, -2.36291, 0.796636, 1.3809, 0.515419, 0.120025, 0.0803431, 0.349672, 2.68549, -3.25975, 0.275746, 1.40876, -3.27561, -3.70249, -2.84961, -1.22045, -0.662095, -1.7817, -0.429155, -2.3109, 0.804212, -1.46639, -0.220496, -2.30331, -0.232451, -0.191005, -0.0183717, -1.50937, -4.47474, -2.05804, 0.94356, -1.34681, -0.135766, -3.10642, 0.0408079, -5.7121, 0.113116, -0.6387, -0.010635, 0.693579, -0.189792, -3.29748, -0.624414, -1.81907, 0.185186, -3.37163, -0.374929, -0.428043, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0148676, 2.00228, 0.0503191, 0.742041, -0.707375, -0.359955, 0.564323, 0.113647, -0.937465, -0.161875, 0.426911, -1.0966, -0.0500192, 1.41661, -0.0795631, 0.136254, 1.21039, -0.353706, -0.0250178, -0.742362, -0.380517, 0.127202, -0.474647, 0.719581, 0.722748, 0.74029, -1.29542, -0.808542, 0.0329728, -5.77302, -0.456996, 0.28856, -0.126402, 1.12192, 0.766612, 0.155063, 0.0152649, -0.807144, -0.0693073, 1.08056, -0.231768, -0.0544723, 0.454912, 0.8809, 1.1812, -0.246598, 0.119448, 0.0821264, -0.479026, 2.12344, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0435386, 0.367415, -0.0608327, 0.499398, 0.791473, -1.49931, -1.22757, 0.196594, 0.838611, 0.510822, -0.379557, 0.361682, -1.28053, 0.184466, 0.476946, 0.18195, 0.275264, -0.063141, -0.414541, 0.896895, -0.419059, -0.224479, 0.418339, -0.469078, -0.975375, -0.215685, 0.0304605, -1.60678, -0.0071512, 0.499621, -0.0107926, -0.117597, -0.369906, -0.849339, 0.883854, 0.914318, 0.0344577, 0.651315, 0.0978442, 0.324913, -0.0747705, 1.45801, -1.16277, 0.32073, 1.90685, -4.12894, -0.0184858, 1.56661, -0.0521773, -0.468281, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0323453, 1.68274, 2.60301, -1.25466, 0.588539, -1.80114, 0.407138, -0.736899, -0.289616, 0.82636, -6.02786, -2.576, -0.315584, 0.83762, -2.08171, 0.271556, 0.410411, 0.573684, -0.520673, -6.04756, -2.82306, 1.17094, -0.680977, 0.898977, 1.15463, 0.532888, 0.00968422, -0.822378, -0.00899107, -3.64219, 0.554048, -0.168006, 0.308283, -2.79543, 0.766752, 2.65525, -0.0255329, -3.49196, -1.13377, -15.0774, -0.195403, -0.0335362, -0.419063, 0.404731, 0.389602, -7.33056, 0.849533, -1.58747, -0.106904, 0.790828, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00953729, 0.260833, 1.12107, 0.00444081, 0.881309, -0.00263663, 0.471128, -0.0527139, 0.00616541, -0.0194371, 0.90106, 1.91972, 0.598602, -0.086851, 0.28051, -0.23097, 1.19621, -1.21216, -0.599231, -1.72352, 0.21815, -0.0251628, -0.368906, -0.0547891, 0.10999, 0.3906, -0.0971578, 0.305941, -0.04251, -0.346078, -1.45708, 0.405349, 0.636461, 0.0522443, -0.530912, 0.691804, 0.0157437, -1.05199, -0.510724, 1.04746, -0.271911, 1.491, 0.610767, -2.07984, -2.24152, -3.94182, -0.122826, 0.645614, -0.217702, -0.3136, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0368265, -2.58981, -3.30226, -3.19121, -3.72914, -2.86946, 2.02239, -1.16208, -4.00132, 1.03926, -0.298854, -6.87972, -0.777603, 1.22033, -3.66253, -4.98724, 0.486654, -0.238766, -1.50415, -2.07276, 0.0533035, -6.86617, 0.519307, -7.74308, -3.67096, -1.56397, -1.75017, -0.923338, -0.0427418, -5.49337, -1.11448, -0.346961, -0.285813, -5.16358, -5.42945, -0.792237, 0.0226333, -3.68716, -1.11345, 0.326628, 0.0935173, -1.4499, -3.64751, -3.29216, -2.59434, -2.04631, -0.105816, 0.911263, -0.30279, 0.638622, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0184318, 1.79365, -2.0717, -0.269534, 1.02784, 0.499227, -2.03619, -0.249857, 1.01582, -0.0488969, 0.739722, 2.52427, -0.280334, -0.686452, 0.857519, -0.926906, -0.298151, 0.413894, -0.653582, 0.641761, 0.397577, -3.29642, 1.06511, 0.53731, 0.527484, -0.219482, -0.622636, -0.231671, -0.0401367, 0.390338, -4.55328, 0.123018, -3.82781, 0.0539546, 1.20103, -1.60718, 0.0298966, 0.55897, 1.19753, -0.336022, -0.314688, 1.80732, 0.0618832, -1.05017, 1.6773, -5.82191, 0.373573, -1.73351, -0.112878, -0.396123, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0234906, 0.000266595, -0.00338457, -0.0557751, -0.00454758, 0.000506661, -0.00918859, -0.155601, 0.349012, -0.148246, 0.0244655, -0.00185576, 0.00797615, -0.035405, -0.0017751, -0.017321, 0.0314438, 0.0010332, -0.0989425, 0.0106172, -0.04463, -0.00775805, -0.00286412, -0.0642899, -0.00152983, -0.00127065, -0.000175485, 0.00615283, 0.000751902, 0.00450983, -0.946638, 0.00198991, 0.148941, -0.439783, -0.00162749, -0.00992465, 0.0384293, -0.0128413, 0.00497739, 0.452154, 0.000742249, -0.0212639, -0.0128433, 0.000147815, -0.0187856, 0.760424, 0.00610802, 0.0760987, 0.000122556, 1.53707, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0209191, -0.293472, 0.966738, -0.931584, -0.684269, -0.286905, 1.44855, -1.37712, 0.997044, 0.853844, -2.73863, 1.40662, -1.71042, -0.00978537, 1.03442, 0.898706, -0.496761, -0.222781, 0.197812, 1.57125, -0.869003, 1.06756, -0.146147, -0.14851, 1.22059, 0.396401, -0.541639, 1.25874, 0.020061, 0.300493, 0.429097, -0.38669, 0.878048, 0.671438, -0.266963, 0.315499, -0.0124692, -3.43942, 0.860957, -0.0922083, -0.20332, 0.0855206, 1.18494, 0.60724, 1.39314, -0.701089, -0.23168, -6.22979, -0.185048, 1.71564, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02869, -4.242, -0.0461, -2.688, -0.96, -0.08856, -0.06003, 0.1326, -0.3013, 0.387, -0.1543, 0.157, -1.706, 0.3704, -2.764, -3.055, 0.1024, 0.003036, -0.502, -1.041, -0.01363, -0.3955, -2.863, -0.1617, -0.1644, 0.1727, -0.1885, -6.113, -0.00694, -4.105, -0.2834, -0.1489, -2.25, 0.2783, -1.629, -1.379, -0.01912, -0.3252, 0.4717, -4.844, 0.03473, 0.9326, 0.3936, -1.703, 1.622, -1.8955, -0.2717, -7.02, -0.2197, -6.004], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02501, 1.044, 0.992, 2.193, -2.676, 0.3535, 1.7, -0.7964, 1.718, -0.05643, 2.148, 2.203, -0.5347, 1.13, 3.102, 0.65, 0.672, 0.398, 0.2329, 0.794, -0.257, -2.926, -1.489, 1.004, 2.084, -0.9814, 0.1836, 0.5356, 0.013596, -1.33, -8.46, -0.4294, 1.005, -2.64, 1.658, -0.992, -0.0373, 1.886, 1.012, 0.8984, -0.4224, 0.857, 1.228, -2.064, 1.025, -13.12, -0.411, 0.229, -0.10443, 0.3806], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0378, -2.99, -8.695, -0.1035, -5.746, -2.889, -5.79, -3.219, -8.4, -4.887, -3.973, -4.72, -0.835, 3.139, -1.328, -1.768, -2.219, -0.7197, -4.508, -0.7363, 1.11, 0.3142, -7.246, -5.707, -2.879, -2.088, -0.981, -2.934, 0.010574, -0.2397, -1.902, -3.418, 0.962, -2.068, -0.04208, -9.34, 0.04883, -3.205, -0.6714, -2.014, -3.135, -5.145, -1.027, -2.834, -1.661, -5.594, -0.2644, 1.997, -1.131, -1.206], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02284, -5.8, -1.578, -1.364, -1.529, 0.2427, -1.286, -1.568, 1.05, 0.0456, 2.682, -2.092, -3.03, -1.789, -1.345, -1.913, 0.3235, -1.034, -2.16, -2.74, -0.0557, 1.205, -1.013, -4.355, -1.104, -0.2683, -4.598, -1.914, -0.02994, 0.00543, -1.484, 0.806, -0.694, -1.125, -3.688, -4.152, -0.01703, -1.298, 0.2612, -3.846, -0.397, 1.617, -4.492, -3.488, -0.4897, -2.77, -0.1787, -1.484, -0.4287, -0.12146], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.001261, -0.7754, -0.838, -0.3564, -0.3801, -0.2754, -0.4668, -0.05493, 0.2925, 0.04803, 0.858, -1.1455, -0.4192, 0.2896, -0.4968, -0.9326, -2.623, -0.8223, -0.1477, -0.5596, -0.00404, -0.1731, -0.8467, -0.4485, -0.06934, -0.3215, -0.02896, -1.399, -0.04346, -0.1394, -0.7725, 0.1753, 0.4858, -0.1927, -0.9595, -1.692, 0.00135, -0.8096, -0.689, 0.11005, -0.04996, -1.316, -0.1854, -1.29, -0.2024, 0.1323, -0.0934, 0.3018, -0.0996, -0.1578], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01852, -1.208, 2.611, 2.92, -1.139, 0.07837, 1.083, -0.45, 1.383, 0.3486, 0.868, 2.03, -1.623, 1.448, 0.1683, 0.7812, 1.064, -6.438, -0.01382, 0.667, -0.765, 0.2598, 1.313, 0.1348, 1.196, -0.3862, -0.9517, 1.698, -0.02881, -1.678, -2.227, 0.6904, 0.0674, 0.4539, 0.65, 1.53, -0.01017, 1.17, -0.769, 1.441, -0.7046, -0.5303, 1.785, -0.7915, 1.134, -11.51, -0.9966, 0.6562, -0.3125, -0.6084], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03824, 0.835, -0.6074, 1.617, -0.4844, -1.829, 1.096, -0.2394, 1.266, 0.4138, 2.164, 3.107, -0.5684, -0.994, 1.452, -3.021, 1.926, -0.7407, -0.09064, 2.592, -0.612, 0.7163, 0.678, 0.5425, 1.11, -0.6895, 0.5107, 0.5674, -0.0285, -1.348, -0.3923, -0.785, -3.717, 1.651, 1.029, -3.129, 0.02374, -5.45, 1.387, 1.73, -0.4607, -2.684, 0.4246, 0.9507, 1.74, -2.65, -0.2201, -0.2355, -0.12494, -1.174], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0232, -0.01303, -0.01343, 0.01685, -0.01808, -0.00857, -0.00787, 0.006226, -0.01971, -0.001518, 0.0445, 0.01567, -0.02144, 0.0789, 0.03906, 0.01391, 0.00672, 0.001029, -0.01171, 0.06476, -0.002699, -0.02583, -0.03558, 0.01105, 0.003504, -0.02484, -0.00145, -0.04025, 0.003952, 0.03345, -0.0233, 0.0223, 0.01431, 0.03009, 0.0347, -0.2286, -0.01126, -0.0425, 0.02116, 0.01582, -0.004932, -0.01784, 0.0106, -0.0177, 0.03094, -0.01391, 0.01149, 0.0003016, -0.009796, -0.771], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.001374, 1.382, -0.332, -0.961, 1.135, -0.629, 0.2605, -0.2078, 1.829, -0.75, 0.9707, 2.629, 0.4917, -0.7373, 1.1045, -3.055, -1.85, -1.121, -0.1037, 1.478, 0.1356, -3.865, 0.7734, 0.9346, 0.3235, 0.09045, 0.1703, -1.732, 0.03986, -1.615, -5.105, -0.3135, 1.782, 1.35, 0.2527, -3.287, 0.04486, -1.707, -0.123, 0.833, -0.3948, 0.3423, 0.00641, -0.7227, 1.536, -4.465, -0.142, 1.408, -0.03772, -0.558], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0323, 2.113, 1.445, 2.016, -2.547, -0.4124, 1.452, -0.559, -1.204, -1.413, 0.3008, -3.121, -1.018, 1.038, 0.974, -0.241, 0.6694, 0.3594, 0.03534, 1.695, -0.11053, 0.301, -0.1776, 0.1212, 0.4243, -0.4019, -0.5405, -0.483, -0.02107, 0.7964, -0.355, -0.306, 0.3977, -1.16, 1.204, 2.197, -0.003199, 1.3, 0.345, -1.394, -0.1109, 0.6343, 0.55, 0.0863, 2.357, 1.231, -0.6333, 0.9976, -0.03192, 1.179], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.009834, 0.5728, -1.458, 1.607, -1.292, -1.866, -7.035, -0.3823, -4.934, -4.62, -3.22, 1.858, -2.623, 0.5312, -1.379, -1.388, -0.509, -7.152, -0.75, -1.045, 0.07544, 0.868, -2.895, -7.39, 1.282, -0.327, -1.293, -2.537, -0.01094, 0.3896, 0.584, -0.3955, -0.291, -0.8022, -0.5, -0.4768, -0.012764, -6.29, -0.5327, -0.332, -1.03, -3.404, -1.708, -0.9424, -1.301, -0.624, -1.6045, -3.805, -0.001745, -5.836], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03436, -0.8223, -0.1255, -2.379, -0.937, -1.927, -0.874, -0.0252, 0.2332, -0.5, 0.02911, 0.393, -0.1009, 0.2067, -2.723, -0.289, -0.8584, -0.573, -0.417, -1.228, -0.0775, -0.02203, -1.507, -1.464, 0.5933, -0.7676, -0.458, -1.087, -0.001118, -0.005505, -2.654, -0.1982, 0.724, -1.581, 0.624, -1.509, -0.02612, -2.15, -0.74, -0.2222, 0.01619, -3.201, -0.8374, -1.331, 1.516, 0.3113, -0.2944, 0.7544, -0.1263, -0.1824], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03087, -0.6084, 0.711, -0.601, -2.611, -1.233, 0.548, -1.831, -2.463, -1.713, 0.4937, -1.773, 1.587, -3.709, 0.303, -1.037, -0.7275, 0.6284, -2.658, -0.845, -1.359, 1.613, -1.083, -2.26, -2.94, -1.051, -0.5977, -0.9624, -0.03436, -1.196, -3.691, -0.4397, -1.445, -2.195, -2.0, -0.2336, -0.0192, -3.219, -0.04657, -0.6924, 0.03162, 1.733, -1.833, -0.5317, -1.95, -0.3076, -1.377, -2.12, -0.282, -0.9966], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0462, 0.1235, -2.266, 0.4968, -0.00781, -1.2705, 1.67, -0.6753, -2.002, 0.7925, -0.135, 0.364, 0.0353, 1.752, 0.527, -2.137, -0.8726, 0.9775, -0.1285, -1.474, -0.1799, 0.8105, 0.538, 0.1816, 1.63, -0.06036, 0.6187, -1.607, -0.04138, -1.343, -11.23, -0.4824, 0.639, 3.123, 1.091, 1.986, 0.02914, -5.105, -0.3848, 1.226, -0.4226, 0.1847, 0.985, -1.977, -2.07, -10.85, 0.12476, -5.332, -0.1666, 2.092], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.014435, 1.079, 0.5566, 0.8257, 0.1783, -1.438, -0.1892, 0.1654, -0.5093, -0.246, 0.5166, 0.84, 0.325, 0.691, 0.4473, -1.033, -0.2834, 0.013054, -0.07, 0.5474, -0.2379, 0.2391, 0.7524, -0.5493, 0.3826, -0.0605, -0.2603, 0.1053, -0.01768, -0.16, 0.2712, -0.1716, -0.313, -1.828, 0.768, 0.8936, -0.02878, -0.2428, 0.289, -0.6357, -0.2062, 0.812, -1.428, -0.05396, -0.01057, -1.615, 0.004845, 1.059, -0.01721, -1.949], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01345, -4.797, 1.319, 1.5, 0.03595, 0.0597, 0.6177, -0.0585, 1.744, -0.902, 0.8286, 1.833, 0.612, 0.386, -8.266, 0.903, 0.792, -0.1985, -0.338, -1.378, -0.04556, -1.115, 0.0774, -1.611, 1.868, -0.04242, 0.3977, 0.7344, -0.00491, 0.01895, -3.318, -0.1104, -1.041, 0.01701, 0.659, 2.473, 0.03442, -1.264, 0.8984, -3.145, -0.3743, 1.465, 0.3826, -4.164, -6.266, 0.8, -0.732, -1.034, -0.2435, -0.985], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02077, -0.1334, 0.3816, 0.2915, -0.5063, -0.0009007, -0.8438, -0.03119, 0.2212, 0.0349, 0.603, -1.332, 0.192, 0.1519, 0.71, -0.4285, -0.104, 0.1365, 0.02818, -0.5044, 0.12317, -0.4326, 0.06052, 0.1082, -0.0736, 0.0705, -0.1422, -0.911, -0.02124, 0.02197, -0.1956, -0.02272, -0.07996, -0.01349, 0.1942, -1.323, -0.02509, -0.28, 0.2617, 0.5986, -0.02283, 0.3716, -0.00906, -0.1968, 0.81, -0.2124, -0.08887, 0.1725, -0.04663, -1.451], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0342, 0.02647, 0.02776, -0.1531, 0.176, 0.0631, -0.58, 0.01907, -0.02592, 0.03882, 0.02959, 0.112, -0.077, -0.07367, -0.2888, 0.2239, -0.02731, -0.1224, -0.01631, -0.06146, 0.003307, 0.0731, 0.0778, -0.03384, 0.0797, -0.1677, -0.0884, -0.02806, -0.0175, 0.0928, 0.002327, -0.079, -0.05643, 0.03293, 0.0624, 0.1528, 0.0105, 0.01507, -0.1373, -0.458, -0.00312, 0.1042, -0.454, -0.002096, 0.4316, -0.04947, 0.01532, -0.03693, -0.03354, 0.176], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.004112, -0.06805, 2.578, 0.7974, 1.27, 0.4954, 0.2683, -0.619, -1.198, -1.389, 0.1487, 0.00457, 0.2472, 0.7065, -0.1705, 0.111, -0.2164, -0.0807, -0.517, 2.059, -0.656, 1.251, -0.03964, 0.9277, 0.8125, -0.2377, 0.293, 2.129, 0.04544, 0.53, -1.751, -0.0749, 0.898, -1.682, 0.7954, 1.645, -0.0479, 0.01166, -0.02641, 1.436, -0.851, 0.5537, -0.4385, -1.256, 1.061, -0.2388, 0.4097, 1.286, -0.1727, 1.005], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04645, -0.8354, 2.371, 1.077, -0.00992, -2.387, 0.2583, -0.7017, -1.854, 0.3738, 0.436, -0.3284, -0.4812, 0.808, -0.11255, 1.357, 0.842, -0.1647, -3.281, 1.352, -0.3843, 1.211, 1.075, 1.456, -3.049, -0.671, -0.01991, -2.521, 0.0465, 1.914, 0.0005794, 0.3555, 0.591, -0.291, -1.181, 2.584, 0.010414, 0.1602, 1.228, 4.02, -0.703, 1.052, -0.3704, -0.474, 2.32, -3.736, -0.3218, 2.004, -0.3245, -0.10095], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.001784, 1.04, -0.295, 0.1733, -0.2793, -1.362, -1.001, -3.164, -1.77, -3.438, -1.513, -0.2211, 1.16, -2.113, 0.3872, -0.1427, 0.0803, 0.32, -0.05566, -0.275, -2.635, 0.738, 1.214, -0.6953, -2.018, 0.2712, -0.3064, -1.028, 0.0377, -1.292, -1.427, -0.693, -0.10516, -0.5757, 0.5947, 1.885, -0.02908, -4.25, 0.734, 0.085, -0.3337, -0.02808, -0.8228, -1.231, -1.401, -0.453, -2.117, -0.7036, -0.1586, -1.458], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02953, 0.1814, -0.0847, -0.1586, -0.0722, 0.03848, 0.1417, 0.02678, -0.18, -0.05524, 0.325, 0.1768, 0.1854, 0.3374, -0.03079, 0.05634, -0.1838, 0.000969, -0.0428, 0.0782, 0.0426, 0.2325, 0.12305, -0.1804, 0.0478, -0.2065, -0.1708, 0.2695, -0.0207, -0.1865, -0.11804, 0.0944, 0.04428, 0.02034, 0.5337, -0.1659, 0.02321, -0.10535, -0.589, 0.2455, -0.0529, 0.0769, -0.003288, -0.2952, 0.2378, -0.000814, -0.1793, 0.11786, -1.576, -0.00786], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03008, 2.188, 1.592, 0.4153, 0.3696, -1.176, 0.801, -0.3606, -2.367, -0.02223, 1.754, 1.878, 0.5625, 0.395, 2.623, -7.46, 0.966, 0.2405, 0.699, 2.156, -0.3252, -1.065, -1.528, -0.03262, 1.115, 0.8267, -0.2391, -0.2913, 0.03564, 0.706, -0.4775, -0.559, 1.285, 1.339, 2.17, 2.383, -0.02795, -2.283, 0.7993, 2.146, -0.7407, -0.4167, 0.1428, 1.553, -1.559, -2.48, -0.258, -10.31, -0.2776, 1.176], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.011795, 0.01698, -0.03503, 0.125, -0.1471, -0.00808, -0.1409, 0.0137, 0.05515, -0.02124, 0.0625, -0.141, 0.006416, 0.052, 0.00892, 0.0888, -0.02219, 0.02931, 0.01226, -0.09534, -0.05975, 0.09656, -0.1238, -0.09454, 0.01877, -0.005344, -0.03317, 0.03976, -0.02983, 0.0486, 0.00939, -0.0368, 0.1111, -0.07684, 0.0501, 0.02403, 0.02519, -0.05737, -0.0298, 0.1711, -0.00669, 0.0158, -0.1259, -0.07776, 0.1509, -0.0802, -0.06464, 0.03384, -0.00853, 0.02824], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.001986, -2.54, -8.6, 1.139, -5.742, -4.867, -0.842, -0.3232, -3.53, -1.599, -2.746, -4.953, -0.9224, -6.227, 0.1344, -1.947, -4.164, -0.1608, -2.781, -2.098, 0.0699, -0.2842, -2.861, -6.863, -1.772, -0.0409, 0.1211, -2.385, -0.03134, -5.363, -3.092, -0.1755, -0.3867, -2.34, -0.5186, -3.05, 0.0039, 0.4858, -0.081, 0.647, -0.1484, -0.297, -1.666, 0.268, -1.67, -1.189, -0.4016, -0.312, -0.1898, -2.09], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01773, 0.4817, 0.885, -0.569, -0.3394, 0.9326, 1.554, -0.8794, 1.051, -1.365, 0.6494, 1.802, -1.414, 0.825, 1.089, -3.65, -1.222, -3.902, 0.11816, -3.576, -0.23, 0.921, 0.2908, 1.634, 0.3337, 1.148, 5.615e-05, 2.805, 0.004623, -2.54, -0.9497, 0.2256, 0.52, 1.296, 0.4058, 2.348, 0.01113, -3.13, 2.236, 2.25, -0.6245, 0.9814, -0.1954, 0.3936, 1.092, -3.89, 0.3337, 0.0619, -0.695, 2.37], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0255, 0.7954, -0.03992, 1.247, 1.196, 0.839, -0.8496, 0.3274, 1.642, -0.2683, 0.6045, 2.352, 0.612, -0.2664, 1.135, -1.799, 0.905, 0.4363, -0.03683, -0.9756, 0.1059, 1.03, -0.2301, -0.715, -0.951, -0.08453, 0.2087, 0.784, -0.01083, 0.4229, -2.734, -0.1532, 0.2402, 0.196, -0.3853, 0.00471, -0.00991, -1.934, 1.365, 2.219, -0.2732, 0.1753, 0.293, -4.41, -0.4998, 0.8867, -0.3271, 0.6733, -0.2705, 0.177], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04715, -0.01386, -0.03525, -0.0456, 0.02193, 0.003506, 0.00163, -0.01206, 0.013725, 0.01043, -0.0257, -0.01828, 0.02225, 0.02159, -0.003187, -0.01201, 0.01423, -0.008606, -0.01163, 0.00032, -0.009415, -0.005985, -0.00691, -0.003492, 0.005726, -0.0069, 0.007442, 0.00855, 0.04987, 0.02214, -0.091, -0.00952, 0.01808, -0.0678, 0.0851, 0.002384, 0.05865, -0.02454, 0.011246, 0.01741, -0.002048, 0.02942, 0.01999, -0.00609, 0.117, 0.0383, 0.004047, -0.01933, 0.000263, 0.1602], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02287, -1.075, -1.381, 0.1473, -0.8306, 0.782, 1.698, 0.1112, -0.5723, -0.3093, 3.627, 3.088, -1.211, 0.752, 1.086, -1.187, 1.02, -1.271, 0.10144, -3.803, -0.4734, -0.4736, 0.2854, -0.02266, 1.509, 0.713, 0.2252, 1.665, 0.03366, -0.53, -3.547, -0.03964, 1.089, 0.1259, 0.8247, 1.628, 0.03113, -0.824, 1.028, 0.283, -0.2644, 2.107, 0.506, 0.735, 1.149, 0.2837, -1.318, 0.2432, -0.6035, 0.922], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02309, -0.04288, 0.01807, 0.008415, 0.005512, 0.003618, -0.2554, 0.002554, -0.02205, -0.01324, -0.01779, -0.001585, 0.01296, -0.0378, -0.00997, 0.01753, -0.03604, 0.00938, 0.002127, -3.084, 0.004498, 0.04733, -0.009445, -0.01842, 0.013145, -0.001006, -0.001397, 0.01634, 0.005154, -0.0684, -0.0006065, -0.02504, 0.00386, 0.01363, -4.668, 0.002249, 0.0299, -0.00716, -0.003073, -0.03394, -0.0002904, -0.00963, -0.1559, -0.004322, -0.4075, -0.03735, -0.004765, -0.00599, -0.004776, 0.011345], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02986, -0.1917, 0.0703, 0.1718, -0.04337, 0.003313, 0.0737, 0.0592, -0.3005, -0.02171, -0.001465, -0.1035, 0.1682, 0.02452, -0.1504, 0.01634, -0.2018, 0.12445, 0.0931, 0.09375, 0.02637, 0.1378, -0.1375, -0.04572, 0.1018, -0.01376, -0.1277, 0.1625, -0.002905, -0.0942, -0.0362, -0.086, 0.0827, 0.1509, -0.8994, 0.094, 0.0397, -0.1014, -0.34, -0.3208, -0.02455, -0.1833, -0.3533, 0.0219, -0.408, -0.3083, -0.00803, -0.0646, -0.05676, -0.183], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01744, -0.604, 0.1382, 0.2207, 0.05966, 0.06097, -0.3926, 0.127, -0.581, -0.01528, 0.01863, -0.11035, 0.2415, -0.02061, -0.497, 0.1973, -0.354, 0.1345, 0.1522, 0.0338, 0.04843, 0.309, -0.204, -0.12256, 0.2524, 0.1338, -0.3186, 0.2563, -0.02307, -0.0901, -0.0631, -0.1808, 0.0932, 0.2979, -2.258, 0.2996, -0.0389, -0.1769, -0.3984, -1.046, -0.05075, -0.2474, 0.1052, 0.008316, -0.4102, -0.6, -0.004776, -0.147, -0.1022, -0.2324], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02179, 0.079, 0.1843, 0.354, -0.2207, -0.1268, 0.2812, -0.1466, 0.1326, 0.01904, 0.2646, -0.1785, -0.0848, -0.2157, 0.3586, 0.1926, -0.004745, 0.10034, -0.1276, 0.1709, -0.1753, 0.2294, -0.1748, -0.06995, 0.211, -0.489, -0.3325, 0.1398, -0.0165, 0.0884, -0.04453, -0.0362, 0.2018, -0.515, 0.04074, -0.1979, -0.03073, -0.3267, -0.1411, 0.2205, -0.12305, 0.3145, 0.1111, 0.002163, 0.06616, 0.663, -0.1428, 0.07776, -0.07306, -0.718], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01201, 2.213, 1.389, 2.11, -1.581, 0.881, 0.4204, 0.09686, 1.325, -0.331, 1.879, 1.232, -1.333, -0.5117, 0.2048, -0.9043, 0.0543, 0.619, 0.6025, 1.3, -1.184, -0.343, -3.447, -7.734, 0.499, 0.5825, -0.4187, 0.956, -0.01188, -7.184, -0.5356, -0.565, 2.041, 0.04196, 0.3975, 1.991, -0.02264, -3.336, -1.492, 3.188, -0.0923, -0.6987, 1.63, -0.4321, 2.617, -8.945, -1.052, -1.611, -0.05487, 0.3997], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02321, -2.963, -3.088, -0.716, -3.154, -1.217, -3.684, -0.9185, 2.43, -3.426, -5.445, -3.172, -2.879, -4.863, -1.909, -2.68, 0.2864, -0.5547, -0.4556, -2.943, -3.979, 0.985, -0.427, -6.367, -4.07, -1.432, -0.5293, -1.261, -0.04282, 2.025, -3.318, 0.594, -2.328, -5.324, -0.8403, -5.78, 0.03763, -1.396, -2.242, -0.591, -0.582, -4.29, -4.2, -3.0, -4.062, -2.139, 1.633, -1.641, -0.6885, -0.04474], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00355, -0.979, 1.198, 2.123, -0.2207, 0.7393, -0.2162, 0.2067, 1.543, -0.857, 1.03, 1.699, 1.486, 2.1, 0.783, -3.89, -0.1755, -3.887, 0.03812, 1.493, -1.725, -0.04587, -0.707, 1.179, -0.936, -0.02554, -0.0853, 0.3022, 0.015396, 1.422, -0.9873, -0.1577, 1.03, -0.416, -0.4087, 3.193, -0.05505, -1.994, 0.281, 1.978, -0.5366, 0.6978, 0.361, -0.1196, -1.101, 0.1963, -0.1686, -4.793, 0.03427, 0.06067], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01747, 1.27, 1.498, -2.887, -0.1836, 1.196, 0.7515, -0.02371, 1.334, 0.575, -2.605, 2.717, -2.49, 0.4526, -1.48, 1.284, 1.418, 0.0984, -0.74, 0.1833, -1.763, -0.342, -1.586, 0.4236, 1.286, -0.605, 0.5728, 1.64, -0.03043, -1.925, -2.506, -0.5728, -2.666, -0.946, 1.402, 1.4795, 0.0257, 2.246, -0.2458, -0.1415, -0.4927, 1.56, 0.631, 0.9043, 1.921, -9.39, -0.2703, 3.244, -0.1681, -0.03012], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.4976, 0.289, 0.0903, 0.0815, -0.318, 0.667, 0.1516, 0.5254, -0.5283, 0.2737, 0.1497, -0.269, 0.6353, 0.3923, 0.1256, -0.74, -0.305, -0.05557, -0.00965, -0.0464, 0.2957, -1.389, -0.5728, -0.03345, 0.2505, -0.1004, 0.683, 0.0356, 0.7666, -1.656, -0.0893, 0.958, -0.4128, -0.662, 0.609, 0.00851, -0.1202, 0.05304, 1.312, -0.1277, 0.3794, 0.564, -1.118, -1.207, 0.9214, -0.516, 0.866, -0.07355, -0.003845], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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, -1.864, -1.583, -2.887, -1.984, 0.2605, -3.576, -0.02505, 0.0527, 0.1307, -0.0925, -1.902, -0.4548, 0.938, -1.185, -0.05795, -0.277, -1.788, -0.4731, 0.6206, -0.1385, -0.1655, -0.5537, -2.746, 0.1176, -1.474, -0.04883, -0.623, -0.012024, -3.86, -1.039, 0.2031, -0.4597, -0.274, -1.325, -2.666, 0.02783, -2.621, -0.5024, 0.232, -0.0814, -0.684, 0.1074, -3.137, -1.164, -0.885, 0.0612, -0.2108, -0.09314, -0.1346], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.04364, -2.16, 0.9966, -1.75, 0.734, 0.2515, 1.224, -0.827, 2.596, 0.2131, 2.213, 2.14, 0.3586, 1.258, 1.935, -2.963, -1.587, -3.62, -0.2937, 1.643, -0.856, -1.005, 1.444, 1.904, 1.144, 0.1088, -0.1947, -1.448, -0.01083, -1.508, -5.496, 0.0854, -0.4075, 1.799, 1.46, 1.8125, -0.04227, -5.863, 0.937, 1.182, -0.4875, -2.477, 0.3083, -0.8174, 1.807, -3.023, -0.3643, 0.0755, -0.1713, 0.06696], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.002544, 1.134, -0.5254, -2.652, -1.617, -1.937, 1.467, -1.168, 1.439, 0.1443, 0.5605, 1.085, -3.486, -0.1743, 0.3013, 0.678, 0.2915, 0.5103, -0.695, 1.793, -0.3745, 1.448, -0.4521, 0.261, 1.133, 0.6, 0.2993, -0.3892, 0.01453, 1.956, 0.7803, -0.2246, 2.15, -0.0826, 0.823, -2.043, -0.004517, -4.945, -0.851, 2.318, -0.4924, -0.8213, 0.683, -2.836, 0.6255, -0.5405, -0.994, -0.705, -0.2878, 0.9233], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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.02719, -4.156, -2.363, 0.797, 1.381, 0.5156, 0.12, 0.0803, 0.3496, 2.686, -3.26, 0.2756, 1.409, -3.275, -3.703, -2.85, -1.221, -0.662, -1.781, -0.4292, -2.31, 0.804, -1.467, -0.2205, -2.303, -0.2324, -0.191, -0.01837, -1.51, -4.477, -2.059, 0.9434, -1.347, -0.1357, -3.105, 0.0408, -5.71, 0.1131, -0.6387, -0.010635, 0.6934, -0.1898, -3.297, -0.6245, -1.819, 0.1852, -3.371, -0.375, -0.428], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01487, 2.002, 0.05032, 0.742, -0.7075, -0.3599, 0.5645, 0.11365, -0.9375, -0.1619, 0.427, -1.097, -0.05002, 1.417, -0.0796, 0.1362, 1.21, -0.3538, -0.02502, -0.742, -0.3806, 0.1272, -0.4746, 0.7197, 0.7227, 0.74, -1.296, -0.8086, 0.03296, -5.773, -0.457, 0.2886, -0.1263, 1.122, 0.7666, 0.155, 0.01527, -0.807, -0.06934, 1.08, -0.2318, -0.05447, 0.4548, 0.881, 1.182, -0.2466, 0.11945, 0.08215, -0.479, 2.123], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.04355, 0.3674, -0.06082, 0.4995, 0.7915, -1.499, -1.228, 0.1965, 0.8384, 0.5107, -0.3796, 0.3616, -1.28, 0.1844, 0.477, 0.182, 0.2751, -0.0632, -0.4146, 0.897, -0.419, -0.2245, 0.4185, -0.469, -0.9756, -0.2157, 0.03046, -1.606, -0.007153, 0.4995, -0.010796, -0.1176, -0.3699, -0.849, 0.884, 0.9146, 0.03445, 0.6514, 0.09784, 0.325, -0.07477, 1.458, -1.163, 0.3208, 1.907, -4.13, -0.01848, 1.566, -0.0522, -0.4683], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03235, 1.683, 2.604, -1.255, 0.5884, -1.801, 0.4072, -0.737, -0.2896, 0.826, -6.027, -2.576, -0.3157, 0.8374, -2.082, 0.2715, 0.4104, 0.5737, -0.5205, -6.047, -2.822, 1.171, -0.681, 0.899, 1.154, 0.5327, 0.00968, -0.8223, -0.00899, -3.643, 0.554, -0.168, 0.3083, -2.795, 0.7666, 2.654, -0.02553, -3.492, -1.134, -15.08, -0.1954, -0.03354, -0.419, 0.4048, 0.3896, -7.332, 0.8496, -1.588, -0.10693, 0.791], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00954, 0.2607, 1.121, 0.00444, 0.8813, -0.002636, 0.4712, -0.0527, 0.006165, -0.01944, 0.901, 1.92, 0.5986, -0.08685, 0.2805, -0.231, 1.196, -1.212, -0.599, -1.724, 0.2181, -0.02516, -0.369, -0.05478, 0.11, 0.3906, -0.09717, 0.306, -0.0425, -0.3462, -1.457, 0.4053, 0.636, 0.05225, -0.531, 0.692, 0.01575, -1.052, -0.5107, 1.048, -0.272, 1.491, 0.611, -2.08, -2.242, -3.941, -0.1228, 0.6455, -0.2177, -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.03683, -2.59, -3.303, -3.191, -3.729, -2.87, 2.021, -1.162, -4.0, 1.039, -0.2988, -6.88, -0.778, 1.221, -3.662, -4.99, 0.4866, -0.2388, -1.504, -2.072, 0.0533, -6.867, 0.5195, -7.742, -3.672, -1.564, -1.75, -0.9233, -0.04276, -5.492, -1.114, -0.347, -0.286, -5.164, -5.43, -0.7925, 0.02263, -3.688, -1.113, 0.3267, 0.0935, -1.45, -3.648, -3.293, -2.594, -2.047, -0.10583, 0.911, -0.3027, 0.6387], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01843, 1.794, -2.072, -0.2695, 1.028, 0.4993, -2.037, -0.2499, 1.016, -0.0489, 0.7397, 2.523, -0.2803, -0.6865, 0.8574, -0.927, -0.298, 0.4138, -0.654, 0.6416, 0.3975, -3.297, 1.065, 0.537, 0.5273, -0.2195, -0.6226, -0.2317, -0.04013, 0.3904, -4.555, 0.12305, -3.828, 0.05396, 1.201, -1.607, 0.02989, 0.559, 1.197, -0.336, -0.3147, 1.808, 0.0619, -1.05, 1.678, -5.82, 0.3735, -1.733, -0.11285, -0.3962], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02348, 0.0002666, -0.003384, -0.0558, -0.004547, 0.000507, -0.009186, -0.1556, 0.349, -0.1482, 0.02446, -0.001856, 0.00797, -0.0354, -0.001775, -0.01732, 0.03143, 0.001033, -0.09894, 0.01062, -0.04462, -0.00776, -0.002865, -0.0643, -0.00153, -0.00127, -0.0001755, 0.006153, 0.000752, 0.00451, -0.947, 0.00199, 0.1489, -0.4397, -0.001628, -0.009926, 0.03842, -0.01284, 0.00498, 0.4521, 0.0007424, -0.02127, -0.01284, 0.0001478, -0.01878, 0.7603, 0.006107, 0.0761, 0.0001225, 1.537], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02092, -0.2935, 0.967, -0.9316, -0.684, -0.2869, 1.448, -1.377, 0.997, 0.854, -2.738, 1.406, -1.71, -0.00979, 1.034, 0.899, -0.4968, -0.2228, 0.1978, 1.571, -0.869, 1.067, -0.1461, -0.1486, 1.221, 0.3965, -0.5415, 1.259, 0.02007, 0.3005, 0.4292, -0.3867, 0.878, 0.6714, -0.2668, 0.3154, -0.01247, -3.44, 0.861, -0.0922, -0.2034, 0.0855, 1.185, 0.6074, 1.394, -0.701, -0.2317, -6.23, -0.185, 1.716]]
[0.214527, -7.86336, 0.053205, -0.109793, 1.11753, -4.10266, -7.99359, 0.0369267, -6.85591, -5.78938, 1.8043, 0.573872, 6.32504, -7.1984, -1.0652, -3.77184, -2.20707, 0.473996, -0.906228, -6.29496, 0.775662, -3.14271, -7.56409, 0.675887, 3.83653, -8.62598, -7.00632, 0.156495, -6.91515, 0.118612, 1.21915, -0.186555, 1.11887, -6.95443, 2.55534, -6.96335, -7.04328, -0.92295, -0.093369, -6.52201, -1.33616, -0.962175, -8.24974, -3.30234, -6.65486, -6.33714, 6.32764, -9.36683, 1.29849, -0.576134, 0.2145, -7.863, 0.0532, -0.1098, 1.117, -4.1, -7.992, 0.03693, -6.855, -5.79, 1.805, 0.5737, 6.324, -7.2, -1.065, -3.771, -2.207, 0.4739, -0.9062, -6.297, 0.776, -3.143, -7.562, 0.676, 3.836, -8.625, -7.008, 0.1565, -6.914, 0.1186, 1.219, -0.1865, 1.119, -6.953, 2.555, -6.965, -7.043, -0.923, -0.0934, -6.523, -1.336, -0.9624, -8.25, -3.303, -6.656, -6.336, 6.33, -9.37, 1.299, -0.576]
Affine
[[-0.00589626, 0.00345403, -0.00378928, -0.00509418, -0.00743126, 0.00470924, 0.00368448, -0.00324918, 0.00943419, 0.00678069, -0.00616059, -0.018991, -0.00788726, 0.00631315, 0.00301147, 0.00898493, 0.00239363, 0.00914678, 0.00438067, 0.00688967, -0.0111845, 0.000530674, 0.00440218, 2.00785e-05, -0.00449921, 0.00193288, 0.00577503, -0.000381984, 0.00481589, -3.99348e-05, 0.0214646, -0.0101544, -0.0377046, 0.00377257, -0.00759187, 0.00609674, 0.00460968, 0.00739472, -0.00714813, 0.00761096, -0.0107823, -0.00623638, 0.00110335, 0.00622504, 0.00658758, 0.00770496, -0.00509384, 0.00816841, -0.00538745, 0.00380469, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.000560093, -0.00115683, -1.56164e-05, 0.000630888, 0.000713284, 8.13257e-05, -0.00018024, 0.00333915, -0.00168642, -3.17262e-05, 4.99177e-05, 0.00134815, 0.000783337, 9.3634e-05, -4.32085e-05, -9.65173e-05, 0.000424555, 3.93662e-05, -0.000771076, -0.000700411, 0.00100045, 0.0156363, -0.00110243, -0.000885528, -0.000341815, -0.000101617, 0.00013314, 0.00896456, -0.00119929, -0.00155975, -0.000228997, 0.000221806, 0.00166115, 2.89756e-05, 0.000304008, -0.000419689, -0.00122504, -0.000813666, 0.0053962, -0.000990096, 0.000831145, 0.000126593, 0.000412316, -0.00148405, 8.95795e-05, -9.83522e-05, 0.000159926, -0.000781202, -0.000119684, -0.000944243, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.000277052, 0.0009629, -0.000271415, 0.00173971, 0.0035733, -0.00037969, 0.000687852, 0.0102052, 0.00023902, 0.00108466, -0.00010216, -0.00111392, 0.000260645, 0.000235929, 0.000258003, 0.000550826, 0.00682284, 7.64443e-05, 0.000471946, -0.000646314, 0.00045226, -0.00377696, -1.4275e-05, 0.00329272, 0.00117137, -0.000126436, 0.000150101, 0.0114904, 0.000273175, -0.00596616, 0.000120661, 0.000656613, -0.00169474, -4.80647e-05, -0.000315355, 6.34803e-06, 0.000112772, 0.000926555, 0.000323798, 0.000520221, -6.20622e-05, 0.000440602, -1.58795e-05, 0.000507356, 0.000390922, 0.000896548, 0.00031694, -0.000721801, -0.00096039, 1.36157e-05, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.000989569, 0.000606968, -0.000109488, 0.000436946, -0.00144826, -0.000209097, 0.00129087, 0.0146142, 0.00161843, -5.39558e-05, -0.00010044, -0.00223705, 0.000919003, -0.00016963, -0.00021014, -1.68192e-06, 0.000618371, 0.000452504, 0.000273669, 0.00113595, 0.000548288, 2.51981e-05, -0.000172818, -1.63307e-05, 3.53618e-05, 0.000321023, 0.000535366, 0.012163, -0.000161038, -0.00881211, 0.000770353, 0.000638094, 0.000472917, 0.000388956, 0.000260204, -7.44889e-05, 0.00173869, 0.00084871, 0.00571044, 0.000535816, 0.000548902, 0.000392302, 0.00319378, 0.000277513, -7.4261e-05, 0.000686819, 0.00161094, 0.000101835, -0.000771896, 0.000169473, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.000209682, 0.000759908, 0.000355051, 0.00403908, 0.00488131, -0.000551854, 0.00126627, 0.0102041, 0.000192908, 0.00105581, -0.000215781, -0.00189512, -7.72885e-05, -0.000199256, 0.000214916, 0.000466147, 0.00702334, 2.1533e-05, 0.000477727, 5.30894e-05, 0.000792518, -0.00278385, 0.000930768, 0.00337237, 0.00104645, 0.000890423, -0.000177732, 0.0124663, 9.88702e-05, -0.00657447, 0.000194557, 0.000366772, -0.00102096, -0.000144988, -4.23515e-05, -0.000111223, 3.61938e-05, 0.00108762, -0.000630048, 0.000844565, -0.000273914, 0.000172514, -5.37142e-05, 0.00013901, 0.000432825, 0.000308564, 0.000100878, -0.00063006, -0.00126214, -0.000397844, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.005898, 0.003454, -0.00379, -0.005093, -0.00743, 0.004707, 0.003685, -0.00325, 0.00944, 0.006783, -0.00616, -0.019, -0.00789, 0.006313, 0.003012, 0.00899, 0.002394, 0.00915, 0.00438, 0.00689, -0.011185, 0.0005307, 0.004402, 2.01e-05, -0.004498, 0.001933, 0.005775, -0.000382, 0.004814, -3.994e-05, 0.02147, -0.010155, -0.03772, 0.003773, -0.00759, 0.006096, 0.00461, 0.007393, -0.00715, 0.00761, -0.01078, -0.006237, 0.001103, 0.006226, 0.006588, 0.007706, -0.005093, 0.00817, -0.005386, 0.003805], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0005603, -0.001157, -1.56e-05, 0.000631, 0.0007133, 8.13e-05, -0.0001802, 0.00334, -0.001686, -3.17e-05, 4.99e-05, 0.0013485, 0.0007834, 9.364e-05, -4.32e-05, -9.65e-05, 0.0004246, 3.934e-05, -0.000771, -0.0007005, 0.001, 0.01564, -0.001102, -0.0008855, -0.000342, -0.0001016, 0.0001332, 0.008965, -0.0012, -0.00156, -0.000229, 0.0002218, 0.001661, 2.897e-05, 0.000304, -0.0004196, -0.001225, -0.0008135, 0.005398, -0.00099, 0.000831, 0.0001266, 0.0004122, -0.001484, 8.96e-05, -9.835e-05, 0.00016, -0.000781, -0.0001197, -0.000944], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.000277, 0.0009627, -0.0002713, 0.0017395, 0.003572, -0.0003798, 0.000688, 0.01021, 0.000239, 0.001084, -0.00010216, -0.001114, 0.0002606, 0.0002359, 0.000258, 0.0005507, 0.006824, 7.65e-05, 0.0004718, -0.000646, 0.0004523, -0.003777, -1.425e-05, 0.003292, 0.001171, -0.0001265, 0.0001501, 0.01149, 0.0002732, -0.005966, 0.00012064, 0.0006566, -0.001695, -4.804e-05, -0.0003154, 6.4e-06, 0.0001128, 0.0009265, 0.0003238, 0.00052, -6.205e-05, 0.0004406, -1.585e-05, 0.0005074, 0.000391, 0.0008965, 0.0003169, -0.000722, -0.0009604, 1.36e-05], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00099, 0.000607, -0.0001095, 0.000437, -0.001449, -0.0002091, 0.001291, 0.01462, 0.001618, -5.394e-05, -0.00010043, -0.002237, 0.000919, -0.0001696, -0.0002102, -1.67e-06, 0.0006185, 0.0004525, 0.0002737, 0.001136, 0.0005484, 2.52e-05, -0.0001729, -1.633e-05, 3.535e-05, 0.000321, 0.0005355, 0.01216, -0.000161, -0.00881, 0.0007706, 0.000638, 0.000473, 0.0003889, 0.00026, -7.45e-05, 0.001739, 0.000849, 0.00571, 0.000536, 0.000549, 0.0003922, 0.003193, 0.0002775, -7.427e-05, 0.0006866, 0.001611, 0.00010186, -0.000772, 0.0001695], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0002097, 0.00076, 0.000355, 0.00404, 0.004883, -0.0005517, 0.0012665, 0.0102, 0.0001929, 0.001056, -0.0002158, -0.001895, -7.73e-05, -0.0001992, 0.0002149, 0.000466, 0.007023, 2.15e-05, 0.0004778, 5.31e-05, 0.0007925, -0.002785, 0.000931, 0.003372, 0.001046, 0.0008903, -0.0001777, 0.01247, 9.89e-05, -0.006573, 0.0001945, 0.0003667, -0.001021, -0.000145, -4.24e-05, -0.0001112, 3.62e-05, 0.001087, -0.00063, 0.0008445, -0.000274, 0.0001725, -5.37e-05, 0.000139, 0.0004327, 0.0003085, 0.00010085, -0.00063, -0.001262, -0.000398]]
[-0.0141949, -0.0183209, 0.0196463, -0.0174696, 0.0203015, -0.0142, -0.01833, 0.01965, -0.01747, 0.0203]
| 17,288.681818 | 73,156 | 0.550476 | 104,309 | 380,351 | 2.007248 | 0.178681 | 0.486316 | 0.722239 | 0.953356 | 0.247261 | 0.246965 | 0.246965 | 0.246965 | 0.246965 | 0.246965 | 0 | 0.637539 | 0.137023 | 380,351 | 21 | 73,157 | 18,111.952381 | 0.000341 | 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 |
2101a635bf32c13a5983293eeb674d7ce8ac6c03 | 2,884 | py | Python | tests/test_models/test_backbones/test_sr_backbones/test_liif_net.py | Jian137/mmediting-1 | e1ac6c93441ec96696d0b530f040b91b809015b6 | [
"Apache-2.0"
] | 1,884 | 2020-07-09T18:53:43.000Z | 2022-03-31T12:06:18.000Z | tests/test_models/test_backbones/test_sr_backbones/test_liif_net.py | Jian137/mmediting-1 | e1ac6c93441ec96696d0b530f040b91b809015b6 | [
"Apache-2.0"
] | 622 | 2020-07-09T18:52:27.000Z | 2022-03-31T14:41:09.000Z | tests/test_models/test_backbones/test_sr_backbones/test_liif_net.py | Jian137/mmediting-1 | e1ac6c93441ec96696d0b530f040b91b809015b6 | [
"Apache-2.0"
] | 361 | 2020-07-09T19:21:47.000Z | 2022-03-31T09:58:27.000Z | # Copyright (c) OpenMMLab. All rights reserved.
import torch
from mmedit.models import build_backbone
def test_liif_edsr():
model_cfg = dict(
type='LIIFEDSR',
encoder=dict(
type='EDSR',
in_channels=3,
out_channels=3,
mid_channels=64,
num_blocks=16),
imnet=dict(
type='MLPRefiner',
in_dim=64,
out_dim=3,
hidden_list=[256, 256, 256, 256]),
local_ensemble=True,
feat_unfold=True,
cell_decode=True,
eval_bsize=30000)
# build model
model = build_backbone(model_cfg)
# test attributes
assert model.__class__.__name__ == 'LIIFEDSR'
# prepare data
inputs = torch.rand(1, 3, 22, 11)
targets = torch.rand(1, 128 * 64, 3)
coord = torch.rand(1, 128 * 64, 2)
cell = torch.rand(1, 128 * 64, 2)
# test on cpu
output = model(inputs, coord, cell)
output = model(inputs, coord, cell, True)
assert torch.is_tensor(output)
assert output.shape == targets.shape
# test on gpu
if torch.cuda.is_available():
model = model.cuda()
inputs = inputs.cuda()
targets = targets.cuda()
coord = coord.cuda()
cell = cell.cuda()
output = model(inputs, coord, cell)
output = model(inputs, coord, cell, True)
assert torch.is_tensor(output)
assert output.shape == targets.shape
def test_liif_rdn():
model_cfg = dict(
type='LIIFRDN',
encoder=dict(
type='RDN',
in_channels=3,
out_channels=3,
mid_channels=64,
num_blocks=16,
upscale_factor=4,
num_layers=8,
channel_growth=64),
imnet=dict(
type='MLPRefiner',
in_dim=64,
out_dim=3,
hidden_list=[256, 256, 256, 256]),
local_ensemble=True,
feat_unfold=True,
cell_decode=True,
eval_bsize=30000)
# build model
model = build_backbone(model_cfg)
# test attributes
assert model.__class__.__name__ == 'LIIFRDN'
# prepare data
inputs = torch.rand(1, 3, 22, 11)
targets = torch.rand(1, 128 * 64, 3)
coord = torch.rand(1, 128 * 64, 2)
cell = torch.rand(1, 128 * 64, 2)
# test on cpu
output = model(inputs, coord, cell)
output = model(inputs, coord, cell, True)
assert torch.is_tensor(output)
assert output.shape == targets.shape
# test on gpu
if torch.cuda.is_available():
model = model.cuda()
inputs = inputs.cuda()
targets = targets.cuda()
coord = coord.cuda()
cell = cell.cuda()
output = model(inputs, coord, cell)
output = model(inputs, coord, cell, True)
assert torch.is_tensor(output)
assert output.shape == targets.shape
| 26.218182 | 49 | 0.567614 | 353 | 2,884 | 4.473088 | 0.232295 | 0.045598 | 0.050665 | 0.111463 | 0.842305 | 0.842305 | 0.842305 | 0.842305 | 0.842305 | 0.842305 | 0 | 0.056266 | 0.322122 | 2,884 | 109 | 50 | 26.458716 | 0.751407 | 0.06068 | 0 | 0.814815 | 0 | 0 | 0.021135 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 1 | 0.024691 | false | 0 | 0.024691 | 0 | 0.049383 | 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 |
2157fe0b77cfbb7e51009271de2620a064a05433 | 3,411 | py | Python | eoepca_uma/tests/rpt_test.py | EOEPCA/um-common-uma-client | f850becfde7a675e7fd9c6751f8a8effa2a73666 | [
"Apache-2.0"
] | null | null | null | eoepca_uma/tests/rpt_test.py | EOEPCA/um-common-uma-client | f850becfde7a675e7fd9c6751f8a8effa2a73666 | [
"Apache-2.0"
] | null | null | null | eoepca_uma/tests/rpt_test.py | EOEPCA/um-common-uma-client | f850becfde7a675e7fd9c6751f8a8effa2a73666 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from time import time
from eoepca_uma import rpt
def test_valid_token_intr_data():
valid = [
{"active": True, "permissions": [{"resource_id":"/simple/test", "resource_scopes": ["Auth"]}]},
{"active": True, "permissions": [{"resource_id":"/simple/test/b", "resource_scopes": ["Auth", "Multiple", "Scopes"]}]},
]
resources = [
{"resource_id":"/simple/test",
"resource_scopes": ["Auth"]},
{"resource_id":"/simple/test/b",
"resource_scopes": ["Auth","Multiple","Scopes"]},
{"resource_id":"/simple/test/b",
"resource_scopes": ["Auth","Scopes"]},
]
for i in valid:
assert(rpt.valid_token_introspection_data(i, resources=resources) == True)
def test_invalid_token_intr_data():
invalid = [
[],
{},
{"active": False },
{"active": True, "permissions": [{"resource_id":"/simple/test", "resource_scopes": ["AAAAA"]}]},
{"active": True, "permissions": [{"resource_id":"/simple/invalid", "resource_scopes": ["Auth"]}]},
{"active": True, "permissions": [{"resource_id":"/simple/invalid", "resource_scopes": ["BBBB"]}]},
{"active": True, "permissions": [{"resource_id":"/simple/test/b", "resource_scopes": ["Auth", "Multiple","Scopes"]}]},
{"active": True, "permissions": [{"resource_id":"/simple/test/b", "resource_scopes": []}]},
{"active": True, "permissions": [{"resource_id":"/simple/test/b", "resource_scopes": ["Auth"]}]},
]
resources = [
{"resource_id":"/simple/test",
"resource_scopes": ["Auth"]},
{"resource_id":"/simple/test/b",
"resource_scopes": ["Auth","Multiple","Scopes","Invalid"]},
]
for i in invalid:
assert(rpt.valid_token_introspection_data(i,resources=resources) == False)
def test_time_valid_token_intr_data():
now = time()
valid = [
{"exp" : now+1_000_000},
{"exp" : now+100},
{"exp" : now+5},
{"nbf" : now-5},
{"nbf" : now-1000},
{"iat" : now-5},
{"iat" : now-1000},
# Combination
{
"exp" : now+1000,
"nbf" : now-100,
"iat" : now-1000
}
]
resources = [
{"resource_id":"/simple/test",
"resource_scopes": ["Auth"]},
]
for i in valid:
# We are just testing time here
i["active"] = True
i["permissions"]= [{"resource_id":"/simple/test", "resource_scopes": ["Auth"]}]
assert(rpt.valid_token_introspection_data(i, resources=resources) == True)
def test_time_invalid_token_intr_data():
now = time()
valid = [
{"exp" : now-1_000_000},
{"exp" : now-100},
{"exp" : now-5},
{"exp" : now},
{"nbf" : now+5},
{"nbf" : now+1000},
{"iat" : now+5},
{"iat" : now+1000},
# Combination
{
"exp" : now-1000,
"nbf" : now+100,
"iat" : now+1000
}
]
resources = [
{"resource_id":"/simple/test",
"resource_scopes": ["Auth"]},
]
for i in valid:
# Check time validity, even with an active true
i["active"] = True
i["permissions"]= [{"resource_id":"/simple/test", "resource_scopes": ["Auth"]}]
assert(rpt.valid_token_introspection_data(i, resources=resources) == False)
| 29.405172 | 127 | 0.532395 | 360 | 3,411 | 4.852778 | 0.155556 | 0.09731 | 0.155695 | 0.171723 | 0.848884 | 0.848884 | 0.848884 | 0.848884 | 0.82656 | 0.692616 | 0 | 0.025927 | 0.265025 | 3,411 | 115 | 128 | 29.66087 | 0.670921 | 0.035473 | 0 | 0.383721 | 0 | 0 | 0.316286 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 1 | 0.046512 | false | 0 | 0.023256 | 0 | 0.069767 | 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 |
215dd85382cc6ab5283707359509e5fb8f6598ed | 127 | py | Python | vk_bot/settings.py | alexeyqu/2bots | aeaaace524f74ce9c2f2f64ac196e8774ac8b5da | [
"MIT"
] | null | null | null | vk_bot/settings.py | alexeyqu/2bots | aeaaace524f74ce9c2f2f64ac196e8774ac8b5da | [
"MIT"
] | null | null | null | vk_bot/settings.py | alexeyqu/2bots | aeaaace524f74ce9c2f2f64ac196e8774ac8b5da | [
"MIT"
] | null | null | null | token = '96fe551ae54ccd21cf85e8f8e4af8cf6d3150979d4f4f69eef62826399bad210658646b35480311040ab7'
confirmation_token = '585a8a6c' | 63.5 | 95 | 0.913386 | 5 | 127 | 23 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.03937 | 127 | 2 | 96 | 63.5 | 0.442623 | 0 | 0 | 0 | 0 | 0 | 0.726563 | 0.664063 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0d22dae9c4891014b0d021ff5f81d65b72782a70 | 8,834 | py | Python | tests/utils/test_password_generator.py | imsofi/codejam-grand-geckos | 55aabf5fe127ee9618c1faa2fe8cc02af8054b80 | [
"0BSD"
] | 5 | 2021-07-10T02:57:10.000Z | 2021-08-02T20:20:10.000Z | tests/utils/test_password_generator.py | imsofi/codejam-grand-geckos | 55aabf5fe127ee9618c1faa2fe8cc02af8054b80 | [
"0BSD"
] | 12 | 2021-07-09T22:06:22.000Z | 2021-07-16T20:27:42.000Z | tests/utils/test_password_generator.py | imsofi/codejam-grand-geckos | 55aabf5fe127ee9618c1faa2fe8cc02af8054b80 | [
"0BSD"
] | 6 | 2021-07-09T20:55:04.000Z | 2021-08-30T19:40:34.000Z | import string
import pytest
from grand_geckos.utils import generate_passphrase, generate_password
class TestGeneratePassword:
def test_length_zero(self):
with pytest.raises(Exception):
generate_password(length=0,
use_letters=True,
use_numbers=True,
use_symbols=False,
custom_letters="")
def test_length_two(self):
with pytest.raises(Exception):
generate_password(length=2,
use_letters=True,
use_numbers=True,
use_symbols=False,
custom_letters="")
def test_numbers(self):
pw = generate_password(length=16,
use_letters=False,
use_numbers=True,
use_symbols=False,
custom_letters="")
assert len(pw) == 16
assert all(char.isdigit() for char in pw)
def test_numbers_shortest(self):
pw = generate_password(length=1,
use_letters=False,
use_numbers=True,
use_symbols=False,
custom_letters="")
assert len(pw) == 1
assert all(char.isdigit() for char in pw)
def test_strings(self):
pw = generate_password(length=16,
use_letters=True,
use_numbers=False,
use_symbols=False,
custom_letters="")
assert len(pw) == 16
assert any(char in string.ascii_lowercase for char in pw)
assert any(char in string.ascii_uppercase for char in pw)
assert all(char in string.ascii_letters for char in pw)
def test_strings_shortest(self):
pw = generate_password(length=2,
use_letters=True,
use_numbers=False,
use_symbols=False,
custom_letters="")
assert len(pw) == 2
assert all(char in string.ascii_letters for char in pw)
def test_punctuations(self):
pw = generate_password(length=16,
use_letters=False,
use_numbers=False,
use_symbols=True,
custom_letters="")
assert len(pw) == 16
assert all(char in string.punctuation for char in pw)
def test_punctuations_shortest(self):
pw = generate_password(length=1,
use_letters=False,
use_numbers=False,
use_symbols=True,
custom_letters="")
assert len(pw) == 1
assert all(char in string.punctuation for char in pw)
def test_custom_letters(self):
custom_letters = "¶|¼²°"
pw = generate_password(length=16,
use_letters=False,
use_numbers=False,
use_symbols=False,
custom_letters=custom_letters)
assert len(pw) == 16
assert all(char in custom_letters for char in pw)
def test_custom_letters_shortest(self):
custom_letters = "¶|¼²°"
pw = generate_password(length=1,
use_letters=False,
use_numbers=False,
use_symbols=False,
custom_letters=custom_letters)
assert len(pw) == 1
assert all(char in custom_letters for char in pw)
def test_letters_numbers(self):
pw = generate_password(length=16,
use_letters=True,
use_numbers=True,
use_symbols=False,
custom_letters="")
assert len(pw) == 16
assert any(char in string.ascii_lowercase for char in pw)
assert any(char in string.ascii_uppercase for char in pw)
assert any(char in string.digits for char in pw)
assert all(char in string.ascii_letters + string.digits for char in pw)
def test_letters_numbers_shortest(self):
pw = generate_password(length=3,
use_letters=True,
use_numbers=True,
use_symbols=False,
custom_letters="")
assert len(pw) == 3
assert all(char in string.ascii_letters + string.digits for char in pw)
def test_letters_numbers_impossible(self):
with pytest.raises(Exception):
generate_password(length=2,
use_letters=True,
use_numbers=True,
use_symbols=False,
custom_letters="")
def test_letters_numbers_symbols(self):
pw = generate_password(length=16,
use_letters=True,
use_numbers=True,
use_symbols=True,
custom_letters="")
assert len(pw) == 16
assert any(char in string.ascii_lowercase for char in pw)
assert any(char in string.ascii_uppercase for char in pw)
assert any(char in string.digits for char in pw)
assert any(char in string.punctuation for char in pw)
assert all(char in string.ascii_letters + string.digits + string.punctuation for char in pw)
def test_letters_numbers_symbols_shortest(self):
pw = generate_password(length=4,
use_letters=True,
use_numbers=True,
use_symbols=True,
custom_letters="")
assert len(pw) == 4
assert all(char in string.ascii_letters + string.digits + string.punctuation for char in pw)
def test_letters_numbers_symbols_impossibe(self):
with pytest.raises(Exception):
generate_password(length=3,
use_letters=True,
use_numbers=True,
use_symbols=True,
custom_letters="")
def test_letters_numbers_symbols_custom_letters(self):
custom_letters = "¶|¼²°"
pw = generate_password(length=16,
use_letters=True,
use_numbers=True,
use_symbols=True,
custom_letters=custom_letters)
assert len(pw) == 16
assert any(char in string.ascii_lowercase for char in pw)
assert any(char in string.ascii_uppercase for char in pw)
assert any(char in string.digits for char in pw)
assert any(char in string.punctuation for char in pw)
assert any(char in custom_letters for char in pw)
assert all(char in string.ascii_letters + string.digits + string.punctuation + custom_letters for char in pw)
def test_letters_numbers_symbols_custom_letters_shortest(self):
custom_letters = "¶|¼²°"
pw = generate_password(length=5,
use_letters=True,
use_numbers=True,
use_symbols=True,
custom_letters=custom_letters)
assert len(pw) == 5
assert all(char in string.ascii_letters + string.digits + string.punctuation + custom_letters for char in pw)
def test_letters_numbers_symbols_custom_letters_impossibe(self):
custom_letters = "¶|¼²°"
with pytest.raises(Exception):
generate_password(length=4,
use_letters=True,
use_numbers=True,
use_symbols=True,
custom_letters=custom_letters)
class TestGeneratePassphrase:
def test_length_zero(self):
with pytest.raises(Exception):
generate_passphrase(length=0)
def test_length_one(self):
pw = generate_passphrase(length=1)
pw_split = pw.split(" ")
assert len(pw_split) == 1
def test_length_two(self):
pw = generate_passphrase(length=2)
pw_split = pw.split(" ")
assert len(pw_split) == 2
def test_length_four(self):
pw = generate_passphrase(length=4)
pw_split = pw.split(" ")
assert len(pw_split) == 4
| 41.474178 | 117 | 0.517433 | 934 | 8,834 | 4.700214 | 0.066381 | 0.073804 | 0.057403 | 0.070159 | 0.948519 | 0.922323 | 0.915945 | 0.885649 | 0.845103 | 0.838041 | 0 | 0.011441 | 0.416233 | 8,834 | 212 | 118 | 41.669811 | 0.834982 | 0 | 0 | 0.768817 | 1 | 0 | 0.00317 | 0 | 0 | 0 | 0 | 0 | 0.241935 | 1 | 0.123656 | false | 0.139785 | 0.016129 | 0 | 0.150538 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
0d4a7718fa7ee4ef9d59cb254fb9d89c0eccf881 | 13,831 | py | Python | lang/python/github/com/metaprov/modelaapi/services/license/v1/license_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 5 | 2022-02-18T03:40:10.000Z | 2022-03-01T16:11:24.000Z | lang/python/github/com/metaprov/modelaapi/services/license/v1/license_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 1 | 2022-01-07T19:59:25.000Z | 2022-02-04T01:21:14.000Z | lang/python/github/com/metaprov/modelaapi/services/license/v1/license_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 1 | 2022-03-25T10:21:43.000Z | 2022-03-25T10:21:43.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from github.com.metaprov.modelaapi.services.license.v1 import license_pb2 as github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2
class LicenseServiceStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.ListLicenses = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.license.v1.LicenseService/ListLicenses',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.ListLicensesRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.ListLicensesResponse.FromString,
)
self.CreateLicense = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.license.v1.LicenseService/CreateLicense',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseResponse.FromString,
)
self.CreateLicenseFromKey = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.license.v1.LicenseService/CreateLicenseFromKey',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseFromKeyRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseResponse.FromString,
)
self.GetLicense = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.license.v1.LicenseService/GetLicense',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.GetLicenseRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.GetLicenseResponse.FromString,
)
self.UpdateLicense = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.license.v1.LicenseService/UpdateLicense',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.UpdateLicenseRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.UpdateLicenseResponse.FromString,
)
self.DeleteLicense = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.license.v1.LicenseService/DeleteLicense',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.DeleteLicenseRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.DeleteLicenseResponse.FromString,
)
class LicenseServiceServicer(object):
"""Missing associated documentation comment in .proto file."""
def ListLicenses(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def CreateLicense(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def CreateLicenseFromKey(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetLicense(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def UpdateLicense(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DeleteLicense(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_LicenseServiceServicer_to_server(servicer, server):
rpc_method_handlers = {
'ListLicenses': grpc.unary_unary_rpc_method_handler(
servicer.ListLicenses,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.ListLicensesRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.ListLicensesResponse.SerializeToString,
),
'CreateLicense': grpc.unary_unary_rpc_method_handler(
servicer.CreateLicense,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseResponse.SerializeToString,
),
'CreateLicenseFromKey': grpc.unary_unary_rpc_method_handler(
servicer.CreateLicenseFromKey,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseFromKeyRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseResponse.SerializeToString,
),
'GetLicense': grpc.unary_unary_rpc_method_handler(
servicer.GetLicense,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.GetLicenseRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.GetLicenseResponse.SerializeToString,
),
'UpdateLicense': grpc.unary_unary_rpc_method_handler(
servicer.UpdateLicense,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.UpdateLicenseRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.UpdateLicenseResponse.SerializeToString,
),
'DeleteLicense': grpc.unary_unary_rpc_method_handler(
servicer.DeleteLicense,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.DeleteLicenseRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.DeleteLicenseResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'github.com.metaprov.modelaapi.services.license.v1.LicenseService', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class LicenseService(object):
"""Missing associated documentation comment in .proto file."""
@staticmethod
def ListLicenses(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.license.v1.LicenseService/ListLicenses',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.ListLicensesRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.ListLicensesResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def CreateLicense(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.license.v1.LicenseService/CreateLicense',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def CreateLicenseFromKey(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.license.v1.LicenseService/CreateLicenseFromKey',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseFromKeyRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.CreateLicenseResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetLicense(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.license.v1.LicenseService/GetLicense',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.GetLicenseRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.GetLicenseResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateLicense(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.license.v1.LicenseService/UpdateLicense',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.UpdateLicenseRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.UpdateLicenseResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DeleteLicense(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.license.v1.LicenseService/DeleteLicense',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.DeleteLicenseRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_license_dot_v1_dot_license__pb2.DeleteLicenseResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 59.616379 | 172 | 0.742173 | 1,453 | 13,831 | 6.560908 | 0.077082 | 0.077625 | 0.046575 | 0.058219 | 0.898143 | 0.898143 | 0.898143 | 0.869716 | 0.858072 | 0.82912 | 0 | 0.008012 | 0.196804 | 13,831 | 231 | 173 | 59.874459 | 0.850122 | 0.05372 | 0 | 0.53125 | 1 | 0 | 0.10572 | 0.078272 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072917 | false | 0 | 0.010417 | 0.03125 | 0.130208 | 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 |
b49f85c39cae383bb0c728954e3fd2f0e1b79d57 | 272 | py | Python | src/genie/libs/parser/iosxe/tests/ShowBoot/cli/equal/golden_output_asr1k_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowBoot/cli/equal/golden_output_asr1k_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowBoot/cli/equal/golden_output_asr1k_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"standby": {
"boot_variable": "bootflash:/asr1000rpx.bin,12",
"configuration_register": "0x2002",
},
"active": {
"boot_variable": "bootflash:/asr1000rpx.bin,12;",
"configuration_register": "0x2002",
},
}
| 24.727273 | 57 | 0.580882 | 22 | 272 | 6.954545 | 0.590909 | 0.156863 | 0.27451 | 0.405229 | 0.823529 | 0.823529 | 0.823529 | 0.823529 | 0.823529 | 0 | 0 | 0.106796 | 0.242647 | 272 | 10 | 58 | 27.2 | 0.635922 | 0 | 0 | 0.2 | 0 | 0 | 0.558824 | 0.371324 | 0 | 0 | 0.044118 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 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 |
b4d58dbfa66b4951080289e255b861ae8cc44520 | 180 | py | Python | restapi_logging_handler/__init__.py | ethanmcc/restapi-logging-handler | 53ddaddc59befcbaf1a797360d39d55042b0579a | [
"MIT"
] | null | null | null | restapi_logging_handler/__init__.py | ethanmcc/restapi-logging-handler | 53ddaddc59befcbaf1a797360d39d55042b0579a | [
"MIT"
] | null | null | null | restapi_logging_handler/__init__.py | ethanmcc/restapi-logging-handler | 53ddaddc59befcbaf1a797360d39d55042b0579a | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from restapi_logging_handler.loggly_handler import LogglyHandler
from restapi_logging_handler.restapi_logging_handler import RestApiHandler
| 36 | 74 | 0.916667 | 22 | 180 | 6.954545 | 0.454545 | 0.27451 | 0.411765 | 0.326797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072222 | 180 | 4 | 75 | 45 | 0.916168 | 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 |
b4d7299b4a0100104cf57b9eeb5b4ac9ba42c9e3 | 234 | py | Python | nullprompt/trainers/__init__.py | vha14/null-prompts | 95ea55d7083c71edfdf5d2c229bef6e81b600d9f | [
"Apache-2.0"
] | 7 | 2021-10-04T11:22:23.000Z | 2022-01-04T11:47:13.000Z | nullprompt/trainers/__init__.py | vha14/null-prompts | 95ea55d7083c71edfdf5d2c229bef6e81b600d9f | [
"Apache-2.0"
] | 2 | 2021-09-29T23:36:53.000Z | 2021-10-04T23:58:20.000Z | nullprompt/trainers/__init__.py | vha14/null-prompts | 95ea55d7083c71edfdf5d2c229bef6e81b600d9f | [
"Apache-2.0"
] | 1 | 2021-09-27T04:24:16.000Z | 2021-09-27T04:24:16.000Z | from nullprompt.trainers.base import Trainer
from nullprompt.trainers.continuous_mlm import ContinuousMLMTrainer
from nullprompt.trainers.discrete_mlm import DiscreteMLMTrainer
from nullprompt.trainers.finetune import FinetuneTrainer
| 46.8 | 67 | 0.897436 | 26 | 234 | 8 | 0.5 | 0.269231 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068376 | 234 | 4 | 68 | 58.5 | 0.954128 | 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 |
2e93efaee23a845476fcf5d62bee06828d7b91cf | 22,830 | py | Python | scenes/tests/unit_test_interactors.py | jordifierro/abidria-api | d7689783bf23fbe43c395b07572a1380654652cd | [
"MIT"
] | 93 | 2017-08-12T09:41:21.000Z | 2022-03-19T20:04:41.000Z | scenes/tests/unit_test_interactors.py | jordifierro/abidria-api | d7689783bf23fbe43c395b07572a1380654652cd | [
"MIT"
] | 1 | 2017-10-09T16:49:10.000Z | 2017-10-13T18:07:29.000Z | scenes/tests/unit_test_interactors.py | jordifierro/abidria-api | d7689783bf23fbe43c395b07572a1380654652cd | [
"MIT"
] | 25 | 2017-08-18T04:31:23.000Z | 2022-02-20T20:31:47.000Z | from mock import Mock
from abidria.exceptions import InvalidEntityException, EntityDoesNotExistException, NoLoggedException, \
NoPermissionException
from scenes.interactors import GetScenesFromExperienceInteractor, CreateNewSceneInteractor, ModifySceneInteractor, \
UploadScenePictureInteractor
from scenes.entities import Scene
class TestGetScenesFromExperience:
def test_returns_scenes(self):
TestGetScenesFromExperience.ScenarioMaker() \
.given_a_logged_person_id() \
.given_a_permissions_validator_that_returns_true() \
.given_two_scenes() \
.given_scene_repo_that_returns_both() \
.given_an_experience_id() \
.when_interactor_is_executed() \
.then_permissions_should_be_validated() \
.then_get_scenes_should_be_called_with_experience_id() \
.then_result_should_be_both_scenes()
def test_no_logged_returns_exception(self):
TestGetScenesFromExperience.ScenarioMaker() \
.given_a_logged_person_id() \
.given_a_permissions_validator_that_raises_no_logged_exception() \
.given_two_scenes() \
.given_scene_repo_that_returns_both() \
.given_an_experience_id() \
.when_interactor_is_executed() \
.then_permissions_should_be_validated() \
.then_should_raise_no_permissions_exception()
class ScenarioMaker:
def given_a_logged_person_id(self):
self.logged_person_id = '4'
return self
def given_a_permissions_validator_that_returns_true(self):
self.permissions_validator = Mock()
self.permissions_validator.validate_permissions.return_value = True
return self
def given_a_permissions_validator_that_raises_no_logged_exception(self):
self.permissions_validator = Mock()
self.permissions_validator.validate_permissions.side_effect = NoLoggedException()
return self
def given_two_scenes(self):
self.scene_a = Scene(id=2, title='', description='', picture=None, latitude=1, longitude=0, experience_id=1)
self.scene_b = Scene(id=3, title='', description='', picture=None, latitude=1, longitude=0, experience_id=1)
return self
def given_scene_repo_that_returns_both(self):
self.scene_repo = Mock()
self.scene_repo.get_scenes.return_value = [self.scene_a, self.scene_b]
return self
def given_an_experience_id(self):
self.experience_id = '5'
return self
def when_interactor_is_executed(self):
try:
self.result = GetScenesFromExperienceInteractor(self.scene_repo,
permissions_validator=self.permissions_validator) \
.set_params(experience_id=self.experience_id, logged_person_id=self.logged_person_id).execute()
except Exception as e:
self.error = e
return self
def then_get_scenes_should_be_called_with_experience_id(self):
self.scene_repo.get_scenes.assert_called_once_with(experience_id=self.experience_id)
return self
def then_result_should_be_both_scenes(self):
assert self.result == [self.scene_a, self.scene_b]
return self
def then_permissions_should_be_validated(self):
self.permissions_validator.validate_permissions \
.assert_called_once_with(logged_person_id=self.logged_person_id)
return self
def then_should_raise_no_permissions_exception(self):
assert type(self.error) is NoLoggedException
return self
class TestCreateNewScene:
def test_creates_and_returns_scene(self):
TestCreateNewScene.ScenarioMaker() \
.given_a_logged_person_id() \
.given_a_permissions_validator_that_returns_true() \
.given_a_title() \
.given_a_description() \
.given_a_latitude() \
.given_a_longitude() \
.given_an_experience_id() \
.given_an_scene_validator_that_accepts_that_scene() \
.given_an_scene() \
.given_an_scene_repo_that_returns_scene_on_create() \
.when_interactor_is_executed() \
.then_validate_permissions_is_called_with_logged_person_id_and_experience_id() \
.then_validate_scene_is_called_with_previous_params() \
.then_create_scene_is_called_with_previous_params() \
.then_result_should_be_scene()
def test_invalid_scene_returns_error_and_doesnt_create_it(self):
TestCreateNewScene.ScenarioMaker() \
.given_a_logged_person_id() \
.given_a_permissions_validator_that_returns_true() \
.given_a_title() \
.given_a_description() \
.given_a_latitude() \
.given_a_longitude() \
.given_an_experience_id() \
.given_an_scene_validator_that_raises_invalid_params() \
.given_an_scene_repo() \
.when_interactor_is_executed() \
.then_validate_permissions_is_called_with_logged_person_id_and_experience_id() \
.then_validate_scene_is_called_with_previous_params() \
.then_create_scene_should_not_be_called() \
.then_should_raise_invalid_entity_exception()
def test_invalid_permissions_returns_error(self):
TestCreateNewScene.ScenarioMaker() \
.given_a_logged_person_id() \
.given_a_permissions_validator_that_raises_no_permissions_exception() \
.given_a_title() \
.given_a_description() \
.given_a_latitude() \
.given_a_longitude() \
.given_an_experience_id() \
.given_an_scene_validator_that_raises_invalid_params() \
.given_an_scene_repo() \
.when_interactor_is_executed() \
.then_validate_permissions_is_called_with_logged_person_id_and_experience_id() \
.then_create_scene_should_not_be_called() \
.then_should_raise_no_permissions_exception()
class ScenarioMaker:
def given_a_logged_person_id(self):
self.logged_person_id = '8'
return self
def given_a_permissions_validator_that_returns_true(self):
self.permissions_validator = Mock()
self.permissions_validator.validate_permissions.return_value = True
return self
def given_a_permissions_validator_that_raises_no_permissions_exception(self):
self.permissions_validator = Mock()
self.permissions_validator.validate_permissions.side_effect = NoPermissionException()
return self
def given_a_title(self):
self.title = 'Title'
return self
def given_a_description(self):
self.description = 'description'
return self
def given_a_latitude(self):
self.latitude = 1
return self
def given_a_longitude(self):
self.longitude = 0
return self
def given_an_experience_id(self):
self.experience_id = '9'
return self
def given_an_scene(self):
self.created_scene = Scene(title='Title', description='', latitude=1, longitude=0, experience_id=1)
return self
def given_an_scene_validator_that_accepts_that_scene(self):
self.scene_validator = Mock()
self.scene_validator.validate_scene.return_value = True
return self
def given_an_scene_validator_that_raises_invalid_params(self):
self.scene_validator = Mock()
self.scene_validator.validate_scene.side_effect = InvalidEntityException(source='s', code='c', message='m')
return self
def given_an_scene_repo_that_returns_scene_on_create(self):
self.scene_repo = Mock()
self.scene_repo.create_scene.return_value = self.created_scene
return self
def given_an_scene_repo(self):
self.scene_repo = Mock()
return self
def when_interactor_is_executed(self):
try:
self.result = CreateNewSceneInteractor(self.scene_repo, self.scene_validator,
self.permissions_validator) \
.set_params(title=self.title, description=self.description, latitude=self.latitude,
longitude=self.longitude, experience_id=self.experience_id,
logged_person_id=self.logged_person_id).execute()
except Exception as e:
self.error = e
return self
def then_validate_permissions_is_called_with_logged_person_id_and_experience_id(self):
self.permissions_validator.validate_permissions \
.assert_called_once_with(logged_person_id=self.logged_person_id,
has_permissions_to_modify_experience=self.experience_id)
return self
def then_validate_scene_is_called_with_previous_params(self):
scene = Scene(title=self.title, description=self.description, latitude=self.latitude,
longitude=self.longitude, experience_id=self.experience_id)
self.scene_validator.validate_scene.assert_called_once_with(scene)
return self
def then_create_scene_is_called_with_previous_params(self):
scene = Scene(title=self.title, description=self.description, latitude=self.latitude,
longitude=self.longitude, experience_id=self.experience_id)
self.scene_repo.create_scene.assert_called_once_with(scene)
return self
def then_create_scene_should_not_be_called(self):
self.scene_repo.created_scene.assert_not_called()
return self
def then_result_should_be_scene(self):
assert self.result == self.created_scene
def then_should_raise_invalid_entity_exception(self):
assert type(self.error) is InvalidEntityException
assert self.error.source == 's'
assert self.error.code == 'c'
assert str(self.error) == 'm'
return self
def then_should_raise_no_permissions_exception(self):
assert type(self.error) is NoPermissionException
return self
class TestModifyScene:
def test_gets_modifies_not_none_params_and_returns_scene(self):
TestModifyScene.ScenarioMaker() \
.given_a_logged_person_id() \
.given_a_permissions_validator_that_returns_true() \
.given_an_scene() \
.given_an_scene_repo() \
.given_that_scene_repo_returns_that_scene_on_get() \
.given_an_updated_scene() \
.given_that_scene_repo_returns_that_scene_on_update() \
.given_an_scene_validator_that_accepts() \
.given_an_id() \
.given_a_description() \
.given_a_longitude() \
.when_interactor_is_executed() \
.then_permissions_should_be_validated() \
.then_get_scene_should_be_called_with_id() \
.then_scene_with_new_description_an_longitude_should_be_validated() \
.then_update_scene_should_be_called_with_new_description_an_longitude() \
.then_result_should_be_updated_scene()
def test_invalid_scene_returns_error_and_doesnt_update_it(self):
TestModifyScene.ScenarioMaker() \
.given_a_logged_person_id() \
.given_a_permissions_validator_that_returns_true() \
.given_an_scene() \
.given_an_scene_repo() \
.given_that_scene_repo_returns_that_scene_on_get() \
.given_an_scene_validator_that_raises_invalid_params() \
.given_an_id() \
.given_a_description() \
.given_a_longitude() \
.when_interactor_is_executed() \
.then_permissions_should_be_validated() \
.then_get_scene_should_be_called_with_id() \
.then_scene_with_new_description_an_longitude_should_be_validated() \
.then_update_scene_should_not_be_called() \
.then_should_raise_invalid_entity_exception()
def test_unexistent_scene_returns_entity_does_not_exist_error(self):
TestModifyScene.ScenarioMaker() \
.given_a_logged_person_id() \
.given_a_permissions_validator_that_returns_true() \
.given_an_scene_repo_that_raises_entity_does_not_exist() \
.given_an_scene_validator_that_raises_invalid_params() \
.given_an_id() \
.given_a_description() \
.given_a_longitude() \
.when_interactor_is_executed() \
.then_permissions_should_be_validated() \
.then_get_scene_should_be_called_with_id() \
.then_update_scene_should_not_be_called() \
.then_should_raise_entity_does_not_exist()
class ScenarioMaker:
def given_a_logged_person_id(self):
self.logged_person_id = '8'
return self
def given_a_permissions_validator_that_returns_true(self):
self.permissions_validator = Mock()
self.permissions_validator.validate_permissions.return_value = True
return self
def given_a_permissions_validator_that_raises_no_permissions_exception(self):
self.permissions_validator = Mock()
self.permissions_validator.validate_permissions.side_effect = NoPermissionException()
return self
def given_an_scene(self):
self.scene = Scene(id='1', title='Title', description='some', latitude=1, longitude=0, experience_id=1)
return self
def given_an_scene_repo(self):
self.scene_repo = Mock()
return self
def given_an_scene_repo_that_raises_entity_does_not_exist(self):
self.scene_repo = Mock()
self.scene_repo.get_scene.side_effect = EntityDoesNotExistException()
return self
def given_that_scene_repo_returns_that_scene_on_get(self):
self.scene_repo.get_scene.return_value = self.scene
return self
def given_an_updated_scene(self):
self.updated_scene = Scene(id='2', title='T', description='s', latitude=2, longitude=8, experience_id=1)
return self
def given_that_scene_repo_returns_that_scene_on_update(self):
self.scene_repo.update_scene.return_value = self.updated_scene
return self
def given_an_scene_validator_that_accepts(self):
self.scene_validator = Mock()
self.scene_validator.validate_scene.return_value = True
return self
def given_an_scene_validator_that_raises_invalid_params(self):
self.scene_validator = Mock()
self.scene_validator.validate_scene.side_effect = InvalidEntityException(source='s', code='c', message='m')
return self
def given_an_id(self):
self.id = '6'
return self
def given_a_description(self):
self.description = 'description'
return self
def given_a_longitude(self):
self.longitude = 0
return self
def when_interactor_is_executed(self):
try:
self.result = ModifySceneInteractor(self.scene_repo, self.scene_validator, self.permissions_validator) \
.set_params(id=self.id, title=None, description=self.description, latitude=None,
longitude=self.longitude, experience_id=1,
logged_person_id=self.logged_person_id).execute()
except Exception as e:
self.error = e
return self
def then_permissions_should_be_validated(self):
self.permissions_validator.validate_permissions \
.assert_called_once_with(logged_person_id=self.logged_person_id,
has_permissions_to_modify_experience=1)
return self
def then_get_scene_should_be_called_with_id(self):
self.scene_repo.get_scene.assert_called_once_with(id=self.id)
return self
def then_scene_with_new_description_an_longitude_should_be_validated(self):
new_scene = Scene(id=self.scene.id, title=self.scene.title, description=self.description,
latitude=self.scene.latitude, longitude=self.longitude,
experience_id=self.scene.experience_id)
self.scene_validator.validate_scene.assert_called_once_with(new_scene)
return self
def then_update_scene_should_be_called_with_new_description_an_longitude(self):
new_scene = Scene(id=self.scene.id, title=self.scene.title, description=self.description,
latitude=self.scene.latitude, longitude=self.longitude,
experience_id=self.scene.experience_id)
self.scene_repo.update_scene.assert_called_once_with(new_scene)
return self
def then_result_should_be_updated_scene(self):
assert self.result == self.updated_scene
return self
def then_update_scene_should_not_be_called(self):
self.scene_repo.update_scene.assert_not_called()
return self
def then_should_raise_invalid_entity_exception(self):
assert type(self.error) is InvalidEntityException
assert self.error.source == 's'
assert self.error.code == 'c'
assert str(self.error) == 'm'
return self
def then_should_raise_entity_does_not_exist(self):
assert type(self.error) is EntityDoesNotExistException
return self
class TestUploadScenePictureInteractor:
def test_validates_permissions_and_attach_picture_to_scene(self):
TestUploadScenePictureInteractor.ScenarioMaker() \
.given_a_logged_person_id() \
.given_a_permissions_validator_that_returns_true() \
.given_an_scene() \
.given_an_scene_repo_that_returns_that_scene_on_attach() \
.given_an_scene_id() \
.given_a_picture() \
.when_interactor_is_executed() \
.then_should_validate_permissions() \
.then_should_call_repo_attach_picture_to_scene() \
.then_should_return_scene()
def test_invalid_permissions_doesnt_attach_picture(self):
TestUploadScenePictureInteractor.ScenarioMaker() \
.given_a_logged_person_id() \
.given_a_permissions_validator_that_raises_no_permissions_exception() \
.given_an_scene_repo() \
.given_an_scene_id() \
.given_a_picture() \
.when_interactor_is_executed() \
.then_should_validate_permissions() \
.then_should_not_call_repo_attach_picture_to_scene() \
.then_should_raise_no_permissions_exception()
class ScenarioMaker:
def given_a_logged_person_id(self):
self.logged_person_id = '9'
return self
def given_a_permissions_validator_that_returns_true(self):
self.permissions_validator = Mock()
self.permissions_validator.validate_permissions.return_value = True
return self
def given_a_permissions_validator_that_raises_no_permissions_exception(self):
self.permissions_validator = Mock()
self.permissions_validator.validate_permissions.side_effect = NoPermissionException
return self
def given_an_scene(self):
self.scene = Scene(id='2', title='T', description='s', latitude=2, longitude=8, experience_id=1)
return self
def given_an_scene_repo_that_returns_that_scene_on_attach(self):
self.scene_repo = Mock()
self.scene_repo.attach_picture_to_scene.return_value = self.scene
return self
def given_an_scene_repo(self):
self.scene_repo = Mock()
return self
def given_an_scene_id(self):
self.scene_id = '5'
return self
def given_a_picture(self):
self.picture = 'pic'
return self
def when_interactor_is_executed(self):
try:
interactor = UploadScenePictureInteractor(scene_repo=self.scene_repo,
permissions_validator=self.permissions_validator)
self.result = interactor.set_params(scene_id=self.scene_id, picture=self.picture,
logged_person_id=self.logged_person_id).execute()
except Exception as e:
self.error = e
return self
def then_should_validate_permissions(self):
self.permissions_validator.validate_permissions \
.assert_called_once_with(logged_person_id=self.logged_person_id,
has_permissions_to_modify_scene=self.scene_id)
return self
def then_should_call_repo_attach_picture_to_scene(self):
self.scene_repo.attach_picture_to_scene.assert_called_once_with(scene_id=self.scene_id,
picture=self.picture)
return self
def then_should_return_scene(self):
assert self.result == self.scene
return self
def then_should_not_call_repo_attach_picture_to_scene(self):
self.scene_repo.attach_picture_to_scene.assert_not_called()
return self
def then_should_raise_no_permissions_exception(self):
assert type(self.error) is NoPermissionException
return self
| 43.903846 | 120 | 0.636093 | 2,467 | 22,830 | 5.390758 | 0.050669 | 0.051132 | 0.062561 | 0.050079 | 0.891947 | 0.8736 | 0.841266 | 0.828935 | 0.791714 | 0.741935 | 0 | 0.002244 | 0.297153 | 22,830 | 519 | 121 | 43.988439 | 0.826561 | 0 | 0 | 0.700234 | 0 | 0 | 0.00311 | 0 | 0 | 0 | 0 | 0 | 0.070258 | 1 | 0.185012 | false | 0 | 0.009368 | 0 | 0.372365 | 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 |
2ece24c2b098bf97d2546aa13e633ff045598ca4 | 3,121 | py | Python | sphinx/source/doctestmodule.py | jondavid-black/pydocstrtest | c3f8266229885274229622237e7be03730306b31 | [
"MIT"
] | null | null | null | sphinx/source/doctestmodule.py | jondavid-black/pydocstrtest | c3f8266229885274229622237e7be03730306b31 | [
"MIT"
] | null | null | null | sphinx/source/doctestmodule.py | jondavid-black/pydocstrtest | c3f8266229885274229622237e7be03730306b31 | [
"MIT"
] | null | null | null | """
This is a module docstring.
This module is used to examine different documentation styles and tools.
"""
from typing import Tuple
def google_style_do_work(task_id: int, name: str) -> Tuple[bool, list]:
""" Perform work with task_id by assigning it to name.
This doesn't really do anything, but I wanted to establish a short 'first line' description and
a longer more detailed descriptions. I'm curious to see if this creates different behavior
when generating test or when pop-up hints appear in IDEs.
Args:
task_id (int): The unique ID of a task to be performed.
name (str): The name of the worker to perform the task.
Returns:
tuple: a tuple containing:
- is_successful (bool): True if the work was completed successfully. False if there was a problem.
- logs (list of str): Log entries from the worker performing the work.
Raises:
RuntimeError: if the task doesn't exist or the worker name doesn't exist.
"""
print(f"assigning task {task_id} to worker {name}.")
return True, []
def numpy_style_do_work(task_id: int, name: str) -> Tuple[bool, list]:
""" Perform work with task_id by assigning it to name.
This doesn't really do anything, but I wanted to establish a short 'first line' description and
a longer more detailed descriptions. I'm curious to see if this creates different behavior
when generating test or when pop-up hints appear in IDEs.
Parameters
----------
task_id : int
The unique ID of a task to be performed.
name : str, optional
The name of the worker to perform the task.
Returns
-------
tuple: a tuple containing:
- is_successful (bool): True if the work was completed successfully. False if there was a problem.
- logs (list of str): Log entries from the worker performing the work.
Raises
------
RuntimeError
If the task doesn't exist or the worker name doesn't exist.
"""
print(f"assigning task {task_id} to worker {name}.")
return True, []
def rst_style_do_work(task_id: int, name: str) -> Tuple[bool, list]:
""" Perform work with task_id by assigning it to name.
This doesn't really do anything, but I wanted to establish a short 'first line' description and
a longer more detailed descriptions. I'm curious to see if this creates different behavior
when generating test or when pop-up hints appear in IDEs.
:param task_id: The unique ID of a task to be performed.
:type task_id: int
:param name: The name of the worker to perform the task.
:type name: str
:returns: tuple (is_successful, log)
WHERE
bool is_successful is True if the work was completed successfully. False if there was a problem.
list log is the log entries from the worker performing the work.
"""
print(f"assigning task {task_id} to worker {name}.")
return True, []
google_style_do_work(3, "Bob")
numpy_style_do_work(712, "Chuck")
rst_style_do_work(432451, "worker-rgn4-cl823-n2354")
| 34.296703 | 111 | 0.677988 | 482 | 3,121 | 4.317427 | 0.224066 | 0.037482 | 0.031716 | 0.021624 | 0.8395 | 0.8395 | 0.8395 | 0.8395 | 0.820279 | 0.789044 | 0 | 0.007673 | 0.248318 | 3,121 | 90 | 112 | 34.677778 | 0.879369 | 0.732778 | 0 | 0.461538 | 0 | 0 | 0.25 | 0.036624 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.538462 | 0.230769 | 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 |
2c0e00cb4fec1650945ac93edfe0501e3bb209a0 | 3,312 | py | Python | FAIRshakeHub/tests.py | Nitrogen-DCPPC/FAIRshake | af83c1cb82bdd41e6214d23ab6587d5a4c185b11 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:02:03.000Z | 2019-04-15T14:02:03.000Z | FAIRshakeHub/tests.py | Nitrogen-DCPPC/FAIRshake | af83c1cb82bdd41e6214d23ab6587d5a4c185b11 | [
"Apache-2.0"
] | 109 | 2018-05-21T19:45:19.000Z | 2019-04-19T12:09:06.000Z | FAIRshakeHub/tests.py | Nitrogen-DCPPC/FAIRshake | af83c1cb82bdd41e6214d23ab6587d5a4c185b11 | [
"Apache-2.0"
] | 3 | 2018-08-06T22:09:33.000Z | 2018-12-09T18:52:46.000Z | from django.test import TestCase, Client
from django.urls import reverse
from FAIRshakeAPI import tests, models
class ViewsFunctionTestCase(TestCase):
setUp = tests.setUp
def test_index_view(self):
response = self.anonymous_client.get(reverse('index'))
self.assertEqual(response.status_code, 200)
response = self.authenticated_client.get(reverse('index'))
self.assertEqual(response.status_code, 200)
def test_search_view(self):
response = self.anonymous_client.get(reverse('index'), dict(q='test'))
self.assertEqual(response.status_code, 200)
response = self.authenticated_client.get(reverse('index'), dict(q='test'))
self.assertEqual(response.status_code, 200)
def test_bookmarklet_view(self):
response = self.anonymous_client.get(reverse('bookmarklet'))
self.assertEqual(response.status_code, 200)
response = self.authenticated_client.get(reverse('bookmarklet'))
self.assertEqual(response.status_code, 200)
def test_chrome_extension_view(self):
response = self.anonymous_client.get(reverse('chrome_extension'))
self.assertEqual(response.status_code, 200)
response = self.authenticated_client.get(reverse('chrome_extension'))
self.assertEqual(response.status_code, 200)
def test_documentation_view(self):
response = self.anonymous_client.get(reverse('documentation'))
self.assertEqual(response.status_code, 200)
response = self.authenticated_client.get(reverse('documentation'))
self.assertEqual(response.status_code, 200)
def test_jsonschema_documentation_view(self):
response = self.anonymous_client.get(reverse('jsonschema_documentation'))
self.assertEqual(response.status_code, 200)
response = self.authenticated_client.get(reverse('jsonschema_documentation'))
self.assertEqual(response.status_code, 200)
def test_terms_of_service_view(self):
response = self.anonymous_client.get(reverse('terms_of_service'))
self.assertEqual(response.status_code, 200)
response = self.authenticated_client.get(reverse('terms_of_service'))
self.assertEqual(response.status_code, 200)
def test_contributors_and_partners_view(self):
response = self.anonymous_client.get(reverse('contributors_and_partners'))
self.assertEqual(response.status_code, 200)
response = self.authenticated_client.get(reverse('contributors_and_partners'))
self.assertEqual(response.status_code, 200)
def test_project_stats_view(self):
item = models.Project.objects.first()
for plot in [
'TablePlot',
'RubricPieChart',
'RubricsInProjectsOverlay',
'DigitalObjectBarBreakdown',
'RubricsByMetricsBreakdown',
]:
response = self.anonymous_client.get(reverse('stats'), {
'model': 'project',
'item': item.id,
'plot': plot,
})
self.assertEqual(response.status_code, 200)
def test_project_stats_view_no_project_id(self):
item = models.Project.objects.first()
for plot in [
'TablePlot',
'RubricPieChart',
'RubricsInProjectsOverlay',
'DigitalObjectBarBreakdown',
'RubricsByMetricsBreakdown',
]:
response = self.anonymous_client.get(reverse('stats'), {
'model': 'project',
'plot': plot,
})
self.assertEqual(response.status_code, 200)
| 34.863158 | 82 | 0.733394 | 372 | 3,312 | 6.317204 | 0.150538 | 0.091915 | 0.122553 | 0.222128 | 0.891489 | 0.891489 | 0.891489 | 0.891489 | 0.805106 | 0.738723 | 0 | 0.01921 | 0.151268 | 3,312 | 94 | 83 | 35.234043 | 0.816791 | 0 | 0 | 0.567568 | 0 | 0 | 0.144367 | 0.074298 | 0 | 0 | 0 | 0 | 0.243243 | 1 | 0.135135 | false | 0 | 0.040541 | 0 | 0.202703 | 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 |
2c2c832b7e160c04873c721959d09980ac69b0ba | 113 | py | Python | onadata/apps/data_migration/models/__init__.py | qedsoftware/kobocat | 273e06a352350d69a8fb4624bcab74d601e35ba6 | [
"BSD-2-Clause"
] | 1 | 2019-12-05T14:29:23.000Z | 2019-12-05T14:29:23.000Z | onadata/apps/data_migration/models/__init__.py | qedsoftware/kobocat | 273e06a352350d69a8fb4624bcab74d601e35ba6 | [
"BSD-2-Clause"
] | 4 | 2018-01-20T12:06:00.000Z | 2020-01-21T23:13:37.000Z | onadata/apps/data_migration/models/__init__.py | qedsoftware/kobocat | 273e06a352350d69a8fb4624bcab74d601e35ba6 | [
"BSD-2-Clause"
] | null | null | null | from onadata.apps.data_migration.models.backup import *
from onadata.apps.data_migration.models.version import *
| 37.666667 | 56 | 0.840708 | 16 | 113 | 5.8125 | 0.5625 | 0.236559 | 0.322581 | 0.408602 | 0.731183 | 0.731183 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 113 | 2 | 57 | 56.5 | 0.885714 | 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 | 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 |
25a3a9263ba32fc71211da876925526317567215 | 11,431 | py | Python | tests/test_stream_xep_0313.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 86 | 2016-07-04T13:26:02.000Z | 2022-02-19T10:26:21.000Z | tests/test_stream_xep_0313.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 10 | 2016-09-30T18:55:41.000Z | 2020-05-01T14:22:47.000Z | tests/test_stream_xep_0313.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 45 | 2016-09-30T18:48:41.000Z | 2022-03-18T21:39:33.000Z | import unittest
from datetime import datetime
from slixmpp.test import SlixTest
from slixmpp import JID
class TestMAM(SlixTest):
def setUp(self):
self.stream_start(plugins=['xep_0313'])
def tearDown(self):
self.stream_close()
def testRetrieveSimple(self):
"""Test requesting MAM messages without RSM"""
msgs = []
async def test():
iq = await self.xmpp['xep_0313'].retrieve()
for message in iq['mam']['results']:
msgs.append(message)
fut = self.xmpp.wrap(test())
self.wait_()
self.send("""
<iq type='set' id='1'>
<query xmlns='urn:xmpp:mam:2' queryid='1' />
</iq>
""")
self.recv("""
<message id='abc' to='tester@localhost/resource'>
<result xmlns='urn:xmpp:mam:2' queryid='1'
id='28482-98726-73623'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/>
<message xmlns='jabber:client' from="witch@shakespeare.lit"
to="tester@localhost">
<body>Hail to thee</body>
</message>
</forwarded>
</result>
</message>
""")
self.recv("""
<iq type="result" id="1" to="tester@localhost">
<fin xmlns="urn:xmpp:mam:2">
<first index='0'>28482-98726-73623</first>
<last>28482-98726-73623</last>
</fin>
</iq>
""")
self.run_coro(fut)
self.assertEqual(
msgs[0]['mam_result']['forwarded']['message']['body'],
"Hail to thee",
)
self.assertEqual(len(msgs),1)
def testRetrieveRSM(self):
"""Test requesting MAM messages with RSM"""
msgs = []
async def test():
iterator = self.xmpp['xep_0313'].retrieve(
with_jid=JID('toto@titi'),
start='2010-06-07T00:00:00Z',
iterator=True,
)
async for page in iterator:
for message in page['mam']['results']:
msgs.append(message)
fut = self.xmpp.wrap(test())
self.wait_()
self.send("""
<iq type='set' id='2'>
<query xmlns='urn:xmpp:mam:2' queryid='2'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:mam:2</value>
</field>
<field var='with'>
<value>toto@titi</value>
</field>
<field var='start'>
<value>2010-06-07T00:00:00Z</value>
</field>
</x>
<set xmlns="http://jabber.org/protocol/rsm">
<max>10</max>
</set>
</query>
</iq>
""")
self.recv("""
<message id='abc' to='tester@localhost/resource'>
<result xmlns='urn:xmpp:mam:2' queryid='2'
id='28482-98726-73623'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/>
<message xmlns='jabber:client' from="witch@shakespeare.lit"
to="tester@localhost">
<body>Hail to thee</body>
</message>
</forwarded>
</result>
</message>
""")
self.recv("""
<iq type="result" id="2" to="tester@localhost">
<fin xmlns="urn:xmpp:mam:2">
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>28482-98726-73623</first>
<last>28482-98726-73623</last>
<count>2</count>
</set>
</fin>
</iq>
""")
self.send("""
<iq type='set' id='3'>
<query xmlns='urn:xmpp:mam:2' queryid='3'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:mam:2</value>
</field>
<field var='with'>
<value>toto@titi</value>
</field>
<field var='start'>
<value>2010-06-07T00:00:00Z</value>
</field>
</x>
<set xmlns="http://jabber.org/protocol/rsm">
<max>10</max>
<after>28482-98726-73623</after>
</set>
</query>
</iq>
""")
self.recv("""
<message id='abc' to='tester@localhost/resource'>
<result xmlns='urn:xmpp:mam:2' queryid='3'
id='28482-98726-73624'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:26Z'/>
<message xmlns='jabber:client' from="witch@shakespeare.lit"
to="tester@localhost">
<body>Hi Y'all</body>
</message>
</forwarded>
</result>
</message>
""")
self.recv("""
<iq type="result" id="3" to="tester@localhost">
<fin xmlns="urn:xmpp:mam:2">
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='1'>28482-98726-73624</first>
<last>28482-98726-73624</last>
<count>2</count>
</set>
</fin>
</iq>
""")
self.run_coro(fut)
self.assertEqual(
msgs[0]['mam_result']['forwarded']['message']['body'],
"Hail to thee",
)
self.assertEqual(
msgs[1]['mam_result']['forwarded']['message']['body'],
"Hi Y'all",
)
self.assertEqual(len(msgs), 2)
def testIterate(self):
"""Test iterating over MAM messages with RSM"""
msgs = []
async def test():
iterator = self.xmpp['xep_0313'].iterate(
with_jid=JID('toto@titi'),
start='2010-06-07T00:00:00Z',
)
async for message in iterator:
msgs.append(message)
fut = self.xmpp.wrap(test())
self.wait_()
self.send("""
<iq type='set' id='2'>
<query xmlns='urn:xmpp:mam:2' queryid='2'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:mam:2</value>
</field>
<field var='with'>
<value>toto@titi</value>
</field>
<field var='start'>
<value>2010-06-07T00:00:00Z</value>
</field>
</x>
<set xmlns="http://jabber.org/protocol/rsm">
<max>10</max>
</set>
</query>
</iq>
""")
self.recv("""
<message id='abc' to='tester@localhost/resource'>
<result xmlns='urn:xmpp:mam:2' queryid='2'
id='28482-98726-73623'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/>
<message xmlns='jabber:client' from="witch@shakespeare.lit"
to="tester@localhost">
<body>Hail to thee</body>
</message>
</forwarded>
</result>
</message>
""")
self.recv("""
<iq type="result" id="2" to="tester@localhost">
<fin xmlns="urn:xmpp:mam:2">
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>28482-98726-73623</first>
<last>28482-98726-73623</last>
<count>2</count>
</set>
</fin>
</iq>
""")
self.send("""
<iq type='set' id='3'>
<query xmlns='urn:xmpp:mam:2' queryid='3'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:mam:2</value>
</field>
<field var='with'>
<value>toto@titi</value>
</field>
<field var='start'>
<value>2010-06-07T00:00:00Z</value>
</field>
</x>
<set xmlns="http://jabber.org/protocol/rsm">
<max>10</max>
<after>28482-98726-73623</after>
</set>
</query>
</iq>
""")
self.recv("""
<message id='abc' to='tester@localhost/resource'>
<result xmlns='urn:xmpp:mam:2' queryid='3'
id='28482-98726-73624'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:26Z'/>
<message xmlns='jabber:client' from="witch@shakespeare.lit"
to="tester@localhost">
<body>Hi Y'all</body>
</message>
</forwarded>
</result>
</message>
""")
self.recv("""
<iq type="result" id="3" to="tester@localhost">
<fin xmlns="urn:xmpp:mam:2">
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='1'>28482-98726-73624</first>
<last>28482-98726-73624</last>
<count>2</count>
</set>
</fin>
</iq>
""")
self.run_coro(fut)
self.assertEqual(
msgs[0]['mam_result']['forwarded']['message']['body'],
"Hail to thee",
)
self.assertEqual(
msgs[1]['mam_result']['forwarded']['message']['body'],
"Hi Y'all",
)
self.assertEqual(len(msgs), 2)
def test_get_metadata(self):
"""Test a MAM metadata retrieval"""
fut = self.xmpp.wrap(
self.xmpp.plugin['xep_0313'].get_archive_metadata()
)
self.wait_()
self.send("""
<iq type='get' id='1'>
<metadata xmlns='urn:xmpp:mam:2'/>
</iq>
""")
self.recv("""
<iq type='result' id='1'>
<metadata xmlns='urn:xmpp:mam:2'>
<start id='YWxwaGEg' timestamp='2008-08-22T21:09:04Z' />
<end id='b21lZ2Eg' timestamp='2020-04-20T14:34:21Z' />
</metadata>
</iq>
""")
self.run_coro(fut)
result = fut.result()
self.assertEqual(result['mam_metadata']['start']['id'], "YWxwaGEg")
self.assertEqual(
result['mam_metadata']['start']['timestamp'],
datetime.fromisoformat('2008-08-22T21:09:04+00:00')
)
suite = unittest.TestLoader().loadTestsFromTestCase(TestMAM)
| 33.521994 | 78 | 0.438457 | 1,144 | 11,431 | 4.353147 | 0.126748 | 0.043574 | 0.06506 | 0.046386 | 0.862651 | 0.83996 | 0.820683 | 0.810442 | 0.799598 | 0.792369 | 0 | 0.080804 | 0.403464 | 11,431 | 340 | 79 | 33.620588 | 0.649509 | 0.013122 | 0 | 0.837748 | 0 | 0.016556 | 0.749556 | 0.215453 | 0 | 0 | 0 | 0 | 0.033113 | 1 | 0.019868 | false | 0 | 0.013245 | 0 | 0.036424 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
25c7f7918d6b3fad012e81500fc9f003551d9dab | 121 | py | Python | py/projects/qaviton_tests/tests/utils/drivers.py | qaviton/test_repository | e9bf1bb12a138c6d92329ca4784f40767cb2ace9 | [
"Apache-2.0"
] | 7 | 2018-11-20T15:44:27.000Z | 2021-01-01T11:08:49.000Z | py/projects/qaviton_tests/tests/utils/drivers.py | Yativg/test_repository | 7e5c018034d7bdf6a657325ef4fc34c13fdec2a7 | [
"Apache-2.0"
] | 114 | 2018-11-17T20:55:24.000Z | 2022-03-11T23:34:09.000Z | py/projects/qaviton_tests/tests/utils/drivers.py | Yativg/test_repository | 7e5c018034d7bdf6a657325ef4fc34c13fdec2a7 | [
"Apache-2.0"
] | 4 | 2018-11-20T15:56:11.000Z | 2019-03-05T19:18:33.000Z | from appium import webdriver
def get(driver_url, desired_caps):
return webdriver.Remote(driver_url, desired_caps)
| 17.285714 | 53 | 0.793388 | 17 | 121 | 5.411765 | 0.705882 | 0.195652 | 0.347826 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140496 | 121 | 6 | 54 | 20.166667 | 0.884615 | 0 | 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 | 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 | 0 | 0 | 0 | 7 |
d357ce130c3c95ba7ce626af3fed81266447fbf6 | 5,345 | py | Python | elasticsearch_ltr/ltr.py | rpyleonard/elasticsearch-ltr-py | 344300279e7a4a7c1741a6c8077efb39611eff71 | [
"MIT"
] | 8 | 2020-03-13T14:05:57.000Z | 2021-07-25T14:04:30.000Z | elasticsearch_ltr/ltr.py | rpyleonard/elasticsearch-ltr-py | 344300279e7a4a7c1741a6c8077efb39611eff71 | [
"MIT"
] | 2 | 2020-03-16T20:16:06.000Z | 2020-03-31T09:59:35.000Z | elasticsearch_ltr/ltr.py | rpyleonard/elasticsearch-ltr-py | 344300279e7a4a7c1741a6c8077efb39611eff71 | [
"MIT"
] | 2 | 2020-03-31T08:40:12.000Z | 2020-07-08T19:44:31.000Z | from typing import Optional, Any
from elasticsearch.client.utils import AddonClient, query_params, _make_path
class LTRClient(AddonClient):
"""
Add-on for Learning to Rank plugin API.
`<https://elasticsearch-learning-to-rank.readthedocs.io/>`_
"""
namespace = "ltr"
@query_params()
def create_feature_store(self, name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request("PUT", _make_path("_ltr", name), params=params, headers=headers)
@query_params()
def delete_feature_store(self, name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request("DELETE", _make_path("_ltr", name), params=params, headers=headers)
@query_params()
def list_feature_stores(self, params=None, headers=None):
return self.transport.perform_request("GET", _make_path("_ltr"), params=params, headers=headers)
@query_params()
def create_feature_set(self, name: str, body: Any, store_name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request(
"POST", _make_path("_ltr", store_name, "_featureset", name), body=body, params=params, headers=headers)
@query_params()
def delete_feature_set(self, name: str, store_name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request(
"DELETE", _make_path("_ltr", store_name, "_featureset", name), params=params, headers=headers)
@query_params()
def get_feature_set(self, name: str, store_name: Optional[str] = None, params=None, headers=None):
return self.transport.perform_request(
"GET", _make_path("_ltr", store_name, "_featureset", name), params=params, headers=headers)
@query_params("prefix")
def list_feature_sets(self, store_name: Optional[str] = None, params=None, headers=None):
return self.transport.perform_request(
"GET", _make_path("_ltr", store_name, "_featureset"), params=params, headers=headers)
@query_params()
def add_features_to_feature_set(self, name: str, body: Any, store_name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request(
"POST", _make_path("_ltr", store_name, "_featureset", name, "_addfeatures"), body=body, params=params, headers=headers)
@query_params()
def add_feature_to_feature_set(self, name: str, feature_name: str, store_name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request(
"POST", _make_path("_ltr", store_name, "_featureset", name, "_addfeatures", feature_name), params=params, headers=headers)
@query_params()
def create_model(self, name: str, body: Any, feature_set_name: str, store_name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request(
"POST", _make_path("_ltr", store_name, "_featureset", feature_set_name, "_createmodel"), body=body, params=params, headers=headers)
@query_params()
def delete_model(self, name: str, store_name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request(
"DELETE", _make_path("_ltr", store_name, "_model", name), params=params, headers=headers)
@query_params()
def get_model(self, name: str, store_name: Optional[str] = None, params=None, headers=None):
return self.transport.perform_request(
"GET", _make_path("_ltr", store_name, "_model", name), params=params, headers=headers)
@query_params("prefix")
def list_models(self, store_name: Optional[str] = None, params=None, headers=None):
return self.transport.perform_request(
"GET", _make_path("_ltr", store_name, "_model"), params=params, headers=headers)
@query_params()
def create_feature(self, name: str, body: Any, store_name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request(
"POST", _make_path("_ltr", store_name, "_feature", name), body=body, params=params, headers=headers)
@query_params()
def delete_feature(self, name: str, store_name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request(
"DELETE", _make_path("_ltr", store_name, "_feature", name), params=params, headers=headers)
@query_params()
def get_feature(self, name: str, store_name: Optional[str] = None, params=None, headers=None):
return self.transport.perform_request(
"GET", _make_path("_ltr", store_name, "_feature", name), params=params, headers=headers)
@query_params("prefix")
def list_features(self, store_name: Optional[str] = None, params=None, headers=None):
return self.transport.perform_request("GET", _make_path("_ltr", store_name, "_feature"), params=params, headers=headers)
@query_params()
def clear_cache(self, store_name: Optional[str] = None, params=None, headers=None):
self.transport.perform_request("POST", _make_path("_ltr", store_name, "_clearcache"), params=params, headers=headers)
@query_params()
def get_cache_stats(self, store_name: Optional[str] = None, params=None, headers=None):
return self.transport.perform_request("GET", _make_path("_ltr", store_name, "_cachestats"), params=params, headers=headers)
| 52.401961 | 143 | 0.69841 | 679 | 5,345 | 5.21944 | 0.091311 | 0.081264 | 0.09114 | 0.112585 | 0.892494 | 0.881772 | 0.874718 | 0.861456 | 0.83465 | 0.775395 | 0 | 0 | 0.16464 | 5,345 | 101 | 144 | 52.920792 | 0.793729 | 0.018522 | 0 | 0.432432 | 0 | 0 | 0.068312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.256757 | false | 0 | 0.027027 | 0.108108 | 0.418919 | 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 | 1 | 0 | 0 | 0 | 8 |
6c96641fc4346d1c3543098cedf9a1c5ff818523 | 12,474 | py | Python | src/textfilters.py | martinpflaum/latex_to_html | 65096594cb0891e56954627dc0abeb09bae6d2b1 | [
"MIT"
] | 6 | 2021-11-13T15:10:15.000Z | 2022-01-21T14:08:26.000Z | src/textfilters.py | martinpflaum/latex_to_html | 65096594cb0891e56954627dc0abeb09bae6d2b1 | [
"MIT"
] | 9 | 2021-07-11T13:18:13.000Z | 2021-09-21T22:02:11.000Z | src/textfilters.py | martinpflaum/latex_to_html | 65096594cb0891e56954627dc0abeb09bae6d2b1 | [
"MIT"
] | 1 | 2021-11-13T15:22:47.000Z | 2021-11-13T15:22:47.000Z | from core import *
class Para(SectionEnumerate):
def __init__(self,modifiable_content,section_number,parent):
super().__init__(modifiable_content,parent,"para","section")
self.section_number = section_number
def label_name(self):
return self.get_section_enum()[:-1]
def to_string(self):
"""
first children ist name of Section
"""
out = "<br><br><strong>"+ self.get_section_enum()[:-1]+"</strong>"
return out
@staticmethod
def position(input):
return position_of(input,"\\para")
@staticmethod
def split_and_create(input,parent):
pre,post = split_on_next(input,"\\para")
section_number = parent.search_class(SectionEnumerate).generate_child_section_number()
return pre,Para("",section_number,parent),post
class Chapter(SectionEnumerate):
def __init__(self,modifiable_content,section_name,section_number,parent):
super().__init__(modifiable_content,parent,"chapter","document")
self.children = [Undefined(section_name,self)]
self.section_number = section_number
@staticmethod
def position(input):
return position_of(input,"\\chapter")
@staticmethod
def split_and_create(input,parent):
pre,content = split_on_next(input,"\\chapter")
section_number = parent.search_class(SectionEnumerate).generate_child_section_number()
name,content = split_on_first_brace(content,error_replacement="chapter_error")
if "\\chapter" in content:
content,post = split_on_next(content,"\\chapter")
post = "\\chapter" + post
else:
post = ""
return pre,Chapter(content,name,section_number,parent),post
def to_string(self):
"""
first children ist name of Section
"""
out = "</p><h1 style='font-size:50px;line-height: 80%;'>" + str(self.section_number) + " "+ self.children[0].to_string() + "</h1><p>"
for child in self.children[1:]:
out += child.to_string()
#print("out ",out)
return out
class ChapterStar(Element):
prio_elem =True
def __init__(self,modifiable_content,section_name,parent):
super().__init__(modifiable_content,parent)
self.children = [Undefined(section_name,self)]
@staticmethod
def position(input):
return position_of(input,"\\chapter*")
@staticmethod
def split_and_create(input,parent):
pre,content = split_on_next(input,"\\chapter*")
name,content = split_on_first_brace(content)
if "\\chapter" in content:
content,post = split_on_next(content,"\\chapter")
post = "\\chapter" + post
else:
post = ""
return pre,ChapterStar(content,name,parent),post
def to_string(self):
"""
first children ist name of Section
"""
out = "</p><h1 style='font-size:50px;line-height: 80%;'>" + self.children[0].to_string() + "</h1><p>"
for child in self.children[1:]:
out += child.to_string()
#print("out ",out)
return out
class SectionStar(Element):
prio_elem =True
def __init__(self,modifiable_content,section_name,parent):
super().__init__(modifiable_content,parent)
self.children = [Undefined(section_name,self)]
@staticmethod
def position(input):
return position_of(input,"\\section*")
@staticmethod
def split_and_create(input,parent):
pre,content = split_on_next(input,"\\section*")
name,content = split_on_first_brace(content)
if "\\section" in content:
content,post = split_on_next(content,"\\section")
post = "\\section" + post
else:
post = ""
return pre,SectionStar(content,name,parent),post
def to_string(self):
"""
first children ist name of Section
"""
out = "</p><h1>" + self.children[0].to_string() + "</h1><p>"
for child in self.children[1:]:
out += child.to_string()
#print("out ",out)
return out
class Subsection(SectionEnumerate):
def __init__(self,modifiable_content,section_name,section_number,parent):
super().__init__(modifiable_content,parent,"subsection",["section"])
self.children = [Undefined(section_name,self)]
self.section_number = section_number
@staticmethod
def position(input):
return position_of(input,"\\subsection")
@staticmethod
def split_and_create(input,parent):
pre,content = split_on_next(input,"\\subsection")
section_number = parent.search_class(SectionEnumerate).generate_child_section_number()
name,content = split_on_first_brace(content)
if "\\subsection" in content:
content,post = split_on_next(content,"\\subsection")
post = "\\subsection" + post
else:
post = ""
return pre,Section(content,name,section_number,parent),post
def to_string(self):
"""
first children ist name of Section
"""
out = "</p><h2>" + self.get_section_enum()[:-1] + " "+ self.children[0].to_string() + "</h2><p>"
for child in self.children[1:]:
out += child.to_string()
#print("out ",out)
return out
class Section(SectionEnumerate):
def __init__(self,modifiable_content,section_name,section_number,parent):
super().__init__(modifiable_content,parent,"section",["chapter","document"])
self.children = [Undefined(section_name,self)]
self.section_number = section_number
@staticmethod
def position(input):
return position_of(input,"\\section")
@staticmethod
def split_and_create(input,parent):
pre,content = split_on_next(input,"\\section")
section_number = parent.search_class(SectionEnumerate).generate_child_section_number()
name,content = split_on_first_brace(content)
if "\\section" in content:
content,post = split_on_next(content,"\\section")
post = "\\section" + post
else:
post = ""
return pre,Section(content,name,section_number,parent),post
def to_string(self):
"""
first children ist name of Section
"""
out = "</p><h1>" + self.get_section_enum()[:-1] + " "+ self.children[0].to_string() + "</h1><p>"
for child in self.children[1:]:
out += child.to_string()
#print("out ",out)
return out
class SubsectionStar(Element):
prio_elem = True
def __init__(self,modifiable_content,parent):
super().__init__(modifiable_content,parent)
@staticmethod
def position(input):
return position_of(input,"\\subsection*")
@staticmethod
def split_and_create(input,parent):
pre,post = split_on_next(input,"\\subsection*")
name,post = split_on_first_brace(post)
return pre,SubsectionStar(name,parent),post
def to_string(self):
out = "</p><h2>"
for child in self.children:
out += child.to_string()
out += "</h2><p>"
return out
class Label(Element):
def __init__(self, modifiable_content, parent,label_ref):
super().__init__(modifiable_content, parent)
if not hasattr(self.search_class(Document).globals,"labels"):
self.search_class(Document).globals.labels = {}
holder = self.search_attribute_holder("label_name")
label_name = "label_error"
if not holder is None:
label_name = holder.label_name()
self.search_class(Document).globals.labels[label_ref] = label_name
@staticmethod
def position(input):
return position_of(input,"\\label")
@staticmethod
def split_and_create(input,parent):
pre,post = split_on_next(input,"\\label")
label_ref,post = split_on_first_brace(post)
return pre,Label("",parent,label_ref),post
def to_string(self):
return ""
class Ref(Element):
def __init__(self, modifiable_content, parent,label_ref):
super().__init__(modifiable_content, parent)
try:
self.label_name = self.search_class(Document).globals.labels[label_ref]
except Exception:
self.label_name = "ref_error"
@staticmethod
def position(input):
return position_of(input,"\\ref")
@staticmethod
def split_and_create(input,parent):
pre,post = split_on_next(input,"\\ref")
label_ref,post = split_on_first_brace(post)
return pre,Ref("",parent,label_ref),post
def to_string(self):
return self.label_name
class EqRef(Element):
def __init__(self, modifiable_content, parent,label_ref):
super().__init__(modifiable_content, parent)
try:
self.label_name = self.search_class(Document).globals.labels[label_ref]
except Exception:
self.label_name = "ref_error"
@staticmethod
def position(input):
return position_of(input,"\\eqref")
@staticmethod
def split_and_create(input,parent):
pre,post = split_on_next(input,"\\eqref")
label_ref,post = split_on_first_brace(post)
return pre,Ref("",parent,label_ref),post
def to_string(self):
return self.label_name
class Proof(Element):
def __init__(self,modifiable_content,parent):
self.name = "Proof"
if not split_rename(modifiable_content) is None:
self.name,modifiable_content = split_rename(modifiable_content)
self.name += "."
super().__init__(modifiable_content,parent)
@staticmethod
def position(input):
if "\\begin{proof}" in input:
return position_of(input,"\\begin{proof}")
else:
return -1
@staticmethod
def split_and_create(input,parent):
pre,content,post = begin_end_split(input,"\\begin{proof}","\\end{proof}")
return pre,Proof(content,parent),post
def to_string(self):
out = f"<br><i>{self.name}</i>"
for child in self.children:
#print(type(child))
out += child.to_string()
return out
class Textbf(Element):
def __init__(self,modifiable_content,parent):
super().__init__(modifiable_content,parent)
@staticmethod
def position(input):
return position_of(input,"\\textbf")
@staticmethod
def split_and_create(input,parent):
pre,post = split_on_next(input,"\\textbf")
name,post = split_on_first_brace(post)
return pre,Textbf(name,parent),post
def to_string(self):
out = "<strong>"
for child in self.children:
out += child.to_string()
out += "</strong>"
return out
class Cite(Element):
def __init__(self,modifiable_content,parent,citations):
super().__init__(modifiable_content,parent)
self.citations = citations
@staticmethod
def position(input):
return position_of(input,"\\cite")
@staticmethod
def split_and_create(input,parent):
pre,post = split_on_next(input,"\\cite")
name,post = split_on_first_brace(post)
tmp = ""
for elem in name.split(" "):
tmp += elem
citations = tmp.split(",")
return pre,Cite("",parent,citations),post
def to_string(self):
out = ""
for elem in self.citations:
out += "<dt-cite key=\"" + elem +"\"></dt-cite>"
return out
class Emph(Element):
def __init__(self,modifiable_content,parent):
super().__init__(modifiable_content,parent)
@staticmethod
def position(input):
return position_of(input,"\\emph")
@staticmethod
def split_and_create(input,parent):
pre,post = split_on_next(input,"\\emph")
name,post = split_on_first_brace(post)
return pre,Emph(name,parent),post
def to_string(self):
out = "<i>"
for child in self.children:
out += child.to_string()
out += "</i>"
return out
def get_all_textfilters():
return [SectionStar,Chapter,Section,ChapterStar,Para,SubsectionStar,Proof,Emph,Textbf]
| 31.579747 | 142 | 0.615761 | 1,429 | 12,474 | 5.105668 | 0.072078 | 0.072231 | 0.069353 | 0.040296 | 0.844435 | 0.82881 | 0.807703 | 0.782621 | 0.732319 | 0.693668 | 0 | 0.003792 | 0.260061 | 12,474 | 394 | 143 | 31.659898 | 0.786674 | 0.025092 | 0 | 0.644599 | 0 | 0 | 0.069152 | 0.007489 | 0 | 0 | 0 | 0 | 0 | 1 | 0.202091 | false | 0 | 0.003484 | 0.062718 | 0.421603 | 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 | 0 | 0 | 0 | 7 |
6c9c04126ec999392eabba6c79a450fa6839578f | 6,956 | py | Python | classes/user_agents.py | eklipse2009/ZX-Pokemaster | 113bf2e242347b475cca9eadbae4f1b67f498466 | [
"MIT"
] | 8 | 2018-11-18T00:37:25.000Z | 2020-12-06T13:17:53.000Z | classes/user_agents.py | eklipse2009/ZX-Pokemaster | 113bf2e242347b475cca9eadbae4f1b67f498466 | [
"MIT"
] | 8 | 2017-08-21T10:07:58.000Z | 2020-03-29T18:23:37.000Z | classes/user_agents.py | eklipse2009/ZX-Pokemaster | 113bf2e242347b475cca9eadbae4f1b67f498466 | [
"MIT"
] | 1 | 2021-03-04T17:43:36.000Z | 2021-03-04T17:43:36.000Z | USER_AGENTS = [
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14',
'Mozilla/5.0 (Windows NT 6.1; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0',
'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; Trident/5.0)',
'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0; Trident/5.0)',
'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (iPad; CPU OS 10_2 like Mac OS X) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0 Mobile/14C92 Safari/602.1',
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/55.0.2883.87 Chrome/55.0.2883.87 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 OPR/42.0.2393.94',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12',
'Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36',
'Mozilla/5.0 (Windows NT 5.1; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (iPhone; CPU iPhone OS 10_2 like Mac OS X) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0 Mobile/14C92 Safari/602.1',
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14',
'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko',
'Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36',
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36',
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36',
'Mozilla/5.0 (iPhone; CPU iPhone OS 10_2 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/55.0.2883.79 Mobile/14C92 Safari/602.1',
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 OPR/42.0.2393.94',
'Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:50.0) Gecko/20100101 Firefox/50.0',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.17',
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36'
] | 103.820896 | 144 | 0.715785 | 1,409 | 6,956 | 3.496806 | 0.063165 | 0.028009 | 0.118734 | 0.127867 | 0.949665 | 0.949665 | 0.934037 | 0.922062 | 0.91577 | 0.901969 | 0 | 0.245827 | 0.112852 | 6,956 | 67 | 145 | 103.820896 | 0.552585 | 0 | 0 | 0 | 0 | 0.970149 | 0.950841 | 0.006181 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
6cce33a5043b2429e9281ae16dfd19a9cd1183de | 2,057 | py | Python | src/pythonFEA/tests/unit/structure/test_node.py | honzatomek/pythonFEA | c851c20800a06cc2084ef53dfd2ab67e7dfbc3b7 | [
"MIT"
] | null | null | null | src/pythonFEA/tests/unit/structure/test_node.py | honzatomek/pythonFEA | c851c20800a06cc2084ef53dfd2ab67e7dfbc3b7 | [
"MIT"
] | null | null | null | src/pythonFEA/tests/unit/structure/test_node.py | honzatomek/pythonFEA | c851c20800a06cc2084ef53dfd2ab67e7dfbc3b7 | [
"MIT"
] | null | null | null | from templates.errors import *
from structure.node import *
from templates import logs
import defaults
import pytest
import numpy as np
logger = logging.getLogger()
logger.disabled = True
logging.disable(logging.FATAL)
class TestNode2D:
def test_init(self):
id = 1
x = 0.0
y = 1.0
label = 'test ' + str(id)
n = Node2D(id, [x, y], label)
assert n.id == id
assert n.x == x
assert n.y == y
assert n.label == label
def test_init2(self):
id = 0
x = 0.0
y = 1.0
label = 'test ' + str(id)
with pytest.raises(NotValidID):
n = Node2D(id, [x, y], label)
def test_coors(self):
id = 1
x = 1.0
y = 2.0
coors = np.asarray([x, y], dtype=defaults.DEFAULT_FLOAT)
label = 'test ' + str(id)
n = Node2D(id, [x, y], label)
assert n.coors.any() == coors.any()
def test_coors2(self):
id = 1
x = 1.0
y = 2.0
coors = np.asarray([x + 1.0, y + 2.0], dtype=defaults.DEFAULT_FLOAT)
label = 'test ' + str(id)
n = Node2D(id, [x, y], label)
n.coors = coors
assert n.coors.any() == coors.any()
class TestNode:
def test_init(self):
id = 1
x = 0.0
y = 1.0
z = 2.0
label = 'test ' + str(id)
n = Node(id, [x, y, z], label)
assert n.id == id
assert n.x == x
assert n.y == y
assert n.z == z
assert n.label == label
def test_init2(self):
id = 0
x = 0.0
y = 1.0
z = 2.0
label = 'test ' + str(id)
with pytest.raises(NotValidID):
n = Node(id, [x, y, z], label)
def test_coors(self):
id = 1
x = 1.0
y = 2.0
z = 3.0
coors = np.asarray([x, y, z], dtype=defaults.DEFAULT_FLOAT)
label = 'test ' + str(id)
n = Node(id, [x, y, z], label)
assert n.coors.any() == coors.any()
def test_coors2(self):
id = 1
x = 1.0
y = 2.0
z = 3.0
coors = np.asarray([x + 1.0, y + 2.0, z + 3.0], dtype=defaults.DEFAULT_FLOAT)
label = 'test ' + str(id)
n = Node(id, [x, y, z], label)
n.coors = coors
assert n.coors.any() == coors.any()
| 21.206186 | 81 | 0.539135 | 348 | 2,057 | 3.152299 | 0.143678 | 0.082954 | 0.087511 | 0.102097 | 0.80948 | 0.80948 | 0.798541 | 0.790337 | 0.790337 | 0.788514 | 0 | 0.046528 | 0.299951 | 2,057 | 96 | 82 | 21.427083 | 0.715278 | 0 | 0 | 0.809524 | 0 | 0 | 0.019455 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 1 | 0.095238 | false | 0 | 0.071429 | 0 | 0.190476 | 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 |
9f1542b38445377d415081d1c338eb92d2b8f554 | 68 | py | Python | functional/do_map.py | LaurenceYang/learn-python | 819994039abd3af298f73b1a73976eaa95071096 | [
"Apache-2.0"
] | 2 | 2018-01-20T03:38:58.000Z | 2019-07-21T11:33:24.000Z | functional/do_map.py | LaurenceYang/learn-python | 819994039abd3af298f73b1a73976eaa95071096 | [
"Apache-2.0"
] | null | null | null | functional/do_map.py | LaurenceYang/learn-python | 819994039abd3af298f73b1a73976eaa95071096 | [
"Apache-2.0"
] | null | null | null | def f(x):
return x * x
print(list(map(f, [1,2,3,4,5,6,7,8,9]))) | 17 | 40 | 0.514706 | 19 | 68 | 1.842105 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 0.176471 | 68 | 4 | 40 | 17 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9f83e7ffe53875013995e7465d79686e614baba7 | 8,352 | py | Python | online_util/online_decompilation.py | SOLINSIGHT/solinsight | b0398c48e33a1f43a2ec4528477cc07e0b692bd6 | [
"Apache-2.0"
] | null | null | null | online_util/online_decompilation.py | SOLINSIGHT/solinsight | b0398c48e33a1f43a2ec4528477cc07e0b692bd6 | [
"Apache-2.0"
] | 1 | 2021-12-18T08:44:43.000Z | 2021-12-18T08:44:43.000Z | online_util/online_decompilation.py | SOLINSIGHT/solinsight | b0398c48e33a1f43a2ec4528477cc07e0b692bd6 | [
"Apache-2.0"
] | null | null | null | import json
import time
import os
import csv
from online_util.http_get import http_get
from online_util.parse_html import parsehtml
from tool.save_file import save_to_file
from tool.write_list_to_json import write_list_to_json
def online_decompilation_main3(online_decompiler_result_save_file,solidity_code_result,opcode_result,html_path,path):
"""
:param online_decompiler_result_save_file: Store all the contract information in the name result.json, and then save it in this folder
:param solidity_code_result: The address of the folder where the source code of the contract obtained by parsing the file is stored
:param opcode_result: The operation code of the contract obtained by parsing the address of the folder that should be stored
:param html_path: Store the html file in this folder, read the html file in the html folder for analysis
:param path: All address information is stored in this path
:return:
"""
list = []
list2 = []
all_num = 0
time_out = 0
s = set()
with open("", 'r') as f:# read vul csv file
all_vul_num = 0
reader = csv.reader(f)
column = [row[1] for row in reader]
for i in column:
s.add(i)
for j in s:
all_num =all_num +1
print(all_num)
url = j
dict = {"address": url}
dict["parse_lose"] = False
dict["parse_timeout_information"] = ""
start = time.time()
try:
http_get(url,
html_path) # Get the address of the contract, crawl the content of the contract at that address, and then store the web page in the address of a folder in html_path
except Exception as e:
time_out = time_out + 1
list2.append(url)
print(e)
pass
continue
# dict["parsetime"] = 0
# dict["size"]
str1, str2 = parsehtml(url, html_path) # Parse the html file corresponding to the contract
if (str1 == ""):
dict["parse_lose"] = True
dict["parse_information"] = "parse html fail~!"
end = time.time()
dict["parsetime"] = end - start
dict["size"] = len(str1)
# print("url",url)
# print(end-start)
save_to_file(solidity_code_result + url + ".sol", str1)
save_to_file(opcode_result + url + ".txt", str2)
list.append(dict) # Save the acquired contract information in the list, and then save the list in a file
write_list_to_json(list, result_json_name, online_decompiler_result_save_file)
return all_num, time_out, list2
# Write the list into a file, the list contains all the information obtained by the parsed contract, and then save it in a folder named result.json
def online_decompilation_main(result_path,path):
"""
:param online_decompiler_result_save_file: Store all the contract information in the name result.json, and then save it in this folder
:param solidity_code_result: The address of the folder where the source code of the contract obtained by parsing the file is stored
:param opcode_result: The operation code of the contract obtained by parsing the address of the folder that should be stored
:param html_path: Store the html file in this folder, read the html file in the html folder for analysis
:param path: All address information is stored in this path
:return:
"""
# url = input("please input the contract tx:")
# url = sys.argv[0]
online_decompiler_result_save_file = result_path +"result/"
solidity_code_result = result_path + "source_code_path/"
opcode_result = result_path + "opcode_path/"
html_path = result_path + "html_path/"
f = open(path, )
data = json.load(f) # data is a list, and each list is a dictionary, which forms the json format
all_num = 0
time_out = 0
list = []
l1 = path.split("/")
list2 = []
result_json_name = l1[-1]
for i in data:
print(all_num,end=' ')
all_num = all_num+1
url = i.get("address")
dict = {"address":url}
dict["tx_count"] = i.get("tx_count")
dict["parse_lose"] = False
dict["parse_timeout_information"] = ""
start = time.time()
try:
http_get(url,html_path) # Get the address of the contract, crawl the content of the contract at that address, and then store the web page in the address of a folder in html_path
except Exception as e:
time_out = time_out + 1
list2.append(url)
print(e)
pass
continue
# dict["parsetime"] = 0
# dict["size"]
str1, str2 = parsehtml(url,html_path) # Parse the html file corresponding to the contract
if(str1==""):
dict["parse_lose"] = True
dict["parse_information"] = "parse html fail~!"
end = time.time()
dict["parsetime"] = end - start
dict["size"] = len(str1)
# print("url",url)
# print(end-start)
save_to_file(solidity_code_result + url + ".sol", str1)
save_to_file(opcode_result + url + ".txt", str2)
list.append(dict) # Save the acquired contract information in the list, and then save the list in a file
write_list_to_json(list,result_json_name ,online_decompiler_result_save_file)
return all_num,time_out,list2
# Write the list into a file, the list contains all the information obtained by the parsed contract, and then save it in a folder named result.json
def online_decompilation_main1(online_decompiler_result_save_file,solidity_code_result,opcode_result,html_path,path):
"""
:param online_decompiler_result_save_file: Store all the contract information in the name result.json, and then save it in this folder
:param solidity_code_result: The address of the folder where the source code of the contract obtained by parsing the file is stored
:param opcode_result: The operation code of the contract obtained by parsing the address of the folder that should be stored
:param html_path: Store the html file in this folder, read the html file in the html folder for analysis
:param path: All address information is stored in this path
:return:
"""
# url = input("please input the contract tx:")
# url = sys.argv[0]
f = open(path, )
data = json.load(f) # data is a list, and each list is a dictionary, which forms the json format
all_num = 0
time_out = 0
list = []
l1 = path.split("/")
list2 = []
result_json_name = l1[-1]
for i in data:
list3 = i.get("list")
for j in list3:
print(all_num, end=' ')
all_num = all_num + 1
print(j)
url = j
dict = {"num": all_num}
dict["url"] = url
dict["parse_lose"] = False
dict["parse_timeout_information"] = ""
start = time.time()
try:
http_get(url,
html_path) # Get the address of the contract, crawl the content of the contract at that address, and then store the web page in the address of a folder in html_path
except Exception as e:
time_out = time_out + 1
list2.append(url)
print(e)
print("get html fail!")
pass
continue
str1, str2 = parsehtml(url, html_path) # Parse the html file corresponding to the contract
if (str1 == ""):
dict["parse_lose"] = True
dict["parse_information"] = "parse html fail~!"
end = time.time()
dict["parsetime"] = end - start
dict["size"] = len(str1)
print("url",url)
# print(end-start)
save_to_file(solidity_code_result + url + ".sol", str1)
save_to_file(opcode_result + url + ".txt", str2)
list.append(dict) # Save the acquired contract information in the list, and then save the list in a file
write_list_to_json(list,result_json_name ,online_decompiler_result_save_file)
return all_num,time_out,list2
# Write the list into a file, the list contains all the information obtained by the parsed contract, and then save it in a folder named result.json | 41.76 | 190 | 0.63829 | 1,198 | 8,352 | 4.292988 | 0.110184 | 0.042777 | 0.027999 | 0.045499 | 0.882559 | 0.876726 | 0.869337 | 0.869337 | 0.869337 | 0.858837 | 0 | 0.009165 | 0.281489 | 8,352 | 200 | 191 | 41.76 | 0.847859 | 0.412596 | 0 | 0.748148 | 0 | 0 | 0.086929 | 0.01571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0.022222 | 0.059259 | 0 | 0.103704 | 0.066667 | 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 |
9fae68396e09cb97abef2548604b4d15dd53a009 | 451 | py | Python | sdk/python/pulumi_random/__init__.py | pulumi-bot/pulumi-random | 611a1fc3a3841d21de4bdceb245f9646a7f577ab | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_random/__init__.py | pulumi-bot/pulumi-random | 611a1fc3a3841d21de4bdceb245f9646a7f577ab | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_random/__init__.py | pulumi-bot/pulumi-random | 611a1fc3a3841d21de4bdceb245f9646a7f577ab | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Export this package's modules as members:
from .provider import *
from .random_id import *
from .random_integer import *
from .random_password import *
from .random_pet import *
from .random_shuffle import *
from .random_string import *
from .random_uuid import *
| 32.214286 | 87 | 0.742794 | 68 | 451 | 4.823529 | 0.647059 | 0.213415 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002653 | 0.16408 | 451 | 13 | 88 | 34.692308 | 0.867374 | 0.485588 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
4c96534ff0851b035636b6a2fe3c9a5f9233384a | 476,790 | py | Python | sklearn_iris.py | ayushman-rayaguru/Iris_ML_Algo | f3ef8930b8346de0ab906a90aae1c48057152b00 | [
"MIT"
] | 1 | 2021-07-16T11:37:50.000Z | 2021-07-16T11:37:50.000Z | sklearn_iris.py | ayushman-rayaguru/Iris_ML_Algo | f3ef8930b8346de0ab906a90aae1c48057152b00 | [
"MIT"
] | null | null | null | sklearn_iris.py | ayushman-rayaguru/Iris_ML_Algo | f3ef8930b8346de0ab906a90aae1c48057152b00 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""sklearn_iris.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1AJGiFqRFPhiMrpBS7yuLDdVSqHCf4p16
# *Predicting* **Species**
using famous iris dataset
**Data Set Information:**
This is perhaps the best known database to be found in the pattern recognition literature. Fisher's paper is a classic in the field and is referenced frequently to this day. (See Duda & Hart, for example.) The data set contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class is linearly separable from the other 2; the latter are NOT linearly separable from each other.
**Predicted attribute:** class of iris plant.

"""
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sklearn import neighbors , datasets
from sklearn import preprocessing
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
iris = pd.read_csv('iris.csv')
feature_names = iris.iloc[0:4]
target_names = iris.iloc[5]
X = iris.iloc[:,:4]
y = iris.iloc[:,-1:]
print(X)
print(y)
import seaborn as sns
plt.style.use('ggplot')
sc = StandardScaler()
#X_scaled = sc.fit_transform(X[['sepal_length','sepal_width','petal_length','petal_width']])
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=2)
sns.pairplot(iris,hue = 'species')
"""#### The **12th plot** in pairplot shows some significant groups developing when parameter are chosen as **petal_width and petal_length**"""
sns.scatterplot(x = iris['petal_width'] , y = iris['petal_length'],hue = iris.species)
from sklearn.linear_model import LogisticRegression
from sklearn.naive_bayes import GaussianNB
from sklearn.ensemble import RandomForestClassifier
from sklearn.svm import SVC
from sklearn import datasets
import numpy as np
# Initializing Classifiers
clf1 = LogisticRegression(random_state=1,
solver='newton-cg',
multi_class='multinomial')
clf2 = RandomForestClassifier(random_state=1, n_estimators=100)
clf3 = GaussianNB()
clf4 = SVC(gamma='auto')
clf5 = neighbors.KNeighborsClassifier(n_neighbors = 6)
#clf.fit(X[['sepal_length','sepal_width','petal_length','petal_width']],
# y.species)
# Loading some example data
iris = datasets.load_iris()
X = iris.data[:, [2,3]]
y = iris.target
"""### Having look on decision boundaries made by classifier :
#### **0.Setosa**
#### **1.Versicolor**
#### **2.Verginica**
"""
import matplotlib.pyplot as plt
from mlxtend.plotting import plot_decision_regions
import matplotlib.gridspec as gridspec
import itertools
gs = gridspec.GridSpec(2, 3)
fig = plt.figure(figsize=(10,8))
labels = ['Logistic Regression', 'Random Forest', 'Naive Bayes', 'SVM','KNN']
for clf, lab, grd in zip([clf1, clf2, clf3, clf4,clf5],
labels,
itertools.product([0, 1, 2], repeat=2)):
clf.fit(X, y)
ax = plt.subplot(gs[grd[0], grd[1]])
fig = plot_decision_regions(X=X, y=y, clf=clf, legend=2)
plt.title(lab)
plt.show()
"""## Selecting **KNeigborsClassifier** as model"""
fig = plt.figure(figsize=(10,8))
fig = plot_decision_regions(X=X, y=y, clf=clf5, legend=2)
plt.title('KNN')
plt.show()
"""### **Tesing model prediction on sample data**"""
final = np.array([[3,5],[3,1],[2,1],[3.3,2.2],[0.1,0.1],[5,1.69]])
clf5.predict(final)
"""### **Saving our model in .pkl format**"""
import pickle
filename = 'iris_model.sav'
pickle.dump(clf5, open(filename, 'wb'))
# some time later...
# load the model from disk
loaded_model = pickle.load(open(filename, 'rb'))
result = loaded_model.score(X_test, y_test)
print(result)
"""#### *Great ! this model did a* **nice classification work** *of predicting with* **score of 96.666%**""" | 3,784.047619 | 472,943 | 0.965324 | 15,130 | 476,790 | 30.416986 | 0.932254 | 0.000215 | 0.000111 | 0.000065 | 0.000543 | 0.000543 | 0.000313 | 0.000313 | 0.000313 | 0 | 0 | 0.155353 | 0.001237 | 476,790 | 126 | 472,944 | 3,784.047619 | 0.811067 | 0.994035 | 0 | 0.126984 | 1 | 0 | 0.059922 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.301587 | 0 | 0.301587 | 0.047619 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
e253fe7a5bf91f1cf6c32ec930baa66359d2b8ee | 3,398 | py | Python | px511-2021/code/ice/ICE.py | Relex12/Decentralized-Password-Manager | 0b861a310131782003a469d9c436e04e5bb05420 | [
"MIT"
] | null | null | null | px511-2021/code/ice/ICE.py | Relex12/Decentralized-Password-Manager | 0b861a310131782003a469d9c436e04e5bb05420 | [
"MIT"
] | null | null | null | px511-2021/code/ice/ICE.py | Relex12/Decentralized-Password-Manager | 0b861a310131782003a469d9c436e04e5bb05420 | [
"MIT"
] | null | null | null | import argparse
import asyncio
from typing import Any
import aioice
from aioice.candidate import Candidate
import time
from aioice.ice import CandidatePair
SERVEUR_STUN = ("stun1.l.google.com", 19302)
fichier_mdp_chiffres='passwords_chiffres.txt'
def sync_this_device_Ice():
async def main():
conn_a = aioice.Connection(ice_controlling=True, stun_server=SERVEUR_STUN)
conn_b = aioice.Connection(ice_controlling=False, stun_server=SERVEUR_STUN)
# les candidats distants de b sont les locaux de a
await conn_a.gather_candidates()
for i in range(len(conn_a.local_candidates)):
await conn_b.add_remote_candidate(Candidate.from_sdp(conn_a.local_candidates[i].to_sdp()))
print (conn_b.remote_candidates)
conn_b.remote_username = conn_a.local_username
conn_b.remote_password = conn_a.local_password
# respectivement
await conn_b.gather_candidates()
for j in range(len(conn_b.local_candidates)):
await conn_a.add_remote_candidate(Candidate.from_sdp(conn_b.local_candidates[j].to_sdp()))
print (conn_a.remote_candidates)
conn_a.remote_username = conn_b.local_username
conn_a.remote_password = conn_b.local_password
# connection
await asyncio.gather(conn_a.connect(), conn_b.connect())
# envoie de données de b vers a
with open(fichier_mdp_chiffres,'rb') as ef:
donnees=ef.read()
await conn_b.send(donnees)
data = await conn_a.recv()
with open (fichier_mdp_chiffres,'wb') as ef:
ef.write(data)
print('Nous avons reçu le fichier')
# fermeture de la connexion
await asyncio.gather(conn_a.close(), conn_b.close())
asyncio.get_event_loop().run_until_complete(main())
def sync_other_device_Ice():
async def main():
conn_a = aioice.Connection(ice_controlling=True, stun_server=SERVEUR_STUN)
conn_b = aioice.Connection(ice_controlling=False, stun_server=SERVEUR_STUN)
# les candidats distants de b sont les locaux de a
await conn_a.gather_candidates()
for i in range(len(conn_a.local_candidates)):
await conn_b.add_remote_candidate(Candidate.from_sdp(conn_a.local_candidates[i].to_sdp()))
print (conn_b.remote_candidates)
conn_b.remote_username = conn_a.local_username
conn_b.remote_password = conn_a.local_password
# respectivement
await conn_b.gather_candidates()
for j in range(len(conn_b.local_candidates)):
await conn_a.add_remote_candidate(Candidate.from_sdp(conn_b.local_candidates[j].to_sdp()))
print (conn_a.remote_candidates)
conn_a.remote_username = conn_b.local_username
conn_a.remote_password = conn_b.local_password
# connection
await asyncio.gather(conn_a.connect(), conn_b.connect())
# envoie de données de a vers b
with open(fichier_mdp_chiffres,'rb') as ef:
donnees=ef.read()
await conn_a.send(donnees)
data = await conn_b.recv()
with open (fichier_mdp_chiffres,'wb') as ef:
ef.write(data)
print("L'appareil distant a reçu le fichier")
# fermeture de la connexion
await asyncio.gather(conn_a.close(), conn_b.close())
asyncio.get_event_loop().run_until_complete(main()) | 33.98 | 102 | 0.688052 | 475 | 3,398 | 4.631579 | 0.197895 | 0.059091 | 0.036364 | 0.054545 | 0.878182 | 0.856364 | 0.856364 | 0.856364 | 0.856364 | 0.856364 | 0 | 0.002273 | 0.223072 | 3,398 | 100 | 103 | 33.98 | 0.831061 | 0.07681 | 0 | 0.721311 | 0 | 0 | 0.035177 | 0.007036 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0.081967 | 0.114754 | 0 | 0.147541 | 0.098361 | 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 |
e29fb9aa53e97ab2cbccd1286dc00c22673c0196 | 4,127 | py | Python | arcos4py/.ipynb_checkpoints/raw-checkpoint.py | marc-rauckhorst/arcos-py | c195a29e47d4041e787eedb59552c4e92364627e | [
"MIT"
] | null | null | null | arcos4py/.ipynb_checkpoints/raw-checkpoint.py | marc-rauckhorst/arcos-py | c195a29e47d4041e787eedb59552c4e92364627e | [
"MIT"
] | null | null | null | arcos4py/.ipynb_checkpoints/raw-checkpoint.py | marc-rauckhorst/arcos-py | c195a29e47d4041e787eedb59552c4e92364627e | [
"MIT"
] | null | null | null | {
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Raw Functions\n",
"\n",
"def get_raw_county_data(state, county = '',verification = True, key = 'WaPo'):\n",
" '''(str(two letter abbreviation), bool, str, str) -> pd.df\n",
" Returns all data by county (Will be large and could take extra time to load)\n",
"\n",
" >>>get_raw_county_data('OH', 'Summit')\n",
" EXAMPLE OUTPUT\n",
" '''\n",
"\n",
" base_url = 'https://arcos-api.ext.nile.works/v1/'\n",
" function_url = 'county_data?'\n",
" add_state = 'state=' + state\n",
" add_county = '&county=' + county\n",
" add_key = '&key=' + key\n",
" full_url = base_url + function_url + add_state + add_county + add_key\n",
"\n",
" if verification == True:\n",
" print(full_url)\n",
" county_data_df = json_normalize(requests.get(full_url).json())\n",
" return county_data_df\n",
" else:\n",
" print('Problem encountered, not returning data:')\n",
" print('Either verification == False')\n",
" print('Or problem with API encountered, please verify URL, state and county are correct: ', full_url)\n",
" \n",
"def get_raw_buyer_details(state, county = '',verification = True, key = 'WaPo'):\n",
" '''(str(two letter abbreviation), bool, str, str) -> pd.df\n",
" Returns buyer details (mail order, pharmacy, retail, practitioner, etc)\n",
"\n",
" >>>get_raw_buyer_details('OH', 'Summit')\n",
" EXAMPLE OUTPUT\n",
" '''\n",
"\n",
" base_url = 'https://arcos-api.ext.nile.works/v1/'\n",
" function_url = 'buyer_details?'\n",
" add_state = 'state=' + state\n",
" add_county = '&county=' + county\n",
" add_key = '&key=' + key\n",
" full_url = base_url + function_url + add_state + add_county + add_key\n",
"\n",
" if verification == True:\n",
" print(full_url)\n",
" buyer_details_df = json_normalize(requests.get(full_url).json())\n",
" return buyer_details_df\n",
" else:\n",
" print('Problem encountered, not returning data:')\n",
" print('Either verification == False')\n",
" print('Or problem with API encountered, please verify URL, state and county are correct: ', full_url)\n",
" \n",
"def get_raw_reporter_details(state, county = '',verification = True, key = 'WaPo'):\n",
" '''(str(two letter abbreviation), bool, str, str) -> pd.df\n",
" Returns Reporter (Manufacturers and Distributors) details such as addresses\n",
"\n",
" >>>get_raw_reporter_details('OH', 'Summit')\n",
" EXAMPLE OUTPUT\n",
" '''\n",
"\n",
" base_url = 'https://arcos-api.ext.nile.works/v1/'\n",
" function_url = 'reporter_details?'\n",
" add_state = 'state=' + state\n",
" add_county = '&county=' + county\n",
" add_key = '&key=' + key\n",
" full_url = base_url + function_url + add_state + add_county + add_key\n",
"\n",
" if verification == True:\n",
" print(full_url)\n",
" reporter_details_df = json_normalize(requests.get(full_url).json())\n",
" return reporter_details_df\n",
" else:\n",
" print('Problem encountered, not returning data:')\n",
" print('Either verification == False')\n",
" print('Or problem with API encountered, please verify URL, state and county are correct: ', full_url)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.9"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
| 38.570093 | 118 | 0.544948 | 495 | 4,127 | 4.367677 | 0.240404 | 0.013876 | 0.018501 | 0.011101 | 0.724792 | 0.719704 | 0.719704 | 0.719704 | 0.719704 | 0.719704 | 0 | 0.003975 | 0.268476 | 4,127 | 106 | 119 | 38.933962 | 0.712156 | 0 | 0 | 0.5 | 0 | 0.028302 | 0.793797 | 0.086988 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.113208 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2c824ca92d28bcfcbd24248b16c9930193310706 | 47,191 | py | Python | sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/namespaces_operations.py | iscai-msft/azure-sdk-for-python | 83715b95c41e519d5be7f1180195e2fba136fc0f | [
"MIT"
] | 8 | 2021-01-13T23:44:08.000Z | 2021-03-17T10:13:36.000Z | sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/namespaces_operations.py | iscai-msft/azure-sdk-for-python | 83715b95c41e519d5be7f1180195e2fba136fc0f | [
"MIT"
] | 226 | 2019-07-24T07:57:21.000Z | 2019-10-15T01:07:24.000Z | sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/namespaces_operations.py | iscai-msft/azure-sdk-for-python | 83715b95c41e519d5be7f1180195e2fba136fc0f | [
"MIT"
] | 2 | 2020-05-21T22:51:22.000Z | 2020-05-26T20:53:01.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
import uuid
from msrest.pipeline import ClientRawResponse
from msrest.polling import LROPoller, NoPolling
from msrestazure.polling.arm_polling import ARMPolling
from .. import models
class NamespacesOperations(object):
"""NamespacesOperations operations.
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
:ivar api_version: Client API version. Constant value: "2017-04-01".
"""
models = models
def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self.api_version = "2017-04-01"
self.config = config
def check_name_availability_method(
self, name, custom_headers=None, raw=False, **operation_config):
"""Check the specified namespace name availability.
:param name: The namespace name to check for availability. The
namespace name can contain only letters, numbers, and hyphens. The
namespace must start with a letter, and it must end with a letter or
number.
:type name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: CheckNameAvailabilityResult or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.relay.models.CheckNameAvailabilityResult or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
parameters = models.CheckNameAvailability(name=name)
# Construct URL
url = self.check_name_availability_method.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
header_parameters['Content-Type'] = 'application/json; charset=utf-8'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct body
body_content = self._serialize.body(parameters, 'CheckNameAvailability')
# Construct and send request
request = self._client.post(url, query_parameters, header_parameters, body_content)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorResponseException(self._deserialize, response)
deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('CheckNameAvailabilityResult', response)
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
check_name_availability_method.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Relay/checkNameAvailability'}
def list(
self, custom_headers=None, raw=False, **operation_config):
"""Lists all the available namespaces within the subscription regardless
of the resourceGroups.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of RelayNamespace
:rtype:
~azure.mgmt.relay.models.RelayNamespacePaged[~azure.mgmt.relay.models.RelayNamespace]
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
def internal_paging(next_link=None, raw=False):
if not next_link:
# Construct URL
url = self.list.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
else:
url = next_link
query_parameters = {}
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorResponseException(self._deserialize, response)
return response
# Deserialize response
deserialized = models.RelayNamespacePaged(internal_paging, self._deserialize.dependencies)
if raw:
header_dict = {}
client_raw_response = models.RelayNamespacePaged(internal_paging, self._deserialize.dependencies, header_dict)
return client_raw_response
return deserialized
list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Relay/namespaces'}
def list_by_resource_group(
self, resource_group_name, custom_headers=None, raw=False, **operation_config):
"""Lists all the available namespaces within the ResourceGroup.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of RelayNamespace
:rtype:
~azure.mgmt.relay.models.RelayNamespacePaged[~azure.mgmt.relay.models.RelayNamespace]
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
def internal_paging(next_link=None, raw=False):
if not next_link:
# Construct URL
url = self.list_by_resource_group.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
else:
url = next_link
query_parameters = {}
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorResponseException(self._deserialize, response)
return response
# Deserialize response
deserialized = models.RelayNamespacePaged(internal_paging, self._deserialize.dependencies)
if raw:
header_dict = {}
client_raw_response = models.RelayNamespacePaged(internal_paging, self._deserialize.dependencies, header_dict)
return client_raw_response
return deserialized
list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces'}
def _create_or_update_initial(
self, resource_group_name, namespace_name, parameters, custom_headers=None, raw=False, **operation_config):
# Construct URL
url = self.create_or_update.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
header_parameters['Content-Type'] = 'application/json; charset=utf-8'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct body
body_content = self._serialize.body(parameters, 'RelayNamespace')
# Construct and send request
request = self._client.put(url, query_parameters, header_parameters, body_content)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200, 201]:
raise models.ErrorResponseException(self._deserialize, response)
deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('RelayNamespace', response)
if response.status_code == 201:
deserialized = self._deserialize('RelayNamespace', response)
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
def create_or_update(
self, resource_group_name, namespace_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config):
"""Create Azure Relay namespace.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param namespace_name: The namespace name
:type namespace_name: str
:param parameters: Parameters supplied to create a namespace resource.
:type parameters: ~azure.mgmt.relay.models.RelayNamespace
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
direct response alongside the deserialized response
:param polling: True for ARMPolling, False for no polling, or a
polling object for personal polling strategy
:return: An instance of LROPoller that returns RelayNamespace or
ClientRawResponse<RelayNamespace> if raw==True
:rtype:
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.relay.models.RelayNamespace]
or
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.relay.models.RelayNamespace]]
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
raw_result = self._create_or_update_initial(
resource_group_name=resource_group_name,
namespace_name=namespace_name,
parameters=parameters,
custom_headers=custom_headers,
raw=True,
**operation_config
)
def get_long_running_output(response):
deserialized = self._deserialize('RelayNamespace', response)
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
lro_delay = operation_config.get(
'long_running_operation_timeout',
self.config.long_running_operation_timeout)
if polling is True: polling_method = ARMPolling(lro_delay, **operation_config)
elif polling is False: polling_method = NoPolling()
else: polling_method = polling
return LROPoller(self._client, raw_result, get_long_running_output, polling_method)
create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}'}
def _delete_initial(
self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config):
# Construct URL
url = self.delete.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200, 202, 204]:
raise models.ErrorResponseException(self._deserialize, response)
if raw:
client_raw_response = ClientRawResponse(None, response)
return client_raw_response
def delete(
self, resource_group_name, namespace_name, custom_headers=None, raw=False, polling=True, **operation_config):
"""Deletes an existing namespace. This operation also removes all
associated resources under the namespace.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param namespace_name: The namespace name
:type namespace_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
direct response alongside the deserialized response
:param polling: True for ARMPolling, False for no polling, or a
polling object for personal polling strategy
:return: An instance of LROPoller that returns None or
ClientRawResponse<None> if raw==True
:rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]]
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
raw_result = self._delete_initial(
resource_group_name=resource_group_name,
namespace_name=namespace_name,
custom_headers=custom_headers,
raw=True,
**operation_config
)
def get_long_running_output(response):
if raw:
client_raw_response = ClientRawResponse(None, response)
return client_raw_response
lro_delay = operation_config.get(
'long_running_operation_timeout',
self.config.long_running_operation_timeout)
if polling is True: polling_method = ARMPolling(lro_delay, **operation_config)
elif polling is False: polling_method = NoPolling()
else: polling_method = polling
return LROPoller(self._client, raw_result, get_long_running_output, polling_method)
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}'}
def get(
self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config):
"""Returns the description for the specified namespace.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param namespace_name: The namespace name
:type namespace_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: RelayNamespace or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.relay.models.RelayNamespace or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
# Construct URL
url = self.get.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorResponseException(self._deserialize, response)
deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('RelayNamespace', response)
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}'}
def update(
self, resource_group_name, namespace_name, tags=None, sku=None, custom_headers=None, raw=False, **operation_config):
"""Creates or updates a namespace. Once created, this namespace's resource
manifest is immutable. This operation is idempotent.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param namespace_name: The namespace name
:type namespace_name: str
:param tags: Resource tags.
:type tags: dict[str, str]
:param sku: SKU of the namespace.
:type sku: ~azure.mgmt.relay.models.Sku
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: RelayNamespace or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.relay.models.RelayNamespace or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
parameters = models.RelayUpdateParameters(tags=tags, sku=sku)
# Construct URL
url = self.update.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
header_parameters['Content-Type'] = 'application/json; charset=utf-8'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct body
body_content = self._serialize.body(parameters, 'RelayUpdateParameters')
# Construct and send request
request = self._client.patch(url, query_parameters, header_parameters, body_content)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200, 201]:
raise models.ErrorResponseException(self._deserialize, response)
deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('RelayNamespace', response)
if response.status_code == 201:
deserialized = self._deserialize('RelayNamespace', response)
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}'}
def list_authorization_rules(
self, resource_group_name, namespace_name, custom_headers=None, raw=False, **operation_config):
"""Authorization rules for a namespace.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param namespace_name: The namespace name
:type namespace_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of AuthorizationRule
:rtype:
~azure.mgmt.relay.models.AuthorizationRulePaged[~azure.mgmt.relay.models.AuthorizationRule]
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
def internal_paging(next_link=None, raw=False):
if not next_link:
# Construct URL
url = self.list_authorization_rules.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
else:
url = next_link
query_parameters = {}
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorResponseException(self._deserialize, response)
return response
# Deserialize response
deserialized = models.AuthorizationRulePaged(internal_paging, self._deserialize.dependencies)
if raw:
header_dict = {}
client_raw_response = models.AuthorizationRulePaged(internal_paging, self._deserialize.dependencies, header_dict)
return client_raw_response
return deserialized
list_authorization_rules.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules'}
def create_or_update_authorization_rule(
self, resource_group_name, namespace_name, authorization_rule_name, rights, custom_headers=None, raw=False, **operation_config):
"""Creates or updates an authorization rule for a namespace.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param namespace_name: The namespace name
:type namespace_name: str
:param authorization_rule_name: The authorization rule name.
:type authorization_rule_name: str
:param rights: The rights associated with the rule.
:type rights: list[str or ~azure.mgmt.relay.models.AccessRights]
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: AuthorizationRule or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.relay.models.AuthorizationRule or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
parameters = models.AuthorizationRule(rights=rights)
# Construct URL
url = self.create_or_update_authorization_rule.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6),
'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
header_parameters['Content-Type'] = 'application/json; charset=utf-8'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct body
body_content = self._serialize.body(parameters, 'AuthorizationRule')
# Construct and send request
request = self._client.put(url, query_parameters, header_parameters, body_content)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorResponseException(self._deserialize, response)
deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('AuthorizationRule', response)
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
create_or_update_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}'}
def delete_authorization_rule(
self, resource_group_name, namespace_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config):
"""Deletes a namespace authorization rule.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param namespace_name: The namespace name
:type namespace_name: str
:param authorization_rule_name: The authorization rule name.
:type authorization_rule_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: None or ClientRawResponse if raw=true
:rtype: None or ~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
# Construct URL
url = self.delete_authorization_rule.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6),
'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200, 204]:
raise models.ErrorResponseException(self._deserialize, response)
if raw:
client_raw_response = ClientRawResponse(None, response)
return client_raw_response
delete_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}'}
def get_authorization_rule(
self, resource_group_name, namespace_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config):
"""Authorization rule for a namespace by name.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param namespace_name: The namespace name
:type namespace_name: str
:param authorization_rule_name: The authorization rule name.
:type authorization_rule_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: AuthorizationRule or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.relay.models.AuthorizationRule or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
# Construct URL
url = self.get_authorization_rule.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6),
'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorResponseException(self._deserialize, response)
deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('AuthorizationRule', response)
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
get_authorization_rule.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}'}
def list_keys(
self, resource_group_name, namespace_name, authorization_rule_name, custom_headers=None, raw=False, **operation_config):
"""Primary and secondary connection strings to the namespace.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param namespace_name: The namespace name
:type namespace_name: str
:param authorization_rule_name: The authorization rule name.
:type authorization_rule_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: AccessKeys or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.relay.models.AccessKeys or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
# Construct URL
url = self.list_keys.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6),
'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.post(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorResponseException(self._deserialize, response)
deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('AccessKeys', response)
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys'}
def regenerate_keys(
self, resource_group_name, namespace_name, authorization_rule_name, key_type, key=None, custom_headers=None, raw=False, **operation_config):
"""Regenerates the primary or secondary connection strings to the
namespace.
:param resource_group_name: Name of the Resource group within the
Azure subscription.
:type resource_group_name: str
:param namespace_name: The namespace name
:type namespace_name: str
:param authorization_rule_name: The authorization rule name.
:type authorization_rule_name: str
:param key_type: The access key to regenerate. Possible values
include: 'PrimaryKey', 'SecondaryKey'
:type key_type: str or ~azure.mgmt.relay.models.KeyType
:param key: Optional. If the key value is provided, this is set to key
type, or autogenerated key value set for key type.
:type key: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: AccessKeys or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.relay.models.AccessKeys or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorResponseException<azure.mgmt.relay.models.ErrorResponseException>`
"""
parameters = models.RegenerateAccessKeyParameters(key_type=key_type, key=key)
# Construct URL
url = self.regenerate_keys.metadata['url']
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'namespaceName': self._serialize.url("namespace_name", namespace_name, 'str', max_length=50, min_length=6),
'authorizationRuleName': self._serialize.url("authorization_rule_name", authorization_rule_name, 'str', min_length=1),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
header_parameters['Content-Type'] = 'application/json; charset=utf-8'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct body
body_content = self._serialize.body(parameters, 'RegenerateAccessKeyParameters')
# Construct and send request
request = self._client.post(url, query_parameters, header_parameters, body_content)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorResponseException(self._deserialize, response)
deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('AccessKeys', response)
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
regenerate_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys'}
| 49.004154 | 224 | 0.682694 | 5,010 | 47,191 | 6.213972 | 0.053892 | 0.026018 | 0.03331 | 0.030066 | 0.915521 | 0.908262 | 0.901805 | 0.891366 | 0.879481 | 0.876975 | 0 | 0.005114 | 0.225085 | 47,191 | 962 | 225 | 49.055094 | 0.846209 | 0.271365 | 0 | 0.798755 | 0 | 0.010373 | 0.165899 | 0.094711 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043568 | false | 0 | 0.010373 | 0 | 0.124481 | 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 |
2caba85396c62df5ec2472c2317e175a40579923 | 6,066 | py | Python | cebm/sgld.py | hao-w/cebm | 6a8a88879a15e71fe58003920b61a9c379867f8a | [
"MIT"
] | null | null | null | cebm/sgld.py | hao-w/cebm | 6a8a88879a15e71fe58003920b61a9c379867f8a | [
"MIT"
] | null | null | null | cebm/sgld.py | hao-w/cebm | 6a8a88879a15e71fe58003920b61a9c379867f8a | [
"MIT"
] | 1 | 2021-12-08T12:25:21.000Z | 2021-12-08T12:25:21.000Z | import time
import torch
from torch.distributions.normal import Normal
from torch.distributions.uniform import Uniform
class SGLD_Sampler():
"""
An sampler using stochastic gradient langevin dynamics
"""
def __init__(self, im_h, im_w, im_channels, device, alpha, noise_std, buffer_size, reuse_freq):
super().__init__()
im_dims = (im_channels, im_h, im_w)
self.initial_dist = Uniform(-1 * torch.ones(im_dims).to(device), torch.ones(im_dims).to(device))
self.device = device
self.alpha = alpha
self.noise_std = noise_std
self.reuse_freq = reuse_freq
self.buffer = self.initial_dist.sample((buffer_size, ))
def sample_from_buffer(self, batch_size):
"""
sample from buffer with a frequency
self.buffer_dup_allowed = True allows sampling the same chain multiple time within one sampling step
which is used in JEM and IGEBM
"""
samples = self.initial_dist.sample((batch_size, ))
inds = torch.randint(0, len(self.buffer), (batch_size, ), device=self.device)
samples_from_buffer = self.buffer[inds]
rand_mask = (torch.rand(batch_size, device=self.device) < self.reuse_freq)
samples[rand_mask] = samples_from_buffer[rand_mask]
return samples, inds
def refine_buffer(self, samples, inds):
"""
update replay buffer
"""
self.buffer[inds] = samples
def sample(self, ebm, batch_size, num_steps, pcd=True, init_samples=None):
"""
perform update using slgd
pcd means that we sample from replay buffer (with a frequency)
"""
if pcd:
samples, inds = self.sample_from_buffer(batch_size)
else:
if init_samples is None:
samples = self.initial_dist.sample((batch_size, ))
else:
samples = init_samples
list_samples = []
for l in range(num_steps):
samples.requires_grad = True
grads = torch.autograd.grad(outputs=ebm.energy(samples).sum(), inputs=samples)[0]
samples = (samples - (self.alpha / 2) * grads + self.noise_std * torch.randn_like(grads)).detach()
#added this extra detachment step, becase the last update keeps the variable in the graph.
assert samples.requires_grad == False, "samples should not require gradient."
if pcd:
self.refine_buffer(samples.detach(), inds)
return samples
def cond_sample(self, ebm, z, batch_size, num_steps, pcd=True, init_samples=None):
"""
perform update using slgd
pcd means that we sample from replay buffer (with a frequency)
"""
if pcd:
samples, inds = self.sample_from_buffer(batch_size)
else:
if init_samples is None:
samples = self.initial_dist.sample((batch_size, ))
else:
samples = init_samples
list_samples = []
for l in range(num_steps):
samples.requires_grad = True
grads = torch.autograd.grad(outputs=ebm.log_factor(samples, z).sum(), inputs=samples)[0]
samples = (samples - (self.alpha / 2) * grads + self.noise_std * torch.randn_like(grads)).detach()
#added this extra detachment step, becase the last update keeps the variable in the graph.
assert samples.requires_grad == False, "samples should not require gradient."
if pcd:
self.refine_buffer(samples.detach(), inds)
return samples
class SGLD_Sampler_GMM():
"""
sgld sampler for meta learning
"""
def __init__(self, im_h, im_w, im_channels, device, alpha, noise_std, buffer_size, reuse_freq):
super().__init__()
im_dims = (im_channels, im_h, im_w)
self.initial_dist = Uniform(-1 * torch.ones(im_dims).to(device), torch.ones(im_dims).to(device))
self.device = device
self.alpha = alpha
self.noise_std = noise_std
self.reuse_freq = reuse_freq
self.buffer = self.initial_dist.sample((buffer_size, ))
def sample_from_buffer(self, batch_size):
"""
sample from buffer with a frequency
self.buffer_dup_allowed = True allows sampling the same chain multiple time within one sampling step
which is used in JEM and IGEBM
"""
samples = self.initial_dist.sample((batch_size, ))
inds = torch.randint(0, len(self.buffer), (batch_size, ), device=self.device)
samples_from_buffer = self.buffer[inds]
rand_mask = (torch.rand(batch_size, device=self.device) < self.reuse_freq)
samples[rand_mask] = samples_from_buffer[rand_mask]
return samples, inds
def refine_buffer(self, samples, inds):
"""
update replay buffer
"""
self.buffer[inds] = samples
def sample(self, ebm, batch_size, num_steps, c_means, c_stds, ys, pcd=True, init_samples=None):
"""
perform update using slgd
pcd means that we sample from replay buffer (with a frequency)
"""
if pcd:
samples, inds = self.sample_from_buffer(batch_size)
else:
if init_samples is None:
samples = self.initial_dist.sample((batch_size, ))
else:
samples = init_samples
list_samples = []
for l in range(num_steps):
samples.requires_grad = True
grads = torch.autograd.grad(outputs=ebm.energy(samples, c_means, c_stds, ys).sum(), inputs=samples)[0]
samples = (samples - (self.alpha / 2) * grads + self.noise_std * torch.randn_like(grads)).detach()
#added this extra detachment step, becase the last update keeps the variable in the graph.
samples = samples.detach()
assert samples.requires_grad == False, "samples should not require gradient."
if pcd:
self.refine_buffer(samples.detach(), inds)
return samples
| 41.547945 | 114 | 0.622981 | 766 | 6,066 | 4.737598 | 0.163185 | 0.04216 | 0.0372 | 0.040507 | 0.925599 | 0.918435 | 0.918435 | 0.918435 | 0.918435 | 0.918435 | 0 | 0.002295 | 0.281734 | 6,066 | 145 | 115 | 41.834483 | 0.830617 | 0.165678 | 0 | 0.861702 | 0 | 0 | 0.022449 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 1 | 0.095745 | false | 0 | 0.042553 | 0 | 0.212766 | 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 |
e2d2085c0c8fc941b22d7b2778f9c707eeef1da8 | 158 | py | Python | tests/test_dtool_annotation_package.py | jic-dtool/dtool-annotation | 4a470b4e705e4095f9c7ab5392aa739bf1d7df61 | [
"MIT"
] | null | null | null | tests/test_dtool_annotation_package.py | jic-dtool/dtool-annotation | 4a470b4e705e4095f9c7ab5392aa739bf1d7df61 | [
"MIT"
] | 1 | 2021-06-18T16:58:23.000Z | 2021-06-23T00:33:15.000Z | tests/test_dtool_annotation_package.py | jic-dtool/dtool-annotation | 4a470b4e705e4095f9c7ab5392aa739bf1d7df61 | [
"MIT"
] | 1 | 2021-06-18T11:54:49.000Z | 2021-06-18T11:54:49.000Z | """Test the dtool_annotation package."""
def test_version_is_string():
import dtool_annotation
assert isinstance(dtool_annotation.__version__, str)
| 22.571429 | 56 | 0.778481 | 19 | 158 | 5.947368 | 0.684211 | 0.39823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132911 | 158 | 6 | 57 | 26.333333 | 0.824818 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e2d40e87b5e4ed6eb96fbe447436c679a14289af | 20,884 | py | Python | src/models/cnn.py | XLMaverick/face_classification | 60c42e73f0620e3dced5b19de8ba7d12e3a1e73a | [
"MIT"
] | null | null | null | src/models/cnn.py | XLMaverick/face_classification | 60c42e73f0620e3dced5b19de8ba7d12e3a1e73a | [
"MIT"
] | null | null | null | src/models/cnn.py | XLMaverick/face_classification | 60c42e73f0620e3dced5b19de8ba7d12e3a1e73a | [
"MIT"
] | null | null | null | from keras.layers import Activation, Convolution2D, Dropout, Conv2D
from keras.layers import AveragePooling2D, BatchNormalization
from keras.layers import GlobalAveragePooling2D
from keras.models import Sequential
from keras.layers import Flatten
from keras.models import Model
from keras.layers import Input
from keras.layers import MaxPooling2D
from keras.layers import SeparableConv2D
from keras import layers
from keras.regularizers import l2
<<<<<<< HEAD
import keras
from keras.preprocessing.image import ImageDataGenerator
from keras.models import Sequential
from keras.layers import Dense, Dropout, Activation, Flatten ,add
from keras.layers import Conv2D, MaxPooling2D, BatchNormalization
from keras import optimizers
import numpy as np
from keras.layers.core import Lambda
from keras import backend as K
from keras.optimizers import SGD
from keras import regularizers
from keras.layers import Input, Dense, Dropout, BatchNormalization, Conv2D, MaxPooling2D, AveragePooling2D, concatenate,Activation, ZeroPadding2D
def Conv2d_BN(x, nb_filter, kernel_size, strides=(1, 1), padding='same', name=None):
if name is not None:
bn_name = name + '_bn'
conv_name = name + '_conv'
else:
bn_name = None
conv_name = None
x = Conv2D(nb_filter, kernel_size, padding=padding, strides=strides, activation='relu', name=conv_name)(x)
x = BatchNormalization(axis=3, name=bn_name)(x)
return x
def bottleneck_Block(inpt,nb_filters,strides=(1,1),with_conv_shortcut=False):
k1,k2,k3=nb_filters
x = Conv2d_BN(inpt, nb_filter=k1, kernel_size=1, strides=strides, padding='same')
x = Conv2d_BN(x, nb_filter=k2, kernel_size=3, padding='same')
x = Conv2d_BN(x, nb_filter=k3, kernel_size=1, padding='same')
if with_conv_shortcut:
shortcut = Conv2d_BN(inpt, nb_filter=k3, strides=strides, kernel_size=1)
x = add([x, shortcut])
return x
else:
x = add([x, inpt])
return x
=======
>>>>>>> 0ad164512934b6ff8cf616e4588820dc0f9827a9
def simple_CNN(input_shape, num_classes):
model = Sequential()
model.add(Convolution2D(filters=16, kernel_size=(7, 7), padding='same',
name='image_array', input_shape=input_shape))
model.add(BatchNormalization())
model.add(Convolution2D(filters=16, kernel_size=(7, 7), padding='same'))
model.add(BatchNormalization())
model.add(Activation('relu'))
model.add(AveragePooling2D(pool_size=(2, 2), padding='same'))
model.add(Dropout(.5))
model.add(Convolution2D(filters=32, kernel_size=(5, 5), padding='same'))
model.add(BatchNormalization())
model.add(Convolution2D(filters=32, kernel_size=(5, 5), padding='same'))
model.add(BatchNormalization())
model.add(Activation('relu'))
model.add(AveragePooling2D(pool_size=(2, 2), padding='same'))
model.add(Dropout(.5))
model.add(Convolution2D(filters=64, kernel_size=(3, 3), padding='same'))
model.add(BatchNormalization())
model.add(Convolution2D(filters=64, kernel_size=(3, 3), padding='same'))
model.add(BatchNormalization())
model.add(Activation('relu'))
model.add(AveragePooling2D(pool_size=(2, 2), padding='same'))
model.add(Dropout(.5))
model.add(Convolution2D(filters=128, kernel_size=(3, 3), padding='same'))
model.add(BatchNormalization())
model.add(Convolution2D(filters=128, kernel_size=(3, 3), padding='same'))
model.add(BatchNormalization())
model.add(Activation('relu'))
model.add(AveragePooling2D(pool_size=(2, 2), padding='same'))
model.add(Dropout(.5))
model.add(Convolution2D(filters=256, kernel_size=(3, 3), padding='same'))
model.add(BatchNormalization())
model.add(Convolution2D(filters=num_classes, kernel_size=(3, 3), padding='same'))
model.add(GlobalAveragePooling2D())
model.add(Activation('softmax',name='predictions'))
return model
def simpler_CNN(input_shape, num_classes):
model = Sequential()
model.add(Convolution2D(filters=16, kernel_size=(5, 5), padding='same',
name='image_array', input_shape=input_shape))
model.add(BatchNormalization())
model.add(Convolution2D(filters=16, kernel_size=(5, 5),
strides=(2, 2), padding='same'))
model.add(BatchNormalization())
model.add(Activation('relu'))
model.add(Dropout(.25))
model.add(Convolution2D(filters=32, kernel_size=(5, 5), padding='same'))
model.add(BatchNormalization())
model.add(Convolution2D(filters=32, kernel_size=(5, 5),
strides=(2, 2), padding='same'))
model.add(BatchNormalization())
model.add(Activation('relu'))
model.add(Dropout(.25))
model.add(Convolution2D(filters=64, kernel_size=(3, 3), padding='same'))
model.add(BatchNormalization())
model.add(Convolution2D(filters=64, kernel_size=(3, 3),
strides=(2, 2), padding='same'))
model.add(BatchNormalization())
model.add(Activation('relu'))
model.add(Dropout(.25))
model.add(Convolution2D(filters=64, kernel_size=(1, 1), padding='same'))
model.add(BatchNormalization())
model.add(Convolution2D(filters=128, kernel_size=(3, 3),
strides=(2, 2), padding='same'))
model.add(BatchNormalization())
model.add(Activation('relu'))
model.add(Dropout(.25))
model.add(Convolution2D(filters=256, kernel_size=(1, 1), padding='same'))
model.add(BatchNormalization())
model.add(Convolution2D(filters=128, kernel_size=(3, 3),
strides=(2, 2), padding='same'))
model.add(Convolution2D(filters=256, kernel_size=(1, 1), padding='same'))
model.add(BatchNormalization())
model.add(Convolution2D(filters=num_classes, kernel_size=(3, 3),
strides=(2, 2), padding='same'))
model.add(Flatten())
#model.add(GlobalAveragePooling2D())
model.add(Activation('softmax',name='predictions'))
return model
def tiny_XCEPTION(input_shape, num_classes, l2_regularization=0.01):
regularization = l2(l2_regularization)
# base
img_input = Input(input_shape)
x = Conv2D(5, (3, 3), strides=(1, 1), kernel_regularizer=regularization,
use_bias=False)(img_input)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = Conv2D(5, (3, 3), strides=(1, 1), kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
# module 1
residual = Conv2D(8, (1, 1), strides=(2, 2),
padding='same', use_bias=False)(x)
residual = BatchNormalization()(residual)
x = SeparableConv2D(8, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = SeparableConv2D(8, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = MaxPooling2D((3, 3), strides=(2, 2), padding='same')(x)
x = layers.add([x, residual])
# module 2
residual = Conv2D(16, (1, 1), strides=(2, 2),
padding='same', use_bias=False)(x)
residual = BatchNormalization()(residual)
x = SeparableConv2D(16, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = SeparableConv2D(16, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = MaxPooling2D((3, 3), strides=(2, 2), padding='same')(x)
x = layers.add([x, residual])
# module 3
residual = Conv2D(32, (1, 1), strides=(2, 2),
padding='same', use_bias=False)(x)
residual = BatchNormalization()(residual)
x = SeparableConv2D(32, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = SeparableConv2D(32, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = MaxPooling2D((3, 3), strides=(2, 2), padding='same')(x)
x = layers.add([x, residual])
# module 4
residual = Conv2D(64, (1, 1), strides=(2, 2),
padding='same', use_bias=False)(x)
residual = BatchNormalization()(residual)
x = SeparableConv2D(64, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = SeparableConv2D(64, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = MaxPooling2D((3, 3), strides=(2, 2), padding='same')(x)
x = layers.add([x, residual])
x = Conv2D(num_classes, (3, 3),
#kernel_regularizer=regularization,
padding='same')(x)
x = GlobalAveragePooling2D()(x)
output = Activation('softmax',name='predictions')(x)
model = Model(img_input, output)
return model
def mini_XCEPTION(input_shape, num_classes, l2_regularization=0.01):
regularization = l2(l2_regularization)
# base
img_input = Input(input_shape)
x = Conv2D(8, (3, 3), strides=(1, 1), kernel_regularizer=regularization,
use_bias=False)(img_input)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = Conv2D(8, (3, 3), strides=(1, 1), kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
# module 1
residual = Conv2D(16, (1, 1), strides=(2, 2),
padding='same', use_bias=False)(x)
residual = BatchNormalization()(residual)
x = SeparableConv2D(16, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = SeparableConv2D(16, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = MaxPooling2D((3, 3), strides=(2, 2), padding='same')(x)
x = layers.add([x, residual])
# module 2
residual = Conv2D(32, (1, 1), strides=(2, 2),
padding='same', use_bias=False)(x)
residual = BatchNormalization()(residual)
x = SeparableConv2D(32, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = SeparableConv2D(32, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = MaxPooling2D((3, 3), strides=(2, 2), padding='same')(x)
x = layers.add([x, residual])
# module 3
residual = Conv2D(64, (1, 1), strides=(2, 2),
padding='same', use_bias=False)(x)
residual = BatchNormalization()(residual)
x = SeparableConv2D(64, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = SeparableConv2D(64, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = MaxPooling2D((3, 3), strides=(2, 2), padding='same')(x)
x = layers.add([x, residual])
# module 4
residual = Conv2D(128, (1, 1), strides=(2, 2),
padding='same', use_bias=False)(x)
residual = BatchNormalization()(residual)
x = SeparableConv2D(128, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = SeparableConv2D(128, (3, 3), padding='same',
kernel_regularizer=regularization,
use_bias=False)(x)
x = BatchNormalization()(x)
x = MaxPooling2D((3, 3), strides=(2, 2), padding='same')(x)
x = layers.add([x, residual])
x = Conv2D(num_classes, (3, 3),
#kernel_regularizer=regularization,
padding='same')(x)
x = GlobalAveragePooling2D()(x)
output = Activation('softmax',name='predictions')(x)
model = Model(img_input, output)
return model
def big_XCEPTION(input_shape, num_classes):
img_input = Input(input_shape)
x = Conv2D(32, (3, 3), strides=(2, 2), use_bias=False)(img_input)
x = BatchNormalization(name='block1_conv1_bn')(x)
x = Activation('relu', name='block1_conv1_act')(x)
x = Conv2D(64, (3, 3), use_bias=False)(x)
x = BatchNormalization(name='block1_conv2_bn')(x)
x = Activation('relu', name='block1_conv2_act')(x)
residual = Conv2D(128, (1, 1), strides=(2, 2),
padding='same', use_bias=False)(x)
residual = BatchNormalization()(residual)
x = SeparableConv2D(128, (3, 3), padding='same', use_bias=False)(x)
x = BatchNormalization(name='block2_sepconv1_bn')(x)
x = Activation('relu', name='block2_sepconv2_act')(x)
x = SeparableConv2D(128, (3, 3), padding='same', use_bias=False)(x)
x = BatchNormalization(name='block2_sepconv2_bn')(x)
x = MaxPooling2D((3, 3), strides=(2, 2), padding='same')(x)
x = layers.add([x, residual])
residual = Conv2D(256, (1, 1), strides=(2, 2),
padding='same', use_bias=False)(x)
residual = BatchNormalization()(residual)
x = Activation('relu', name='block3_sepconv1_act')(x)
x = SeparableConv2D(256, (3, 3), padding='same', use_bias=False)(x)
x = BatchNormalization(name='block3_sepconv1_bn')(x)
x = Activation('relu', name='block3_sepconv2_act')(x)
x = SeparableConv2D(256, (3, 3), padding='same', use_bias=False)(x)
x = BatchNormalization(name='block3_sepconv2_bn')(x)
x = MaxPooling2D((3, 3), strides=(2, 2), padding='same')(x)
x = layers.add([x, residual])
x = Conv2D(num_classes, (3, 3),
#kernel_regularizer=regularization,
padding='same')(x)
x = GlobalAveragePooling2D()(x)
output = Activation('softmax',name='predictions')(x)
model = Model(img_input, output)
return model
<<<<<<< HEAD
def VGG16(input_shape, num_classes):
weight_decay = 0.0005
#layer1 32*32*1
model = Sequential()
model.add(Convolution2D(filters=64, kernel_size=(3, 3), padding='same',
name='image_array', input_shape=input_shape))
#model.add(Conv2D(64, (3, 3), padding='same',
#input_shape=(input_shape), kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(Dropout(0.3))
#layer2 32*32*64
model.add(Conv2D(64, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(MaxPooling2D(pool_size=(2, 2)))
#layer3 16*16*64
model.add(Conv2D(128, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(Dropout(0.4))
#layer4 16*16*128
model.add(Conv2D(128, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(MaxPooling2D(pool_size=(2, 2)))
#layer5 8*8*128
model.add(Conv2D(256, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(Dropout(0.4))
#layer6 8*8*256
model.add(Conv2D(256, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(Dropout(0.4))
#layer7 8*8*256
model.add(Conv2D(256, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(MaxPooling2D(pool_size=(2, 2)))
#layer8 4*4*256
model.add(Conv2D(512, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(Dropout(0.4))
#layer9 4*4*512
model.add(Conv2D(512, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(Dropout(0.4))
#layer10 4*4*512
model.add(Conv2D(512, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(MaxPooling2D(pool_size=(2, 2)))
#layer11 2*2*512
model.add(Conv2D(512, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(Dropout(0.4))
#layer12 2*2*512
model.add(Conv2D(512, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(Dropout(0.4))
#layer13 2*2*512
model.add(Conv2D(512, (3, 3), padding='same',kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.5))
#layer14 1*1*512
model.add(Flatten())
model.add(Dense(512,kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
#layer15 512
model.add(Dense(512,kernel_regularizer=regularizers.l2(weight_decay)))
model.add(Activation('relu'))
model.add(BatchNormalization())
#layer16 512
model.add(Dropout(0.5))
model.add(Dense(7))
model.add(Activation('softmax',name='predictions'))
#model.add(Activation('softmax'))
# 10
return model
def resnet_50(input_shape, num_classes):
img_input = Input(input_shape)
x = ZeroPadding2D((3, 3))(img_input)
x = Conv2d_BN(x, nb_filter=64, kernel_size=(7, 7), strides=(2, 2), padding='valid')
x = MaxPooling2D(pool_size=(3, 3), strides=(2, 2), padding='same')(x)
#conv2_x
x = bottleneck_Block(x, nb_filters=[64,64,256],strides=(1,1),with_conv_shortcut=True)
x = bottleneck_Block(x, nb_filters=[64,64,256])
x = bottleneck_Block(x, nb_filters=[64,64,256])
#conv3_x
x = bottleneck_Block(x, nb_filters=[128, 128, 512],strides=(2,2),with_conv_shortcut=True)
x = bottleneck_Block(x, nb_filters=[128, 128, 512])
x = bottleneck_Block(x, nb_filters=[128, 128, 512])
x = bottleneck_Block(x, nb_filters=[128, 128, 512])
#conv4_x
x = bottleneck_Block(x, nb_filters=[256, 256, 1024],strides=(2,2),with_conv_shortcut=True)
x = bottleneck_Block(x, nb_filters=[256, 256, 1024])
x = bottleneck_Block(x, nb_filters=[256, 256, 1024])
x = bottleneck_Block(x, nb_filters=[256, 256, 1024])
x = bottleneck_Block(x, nb_filters=[256, 256, 1024])
x = bottleneck_Block(x, nb_filters=[256, 256, 1024])
#conv5_x
x = bottleneck_Block(x, nb_filters=[512, 512, 2048], strides=(2, 2), with_conv_shortcut=True)
x = bottleneck_Block(x, nb_filters=[512, 512, 2048])
x = bottleneck_Block(x, nb_filters=[512, 512, 2048])
x = AveragePooling2D(pool_size=(2, 2))(x)
x = Flatten()(x)
x = Dense(num_classes, activation='softmax')(x)
model = Model(inputs=img_input, outputs=x)
return model
=======
>>>>>>> 0ad164512934b6ff8cf616e4588820dc0f9827a9
if __name__ == "__main__":
input_shape = (64, 64, 1)
num_classes = 7
#model = tiny_XCEPTION(input_shape, num_classes)
#model.summary()
#model = mini_XCEPTION(input_shape, num_classes)
#model.summary()
#model = big_XCEPTION(input_shape, num_classes)
#model.summary()
model = simple_CNN((48, 48, 1), num_classes)
model.summary()
| 39.403774 | 145 | 0.627131 | 2,578 | 20,884 | 4.962762 | 0.058185 | 0.081913 | 0.039393 | 0.04166 | 0.853369 | 0.83375 | 0.823042 | 0.807097 | 0.786072 | 0.763717 | 0 | 0.061265 | 0.219977 | 20,884 | 529 | 146 | 39.478261 | 0.724125 | 0.04094 | 0 | 0.77561 | 0 | 0 | 0.043633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.056098 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e2f1b0d88710d59e067363e941384a30fdb9172f | 8,931 | py | Python | env/prv_project/prv_app/splitSent.py | GroovyCat/PRView-project | 28d2e80dcc03f82316c68d8162f2ec96703cb503 | [
"MIT"
] | 1 | 2019-05-19T15:05:23.000Z | 2019-05-19T15:05:23.000Z | env/prv_project/prv_app/splitSent.py | GroovyCat/PRView-project | 28d2e80dcc03f82316c68d8162f2ec96703cb503 | [
"MIT"
] | null | null | null | env/prv_project/prv_app/splitSent.py | GroovyCat/PRView-project | 28d2e80dcc03f82316c68d8162f2ec96703cb503 | [
"MIT"
] | null | null | null | '''
텍스트 데이터를 기반으로 한 문장을 분석하여 명사를 추출하고
빈도수 별로 순위를 매겨 저장하기 위한 모듈
이 모듈이 같은 폴더, 하위 폴더에 있을 시
from splitSen import get_tags(text: str, noun_count: int) 로 불러와서
tags = get_tags(text: str, noun_count: int) 로 사용하면 됩니다.
이 모듈이 상위 폴더에 있을 시
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
을 추가해 절대경로 추가
빈도 별 내림차순으로 정렬 된 리스트 반환
'''
from konlpy.tag import Okt
from collections import Counter
import matplotlib.pyplot as plt # 워드 클라우드 이미지 생성을 위한 import
from wordcloud import WordCloud
import random
import numpy as np
from PIL import Image
def blue_color_func(word, font_size, position, orientation, random_state=None,**kwargs):
return "hsl(955, 100%%, %d%%)" % random.randint(40, 100)#"hsl(색, 다양성, )" % random.radint(밝기,)
#def grey_color_func(word, font_size, position, orientation, random_state=None,**kwargs):
#return "hsl(0, 0%%, %d%%)" % random.randint(90, 100)
def red_color_func(word, font_size, position, orientation, random_state=None,**kwargs):
return "hsl(0, 100%%, %d%%)" % random.randint(60, 100)
def get_tags_all_url(text, noun_count):
spliter = Okt()
nouns = spliter.nouns(text) # nouns 함수를 통해서 text에서 명사만 분리/추출
count = Counter(nouns) # Counter 객체를 생성하고 참조변수 nouns할당
return_list = {} # 명사와 빈도를 저장하기 위한 딕셔너리
# most_common 메소드는 정수를 입력받아 객체 안의 명사중 빈도 수가
# 큰 명사부터 순서대로 입력받은 정수 갯수만큼 저장되어있는 객체 반환
for n, c in count.most_common(noun_count):
return_list[n] = c # {명사1 : 빈도, 명사2 : 빈도, 명사3 : 빈도 ...} 형식으로 딕셔너리 저장
market_mask = np.array(Image.open("C:/Python_basic/env/prv_project/prv_app/static/img/market.png"))#좋아요 mask
font_path = 'C:/Python_basic/env/prv_project/prv_app/Maplestory_Bold.ttf'#글꼴 경로 설정
wordcloud = WordCloud(font_path = font_path, width = 800, height = 800,
background_color="white",#
contour_width=1,#테두리 굵기
contour_color='black',#테두리
mask = market_mask #마스크 설정
)
wordcloud = wordcloud.generate_from_frequencies(return_list)#워드클라우드 생
array = wordcloud.to_array()
fig = plt.figure(figsize=(10, 10))
plt.imshow(array, interpolation="bilinear")
plt.axis("off") # x, y 축의 scale을 안 보이도록 함
#plt.show() # 생성한 워드 클라우드를 출력한다. 결과 확인용, 최종적으로는 없애도 되는 코드
fig.savefig('C:/Python_basic/env/prv_project/prv_app/static/img_all/url_all.png') # 해당 이름으로 png 저장
def get_tags_pos_url(text, noun_count):
spliter = Okt()
nouns = spliter.nouns(text) # nouns 함수를 통해서 text에서 명사만 분리/추출
count = Counter(nouns) # Counter 객체를 생성하고 참조변수 nouns할당
return_list = {} # 명사와 빈도를 저장하기 위한 딕셔너리
# most_common 메소드는 정수를 입력받아 객체 안의 명사중 빈도 수가
# 큰 명사부터 순서대로 입력받은 정수 갯수만큼 저장되어있는 객체 반환
for n, c in count.most_common(noun_count):
return_list[n] = c # {명사1 : 빈도, 명사2 : 빈도, 명사3 : 빈도 ...} 형식으로 딕셔너리 저장
like_mask = np.array(Image.open("C:/Python_basic/env/prv_project/prv_app/static/img/like.png"))#좋아요 mask
font_path = 'C:/Python_basic/env/prv_project/prv_app/Maplestory_Bold.ttf'#글꼴 경로 설정
wordcloud = WordCloud(font_path = font_path, width = 800, height = 800,
background_color="white",#
contour_width=1,#테두리 굵기
contour_color='steelblue',#테두리
mask = like_mask #마스크 설정
)
wordcloud = wordcloud.generate_from_frequencies(return_list)#워드클라우드 생성
array = wordcloud.to_array()
fig = plt.figure(figsize=(10, 10))
plt.imshow(wordcloud.recolor(color_func=blue_color_func, random_state=3),interpolation="bilinear")
plt.axis("off") # x, y 축의 scale을 안 보이도록 함
#plt.show() # 생성한 워드 클라우드를 출력한다. 결과 확인용, 최종적으로는 없애도 되는 코드
fig.savefig('C:/Python_basic/env/prv_project/prv_app/static/img_pos/url_pos.png') # 해당 이름으로 png 저장
def get_tags_neg_url(text, noun_count):
spliter = Okt()
nouns = spliter.nouns(text) # nouns 함수를 통해서 text에서 명사만 분리/추출
count = Counter(nouns) # Counter 객체를 생성하고 참조변수 nouns할당
return_list = {} # 명사와 빈도를 저장하기 위한 딕셔너리
# most_common 메소드는 정수를 입력받아 객체 안의 명사중 빈도 수가
# 큰 명사부터 순서대로 입력받은 정수 갯수만큼 저장되어있는 객체 반환
for n, c in count.most_common(noun_count):
return_list[n] = c # {명사1 : 빈도, 명사2 : 빈도, 명사3 : 빈도 ...} 형식으로 딕셔너리 저장
dislike_mask = np.array(Image.open("C:/Python_basic/env/prv_project/prv_app/static/img/dislike.png"))#싫어요 mask
font_path = 'C:/Python_basic/env/prv_project/prv_app/Maplestory_Bold.ttf'#글꼴 경로 설정
wordcloud = WordCloud(font_path = font_path, width = 800, height = 800,
background_color="white",#바탕색
contour_width=1,#테두리 굵기
contour_color='red',#테두리색
mask = dislike_mask #마스크 설정
)
wordcloud = wordcloud.generate_from_frequencies(return_list)#워드클라우드 생성
array = wordcloud.to_array()
fig = plt.figure(figsize=(10, 10))
plt.imshow(wordcloud.recolor(color_func=red_color_func, random_state=3),interpolation="bilinear")
plt.axis("off") # x, y 축의 scale을 안 보이도록 함
#plt.show() # 생성한 워드 클라우드를 출력한다. 결과 확인용, 최종적으로는 없애도 되는 코드
fig.savefig('C:/Python_basic/env/prv_project/prv_app/static/img_neg/url_neg.png') # 해당 이름으로 png 저장
def get_tags_all_movie(text, noun_count):
spliter = Okt()
nouns = spliter.nouns(text) # nouns 함수를 통해서 text에서 명사만 분리/추출
count = Counter(nouns) # Counter 객체를 생성하고 참조변수 nouns할당
return_list = {} # 명사와 빈도를 저장하기 위한 딕셔너리
# most_common 메소드는 정수를 입력받아 객체 안의 명사중 빈도 수가
# 큰 명사부터 순서대로 입력받은 정수 갯수만큼 저장되어있는 객체 반환
for n, c in count.most_common(noun_count):
return_list[n] = c # {명사1 : 빈도, 명사2 : 빈도, 명사3 : 빈도 ...} 형식으로 딕셔너리 저장
movie_mask = np.array(Image.open("C:/Python_basic/env/prv_project/prv_app/static/img/movie.png"))
font_path = 'C:/Python_basic/env/prv_project/prv_app/Maplestory_Bold.ttf'#글꼴 경로 설정
wordcloud = WordCloud(font_path = font_path, width = 800, height = 800,
background_color="white",#바탕색
contour_width=1,#테두리 굵기
contour_color='black',#테두리색
mask = movie_mask #마스크 설정
)
wordcloud = wordcloud.generate_from_frequencies(return_list)
array = wordcloud.to_array()
fig = plt.figure(figsize=(10, 10))
plt.imshow(array, interpolation="bilinear")
plt.axis("off") # x, y 축의 scale을 안 보이도록 함
#plt.show() # 생성한 워드 클라우드를 출력한다. 결과 확인용, 최종적으로는 없애도 되는 코드
fig.savefig('C:/Python_basic/env/prv_project/prv_app/static/img_all/movie_all.png') # 해당 이름으로 png 저장
def get_tags_pos_movie(text, noun_count):
spliter = Okt()
nouns = spliter.nouns(text) # nouns 함수를 통해서 text에서 명사만 분리/추출
count = Counter(nouns) # Counter 객체를 생성하고 참조변수 nouns할당
return_list = {} # 명사와 빈도를 저장하기 위한 딕셔너리
# most_common 메소드는 정수를 입력받아 객체 안의 명사중 빈도 수가
# 큰 명사부터 순서대로 입력받은 정수 갯수만큼 저장되어있는 객체 반환
for n, c in count.most_common(noun_count):
return_list[n] = c # {명사1 : 빈도, 명사2 : 빈도, 명사3 : 빈도 ...} 형식으로 딕셔너리 저장
like_mask = np.array(Image.open("C:/Python_basic/env/prv_project/prv_app/static/img/like.png"))#좋아요 mask
font_path = 'C:/Python_basic/env/prv_project/prv_app/Maplestory_Bold.ttf'#글꼴 경로 설정
wordcloud = WordCloud(font_path = font_path, width = 800, height = 800,
background_color="white",#
contour_width=1,#테두리 굵기
contour_color='steelblue',#테두리
mask = like_mask #마스크 설정
)
wordcloud = wordcloud.generate_from_frequencies(return_list)#워드클라우드 생성
array = wordcloud.to_array()
fig = plt.figure(figsize=(10, 10))
plt.imshow(wordcloud.recolor(color_func=blue_color_func, random_state=3),interpolation="bilinear")
plt.axis("off") # x, y 축의 scale을 안 보이도록 함
#plt.show() # 생성한 워드 클라우드를 출력한다. 결과 확인용, 최종적으로는 없애도 되는 코드
fig.savefig('C:/Python_basic/env/prv_project/prv_app/static/img_pos/movie_pos.png') # 해당 이름으로 png 저장
def get_tags_neg_movie(text, noun_count):
spliter = Okt()
nouns = spliter.nouns(text) # nouns 함수를 통해서 text에서 명사만 분리/추출
count = Counter(nouns) # Counter 객체를 생성하고 참조변수 nouns할당
return_list = {} # 명사와 빈도를 저장하기 위한 딕셔너리
# most_common 메소드는 정수를 입력받아 객체 안의 명사중 빈도 수가
# 큰 명사부터 순서대로 입력받은 정수 갯수만큼 저장되어있는 객체 반환
for n, c in count.most_common(noun_count):
return_list[n] = c # {명사1 : 빈도, 명사2 : 빈도, 명사3 : 빈도 ...} 형식으로 딕셔너리 저장
dislike_mask = np.array(Image.open("C:/Python_basic/env/prv_project/prv_app/static/img/dislike.png"))#싫어요 mask
font_path = 'C:/Python_basic/env/prv_project/prv_app/Maplestory_Bold.ttf'#글꼴 경로 설정
wordcloud = WordCloud(font_path = font_path, width = 800, height = 800,
background_color="white",#바탕색
contour_width=1,#테두리 굵기
contour_color='red',#테두리색
mask = dislike_mask #마스크 설정
)
wordcloud = wordcloud.generate_from_frequencies(return_list)#워드클라우드 생성
array = wordcloud.to_array()
fig = plt.figure(figsize=(10, 10))
plt.imshow(wordcloud.recolor(color_func=red_color_func, random_state=3),interpolation="bilinear")
plt.axis("off") # x, y 축의 scale을 안 보이도록 함
#plt.show() # 생성한 워드 클라우드를 출력한다. 결과 확인용, 최종적으로는 없애도 되는 코드
fig.savefig('C:/Python_basic/env/prv_project/prv_app/static/img_neg/movie_neg.png') # 해당 이름으로 png 저장 | 44.432836 | 114 | 0.685366 | 1,453 | 8,931 | 4.051617 | 0.153476 | 0.030576 | 0.036691 | 0.045864 | 0.905215 | 0.905215 | 0.901818 | 0.901818 | 0.886869 | 0.886869 | 0 | 0.016039 | 0.197178 | 8,931 | 201 | 115 | 44.432836 | 0.805021 | 0.291457 | 0 | 0.759124 | 0 | 0 | 0.208509 | 0.181009 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058394 | false | 0 | 0.051095 | 0.014599 | 0.124088 | 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 |
1a67f65d6e202e6504998e041cbbd01f668fe00e | 8,509 | py | Python | net/convnet.py | TrueNobility303/image-classification-CIFAR10 | e0200d9b4d4f6ceaf058177abebd3f6510aebd9a | [
"MIT"
] | 2 | 2021-06-10T16:19:50.000Z | 2021-06-16T10:55:14.000Z | net/convnet.py | TrueNobility303/image-classification-CIFAR10 | e0200d9b4d4f6ceaf058177abebd3f6510aebd9a | [
"MIT"
] | null | null | null | net/convnet.py | TrueNobility303/image-classification-CIFAR10 | e0200d9b4d4f6ceaf058177abebd3f6510aebd9a | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch.nn.functional as F
import torch
import torchvision
from torchvision import models
from torchsummary import summary
from config import device
class ConvNet(nn.Module):
def __init__(self, n_classes=10):
super().__init__()
self.n_classes = n_classes
self.conv_block1 = nn.Sequential(
nn.Conv2d(3, 64, 3, padding=1),
nn.ReLU(inplace=True),
nn.Conv2d(64, 64, 3, padding=1),
nn.ReLU(inplace=True),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block2 = nn.Sequential(
nn.Conv2d(64, 128, 3, padding=1),
nn.ReLU(inplace=True),
nn.Conv2d(128, 128, 3, padding=1),
nn.ReLU(inplace=True),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block3 = nn.Sequential(
nn.Conv2d(128, 256, 3, padding=1),
nn.ReLU(inplace=True),
nn.Conv2d(256, 256, 3, padding=1),
nn.ReLU(inplace=True),
nn.Conv2d(256, 256, 3, padding=1),
nn.ReLU(inplace=True),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.classifier = nn.Sequential(
nn.Linear(4*4*256, 4096),
nn.ReLU(inplace=True),
nn.Dropout(),
nn.Linear(4096, 1024),
nn.ReLU(inplace=True),
nn.Dropout(),
nn.Linear(1024, self.n_classes),
)
def forward(self,x):
n_batch = x.shape[0]
x = self.conv_block1(x)
x = self.conv_block2(x)
x = self.conv_block3(x)
x = x.view(n_batch,-1)
y = self.classifier(x)
return y
class ConvNet_Sigmoid(nn.Module):
def __init__(self, n_classes=10):
super().__init__()
self.n_classes = n_classes
self.conv_block1 = nn.Sequential(
nn.Conv2d(3, 64, 3, padding=1),
nn.Sigmoid(),
nn.Conv2d(64, 64, 3, padding=1),
nn.Sigmoid(),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block2 = nn.Sequential(
nn.Conv2d(64, 128, 3, padding=1),
nn.Sigmoid(),
nn.Conv2d(128, 128, 3, padding=1),
nn.Sigmoid(),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block3 = nn.Sequential(
nn.Conv2d(128, 256, 3, padding=1),
nn.Sigmoid(),
nn.Conv2d(256, 256, 3, padding=1),
nn.Sigmoid(),
nn.Conv2d(256, 256, 3, padding=1),
nn.Sigmoid(),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.classifier = nn.Sequential(
nn.Linear(4*4*256, 4096),
nn.Sigmoid(),
nn.Dropout(),
nn.Linear(4096, 1024),
nn.Sigmoid(),
nn.Dropout(),
nn.Linear(1024, self.n_classes),
)
def forward(self,x):
n_batch = x.shape[0]
x = self.conv_block1(x)
x = self.conv_block2(x)
x = self.conv_block3(x)
x = x.view(n_batch,-1)
y = self.classifier(x)
return y
class ConvNet_Tanh(nn.Module):
def __init__(self, n_classes=10):
super().__init__()
self.n_classes = n_classes
self.conv_block1 = nn.Sequential(
nn.Conv2d(3, 64, 3, padding=1),
nn.Tanh(),
nn.Conv2d(64, 64, 3, padding=1),
nn.Tanh(),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block2 = nn.Sequential(
nn.Conv2d(64, 128, 3, padding=1),
nn.Tanh(),
nn.Conv2d(128, 128, 3, padding=1),
nn.Tanh(),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block3 = nn.Sequential(
nn.Conv2d(128, 256, 3, padding=1),
nn.Tanh(),
nn.Conv2d(256, 256, 3, padding=1),
nn.Tanh(),
nn.Conv2d(256, 256, 3, padding=1),
nn.Tanh(),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.classifier = nn.Sequential(
nn.Linear(4*4*256, 4096),
nn.Tanh(),
nn.Dropout(),
nn.Linear(4096, 1024),
nn.Tanh(),
nn.Dropout(),
nn.Linear(1024, self.n_classes),
)
def forward(self,x):
n_batch = x.shape[0]
x = self.conv_block1(x)
x = self.conv_block2(x)
x = self.conv_block3(x)
x = x.view(n_batch,-1)
y = self.classifier(x)
return y
class ConvNet_Elu(nn.Module):
def __init__(self, n_classes=10):
super().__init__()
self.n_classes = n_classes
self.conv_block1 = nn.Sequential(
nn.Conv2d(3, 64, 3, padding=1),
nn.ELU(inplace=True),
nn.Conv2d(64, 64, 3, padding=1),
nn.ELU(inplace=True),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block2 = nn.Sequential(
nn.Conv2d(64, 128, 3, padding=1),
nn.ELU(inplace=True),
nn.Conv2d(128, 128, 3, padding=1),
nn.ELU(inplace=True),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block3 = nn.Sequential(
nn.Conv2d(128, 256, 3, padding=1),
nn.ELU(inplace=True),
nn.Conv2d(256, 256, 3, padding=1),
nn.ELU(inplace=True),
nn.Conv2d(256, 256, 3, padding=1),
nn.ELU(inplace=True),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.classifier = nn.Sequential(
nn.Linear(4*4*256, 4096),
nn.ELU(inplace=True),
nn.Dropout(),
nn.Linear(4096, 1024),
nn.ELU(inplace=True),
nn.Dropout(),
nn.Linear(1024, self.n_classes),
)
def forward(self,x):
n_batch = x.shape[0]
x = self.conv_block1(x)
x = self.conv_block2(x)
x = self.conv_block3(x)
x = x.view(n_batch,-1)
y = self.classifier(x)
return y
class ConvNet_Big(nn.Module):
def __init__(self, n_classes=10):
super().__init__()
self.n_classes = n_classes
self.conv_block1 = nn.Sequential(
nn.Conv2d(3, 64, 5, padding=2),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block2 = nn.Sequential(
nn.Conv2d(64, 128, 5, padding=2),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block3 = nn.Sequential(
nn.Conv2d(128, 256, 5, padding=2),
nn.ReLU(inplace=True),
nn.Conv2d(256, 256, 5, padding=2),
nn.ReLU(inplace=True),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.classifier = nn.Sequential(
nn.Linear(4*4*256, 4096),
nn.ReLU(inplace=True),
nn.Dropout(),
nn.Linear(4096, 1024),
nn.ReLU(inplace=True),
nn.Dropout(),
nn.Linear(1024, self.n_classes),
)
def forward(self,x):
n_batch = x.shape[0]
x = self.conv_block1(x)
x = self.conv_block2(x)
x = self.conv_block3(x)
x = x.view(n_batch,-1)
y = self.classifier(x)
return y
class ConvNet_Bigger(nn.Module):
def __init__(self, n_classes=10):
super().__init__()
self.n_classes = n_classes
self.conv_block1 = nn.Sequential(
nn.Conv2d(3, 64, 5, padding=2),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block2 = nn.Sequential(
nn.Conv2d(64, 128, 5, padding=2),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.conv_block3 = nn.Sequential(
nn.Conv2d(128, 256, 7, padding=3),
nn.MaxPool2d(2, stride=2, ceil_mode=True),
)
self.classifier = nn.Sequential(
nn.Linear(4*4*256, 4096),
nn.ReLU(inplace=True),
nn.Dropout(),
nn.Linear(4096, 1024),
nn.ReLU(inplace=True),
nn.Dropout(),
nn.Linear(1024, self.n_classes),
)
def forward(self,x):
n_batch = x.shape[0]
x = self.conv_block1(x)
x = self.conv_block2(x)
x = self.conv_block3(x)
x = x.view(n_batch,-1)
y = self.classifier(x)
return y
| 29.341379 | 54 | 0.510753 | 1,105 | 8,509 | 3.80362 | 0.057919 | 0.068522 | 0.059957 | 0.073281 | 0.95408 | 0.95408 | 0.948846 | 0.930764 | 0.914823 | 0.892934 | 0 | 0.094798 | 0.351628 | 8,509 | 289 | 55 | 29.442907 | 0.667029 | 0 | 0 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.027778 | 0 | 0.123016 | 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 |
1a8764d44b3e89475314d35c8965ba723db28cf8 | 5,602 | py | Python | feats_extraction/logpowerspec.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | 2 | 2021-09-28T19:49:29.000Z | 2021-10-04T07:49:04.000Z | feats_extraction/logpowerspec.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | null | null | null | feats_extraction/logpowerspec.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | 1 | 2021-11-22T09:27:18.000Z | 2021-11-22T09:27:18.000Z | import numpy as np
import librosa
from generic import stft, cqt, load_wav, preemphasis, load_wav_snf
# def logpowspec(wav_path, sr=16000, n_fft=512, hop_length=160, win_length=400, window="hann", pre_emphasis=None, a_min=1e-30):
# """Compute log power magnitude spectra (logspec).
# Returns:
# D:np.ndarray [shape=(t, 1 + n_fft/2), dtype=dtype]
# """
# wav = load_wav_snf(wav_path)
# if pre_emphasis is not None:
# wav = preemphasis(wav, k=pre_emphasis)
# spec = stft(wav, n_fft=n_fft, hop_length=hop_length, win_length=win_length, window=window)
# mag_spec = np.abs(spec)
# powspec = 1.0 / n_fft * np.square(mag_spec)
# powspec[powspec <= a_min] = a_min
# lps = 10 * np.log10(powspec)
# return lps
def logmagspec(wav_path, sr=16000, n_fft=512, hop_length=160, win_length=400, window="hann", pre_emphasis=None):
"""Compute log power magnitude spectra (logspec).
Returns:
D:np.ndarray [shape=(t, 1 + n_fft/2), dtype=dtype]
"""
wav = load_wav_snf(wav_path)
if pre_emphasis is not None:
wav = preemphasis(wav, k=pre_emphasis)
spec = stft(wav, n_fft=n_fft, hop_length=hop_length, win_length=win_length, window=window)
mag_spec = np.abs(spec)
mag_spec[mag_spec <= 1e-30] = 1e-30
lms = 10 * np.log10(mag_spec)
return lms
def logpowcqt(wav_path, sr=16000, hop_length=512, n_bins=528, bins_per_octave=48, window="hann", fmin=3.5, pre_emphasis=0.97, ref=1.0, amin=1e-30, top_db=None):
"""Compute log power magnitude spectra (logspec).
This computes the scaling ``10 * log10(S / ref)`` in a numerically
stable way.
Returns:
D:np.ndarray [shape=(t, 1 + n_fft/2), dtype=dtype]
ref : scalar or callable
If scalar, the amplitude `abs(S)` is scaled relative to `ref`:
`10 * log10(S / ref)`.
Zeros in the output correspond to positions where `S == ref`.
If callable, the reference value is computed as `ref(S)`.
amin : float > 0 [scalar], ``S_db ~= 10 * log10(S) - 10 * log10(ref)``
minimum threshold for `abs(S)` and `ref`
top_db : float >= 0 [scalar]
threshold the output at `top_db` below the peak:
``max(10 * log10(S)) - top_db``
"""
wav = load_wav_snf(wav_path)
if pre_emphasis is not None:
wav = preemphasis(wav, k=pre_emphasis)
cqtfeats = cqt(wav, sr=sr, hop_length=hop_length, n_bins=n_bins, bins_per_octave=bins_per_octave, window=window, fmin=fmin)
magcqt = np.abs(cqtfeats)
powcqt = np.square(magcqt)
logpowcqt = librosa.power_to_db(powcqt, ref, amin, top_db)
return logpowcqt
def logpowspec(wav_path, sr=16000, n_fft=512, hop_length=160, win_length=400, window="hann", pre_emphasis=0.97, ref=1.0, amin=1e-30, top_db=None):
"""Compute log power magnitude spectra (logspec).
This computes the scaling ``10 * log10(S / ref)`` in a numerically
stable way.
Returns:
D:np.ndarray [shape=(t, 1 + n_fft/2), dtype=dtype]
ref : scalar or callable
If scalar, the amplitude `abs(S)` is scaled relative to `ref`:
`10 * log10(S / ref)`.
Zeros in the output correspond to positions where `S == ref`.
If callable, the reference value is computed as `ref(S)`.
amin : float > 0 [scalar], ``S_db ~= 10 * log10(S) - 10 * log10(ref)``
minimum threshold for `abs(S)` and `ref`
top_db : float >= 0 [scalar]
threshold the output at `top_db` below the peak:
``max(10 * log10(S)) - top_db``
"""
wav = load_wav_snf(wav_path)
if pre_emphasis is not None:
wav = preemphasis(wav, k=pre_emphasis)
spec = stft(wav, n_fft=n_fft, hop_length=hop_length, win_length=win_length, window=window)
# spec = spec[:-2, :] # TODO: check why there are two abnormal frames.
mag_spec = np.abs(spec)
powspec = np.square(mag_spec)
logpowspec = librosa.power_to_db(powspec, ref, amin, top_db)
return logpowspec
def logpowspec_multichannel(wav_path, channel, sr=16000, n_fft=512, hop_length=160, win_length=400, window="hann", pre_emphasis=0.97, ref=1.0, amin=1e-30, top_db=None):
"""Compute log power magnitude spectra (logspec).
This computes the scaling ``10 * log10(S / ref)`` in a numerically
stable way.
Returns:
D:np.ndarray [shape=(t, 1 + n_fft/2), dtype=dtype]
ref : scalar or callable
If scalar, the amplitude `abs(S)` is scaled relative to `ref`:
`10 * log10(S / ref)`.
Zeros in the output correspond to positions where `S == ref`.
If callable, the reference value is computed as `ref(S)`.
amin : float > 0 [scalar], ``S_db ~= 10 * log10(S) - 10 * log10(ref)``
minimum threshold for `abs(S)` and `ref`
top_db : float >= 0 [scalar]
threshold the output at `top_db` below the peak:
``max(10 * log10(S)) - top_db``
"""
wav = load_wav_snf(wav_path)
try:
wav = wav[:, channel]
except:
wav = wav
if pre_emphasis is not None:
wav = preemphasis(wav, k=pre_emphasis)
spec = stft(wav, n_fft=n_fft, hop_length=hop_length, win_length=win_length, window=window)
# spec = spec[:-2, :] # TODO: check why there are two abnormal frames.
mag_spec = np.abs(spec)
powspec = np.square(mag_spec)
logpowspec = librosa.power_to_db(powspec, ref, amin, top_db)
return logpowspec
if __name__ == '__main__':
wav_path = '/apdcephfs/private_nenali/lixu/Data_Source/ASVspoof2019/PA/ASVspoof2019_PA_train/flac/PA_T_0000001.flac'
print(wav_path)
lpcqt = logpowcqt(wav_path)
print(lpcqt.shape) | 43.426357 | 168 | 0.649054 | 873 | 5,602 | 3.996564 | 0.162658 | 0.020636 | 0.027515 | 0.018917 | 0.802522 | 0.797363 | 0.795357 | 0.795357 | 0.795357 | 0.795357 | 0 | 0.047488 | 0.221885 | 5,602 | 129 | 169 | 43.426357 | 0.752925 | 0.51678 | 0 | 0.5 | 0 | 0 | 0.051584 | 0.041836 | 0 | 0 | 0 | 0.015504 | 0 | 1 | 0.083333 | false | 0 | 0.0625 | 0 | 0.229167 | 0.041667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
46fa5e4c71861bde7a2c016a3b37455650c5f1b6 | 12,658 | py | Python | src/genie/libs/parser/iosxe/tests/ShowPlatformHardwareFedActiveQosQueuelabel2qmapQmapegressdataInterface/cli/equal/golden_output11_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowPlatformHardwareFedActiveQosQueuelabel2qmapQmapegressdataInterface/cli/equal/golden_output11_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowPlatformHardwareFedActiveQosQueuelabel2qmapQmapegressdataInterface/cli/equal/golden_output11_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | expected_output ={0: {'queue': 1, 'threshold': 2, 'v_queue': 0},
1: {'queue': 1, 'threshold': 2, 'v_queue': 0},
2: {'queue': 1, 'threshold': 2, 'v_queue': 0},
3: {'queue': 1, 'threshold': 2, 'v_queue': 0},
4: {'queue': 1, 'threshold': 2, 'v_queue': 0},
5: {'queue': 1, 'threshold': 2, 'v_queue': 0},
6: {'queue': 1, 'threshold': 2, 'v_queue': 0},
7: {'queue': 1, 'threshold': 2, 'v_queue': 0},
8: {'queue': 1, 'threshold': 2, 'v_queue': 0},
9: {'queue': 1, 'threshold': 2, 'v_queue': 0},
10: {'queue': 1, 'threshold': 2, 'v_queue': 0},
11: {'queue': 1, 'threshold': 2, 'v_queue': 0},
12: {'queue': 1, 'threshold': 2, 'v_queue': 0},
13: {'queue': 1, 'threshold': 2, 'v_queue': 0},
14: {'queue': 1, 'threshold': 2, 'v_queue': 0},
15: {'queue': 1, 'threshold': 2, 'v_queue': 0},
16: {'queue': 1, 'threshold': 2, 'v_queue': 0},
17: {'queue': 0, 'threshold': 0, 'v_queue': 0},
18: {'queue': 1, 'threshold': 2, 'v_queue': 0},
19: {'queue': 1, 'threshold': 2, 'v_queue': 0},
20: {'queue': 1, 'threshold': 2, 'v_queue': 0},
21: {'queue': 1, 'threshold': 2, 'v_queue': 0},
22: {'queue': 1, 'threshold': 2, 'v_queue': 0},
23: {'queue': 1, 'threshold': 2, 'v_queue': 0},
24: {'queue': 1, 'threshold': 2, 'v_queue': 0},
25: {'queue': 0, 'threshold': 0, 'v_queue': 0},
26: {'queue': 1, 'threshold': 2, 'v_queue': 0},
27: {'queue': 1, 'threshold': 2, 'v_queue': 0},
28: {'queue': 1, 'threshold': 2, 'v_queue': 0},
29: {'queue': 1, 'threshold': 2, 'v_queue': 0},
30: {'queue': 1, 'threshold': 2, 'v_queue': 0},
31: {'queue': 1, 'threshold': 2, 'v_queue': 0},
32: {'queue': 1, 'threshold': 2, 'v_queue': 0},
33: {'queue': 0, 'threshold': 0, 'v_queue': 0},
34: {'queue': 1, 'threshold': 2, 'v_queue': 0},
35: {'queue': 1, 'threshold': 2, 'v_queue': 0},
36: {'queue': 1, 'threshold': 2, 'v_queue': 0},
37: {'queue': 1, 'threshold': 2, 'v_queue': 0},
38: {'queue': 1, 'threshold': 2, 'v_queue': 0},
39: {'queue': 1, 'threshold': 2, 'v_queue': 0},
40: {'queue': 1, 'threshold': 2, 'v_queue': 0},
41: {'queue': 0, 'threshold': 0, 'v_queue': 0},
42: {'queue': 1, 'threshold': 2, 'v_queue': 0},
43: {'queue': 1, 'threshold': 2, 'v_queue': 0},
44: {'queue': 1, 'threshold': 2, 'v_queue': 0},
45: {'queue': 1, 'threshold': 2, 'v_queue': 0},
46: {'queue': 1, 'threshold': 2, 'v_queue': 0},
47: {'queue': 0, 'threshold': 0, 'v_queue': 0},
48: {'queue': 1, 'threshold': 2, 'v_queue': 0},
49: {'queue': 0, 'threshold': 1, 'v_queue': 0},
50: {'queue': 1, 'threshold': 2, 'v_queue': 0},
51: {'queue': 1, 'threshold': 2, 'v_queue': 0},
52: {'queue': 1, 'threshold': 2, 'v_queue': 0},
53: {'queue': 1, 'threshold': 2, 'v_queue': 0},
54: {'queue': 1, 'threshold': 2, 'v_queue': 0},
55: {'queue': 1, 'threshold': 2, 'v_queue': 0},
56: {'queue': 1, 'threshold': 2, 'v_queue': 0},
57: {'queue': 0, 'threshold': 1, 'v_queue': 0},
58: {'queue': 1, 'threshold': 2, 'v_queue': 0},
59: {'queue': 1, 'threshold': 2, 'v_queue': 0},
60: {'queue': 1, 'threshold': 2, 'v_queue': 0},
61: {'queue': 1, 'threshold': 2, 'v_queue': 0},
62: {'queue': 1, 'threshold': 2, 'v_queue': 0},
63: {'queue': 1, 'threshold': 2, 'v_queue': 0},
64: {'queue': 1, 'threshold': 2, 'v_queue': 0},
65: {'queue': 1, 'threshold': 2, 'v_queue': 0},
66: {'queue': 1, 'threshold': 2, 'v_queue': 0},
67: {'queue': 1, 'threshold': 2, 'v_queue': 0},
68: {'queue': 1, 'threshold': 2, 'v_queue': 0},
69: {'queue': 0, 'threshold': 0, 'v_queue': 0},
70: {'queue': 0, 'threshold': 0, 'v_queue': 0},
71: {'queue': 0, 'threshold': 1, 'v_queue': 0},
72: {'queue': 0, 'threshold': 1, 'v_queue': 0},
73: {'queue': 1, 'threshold': 2, 'v_queue': 0},
74: {'queue': 1, 'threshold': 2, 'v_queue': 0},
75: {'queue': 1, 'threshold': 2, 'v_queue': 0},
76: {'queue': 1, 'threshold': 2, 'v_queue': 0},
77: {'queue': 0, 'threshold': 1, 'v_queue': 0},
78: {'queue': 0, 'threshold': 1, 'v_queue': 0},
79: {'queue': 0, 'threshold': 1, 'v_queue': 0},
80: {'queue': 0, 'threshold': 1, 'v_queue': 0},
81: {'queue': 1, 'threshold': 2, 'v_queue': 0},
82: {'queue': 1, 'threshold': 2, 'v_queue': 0},
83: {'queue': 1, 'threshold': 2, 'v_queue': 0},
84: {'queue': 1, 'threshold': 2, 'v_queue': 0},
85: {'queue': 1, 'threshold': 2, 'v_queue': 0},
86: {'queue': 1, 'threshold': 2, 'v_queue': 0},
87: {'queue': 1, 'threshold': 2, 'v_queue': 0},
88: {'queue': 1, 'threshold': 2, 'v_queue': 0},
89: {'queue': 1, 'threshold': 2, 'v_queue': 0},
90: {'queue': 1, 'threshold': 2, 'v_queue': 0},
91: {'queue': 1, 'threshold': 2, 'v_queue': 0},
92: {'queue': 1, 'threshold': 2, 'v_queue': 0},
93: {'queue': 1, 'threshold': 2, 'v_queue': 0},
94: {'queue': 1, 'threshold': 2, 'v_queue': 0},
95: {'queue': 1, 'threshold': 2, 'v_queue': 0},
96: {'queue': 1, 'threshold': 2, 'v_queue': 0},
97: {'queue': 1, 'threshold': 2, 'v_queue': 0},
98: {'queue': 1, 'threshold': 2, 'v_queue': 0},
99: {'queue': 1, 'threshold': 2, 'v_queue': 0},
100: {'queue': 1, 'threshold': 2, 'v_queue': 0},
101: {'queue': 1, 'threshold': 2, 'v_queue': 0},
102: {'queue': 1, 'threshold': 2, 'v_queue': 0},
103: {'queue': 1, 'threshold': 2, 'v_queue': 0},
104: {'queue': 1, 'threshold': 2, 'v_queue': 0},
105: {'queue': 1, 'threshold': 2, 'v_queue': 0},
106: {'queue': 1, 'threshold': 2, 'v_queue': 0},
107: {'queue': 1, 'threshold': 2, 'v_queue': 0},
108: {'queue': 1, 'threshold': 2, 'v_queue': 0},
109: {'queue': 1, 'threshold': 2, 'v_queue': 0},
110: {'queue': 1, 'threshold': 2, 'v_queue': 0},
111: {'queue': 1, 'threshold': 2, 'v_queue': 0},
112: {'queue': 1, 'threshold': 2, 'v_queue': 0},
113: {'queue': 1, 'threshold': 2, 'v_queue': 0},
114: {'queue': 1, 'threshold': 2, 'v_queue': 0},
115: {'queue': 1, 'threshold': 2, 'v_queue': 0},
116: {'queue': 1, 'threshold': 2, 'v_queue': 0},
117: {'queue': 1, 'threshold': 2, 'v_queue': 0},
118: {'queue': 1, 'threshold': 2, 'v_queue': 0},
119: {'queue': 1, 'threshold': 2, 'v_queue': 0},
120: {'queue': 1, 'threshold': 2, 'v_queue': 0},
121: {'queue': 1, 'threshold': 2, 'v_queue': 0},
122: {'queue': 1, 'threshold': 2, 'v_queue': 0},
123: {'queue': 1, 'threshold': 2, 'v_queue': 0},
124: {'queue': 1, 'threshold': 2, 'v_queue': 0},
125: {'queue': 1, 'threshold': 2, 'v_queue': 0},
126: {'queue': 1, 'threshold': 2, 'v_queue': 0},
127: {'queue': 1, 'threshold': 2, 'v_queue': 0},
128: {'queue': 0, 'threshold': 2, 'v_queue': 0},
129: {'queue': 0, 'threshold': 1, 'v_queue': 0},
130: {'queue': 0, 'threshold': 1, 'v_queue': 0},
131: {'queue': 0, 'threshold': 2, 'v_queue': 0},
132: {'queue': 0, 'threshold': 1, 'v_queue': 0},
133: {'queue': 0, 'threshold': 2, 'v_queue': 0},
134: {'queue': 0, 'threshold': 2, 'v_queue': 0},
135: {'queue': 1, 'threshold': 2, 'v_queue': 0},
136: {'queue': 1, 'threshold': 2, 'v_queue': 0},
137: {'queue': 1, 'threshold': 2, 'v_queue': 0},
138: {'queue': 1, 'threshold': 2, 'v_queue': 0},
139: {'queue': 1, 'threshold': 2, 'v_queue': 0},
140: {'queue': 1, 'threshold': 2, 'v_queue': 0},
141: {'queue': 1, 'threshold': 2, 'v_queue': 0},
142: {'queue': 1, 'threshold': 2, 'v_queue': 0},
143: {'queue': 1, 'threshold': 2, 'v_queue': 0},
144: {'queue': 1, 'threshold': 2, 'v_queue': 0},
145: {'queue': 1, 'threshold': 2, 'v_queue': 0},
146: {'queue': 1, 'threshold': 2, 'v_queue': 0},
147: {'queue': 1, 'threshold': 2, 'v_queue': 0},
148: {'queue': 1, 'threshold': 2, 'v_queue': 0},
149: {'queue': 1, 'threshold': 2, 'v_queue': 0},
150: {'queue': 1, 'threshold': 2, 'v_queue': 0},
151: {'queue': 1, 'threshold': 2, 'v_queue': 0},
152: {'queue': 1, 'threshold': 2, 'v_queue': 0},
153: {'queue': 1, 'threshold': 2, 'v_queue': 0},
154: {'queue': 1, 'threshold': 2, 'v_queue': 0},
155: {'queue': 1, 'threshold': 2, 'v_queue': 0},
156: {'queue': 1, 'threshold': 2, 'v_queue': 0},
157: {'queue': 1, 'threshold': 2, 'v_queue': 0},
158: {'queue': 1, 'threshold': 2, 'v_queue': 0},
159: {'queue': 1, 'threshold': 2, 'v_queue': 0},
160: {'queue': 1, 'threshold': 2, 'v_queue': 0},
161: {'queue': 1, 'threshold': 2, 'v_queue': 0},
162: {'queue': 1, 'threshold': 2, 'v_queue': 0},
163: {'queue': 1, 'threshold': 2, 'v_queue': 0},
164: {'queue': 1, 'threshold': 2, 'v_queue': 0},
165: {'queue': 1, 'threshold': 2, 'v_queue': 0},
166: {'queue': 1, 'threshold': 2, 'v_queue': 0},
167: {'queue': 1, 'threshold': 2, 'v_queue': 0},
168: {'queue': 1, 'threshold': 2, 'v_queue': 0},
169: {'queue': 1, 'threshold': 2, 'v_queue': 0},
170: {'queue': 1, 'threshold': 2, 'v_queue': 0},
171: {'queue': 1, 'threshold': 2, 'v_queue': 0},
172: {'queue': 1, 'threshold': 2, 'v_queue': 0},
173: {'queue': 1, 'threshold': 2, 'v_queue': 0},
174: {'queue': 1, 'threshold': 2, 'v_queue': 0},
175: {'queue': 1, 'threshold': 2, 'v_queue': 0},
176: {'queue': 1, 'threshold': 2, 'v_queue': 0},
177: {'queue': 1, 'threshold': 2, 'v_queue': 0},
178: {'queue': 1, 'threshold': 2, 'v_queue': 0},
179: {'queue': 1, 'threshold': 2, 'v_queue': 0},
180: {'queue': 1, 'threshold': 2, 'v_queue': 0},
181: {'queue': 1, 'threshold': 2, 'v_queue': 0},
182: {'queue': 1, 'threshold': 2, 'v_queue': 0},
183: {'queue': 1, 'threshold': 2, 'v_queue': 0},
184: {'queue': 1, 'threshold': 2, 'v_queue': 0},
185: {'queue': 1, 'threshold': 2, 'v_queue': 0},
186: {'queue': 1, 'threshold': 2, 'v_queue': 0},
187: {'queue': 1, 'threshold': 2, 'v_queue': 0},
188: {'queue': 1, 'threshold': 2, 'v_queue': 0},
189: {'queue': 1, 'threshold': 2, 'v_queue': 0},
190: {'queue': 1, 'threshold': 2, 'v_queue': 0},
191: {'queue': 1, 'threshold': 2, 'v_queue': 0},
192: {'queue': 1, 'threshold': 2, 'v_queue': 0},
193: {'queue': 1, 'threshold': 2, 'v_queue': 0},
194: {'queue': 1, 'threshold': 2, 'v_queue': 0},
195: {'queue': 1, 'threshold': 2, 'v_queue': 0},
196: {'queue': 1, 'threshold': 2, 'v_queue': 0},
197: {'queue': 1, 'threshold': 2, 'v_queue': 0},
198: {'queue': 1, 'threshold': 2, 'v_queue': 0},
199: {'queue': 1, 'threshold': 2, 'v_queue': 0},
200: {'queue': 1, 'threshold': 2, 'v_queue': 0},
201: {'queue': 1, 'threshold': 2, 'v_queue': 0},
202: {'queue': 1, 'threshold': 2, 'v_queue': 0},
203: {'queue': 1, 'threshold': 2, 'v_queue': 0},
204: {'queue': 1, 'threshold': 2, 'v_queue': 0},
205: {'queue': 1, 'threshold': 2, 'v_queue': 0},
206: {'queue': 1, 'threshold': 2, 'v_queue': 0},
207: {'queue': 1, 'threshold': 2, 'v_queue': 0},
208: {'queue': 1, 'threshold': 2, 'v_queue': 0},
209: {'queue': 1, 'threshold': 2, 'v_queue': 0},
210: {'queue': 1, 'threshold': 2, 'v_queue': 0},
211: {'queue': 1, 'threshold': 2, 'v_queue': 0},
212: {'queue': 1, 'threshold': 2, 'v_queue': 0},
213: {'queue': 1, 'threshold': 2, 'v_queue': 0},
214: {'queue': 1, 'threshold': 2, 'v_queue': 0},
215: {'queue': 1, 'threshold': 2, 'v_queue': 0},
216: {'queue': 1, 'threshold': 2, 'v_queue': 0},
217: {'queue': 1, 'threshold': 2, 'v_queue': 0},
218: {'queue': 1, 'threshold': 2, 'v_queue': 0},
219: {'queue': 1, 'threshold': 2, 'v_queue': 0},
220: {'queue': 1, 'threshold': 2, 'v_queue': 0},
221: {'queue': 1, 'threshold': 2, 'v_queue': 0},
222: {'queue': 1, 'threshold': 2, 'v_queue': 0},
223: {'queue': 1, 'threshold': 2, 'v_queue': 0},
224: {'queue': 1, 'threshold': 2, 'v_queue': 0},
225: {'queue': 1, 'threshold': 2, 'v_queue': 0},
226: {'queue': 1, 'threshold': 2, 'v_queue': 0},
227: {'queue': 1, 'threshold': 2, 'v_queue': 0},
228: {'queue': 1, 'threshold': 2, 'v_queue': 0},
229: {'queue': 1, 'threshold': 2, 'v_queue': 0},
230: {'queue': 1, 'threshold': 2, 'v_queue': 0},
231: {'queue': 1, 'threshold': 2, 'v_queue': 0},
232: {'queue': 1, 'threshold': 2, 'v_queue': 0},
233: {'queue': 1, 'threshold': 2, 'v_queue': 0},
234: {'queue': 1, 'threshold': 2, 'v_queue': 0},
235: {'queue': 1, 'threshold': 2, 'v_queue': 0},
236: {'queue': 1, 'threshold': 2, 'v_queue': 0},
237: {'queue': 1, 'threshold': 2, 'v_queue': 0},
238: {'queue': 1, 'threshold': 2, 'v_queue': 0},
239: {'queue': 1, 'threshold': 2, 'v_queue': 0},
240: {'queue': 1, 'threshold': 2, 'v_queue': 0},
241: {'queue': 1, 'threshold': 2, 'v_queue': 0},
242: {'queue': 1, 'threshold': 2, 'v_queue': 0},
243: {'queue': 1, 'threshold': 2, 'v_queue': 0},
244: {'queue': 1, 'threshold': 2, 'v_queue': 0},
245: {'queue': 1, 'threshold': 2, 'v_queue': 0},
246: {'queue': 1, 'threshold': 2, 'v_queue': 0},
247: {'queue': 1, 'threshold': 2, 'v_queue': 0},
248: {'queue': 1, 'threshold': 2, 'v_queue': 0},
249: {'queue': 1, 'threshold': 2, 'v_queue': 0},
250: {'queue': 1, 'threshold': 2, 'v_queue': 0},
251: {'queue': 1, 'threshold': 2, 'v_queue': 0},
252: {'queue': 1, 'threshold': 2, 'v_queue': 0},
253: {'queue': 1, 'threshold': 2, 'v_queue': 0},
254: {'queue': 1, 'threshold': 2, 'v_queue': 0}}
| 49.252918 | 64 | 0.53642 | 2,042 | 12,658 | 3.199804 | 0.127326 | 0.254362 | 0.273186 | 0.580349 | 0.897612 | 0.897612 | 0.897612 | 0 | 0 | 0 | 0 | 0.133748 | 0.161242 | 12,658 | 256 | 65 | 49.445313 | 0.48168 | 0 | 0 | 0 | 0 | 0 | 0.423086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
201c0568bcfca75656af6b185128b6e7c4fba7e1 | 35,954 | py | Python | pmutt/tests/reaction/test_pmutt_reactions.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 28 | 2018-10-29T17:44:30.000Z | 2022-03-23T14:20:16.000Z | pmutt/tests/reaction/test_pmutt_reactions.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 101 | 2018-10-18T19:49:30.000Z | 2022-01-19T10:59:57.000Z | pmutt/tests/reaction/test_pmutt_reactions.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 16 | 2018-12-15T17:01:21.000Z | 2022-01-03T17:42:23.000Z | # -*- coding: utf-8 -*-
"""
pmutt.test_pmutt_reactions
Tests for pmutt module
"""
import unittest
from pmutt import constants as c
from pmutt.statmech import StatMech, presets
from pmutt.empirical.nasa import Nasa
from pmutt.reaction import Reaction, Reactions
class TestReactions(unittest.TestCase):
def setUp(self):
self.species_dict = {
'H2O':
Nasa(name='H2O',
T_low=200.,
T_mid=1000.,
T_high=3500.,
elements={
'H': 2,
'O': 1
},
a_low=[
4.19864056E+00, -2.03643410E-03, 6.52040211E-06,
-5.48797062E-09, 1.77197817E-12, -3.02937267E+04,
-8.49032208E-01
],
a_high=[
3.03399249E+00, 2.17691804E-03, -1.64072518E-07,
-9.70419870E-11, 1.68200992E-14, -3.00042971E+04,
4.96677010E+00
]),
'H2':
Nasa(name='H2',
T_low=200.,
T_mid=1000.,
T_high=3500.,
elements={'H': 2},
a_low=[
2.34433112E+00, 7.98052075E-03, -1.94781510E-05,
2.01572094E-08, -7.37611761E-12, -9.17935173E+02,
6.83010238E-01
],
a_high=[
3.33727920E+00, -4.94024731E-05, 4.99456778E-07,
-1.79566394E-10, 2.00255376E-14, -9.50158922E+02,
-3.20502331E+00
]),
'O2':
Nasa(name='O2',
T_low=200.,
T_mid=1000.,
T_high=3500.,
elements={'O': 2},
a_low=[
3.78245636E+00, -2.99673416E-03, 9.84730201E-06,
-9.68129509E-09, 3.24372837E-12, -1.06394356E+03,
3.65767573E+00
],
a_high=[
3.28253784E+00, 1.48308754E-03, -7.57966669E-07,
2.09470555E-10, -2.16717794E-14, -1.08845772E+03,
5.45323129E+00
]),
'O':
Nasa(name='O',
T_low=200.,
T_mid=1000.,
T_high=3500.,
elements={'O': 1},
a_low=[
3.16826710E+00, -3.27931884E-03, 6.64306396E-06,
-6.12806624E-09, 2.11265971E-12, 2.91222592E+04,
2.05193346E+00
],
a_high=[
2.56942078E+00, -8.59741137E-05, 4.19484589E-08,
-1.00177799E-11, 1.22833691E-15, 2.92175791E+04,
4.78433864E+00
]),
'H':
Nasa(name='H',
T_low=200.,
T_mid=1000.,
T_high=3500.,
elements={'H': 1},
a_low=[
2.50000000E+00, 7.05332819E-13, -1.99591964E-15,
2.30081632E-18, -9.27732332E-22, 2.54736599E+04,
-4.46682853E-01
],
a_high=[
2.50000001E+00, -2.30842973E-11, 1.61561948E-14,
-4.73515235E-18, 4.98197357E-22, 2.54736599E+04,
-4.46682914E-01
]),
'OH':
Nasa(name='OH',
T_low=200.,
T_mid=1000.,
T_high=3500.,
elements={
'O': 1,
'H': 1
},
a_high=[
3.09288767E+00, 5.48429716E-04, 1.26505228E-07,
-8.79461556E-11, 1.17412376E-14, 3.85865700E+03,
4.47669610E+00
],
a_low=[
3.99201543E+00, -2.40131752E-03, 4.61793841E-06,
-3.88113333E-09, 1.36411470E-12, 3.61508056E+03,
-1.03925458E-01
])
}
self.reactions = Reactions(reactions=[
Reaction.from_string('O+2H=H2O', self.species_dict),
Reaction.from_string('O+H2=H2O', self.species_dict),
Reaction.from_string('OH+H=H2O', self.species_dict),
Reaction.from_string('OH+0.5H2=H2O', self.species_dict),
Reaction.from_string('0.5O+2H=H2O', self.species_dict),
Reaction.from_string('0.5O2+H2=H2O', self.species_dict)
])
self.reactions_dict = {
'class': "<class 'pmutt.reaction.Reactions'>",
'reactions': [{'class': "<class 'pmutt.reaction.Reaction'>",
'products': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.03399249,
0.00217691804,
-1.64072518e-07,
-9.7041987e-11,
1.68200992e-14,
-30004.2971,
4.9667701],
'a_low': [4.19864056,
-0.0020364341,
6.52040211e-06,
-5.48797062e-09,
1.77197817e-12,
-30293.7267,
-0.849032208],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 2, 'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H2O',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'products_stoich': [1.0],
'reactants': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [2.56942078,
-8.59741137e-05,
4.19484589e-08,
-1.00177799e-11,
1.22833691e-15,
29217.5791,
4.78433864],
'a_low': [3.1682671,
-0.00327931884,
6.64306396e-06,
-6.12806624e-09,
2.11265971e-12,
29122.2592,
2.05193346],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'O',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'},
{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [2.50000001,
-2.30842973e-11,
1.61561948e-14,
-4.73515235e-18,
4.98197357e-22,
25473.6599,
-0.446682914],
'a_low': [2.5,
7.05332819e-13,
-1.99591964e-15,
2.30081632e-18,
-9.27732332e-22,
25473.6599,
-0.446682853],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'reactants_stoich': [1.0, 2.0],
'reaction_str': 'O+2H=H2O',
'transition_state': None,
'transition_state_stoich': None},
{'class': "<class 'pmutt.reaction.Reaction'>",
'products': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.03399249,
0.00217691804,
-1.64072518e-07,
-9.7041987e-11,
1.68200992e-14,
-30004.2971,
4.9667701],
'a_low': [4.19864056,
-0.0020364341,
6.52040211e-06,
-5.48797062e-09,
1.77197817e-12,
-30293.7267,
-0.849032208],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 2, 'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H2O',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'products_stoich': [1.0],
'reactants': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [2.56942078,
-8.59741137e-05,
4.19484589e-08,
-1.00177799e-11,
1.22833691e-15,
29217.5791,
4.78433864],
'a_low': [3.1682671,
-0.00327931884,
6.64306396e-06,
-6.12806624e-09,
2.11265971e-12,
29122.2592,
2.05193346],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'O',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'},
{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.3372792,
-4.94024731e-05,
4.99456778e-07,
-1.79566394e-10,
2.00255376e-14,
-950.158922,
-3.20502331],
'a_low': [2.34433112,
0.00798052075,
-1.9478151e-05,
2.01572094e-08,
-7.37611761e-12,
-917.935173,
0.683010238],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 2},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H2',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'reactants_stoich': [1.0, 1.0],
'reaction_str': 'O+H2=H2O',
'transition_state': None,
'transition_state_stoich': None},
{'class': "<class 'pmutt.reaction.Reaction'>",
'products': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.03399249,
0.00217691804,
-1.64072518e-07,
-9.7041987e-11,
1.68200992e-14,
-30004.2971,
4.9667701],
'a_low': [4.19864056,
-0.0020364341,
6.52040211e-06,
-5.48797062e-09,
1.77197817e-12,
-30293.7267,
-0.849032208],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 2, 'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H2O',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'products_stoich': [1.0],
'reactants': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.09288767,
0.000548429716,
1.26505228e-07,
-8.79461556e-11,
1.17412376e-14,
3858.657,
4.4766961],
'a_low': [3.99201543,
-0.00240131752,
4.61793841e-06,
-3.88113333e-09,
1.3641147e-12,
3615.08056,
-0.103925458],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 1, 'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'OH',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'},
{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [2.50000001,
-2.30842973e-11,
1.61561948e-14,
-4.73515235e-18,
4.98197357e-22,
25473.6599,
-0.446682914],
'a_low': [2.5,
7.05332819e-13,
-1.99591964e-15,
2.30081632e-18,
-9.27732332e-22,
25473.6599,
-0.446682853],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'reactants_stoich': [1.0, 1.0],
'reaction_str': 'OH+H=H2O',
'transition_state': None,
'transition_state_stoich': None},
{'class': "<class 'pmutt.reaction.Reaction'>",
'products': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.03399249,
0.00217691804,
-1.64072518e-07,
-9.7041987e-11,
1.68200992e-14,
-30004.2971,
4.9667701],
'a_low': [4.19864056,
-0.0020364341,
6.52040211e-06,
-5.48797062e-09,
1.77197817e-12,
-30293.7267,
-0.849032208],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 2, 'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H2O',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'products_stoich': [1.0],
'reactants': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.09288767,
0.000548429716,
1.26505228e-07,
-8.79461556e-11,
1.17412376e-14,
3858.657,
4.4766961],
'a_low': [3.99201543,
-0.00240131752,
4.61793841e-06,
-3.88113333e-09,
1.3641147e-12,
3615.08056,
-0.103925458],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 1, 'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'OH',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'},
{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.3372792,
-4.94024731e-05,
4.99456778e-07,
-1.79566394e-10,
2.00255376e-14,
-950.158922,
-3.20502331],
'a_low': [2.34433112,
0.00798052075,
-1.9478151e-05,
2.01572094e-08,
-7.37611761e-12,
-917.935173,
0.683010238],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 2},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H2',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'reactants_stoich': [1.0, 0.5],
'reaction_str': 'OH+0.50H2=H2O',
'transition_state': None,
'transition_state_stoich': None},
{'class': "<class 'pmutt.reaction.Reaction'>",
'products': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.03399249,
0.00217691804,
-1.64072518e-07,
-9.7041987e-11,
1.68200992e-14,
-30004.2971,
4.9667701],
'a_low': [4.19864056,
-0.0020364341,
6.52040211e-06,
-5.48797062e-09,
1.77197817e-12,
-30293.7267,
-0.849032208],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 2, 'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H2O',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'products_stoich': [1.0],
'reactants': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [2.56942078,
-8.59741137e-05,
4.19484589e-08,
-1.00177799e-11,
1.22833691e-15,
29217.5791,
4.78433864],
'a_low': [3.1682671,
-0.00327931884,
6.64306396e-06,
-6.12806624e-09,
2.11265971e-12,
29122.2592,
2.05193346],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'O',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'},
{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [2.50000001,
-2.30842973e-11,
1.61561948e-14,
-4.73515235e-18,
4.98197357e-22,
25473.6599,
-0.446682914],
'a_low': [2.5,
7.05332819e-13,
-1.99591964e-15,
2.30081632e-18,
-9.27732332e-22,
25473.6599,
-0.446682853],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'reactants_stoich': [0.5, 2.0],
'reaction_str': '0.50O+2H=H2O',
'transition_state': None,
'transition_state_stoich': None},
{'class': "<class 'pmutt.reaction.Reaction'>",
'products': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.03399249,
0.00217691804,
-1.64072518e-07,
-9.7041987e-11,
1.68200992e-14,
-30004.2971,
4.9667701],
'a_low': [4.19864056,
-0.0020364341,
6.52040211e-06,
-5.48797062e-09,
1.77197817e-12,
-30293.7267,
-0.849032208],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 2, 'O': 1},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H2O',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'products_stoich': [1.0],
'reactants': [{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.28253784,
0.00148308754,
-7.57966669e-07,
2.09470555e-10,
-2.16717794e-14,
-1088.45772,
5.45323129],
'a_low': [3.78245636,
-0.00299673416,
9.84730201e-06,
-9.68129509e-09,
3.24372837e-12,
-1063.94356,
3.65767573],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'O': 2},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'O2',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'},
{'T_high': 3500.0,
'T_low': 200.0,
'T_mid': 1000.0,
'a_high': [3.3372792,
-4.94024731e-05,
4.99456778e-07,
-1.79566394e-10,
2.00255376e-14,
-950.158922,
-3.20502331],
'a_low': [2.34433112,
0.00798052075,
-1.9478151e-05,
2.01572094e-08,
-7.37611761e-12,
-917.935173,
0.683010238],
'cat_site': None,
'class': "<class 'pmutt.empirical.nasa.Nasa'>",
'elements': {'H': 2},
'misc_models': None,
'model': None,
'n_sites': None,
'name': 'H2',
'notes': None,
'phase': None,
'smiles': None,
'type': 'nasa'}],
'reactants_stoich': [0.5, 1.0],
'reaction_str': '0.50O2+H2=H2O',
'transition_state': None,
'transition_state_stoich': None}]}
species_pathway = {
'A': StatMech(G=1., **presets['constant']),
'A_TS1': StatMech(G=3., **presets['constant']),
'A_TS2': StatMech(G=2., **presets['constant']),
'B': StatMech(G=-1., **presets['constant']),
'C': StatMech(G=2., **presets['constant']),
'C_TS': StatMech(G=2.5, **presets['constant']),
'D': StatMech(G=0., **presets['constant']),
}
self.rxn_pathway1 = Reactions(reactions=[
Reaction.from_string('A = A_TS1 = B', species_pathway),
Reaction.from_string('B = C', species_pathway),
Reaction.from_string('C = C_TS = D', species_pathway)
])
self.rxn_pathway2 = Reactions(reactions=[
Reaction.from_string('A = A_TS2 = B', species_pathway),
Reaction.from_string('B = C', species_pathway),
Reaction.from_string('C = C_TS = D', species_pathway)
])
def test_get_species(self):
self.assertDictEqual(self.reactions.get_species(key='name'),
self.species_dict)
def test_get_energy_span(self):
G_span = self.rxn_pathway1.get_E_span(units='eV', T=298.15)
self.assertAlmostEqual(G_span, 3.)
G_span = self.rxn_pathway2.get_E_span(units='eV', T=298.15)
self.assertAlmostEqual(G_span, 3.5)
def test_to_dict(self):
self.maxDiff = None
self.assertEqual(self.reactions.to_dict(), self.reactions_dict)
def test_from_dict(self):
self.assertEqual(Reactions.from_dict(self.reactions_dict),
self.reactions)
if __name__ == '__main__':
unittest.main()
| 50.355742 | 80 | 0.268204 | 2,342 | 35,954 | 3.997438 | 0.11187 | 0.007691 | 0.040056 | 0.046678 | 0.82194 | 0.802072 | 0.802072 | 0.788507 | 0.768212 | 0.735847 | 0 | 0.298372 | 0.632725 | 35,954 | 713 | 81 | 50.426367 | 0.410602 | 0.002003 | 0 | 0.808908 | 0 | 0 | 0.101606 | 0.022997 | 0 | 0 | 0 | 0 | 0.007184 | 1 | 0.007184 | false | 0 | 0.007184 | 0 | 0.015805 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 0 | 0 | 10 |
2044b98614449a4d6fd64f355390a806e5499416 | 103 | py | Python | faq_module/commands/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | 1 | 2021-12-12T02:50:20.000Z | 2021-12-12T02:50:20.000Z | faq_module/commands/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | 17 | 2020-02-07T23:40:36.000Z | 2020-12-22T16:38:44.000Z | faq_module/commands/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | null | null | null | from faq_module.commands import faq_cmds
from faq_module.commands.faq_on_message import faq_on_message
| 34.333333 | 61 | 0.893204 | 18 | 103 | 4.722222 | 0.444444 | 0.164706 | 0.305882 | 0.494118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 103 | 2 | 62 | 51.5 | 0.894737 | 0 | 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 |
20503ca5130f2bd5edda56625308f87d0e024c65 | 3,546 | py | Python | tests/test_memory.py | webbcam/debugserver-js | d82266538c1a24668f9a2f28f26c24f8415352fe | [
"MIT"
] | null | null | null | tests/test_memory.py | webbcam/debugserver-js | d82266538c1a24668f9a2f28f26c24f8415352fe | [
"MIT"
] | null | null | null | tests/test_memory.py | webbcam/debugserver-js | d82266538c1a24668f9a2f28f26c24f8415352fe | [
"MIT"
] | null | null | null | import pytest
import time
from test_helpers import (create_socket, send_msg, assert_msg_ok, assert_msg_fail,
start_server, start_session, kill_server, stop_session,
connect_to_target, disconnect_from_target)
from test_setup import CCXML_PATH, CONNECTION, DEVICETYPE, SESSION
def test_session_basic_memory_read(debug_server):
s = start_server()
s2 = start_session(s)
connect_to_target(s2)
d = {
"name": "readData",
"args": {
"page": 0,
"address": 0x500012F0,
"numBytes": 1
}
}
result = send_msg(s2, d)
assert_msg_ok(result)
assert len(result['data']) == 1
disconnect_from_target(s2)
stop_session(s2)
s2.close()
kill_server(s)
s.close()
def test_session_basic_memory_read_multiple_bytes(debug_server):
s = start_server()
s2 = start_session(s)
connect_to_target(s2)
d = {
"name": "readData",
"args": {
"page": 0,
"address": 0x500012F0,
"numBytes": 4
}
}
result = send_msg(s2, d)
assert_msg_ok(result)
assert len(result['data']) == 4
disconnect_from_target(s2)
stop_session(s2)
s2.close()
kill_server(s)
s.close()
def test_session_read_memory_with_no_connection(debug_server):
s = start_server()
s2 = start_session(s)
d = {
"name": "readData",
"args": {
"page": 0,
"address": 0x500012F0,
"numBytes": 1
}
}
result = send_msg(s2, d)
assert_msg_fail(result)
stop_session(s2)
s2.close()
kill_server(s)
s.close()
def test_session_memory_read_invalid_address(debug_server):
s = start_server()
s2 = start_session(s)
connect_to_target(s2)
d = {
"name": "readData",
"args": {
"page": 0,
"address": 0xFFFFFFFF,
"numBytes": 4
}
}
result = send_msg(s2, d)
assert_msg_fail(result)
disconnect_from_target(s2)
stop_session(s2)
s2.close()
kill_server(s)
s.close()
def test_session_basic_memory_write(debug_server):
s = start_server()
s2 = start_session(s)
connect_to_target(s2)
d = {
"name": "writeData",
"args": {
"page": 0,
"address": 0x20000000,
"data": 0x88
}
}
result = send_msg(s2, d)
assert_msg_ok(result)
disconnect_from_target(s2)
stop_session(s2)
s2.close()
kill_server(s)
s.close()
def test_session_basic_memory_write_multiple(debug_server):
s = start_server()
s2 = start_session(s)
connect_to_target(s2)
d = {
"name": "writeData",
"args": {
"page": 0,
"address": 0x20000000,
"data": [0x77, 0x88, 0x99, 0xAA]
}
}
result = send_msg(s2, d)
assert_msg_ok(result)
disconnect_from_target(s2)
stop_session(s2)
s2.close()
kill_server(s)
s.close()
def test_session_memory_write_invalid_address(debug_server):
s = start_server()
s2 = start_session(s)
connect_to_target(s2)
d = {
"name": "writeData",
"args": {
"page": 0,
"address": 0xFFFFFFFF,
"data": [0x77, 0x88, 0x99, 0xAA]
}
}
result = send_msg(s2, d)
assert_msg_fail(result)
disconnect_from_target(s2)
stop_session(s2)
s2.close()
kill_server(s)
s.close()
| 18.663158 | 82 | 0.565144 | 420 | 3,546 | 4.457143 | 0.147619 | 0.05235 | 0.05609 | 0.063568 | 0.849359 | 0.838675 | 0.821047 | 0.821047 | 0.821047 | 0.790064 | 0 | 0.049628 | 0.318105 | 3,546 | 189 | 83 | 18.761905 | 0.724566 | 0 | 0 | 0.784173 | 0 | 0 | 0.06881 | 0 | 0 | 0 | 0.029893 | 0 | 0.071942 | 1 | 0.05036 | false | 0 | 0.028777 | 0 | 0.079137 | 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 |
6499fcacc0aa662b036489aab190aedd25844f69 | 290 | py | Python | verify/checker/agc050/e.py | naskya/testcase-generator | 02765184a275152e1d8c177f2028ca8db315cfee | [
"MIT"
] | 4 | 2020-09-23T07:11:41.000Z | 2022-02-02T09:08:21.000Z | verify/checker/agc050/e.py | naskya/testcase-generator | 02765184a275152e1d8c177f2028ca8db315cfee | [
"MIT"
] | 5 | 2021-08-29T18:23:01.000Z | 2021-11-20T03:53:19.000Z | verify/checker/agc050/e.py | naskya/testcase-generator | 02765184a275152e1d8c177f2028ca8db315cfee | [
"MIT"
] | null | null | null | def main() -> None:
g1, r1, g2, r2, g3, r3 = map(int, input().split())
assert 1 <= g1 <= 10**12
assert 1 <= r1 <= 10**12
assert 1 <= g2 <= 10**12
assert 1 <= r2 <= 10**12
assert 1 <= g3 <= 10**12
assert 1 <= r3 <= 10**12
if __name__ == '__main__':
main()
| 20.714286 | 54 | 0.47931 | 47 | 290 | 2.787234 | 0.404255 | 0.320611 | 0.381679 | 0.419847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 0.306897 | 290 | 13 | 55 | 22.307692 | 0.442786 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.1 | true | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b39196a64e44d123f181bc824ab5c0fa543e7482 | 158 | py | Python | task.py | BeenashPervaiz/Command_Line_Task | a603fbdd06717ff157ecd72881d08329413fd82c | [
"MIT"
] | null | null | null | task.py | BeenashPervaiz/Command_Line_Task | a603fbdd06717ff157ecd72881d08329413fd82c | [
"MIT"
] | null | null | null | task.py | BeenashPervaiz/Command_Line_Task | a603fbdd06717ff157ecd72881d08329413fd82c | [
"MIT"
] | null | null | null | print(" Assalam-O-Alaikum! ")
print("Walaikum Salam'!'")
print( 'Assalam-O-Alaikum! ')
print('Walaikum Salam"!"')
print("I 'm Beenash")
print("I am Beenash") | 26.333333 | 30 | 0.664557 | 22 | 158 | 4.772727 | 0.454545 | 0.228571 | 0.247619 | 0.380952 | 0.771429 | 0.771429 | 0.771429 | 0.771429 | 0 | 0 | 0 | 0 | 0.101266 | 158 | 6 | 31 | 26.333333 | 0.739437 | 0 | 0 | 0 | 0 | 0 | 0.610063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
b3c3ffbc17aab80f89f99fe516011abfdc6cdd55 | 66 | py | Python | intcyt/celloperad/celloperad.py | remytuyeras/intcyt-library | bb695f82ce69bdb34a8c4f5ac5f5dcfcce03bca8 | [
"BSD-3-Clause"
] | null | null | null | intcyt/celloperad/celloperad.py | remytuyeras/intcyt-library | bb695f82ce69bdb34a8c4f5ac5f5dcfcce03bca8 | [
"BSD-3-Clause"
] | null | null | null | intcyt/celloperad/celloperad.py | remytuyeras/intcyt-library | bb695f82ce69bdb34a8c4f5ac5f5dcfcce03bca8 | [
"BSD-3-Clause"
] | null | null | null | from cl_cel import *
from cl_sup import *
from cl_ope import *
| 9.428571 | 20 | 0.727273 | 12 | 66 | 3.75 | 0.5 | 0.4 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 66 | 6 | 21 | 11 | 0.882353 | 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 |
b3f4e95b57bbfa1f1f11ed428a501fccaf15921f | 75 | py | Python | examples/example_get_file_times.py | juancarlospaco/thatlib | 37403983c228521b992ad592231957a1c7af01f2 | [
"MIT"
] | 31 | 2021-05-12T16:54:34.000Z | 2022-02-17T12:36:52.000Z | examples/example_get_file_times.py | juancarlospaco/thatlib | 37403983c228521b992ad592231957a1c7af01f2 | [
"MIT"
] | 1 | 2021-07-23T02:58:07.000Z | 2021-09-03T21:53:29.000Z | examples/example_get_file_times.py | juancarlospaco/thatlib | 37403983c228521b992ad592231957a1c7af01f2 | [
"MIT"
] | 1 | 2021-05-12T22:12:20.000Z | 2021-05-12T22:12:20.000Z | from thatlib import get_file_times_iso
print(get_file_times_iso(__file__))
| 25 | 38 | 0.88 | 13 | 75 | 4.307692 | 0.615385 | 0.25 | 0.428571 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 75 | 2 | 39 | 37.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 8 |
b61181d4dd36e4afd440800a1007cab045f8413c | 1,023 | py | Python | src/datasets/transforms.py | shaoeric/torch-atom | 7688fc38c0d19fe4d13a9773115df911ffe6eaaa | [
"MIT"
] | 28 | 2022-03-06T06:04:54.000Z | 2022-03-27T04:14:33.000Z | src/datasets/transforms.py | shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation | 15dfad40e9101d15bd0d7896a29e70b12199cdf6 | [
"MIT"
] | null | null | null | src/datasets/transforms.py | shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation | 15dfad40e9101d15bd0d7896a29e70b12199cdf6 | [
"MIT"
] | 3 | 2022-03-11T07:01:58.000Z | 2022-03-17T05:34:41.000Z | from torchvision.transforms import transforms
__all__ = ['cifar100_transform', 'cifar10_transform']
def cifar100_transform():
mean = [0.5071, 0.4866, 0.4409]
std = [0.2675, 0.2565, 0.2761]
train_transform = transforms.Compose([
transforms.RandomCrop(32, 4),
transforms.RandomHorizontalFlip(),
transforms.ToTensor(),
transforms.Normalize(mean, std)
])
val_transform = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize(mean, std)
])
return train_transform, val_transform
def cifar10_transform():
mean = [0.4914, 0.4822, 0.4465]
std = [0.2470, 0.2435, 0.2616]
train_transform = transforms.Compose([
transforms.RandomCrop(32, 4),
transforms.RandomHorizontalFlip(),
transforms.ToTensor(),
transforms.Normalize(mean, std)
])
val_transform = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize(mean, std)
])
return train_transform, val_transform | 29.228571 | 53 | 0.656891 | 106 | 1,023 | 6.188679 | 0.320755 | 0.085366 | 0.158537 | 0.219512 | 0.710366 | 0.710366 | 0.710366 | 0.710366 | 0.710366 | 0.710366 | 0 | 0.095597 | 0.222874 | 1,023 | 35 | 54 | 29.228571 | 0.72956 | 0 | 0 | 0.733333 | 0 | 0 | 0.03418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.033333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 |
376536f957ec8c95fe3eff383ecb9545a86e1eb6 | 100,798 | py | Python | naotimes/card/usercard.py | noaione/naoTimes | 39f3f1ae434baf4ff9f3ed4a19cbfd69f76f881d | [
"MIT"
] | 5 | 2019-06-14T01:29:46.000Z | 2021-02-08T08:21:24.000Z | naotimes/card/usercard.py | naoTimesdev/naoTimes | 39f3f1ae434baf4ff9f3ed4a19cbfd69f76f881d | [
"MIT"
] | 21 | 2021-03-26T08:31:45.000Z | 2022-03-26T10:15:25.000Z | naotimes/card/usercard.py | noaione/naoTimes | 39f3f1ae434baf4ff9f3ed4a19cbfd69f76f881d | [
"MIT"
] | 4 | 2019-06-26T14:18:09.000Z | 2021-02-08T08:21:39.000Z | """
MIT License
Copyright (c) 2019-2021 naoTimesdev
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 dataclasses import dataclass
from typing import List, Optional
from .enums import CardBase, CardTemplate
__all__ = ("UserCard", "UserCardGenerator", "UserCardHighRole", "UserCardStatus")
HTML_PAGE = """
<!DOCTYPE html>
<html>
<head>
<title>User Card Generator</title>
<style>
body {
background-color: rgb(24, 25, 28);
color: white;
font-family: "Inter";
}
.p-online {
border-color: #57F287 !important;
}
.p-idle {
border-color: #FEE75C !important;
}
.p-dnd {
border-color: #ED4245 !important;
}
.p-off {
border-color: #b3b3b3 !important;
}
.mono {
font-family: 'Courier New', Courier, monospace;
}
.bold {
font-weight: 700;
}
</style>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
</head>
<body id="main-root" style="max-width: 500px; display: flex; flex-direction: column; ">
<div style="display:flex;margin-left: 10px;margin-top: 20px;">
<img id="img-base" style="border-radius: 9999px; z-index: 10;"
src="https://cdn.discordapp.com/avatars/466469077444067372/95d2673b3cd4d66e73e2bb05a6f8df31.png?size=1024"
width="128" height="128">
<div id="avatar-status" class="p-idle"
style="position: absolute;border: 2px solid;width: 135px;height: 135px;/* margin-right: 2px; */border-radius: 9999px;margin-left: -6px;margin-top: -5.5px;">
</div>
<div
style="font-weight: 700; margin-left: 20px; display: flex; flex-direction: column; gap: 0;font-size: 20px;">
<div style="display: flex; align-items: center;">
<span id="uname" style="word-break: break-all;">aishdiuahsduiashuidashuidhasuidhasiudhasiuhdiuashdi<span
style="color:#b3b3b3;" id="udisc">#8868</span><span id="bot-meta"
style="margin-left: 4px;padding: 2px 4px;border-radius: 6px;font-size: 12px;align-self: center;background-color: #5865F2; display: none;"><span
id="bot-meta-verified" style="margin-right: 4px; display: none;">✔</span>BOT</span></span>
</div>
<div
style="display: flex; flex-direction: row; margin-top: 4px; margin-right: 10px; gap: 2px; flex-wrap: wrap;">
<svg id="fl-staff" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" style="display: none;"
viewBox="0 0 174.48 177.16">
<g>
<path
d="M576.31,455.41c-1.21,1.21,1.4,4.62-2.88,4.9-1.74.12-.15,1.74.51,2.41,5.19,5.25,10.28,10.59,15.69,15.6,2.53,2.35,2.23,3.7-.11,5.9-6.38,6-12.59,12.14-18.73,18.36-1.63,1.65-2.61,1.64-4.2,0-5.32-5.46-10.77-10.79-16.21-16.13-.74-.72-1.33-2.07-2.72-1.55a2.48,2.48,0,0,0-1.6,3c.11.62.11,1.65-.42,1.66-4.58.07-6.23,4.42-9.4,6.52a27.26,27.26,0,0,0-8.46,9.1,4.83,4.83,0,0,1-4.34,2.72c-2.62-.22-3.86,1.28-5.33,2.75q-23.6,23.58-47.18,47.19c-1.62,1.62-3.23,3-3.42,5.82-.15,2.32-1.95,4.1-4.49,5.6-3.53,2.09-6.29,5.63-9,8.87-1.2,1.43-1.39,3.71-3.91,3.78a1.11,1.11,0,0,0-.75.75c-.38,6-5.12,4-7.84,3.62-8.64-1.17-14.68-7.84-16.11-16.45-.41-2.45,1.13-4.58.73-7,0-.21.36-.64.64-.74,7.42-2.61,12-8.55,16.57-14.38,1.32-1.66,3-3.37,5-3.47,2.92-.15,4.42-1.93,6.15-3.66q23.61-23.6,47.19-47.2c1.34-1.34,2.75-2.41,2.74-4.87a6.73,6.73,0,0,1,3-4.9c5.39-3,8.7-8,12.67-12.41,1.21-1.33,3.31-2,2.55-4.72-.25-.88,1.69-.26,2.55-.55,1.33-.44,3.63-1,1.69-2.81-5.35-4.9-7.66-11.62-11.1-17.65-5.12-9-9.94-18.17-14.85-27.3-.86-1.59-2.29-3.26-.65-5.12s3.69-.86,5.44.08c12.76,6.85,25.54,13.65,38.2,20.69,2.22,1.23,3.88,3.48,5.82,5.23.52.48,1,1.34,1.82,1s.68-1.25.59-1.95c-.22-1.63.37-2,2-2.12,4.64-.38,8.56.58,11.76,4.26a95.71,95.71,0,0,0,7.68,7.66C575.71,449.93,576.07,452.48,576.31,455.41Z"
transform="translate(-416.92 -411.98)" style="fill: #5865f2" />
<path
d="M416.92,455.06a16.78,16.78,0,0,1,.86-2.18A52.19,52.19,0,0,1,440,431.27c2.76-1.41,4.68-.69,6.54,1.5,1.69,2,2.74,3.93.5,6.18-1.86,1.86-1.17,3.26.48,4.94,12.42,12.66,24.69,25.45,37.15,38.08,2.14,2.17,2.28,3.45-.05,5.57-4.07,3.68-7.93,7.62-11.66,11.64-1.72,1.85-2.68,1.66-4.37-.05-12.39-12.51-24.93-24.88-37.3-37.41-1.93-2-3.39-3.06-5.69-.68a2.8,2.8,0,0,1-4,.27C419.44,459.74,417.09,458.4,416.92,455.06Z"
transform="translate(-416.92 -411.98)" style="fill: #5865f2" />
<path
d="M525.53,524.4a14.13,14.13,0,0,1,1.47,1.11c6.94,6.9,15.32,12,22.88,18.11,8.2,6.64,14.58,15,21.94,22.5,1.26,1.27.73,2-.33,3-6.87,6.36-13.77,12.69-20.53,19.18-1.79,1.71-2.51.45-3.52-.64-10.94-11.82-21.93-23.59-30.14-37.61-1.76-3-3.58-6-6.32-8.31-1.25-1-1.15-2,0-3.08,4.46-4.38,8.85-8.82,13.27-13.23C524.6,525.08,525,524.81,525.53,524.4Z"
transform="translate(-416.92 -411.98)" style="fill: #5865f2" />
</g>
</svg>
<svg id="fl-moderator" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="display: none;"
viewBox="0 0 194.803 204.863">
<path
d="M502.4,604h-1.6c-.354-1.457-1.711-1.961-2.716-2.754-9-7.1-18.114-14.044-27.036-21.233-43.7-35.2-67.448-80.154-66.833-137.007.033-3.036.237-4.519,4.1-4.86a42.057,42.057,0,0,0,38.129-35.656c.44-2.774,1.55-3.347,4.122-3.341q50.981.115,101.962-.012c2.808-.008,3.833.733,4.353,3.592a42.88,42.88,0,0,0,38.892,35.52c2.82.235,3.158,1.3,3.2,3.643q1.332,69.575-46.546,120.037c-12.245,12.95-26.918,23.009-40.674,34.163C508.583,598.66,504.907,600.648,502.4,604Zm-.8-41.337V441.315a20.8,20.8,0,0,1,.014-2.4c.252-2.172-.484-3.054-2.842-3.026-9.591.116-19.185.072-28.777.029-1.7-.008-2.466.419-2.892,2.323-2.753,12.3-10.143,19.162-22.858,21.239-2.365.386-3.375,1.027-3.362,3.663a108.527,108.527,0,0,0,6.784,37.907C457.8,528.119,479.048,545.382,501.6,562.663Z"
transform="translate(-404.203 -399.137)" style="fill: #5865f1" />
</svg>
<svg id="fl-partner" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="display: none;">
<path
d="M16.6033 9.15179L14.1125 10.8123C13.8635 11.0614 13.4483 10.9784 13.3653 10.8123C13.1162 10.5632 12.7011 10.3972 12.452 10.3141C11.7878 10.1481 11.2066 10.3141 10.7085 10.5632L9.87823 11.1444L5.22878 14.1333C4.23247 14.7975 2.98708 14.5485 2.32288 13.4691C1.65867 12.3898 2.0738 11.2274 3.07011 10.6463L8.38376 6.99312C9.87823 6.16286 11.6218 5.74773 13.2823 6.16286C14.6937 6.41193 15.9391 7.15917 16.7694 8.32153C17.0184 8.48758 17.0184 8.98574 16.6033 9.15179Z"
fill="#5865F2" />
<path
d="M22 11.6425C22 12.3898 21.5848 13.054 21.0037 13.3861L15.524 16.9562C14.5276 17.6204 13.2823 17.9525 12.1199 17.9525C11.6217 17.9525 11.1236 17.9525 10.7085 17.7865C9.29702 17.5374 8.21769 16.6241 7.22138 15.6278C7.05532 15.4617 7.05532 14.9636 7.38743 14.8805L9.8782 13.22C10.1273 12.971 10.5424 13.054 10.6254 13.22C10.8745 13.4691 11.1236 13.6352 11.5387 13.7182C12.2029 13.8842 12.7841 13.7182 13.2823 13.4691L14.5276 12.7219L18.2638 10.2311L18.762 9.81597C19.7583 9.15177 21.0037 9.40085 21.6679 10.4802C21.8339 10.8953 22 11.2274 22 11.6425Z"
fill="#5865F2" />
</svg>
<svg id="fl-hype-event" data-name="Layer 1" width="24" height="24" xmlns="http://www.w3.org/2000/svg" style="display: none;"
viewBox="0 0 204.92 191.95">
<path
d="M604,459.2c-2.91,5.36-5.9,10.69-8.72,16.1q-12.16,23.38-24.23,46.83c-2.33,4.5-1.59,5.75,3.4,5.78,5.33,0,10.66,0,16,0,1.53,0,3.4-.43,4,1.72s-1.09,2.8-2.37,3.72q-41.25,29.57-82.53,59.1c-9.71,6.91-6,7-16-.15-26.6-18.91-53.09-38-79.62-57-1.08-.77-2.13-1.6-3.25-2.32-1.32-.86-2.39-1.83-1.82-3.57s2-1.5,3.34-1.5c5.33,0,10.66,0,16,0s6-1.27,3.63-5.95q-15.41-30-30.86-60.05c-.43-.83-.89-1.64-1.24-2.5-.61-1.51-1.14-3.18.34-4.37s2.49.22,3.56.92q39.76,26.07,79.52,52.16c2.61,1.7,4.07,4.12,5.37,6.78q5,10.22,10.09,20.4c.63,1.27,1,2.92,2.84,3,2.08.13,2.53-1.69,3.22-3.06,3.52-7,7-14.06,10.44-21.13a15.68,15.68,0,0,1,5.7-6.49q39.13-25.57,78.19-51.27c1.55-1,3-2.42,5-1.18Z"
transform="translate(-399.08 -405.7)" style="fill: #fab849" />
<path
d="M481.11,464.31c.95-5.47,1.65-10.21,2.63-14.89.66-3.13.25-5.55-2.35-7.8-3.62-3.12-6.9-6.65-10.32-10-.75-.74-1.69-1.46-1.32-2.7.42-1.4,1.64-1.53,2.87-1.7,5.13-.7,10.25-1.56,15.4-2.13a5.17,5.17,0,0,0,4.46-3.37c2.1-4.45,4.32-8.85,6.51-13.26.58-1.15.9-2.69,2.55-2.75s2,1.46,2.63,2.63c2.25,4.52,4.54,9,6.71,13.61a4.8,4.8,0,0,0,4.23,3c5,.57,10,1.46,15,2.18,1.32.2,2.81.11,3.31,1.69s-.9,2.38-1.8,3.28c-3.3,3.29-6.52,6.69-10,9.75-2.34,2-2.79,4.25-2.23,7.09.89,4.56,1.59,9.17,2.43,13.74.22,1.19.74,2.43-.42,3.32s-2.53.18-3.71-.44c-4.36-2.28-8.76-4.5-13.06-6.91a5.43,5.43,0,0,0-5.94,0c-4.51,2.55-9.15,4.89-13.79,7.23C482.51,467.08,481,466.56,481.11,464.31Z"
transform="translate(-399.08 -405.7)" style="fill: #fab84a" />
</svg>
<svg id="fl-hype-brilliance" xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="display: none;"
viewBox="0 0 24 24">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12.7921 11.725L16.4067 9.3512C16.4976 9.29204 16.608 9.39094 16.5577 9.4872L15.0591 12.4288C15.0237 12.4995 15.0749 12.5825 15.1535 12.5825H16.0508C16.1541 12.5825 16.1965 12.714 16.1126 12.7741L12.0609 15.6768C12.0247 15.7033 11.9753 15.7033 11.9382 15.6768L7.88652 12.7741C7.80351 12.714 7.8459 12.5825 7.94834 12.5825H8.84468C8.92416 12.5825 8.97538 12.4995 8.93917 12.4288L7.44055 9.4872C7.3911 9.39094 7.50149 9.29204 7.59245 9.3512L11.2079 11.725C11.2706 11.7665 11.3209 11.823 11.3544 11.8901L11.9055 12.9958C11.9444 13.0735 12.0556 13.0735 12.0945 12.9958L12.6455 11.8901C12.6791 11.823 12.7294 11.7656 12.7921 11.725Z"
fill="#F47B67" />
</svg>
<svg id="fl-hype-balance" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="display: none;">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M11.8622 4.05696C11.9382 3.98101 12.0618 3.98101 12.1378 4.05696L19.9426 11.8617C19.9797 11.8979 20 11.9482 20 11.9994C20 12.0507 19.9788 12.101 19.9426 12.1372L12.1378 19.9419C12.0998 19.9799 12.0495 19.9993 12 19.9993C11.9505 19.9993 11.9002 19.9799 11.8622 19.9419L4.0574 12.1372C4.02031 12.101 4 12.0515 4 11.9994C4 11.9473 4.02031 11.8979 4.0574 11.8617L11.8622 4.05696ZM12.7921 12.3517L16.4067 9.97793C16.4976 9.91876 16.608 10.0177 16.5577 10.1139L15.0591 13.0555C15.0237 13.1262 15.0749 13.2092 15.1535 13.2092H16.0508C16.1541 13.2092 16.1965 13.3408 16.1126 13.4008L12.0609 16.3036C12.0247 16.3301 11.9753 16.3301 11.9382 16.3036L7.88652 13.4008C7.80351 13.3408 7.8459 13.2092 7.94834 13.2092H8.84468C8.92416 13.2092 8.97538 13.1262 8.93917 13.0555L7.44055 10.1139C7.3911 10.0177 7.50149 9.91876 7.59245 9.97793L11.2079 12.3517C11.2706 12.3932 11.3209 12.4497 11.3544 12.5168L11.9055 13.6225C11.9444 13.7002 12.0556 13.7002 12.0945 13.6225L12.6455 12.5168C12.6791 12.4497 12.7294 12.3923 12.7921 12.3517Z"
fill="#45DDC0" />
</svg>
<svg id="fl-hype-bravery" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="display: none;">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M5.01502 4H18.9851C19.1038 4 19.2001 4.09992 19.2001 4.22305V14.2017C19.2001 14.2714 19.1689 14.336 19.1164 14.3784L12.1314 19.9536C12.0925 19.9849 12.0467 20 12 20C11.9534 20 11.9076 19.9849 11.8687 19.9536L4.8837 14.3784C4.83118 14.336 4.80005 14.2714 4.80005 14.2017V4.22305C4.80005 4.09992 4.89635 4 5.01502 4ZM12.8365 11.0972L16.964 8.38424C17.0679 8.31561 17.1939 8.42966 17.1365 8.54068L15.4251 11.9026C15.3848 11.9833 15.4433 12.0782 15.533 12.0782H16.5576C16.6756 12.0782 16.724 12.2286 16.6282 12.2972L12.0015 15.6147C11.9601 15.645 11.9037 15.645 11.8613 15.6147L7.2346 12.2972C7.1398 12.2286 7.18821 12.0782 7.30519 12.0782H8.32875C8.41951 12.0782 8.478 11.9833 8.43666 11.9026L6.72534 8.53967C6.66886 8.42966 6.79492 8.31662 6.89879 8.38424L11.0273 11.0972C11.0989 11.1446 11.1564 11.2092 11.1947 11.2859L11.824 12.5495C11.8684 12.6383 11.9954 12.6383 12.0398 12.5495L12.6691 11.2859C12.7074 11.2092 12.7649 11.1436 12.8365 11.0972Z"
fill="#9C84EF" />
</svg>
<svg id="fl-bug-l1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="display: none;"
viewBox="0 0 192.05 181.54">
<path
d="M597,514.75c-2.12,6.46-2.88,13.28-5.37,19.66-6.34,16.22-14.39,31.32-28.45,42.28-7.83,6.11-16.54,10.21-26.89,9.45a20,20,0,0,1-5.49-1c-7.82-2.87-9.65-9.4-4.51-16a20.36,20.36,0,0,1,1.63-2c8.87-8.89,5.14-15.92-1.57-22.47-6.29-6.13-13.68-10.8-20.92-15.68s-14.4-9.34-20.93-15c.38-2.76,2.47-2.39,4.3-2.26a47.62,47.62,0,0,0,25.66-5.18c17.11-8.76,29.29-22.19,36.91-39.64,4.59-10.53,6.6-21.61,4.29-33.17-1-5-3.78-9.11-5.85-13.58,6.81,4.28,12.28,10.11,17.54,16,10.33,11.59,18.9,24.36,24.28,39.08a103.08,103.08,0,0,1,4.59,18c.13.71,0,1.52.78,1.95Z"
transform="translate(-404.95 -409.72)" style="fill: #8ed2b2" />
<path
d="M549.81,420.18c2.07,4.47,4.86,8.61,5.85,13.58,2.31,11.56.3,22.64-4.29,33.17-7.62,17.45-19.8,30.88-36.91,39.64a47.62,47.62,0,0,1-25.66,5.18c-1.83-.13-3.92-.5-4.3,2.26-5.21,5.06-9.19,11.13-13.67,16.78-14.43,18.21-28.7,36.55-43.09,54.79-6.73,8.53-18.2,7.24-22-2.42-1.81-4.66-.52-8.82,2.44-12.6l32.32-41.33,24.24-31c.83-1.06,1.74-1.92,1-3.61-4.82-11.32-3.89-22.85,0-34,7.48-21.35,21.22-37.49,42.14-46.72,10.6-4.67,21.61-6.11,32.57-.56A35.13,35.13,0,0,1,549.81,420.18Z"
transform="translate(-404.95 -409.72)" style="fill: #44b581" />
</svg>
<svg id="fl-bug-l2" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 201.55887 190.77144" style="display: none;">
<title>bug_buster_badge_temp_l2</title>
<path
d="M553.6168,416.7862c6.38831,3.73175,11.38211,9.10292,16.26908,14.46337a137.68267,137.68267,0,0,1,23.27619,34.13889c6.57664,13.98061,10.45548,28.69142,9.03336,44.00966-2.69952,29.07765-14.38356,53.98052-37.531,72.64089a39.76267,39.76267,0,0,1-23.89361,8.92347c-5.37261.17263-11.01117-.96438-14.36746-6.18665-2.83472-4.41074-1.87661-8.71171,2.81045-13.58657,3.58707-3.73081,6.74967-7.67272,5.95557-13.30724-.75362-5.3471-4.27255-9.141-8.01524-12.485-5.848-5.22512-12.45793-9.48632-18.9916-13.829-8.191-5.44428-16.24853-11.08933-24.36276-16.64582.9-1.74472,2.28214-2.0705,5.23453-2.54434,1.48-.23752,3.07706.21463,4.62619.28845,2.62933-.60046,5.31641-.32871,8.14325-.70343l4.47223-.84935c6.33063-.82237,11.6139-4.19235,17.08861-7.07691.78556-.41389.76045-1.03657.88545-2.13032,6.69548-3.505,12.11616-8.93446,16.86173-14.63484,10.70693-12.8612,17.2943-27.5513,18.832-44.29914C560.80585,433.58219,558.32316,424.88783,553.6168,416.7862Z"
transform="translate(-400.92932 -405.35566)" style="fill: #fee9bf" />
<path
d="M493.66047,512.66626a25.5368,25.5368,0,0,0-4.6262-.28845c-2.99826.42785-2.99686.59607-5.23453,2.54434q-15.31608,19.43852-30.62489,38.885c-9.53037,12.14474-18.99331,24.34241-28.529,36.483-5.35468,6.81744-12.52276,7.69811-19.15169,2.45668-5.43737-4.29927-6.14851-12.619-1.42527-18.65761q17.709-22.64053,35.53563-45.189,11.85013-15.06049,23.71258-30.11126c1.02475-1.29545,1.9277-2.39711,1.17751-4.26634-5.44236-13.5608-3.68751-26.979,1.63867-39.99873a83.638,83.638,0,0,1,37.80175-42.37712,17.38789,17.38789,0,0,1,2.59187-.95627q-3.907,30.59733-7.80956,61.19405Q496.16079,492.52184,493.66047,512.66626Z"
transform="translate(-400.92932 -405.35566)" style="fill: #fdd46c" />
<path
d="M553.4293,416.9737c4.70636,8.10163,7.189,16.796,6.3269,26.18607-1.53767,16.74784-8.125,31.43794-18.832,44.29914-4.74557,5.70038-10.44789,12.788-17.143,16.29109-.50115-.75679.35938-3.3139.46219-4.09849,2.59279-19.78408,5.13593-39.57475,7.77321-59.35288,1.47614-11.07032,3.10509-22.12027,4.66519-33.1794C543.70229,407.96025,548.60636,412.398,553.4293,416.9737Z"
transform="translate(-400.92932 -405.35566)" style="fill: #fdd36c" />
<path
d="M501.80371,511.96284c.526-9.57336,2.24437-19.00542,3.44567-28.49646,2.70582-21.37795,5.62064-42.7294,8.43313-64.09391.52053-3.95406.95985-7.91881,1.43759-11.87781q2.28761-.48536,4.57109-.97067-3.90911,29.79444-7.81689,59.58508c-1.698,12.89026-3.44394,25.77422-5.12447,38.66674-.2734,2.09753-.31835,4.22484-.47139,6.338Q504.03857,511.538,501.80371,511.96284Z"
transform="translate(-400.92932 -405.35566)" style="fill: #f0ca6b" />
<path
d="M536.86934,406.93173c-1.5601,11.05913-3.189,22.10908-4.66519,33.1794-2.63728,19.77813-5.13221,39.584-7.725,59.368-.02472.661-.125,1.59375-.22917,2.75-.0625,1.15625-.09989,1.39351-.88545,1.8074-5.47471,2.88456-10.758,6.25454-17.08611,7.07726.153-2.11318.198-4.24049.47139-6.338,1.68053-12.89252,3.42651-25.77648,5.12447-38.66674q3.924-29.7895,7.81464-59.58339C525.448,405.29481,531.19656,404.5108,536.86934,406.93173Z"
transform="translate(-400.92932 -405.35566)" style="fill: #fff" />
<path
d="M493.66046,512.66626q2.52659-20.1411,5.05691-40.2817,3.88482-30.59927,7.80956-61.194c2.413-2.28308,5.46352-3.08225,8.59317-3.69585-.47774,3.959-.91706,7.92375-1.43759,11.87781-2.81249,21.36451-5.72731,42.716-8.43313,64.09391-1.2013,9.491-2.91967,18.92309-3.44567,28.49645C497.69412,512.69666,497.43283,512.20325,493.66046,512.66626Z"
transform="translate(-400.92932 -405.35566)" style="fill: #fff" />
</svg>
<svg id="fl-verified-dev" data-name="Layer 1" width="24" height="24" style="margin-left: 3px; display: none;"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 168.392 146.9">
<path
d="M501.605,574.981c-12.929,0-25.859-.078-38.786.065a5.241,5.241,0,0,1-5.321-3.075q-19.464-33.965-39.182-67.783c-1.043-1.793-1.24-3.093-.111-5.027q19.734-33.808,39.194-67.776a5.558,5.558,0,0,1,5.634-3.223q38.586.143,77.173-.014c2.82-.014,4.215.991,5.563,3.337q19.514,33.936,39.3,67.715c1.149,1.959.918,3.234-.118,5.012q-19.708,33.825-39.241,67.751a5.245,5.245,0,0,1-5.318,3.083C527.464,574.9,514.534,574.981,501.605,574.981Zm-4.531-28.549c1.937-.028,1.9-1.436,2.241-2.521Q511.7,504.1,524.137,464.3c.649-2.061.234-2.845-1.7-3.4-3.958-1.145-7.94-2.258-11.8-3.7-2.562-.956-3.5-.128-4.214,2.265-3.022,10.062-6.191,20.08-9.3,30.115q-7.5,24.2-14.978,48.407c-.361,1.171-1.615,2.914-.014,3.525C487.1,543.408,492.221,544.87,497.074,546.432Zm-25.128-82.178c-12.07,12.086-23.271,23.455-34.686,34.6-2.391,2.336-1.934,3.52.165,5.581,10.537,10.353,20.924,20.858,31.4,31.278.792.789,1.349,1.991,3.069,2.1,0-6.941-.038-13.808.028-20.673.016-1.548-.86-2.432-1.8-3.371-3.388-3.387-6.7-6.86-10.2-10.122-1.692-1.576-1.631-2.572.024-4.119,3.5-3.269,6.813-6.735,10.2-10.125.932-.934,1.854-1.785,1.838-3.347C471.907,479.173,471.946,472.288,471.946,464.254Zm59.364.206c0,7.815.04,14.692-.03,21.567-.016,1.55.852,2.432,1.793,3.372,3.391,3.387,6.705,6.856,10.2,10.128,1.652,1.545,1.722,2.545.03,4.124-3.4,3.177-6.62,6.557-9.885,9.881-.82.835-2.044,1.5-2.053,2.827-.048,7.194-.023,14.39-.023,22.346,12.386-12.343,24.063-24,35.77-35.617,1.091-1.082,1.113-1.873.011-2.966C555.419,488.5,543.742,476.848,531.31,464.46Z"
transform="translate(-417.442 -428.147)" style="fill: #4071dc" />
</svg>
<svg id="fl-nitro-early" xmlns="http://www.w3.org/2000/svg" width="24" height="24"
style="margin-left: 5px; display: none;" viewBox="0 0 190.64 133.24">
<path
d="M559.58,476.67l-.06,11.84c-1.55,1.45-3.5,1.1-5.32,1.11-12.2,0-24.39,0-36.59,0a41.18,41.18,0,0,0-5.21.18c-5.27.69-7.28,2.48-8.69,7.74-.36,3.91-.08,7.84-.16,11.75,1,12.13,8,19.3,20.36,20.88,8.54,0,17.08,0,25.61,0a26.43,26.43,0,0,0,6.83-1.66c1-.4,2-1.15,3.12-.24,1,10.93-7.88,23-22.21,23.12-25.95.25-51.91.3-77.86-.07a32.14,32.14,0,0,1-23.71-10.23c-1.46-2.22-1.06-4.6-.6-7,.54-1.21,1.67-1.39,2.78-1.57,8.85-1.47,14.44-6.79,17.72-14.88,5.26-12.93,10.88-25.7,16.57-38.45.66-1.48,1.14-3.09,3-3.57a15.73,15.73,0,0,1,4.1-.35q37.37,0,74.74,0C555.92,475.31,558,474.9,559.58,476.67Z"
transform="translate(-405.01 -433.22)" style="fill: #a9bef1" />
<path
d="M416.17,561.26c-1.13-1.16-.66-2.61-.66-3.93,0-9.62-.06-19.25,0-28.87a5.45,5.45,0,0,0-1.82-4.65c-8.6-7.3-9.59-16.75-8.14-27.22a67.19,67.19,0,0,1,11.6-30.36c12.3-17.32,29.07-27.58,50-31,3.05-.5,6.12-1,9.17-1.43a68.72,68.72,0,0,1,33.73,11.92A47.21,47.21,0,0,1,522,456.43c.82,1.1,2.28,2.12,1.36,3.89-6,1.56-12.32,1.64-18.41,2.94-12.85,2.74-25.5,6-36.74,13.2-3.73,5.1-5.42,11.18-8,16.81-3.27,7-6.13,14.2-9.07,21.36-3.48,8.48-9.62,13.75-18.65,15.67-4.59,1-8.91.07-13.2-1.42-2.86-.4-1.8,1.86-1.81,3-.11,8.17,0,16.34-.08,24.5C417.32,558.06,417.61,559.88,416.17,561.26Z"
transform="translate(-405.01 -433.22)" style="fill: #eaeef6" />
<path
d="M502.52,497.52c1-6.27,4.41-9,11.51-9,15.16,0,30.32,0,45.49,0,10.29,3.69,10.31,4,10.54,15.75.13,6.92-.91,13.27-5.32,18.86-1.55,2-4.17,2.77-5.27,5.15a36.06,36.06,0,0,1-9,3,213.52,213.52,0,0,0-27.71,0c-12.37-1.83-19.07-10.43-20.24-21A45.85,45.85,0,0,0,502.52,497.52Z"
transform="translate(-405.01 -433.22)" style="fill: #cad9f6" />
<path
d="M467.18,475.74c14.46-8.72,30.41-12.81,47-14.95,3.08-.4,6.19-.64,9.29-1,4.53-2.45,9.41-1.66,14.22-1.52,5.1,1,10.35.3,15.46,1.37,2.17.46,4.4.64,6.38,1.76,9.71,1.82,19.17,4.4,27.88,9.24a36.61,36.61,0,0,1,8.26,6H559.58c-15.33-.05-30.65-.13-46-.15-13.21,0-26.42.06-39.63.1C471.54,477.7,469.1,478.74,467.18,475.74Z"
transform="translate(-405.01 -433.22)" style="fill: #647095" />
<path
d="M416.17,561.26V526.7c1.83-.39,2.61,1.09,3.83,1.56a42.19,42.19,0,0,0,11.84,4.18c1.26.27,2.82-.1,3.51,1.52-.11,2.36.31,4.74-.26,7.08,0,5.46-.25,10.93-.07,16.38a5.78,5.78,0,0,1-3,5.72c-6.7,4.37-6.63,4.48-13.09,0C418,562.55,417.09,561.9,416.17,561.26Z"
transform="translate(-405.01 -433.22)" style="fill: #ee8843" />
<path
d="M537.68,459.33l-14.24.5c-11.24-14.92-27-21.91-44.73-25.22-.83-.15-1.79.1-2.36-.81,8.46-.57,16.92-1.21,25.31.75a57.84,57.84,0,0,1,34.71,20.85C537.25,456.48,538.56,457.59,537.68,459.33Z"
transform="translate(-405.01 -433.22)" style="fill: #fb964b" />
<path
d="M537.68,459.33c-3.32-6.74-9.1-11.05-15-15.18-6.42-4.44-13.72-7-21-9.6,9.13.36,17.84,2.72,26.32,5.88,12.13,4.53,23.12,10.84,31.52,21Z"
transform="translate(-405.01 -433.22)" style="fill: #eaeef6" />
<path d="M435.09,541l-.23-7.48a.72.72,0,0,1,.91,0c0,2.52,0,5-.08,7.57A4,4,0,0,0,435.09,541Z"
transform="translate(-405.01 -433.22)" style="fill: #bfcef4" />
<path
d="M435.77,533.52l-.91,0c-5.55-.07-10.67-1.4-14.86-5.3,10.16,3.24,18.85,1,26.07-6.92,2.24-2.47,3.39-5.48,4.67-8.45q7.29-17,14.57-34a28.43,28.43,0,0,1,1.87-3.18c2.1,1.58,4.57.34,6.8.88-4.06,9.6-8,19.26-12.24,28.78-2.53,5.65-4.44,11.56-7.54,17C450.06,529.64,444,533.21,435.77,533.52Z"
transform="translate(-405.01 -433.22)" style="fill: #cfd8e9" />
<path
d="M490.94,506.23a8,8,0,0,1-7.55,7.73,7.72,7.72,0,0,1-7.42-7.38,7.53,7.53,0,0,1,7.07-7.65A7.73,7.73,0,0,1,490.94,506.23Z"
transform="translate(-405.01 -433.22)" style="fill: #010101" />
<path d="M522.77,531.22c.74-.92,1.78-.71,2.74-.71h22.23c1,0,2-.21,2.74.72Z"
transform="translate(-405.01 -433.22)" style="fill: #d2def7" />
<path d="M502.52,497.52a23.45,23.45,0,0,1,0,12.71Q502.53,503.87,502.52,497.52Z"
transform="translate(-405.01 -433.22)" style="fill: #d2def7" />
<path
d="M441,499c0,5.73-1.48,10.88-5.88,14.81-7.4,6.6-17,5.45-22.63-2.66-5.84-8.35-3.19-21.72,5.38-27.19,9.57-6.12,22,.38,23.12,12.05C441.12,497,441,498,441,499Z"
transform="translate(-405.01 -433.22)" style="fill: #647096" />
<path
d="M534.66,520.75c-1.87,0-3.75,0-5.62,0a3.08,3.08,0,0,1-3.26-2.94,2.88,2.88,0,0,1,2.6-3.5,46.55,46.55,0,0,1,12.31-.08c2,.23,2.46,2.2,2.31,4.13s-1.39,2.44-3.09,2.41S536.41,520.76,534.66,520.75Z"
transform="translate(-405.01 -433.22)" style="fill: #a9bef1" />
<path
d="M554.19,520.75c-2.59.11-5.17,0-5.12-3.36s2.75-3.36,5.14-3.36,5.14,0,5.21,3.29C559.5,521,556.67,520.82,554.19,520.75Z"
transform="translate(-405.01 -433.22)" style="fill: #a9bef1" />
<path
d="M412.45,500.08a15.9,15.9,0,0,1,.7-4.78c1.9-5.16,6.93-8.4,11.94-7.6,4.51.73,8.33,5.75,8.46,11,.09,3.76-.69,7.17-3.38,10s-7.43,4.23-10.5,3C414.93,509.69,412.35,505.55,412.45,500.08Z"
transform="translate(-405.01 -433.22)" style="fill: #fb954b" />
</svg>
<svg id="fl-nitro" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="display: none;">
<circle cx="15" cy="12" r="6" fill="white" />
<path fill-rule="evenodd" clip-rule="evenodd"
d="M2.20812 10.124C2.63448 10.124 2.98972 9.77583 2.98972 9.35789C2.98972 8.93996 2.63448 8.59174 2.20812 8.59174H1.78177C1.35541 8.59174 1 8.93996 1 9.35789C1 9.77583 1.35541 10.124 1.78177 10.124H2.20812ZM18.3385 19.3883C22.3889 17.5773 24.0943 12.98 22.2468 9.14893C20.9677 6.43236 18.2675 4.83034 15.4251 4.69092H7.39545C6.6848 4.69092 6.18733 5.24827 6.18733 5.87517C6.18733 6.57162 6.75592 7.05926 7.39545 7.05926H9.45612C9.88247 7.05926 10.2377 7.40748 10.2377 7.82542C10.2377 8.24335 9.88247 8.59174 9.45612 8.59174H4.41095C3.9846 8.59174 3.62919 8.93996 3.62919 9.35789C3.62919 9.77583 3.9846 10.124 4.41095 10.124H8.03499C8.46134 10.124 8.81658 10.4724 8.81658 10.8904C8.81658 11.3083 8.46134 11.6565 8.03499 11.6565H5.76097C5.33461 11.6565 4.97937 12.0047 4.97937 12.4227C4.97937 12.8406 5.33461 13.189 5.76097 13.189H7.32433C7.39545 14.0249 7.60863 14.8607 7.96387 15.6269C9.74041 19.458 14.4303 21.1297 18.3385 19.3883ZM11.066 14.1999C10.0342 11.9974 11.0194 9.39196 13.2663 8.38057C15.5132 7.36917 18.1712 8.33493 19.2029 10.5374C20.2347 12.7399 19.2497 15.3453 17.0026 16.3567C14.7557 17.3681 12.0978 16.4024 11.066 14.1999Z"
fill="#4F5D7F" />
<path
d="M16.8142 9.86662L18.2354 12.235C18.3065 12.3742 18.3065 12.4439 18.2354 12.5832L16.8142 14.9515C16.7431 15.0908 16.6011 15.0908 16.53 15.0908H13.7586C13.6166 15.0908 13.5455 15.0211 13.4745 14.9515L12.0532 12.5832C11.9823 12.4439 11.9823 12.3742 12.0532 12.235L13.4745 9.86662C13.5455 9.72736 13.6877 9.72736 13.7586 9.72736H16.53C16.6722 9.65765 16.7431 9.72736 16.8142 9.86662Z"
fill="#C5CEDD" />
</svg>
<svg id="fl-boost-1m" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="display: none;">
<path d="M12 4L2 20H22L12 4ZM12 9.66L16.59 17H7.41L12 9.66Z" fill="#FF6BFA" />
<path d="M7.40991 17L11.9999 9.65997L16.5899 17H7.40991Z" fill="#FFDEF9" />
<path d="M12 4V9.66L16.59 17L22 20L12 4Z" fill="#FFB0FF" />
</svg>
<svg id="fl-boost-2m" xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="display: none;"
viewBox="0 0 59.828 59.495">
<path
d="M59.61,29.965a2.7,2.7,0,0,1-.914,1.5Q45.115,45.033,31.541,58.61a2.057,2.057,0,0,1-3.244.178,7.733,7.733,0,0,1-.6-.587Q14.418,44.923,1.13,31.652c-1.472-1.6-1.652-2.291.337-4.2.284-.273.581-.548.864-.831q12.6-12.6,25.194-25.206A5.594,5.594,0,0,1,29.56,0c.413.376.327.88.329,1.35.009,3.119-.01,6.238.012,9.357a3.154,3.154,0,0,1-1.15,2.495c-2.515,2.343-4.851,4.872-7.3,7.278C18.88,23,16.383,25.592,13.76,28.054c-1.232,1.157-1.239,2.254-.006,3.334,2.643,2.316,4.963,4.963,7.508,7.381,2,1.9,3.778,4.014,5.856,5.83A13.037,13.037,0,0,1,28.3,45.953,1.917,1.917,0,0,0,31.314,46c3.557-3.776,7.262-7.406,10.936-11.067,1.469-1.464,2.982-2.888,4.374-4.428a2.338,2.338,0,0,1,1.789-.829c3.439-.026,6.878-.02,10.317,0A1.068,1.068,0,0,1,59.61,29.965Z"
style="fill: #fe6bf9" />
<path
d="M59.61,29.965c-3.637,0-7.275.014-10.912-.009a2.511,2.511,0,0,0-2.031.963c-1.916,2.06-3.972,3.989-5.971,5.971-1.232,1.222-2.458,2.452-3.692,3.672-1.441,1.424-2.754,2.975-4.3,4.3a8.045,8.045,0,0,0-1.019,1.156c-1.115,1.42-2.548,1.35-3.77-.021-1.373-1.539-2.888-2.952-4.335-4.426-1.943-1.979-3.86-3.984-5.828-5.939q-2.147-2.135-4.4-4.158c-.923-.827-1.167-2.524-.278-3.273,2.328-1.961,4.31-4.273,6.522-6.35,3.222-3.026,6.118-6.383,9.458-9.29a1.855,1.855,0,0,0,.536-1.527Q29.565,5.517,29.56,0a3.458,3.458,0,0,1,2.356,1.222Q45.608,14.869,59.258,28.558C59.655,28.955,60.106,29.343,59.61,29.965Z"
style="fill: #feaffe" />
<path
d="M30.121,12.824c.311,0,.46.268.65.457q7.762,7.753,15.528,15.5a.872.872,0,0,1,.193,1.239,5.477,5.477,0,0,1-.907,1.105q-7.08,7.078-14.16,14.158c-1.315,1.314-1.883,1.32-3.178.025L14.088,31.153c-1.19-1.19-1.184-1.668.022-2.874q7.166-7.162,14.325-14.333A4.072,4.072,0,0,1,30.121,12.824Z"
style="fill: #feddf8" />
</svg>
<svg id="fl-boost-3m" xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="display: none;"
viewBox="0 0 35.162 59.208">
<path
d="M34.868,42a3.16,3.16,0,0,1-.95,1.49Q26.31,50.976,18.712,58.468c-1.007.991-1.486.987-2.514-.019Q8.7,51.113,1.208,43.768A3.732,3.732,0,0,1,0,40.9Q.065,29.571.034,18.24a3.388,3.388,0,0,1,1.017-2.578Q8.668,8.189,16.288.719a1.489,1.489,0,0,1,.791-.508c.665.121.6.685.6,1.119.015,3.526.112,7.053-.041,10.576a1.286,1.286,0,0,1-.935.993,7.392,7.392,0,0,0-2.592,1.888c-1.193,1.237-2.423,2.439-3.641,3.652a7.649,7.649,0,0,0-2.182,5.53c-.033,1.838-.01,3.677,0,5.516-.018,2.194.023,4.389-.015,6.583a5.944,5.944,0,0,0,1.771,4.305q2.346,2.475,4.826,4.822c.943.891,2.021,1.6,3.442,1.1a6.049,6.049,0,0,0,1-.513,46.632,46.632,0,0,0,6.1-6.248,7,7,0,0,0,1.445-4.358c-.021-3.8-.042-7.6.02-11.394.014-.878-.5-1.707-.159-2.591a9.378,9.378,0,0,1,2.875-1.677c1.416-.739,2.836-1.471,4.293-2.127.669-.3,1.1-.3,1.1.677-.026,7.826-.013,15.653-.014,23.479A.942.942,0,0,1,34.868,42Z"
style="fill: #fe6bf9" />
<path
d="M17.331,12.232c0-3.594,0-7.188-.01-10.783,0-.418.16-.889-.242-1.238.9-.566,1.408.129,1.921.638q5.823,5.774,11.621,11.573c.507.5,1.056.967,1.605,1.425a6.9,6.9,0,0,1,2.931,5.963c-.234,6.976-.065,13.965-.07,20.948,0,.419.162.887-.219,1.246V17.247l-8.13,4.138-.165-.039a23.949,23.949,0,0,0-4.212-5c-1.174-1.076-2.391-2.106-3.546-3.2C18.446,12.636,17.729,12.693,17.331,12.232Z"
style="fill: #feaffe" />
<path
d="M26.738,21.385a6.247,6.247,0,0,1,.43,2.564c-.024,3.548-.081,7.1.015,10.643A8.331,8.331,0,0,1,25.016,40.6c-1.651,1.834-3.47,3.518-5.228,5.254a1.614,1.614,0,0,1-.534.227.528.528,0,0,1-.125-.377,15.751,15.751,0,0,1,3.837-4.057,8.442,8.442,0,0,0,3.416-7.261c-.177-4.067.077-8.146-.114-12.218-.016-.33-.142-.757.41-.824Z"
style="fill: #feaffe" />
<path
d="M17.331,12.232c.62.1,1.29.079,1.675.721-.235.223-.519.158-.794.133a3.251,3.251,0,0,0-2.693,1.048Q12.93,16.711,10.353,19.3c-1.425,1.437-1.723,3.286-1.817,5.184-.06,1.195,0,2.395-.016,3.592a2.479,2.479,0,0,1-.22,1.4.234.234,0,0,1-.336.037,60.785,60.785,0,0,1,.2-7.276,6.791,6.791,0,0,1,1.808-3.679c1.551-1.661,3.214-3.218,4.8-4.845A12.675,12.675,0,0,1,17.331,12.232Z"
style="fill: #febdf8" />
<path
d="M7.964,29.511h.244c.393.384.3.885.31,1.352.015,1.553,0,3.106.006,4.659a5.938,5.938,0,0,0,1.864,4.5c1.409,1.35,2.809,2.713,4.133,4.145,1.091,1.18,2.25,2.119,3.96,2.058a.212.212,0,0,1,.047.325,2.659,2.659,0,0,1-3.21-.586c-2.271-2.168-4.724-4.176-6.527-6.8a4.859,4.859,0,0,1-.833-2.814C7.947,34.065,7.96,31.788,7.964,29.511Z"
style="fill: #febdf8" />
<path d="M18.528,46.545l0-.243c0-.513.314-.564.717-.478l.012.26Z" style="fill: #febdf8" />
<path
d="M19.242,45.824l-.717.479a3.159,3.159,0,0,1-3.4-1.089c-1.655-1.731-3.363-3.414-5.077-5.088a6,6,0,0,1-1.841-4.5q0-3.054,0-6.11c.1-2.3-.192-4.607.225-6.9a6.445,6.445,0,0,1,1.731-3.577c1.693-1.688,3.4-3.365,5.066-5.075a3.363,3.363,0,0,1,3.776-1c2.237,2.089,4.676,3.968,6.563,6.419a14.343,14.343,0,0,1,1.109,1.975c-.452.649.05,1.289.04,1.939-.06,3.994-.088,7.99-.01,11.982a7.882,7.882,0,0,1-3.217,6.366A46.556,46.556,0,0,0,19.242,45.824Z"
style="fill: #feddf8" />
</svg>
<svg id="fl-boost-6m" xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="display: none;"
viewBox="0 0 51.155 56.674">
<path
d="M50.894,41.252C48.083,43.3,45,44.914,42.048,46.725c-5.275,3.23-10.594,6.389-15.9,9.572-.284.171-.522.517-.936.316a2.376,2.376,0,0,1-.373-1.7c-.01-3.014,0-6.027-.019-9.039.066-.515.5-.681.875-.9,4.548-2.655,9.083-5.332,13.683-7.895a2.584,2.584,0,0,0,1.624-2.717c-.13-1.707.008-3.429-.067-5.146-.018-1.9-.028-3.8,0-5.7a32.579,32.579,0,0,1,.088-4.261,1.23,1.23,0,0,1,.191-.406,17.8,17.8,0,0,1,3.721-1.878c1.634-.828,3.3-1.615,5-2.29.693-.274,1.09-.188,1.087.749-.028,8.416-.016,16.832-.017,25.249A.885.885,0,0,1,50.894,41.252Z"
style="fill: #fe6cf9" />
<path
d="M.242,42.456c-.308-.3-.187-.677-.188-1.022C.036,32.917.035,24.4,0,15.883a1.644,1.644,0,0,1,.907-1.634q11.942-7,23.858-14.036A3.111,3.111,0,0,1,25.434,0,1.2,1.2,0,0,1,25.8.859c.006,3.06.183,6.122-.1,9.178-.449.841-1.335,1.1-2.088,1.526-4.327,2.419-8.652,4.839-13.008,7.205a2.059,2.059,0,0,0-1.163,2.013c-.105,3.84.251,7.666.284,11.5a42.393,42.393,0,0,1-.082,4.337,1.558,1.558,0,0,1-.8.99c-2.7,1.528-5.356,3.118-8.037,4.671A1.452,1.452,0,0,1,.242,42.456Z"
style="fill: #fe6cf9" />
<path
d="M.242,42.456a34.567,34.567,0,0,1,4.815-2.993c1.411-.877,2.866-1.682,4.3-2.52a.364.364,0,0,1,.308-.114c1.675.733,3.183,1.776,4.817,2.586,1.627,1.049,3.325,1.971,5.044,2.856,1.582.845,3.142,1.73,4.7,2.61.307.174.661.31.732.726a2.217,2.217,0,0,1,.246,1.377q0,4.813,0,9.629c-3.014-1.439-5.834-3.229-8.744-4.854C11.264,48.85,6.093,45.879.909,42.929A8.128,8.128,0,0,1,.242,42.456Z"
style="fill: #e24bd0" />
<path
d="M25.428,10.262,25.434,0c2.523,1.1,4.808,2.635,7.2,3.969,5.154,2.87,10.248,5.849,15.4,8.721,3.054,1.7,3.084,1.647,3.084,5.136q0,11.029-.008,22.059c0,.458.182.967-.221,1.367v-26.6l-9.6,4.277c-.867.166-1.469-.433-2.135-.789-.9-.479-1.76-1.026-2.7-1.429q-5.14-2.829-10.212-5.784A1.727,1.727,0,0,1,25.428,10.262Z"
style="fill: #feaffe" />
<path
d="M36.495,16.537c1.24.2,2.142,1.085,3.224,1.606.53.255,1.052.526,1.577.791l-.02.239A3.269,3.269,0,0,1,39.7,20.4C30.034,25.759,20.44,31.237,10.783,36.6a1.656,1.656,0,0,1-1.217.366.727.727,0,0,1-.207-.027q0-2.4.007-4.81a2.72,2.72,0,0,1,1.327-1.158c8.059-4.566,16.136-9.1,24.173-13.706A4.875,4.875,0,0,1,36.495,16.537Z"
style="fill: #fefefe" />
<path
d="M9.566,36.97Q20.87,30.6,32.174,24.222c3.024-1.7,6.068-3.367,9.1-5.049q0,2.166,0,4.331a2.617,2.617,0,0,1-1.148,1.016c-8.082,4.867-16.148,9.761-24.255,14.587-.466.277-.9.7-1.533.494A48.682,48.682,0,0,1,9.566,36.97Z"
style="fill: #fee2f8" />
<path
d="M14.341,39.6c4.07-2.414,8.148-4.817,12.21-7.245q7.374-4.408,14.726-8.852,0,2.994,0,5.989a2.033,2.033,0,0,1-.9.922c-6.682,3.9-13.326,7.867-20.032,11.727a1.665,1.665,0,0,1-.89.31A27.577,27.577,0,0,1,14.341,39.6Z"
style="fill: #fefefe" />
<path
d="M19.454,42.452c2.79-1.675,5.573-3.362,8.372-5.022q6.717-3.983,13.45-7.937c.006,2.032.008,4.063.023,6.1a.962.962,0,0,1-.479.991q-7.762,4.458-15.509,8.943a1.317,1.317,0,0,1-.347.085Z"
style="fill: #fee2f8" />
<path
d="M36.495,16.537A32.9,32.9,0,0,1,31.7,19.4c-7.428,4.273-14.884,8.5-22.331,12.738-.069-3.942-.118-7.884-.222-11.825a1.6,1.6,0,0,1,1-1.665c4.858-2.65,9.683-5.363,14.522-8.05a8.112,8.112,0,0,1,.764-.331,50.954,50.954,0,0,1,5.311,2.927A60.9,60.9,0,0,1,36.495,16.537Z"
style="fill: #fee2f8" />
</svg>
<svg id="fl-boost-9m" xmlns="http://www.w3.org/2000/svg" style="margin-left: 3px; display: none;" width="24"
height="24" viewBox="0 0 50.887 50.938">
<path
d="M.181,48.336A1.012,1.012,0,0,1,0,47.543q.008-22.3.022-44.6C.331,2.4.919,2.168,1.344,1.754,1.836,1.275,2.351,1.589,2.69,2c1.862,2.242,4.066,4.15,6.041,6.28a1.957,1.957,0,0,1,.6,1.4A21.937,21.937,0,0,0,9.237,12.3q0,11.234,0,22.467c-.006,2.049.1,4.1-.063,6.145a1.465,1.465,0,0,1-.578.867q-3.98,3.2-7.98,6.378A1.107,1.107,0,0,1,.181,48.336Z"
style="fill: #fe6bf9" />
<path
d="M9.136,9.164Q6.718,6.688,4.3,4.212c-.222-.228-.45-.452-.673-.679-.556-.564-.861-1.47-1.627-1.7C1.114,1.569.823,2.791.026,2.939,1.26,1.7,1.982-.014,4.287,0c14.2.09,28.394.043,42.59.053.463,0,.964-.162,1.387.182a45.748,45.748,0,0,1-3.211,4.29q-1.4,1.861-2.865,3.68a2.346,2.346,0,0,1-1.3,1c-1.9.166-3.8.068-5.694.073q-12.036,0-24.07-.011C10.467,9.269,9.778,9.572,9.136,9.164Z"
style="fill: #feaffe" />
<path
d="M47.985,50.9,9.5,50.924c-1.919,0-3.837.007-5.755-.005-.389,0-.8.105-1.156-.171,1.7-2.532,3.694-4.832,5.551-7.24.522-.677.909-1.517,1.861-1.751,2.356-.14,4.711-.045,7.067-.058,2.073-.06,4.146-.042,6.219-.02,5.315.024,10.63,0,15.945.01a10.452,10.452,0,0,1,1.553.044,1.705,1.705,0,0,1,1.077.689c2.006,2.427,4.04,4.831,5.971,7.319C48.084,50.063,48.659,50.421,47.985,50.9Z"
style="fill: #fe6bf9" />
<path
d="M50.647,2.681c.314.283.23.663.23,1.012q0,21.984,0,43.97c0,.119-.016.239-.024.358-.512.379-.827-.079-1.136-.32-2.486-1.939-4.895-3.973-7.326-5.98a1.826,1.826,0,0,1-.691-1.094c-.117-6-.027-11.988-.05-17.981,0-.24.008-.48-.008-.719-.034-1.914-.035-3.827.015-5.74.018-2.043-.083-4.087.051-6.127a2.114,2.114,0,0,1,.867-1.241C45,6.9,47.355,4.886,49.8,2.989,50.049,2.8,50.279,2.547,50.647,2.681Z"
style="fill: #fe6bf9" />
<path
d="M42.015,41.072q4.057,3.294,8.115,6.592c.217.176.4.389.72.357A6.209,6.209,0,0,1,47.985,50.9c.311-.434-.085-.629-.3-.891q-3.207-3.972-6.409-7.947a.238.238,0,0,1-.1-.248,1.681,1.681,0,0,1,.447-.561A.643.643,0,0,1,42.015,41.072Z"
style="fill: #feaffe" />
<path
d="M9.615,42.023C7.624,44.608,5.641,47.2,3.633,49.77a8.886,8.886,0,0,1-1.043.977L.181,48.336a27.377,27.377,0,0,1,4.1-3.453,40.006,40.006,0,0,1,4.625-3.574.376.376,0,0,1,.391.117C9.447,41.6,9.7,41.721,9.615,42.023Z"
style="fill: #e049cd" />
<path
d="M50.647,2.681,41.978,9.66c-.323.082-.407-.193-.558-.37a.542.542,0,0,1-.092-.417q2.953-3.826,5.913-7.65A3.06,3.06,0,0,1,48.264.235Z"
style="fill: #e049cd" />
<path
d="M41.328,8.873l.2.286c.276.474-.066.767-.316,1.087Q25.7,25.72,10.223,41.23c-.316.217-.572.641-1.052.318l-.265-.239q0-3.23,0-6.459a3.086,3.086,0,0,1,.636-.944c8.225-8.15,16.636-16.112,24.8-24.324a3.354,3.354,0,0,1,.946-.638Z"
style="fill: #fefefe" />
<path
d="M35.292,8.944a1.675,1.675,0,0,1-.725.706,3.611,3.611,0,0,1-2.085.382H12.73c-.478,0-.957,0-1.436.027a1.2,1.2,0,0,0-1.279,1.275c-.026.478-.027.957-.027,1.436q0,9.636,0,19.273A3.519,3.519,0,0,1,9.6,34.127a1.726,1.726,0,0,1-.691.723Q8.9,22.643,8.892,10.438a6.718,6.718,0,0,1,.244-1.274,8.633,8.633,0,0,1,1.4-.228Q22.914,8.924,35.292,8.944Z"
style="fill: #fed5f8" />
<path
d="M42.013,16.115l-.055,5.765a2.716,2.716,0,0,1-.627.948c-3.688,3.921-7.315,7.9-10.946,11.871-2.044,2.237-4.14,4.426-6.164,6.682a3.049,3.049,0,0,1-.945.634H17.053c-.27-.293-.079-.541.077-.793C20.666,37.654,24.117,34,27.624,30.405c4.59-4.71,9.038-9.559,13.751-14.15C41.57,16.124,41.762,15.982,42.013,16.115Z"
style="fill: #fefefe" />
<path
d="M23.276,42.015a1.728,1.728,0,0,1,.72-.692,2.865,2.865,0,0,1,1.606-.372c4.862-.027,9.725.061,14.586-.048.659-.015,1.1.16,1.1.906l-.007.25Z"
style="fill: #fed5f8" />
<path
d="M17.283,41.325l-.23.689-7.438.009-.444-.475c.4.03.585-.345.9-.47A48.387,48.387,0,0,1,16.535,41,.979.979,0,0,1,17.283,41.325Z"
style="fill: #fed5f8" />
<path
d="M41.277,22.6a1.744,1.744,0,0,1,.681-.72q.027,9.6.056,19.192l-.248.261a1.075,1.075,0,0,1-.875-1.23c.027-5.419-.011-10.838.02-16.257A2.451,2.451,0,0,1,41.277,22.6Z"
style="fill: #fed5f8" />
<path
d="M42.013,16.115l-.495.247c-.509-.024-.545-.445-.552-.773a32.641,32.641,0,0,1,.069-5.469c.147-.329.513-.546.49-.961l.453.5Q42,12.888,42.013,16.115Z"
style="fill: #fed5f8" />
<path
d="M41.277,22.6c0,5.885.019,11.771-.049,17.656-.007.579.432.69.538,1.077l-.48.476c-.394-.817-1.117-.479-1.732-.48Q31.775,41.319,24,41.323a48.1,48.1,0,0,1,4.436-4.971c3.883-4.359,7.9-8.6,11.871-12.88C40.6,23.154,40.951,22.889,41.277,22.6Z"
style="fill: #feddf8" />
<path
d="M9.6,34.127q0-11.268,0-22.535c0-1.642.3-1.946,1.952-1.946q11.508,0,23.014,0c-3.072,3.19-6.177,6.344-9.43,9.358-2.93,2.715-5.6,5.713-8.536,8.419C14.223,29.617,12.033,32,9.6,34.127Z"
style="fill: #feddf8" />
<path
d="M41.035,10.12c.515,1.573.114,3.193.25,4.784.042.49-.193,1.029.233,1.458-.2.244-.39.5-.611.729-3.99,4.078-8,8.136-11.971,12.232-3.578,3.691-7.113,7.424-10.674,11.133-.3.314-.651.581-.979.869-1.943,0-3.886,0-5.829,0a2.424,2.424,0,0,1-1.381-.249c.205-.242.394-.5.618-.723Q25.5,25.541,40.311,10.737C40.535,10.513,40.793,10.325,41.035,10.12Z"
style="fill: #feddf8" />
</svg>
<svg id="fl-boost-12m" xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="display: none;"
viewBox="0 0 46.753 59.203">
<path
d="M9.554,35.181a18.522,18.522,0,0,0-3.2-4.862C4.317,27.819,2.683,25,.34,22.743c-.716-.691-.172-1.257.448-1.625a18.1,18.1,0,0,1,5.864-1.946,56.267,56.267,0,0,0,10.465-3.693,7.163,7.163,0,0,0,2.8-2.551A91.734,91.734,0,0,0,25.367,4.5a3.63,3.63,0,0,1,.6-1.021,7.474,7.474,0,0,0,1.335-2.24c.178-.376.4-.835.8-.783.539.071.476.66.49,1.073.051,1.47.036,2.942.017,4.412-.04,3.179.118,6.359-.082,9.534C27,17.855,25.337,20.149,23.6,22.386a3.427,3.427,0,0,1-1.74,1.01c-2.124.707-4.251,1.4-6.369,2.127-1.3.445-1.423.8-.633,1.879.824,1.129,1.627,2.275,2.48,3.384.5.994,1.484,1.7,1.662,2.882a.549.549,0,0,1-.191.317c-2.018.863-4.209,1.034-6.309,1.568a4.978,4.978,0,0,1-2.322.347A1.4,1.4,0,0,1,9.554,35.181Z"
style="fill: #fe73f9" />
<path
d="M10.046,35.715,18.863,33.8c.74,1.225.3,2.555.343,3.839A15.409,15.409,0,0,0,19,41.552c.01.547.112,1.059.843,1.038,2.045-.558,3.959-1.467,5.951-2.162a2.6,2.6,0,0,1,1.844-.3c.544.375.5.96.508,1.5q.034,3.564,0,7.128c-.006.584.042,1.218-.613,1.559Q21.169,52.358,14.81,54.4c-.411.132-.8.324-1.2.487-1.624,1.121-2.72,1.044-3.561-.25l0,.022c-.2-.192-.149-.443-.149-.676q0-8.794,0-17.588C9.9,36.158,9.848,35.908,10.046,35.715Z"
style="fill: #e555d3" />
<path
d="M28.245,15.777V.444c-1.107,1.067-1.114,2.674-2.389,3.344a.327.327,0,0,1,0-.481l1.189-1.93c.2-.295.222-.687.5-.945.845-.8,1.456-.393,1.87.44,1.262,2.538,3.106,4.7,4.557,7.107,1.009,1.676,2.331,3.114,3.379,4.754,1.824,2.855,4.724,4.034,7.788,4.945,3.428,1.019,6.8,2.225,10.306,2.985,1.275.276,1.556,1.542.664,2.634-.6.736-1.272,1.414-1.912,2.118A.584.584,0,0,1,54,25.124c-.058-1.285,1.249-1.747,1.751-2.806a4.216,4.216,0,0,0-1.664.432c-3.361,1.243-6.786,2.3-10.132,3.589a1.936,1.936,0,0,1-1.279.166,22.219,22.219,0,0,0-3.892-1.636c-1.692-.72-3.546-1.053-5.088-2.129a6.173,6.173,0,0,1-1.863-2.226c-.723-1-1.443-2.009-2.079-3.069A8.857,8.857,0,0,0,28.245,15.777Z"
style="fill: #feaefe" />
<path
d="M42.873,54.453c.718.036,1.336.539,2.083.446.732-.09,1.085-.4.546-1.086-2.807-3.548-5.4-7.265-8.373-10.682.405-2.846-.085-5.682-.1-8.523a2.433,2.433,0,0,1,.509-2c.821-.242,1.452.278,2.123.572,1.68.737,3.359,1.475,5.019,2.256.858.4,1.493.38,1.977-.554.187-.361.49-.758,1.041-.609C46.193,36.1,46.5,38.28,46.5,40.4l0,5.382c-.407.425-.97.248-1.454.377s-.944.308-1,.869c-.061.619.45.75.9.916.512.186,1.122.051,1.559.477,0,1.711.01,3.423,0,5.134-.011,1.587.019,1.612-1.544,1.341C44.936,54.822,45.333,55.125,42.873,54.453Z"
style="fill: #feaefe" />
<path
d="M27.529,50.322a2.058,2.058,0,0,0,.249-1.146c-.008-2.628,0-5.256-.01-7.884,0-.4.177-.926-.48-1.043.517-.905,1.234-.41,1.835-.2,2.66.94,5.328,1.861,7.976,2.832a6.844,6.844,0,0,1,2.02,2.163c2.044,2.65,4.172,5.174,6.232,7.98a11.087,11.087,0,0,0,.89,1.141c.41.451.135.881-.281.891a7.857,7.857,0,0,1-3.087-.6c-3.4-1.078-6.782-2.225-10.212-3.2A50.32,50.32,0,0,0,27.529,50.322Z"
style="fill: #fe73f9" />
<path
d="M47.7,34.27a5.9,5.9,0,0,0-.717,1.16c-.547,1.05-1.268.818-2.152.4-2.325-1.1-4.662-2.169-7-3.251.114-.944.875-1.468,1.409-2.128,1.052-1.3,2.243-2.488,3.185-3.88a.66.66,0,0,1,.259-.209l10.564-3.634c.75-.258,1.494-.533,2.248-.778.872-.283,1.253-.57,1.069-.128-.13.31-.063-.575.078-.047.206.779-.514,1.519-2.2,3.578-1.118,1.559-2.189,2.8-3.438,4.28-.508.6-1.178,1.521-2.095,2.738Z"
style="fill: #fe73f9" />
<path
d="M3.731,6.237a2.145,2.145,0,0,1,1.641.387,3.284,3.284,0,0,0,3.611.092c.246-.129.508-.228.766-.333.439-.176,1.018-.529,1.318-.1s-.227.857-.56,1.183a2.257,2.257,0,0,0-.479,2.832c.359.755.716,1.512,1.04,2.282a1.261,1.261,0,0,1-.2,1.545c-.484.446-.905.012-1.3-.183-1.909-.948-3.79-1.492-5.677.054a.785.785,0,0,1-1.091-.06c-.383-.346-.078-.664.076-.961a14.256,14.256,0,0,0,.926-2.323,2.087,2.087,0,0,0-.586-2.577,1.168,1.168,0,0,1-.337-1.414C3.066,6.185,3.611,6.265,3.731,6.237Z"
style="fill: #fed736" />
<path
d="M52.732,42.145c0,1.929-.179,2.182-1.351,2.216a1.085,1.085,0,0,1-1.24-1.014,6.89,6.89,0,0,1,.235-3.071.986.986,0,0,1,.868-.72,1.137,1.137,0,0,1,1.133.51A3.31,3.31,0,0,1,52.732,42.145Z"
style="fill: #e5f5fe" />
<path
d="M46.5,48.424a7.554,7.554,0,0,1-1.879-.21c-.567-.136-.939-.386-.995-1a1.187,1.187,0,0,1,.866-1.264,6.256,6.256,0,0,1,2-.167c.84.029,1.83-.213,1.925,1.117C48.5,48.072,48.105,48.394,46.5,48.424Z"
style="fill: #e5f4fe" />
<path
d="M56.436,48.425c-1.983,0-2.223-.17-2.275-1.3a1.132,1.132,0,0,1,1.2-1.312,7.268,7.268,0,0,1,2.6.19c.561.163.941.4,1,1.007a1.194,1.194,0,0,1-.782,1.215A4.156,4.156,0,0,1,56.436,48.425Z"
style="fill: #e5f5fe" />
<path
d="M50.086,51.783c.1-.9-.367-2.11,1.271-2.171a1.14,1.14,0,0,1,1.348,1.162,7.2,7.2,0,0,1-.178,2.6c-.161.556-.363.961-.973,1.036-.668.082-1.02-.306-1.288-.851A4.855,4.855,0,0,1,50.086,51.783Z"
style="fill: #e5f5fe" />
<path d="M25.856,3.307v.481l-.489.708A1.385,1.385,0,0,1,25.856,3.307Z" style="fill: #fedcfd" />
<path d="M27.542.432a1.286,1.286,0,0,1-.5.945C27.034.969,27.1.6,27.542.432Z"
style="fill: #fedcfd" />
<path
d="M28.245,15.777a1.874,1.874,0,0,1,1.379.982c.784,1.221,1.63,2.4,2.451,3.6a28.661,28.661,0,0,1-4.158,3.221c-3.147,2.333-6.321,4.631-9.486,6.941-.357.261-.685.749-1.253.393a30.694,30.694,0,0,1-3.061-4.091c-.556-.824.1-1.207.809-1.443,2.264-.751,4.521-1.526,6.8-2.239A4.479,4.479,0,0,0,24.047,21.4,50.058,50.058,0,0,1,28.245,15.777Z"
style="fill: #fedcf8" />
<path
d="M33.772,22.508c1.569.993,3.424,1.306,5.062,2.135-1.841,1.532-3.915,2.733-5.879,4.088Q26.7,33.044,20.4,37.288c-.442.3-.846.773-1.491.579L18.863,33.8c.008-.083.017-.166.025-.249.1-.387.431-.562.714-.767,4.5-3.268,8.925-6.646,13.437-9.9A1.484,1.484,0,0,1,33.772,22.508Z"
style="fill: #fedcf8" />
<path
d="M33.772,22.508a37.441,37.441,0,0,1-4.79,3.687c-3.119,2.386-6.3,4.691-9.461,7.023a4.584,4.584,0,0,1-.633.333,19.645,19.645,0,0,1-1.709-2.637A49,49,0,0,0,22.5,27.166c3.095-2.219,6.152-4.491,9.229-6.734a.925.925,0,0,1,.345-.073A6.847,6.847,0,0,0,33.772,22.508Z"
style="fill: #fefefe" />
<path
d="M18.905,37.867q5.679-3.828,11.358-7.656,3.7-2.5,7.4-5.013a2.767,2.767,0,0,1,1.174-.554c1.33.472,2.795.64,3.855,1.719-.017.074-.037.148-.059.221a8.644,8.644,0,0,1-2.355,2.006q-9.282,6.6-18.574,13.179a15.847,15.847,0,0,1-1.849,1.106c-.712.508-1.134.027-1.143-.546A15.359,15.359,0,0,1,18.905,37.867Z"
style="fill: #fefefe" />
<path
d="M19.852,42.875a25.567,25.567,0,0,1,3.982-3.007c6.24-4.463,12.527-8.862,18.8-13.284-.607,1.513-1.963,2.446-2.883,3.719-.58.8-1.271,1.521-1.912,2.277-.905,1.4-.526,2.954-.346,4.394.229,1.829-.08,3.656.218,5.467.067.4-.428.422-.579.69-2.667-.728-5.209-1.822-7.83-2.681-.648-.212-1.285-.708-2.011-.2q-3.155,1.174-6.311,2.345C20.615,42.728,20.278,42.989,19.852,42.875Z"
style="fill: #fedcf8" />
</svg>
<svg id="fl-boost-15m" xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="display: none;"
viewBox="0 0 46.753 59.203">
<path
d="M32.606,52.547q-2.956,2.886-5.912,5.772c-1.194,1.168-1.6,1.178-2.772.03Q16.559,51.137,9.188,43.93a4.212,4.212,0,0,1-1.364-3.282c.057-7.472.053-14.944.038-22.417a3.39,3.39,0,0,1,1.021-2.574Q16.5,8.187,24.116.719a1.485,1.485,0,0,1,.791-.508c.664.121.6.685.6,1.119.015,3.526.112,7.053-.041,10.576a1.284,1.284,0,0,1-.935.993,7.392,7.392,0,0,0-2.592,1.888c-1.193,1.237-2.422,2.439-3.64,3.652a7.641,7.641,0,0,0-2.182,5.53c-.033,1.838-.01,3.677,0,5.516-.017,2.194.023,4.389-.014,6.583a5.947,5.947,0,0,0,1.77,4.305Q20.22,42.848,22.7,45.2c.943.892,2.021,1.6,3.442,1.1a6,6,0,0,0,1-.512,46.707,46.707,0,0,0,6.1-6.249,7,7,0,0,0,1.445-4.358c-.021-3.8-.042-7.6.019-11.394.015-.878-.5-1.707-.159-2.591a9.4,9.4,0,0,1,2.876-1.677c1.415-.738,2.836-1.471,4.293-2.127.669-.3,1.1-.3,1.1.677-.026,7.826-.013,15.653-.015,23.48a.934.934,0,0,1-.1.462c-.341,1.2-1.344,1.845-2.181,2.631-.586-.141-.852-1.154-1.621-.7-.7.419-.63,1.232-.7,1.938-.06.579.1,1.224-.5,1.634a10.959,10.959,0,0,0-1.965,1.956c-.3.482-.781.5-1.264.514a12.026,12.026,0,0,0-1.554.059,1.177,1.177,0,0,0-1.029.712c-.172.464.119.745.438,1.012C32.554,51.966,32.859,52.155,32.606,52.547Z"
style="fill: #fe6bf9" />
<path
d="M42.7,42.005V17.247l-8.13,4.138-.165-.039a23.914,23.914,0,0,0-4.211-5c-1.175-1.076-2.391-2.106-3.547-3.2-.368-.509-1.086-.452-1.484-.913,0-3.594,0-7.188-.01-10.783,0-.418.161-.889-.241-1.238.9-.566,1.408.129,1.92.638C30.71,4.7,34.571,8.568,38.449,12.422c.506.5,1.056.967,1.605,1.425a6.9,6.9,0,0,1,2.93,5.964c-.233,6.975-.065,13.964-.069,20.948C42.914,41.177,43.077,41.645,42.7,42.005Z"
style="fill: #feaffe" />
<path
d="M1.235.507A2.007,2.007,0,0,1,2.707.885a3.452,3.452,0,0,0,3.725.1C7.05.686,7.9,0,8.381.563c.5.585-.488,1.086-.851,1.6a2.041,2.041,0,0,0-.215,2.143c.366.839.754,1.669,1.115,2.51a1.3,1.3,0,0,1-.14,1.557c-.516.518-.983.048-1.389-.185a6.687,6.687,0,0,0-2.837-.834,3.2,3.2,0,0,0-2.543.765.911.911,0,0,1-1.293.134c-.5-.419-.047-.8.127-1.156a16.039,16.039,0,0,0,.851-2.225A2.021,2.021,0,0,0,.639,2.4,1.19,1.19,0,0,1,.253.994C.445.44,1.022.54,1.235.507Z"
style="fill: #fed736" />
<path
d="M32.606,52.547c-.013-.21-.078-.387-.308-.444a1.063,1.063,0,0,1-.866-1.327c.113-.782.729-.972,1.374-1.063.967-.136,1.973.19,2.916-.245.1.214.19.428.289.64.606,1.3.117,2.124-1.293,2.2A4.281,4.281,0,0,0,32.606,52.547Z"
style="fill: #e5f4fe" />
<path
d="M37.687,47.512c.426-.788.1-1.661.28-2.472.142-.631.074-1.423,1-1.575s1.272.467,1.551,1.171c0,.708-.014,1.416,0,2.123.015.577-.006,1.187-.642,1.372-.62.181-1.323.335-1.8-.4C38.006,47.624,37.82,47.585,37.687,47.512Z"
style="fill: #e5f3fe" />
<path
d="M44.075,52.351c-1.839-.041-2.086-.219-2.133-1.358a1.129,1.129,0,0,1,1.215-1.3,7.228,7.228,0,0,1,2.488.171c.6.173,1.046.36,1.1,1.04a1.184,1.184,0,0,1-1.02,1.283A9.394,9.394,0,0,1,44.075,52.351Z"
style="fill: #e5f5fe" />
<path
d="M40.565,56.005a7.165,7.165,0,0,1-.3,1.415,1,1,0,0,1-.858.873,1.046,1.046,0,0,1-1.207-.569,5.835,5.835,0,0,1-.2-3.622c.081-.511.659-.6,1.178-.6a1.089,1.089,0,0,1,1.165.627A6.809,6.809,0,0,1,40.565,56.005Z"
style="fill: #e5f5fe" />
<path
d="M34.565,21.385a6.249,6.249,0,0,1,.43,2.565c-.024,3.547-.081,7.1.015,10.642A8.331,8.331,0,0,1,32.844,40.6c-1.651,1.834-3.47,3.518-5.228,5.255a1.63,1.63,0,0,1-.535.226.532.532,0,0,1-.124-.377,15.734,15.734,0,0,1,3.837-4.057,8.442,8.442,0,0,0,3.416-7.261c-.177-4.067.077-8.146-.114-12.218-.016-.33-.142-.757.409-.824Z"
style="fill: #feaffe" />
<path
d="M25.158,12.232c.62.1,1.29.079,1.676.721-.235.223-.52.158-.795.133a3.253,3.253,0,0,0-2.693,1.047q-2.589,2.579-5.165,5.167c-1.426,1.437-1.723,3.286-1.818,5.184-.06,1.195,0,2.395-.015,3.592a2.479,2.479,0,0,1-.221,1.4.233.233,0,0,1-.335.037,60.79,60.79,0,0,1,.2-7.276A6.8,6.8,0,0,1,17.8,18.556c1.551-1.661,3.214-3.218,4.8-4.845A12.73,12.73,0,0,1,25.158,12.232Z"
style="fill: #febdf8" />
<path
d="M15.792,29.511h.244c.393.384.3.885.309,1.352.016,1.553.006,3.106.006,4.659a5.938,5.938,0,0,0,1.865,4.5c1.408,1.35,2.808,2.714,4.132,4.145,1.092,1.18,2.25,2.119,3.961,2.058a.212.212,0,0,1,.046.325,2.659,2.659,0,0,1-3.21-.586c-2.271-2.168-4.723-4.176-6.526-6.8a4.86,4.86,0,0,1-.834-2.814C15.774,34.065,15.788,31.788,15.792,29.511Z"
style="fill: #febdf8" />
<path d="M26.355,46.545l0-.242c0-.514.314-.565.717-.479l.011.26Z" style="fill: #febdf8" />
<path
d="M27.07,45.824l-.717.479a3.159,3.159,0,0,1-3.4-1.089c-1.656-1.731-3.363-3.414-5.077-5.088a5.992,5.992,0,0,1-1.841-4.5q0-3.054,0-6.11c.1-2.3-.192-4.606.225-6.9a6.445,6.445,0,0,1,1.731-3.577c1.693-1.688,3.4-3.365,5.066-5.075a3.363,3.363,0,0,1,3.776-1c2.237,2.089,4.675,3.968,6.563,6.419a14.442,14.442,0,0,1,1.108,1.975c-.452.649.051,1.289.041,1.94-.06,3.993-.088,7.989-.01,11.981a7.888,7.888,0,0,1-3.217,6.366A46.556,46.556,0,0,0,27.07,45.824Z"
style="fill: #feddf8" />
</svg>
<svg id="fl-boost-18m" xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="display: none;"
viewBox="0 0 52.034 58.426">
<path
d="M51.312,42.588a41.365,41.365,0,0,1-5.525,3.386c-.331-.29-.275-.72-.39-1.088-.149-.475-.367-.913-.946-.89-.528.022-.684.463-.809.89a5.9,5.9,0,0,0-.175,1.521,1.564,1.564,0,0,1-.316,1.219l-3.389,2.152a.6.6,0,0,1-.5.267,2.484,2.484,0,0,0-2.648,1.627q-5.023,2.982-10.05,5.963c-.285.168-.52.515-.934.313a2.38,2.38,0,0,1-.372-1.7c-.011-3.014,0-6.027-.02-9.038.067-.516.5-.682.875-.9,4.548-2.655,9.083-5.332,13.683-7.9A2.583,2.583,0,0,0,41.422,35.7c-.129-1.707.009-3.429-.066-5.146-.018-1.9-.029-3.8,0-5.7a32.594,32.594,0,0,1,.088-4.262,1.271,1.271,0,0,1,.191-.406,17.831,17.831,0,0,1,3.722-1.878c1.634-.828,3.294-1.614,5-2.29.692-.274,1.089-.187,1.086.749-.028,8.416-.016,16.833-.016,25.249A.9.9,0,0,1,51.312,42.588Z"
style="fill: #fe6cf9" />
<path
d="M.659,43.791C.351,43.5.472,43.114.471,42.769.454,34.252.453,25.735.418,17.218a1.643,1.643,0,0,1,.907-1.634q11.942-7,23.858-14.036a3.085,3.085,0,0,1,.668-.213,1.2,1.2,0,0,1,.365.859c.007,3.06.184,6.122-.1,9.178-.449.842-1.335,1.105-2.088,1.526-4.326,2.419-8.652,4.839-13.007,7.205a2.058,2.058,0,0,0-1.163,2.013c-.106,3.84.251,7.666.284,11.5a42.67,42.67,0,0,1-.082,4.337,1.559,1.559,0,0,1-.8.99c-2.7,1.529-5.356,3.118-8.037,4.672A1.472,1.472,0,0,1,.659,43.791Z"
style="fill: #fe6cf9" />
<path
d="M.659,43.791A34.536,34.536,0,0,1,5.475,40.8c1.41-.878,2.866-1.683,4.3-2.521a.366.366,0,0,1,.308-.114c1.674.733,3.183,1.777,4.817,2.586,1.626,1.049,3.325,1.971,5.044,2.856,1.581.846,3.141,1.73,4.7,2.61.308.174.661.31.733.726a2.225,2.225,0,0,1,.246,1.377q0,4.815,0,9.629c-3.013-1.439-5.833-3.229-8.743-4.854-5.207-2.908-10.379-5.88-15.563-8.83C1.091,44.13.881,43.949.659,43.791Z"
style="fill: #e24bd0" />
<path
d="M25.845,11.6q0-5.131.007-10.262c2.523,1.1,4.808,2.635,7.2,3.969,5.155,2.871,10.249,5.85,15.4,8.721,3.053,1.7,3.084,1.647,3.084,5.136q0,11.029-.009,22.059c0,.458.183.967-.22,1.368v-26.6l-9.6,4.277c-.868.166-1.469-.433-2.136-.789-.9-.479-1.76-1.026-2.7-1.429q-5.142-2.829-10.213-5.784A1.725,1.725,0,0,1,25.845,11.6Z"
style="fill: #feaffe" />
<path
d="M1.4.116A1.992,1.992,0,0,1,2.744.543a3.282,3.282,0,0,0,3.61.1A8.3,8.3,0,0,1,7.121.308C7.56.132,8.136-.224,8.44.2s-.218.857-.55,1.181a2.258,2.258,0,0,0-.485,2.831c.359.755.713,1.513,1.039,2.283a1.27,1.27,0,0,1-.188,1.547c-.483.453-.905.02-1.3-.175-1.908-.948-3.789-1.5-5.677.047A.791.791,0,0,1,.19,7.862C-.2,7.519.1,7.2.257,6.9A14.129,14.129,0,0,0,1.185,4.58,2.087,2.087,0,0,0,.606,2,1.17,1.17,0,0,1,.262.588C.441.117.975.167,1.4.116Z"
style="fill: #fed736" />
<path
d="M43.151,47.626c.13-.945-.048-1.9.16-2.851.151-.688.353-1.222,1.187-1.2.88.018,1.125.631,1.246,1.333a7.626,7.626,0,0,1,.043,1.071c0,.238,0,.476.005.713.016.642.082,1.353-.692,1.593A1.533,1.533,0,0,1,43.151,47.626Z"
style="fill: #e5f3fe" />
<path
d="M36.616,51.672c.2-1.6.459-1.829,2.087-1.862.353-.007.706-.021,1.059-.032.964-.042,1.755.084,1.723,1.361-.033,1.309-.939,1.26-1.83,1.288A4.567,4.567,0,0,1,36.616,51.672Z"
style="fill: #e5f4fe" />
<path
d="M49.432,52.427c-1.928,0-2.18-.18-2.214-1.353a1.085,1.085,0,0,1,1.016-1.239,6.886,6.886,0,0,1,3.07.237.983.983,0,0,1,.719.868,1.142,1.142,0,0,1-.511,1.133A3.326,3.326,0,0,1,49.432,52.427Z"
style="fill: #e5f5fe" />
<path
d="M43.113,55.746c.041-1.836.22-2.085,1.36-2.13a1.128,1.128,0,0,1,1.3,1.216A7.253,7.253,0,0,1,45.6,57.32c-.173.6-.363,1.045-1.042,1.1A1.182,1.182,0,0,1,43.275,57.4,9.311,9.311,0,0,1,43.113,55.746Z"
style="fill: #e5f5fe" />
<path
d="M36.913,17.872c1.24.2,2.141,1.085,3.223,1.606.53.255,1.052.527,1.578.791l-.02.239a3.266,3.266,0,0,1-1.581,1.227c-9.661,5.359-19.256,10.837-28.912,16.2a1.658,1.658,0,0,1-1.217.366.718.718,0,0,1-.207-.027q0-2.4.007-4.81a2.72,2.72,0,0,1,1.327-1.158c8.059-4.566,16.135-9.1,24.172-13.705A4.862,4.862,0,0,1,36.913,17.872Z"
style="fill: #fefefe" />
<path
d="M9.984,38.305q11.3-6.375,22.608-12.748c3.024-1.7,6.067-3.367,9.1-5.049q0,2.166,0,4.331a2.614,2.614,0,0,1-1.149,1.016C32.464,30.722,24.4,35.616,16.291,40.442c-.465.277-.9.7-1.533.494A48.365,48.365,0,0,1,9.984,38.305Z"
style="fill: #fee2f8" />
<path
d="M14.758,40.936c4.071-2.414,8.149-4.816,12.211-7.245q7.374-4.409,14.726-8.852,0,2.994,0,5.99a2.045,2.045,0,0,1-.9.921c-6.683,3.9-13.326,7.867-20.033,11.727a1.651,1.651,0,0,1-.889.31A27.585,27.585,0,0,1,14.758,40.936Z"
style="fill: #fefefe" />
<path
d="M19.872,43.787c2.79-1.675,5.573-3.362,8.372-5.022q6.715-3.983,13.45-7.936c.006,2.031.007,4.063.022,6.094a.962.962,0,0,1-.479.991q-7.761,4.458-15.508,8.943a1.288,1.288,0,0,1-.347.085Z"
style="fill: #fee2f8" />
<path
d="M36.913,17.872a33.1,33.1,0,0,1-4.8,2.859C24.686,25,17.23,29.227,9.784,33.468c-.069-3.942-.118-7.884-.223-11.825a1.6,1.6,0,0,1,1-1.665c4.859-2.65,9.683-5.363,14.522-8.05.242-.134.509-.221.764-.331a51.052,51.052,0,0,1,5.312,2.927A61.156,61.156,0,0,1,36.913,17.872Z"
style="fill: #fee2f8" />
</svg>
<svg id="fl-boost-24m" xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="display: none;"
viewBox="0 0 58.694 50.316">
<path
d="M32.614,49.534c-1.756-2.236-3.186-4.695-4.8-7.026q-2.1-3.02-4.167-6.058C21.9,33.889,20.2,31.3,18.429,28.756c-1.113-1.6-2.215-3.216-3.345-4.808-1.261-1.775-2.409-3.635-3.672-5.415-1.011-1.423-1.87-2.954-3.023-4.278-.349-.547-.038-.8.441-.962a3.748,3.748,0,0,1,1.185-.114q6.993-.009,13.986,0a3.635,3.635,0,0,1,1.412.181c.531.286.561.837.672,1.33.611,2.714,1.177,5.438,1.733,8.163.178,1.3.433,2.58.715,3.857.621,2.065.942,4.2,1.41,6.3q.345,1.929.786,3.838,1.253,5.7,2.465,11.415C33.3,48.733,33.751,49.545,32.614,49.534Z"
style="fill: #fe73f9" />
<path
d="M58.529,13.808c-.4,1.425-1.578,2.353-2.321,3.566-1.571,2.563-3.426,4.952-5.108,7.449-4.583,6.8-9.13,13.625-13.706,20.43a21.932,21.932,0,0,1-3.109,4.338c-.663-.192-.382-.684-.29-1.052,1.339-5.388,2.527-10.811,3.823-16.208.271-1.126.517-2.257.753-3.39a40.048,40.048,0,0,0,1.141-4.686c.692-3.137,1.464-6.255,2.172-9.388a4.411,4.411,0,0,1,.422-1.236.976.976,0,0,1,.346-.275,3.454,3.454,0,0,1,1.3-.174c4.32-.008,8.64-.017,12.959.011C57.5,13.2,58.23,12.984,58.529,13.808Z"
style="fill: #fe73f9" />
<path
d="M25.635,13.561q-8.109,0-16.217.012c-.463,0-1.138-.223-1.029.682a1.064,1.064,0,0,1,.216-1.727c1.9-1.14,3.224-2.9,4.8-4.38,1.21-1.14,2.393-2.308,3.588-3.464.39-.231.817-.067,1.223-.116,2.341,2.876,4.892,5.57,7.285,8.4a.86.86,0,0,1,.187.431C25.67,13.454,25.653,13.507,25.635,13.561Z"
style="fill: #febefe" />
<path
d="M58.529,13.808c-.393-.417-.905-.234-1.362-.236q-7.376-.02-14.751-.008l-.047-.167a.957.957,0,0,1,.11-.324c2.063-2.629,4.157-5.234,6.257-7.835.357-.443.7-.908,1.376-.555,2.373,2.273,4.782,4.512,7.1,6.844C57.81,12.132,59.163,12.44,58.529,13.808Z"
style="fill: #febefe" />
<path
d="M38.828,28.921a75.427,75.427,0,0,1-1.757,8.007c-.96,4.09-1.76,8.219-2.944,12.256-.032.11.1.27.158.406-.563.983-.9.972-1.671-.056.758-.136.384-.618.3-1q-1.237-5.845-2.479-11.692c2.449-2.544,4.981-5.008,7.478-7.5C38.156,29.094,38.4,28.78,38.828,28.921Z"
style="fill: #fec0fe" />
<path
d="M1.387.132a1.768,1.768,0,0,1,1.241.36,3.57,3.57,0,0,0,3.94.09C7.149.29,7.951-.336,8.407.227c.442.547-.458,1.045-.823,1.52a1.994,1.994,0,0,0-.3,2.128c.355.843.748,1.671,1.115,2.51a1.345,1.345,0,0,1-.132,1.66c-.52.493-.969-.008-1.4-.216-1.88-.909-3.732-1.42-5.573.092A.8.8,0,0,1,.2,7.887c-.393-.335-.107-.659.051-.958a13.933,13.933,0,0,0,.963-2.436,2.027,2.027,0,0,0-.6-2.467A1.182,1.182,0,0,1,.257.616C.431.132.964.19,1.387.132Z"
style="fill: #fed736" />
<path
d="M46.261,43.705c.033-.507.23-.846.781-.894.636-.055,1.273-.115,1.9-.206,1.7-.248,1.849-.4,1.825-2.142-.01-.772.011-1.4.976-1.607.671-.147,1.007.072,1.173.652.142.5.192,1.021.329,1.52a2.068,2.068,0,0,0,2.171,1.818c.617-.02,1.371.035,1.541.65a1.506,1.506,0,0,1-.92,1.763c-.322.158-.6.4-.924.556a3.317,3.317,0,0,0-2.18,3.025c-.017.536-.3.785-.848.762a.674.674,0,0,1-.74-.74c-.11-2.589-1.71-3.7-4.054-4.051C46.648,44.712,46.1,44.537,46.261,43.705Z"
style="fill: #fed736" />
<path
d="M50.112,4.683a1.05,1.05,0,0,0-.988.5c-1.945,2.5-3.922,4.965-5.9,7.431a6.307,6.307,0,0,1-.791.708c-.05-.054-.1-.107-.152-.16A11.775,11.775,0,0,1,42.167,8.9c.057-.713.14-1.423.136-2.141-.01-1.634-.065-1.7-1.652-1.708-2.347-.011-4.694.01-7.042-.019-.227.027-.454-.008-.681,0-4.382.081-8.764.025-13.145.027a1.7,1.7,0,0,1-1.342-.367l-1.449-.009c.395-.418.907-.232,1.364-.232,7.917-.013,15.834.009,23.751-.022,2.069-.008,4.13-.331,6.207-.233A2.833,2.833,0,0,1,50.112,4.683Z"
style="fill: #feeaf8" />
<path
d="M12.439,36.369c-.1.9.368,2.107-1.27,2.169a1.14,1.14,0,0,1-1.348-1.161A7.315,7.315,0,0,1,10,34.772c.173-.614.418-1.017,1.093-1.043s.981.432,1.214.967A5.277,5.277,0,0,1,12.439,36.369Z"
style="fill: #e5f5fe" />
<path
d="M5.769,42.621a5.041,5.041,0,0,1-1.584-.27.988.988,0,0,1-.859-.87,1.05,1.05,0,0,1,.589-1.2A5.844,5.844,0,0,1,7.538,40.1c.508.087.585.673.585,1.189a1.076,1.076,0,0,1-.645,1.153A5.3,5.3,0,0,1,5.769,42.621Z"
style="fill: #e5f5fe" />
<path
d="M16.08,42.6c-1.93,0-2.167-.168-2.221-1.3a1.132,1.132,0,0,1,1.2-1.315,7.263,7.263,0,0,1,2.6.189c.561.163.945.391,1,1,.065.675-.347,1.008-.888,1.265A4.648,4.648,0,0,1,16.08,42.6Z"
style="fill: #e5f5fe" />
<path
d="M12.446,46.121a5,5,0,0,1-.262,1.592,1,1,0,0,1-.857.873,1.049,1.049,0,0,1-1.208-.57,5.841,5.841,0,0,1-.2-3.622c.081-.511.659-.6,1.178-.6a1.085,1.085,0,0,1,1.165.628A5.036,5.036,0,0,1,12.446,46.121Z"
style="fill: #e5f5fe" />
<path
d="M42.418,13.8,40,24.4A17.293,17.293,0,0,1,36.944,27.2c-1.928,1.765-3.94,3.438-5.888,5.183-.366.327-.733.754-1.335.618-.7-2.03-.889-4.176-1.451-6.237a2.372,2.372,0,0,1,.936-1.206c3.794-3.4,7.418-6.993,11.268-10.334C41.076,14.7,41.44,13.817,42.418,13.8Z"
style="fill: #fec0fe" />
<path
d="M42.418,13.8q-3.684,3.391-7.369,6.782-3.381,3.1-6.779,6.186a16.063,16.063,0,0,1-.723-3.843,10.741,10.741,0,0,1,2.745-2.978c2.218-1.9,4.1-4.153,6.391-5.971a2.62,2.62,0,0,1,1.1-.692c1.554-.005,3.133-.415,4.642.286l-.014,0A.524.524,0,0,1,42.418,13.8Z"
style="fill: #fefefe" />
<path
d="M37.405,13.6l-9.858,9.327c-.716-3.1-1.475-6.2-1.912-9.361l-.005.006c.515-.492,1.183-.26,1.777-.38q4.162-.025,8.325,0C36.313,13.188,36.939,13.09,37.405,13.6Z"
style="fill: #fec0fe" />
<path
d="M29.721,33c1.983-1.392,3.655-3.15,5.516-4.686A48.656,48.656,0,0,1,40,24.4c-.426,1.5-.378,3.121-1.17,4.525q-3.626,3.561-7.254,7.117c-.331.324-.58.788-1.137.8A15.651,15.651,0,0,1,29.721,33Z"
style="fill: #fefefe" />
<path
d="M27.305,13.528l-1.675.039L18.707,5.59c-.226-.26-.579-.479-.266-.9l14.649.039c.284.53-.147.809-.424,1.107-1.944,2.086-3.587,4.432-5.56,6.486C26.468,12.988,27.322,13.123,27.305,13.528Z"
style="fill: #fe73f9" />
<path
d="M27.305,13.528c-.282-.351-.785-.055-1.182-.44,1.15-1.355,2.3-2.694,3.434-4.052,1.188-1.426,2.356-2.87,3.533-4.3l.467-.035a3.331,3.331,0,0,1,1.315.777q3.374,3.41,6.778,6.786a2.948,2.948,0,0,1,.737,1.078l.044-.014v.244l-5.025.028Z"
style="fill: #e556d4" />
<path
d="M42.387,13.337Q38.67,9.656,34.95,5.976c-.448-.442-.928-.854-1.393-1.28,2.669,0,5.339.032,8.007-.029.917-.02,1.167.279,1.118,1.16C42.545,8.328,42.48,10.834,42.387,13.337Z"
style="fill: #fe73f9" />
</svg>
</div>
</div>
</div>
<div style="display: flex; flex-direction: column;margin-left: 10px;margin-top:20px;gap: 4px">
<div style="display: flex;">
<span id="nname"><span style="font-weight: 700;">Panggilan</span>: Tidak ada</span>
</div>
<div style="display: flex; flex-direction: row; align-items: center;">
<span style="width: 10px; height: 10px; background-color: #FEE75C; border-radius: 9999px;"
id="status-bubble"></span>
<span style="margin-left: 4px"><span style="font-weight: 700;">Status</span>: Halo????</span>
</div>
<span style="margin-top: 8px; margin-bottom: 4px; font-weight: 700;">Takhta Tertinggi</span>
<div style="display: flex; flex-direction: row; margin-top: 5px;">
<div style="display: flex; flex-direction: row; align-items: center; padding: 2px; border: 2px solid; border-color: rgb(185, 187, 190); border-radius: 20px"
id="role-wrap">
<span
style="width: 10px; height: 10px; background-color: rgb(185, 187, 190); border-radius: 9999px; margin-left: 3px"
id="role-bubble"></span>
<span style="margin-right: 4px; margin-left: 4px; font-weight: 700;" id="role-name">Admin</span>
</div>
</div>
<div style="display: flex; margin-top: 5px;">
<span><span style="font-weight: 700;">Akun Dibuat</span>: Rabu, 11 Juli 2018 @ 05:01:34</span>
</div>
<div style="display: flex; margin-top: 2px;">
<span><span style="font-weight: 700;">Bergabung</span>: Sabtu, 03 Oktober 2020 @ 11:44:54</span>
</div>
</div>
<script type="text/javascript">
"use strict";
const colorMap = {
online: "#57F287",
idle: "#FEE75C",
dnd: "#ED4245",
off: "#b3b3b3"
}
const AVATAR_DEFAULT = "iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAIAAABEtEjdAAAACXBIWXMAAC4jAAAuIwF4pT92AAAF0WlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIxLTA3LTEwVDEzOjI4OjM2KzA3OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIxLTA3LTEwVDEzOjI4OjM2KzA3OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0wNy0xMFQxMzoyODozNiswNzowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozYjljOWJhMS0yZmNhLTI1NGYtOWJjYi01ZThlZDk3MDQwNzQiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDpiNDdiNWJhMC0xYTQyLTk0NDQtYmZiNi1mOWEyMDRmN2FhZTAiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDphNzZkZTEyYi00ZDQ3LWYxNDMtODA0MC05MDZhODViMmFiZmEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDphNzZkZTEyYi00ZDQ3LWYxNDMtODA0MC05MDZhODViMmFiZmEiIHN0RXZ0OndoZW49IjIwMjEtMDctMTBUMTM6Mjg6MzYrMDc6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6M2I5YzliYTEtMmZjYS0yNTRmLTliY2ItNWU4ZWQ5NzA0MDc0IiBzdEV2dDp3aGVuPSIyMDIxLTA3LTEwVDEzOjI4OjM2KzA3OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+ysc3kwAANolJREFUeJzt3elyHMmZ5vv3dY/IPZEbcsO+AwRAkCwWa5U0PZoxO3buoG+gL2IubD6cnh5rSS3VRrJIFskiCWLf9x2JXMLdzwdQ1SV1FUUAicxIx/MzmVotlVTBQMYfnh4eHvzP/3JEAABgF9HsAwAAgPpD3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACyHuAAAWQtwBACyEuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACyHuAAAWQtwBACyEuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACyHuAAAWQtwBACyEuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACyHuAAAWQtwBACyEuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACyHuAAAWQtwBACyEuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACznNPgCwCjNJSYJJCJaSEm2cTnIyKRJxbs9wMMDzS+qbR97xiWn2kTZULMqfP3BGBiQRbWzr1TW9d2BOTs3RsVGKlDJKk1LNPkqwC+IOdROLcjEvsu0iHuVUktszHI9yKMTBIAcDFA6xlNRREOsb+tVbdXNaJgX1dosvP3G7OwURlUrm+NSUK1SrmuNTc3RsdnbN5rbe3NI7e6ZcuVm/9uD6IO5weYk2TrRxok3EYxyPcbKNc1mRSXEsyok2jkX5v/5XBnrl3dvO1o7Z2tGNP+CmyOfEFw/cgV7pukREkTC3Z/7zP63WaG9fb+/o7V2zf2COTvTBoTktmcMjs39gTktoPVwS4g4XEApyIECBAEfDlEmLjsK7f+RzIhFn/oWY/z3XpalxZ3pWbe9qcwPCJSWNDsmP7zrnZf+vAi4VcqKQe3f3y/NoZ0/v7pu1Db28orZ3zf6BPj2jatWUy6Zaa9yRQ6tD3OGDBFwq5kVvtyzmRUdBtGc4FuFAkIMBCgZYXOTGfEdRDA/ImXm1t2953Zmpq0OMDcu2+Af83iMiIsehQk5kM9TfI8p3nFrNlEpmZ8+sruuFZbW8qnd2NRIPHwJxh18Vj3E2I9IpzraLQlakU5xJcSIhkm0Xq/nfkYJuDcu5Rfn1Q69+B+tTE6PO+Ii86H9LSoqEORImIiaivh4a7DcTe3J33xwdmY1tvbOrd/fM9q6+abem4cMh7vA3wiFui3OijZMJLuZFISdy7aKYF6nkh449P0Rnh5gYdV68Uha3iZkyKTE2LNszV11wzEzpJKeTcpiIiPYPzMaW3tzWG1t6eU0fHpnTU3N4ZM7K1p5MuATEHUhKch0OBimdFN2dYqBXDPbLfFYEAiQFS0kfMpl+IaEgD/SKwT754rXnWTp8D4d5akJ2Fuv/KEkqycmEHB6QSpvjY7O1Y5bX1PyinplX+4dGKfJqRt2U29XwqxD3my6d4sE+2d8rC1mRTHIizudLX67771vIi/t3nLUNbeuymUyKH9xzsu3X8pwgMzkOOcTBDGfS1N0pbt8y+4dmd0+vb+qlFb24onb3MJC/0RD3G6qQEz1dIpMSuSx3d8quoki0XXvQfy4c4vFR+eS52NnT2rq8C0GFnOjrke71X2HMdP77uKNARHJ7V29s6rVNubquN7bM9o7e3tEYyN9AiPsNEgxyNEyppEineHhATk04uXYOhxra9J9rz4ixYbm8qrd3bWtPe1oMD8hIuAnnNpsR2Yy4PU5Hx2ZxWS0s69kFtbyqK1VTKhHm5W8OxN1+zO8Gkr1dYmhAjgzKVEKEQtSU9PxcwKWpcWdx2cK4Dw/IqXEn8Ctr2xujLc7jo85gv/n0vrOza9Y29My8mplXG1v65jwefJMh7pbLZcXooOzuFB0FkUpye1p8+JrrBugoiuFB8eI1Hx7Vc0R5/vuMPuR/kklrqu/jVI5Dvd2i4xpupV7UX5dUcq6derrE8KDc3dUr6/rNjJpbVIdH5iY8R3ZjIe52ak+LfJYzadHTJW6NyO7ORkz+XoLr0GCfHB2SD594vxYaZgoF2XHIdcl1WMp3y3sCAZLy3XoeKcmRREyCyXX5fJ3Ph7WdlDbVKtVqRhvSmqo1MpqUMjWPiKhWo5p3vr0X1TxTrVK1ajxF77lP0NMpuzuE3054LMqxKPd2idvj1NfjzS7InV29vKq3dnR9f7OCT/jsAwhXcB7BYIAKeTF5y7k7KTuL4ryGftZZFPduOzPz6ujYSMnifF9JQY6kYJADLrXFOZUU4RBHIhSNcCDAAZciYY7FOBR4l/LzfRGEYDp/7Oc//88HMD/9E9Vq5vTUaEPlMp2VjTZ0dmZOS6Zao2rVnJbM8Yk5PjGVCpXOzMmpOSsbpUhr0pqUJs8zsSg/uOf0dPn3pLsu3b7ljI9QtWrezKqXr9Xsglrf1Gdn2N7AKoi7JZipt1vcm3RGBmUqJRJtnGzs6pdLC4d4qF9OjjnlismkRChIyYRIJjgS4VCQhPjrIF2QlOw4JASJ838t6SoPyv6igMvRyLvzdj42V4o8Zc7z7XlU84znkdbvBvLlCpX+Wvz9Q725ZeJxvnfbSSZ8ffLfraR0ePKW09MpT0pmdV0//9GbnlV7+9iZ0hL8z/9y1OxjgCtJJ7mrU/Z2iYFeOdAnctezsPpaVSpmYVlrQ/EYB1yKx5q5hucSKhVzVqbjE3NwqAMB/mkDyBZiDC0sqZV1vbVtFpbVzLw6OETiWxvi3qoCLqVToqMoervE2JAc6peRSCsFEfypXDGLy/rpC+/NjNra0fsHxr6nEG4IxL0lRcI8Pio//9gZGZSRCAeDLFtvvA4+pTWVK2Zv3zx76T184s0vKszFtyLMubce16W7k/L3vwsM9YlgEKN1qDMh3i2gjMfczqL4v3+qPXpq6QZAVkPcW09Pl/z0vjsx6t/1GGCHRBvfnXSOT8zahl7bwOxMi8GX+RaTbONP7jlDAyg7NMjwgPzkIyeKOzqtBnFvJZEIT004H005KX+vtAOb5NrFg3vOYJ/0+QMT8HcQ91bSVRSffewUC6LuG6wD/BohqLtT/vZzp6OAXLQS/LRaRjLBUxPO8IDEwhhoMNehe7edu5MOltu2EHSiNQhBU+PO3UkZi+LqgiaIRvjupDM5JvGtsVUg7i1ACOruFB9N+XrHErDeYJ/4+K6TzyIarQE/pxYQCvKDe+7okE93doQbIhjkiVHns48dfH1sCYi730lBPV3i/pTf96KCmyCd4s8/drFypiUg7n5XzIsH95xCHmUHX8hn+d5tWcwjHX6Hn5CvMdPYiPzknhPCNgPgD8Eg35l0hvpxZ9XvEHdf6yyIiTGnPYMfE/hIISfuTDr9PZia8TXcofOvSITv33UGelB28J2JUbm752xs61IJ2777FMLhU+EQj4/Ij+86GQzbwX/iMR4dkt0deFjavxAOn0q08WcfOz1deB4VfKqYF188cLHs3bfwg/GjYICH+uWtYSfQam9rg5sjGuEH95xbIxKfUn9C3P2or0fcm3JSSXzjBV9LJvjOhDPQhzurfoS4+04wyKNDcmwIS83A75jp1oicGJV4I5gPIe7+IiUN9olbIxLDdmgJbXG+NeIM9AqBlvgMfiD+Eo/xg3tOfw+G7dAyujvFJx9hewzfQdz9pZgTk2NOWxzXCbSMeIynxp2hfunizqqfIO4+kkry+JjMZhjDdmghzJTPiruT2A3YX/DD8AtmGh6QH005rou0Q4uRkibG5EAvphN9BHH3i0JOTI07fd0SN6agFWUzYmRQYvDuH/hJ+IKU9OCe89GUg7JDi2KmyVvy7qSDZ6p9Aj+H5hOCijlxexxPLUFry2fF1ITM57As0hfwQ2i+aITv3nYKWZQdWl53h/hoyolG8GFuPsS9+XJZ8fFdJ5XCzwJaXjolPr7r5DDz7gP4GTRZLMqDfaK7U2CmEiwgBPV0ibEhmWjD4L3JUJQm6+kSd8bxFj2wRyjI9+84g/3YTazJEPdmEoJGh+StUSx/BHsw0+iQnBiV4RCGLM2EqDSNlNTbLQf7cA2AbYSgwT45NowNCZoJcW+agMsfTcm+bnx7BQt1FsX9O1g200yIe3MwU3uGJ8ecTBqffrBQLMpDA7KYw0qBpsGJb462OE+MOoU8zj9YK53kWyMylcSHvDlw3pujoyAe3HPiUQzbwVqRME9NOPkcPuTNgbg3QcClvm450Cck5tvBXlJSb7fo68aSgeZA3JugoygGegXWtoP1QkEeHpDdnehME+CkN5oUNDroDA1g0A43Qn+PGOyTuK3aeDjljRaL8VC/aE/jzMONkEqJgT6RxI6nDYfENJQU1NctO4vCcZp9KAAN4TrU1y1vDTsBPNDUWIh7Q6VS4s6kbM/gtMMNksuK+3ecbDs+9g2F091QxRxPjeOxPbhZAi6NDMr+HonBeyMh7o2TSvLosJPL4j01cOPE49zTJZJ4oKmBcK4bZ7BPTo5JB8tk4OYRgvp7ZQceyW4gnOvGyWZER0EwpmTg5hFMA72irwdbzTQOznQjMFM2IzqLArPtcDMxUyTMg32yt1viwezGQNwbwXFoYkwO9eOlHHCj9XSJ2+PSdTDEaQTEphGiYb41IjsKONtwo2UzYqhfRiLNPo6bAblphPaM6O4UeCsN3HDMlM+KYg4LxhoB5/jaxWM8MohdrQGIiFJJvj3upFO4HK4dTvG1K+bF7VsyGsY8IwBFI3xnwsGayAbAKb52hZzo68WbggGIiJipsyiy7RjrXDvE/XqlktxRFIk4PsoA77juu+3z8MzHtULcr1dvl+zvxocY4G/09YjebmlMs4/Daoj7NZKC+npEVyee2QD4G+1pUciyi42vrxPifo3iMe7ulMk2jNsB/kY8zv29spDHl9prhLhfl2CAB/plMc9Y0gvwd6SgQl70dctgAHW/LgjPdYlGaeqWxOv0AH5RIs7DAzIabfZx2AvpuS6xKPf1yFgUAxOAXxCL8vCAjMdwgVwXxP1aOA4VciKbwZQiwC9jpnSK81m8T/i6IO7XIp0UA30yig2SAH5dIEB93TKVQIWuBU7rtSjmxVC/dF2M2wF+levyyKDs6kCFrgVO67VIp7izgK3vAN5HCurrFp1FXCnXAie1/iJhzmcF7hQB/EORCGfSHMG2etcAca8zIai7U3QWBd4lBvAh2tOiiKeZrgHiXmeuy0P9mEYE+FAdBTEyKAN4mqne0KA6cyR1FkUGzy4BfJhsRvT3CuwzU3doUJ1Fo9yexo5IAB/KdSmbEdiCqe4Q93qSkrqKIoVXiAFcRDzG3V0C+8zUFzJUT+mkGB2SeDUHwIXEojzQKxMJXDj1hLjXU1sb93ULrOsCuJBwiAd6sTl2nSHu9ZSIcy6LRZAAF+M4VMyLBOJeV7jxVzdSUjYjMjdywt0Y0vr8H0abd/8OETETMzERC5aS5E08N39DadKKtDaGyBgymoiImJhJMAnBQpAQdAMXfcdinE4JxyHPa/ah2AJxr5tMSuSzfAO3uDsrm41Nvb5ldvf00bE5LZlKxZSrRIYiYQ6FKOByWxt3FkRnUbSnhes2+4ibZGtHr6zprR29u2fOyqZSpdNTYww5DsWiHItyW5xTSc6kRT4rUgm+UYk/X0Ocz4rVdd3sY7HEzUvRtSnkRTF/g4amJ6dme0evbui1Db21bXb29MGhOT41Z2fm5y8+dh1yHI5FOZflfFZk0qIjL/I57siLYPBG1GttQy+t6u0dvb2rN7bM3r4+ODTlilHqP/8aZoqE3/U9meBMSuSy3NMluztE2425P9/dIbo6EPe6QdzrppgXHYUb8RT1yalZ39RzC2puUU/Pqs1t/Z7X2Nc8qnnmrGy2d+nla8VMHQUx1C9vjcjhAZlo42jEzlNWrdHRsV5e1c9fqR9eemsb7ztLxtBpyZyWzOb2u38nEubhAXl7XA4PyELO/sQzUyEvClnBTO85UfDhEPf6YKZcO2cy9o/ct3b0wyfe46fe+qYuV6hcudiFaAytruvdPfP8lddVlHcn5b0pp5Cz7bwdHZvXb9WT5970rDo4MqXShXNVOjMv33gLy6o9Iz6acr78xMlnbTtLfycR50xGhIJ8Vkbd6wBxr49sRrSnhd03DEtn5tW0evjEezOjNrau9N25XDHlCu3tezt7enVDf/KRMzHqWLPKaH5Jffe99+KVWlnTF/3l93OeR4dH5vBIHR6Z5RV1Z9KZmnDSSWuH8MyUbONkAnGvD8S9DqQk6784Hxyapy+8r76rvXit6viteW1D7+6b/QNzcGimJpxWX+l8VjYzc+rrR97jZ97Rcd1O086u3tnVqxv64NA8uOd0Fq0dRCQT3FkUO3u6Vmv2obQ+OXn/fzX7GFpeOMSjw3J81LG174dH5i/f1f7tj7WZ+fdNHF+OUrS5rRdXdMCljoJo3d0BqzV69NT73/+n9uyFd1au///+0bFZXdOnZyaZ4LY2IVr1PL2PMXRwYJZWdaXa7ENpfYh7HbS18af33eEBO7ct3TswXz+s/fufaytr17WM4fx24ua2Ob/d2op7jFRr9Odvav/fv9dmF5S6tuUe5QptbZu9A5OIi1y7heN3Zto/MNOzunSGmZmrwrRMHbgOd+SFlas+dvb0t4+9P/yl1oAFapvb+t//XCOi33zqplpqZvmsbL597P3rH6qLy9d+lk5L5vEzT0oKBALDA7bcpvirYICLeREJN/s4rIC4XxUzxWOcsPGRk9OSefjE++NX1zhm/zvrm/rf/lQLhfg3nzrhUGucUKVpdkH/67/XGlD2d39HRU+fq1CwlkpwJm3V6lshqD0tEm2Cuf4TgDeNhd/sGiwY4M6iiEUtusKIiOisbJ6+8P7jG69hZT+3ta3/+FXt+Y/qH/+l/rC8or95VFtdb+gBn5XNDz96f/rG2z+0LYGuS+1pDt2MB9yuFeJ+VdEotWcsfI/Mypr+01fe0nI918Z8oIUl9e333uyC0v5+VtEYWt/UXz2sPX7mVRu+umNv33z1XW1mTlm2GYtzA9aeNQbiflWJuMhmbNtS5ujY/PBSTc9e473B91CKXk173zzyyv5e71ytmWcvvYdPvINmDJ+NobUN/fWj2sJyy3zL+RBugDsKwuLl/A2DuF9VMskdBeE69nwWlaYXr7ynL7xKtWlt3T8wT194MwtK+TVcxtDmlnn24qrPc13xGJ69UI+eepd4Ata3XIfyWWz/WweI+1WlEtyRF8KWE2kMrazpJ8/VYjMmZH5uY0v/8Stvxa/bSB0cmmcvvaWVJv/yOSub12/Vj9PKpqd+2jMcjyHuV2VLk5okFOR0SkQsWgRZrZlX097bOVVr9kyu59GLV97svGriF4j3WN3QP7z0Duv3GOqlLa/p73/wTi0avIeCHIuyNQOmZsH5u5JYlNvsGmLsH5gf36i9A1+Ml49PzMKy2t3zXbbOymZ5RS2taj/MGpVKZnZBrW5oa+6sMlMiYduV1XiI++Wdr3C36dmlSsXMLeqlFb/s7HE+R9TgtZgfYnPLLK3qk1O//NbZPzCv36qDI9+dqEvLpEQ+Z89sZ1Pg5F2elJTLctKi2/q7++bNTD13vLq6xRU9t6Aav9Dw/Wbm1fSsj1Zqls7M3ILaP/DRD+6KEm2cSSPuV4KTd3lScHvaqjVb+wdmflFX/TTHXSqZ5TW9taP9U9JK1SytqM1t3xwQkVK0tKK3d3x0SFeUTHA2w9LK3dEaBXG/PGZKJTluy7OpWtPegd7e0U1Z2/4eu/t6YVFVa774lWMM7e6ZnT3jh9n2n9vd12ub2po1kck2kc1g5H4lOHmXJyWlkyIctiTuR8dmdV0fnfiuDkfHZmVdlyvNPg4iIqpUzcKSX244/9z5M02r732ZXwtxXcKCmSvCybu8ZIKTFu0Xtn+od/eNf2Y/fnJyalbXtU+eVi2XaWlF++q2xE/29s32rrEj7kQUibA1I6emQNwviZnSKdEqOxf+Q8bQzq7Z99+AlIhqNdre1T559Vq1Znb3TanU7OP4JYdH5vDIkpE7EcUilM2w3a+uvFY4c5cUDHBbjF232cdRJ1rTzp7e2/dpGE5OzdlZsw+CiIg8j46OjU9uAPydwyNzcGi0Hw/tMsJh7ijYM+3ZeIj7JYVClElzMNjs46gTY6hcoau8zflaKUU+eU61VqO9fZ+OjssVc3xiz7RMwOVEnAO2jJ8aD3G/pHCI2zPCml2nDVGlYir+uGn5CwyVzowfnsA8KZlTv74BzhiqVsmam0COQ5EIO64tf56GQ9wvKRikVIJb8W2fv8xQ6cz4duSuDZVK5IcF+D65r/trqjVT8+WU0SUEApRKimCg2cfRshD3Swq43Ba3Zxt3Q1Stkg+XypzTmsoV0/S9zIjI55Me1Sqd+G8x6+UEA9xZEDGLtvdoMMT9koJBzqTseX2lMT69SXjOGKpUTc1r8hEqTbWar/uuDfnhV2BdnD8kGLRl5rPxEPdLioQpGm32QdSVn5vFTI5kgYfR/xEpyKY3ProuBTAtc1mI+2UIQbGoNaN2IiJmX98/EIKiEQ41+zqXglzX13cspSSbhrqCKR7DUvdLwmm7jHCIYxEmey4iYqJAgPz8tLcQxD44PD+Xnd7FvdkHUT8sOJUUeCvT5fjgcmk1zJRo40TCtlkCx/HvEImZAgFyfPCi2lDQ13l3JNn0sRRMbTGOx+3Z5KOR/Ho1+5hgioQ5HmWLLiJipnCQQn7dTYGZ2uLsh9nkSIRcv668loLCYasyyIKiUY6EsYPYZeCcXRxTMEDBoF3TMoJSSZFM+PSP5DrskyVxjuREmy+O5L+KxTiVsGcFFxExUTRC4ZBVA6mGQdwvTAiKx7gtbtUHTjClkpxM+PTzkExw0B/fKoJBKuR8umFcoo1TSfbDnYl6YaaAy65LNg2kGsaiD0KjCOZwmKNRq+YBmak949O3SgUDnM+JgA/mZIgoFORcu/Dni3PTKZFJWzXmIKJYlKMRmy61xkHcL44p4LJ9T0W3p7k97ceLqC3OXR1+2R3QdSmf5Uik2cfxSzIpzmbsmpZhSrRxLGrb4oXGQNwvTDBFwuTPsdtVRMI+3QotneL+bhHxR9xDQe7rkemk7y4cZkolRTrli7NUR4EABQN+X4HqT777jLaEcJh9GMErOp+Z6e4UftswJ9suerqllM0+DiIiYqZshot54bdnhc7fKO3nJ9Eux3WxA8ElIe4XFghQOGTn2qz2NI8MyoCflvqFQ5zLcCLuo0MKBLizKHw1hSUl9ffIYt6qOZlzUlAkbOEsaAPYmKhr1hbnUKjZB3E9Ugnu7xWxqI8KUcyLYsFfzWKmrg7R3eGjayce5bFhmc346JDqKBigGB5SvTg7Pw3Xqi1u4ZzMuWCQ+3tkl59mZsZH5fiIb47mr3q6xNCA9M8cSLZdTI7JuJ++39SR47I/1576HOJ+YY5kn8z/Xof2jJgal+3p5n8wmCnXLoYHpA9vEoZD3NctuzuFHzZsaIvz2LAs5H1xMNch4BDifgmWfhyuk5Q237sPuHT7ljM0IJt+UyEc4ru3ZZefZj9+rpgX9+84ftjTqr9H3r/jBHzzNaLuAkGfrj31OZ9eOX4Wi1p++76QE+MjsiPf5M9GMS8+vuvmsz79iCYTfHfS6e5q8pe4YICHBsRAn7R12E5ELkbul2LvJ+LaJBMcsfqjJgTdHpf3ppwmvng+neI7E7K/R/h2BkwI6uwQXzxwujubeRHdHpd3Jhw/bKl2fYIB9tVN/laBuF9YwLV5zv1ce1p8fNcZG3Ga8icNuDQ55nx81/H5k2KuQ/duOw/uNmdyhpm6iuLLT92+bss/joEA+eQRttaCuF+YEDbPuf+kt1v8j9+6vV2ywX9YZhrskw/uOX09jf5bX0KijT+acj6+6zR+AVV7Wvzmc3dsSLrN+4LVGI4krHO/BKu/zl2PaORGPFIRDPDkmNzacSpVs7quG/b3zaTFZx+746MtUPZzPd3yd5/T0bF58VpVKg16EW0syncn5ZcPHN/uP1xHUrLFt4uvD0buFxYJ+/d1DfUVifAnHzm//dztKDToc5LLit//1v3ojmyhr+GuQ0P98p++dBv2WJMQNDUuf/eF227XNmHvcUP+mPWFkfuFBQL2z7n/JNcuvnzgENEf/lzb2Lre8XuuXfy3L9zf/8ZtudGo49DkLbm75xii1TVdvs7xezTCI4Pyd1+4Q/035VMoJfnnqboWgnN2YYEA3Zy4E1F7Rvz2M5cM/cc3tbUNba4hXMzUURD//Tful5+2XtnPhYL8uy/cjoL4w19qT56rs/K19D2d5Pt3nN9+7vb13KCPYDBIWC1zCYj7hTHfuC+J6ST/5lO3Lc7ffe+9elvnmeVwiCfG5IN7ztSEk2zNsp8Lh3jylhMIsOvWHj71SqU69723W3z+wL1/x+kq3qzZVOabNZyqF8T9woS4ia8OyKT5iwdOKsnpFL+aVuub9Zmi6e4Uk2PO/TvO6JC04Ks3M40OSSEoneQfp9Xicn2maJIJ7umSn9137k219u+/y5ECN1Qvo/Wvp4YL3rBpmZ8Eg3xnwinkRFeH9/iZt7yqz85MzbvM/1TApVCIuzvEl5+696acRNyqdxYOD8i+bnlrVP3p69rrt+r01FxuloaZwmHOpnlqwvn0vtPTJe1+WOnXuC5FW+cGu3/cyA/L1QSDbPGj3u/HTIWc+O1n7vioM7egnr7wpmfUwdHFylXIiYE+OTYsRwdle4ZbaGHMh3NdGh+R2QwvLOvpWfXja29x5WLfdaSkgV55Z9K5NSwLeZFKWPX776KavtNRK0LcL+zmTcn8vViUY1Eu5LiYF5NjenNbb+/q3T1zeGx+cZQaCXNbnOMxzqQ53y46iqKYF10dwu4NQ6SkQk7ks6K7Qwz3y8UVtbtvdnf1/qEpnZly2VRrf/PXOw6FQ5xo4/a0yGdFJs3FvOjvkRk/vRWkWXTjHrSwB+J+YYxBBBERBQM8NizHhuVpyaxt6I0tvbNnjo7Myak5OjGeZ5jIDXAkzIk4p1OcSnJHXnQUfPeCumvFTJ1F0VkUH03J7V2ztqG3dvTRsSmdmZNTc3JqjCHX4WiEgkGORbk9LYoF0dsl2izdnP1yxI2cCL0ixP3CbsLjqRcSjfBQv+zrlp4yRpM2pDWdr5hkJiFIMElJQrJj9W7J7xcMclcHF3JCKaM0GUNavxuQnp8lIhLifE33zZ33+zW46C4Bcb8wW1/DdBXM5Lo35cHdq3AcchycpQvDRXcJGCFcGEZVAA2Gi+4ScM4urEFbQwHAX+GiuwTEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcT9wvAcNECD4aK7BMT9wjzV7CMAuGFw0V0C4n5hlSqehQZoKFx0l4C4X1il0uwjALhhcNFdAuJ+YXgpDECDGQzcLw5xv7Ab+7oJgGbRiPvFIe4A4GtKU6WCul8Y4n5h1ZrBl0SAhvE8g7hfAuJ+YZUKFmYBNI4xmJa5DMT9wqo143n4rAE0iDG4oXoZiPuFVSqkMHIHaBStqVpt9kG0IMT9wqo1g2kZgIapeXiI6TIQ9wurVkl5zT4IgBvD8wxG7peAuF9YpWo8hXEEQIMoRVWM3C8Ocb+wSpU8jNwBGkUpqmDkfnGI+4VVqwY3VAEaplI1pyWM3C/MafYBtJ5qleyblilXzM6eqdVMPMrRKIdD2GOhlZTOTKlkjk9NMMC5duHYdVlXq3RyatsV1wB2fQoaolI1lk3LlM7M0+fe14+8nT3dVZQTY3Jq3Emn0PcWoBStbegfp73pGbW6obuK8r//xh0Zkq5FV3bNozKeUL04iz4CjXJyamyaATw4Mg+feH/+pja7oJSitXW9sq5eTauhfjkyJAs5DgZQeT+q1Wh6Tr2ZUfOLamNTb27rmkcbW+a0ZL48cO7edmJRS35wSplardkH0YIQ9wsrnVGtZsM44qxsNrfMk+fet49riyvvNjKu1mhhSS8s6dczamJJdneKfLvoKIpUEpX3hbOy2dox+/t6Y1u/fK1+nFaln81HVyrm6Qvv5NSclMzUuJPNCNdt4sHWh+dRuWzDFddgiPuFlcs2TMsYQ+ub+n//a/XxD+oXd2Xa2tZ7+1oKzmZ44pYzNiT7ekSijYMBFrgN33CeR9WqOToxM3Pq8TNvek6dnpLnGfVLbxeYmVe7+3pn1/w/v3ezmZb/aZUr5ugEcb8wxP3Cjk/M4ZExprU3dvcU7e2bpVX9nv32PI88Mivr5vC49vK1l0rwQK+8PeF0FUWirZX/8K3m+MS8fK1evPbW1vXhsdnd/8e7JO4fmJl59cWJk8005hiv0cGhOTxC3C8Mcb+wwyPz8KkXCND4qGzdYRET5drFF5+4P7725pZ06b1LzY5PzPGJWVmjxRW9vK7z7SKT5s6CKORFPita+pecb3kebWzprR29u2c2tvTcopqdV7UP+8rYnhb9vWJsWLbFWvtns7ah38yoJz94WAp5CfzP/3LU7GNoScW8+Pxj58E9t7PYwtOaZ2Xzdk59/0y9mfX29s3R8YdeQuEQ93SJkUE50Cdz7dwW50iYwyFG6K+oVDInp+b0zKxv6Dezan5Rr6zpsw+ecY5FOdsu7k85H99zujqEbNWxB1UqZmlVf/PIe/TU29rBmy0vA3G/vFiUJ8fkbz5zJ8dkMNiqVVOKTktmfVM/e+k9fuYtr+oP3F5VCAoFORikZEIM9Yn+XtnVIbLtIh7j1m1KU5yf8HLFbG2b6Tn1dlatb+qDI3N6asqVD30zDDMVcuKjKefBPaerQ0QjrfqBJKJKxXz/g/rT17XpWVU6w5j9khD3KwkGuadT3L/rfPHAad0pmnPbu3p+Ub945b16q1bWLjZWikU5leRkGyfaRHen6OsWHUWRSWHG5h/QmrZ29MqaXtvQ65v64NDs7OqdPXPRZd1dHeLWsBwbcQZ6RSHX2p/D1XX98In36Km3sKzwKPhVYM79SioV83ZO7R+akxPz0R2nr1u07rOd2YzIZkRXh+juUtOzanlFbWyZD9xq9eTUnJya5VUiUqkk9/fIzqJoT4tUkmMxTsQ5meBIuFXPTH1Va3RwqA8OzdGx2d3XG5tmZU2trOuDwwsPUYMBLuS4u0uODMqJUdlRaO2sHx2b+SX1/Q/eo6fe3j4G7FeFkXt9SEG3RuRvP3enJpxEvLWnnrWmg0Pz6q33/TPv7Zw+ucjkwDlmEkxCUDzGuazo7hT9PbKrQyQTHAqy45DrsGWPyL9HzSPPM0pRuWyOTszWtllYUnOLanVdH50YrS/zpqFQkOMxHh4QH91xbg07yURrr0/1PNre1U9feN888mbmlcYcez0g7nUjJbWnxdiw/J//zR3ql80+nKsqV8z+gVlc1rML6s2Mml245CUnBIVD5/vVUDzK+Zwo5EQxL7IZkU6xNU9R/qKaR1vben1Tb+3onT2zvqEPjnSlQqclc1q6/PZzPV3i1ogzNiR7u0UqyaGWvd9zrlIxL9+ov3xbm57VewcaZa8XxL3OXJfuTjr3bjvjozKfbeXRFBERaU2b23p1Xc/Mq/lFPTN/1RtcoSCnkpxOcqKN4zGRSnJbnOMxTrRxMsHJhGjdTVFqHh0fm+MTc3Ss9w/N4ZE5OjYHh2Z3X5//6yvufpXNiMF+0VWUxYLo6RIdedHSo/VzSyv6+SvvyXNveuZDF3rCB0Lcr0UuKz6773w05XQURLzF1xqfOyubNzPqyXNvdl6XzszhkanLMgbXpVRCpFOcTol8lnPtIpngcIiDAQ4EKBhg16VAgFzXRytwah7VasbzyPOoWjO1GlWq5uTUHBya3T2zf6h3983Wtt7e0XWpVSTC8Sjns2JsWN69Lfu6ZUtP+v3k+MTMLarHT73HP2CG/Vog7tclFORiQXz5ifPgrpPJtPCK45+cL5rc2dPrm/r5j+rla3V4pJWmq3+PFoKkIMdhKUlKCgY5EedshjNp0RbnZIJTCREKUSTMsSgHAvRuFQ6TYGL+z0eFr169n+a+z+fBjSFDRIaISBtTrdL+gdnZ0+fD8JMTc3Ri9g/M7r4+PjaeIqVIKaP0VV+hfv6HCrjcWRS93WJ4QI4MyvMZGAvKrjXt7OqHT70/f1tb3/jQm/ZwUYj79cpnxfCAvDMpJ8ecZKL1r0siIipXzPaO2dzWS6t6cVnNL+rt3fpPlAaDHA5RIMChIJ3fhnUcDgbezeCHAhQIcDTK8RgHHGJBoRCHguS67/5fwRwIUMAlIfgX48FMxlCpZKo1Q4aqHtVqplajWo1qNVMq09mZqVZN6YzOyqZaNadnVK2actmclalSNdUa1WqmUqVK+Zc3eLmKjsK7W9ADvSKdFumkPWuNSmfmyXPvyQ9qZl5tbmN+/Rq17ARni9jc1ls7enNbb26b27dkb5do3cedfhIKcncnd3eK0SGzsi7/4+vaH7+q/32wSsVUKvRu2Py3XJfO522iEY5G2HWZmc5/B7guuQ4zkxAUcMl1WYhfXovCTNrQ2dm77WRrnqnV/vrPNSpXzFnZVKt0VjblClWrF1svdBXBID+46zy45+SylszpnTstmcVl/WZWPfnBm5lXDTufNxbifu2MobdzamNLL63IB3edsWGZSgrZ8qtpiIjiMR7oFTNzjX5Y6XxwTaf0X+dqr3IkPsmN61BPtxzos2RunYhqNTo81j+8VF8/rL2d05iHaQzEvUGOT8zT5978oh4elP/0pTsxKi1Y6kBEa+t6Ze1DdyxoAP8cyaVVqmZxWQ0PiFZ/5vnc0bF5/VY9ee69mlY7exoPnTYM4t441Rpt7+qDQ318rKdnnZEBMTQgW/eJViKqVM3LN+r1DL5i11OtRt//4BVy4p++bO39G4yh6Vn15Ln3+q1aWrnA9mdQF3Ly/v9q9jHcLFrT1o6ZXdBHx0YpCgY5EmHRgtewMbS6Yb76rjYzh7jX2fGJCQa5p0vEoi25POasbNY3zItX3l++875+6K1vagveb9NyEPfmUIq2tvXymj46MQGX4jEWosWeID8tmYdPvKfP1THeknMNPI+iYS4WRKCl3m6oNO3t62cv1L/9qfaHr2rzS6pSafYx3VSYlmkapWlzW58+MnMLurdbTIzJ27ectnjLXMlrG/qbR951LIIEItre1d//4E2MtdJ7rs/K5sUr9eipN7ugtnY03mrdXIh7k52cmpNTtbisVtf18qoeHZKDfdL/iT88Mi/fqKUVha/b18TzaGlVv5lVLbEDz/GJWVjWM3Pq5WvvzSw+Fb6AaRlfMIZ2983sgtrYMkpTMMjBALmOfy/p12/VH/5c291r3OrvG0hpqtYonxO5dp9O2BlDxydmdUM/ee798S+18+l17PzlExi5+4jn0cy82trRr6bVx3edqXEnnfJj38sV83ZWzS2quj+ZCT/nefT6rTcyKIb6hQ+3fqzVaGlFPX2hXrz21jf1yenl97mE64C4+4sxdHhknj73dnb181dqZFCMjzjdnT4auClNX33nffu9h6/eDVCr0dPnqqtDPbjn+Gd7orOymZlTb2bV7LxeWdM7e/gl70eIux8pTYsrenFFz86LlTU9Mih7OmUhz0EfLJzY2tbfPKqtruN6bpClFfXoiTc2JP2wN9HBoVnf0nML6sdpNT2jrriJMVwrzLn72mnJLK7o12/V7r6WggOB8w0Um7b2+fjEPHzqPXmO1xY3jtZkNOXaRS7btF0rtKZyxays6kdPvX/7Y+3rh97quq5Um3Mw8IEwcvc7pejo2Dx5rpZXdSYlBvvFnQlnoFe6bqOPxBiaX1Lffe/tHWDY3lCb2/oPf6ll0jw80IS612o0t6ievfRev1VbO3pvH3fRWwPi3hoqFbO6blbX9dIqL63o4QHZ3Sk6i6KRL3va3NZPn6v5RWwP0mg1j17PqCfPvUxKNPIe+/lLuJZX9ds5NbugLvEKb2gixL3FHByax8+8V9Oqp0uMDspbo7KYF8mECFzzQF5pev5KPf/RK1dwhTdBpWKevVCFnPfbz9zrnpQrlcz+odne0a/fqjezamlFYxauFSHuLal0ZqZn1dKK/u6JNzYs7912ujpEKsnBwLVMxxtDSyvqh5fe2iYmZJpmcVk9e8HDA7KYv5ava+dvntrZ089/VN//4J03vVwxWLfeohD3VqU1lc7M+etMl1Z0Js1dRTE2LEeHnbqP4ktn5i/feq/fKlznTaQ0/fhGff3I+3//h1v3zUT39s3qulpY1nOLamVNr29oPMTQ6hD3llc6M7MLanaBXsd5YUXPL+muosikRba9Pu9mq9bo7Zx68tzDuremOzgy331fG+oTo8OyLutiD4/M3r7e3DFzC2p1Qy8sKbyr2hqIuz2Ojs2TH7xnL7x8Vgz2yfFROTYsI2EOBukqIVhb118/9HZxzfvD5pb56qGXaBO93Zf/mVZrVKmYrW39ZlbNzKvFZb25pbWx4VUn8BPE3SrGkFK0tqH3D8ybWVXMiVw7jw5ffr9Jz6NX096jZ14F91H9oVwxz154g32yoyjci1++5x+PpVX1dk7PLajdfX1aIvxwrYS42+msbM7KZmtbh0O8sKxfTatiXnQWRXeHTKc+9KarUvToqfeXh16phIvfRw6OzDePa5k0fzR1get3ZV1vbOqtHT23oLd29NqGPsWP1WqIu+XOyubtnHo7pyJhHuwTwwPyfJfBVJITbfye7aiMoaVV9e9/rs3OY1m777x5q9pitWJeFHLvexXfackcn5jTU7O5Y6Zn1eKy2tjSWK5+QyDuN0XpzPz4Rr2d045D2XYx1CfGhuVAn0wm2HVYCPq7Ruzs6W8fe4srKLsfKU2vZ9R/fF37/e/c9vTfrIw0hjxFWpntPTM9825K/fzVGTUP6xpvEMT9BlGaVMVQhU5O1faOfjOrEm2ikOPeLtndKbo7xU8L7I5PzNMX6tvH3tExRnk+dXhkvn7kdXfKZJtw/nodn5bM7IJaXtWr63p7R+8dmIMjg1m1mwlxv6FOTs3JqSHSP76hzqLqKIjOgshlRSEn2uI8v6i/e1zb2MIwz7+MoY0t/c3jWjhMuXZx/kzp1rZeWNZrG3pzGz+7mw5xv+mUouVVvb6pn73gVJJHBmUxL5ZX9eIK6tACXr9VoSAX8mJpRc0t6OMTU/Pw0gwgIuJ//pejZh8DAADUmW9e7gIAAPWDuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACyHuAAAWQtwBACyEuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACyHuAAAWQtwBACyEuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACyHuAAAWQtwBACyEuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACyHuAAAWQtwBACyEuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFkLcAQAshLgDAFgIcQcAsBDiDgBgIcQdAMBCiDsAgIUQdwAACyHuAAAWQtwBACyEuAMAWAhxBwCwEOIOAGAhxB0AwEKIOwCAhRB3AAALIe4AABZC3AEALIS4AwBYCHEHALAQ4g4AYCHEHQDAQog7AICFEHcAAAsh7gAAFvr/AfruChWN/9lpAAAAAElFTkSuQmCC";
const DEFAULT_COL = "rgb(185, 187, 190)";
const uName = document.evaluate("/html/body/div[1]/div[2]/div[1]/span/text()", document, null, XPathResult
.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
const panggilan = document.evaluate("/html/body/div[2]/div[1]/span/text()", document, null, XPathResult
.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
const statusText = document.evaluate("/html/body/div[2]/div[2]/span[2]/text()", document, null, XPathResult
.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
const createdAt = document.evaluate("/html/body/div[2]/div[4]/span/text()", document, null, XPathResult
.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
const joinedAt = document.evaluate("/html/body/div[2]/div[5]/span/text()", document, null, XPathResult
.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
const ALL_FLAGS = ["staff", "partner", "hype-event", "hype-balance", "hype-bravery", "hype-brilliance", "bug-l1", "bug-l2", "verified-dev", "nitro-early"];
function resetFlag() {
ALL_FLAGS.forEach((f) => {
const getElem = document.getElementById("fl-" + f);
if (getElem !== null) {
getElem.style.display = "none";
}
})
document.getElementById("bot-meta").style.display = "none";
document.getElementById("bot-meta-verified").style.display = "none";
}
function enableFlag(flagName) {
if (flagName === "bot") {
document.getElementById("bot-meta").style.display = "inline-block";
} else if (flagName === "verified-bot") {
document.getElementById("bot-meta-verified").style.display = "inline-block";
} else {
const getElem = document.getElementById("fl-" + flagName);
if (getElem !== null) {
getElem.style.display = "block";
}
}
}
function changeData(fullData) {
let {
u,
ud,
un,
created,
joined,
highRole: {
hName,
hCol
},
status: {
sText,
sId
},
avaB64,
flags,
} = fullData;
resetFlag();
const selColor = colorMap[sId || "off"];
panggilan.data = `: ${un || "Tidak ada"}`;
statusText.data = `: ${sText || "Tidak diketahui"}`;
document.getElementById("avatar-status").className = `p-${sId || "off"}`
document.getElementById("status-bubble").style.backgroundColor = selColor;
createdAt.data = `: ${created || "Tidak diketahui"}`;
joinedAt.data = `: ${joined || "Tidak diketahui"}`;
document.getElementById("role-wrap").style.borderColor = hCol || DEFAULT_COL;
document.getElementById("role-bubble").style.backgroundColor = hCol || DEFAULT_COL;
document.getElementById("role-name").textContent = hName || "Tidak diketahui";
uName.data = u || "[????]";
document.getElementById("udisc").textContent = `#${ud || "0000"}`;
document.getElementById("img-base").setAttribute("src", avaB64 ||
`data:image/png;base64,${AVATAR_DEFAULT}`);
if (!Array.isArray(flags)) {
flags = [];
}
flags.forEach((e) => {
enableFlag(e);
})
}
function seleniumCallChange(stringData) {
let loadedData = JSON.parse(stringData);
if (typeof loadedData === "string") {
loadedData = JSON.parse(loadedData);
}
changeData(loadedData || {
highRole: {},
status: {}
});
}
</script>
</body>
</html>
""" # noqa: E501
@dataclass
class UserCardHighRole:
name: str
color: str
def serialize(self):
return {
"hName": self.name,
"hCol": self.color,
}
@dataclass
class UserCardStatus:
id: str
text: str
def serialize(self):
return {"sText": self.text, "sId": self.id}
class UserCard(CardBase):
username: str
discriminator: str
nickname: Optional[str]
createdAt: str
joinedAt: str
highest_role: UserCardHighRole
status: UserCardStatus
avatar: str
flags: Optional[List[str]] = []
def serialize(self):
real_data = {
"u": self.username,
"ud": self.discriminator,
"created": self.createdAt,
"joined": self.joinedAt,
"highRole": self.highest_role.serialize(),
"status": self.status.serialize(),
"avaB64": self.avatar,
"flags": self.flags,
}
if isinstance(self.nickname, str) and len(self.nickname) > 0 and self.nickname != self.username:
real_data["un"] = self.nickname
return real_data
UserCardGenerator = CardTemplate("usercard", HTML_PAGE, 510, 40)
| 133.68435 | 20,754 | 0.653545 | 18,096 | 100,798 | 3.638373 | 0.204465 | 0.016798 | 0.016586 | 0.004131 | 0.166783 | 0.131683 | 0.10887 | 0.093074 | 0.072783 | 0.064429 | 0 | 0.430291 | 0.148515 | 100,798 | 753 | 20,755 | 133.861886 | 0.336813 | 0.010754 | 0 | 0.417151 | 0 | 0.274709 | 0.987162 | 0.686137 | 0 | 1 | 0 | 0 | 0 | 1 | 0.00436 | false | 0 | 0.010174 | 0.002907 | 0.042151 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
805b000a235863c6ef1a9d50537c10640964e774 | 1,977 | py | Python | tests/unit/core/test_n_plus_one_tracker.py | tim-schilling/scout_apm_python | aa334294f5e5abed22d8f268ff9978f5a857a367 | [
"MIT"
] | 60 | 2018-04-15T04:09:39.000Z | 2022-03-29T12:10:40.000Z | tests/unit/core/test_n_plus_one_tracker.py | tim-schilling/scout_apm_python | aa334294f5e5abed22d8f268ff9978f5a857a367 | [
"MIT"
] | 326 | 2018-03-28T16:09:13.000Z | 2022-03-03T13:50:23.000Z | tests/unit/core/test_n_plus_one_tracker.py | tim-schilling/scout_apm_python | aa334294f5e5abed22d8f268ff9978f5a857a367 | [
"MIT"
] | 25 | 2018-05-30T17:59:46.000Z | 2022-02-24T19:40:02.000Z | # coding=utf-8
from __future__ import absolute_import, division, print_function, unicode_literals
from scout_apm.core.n_plus_one_tracker import NPlusOneTracker
def test_add_single_call_not_captured():
tracker = NPlusOneTracker()
should_capture_backtrace = tracker.should_capture_backtrace(
"SELECT 1", duration=NPlusOneTracker.DURATION_THRESHOLD * 2
)
assert not should_capture_backtrace
def test_add_multi_call_not_captured():
tracker = NPlusOneTracker()
should_capture_backtrace = tracker.should_capture_backtrace(
"SELECT 1", duration=0.01, count=NPlusOneTracker.COUNT_THRESHOLD * 2
)
assert not should_capture_backtrace
def test_add_single_call_captured():
tracker = NPlusOneTracker()
should_capture_backtrace = tracker.should_capture_backtrace(
"SELECT 1",
duration=NPlusOneTracker.DURATION_THRESHOLD,
count=NPlusOneTracker.COUNT_THRESHOLD,
)
assert should_capture_backtrace
def test_add_two_calls_second_captured():
tracker = NPlusOneTracker()
should_capture_backtrace1 = tracker.should_capture_backtrace(
"SELECT 1",
duration=NPlusOneTracker.DURATION_THRESHOLD,
count=NPlusOneTracker.COUNT_THRESHOLD - 1,
)
assert not should_capture_backtrace1
should_capture_backtrace2 = tracker.should_capture_backtrace(
"SELECT 1", duration=0.01, count=1
)
assert should_capture_backtrace2
def test_add_two_calls_not_recaptured():
tracker = NPlusOneTracker()
should_capture_backtrace1 = tracker.should_capture_backtrace(
"SELECT 1",
duration=NPlusOneTracker.DURATION_THRESHOLD,
count=NPlusOneTracker.COUNT_THRESHOLD,
)
assert should_capture_backtrace1
should_capture_backtrace2 = tracker.should_capture_backtrace(
"SELECT 1",
duration=NPlusOneTracker.DURATION_THRESHOLD,
count=NPlusOneTracker.COUNT_THRESHOLD,
)
assert not should_capture_backtrace2
| 32.409836 | 82 | 0.758725 | 213 | 1,977 | 6.633803 | 0.215962 | 0.193206 | 0.202406 | 0.143666 | 0.831564 | 0.789101 | 0.775655 | 0.775655 | 0.775655 | 0.775655 | 0 | 0.016 | 0.178048 | 1,977 | 60 | 83 | 32.95 | 0.853538 | 0.00607 | 0 | 0.520833 | 0 | 0 | 0.028528 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 1 | 0.104167 | false | 0 | 0.041667 | 0 | 0.145833 | 0.020833 | 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 |
80a9d279a31a21fa999f71805851b7ad3c95fa8d | 237 | py | Python | tests/conftest.py | schopra8/skweak | e2a8fd396164b07292d86fae44e71af0fa28860a | [
"MIT"
] | 664 | 2021-03-20T07:47:22.000Z | 2022-03-29T10:17:27.000Z | tests/conftest.py | schopra8/skweak | e2a8fd396164b07292d86fae44e71af0fa28860a | [
"MIT"
] | 45 | 2021-04-16T11:52:49.000Z | 2022-03-30T07:56:14.000Z | tests/conftest.py | schopra8/skweak | e2a8fd396164b07292d86fae44e71af0fa28860a | [
"MIT"
] | 46 | 2021-04-21T09:06:13.000Z | 2022-03-29T07:54:40.000Z |
import pytest
import spacy
@pytest.fixture(scope="session")
def nlp():
import spacy
return spacy.load("en_core_web_md")
@pytest.fixture(scope="session")
def nlp_small():
import spacy
return spacy.load("en_core_web_sm") | 18.230769 | 39 | 0.721519 | 35 | 237 | 4.685714 | 0.457143 | 0.20122 | 0.219512 | 0.304878 | 0.804878 | 0.804878 | 0.426829 | 0.426829 | 0 | 0 | 0 | 0 | 0.151899 | 237 | 13 | 40 | 18.230769 | 0.81592 | 0 | 0 | 0.5 | 0 | 0 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
03afcb263295b4dfa8a74c4eff9a97800e9100aa | 5,805 | py | Python | tests/test_rpc.py | chaostoolkit/chaosplatform-scheduler | 42873402f18992a2c1292ccdc7ebfb177b073ae3 | [
"Apache-2.0"
] | null | null | null | tests/test_rpc.py | chaostoolkit/chaosplatform-scheduler | 42873402f18992a2c1292ccdc7ebfb177b073ae3 | [
"Apache-2.0"
] | 2 | 2020-06-03T12:46:44.000Z | 2020-06-22T09:32:28.000Z | tests/test_rpc.py | chaostoolkit/chaosplatform-scheduler | 42873402f18992a2c1292ccdc7ebfb177b073ae3 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime, timedelta
from unittest.mock import MagicMock, ANY
from dateparser import parse
from chaosplt_scheduler.rpc import SchedulerRPC
def test_schedule_experiment_execution_at():
scheduler = MagicMock()
job = MagicMock()
job.id = "myjob"
scheduler.enqueue_at.return_value = job
dt = (datetime.utcnow() + timedelta(seconds=1)).isoformat()
scheduled = parse(dt, settings={'TO_TIMEZONE': 'UTC'})
rpc = SchedulerRPC(scheduler, {"job": {"platform_url": "http://a:80"}})
job_id = rpc.schedule(
schedule_id="1",
user_id="2",
org_id="3",
workspace_id="4",
experiment_id="5",
token_id="6",
token="7",
scheduled=dt,
experiment="8",
interval=None,
repeat=None,
cron=None,
settings=None,
configuration=None,
secrets=None)
scheduler.enqueue_at.assert_called_with(
scheduled, ANY, "1", "2", "3", "4", "5", "6", "7", "8",
"http://a:80", None, None, None
)
assert job_id == "myjob"
def test_schedule_experiment_execution_cron_no_repeat():
scheduler = MagicMock()
job = MagicMock()
job.id = "myjob"
scheduler.cron.return_value = job
dt = (datetime.utcnow() + timedelta(seconds=1)).isoformat()
rpc = SchedulerRPC(scheduler, {"job": {"platform_url": "http://a:80"}})
job_id = rpc.schedule(
schedule_id="1",
user_id="2",
org_id="3",
workspace_id="4",
experiment_id="5",
token_id="6",
token="7",
scheduled=dt,
experiment="8",
interval=None,
repeat=None,
cron="1 * * * *",
settings=None,
configuration=None,
secrets=None)
scheduler.cron.assert_called_with(
"1 * * * *", func=ANY,
args=[
"1", "2", "3", "4", "5", "6", "7", "8", "http://a:80", None, None,
None
],
repeat=None
)
def test_schedule_experiment_execution_cron_with_repeat():
scheduler = MagicMock()
job = MagicMock()
job.id = "myjob"
scheduler.cron.return_value = job
dt = (datetime.utcnow() + timedelta(seconds=1)).isoformat()
rpc = SchedulerRPC(scheduler, {"job": {"platform_url": "http://a:80"}})
job_id = rpc.schedule(
schedule_id="1",
user_id="2",
org_id="3",
workspace_id="4",
experiment_id="5",
token_id="6",
token="7",
scheduled=dt,
experiment="8",
interval=None,
repeat=10,
cron="1 * * * *",
settings=None,
configuration=None,
secrets=None)
scheduler.cron.assert_called_with(
"1 * * * *", func=ANY,
args=[
"1", "2", "3", "4", "5", "6", "7", "8", "http://a:80", None, None,
None
],
repeat=10
)
def test_schedule_experiment_execution_interval_no_repeat():
scheduler = MagicMock()
job = MagicMock()
job.id = "myjob"
scheduler.schedule.return_value = job
dt = (datetime.utcnow() + timedelta(seconds=1)).isoformat()
scheduled = parse(dt, settings={'TO_TIMEZONE': 'UTC'})
rpc = SchedulerRPC(scheduler, {"job": {"platform_url": "http://a:80"}})
job_id = rpc.schedule(
schedule_id="1",
user_id="2",
org_id="3",
workspace_id="4",
experiment_id="5",
token_id="6",
token="7",
scheduled=dt,
experiment="8",
interval=30,
repeat=None,
cron=None,
settings=None,
configuration=None,
secrets=None)
scheduler.schedule.assert_called_with(
scheduled, func=ANY,
args=[
"1", "2", "3", "4", "5", "6", "7", "8", "http://a:80", None, None,
None
],
interval=30, repeat=None
)
def test_schedule_experiment_execution_interval_no_repeat():
scheduler = MagicMock()
job = MagicMock()
job.id = "myjob"
scheduler.schedule.return_value = job
dt = (datetime.utcnow() + timedelta(seconds=1)).isoformat()
scheduled = parse(dt, settings={'TO_TIMEZONE': 'UTC'})
rpc = SchedulerRPC(scheduler, {"job": {"platform_url": "http://a:80"}})
job_id = rpc.schedule(
schedule_id="1",
user_id="2",
org_id="3",
workspace_id="4",
experiment_id="5",
token_id="6",
token="7",
scheduled=dt,
experiment="8",
interval=30,
repeat=10,
cron=None,
settings=None,
configuration=None,
secrets=None)
scheduler.schedule.assert_called_with(
scheduled, func=ANY,
args=[
"1", "2", "3", "4", "5", "6", "7", "8", "http://a:80", None, None,
None
],
interval=30, repeat=10
)
def test_cancel_schedule():
scheduler = MagicMock()
job = MagicMock()
job.id = "myjob"
scheduler.enqueue_at.return_value = job
dt = (datetime.utcnow() + timedelta(seconds=1)).isoformat()
scheduled = parse(dt, settings={'TO_TIMEZONE': 'UTC'})
rpc = SchedulerRPC(scheduler, {"job": {"platform_url": "http://a:80"}})
job_id = rpc.schedule(
schedule_id="1",
user_id="2",
org_id="3",
workspace_id="4",
experiment_id="5",
token_id="6",
token="7",
scheduled=dt,
experiment="8",
interval=None,
repeat=None,
cron=None,
settings=None,
configuration=None,
secrets=None)
scheduler.enqueue_at.assert_called_with(
scheduled, ANY, "1", "2", "3", "4", "5", "6", "7", "8", "http://a:80",
None, None, None
)
assert job_id == "myjob"
rpc.cancel(job_id)
scheduler.cancel.assert_called_with(job_id)
| 26.62844 | 78 | 0.547804 | 668 | 5,805 | 4.594311 | 0.100299 | 0.026067 | 0.02737 | 0.058651 | 0.92799 | 0.916911 | 0.903226 | 0.889541 | 0.889541 | 0.889541 | 0 | 0.035428 | 0.290095 | 5,805 | 217 | 79 | 26.751152 | 0.709294 | 0 | 0 | 0.873684 | 0 | 0 | 0.077519 | 0 | 0 | 0 | 0 | 0 | 0.047368 | 1 | 0.031579 | false | 0 | 0.021053 | 0 | 0.052632 | 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 |
208a5284136f99f708071829be9cf344c317a42c | 3,345 | py | Python | tests/dicts/test_cherrypicking.py | tavaresrodrigo/kopf | 97e1c7a926705a79dabce2931e96a924252b61df | [
"MIT"
] | 855 | 2020-08-19T09:40:38.000Z | 2022-03-31T19:13:29.000Z | tests/dicts/test_cherrypicking.py | tavaresrodrigo/kopf | 97e1c7a926705a79dabce2931e96a924252b61df | [
"MIT"
] | 715 | 2019-12-23T14:17:35.000Z | 2022-03-30T20:54:45.000Z | tests/dicts/test_cherrypicking.py | tavaresrodrigo/kopf | 97e1c7a926705a79dabce2931e96a924252b61df | [
"MIT"
] | 97 | 2019-04-25T09:32:54.000Z | 2022-03-30T10:15:30.000Z | import copy
import pytest
from kopf._cogs.structs.dicts import cherrypick
def test_overrides_existing_keys():
src = {'ignored-key': 'src-val', 'tested-key': 'src-val'}
dst = {'ignored-key': 'dst-val', 'tested-key': 'dst-val'}
cherrypick(src=src, dst=dst, fields=['tested-key'])
assert dst == {'ignored-key': 'dst-val', 'tested-key': 'src-val'}
def test_adds_absent_dst_keys():
src = {'ignored-key': 'src-val', 'tested-key': 'src-val'}
dst = {'ignored-key': 'dst-val'}
cherrypick(src=src, dst=dst, fields=['tested-key'])
assert dst == {'ignored-key': 'dst-val', 'tested-key': 'src-val'}
def test_skips_absent_src_keys():
src = {'ignored-key': 'src-val'}
dst = {'ignored-key': 'dst-val', 'tested-key': 'dst-val'}
cherrypick(src=src, dst=dst, fields=['tested-key'])
assert dst == {'ignored-key': 'dst-val', 'tested-key': 'dst-val'}
def test_overrides_existing_subkeys():
src = {'sub': {'ignored-key': 'src-val', 'tested-key': 'src-val'}}
dst = {'sub': {'ignored-key': 'dst-val', 'tested-key': 'dst-val'}}
cherrypick(src=src, dst=dst, fields=['sub.tested-key'])
assert dst == {'sub': {'ignored-key': 'dst-val', 'tested-key': 'src-val'}}
def test_adds_absent_dst_subkeys():
src = {'sub': {'ignored-key': 'src-val', 'tested-key': 'src-val'}}
dst = {'sub': {'ignored-key': 'dst-val'}}
cherrypick(src=src, dst=dst, fields=['sub.tested-key'])
assert dst == {'sub': {'ignored-key': 'dst-val', 'tested-key': 'src-val'}}
def test_skips_absent_src_subkeys():
src = {'sub': {'ignored-key': 'src-val'}}
dst = {'sub': {'ignored-key': 'dst-val', 'tested-key': 'dst-val'}}
cherrypick(src=src, dst=dst, fields=['sub.tested-key'])
assert dst == {'sub': {'ignored-key': 'dst-val', 'tested-key': 'dst-val'}}
def test_ensures_dst_subdicts():
src = {'sub': {'ignored-key': 'src-val', 'tested-key': 'src-val'}}
dst = {}
cherrypick(src=src, dst=dst, fields=['sub.tested-key'])
assert dst == {'sub': {'tested-key': 'src-val'}}
def test_fails_on_nonmapping_src_key():
src = {'sub': 'scalar-value'}
dst = {'sub': {'ignored-key': 'src-val', 'tested-key': 'src-val'}}
with pytest.raises(TypeError):
cherrypick(src=src, dst=dst, fields=['sub.tested-key'])
def test_fails_on_nonmapping_dst_key():
src = {'sub': {'ignored-key': 'src-val', 'tested-key': 'src-val'}}
dst = {'sub': 'scalar-value'}
with pytest.raises(TypeError):
cherrypick(src=src, dst=dst, fields=['sub.tested-key'])
def test_exact_object_picked_by_default():
src = {'tested-key': {'key': 'val'}}
dst = {}
cherrypick(src=src, dst=dst, fields=['tested-key'])
assert dst == {'tested-key': {'key': 'val'}}
assert dst['tested-key'] == src['tested-key']
assert dst['tested-key'] is src['tested-key']
src['tested-key']['key'] = 'replaced-val'
assert dst['tested-key']['key'] == 'replaced-val'
def test_copied_object_picked_on_request():
src = {'tested-key': {'key': 'val'}}
dst = {}
cherrypick(src=src, dst=dst, fields=['tested-key'], picker=copy.copy)
assert dst == {'tested-key': {'key': 'val'}}
assert dst['tested-key'] == src['tested-key']
assert dst['tested-key'] is not src['tested-key']
src['tested-key']['key'] = 'another-val'
assert dst['tested-key']['key'] == 'val'
| 35.210526 | 78 | 0.60568 | 470 | 3,345 | 4.212766 | 0.104255 | 0.204545 | 0.095455 | 0.090909 | 0.874747 | 0.84798 | 0.80404 | 0.766667 | 0.766667 | 0.749495 | 0 | 0 | 0.156652 | 3,345 | 94 | 79 | 35.585106 | 0.701879 | 0 | 0 | 0.530303 | 0 | 0 | 0.335127 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 1 | 0.166667 | false | 0 | 0.045455 | 0 | 0.212121 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 7 |
459b3606bc59a4cbb06695ec4d832cfc8aa365d8 | 150 | py | Python | config.py | jarjun/SummonerSMS | 92d48e7df2bd47ccf3ae0dc8c4e070cffaae76dc | [
"MIT"
] | null | null | null | config.py | jarjun/SummonerSMS | 92d48e7df2bd47ccf3ae0dc8c4e070cffaae76dc | [
"MIT"
] | null | null | null | config.py | jarjun/SummonerSMS | 92d48e7df2bd47ccf3ae0dc8c4e070cffaae76dc | [
"MIT"
] | null | null | null | account_sid = "ACed174aa4db08574d608df749cd16e3fd"
auth_token = "d96a5e6b2722cac3116e0298c965efd0"
leagueAPI = "85ac6da1-6c2f-486b-8b4f-4990bd2b6685" | 50 | 50 | 0.853333 | 12 | 150 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.411348 | 0.06 | 150 | 3 | 51 | 50 | 0.48227 | 0 | 0 | 0 | 0 | 0 | 0.675497 | 0.675497 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
45a7ef1db3e186205cde737187780c4affabd7d7 | 369 | py | Python | manga_py/providers/__list.py | gromenauer/manga-py | 2bc5a8bc87877d4447e08e48045fad82ade1ebd0 | [
"MIT"
] | 4 | 2018-07-05T11:03:22.000Z | 2020-03-27T13:21:56.000Z | manga_py/providers/__list.py | gromenauer/manga-py | 2bc5a8bc87877d4447e08e48045fad82ade1ebd0 | [
"MIT"
] | null | null | null | manga_py/providers/__list.py | gromenauer/manga-py | 2bc5a8bc87877d4447e08e48045fad82ade1ebd0 | [
"MIT"
] | 1 | 2021-02-05T06:18:31.000Z | 2021-02-05T06:18:31.000Z | providers_list = [
{
'provider': 'manga_py.providers.readmanga_me',
'priority': 5, # default
'templates': [
r'readmanga\.me/.',
]
},
# {
# 'provider': 'manga_py.providers.readmanga_me',
# 'priority': 5, # default
# 'templates': [
# r'readmanga\.me/.',
# ]
# },
]
| 21.705882 | 56 | 0.439024 | 28 | 369 | 5.607143 | 0.428571 | 0.280255 | 0.191083 | 0.305732 | 0.917197 | 0.917197 | 0.917197 | 0.917197 | 0.917197 | 0.917197 | 0 | 0.008772 | 0.382114 | 369 | 16 | 57 | 23.0625 | 0.679825 | 0.392954 | 0 | 0 | 0 | 0 | 0.331776 | 0.14486 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 10 |
afe098f42924ebb7752e80bbe18626585aca1403 | 464 | py | Python | ch03/dimensionArray.py | sbb777/deep-learning-from-scratch | ea8834952c5609d05fc4f4b4d918caff0b11379e | [
"MIT"
] | null | null | null | ch03/dimensionArray.py | sbb777/deep-learning-from-scratch | ea8834952c5609d05fc4f4b4d918caff0b11379e | [
"MIT"
] | null | null | null | ch03/dimensionArray.py | sbb777/deep-learning-from-scratch | ea8834952c5609d05fc4f4b4d918caff0b11379e | [
"MIT"
] | null | null | null | import numpy as np
A=np.array([[1],[2],[3],[4]])
print(A)
nd=np.ndim(A)
print(nd)
print(A.shape)
print(A.shape[0])
print(A.shape[1])
# print(A.shape[2])
print('####'*30)
A=np.array([1,2,3,4])
print(A)
nd=np.ndim(A)
print(nd)
print(A.shape)
print(A.shape[0])
print(A.shape[1])
# print(A.shape[2])
print('####'*30)
A=np.array([[1,[2]],[2],[3],[4]]) # 에러
print(A)
nd=np.ndim(A)
print(nd)
print(A.shape)
print(A.shape[0])
print(A.shape[1])
# print(A.shape[2]) | 12.888889 | 38 | 0.592672 | 100 | 464 | 2.75 | 0.17 | 0.327273 | 0.48 | 0.098182 | 0.927273 | 0.927273 | 0.927273 | 0.927273 | 0.927273 | 0.927273 | 0 | 0.061758 | 0.092672 | 464 | 36 | 39 | 12.888889 | 0.591449 | 0.12069 | 0 | 0.833333 | 0 | 0 | 0.019802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0.708333 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 10 |
b350e6a9965ed223a8c24e2be8d17c93a345f2b5 | 12,605 | py | Python | tests/test_mustache.py | jabley/flask-mustache | 069f40c1d44543e6ea83d5f7cb461d5dccf30742 | [
"MIT"
] | 2 | 2017-08-30T18:06:27.000Z | 2021-11-06T09:44:36.000Z | tests/test_mustache.py | jabley/flask-mustache | 069f40c1d44543e6ea83d5f7cb461d5dccf30742 | [
"MIT"
] | null | null | null | tests/test_mustache.py | jabley/flask-mustache | 069f40c1d44543e6ea83d5f7cb461d5dccf30742 | [
"MIT"
] | 1 | 2016-03-05T08:06:08.000Z | 2016-03-05T08:06:08.000Z | # coding: utf-8
from flask import Flask
from flask.ext.testing import TestCase
from flask.ext.mustache import FlaskMustache
from pystache import TemplateSpec, Renderer
class Basic(TestCase):
"""
Test the view decorator.
"""
def create_app(self):
"""Make a test app"""
self.app = Flask(__name__)
self.app.config['TESTING'] = True
self.fm = FlaskMustache(self.app)
return self.app
def setup_view(self, *args, **kwargs):
"""Create a view and decorate it with our pystache view_route"""
@self.fm.view_route(*args, **kwargs)
class Example(TemplateSpec):
"""
An example view
"""
template = "{{stuff}}"
def route(self, stuff):
self.stuff = stuff
def test_valid_response(self):
"""Test that the application gives a valid response for our test route"""
# Arrange
route = '/test/<stuff>'
self.setup_view(route)
# Act
response = self.client.get(route.replace('<stuff>', 'stuff'))
# Assert
self.assert200(response)
def test_valid_content_mustache_var(self):
"""Test that the application gives valid content for a template with a simple mustache var to set"""
# Arrange
route = '/test/<stuff>'
self.setup_view(route)
# Act
response = self.client.get(route.replace('<stuff>', 'stuff'))
# Assert
self.assertEquals(response.data, "stuff")
class Decorator(TestCase):
"""
Test the view decorator.
"""
def create_app(self):
"""Make a test app"""
self.app = Flask(__name__)
self.app.config['TESTING'] = True
self.fm = FlaskMustache(self.app)
return self.app
def setup_view(self, *args, **kwargs):
"""Create a view and decorate it with our pystache view_route"""
@self.fm.view_route(*args, **kwargs)
class Example(TemplateSpec):
"""
An example view
"""
template = "{{hello}}{{dynamic}}"
def route(self, **kwargs):
self.route_args = kwargs
def hello(self):
return "hello"
def dynamic(self):
return self.route_args.get('dynamic', '')
def test_valid_response(self):
"""Test that the application gives a valid response for our test route"""
# Arrange
route = '/test'
self.setup_view(route)
# Act
response = self.client.get(route)
# Assert
self.assert200(response)
def test_valid_content_mustache_var(self):
"""Test that the application gives valid content for a template with a simple mustache var to set"""
# Arrange
route = '/test'
self.setup_view(route)
# Act
response = self.client.get(route)
# Assert
self.assertEquals(response.data, "hello")
def test_valid_dynamic_content(self):
"""Test that the application gives valid content where a variable is passed on the URL"""
# Arrange
route = '/test/<dynamic>'
self.setup_view(route)
# Act
response = self.client.get(route.replace('<dynamic>', 'dynamic'))
# Assert
self.assertEquals(response.data, "hellodynamic")
class RouteOptional(TestCase):
"""
Test the view decorator without a route method.
"""
def create_app(self):
"""Make a test app"""
self.app = Flask(__name__)
self.app.config['TESTING'] = True
self.fm = FlaskMustache(self.app)
return self.app
def setup_view(self, *args, **kwargs):
"""Create a view and decorate it with our pystache view_route"""
@self.fm.view_route(*args, **kwargs)
class Example(TemplateSpec):
"""
An example view
"""
template = "{{hello}}"
def hello(self):
return "hello"
def test_valid_response(self):
"""Test that the application gives a valid response for our test route"""
# Arrange
route = '/test'
self.setup_view(route)
# Act
response = self.client.get(route)
# Assert
self.assert200(response)
def test_valid_content_mustache_var(self):
"""Test that the application gives valid content for a template with a simple mustache var to set"""
# Arrange
route = '/test'
self.setup_view(route)
# Act
response = self.client.get(route)
# Assert
self.assertEquals(response.data, "hello")
class RouteOptional404(TestCase):
"""
Test the view decorator without a route method when a 404 occurs.
"""
def create_app(self):
"""Make a test app"""
self.app = Flask(__name__)
self.app.config['TESTING'] = True
self.fm = FlaskMustache(self.app)
return self.app
def setup_view(self, *args, **kwargs):
"""Create a view and decorate it with our pystache view_route"""
@self.fm.view_error(404, *args, **kwargs)
class Example404(TemplateSpec):
"""
An example 404 view
"""
template = "{{hello}}"
def hello(self):
return "hello 404"
def test_invalid_response(self):
"""Test that the application gives an invalid response for our incorrect test route"""
# Arrange
route = '/test404'
self.setup_view()
# Act
response = self.client.get(route)
# Assert
self.assert404(response)
def test_valid_content_mustache_var(self):
"""Test that the application gives valid content for a template with a simple mustache var to set"""
# Arrange
route = '/test404'
self.setup_view()
# Act
response = self.client.get(route)
# Assert
self.assertEquals(response.data, "hello 404")
class Decorator404(TestCase):
"""
Test the view decorator when a 404 occurs.
"""
def create_app(self):
"""Make a test app"""
self.app = Flask(__name__)
self.app.config['TESTING'] = True
self.fm = FlaskMustache(self.app)
return self.app
def setup_view(self, *args, **kwargs):
"""Create a view and decorate it with our pystache view_route"""
@self.fm.view_error(404, *args, **kwargs)
class Example404(TemplateSpec):
"""
An example 404 view
"""
template = "{{hello}}"
def route(self, **kwargs):
self.route_args = kwargs
def hello(self):
return "hello 404"
def test_invalid_response(self):
"""Test that the application gives an invalid response for our incorrect test route"""
# Arrange
route = '/test404'
self.setup_view()
# Act
response = self.client.get(route)
# Assert
self.assert404(response)
def test_valid_content_mustache_var(self):
"""Test that the application gives valid content for a template with a simple mustache var to set"""
# Arrange
route = '/test404'
self.setup_view()
# Act
response = self.client.get(route)
# Assert
self.assertEquals(response.data, "hello 404")
class DecoratorException(TestCase):
"""
Test the view decorator when an exception occurs.
"""
def create_app(self):
"""Make a test app"""
self.app = Flask(__name__)
self.app.config['TESTING'] = True
self.fm = FlaskMustache(self.app)
return self.app
def setup_view(self, *args, **kwargs):
"""Create a view and decorate it with our pystache view_route"""
@self.fm.view_route('/testexception', *args, **kwargs)
class ExampleRaiseException(TemplateSpec):
"""
An example view
"""
template = "{{hello}}"
def hello(self):
raise Exception("testing")
@self.fm.view_error(Exception, *args, **kwargs)
class ExampleException(TemplateSpec):
"""
An example Exception view
"""
template = "{{hello}}{{dynamic}}"
def route(self, **kwargs):
self.route_args = kwargs
def hello(self):
return "hello exception"
def dynamic(self):
return self.route_args.get('dynamic', '')
def test_invalid_response(self):
"""Test that the application gives a 500 response when an exception is raised"""
# Arrange
route = '/testexception'
self.setup_view()
# Act
response = self.client.get(route)
# Assert
self.assertStatus(response, 500)
def test_valid_content_mustache_var(self):
"""Test that the application renders a template when an exception is raised"""
# Arrange
route = '/testexception'
self.setup_view()
# Act
response = self.client.get(route)
# Assert
self.assertEquals(response.data, "hello exception")
class DecoratorExCustomCode(TestCase):
"""
Test the view decorator when an exception occurs and return a custom code.
"""
def create_app(self):
"""Make a test app"""
self.app = Flask(__name__)
self.app.config['TESTING'] = True
self.fm = FlaskMustache(self.app)
return self.app
def setup_view(self, *args, **kwargs):
"""Create a view and decorate it with our pystache view_route"""
@self.fm.view_route('/testnotimplemented', *args, **kwargs)
class ExampleRaiseNotImplemented(TemplateSpec):
"""
An example view
"""
template = "{{hello}}{{dynamic}}"
def route(self, **kwargs):
self.route_args = kwargs
def hello(self):
raise NotImplementedError("testing")
def dynamic(self):
return self.route_args.get('dynamic')
@self.fm.view_error(NotImplementedError, 501, *args, **kwargs)
class ExampleCustomCode(TemplateSpec):
"""
An example Exception view
"""
template = "{{hello}}"
def route(self, **kwargs):
self.route_args = kwargs
def hello(self):
return "hello custom code"
def test_invalid_response(self):
"""Test that the application gives a 501 response when an exception is raised"""
# Arrange
route = '/testnotimplemented'
self.setup_view()
# Act
response = self.client.get(route)
# Assert
self.assertStatus(response, 501)
def test_valid_content_mustache_var(self):
"""Test that the application renders a template when an exception is raised"""
# Arrange
route = '/testnotimplemented'
self.setup_view()
# Act
response = self.client.get(route)
# Assert
self.assertEquals(response.data, "hello custom code")
class CustomRenderer(TestCase):
"""
Test passing a custom Pystache Renderer.
"""
def create_app(self):
"""Make a test app"""
self.app = Flask(__name__)
self.app.config['TESTING'] = True
self.fm = FlaskMustache(self.app, Renderer(partials={'custom': "custom"}).render)
return self.app
def setup_view(self, *args, **kwargs):
"""Create a view and decorate it with our pystache view_route"""
@self.fm.view_route(*args, **kwargs)
class Example(TemplateSpec):
"""
An example view
"""
template = "{{> custom}}"
def test_valid_response(self):
"""Test that the application gives a valid response for our test route"""
# Arrange
route = '/test'
self.setup_view(route)
# Act
response = self.client.get(route)
# Assert
self.assert200(response)
def test_valid_content_mustache_var(self):
"""Test that the application gives valid content for a predefined partial"""
# Arrange
route = '/test'
self.setup_view(route)
# Act
response = self.client.get(route)
# Assert
self.assertEquals(response.data, "custom")
| 25.777096 | 108 | 0.569933 | 1,382 | 12,605 | 5.095514 | 0.080318 | 0.031809 | 0.028969 | 0.036211 | 0.874609 | 0.866373 | 0.862397 | 0.853877 | 0.843936 | 0.802613 | 0 | 0.010306 | 0.32257 | 12,605 | 488 | 109 | 25.829918 | 0.814381 | 0.226735 | 0 | 0.808612 | 0 | 0 | 0.067473 | 0 | 0 | 0 | 0 | 0 | 0.08134 | 1 | 0.239234 | false | 0 | 0.019139 | 0.043062 | 0.425837 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b360bcd91e89fc43fe5b3f14a5fc3fe7b3c35641 | 4,855 | py | Python | rvpvp/isa/rvv/vmxxx_vv.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 5 | 2021-05-10T09:57:00.000Z | 2021-10-05T14:39:20.000Z | rvpvp/isa/rvv/vmxxx_vv.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | null | null | null | rvpvp/isa/rvv/vmxxx_vv.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 1 | 2021-05-14T20:24:11.000Z | 2021-05-14T20:24:11.000Z | from ...isa.inst import *
import numpy as np
import math
## uint8 --> bit --> uint8 --> (u)intSEW
## (vector_mask_array_random) (unpackbits)(packbits) (dtype)
class Vmseq_vv(Inst):
name = 'vmseq.vv'
# vmseq.vv vd, vs2, vs1, vm
def golden(self):
if self['vl']==0:
return self['ori']
if self['ori'].dtype != np.uint8:
self['ori'].dtype = np.uint8
bit = np.unpackbits(self['ori'], bitorder='little')[0:8*self['bvl']]
vstart = self['vstart'] if 'vstart' in self else 0
maskflag = 1 if 'mask' in self else 0
for ii in range(vstart, self['vl']):
if (maskflag == 0) or (maskflag == 1 and np.unpackbits(self['mask'], bitorder='little')[ii] ):
bit[ii] = 1 if self['vs2'][ii] == self['vs1'][ii] else 0
result = np.packbits(bit, bitorder='little')
return result
class Vmsne_vv(Inst):
name = 'vmsne.vv'
# vmsne.vv vd, vs2, vs1, vm
def golden(self):
if self['vl']==0:
return self['ori']
if self['ori'].dtype != np.uint8:
self['ori'].dtype = np.uint8
bit = np.unpackbits(self['ori'], bitorder='little')[0:8*self['bvl']]
vstart = self['vstart'] if 'vstart' in self else 0
maskflag = 1 if 'mask' in self else 0
for ii in range(vstart, self['vl']):
if (maskflag == 0) or (maskflag == 1 and np.unpackbits(self['mask'], bitorder='little')[ii] ):
bit[ii] = 1 if self['vs2'][ii] != self['vs1'][ii] else 0
result = np.packbits(bit, bitorder='little')
return result
class Vmslt_vv(Inst):
name = 'vmslt.vv'
# vmslt.vv vd, vs2, vs1, vm
def golden(self):
if self['vl']==0:
return self['ori']
if self['ori'].dtype != np.uint8:
self['ori'].dtype = np.uint8
bit = np.unpackbits(self['ori'], bitorder='little')[0:8*self['bvl']]
vstart = self['vstart'] if 'vstart' in self else 0
maskflag = 1 if 'mask' in self else 0
for ii in range(vstart, self['vl']):
if (maskflag == 0) or (maskflag == 1 and np.unpackbits(self['mask'], bitorder='little')[ii] ):
bit[ii] = 1 if self['vs2'][ii] < self['vs1'][ii] else 0
result = np.packbits(bit, bitorder='little')
return result
class Vmsltu_vv(Vmslt_vv):
name = 'vmsltu.vv'
class Vmsle_vv(Inst):
name = 'vmsle.vv'
# vmsle.vv vd, vs2, vs1, vm
def golden(self):
if self['vl']==0:
return self['ori']
if self['ori'].dtype != np.uint8:
self['ori'].dtype = np.uint8
bit = np.unpackbits(self['ori'], bitorder='little')[0:8*self['bvl']]
vstart = self['vstart'] if 'vstart' in self else 0
maskflag = 1 if 'mask' in self else 0
for ii in range(vstart, self['vl']):
if (maskflag == 0) or (maskflag == 1 and np.unpackbits(self['mask'], bitorder='little')[ii] ):
bit[ii] = 1 if self['vs2'][ii] <= self['vs1'][ii] else 0
result = np.packbits(bit, bitorder='little')
return result
class Vmsleu_vv(Vmsle_vv):
name = 'vmsleu.vv'
class Vmadc_vv(Inst):
name = 'vmadc.vv'
# vmadc.vv vd, vs2, vs1
def golden(self):
if self['vl']==0:
return self['ori']
if self['ori'].dtype != np.uint8:
self['ori'].dtype = np.uint8
bit = np.unpackbits(self['ori'], bitorder='little')[0:8*self['bvl']]
vstart = self['vstart'] if 'vstart' in self else 0
maskflag = 1 if 'mask' in self else 0
for ii in range(vstart, self['vl']):
if (maskflag == 0) or (maskflag == 1 and np.unpackbits(self['mask'], bitorder='little')[ii] ):
carry = self['vs2'][ii].astype(object) + self['vs1'][ii].astype(object)
bit[ii] = 1 if ((carry>>self['sew']) & 1) else 0
result = np.packbits(bit, bitorder='little')
return result
class Vmsbc_vv(Inst):
name = 'vmsbc.vv'
# vmsbc.vv vd, vs2, vs1
def golden(self):
if self['vl']==0:
return self['ori']
if self['ori'].dtype != np.uint8:
self['ori'].dtype = np.uint8
bit = np.unpackbits(self['ori'], bitorder='little')[0:8*self['bvl']]
vstart = self['vstart'] if 'vstart' in self else 0
maskflag = 1 if 'mask' in self else 0
for ii in range(vstart, self['vl']):
if (maskflag == 0) or (maskflag == 1 and np.unpackbits(self['mask'], bitorder='little')[ii] ):
carry = self['vs2'][ii].astype(object) - self['vs1'][ii].astype(object)
bit[ii] = 1 if ((carry>>self['sew']) & 1) else 0
result = np.packbits(bit, bitorder='little')
return result
| 39.795082 | 106 | 0.531205 | 672 | 4,855 | 3.818452 | 0.090774 | 0.065472 | 0.056118 | 0.065472 | 0.868667 | 0.868667 | 0.868667 | 0.868667 | 0.868667 | 0.868667 | 0 | 0.029291 | 0.296807 | 4,855 | 121 | 107 | 40.123967 | 0.72232 | 0.053347 | 0 | 0.747475 | 0 | 0 | 0.09849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.030303 | 0 | 0.373737 | 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 |
2fe72aab84af43371b40f483a563649a8d3307ae | 211 | py | Python | tests/parser/aggregates.count.assignment.10.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/aggregates.count.assignment.10.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/aggregates.count.assignment.10.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
a(Z) :- Y = #count{X:c(X,V)}, Z = #count{W:b(W,Y)}, p(V).
b(2,1).
c(1,a).
c(2,a).
p(a).
"""
output = """
a(Z) :- Y = #count{X:c(X,V)}, Z = #count{W:b(W,Y)}, p(V).
b(2,1).
c(1,a).
c(2,a).
p(a).
"""
| 12.411765 | 57 | 0.383886 | 56 | 211 | 1.446429 | 0.25 | 0.049383 | 0.074074 | 0.197531 | 0.864198 | 0.864198 | 0.864198 | 0.864198 | 0.864198 | 0.864198 | 0 | 0.045714 | 0.170616 | 211 | 16 | 58 | 13.1875 | 0.417143 | 0 | 0 | 0.857143 | 0 | 0.142857 | 0.853081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
2ff372ede86ff5bcad16364e8b75b6a72b29cb98 | 335 | py | Python | t3p2.py | Seigishi/T3_PLAYER2 | df6f66fddb511675f605c45ab091f6a25e0f2787 | [
"MIT"
] | null | null | null | t3p2.py | Seigishi/T3_PLAYER2 | df6f66fddb511675f605c45ab091f6a25e0f2787 | [
"MIT"
] | null | null | null | t3p2.py | Seigishi/T3_PLAYER2 | df6f66fddb511675f605c45ab091f6a25e0f2787 | [
"MIT"
] | null | null | null | b1 = [0, 0, 0, 0, 0, 0, 0, 0, 0]
b2 = [0, 0, 0, 0, 0, 0, 0, 0, 0]
b3 = [0, 0, 0, 0, 0, 0, 0, 0, 0]
b4 = [0, 0, 0, 0, 0, 0, 0, 0, 0]
b5 = [0, 0, 0, 0, 0, 0, 0, 0, 0]
b6 = [0, 0, 0, 0, 0, 0, 0, 0, 0]
b7 = [0, 0, 0, 0, 0, 0, 0, 0, 0]
b8 = [0, 0, 0, 0, 0, 0, 0, 0, 0]
b9 = [0, 0, 0, 0, 0, 0, 0, 0, 0]
game = [0, 0, 0, 0, 0, 0, 0, 0, 0]
| 23.928571 | 34 | 0.334328 | 100 | 335 | 1.12 | 0.11 | 1.428571 | 1.875 | 2.142857 | 0.803571 | 0.803571 | 0.803571 | 0.803571 | 0.803571 | 0 | 0 | 0.445946 | 0.337313 | 335 | 13 | 35 | 25.769231 | 0.058559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
6413ea18b525eff92f897a9918403d3b63efa6d1 | 21,814 | py | Python | sdk/python/pulumi_ucloud/ulb/lb_attachment.py | AaronFriel/pulumi-ucloud | 199278786dddf46bdd370f3f805e30b279c63ff2 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2021-08-18T04:55:38.000Z | 2021-09-08T07:59:24.000Z | sdk/python/pulumi_ucloud/ulb/lb_attachment.py | AaronFriel/pulumi-ucloud | 199278786dddf46bdd370f3f805e30b279c63ff2 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-01-28T17:59:37.000Z | 2022-01-29T03:44:09.000Z | sdk/python/pulumi_ucloud/ulb/lb_attachment.py | AaronFriel/pulumi-ucloud | 199278786dddf46bdd370f3f805e30b279c63ff2 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-06-23T07:10:40.000Z | 2021-06-23T09:25:12.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = ['LBAttachmentArgs', 'LBAttachment']
@pulumi.input_type
class LBAttachmentArgs:
def __init__(__self__, *,
listener_id: pulumi.Input[str],
load_balancer_id: pulumi.Input[str],
resource_id: pulumi.Input[str],
port: Optional[pulumi.Input[int]] = None,
resource_type: Optional[pulumi.Input[str]] = None):
"""
The set of arguments for constructing a LBAttachment resource.
:param pulumi.Input[str] listener_id: The ID of a listener server.
:param pulumi.Input[str] load_balancer_id: The ID of a load balancer.
:param pulumi.Input[str] resource_id: The ID of a backend server.
:param pulumi.Input[int] port: The listening port of the backend server, range: 1-65535, (Default: `80`). Backend server port have the following restrictions: If the LB listener type is `request_proxy`, the backend serve can add different ports to implement different service instances of the same IP. Else if LB listener type is `packets_transmit`, the port of the backend server must be consistent with the LB listening port.
:param pulumi.Input[str] resource_type: , attribute `resource_type` is deprecated for optimizing parameters.
"""
pulumi.set(__self__, "listener_id", listener_id)
pulumi.set(__self__, "load_balancer_id", load_balancer_id)
pulumi.set(__self__, "resource_id", resource_id)
if port is not None:
pulumi.set(__self__, "port", port)
if resource_type is not None:
warnings.warn("""attribute `resource_type` is deprecated for optimizing parameters""", DeprecationWarning)
pulumi.log.warn("""resource_type is deprecated: attribute `resource_type` is deprecated for optimizing parameters""")
if resource_type is not None:
pulumi.set(__self__, "resource_type", resource_type)
@property
@pulumi.getter(name="listenerId")
def listener_id(self) -> pulumi.Input[str]:
"""
The ID of a listener server.
"""
return pulumi.get(self, "listener_id")
@listener_id.setter
def listener_id(self, value: pulumi.Input[str]):
pulumi.set(self, "listener_id", value)
@property
@pulumi.getter(name="loadBalancerId")
def load_balancer_id(self) -> pulumi.Input[str]:
"""
The ID of a load balancer.
"""
return pulumi.get(self, "load_balancer_id")
@load_balancer_id.setter
def load_balancer_id(self, value: pulumi.Input[str]):
pulumi.set(self, "load_balancer_id", value)
@property
@pulumi.getter(name="resourceId")
def resource_id(self) -> pulumi.Input[str]:
"""
The ID of a backend server.
"""
return pulumi.get(self, "resource_id")
@resource_id.setter
def resource_id(self, value: pulumi.Input[str]):
pulumi.set(self, "resource_id", value)
@property
@pulumi.getter
def port(self) -> Optional[pulumi.Input[int]]:
"""
The listening port of the backend server, range: 1-65535, (Default: `80`). Backend server port have the following restrictions: If the LB listener type is `request_proxy`, the backend serve can add different ports to implement different service instances of the same IP. Else if LB listener type is `packets_transmit`, the port of the backend server must be consistent with the LB listening port.
"""
return pulumi.get(self, "port")
@port.setter
def port(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "port", value)
@property
@pulumi.getter(name="resourceType")
def resource_type(self) -> Optional[pulumi.Input[str]]:
"""
, attribute `resource_type` is deprecated for optimizing parameters.
"""
return pulumi.get(self, "resource_type")
@resource_type.setter
def resource_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "resource_type", value)
@pulumi.input_type
class _LBAttachmentState:
def __init__(__self__, *,
listener_id: Optional[pulumi.Input[str]] = None,
load_balancer_id: Optional[pulumi.Input[str]] = None,
port: Optional[pulumi.Input[int]] = None,
private_ip: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering LBAttachment resources.
:param pulumi.Input[str] listener_id: The ID of a listener server.
:param pulumi.Input[str] load_balancer_id: The ID of a load balancer.
:param pulumi.Input[int] port: The listening port of the backend server, range: 1-65535, (Default: `80`). Backend server port have the following restrictions: If the LB listener type is `request_proxy`, the backend serve can add different ports to implement different service instances of the same IP. Else if LB listener type is `packets_transmit`, the port of the backend server must be consistent with the LB listening port.
:param pulumi.Input[str] private_ip: The private ip address for backend servers.
:param pulumi.Input[str] resource_id: The ID of a backend server.
:param pulumi.Input[str] resource_type: , attribute `resource_type` is deprecated for optimizing parameters.
:param pulumi.Input[str] status: The status of backend servers. Possible values are: `normalRunning`, `exceptionRunning`.
"""
if listener_id is not None:
pulumi.set(__self__, "listener_id", listener_id)
if load_balancer_id is not None:
pulumi.set(__self__, "load_balancer_id", load_balancer_id)
if port is not None:
pulumi.set(__self__, "port", port)
if private_ip is not None:
pulumi.set(__self__, "private_ip", private_ip)
if resource_id is not None:
pulumi.set(__self__, "resource_id", resource_id)
if resource_type is not None:
warnings.warn("""attribute `resource_type` is deprecated for optimizing parameters""", DeprecationWarning)
pulumi.log.warn("""resource_type is deprecated: attribute `resource_type` is deprecated for optimizing parameters""")
if resource_type is not None:
pulumi.set(__self__, "resource_type", resource_type)
if status is not None:
pulumi.set(__self__, "status", status)
@property
@pulumi.getter(name="listenerId")
def listener_id(self) -> Optional[pulumi.Input[str]]:
"""
The ID of a listener server.
"""
return pulumi.get(self, "listener_id")
@listener_id.setter
def listener_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "listener_id", value)
@property
@pulumi.getter(name="loadBalancerId")
def load_balancer_id(self) -> Optional[pulumi.Input[str]]:
"""
The ID of a load balancer.
"""
return pulumi.get(self, "load_balancer_id")
@load_balancer_id.setter
def load_balancer_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "load_balancer_id", value)
@property
@pulumi.getter
def port(self) -> Optional[pulumi.Input[int]]:
"""
The listening port of the backend server, range: 1-65535, (Default: `80`). Backend server port have the following restrictions: If the LB listener type is `request_proxy`, the backend serve can add different ports to implement different service instances of the same IP. Else if LB listener type is `packets_transmit`, the port of the backend server must be consistent with the LB listening port.
"""
return pulumi.get(self, "port")
@port.setter
def port(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "port", value)
@property
@pulumi.getter(name="privateIp")
def private_ip(self) -> Optional[pulumi.Input[str]]:
"""
The private ip address for backend servers.
"""
return pulumi.get(self, "private_ip")
@private_ip.setter
def private_ip(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "private_ip", value)
@property
@pulumi.getter(name="resourceId")
def resource_id(self) -> Optional[pulumi.Input[str]]:
"""
The ID of a backend server.
"""
return pulumi.get(self, "resource_id")
@resource_id.setter
def resource_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "resource_id", value)
@property
@pulumi.getter(name="resourceType")
def resource_type(self) -> Optional[pulumi.Input[str]]:
"""
, attribute `resource_type` is deprecated for optimizing parameters.
"""
return pulumi.get(self, "resource_type")
@resource_type.setter
def resource_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "resource_type", value)
@property
@pulumi.getter
def status(self) -> Optional[pulumi.Input[str]]:
"""
The status of backend servers. Possible values are: `normalRunning`, `exceptionRunning`.
"""
return pulumi.get(self, "status")
@status.setter
def status(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "status", value)
class LBAttachment(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
listener_id: Optional[pulumi.Input[str]] = None,
load_balancer_id: Optional[pulumi.Input[str]] = None,
port: Optional[pulumi.Input[int]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
Provides a Load Balancer Attachment resource for attaching Load Balancer to UHost Instance, etc.
## Example Usage
```python
import pulumi
import pulumi_ucloud as ucloud
default_image = ucloud.uhost.get_image(availability_zone="cn-bj2-04",
name_regex="^CentOS 6.5 64",
image_type="base")
# Create Load Balancer
web_lb = ucloud.ulb.LB("webLB", tag="tf-example")
# Create Load Balancer Listener with http protocol
default_lb_listener = ucloud.ulb.LBListener("defaultLBListener",
load_balancer_id=web_lb.id,
protocol="http")
# Create web server
web_instance = ucloud.uhost.Instance("webInstance",
instance_type="n-basic-2",
availability_zone="cn-bj2-04",
root_password="wA1234567",
image_id=default_image.images[0].id,
tag="tf-example")
# Attach instances to Load Balancer
example = ucloud.ulb.LBAttachment("example",
load_balancer_id=web_lb.id,
listener_id=default_lb_listener.id,
resource_id=web_instance.id,
port=80)
```
## Import
LB Listener can be imported using the `id`, e.g.
```sh
$ pulumi import ucloud:ulb/lBAttachment:LBAttachment example backend-abcdefg
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] listener_id: The ID of a listener server.
:param pulumi.Input[str] load_balancer_id: The ID of a load balancer.
:param pulumi.Input[int] port: The listening port of the backend server, range: 1-65535, (Default: `80`). Backend server port have the following restrictions: If the LB listener type is `request_proxy`, the backend serve can add different ports to implement different service instances of the same IP. Else if LB listener type is `packets_transmit`, the port of the backend server must be consistent with the LB listening port.
:param pulumi.Input[str] resource_id: The ID of a backend server.
:param pulumi.Input[str] resource_type: , attribute `resource_type` is deprecated for optimizing parameters.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: LBAttachmentArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Provides a Load Balancer Attachment resource for attaching Load Balancer to UHost Instance, etc.
## Example Usage
```python
import pulumi
import pulumi_ucloud as ucloud
default_image = ucloud.uhost.get_image(availability_zone="cn-bj2-04",
name_regex="^CentOS 6.5 64",
image_type="base")
# Create Load Balancer
web_lb = ucloud.ulb.LB("webLB", tag="tf-example")
# Create Load Balancer Listener with http protocol
default_lb_listener = ucloud.ulb.LBListener("defaultLBListener",
load_balancer_id=web_lb.id,
protocol="http")
# Create web server
web_instance = ucloud.uhost.Instance("webInstance",
instance_type="n-basic-2",
availability_zone="cn-bj2-04",
root_password="wA1234567",
image_id=default_image.images[0].id,
tag="tf-example")
# Attach instances to Load Balancer
example = ucloud.ulb.LBAttachment("example",
load_balancer_id=web_lb.id,
listener_id=default_lb_listener.id,
resource_id=web_instance.id,
port=80)
```
## Import
LB Listener can be imported using the `id`, e.g.
```sh
$ pulumi import ucloud:ulb/lBAttachment:LBAttachment example backend-abcdefg
```
:param str resource_name: The name of the resource.
:param LBAttachmentArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(LBAttachmentArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
listener_id: Optional[pulumi.Input[str]] = None,
load_balancer_id: Optional[pulumi.Input[str]] = None,
port: Optional[pulumi.Input[int]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = LBAttachmentArgs.__new__(LBAttachmentArgs)
if listener_id is None and not opts.urn:
raise TypeError("Missing required property 'listener_id'")
__props__.__dict__["listener_id"] = listener_id
if load_balancer_id is None and not opts.urn:
raise TypeError("Missing required property 'load_balancer_id'")
__props__.__dict__["load_balancer_id"] = load_balancer_id
__props__.__dict__["port"] = port
if resource_id is None and not opts.urn:
raise TypeError("Missing required property 'resource_id'")
__props__.__dict__["resource_id"] = resource_id
if resource_type is not None and not opts.urn:
warnings.warn("""attribute `resource_type` is deprecated for optimizing parameters""", DeprecationWarning)
pulumi.log.warn("""resource_type is deprecated: attribute `resource_type` is deprecated for optimizing parameters""")
__props__.__dict__["resource_type"] = resource_type
__props__.__dict__["private_ip"] = None
__props__.__dict__["status"] = None
super(LBAttachment, __self__).__init__(
'ucloud:ulb/lBAttachment:LBAttachment',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
listener_id: Optional[pulumi.Input[str]] = None,
load_balancer_id: Optional[pulumi.Input[str]] = None,
port: Optional[pulumi.Input[int]] = None,
private_ip: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None) -> 'LBAttachment':
"""
Get an existing LBAttachment resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] listener_id: The ID of a listener server.
:param pulumi.Input[str] load_balancer_id: The ID of a load balancer.
:param pulumi.Input[int] port: The listening port of the backend server, range: 1-65535, (Default: `80`). Backend server port have the following restrictions: If the LB listener type is `request_proxy`, the backend serve can add different ports to implement different service instances of the same IP. Else if LB listener type is `packets_transmit`, the port of the backend server must be consistent with the LB listening port.
:param pulumi.Input[str] private_ip: The private ip address for backend servers.
:param pulumi.Input[str] resource_id: The ID of a backend server.
:param pulumi.Input[str] resource_type: , attribute `resource_type` is deprecated for optimizing parameters.
:param pulumi.Input[str] status: The status of backend servers. Possible values are: `normalRunning`, `exceptionRunning`.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _LBAttachmentState.__new__(_LBAttachmentState)
__props__.__dict__["listener_id"] = listener_id
__props__.__dict__["load_balancer_id"] = load_balancer_id
__props__.__dict__["port"] = port
__props__.__dict__["private_ip"] = private_ip
__props__.__dict__["resource_id"] = resource_id
__props__.__dict__["resource_type"] = resource_type
__props__.__dict__["status"] = status
return LBAttachment(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="listenerId")
def listener_id(self) -> pulumi.Output[str]:
"""
The ID of a listener server.
"""
return pulumi.get(self, "listener_id")
@property
@pulumi.getter(name="loadBalancerId")
def load_balancer_id(self) -> pulumi.Output[str]:
"""
The ID of a load balancer.
"""
return pulumi.get(self, "load_balancer_id")
@property
@pulumi.getter
def port(self) -> pulumi.Output[Optional[int]]:
"""
The listening port of the backend server, range: 1-65535, (Default: `80`). Backend server port have the following restrictions: If the LB listener type is `request_proxy`, the backend serve can add different ports to implement different service instances of the same IP. Else if LB listener type is `packets_transmit`, the port of the backend server must be consistent with the LB listening port.
"""
return pulumi.get(self, "port")
@property
@pulumi.getter(name="privateIp")
def private_ip(self) -> pulumi.Output[str]:
"""
The private ip address for backend servers.
"""
return pulumi.get(self, "private_ip")
@property
@pulumi.getter(name="resourceId")
def resource_id(self) -> pulumi.Output[str]:
"""
The ID of a backend server.
"""
return pulumi.get(self, "resource_id")
@property
@pulumi.getter(name="resourceType")
def resource_type(self) -> pulumi.Output[str]:
"""
, attribute `resource_type` is deprecated for optimizing parameters.
"""
return pulumi.get(self, "resource_type")
@property
@pulumi.getter
def status(self) -> pulumi.Output[str]:
"""
The status of backend servers. Possible values are: `normalRunning`, `exceptionRunning`.
"""
return pulumi.get(self, "status")
| 45.445833 | 435 | 0.650133 | 2,667 | 21,814 | 5.105362 | 0.083615 | 0.065438 | 0.067861 | 0.056551 | 0.867582 | 0.846284 | 0.825646 | 0.812427 | 0.796196 | 0.764468 | 0 | 0.006062 | 0.251307 | 21,814 | 479 | 436 | 45.54071 | 0.827639 | 0.390071 | 0 | 0.637097 | 1 | 0 | 0.13188 | 0.003007 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153226 | false | 0.004032 | 0.020161 | 0 | 0.266129 | 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 |
ffa932bb9e0c4a4152f39a755a79ed6e416f26f9 | 67 | py | Python | deepchembed/tests/test_core.py | hanghu/AutoChemCluster | 2ab4ae996b300a90637b124707905201c89d74d8 | [
"MIT"
] | 2 | 2019-05-15T06:31:35.000Z | 2019-08-31T13:13:21.000Z | deepchembed/tests/test_core.py | hanghu/AutoChemCluster | 2ab4ae996b300a90637b124707905201c89d74d8 | [
"MIT"
] | 7 | 2019-05-02T19:01:40.000Z | 2022-02-10T00:11:00.000Z | deepchembed/tests/test_core.py | hanghu/AutoChemCluster | 2ab4ae996b300a90637b124707905201c89d74d8 | [
"MIT"
] | 1 | 2019-08-17T11:34:56.000Z | 2019-08-17T11:34:56.000Z | import deepchembed as dce
def test_deepchembed():
return
| 11.166667 | 25 | 0.701493 | 8 | 67 | 5.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 67 | 5 | 26 | 13.4 | 0.92 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
4408added61e3390e5498ba3bdb9848654f7eabe | 169 | py | Python | denormalization.py | ehsangolshani/proactive-autoscaler | 384096a0463de41a72cc15b7ff28e02e1dcb5d48 | [
"Apache-2.0"
] | null | null | null | denormalization.py | ehsangolshani/proactive-autoscaler | 384096a0463de41a72cc15b7ff28e02e1dcb5d48 | [
"Apache-2.0"
] | null | null | null | denormalization.py | ehsangolshani/proactive-autoscaler | 384096a0463de41a72cc15b7ff28e02e1dcb5d48 | [
"Apache-2.0"
] | null | null | null | def naive_denormalize(value, minimum_value, maximum_value):
return minimum_value + value * (maximum_value - minimum_value) \
if value > 0 else minimum_value
| 42.25 | 68 | 0.745562 | 22 | 169 | 5.409091 | 0.454545 | 0.403361 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.183432 | 169 | 3 | 69 | 56.333333 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9263f971601832f571a82cf8874407551d7f66b9 | 113 | py | Python | listener/normal/users/utils.py | andymckay/arecibo | eb6787ea0a276047ef5add2df67a4dd051e5c961 | [
"Apache-2.0"
] | 6 | 2016-01-26T04:47:52.000Z | 2022-01-24T19:55:04.000Z | listener/normal/users/utils.py | andymckay/arecibo | eb6787ea0a276047ef5add2df67a4dd051e5c961 | [
"Apache-2.0"
] | 6 | 2017-02-12T05:11:25.000Z | 2017-02-12T05:12:15.000Z | listener/normal/users/utils.py | andymckay/arecibo | eb6787ea0a276047ef5add2df67a4dd051e5c961 | [
"Apache-2.0"
] | 2 | 2015-12-09T22:37:58.000Z | 2021-09-09T17:04:33.000Z | from django.contrib.auth.models import User
def approved_users():
return User.objects.filter(is_staff=True)
| 22.6 | 45 | 0.787611 | 17 | 113 | 5.117647 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 4 | 46 | 28.25 | 0.87 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
92661aa09d6e14d06a4a41a3c34ff6b2fedccc6c | 188 | py | Python | bballmain/lib/python2.7/site-packages/model_utils/tests/test_managers/__init__.py | bjf2015/bballmain | 81130df9e546211e34da6c4377cf0b19ce773f88 | [
"MIT"
] | 1 | 2017-03-05T01:43:57.000Z | 2017-03-05T01:43:57.000Z | bballmain/lib/python2.7/site-packages/model_utils/tests/test_managers/__init__.py | bjf2015/bballmain | 81130df9e546211e34da6c4377cf0b19ce773f88 | [
"MIT"
] | null | null | null | bballmain/lib/python2.7/site-packages/model_utils/tests/test_managers/__init__.py | bjf2015/bballmain | 81130df9e546211e34da6c4377cf0b19ce773f88 | [
"MIT"
] | null | null | null | # Needed for Django 1.4/1.5 test runner
from .test_inheritance_manager import *
from .test_query_manager import *
from .test_status_manager import *
from .test_softdelete_manager import *
| 31.333333 | 39 | 0.81383 | 29 | 188 | 5 | 0.517241 | 0.22069 | 0.351724 | 0.434483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.12234 | 188 | 5 | 40 | 37.6 | 0.854545 | 0.196809 | 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 |
92686e476efd305d6ed6f80b41d29b0b60a6113f | 136 | py | Python | openrating/rating.py | mouradmourafiq/openrating | 029aa7d86bab6a49cf24797e965ad3a1035d00b0 | [
"MIT"
] | 2 | 2016-08-18T20:28:20.000Z | 2017-03-25T22:04:29.000Z | openrating/rating.py | mouradmourafiq/openrating | 029aa7d86bab6a49cf24797e965ad3a1035d00b0 | [
"MIT"
] | null | null | null | openrating/rating.py | mouradmourafiq/openrating | 029aa7d86bab6a49cf24797e965ad3a1035d00b0 | [
"MIT"
] | 3 | 2019-09-10T08:09:31.000Z | 2021-12-22T11:29:09.000Z | class Rating(object):
"""
The `Rating` object calculates the rating of the tranches, the average rating of the tranches
"""
| 27.2 | 97 | 0.683824 | 18 | 136 | 5.166667 | 0.444444 | 0.258065 | 0.236559 | 0.408602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227941 | 136 | 4 | 98 | 34 | 0.885714 | 0.683824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 7 |
928110fa904a001a319c10cfd80179ea1884a133 | 24,877 | py | Python | create_dataset/tests/create_phylip_dataset/tests_create_phylip_dataset.py | danmcelroy/VoSeq | e22bd5d971154170bf3f4f24b684b95a12418637 | [
"BSD-3-Clause"
] | null | null | null | create_dataset/tests/create_phylip_dataset/tests_create_phylip_dataset.py | danmcelroy/VoSeq | e22bd5d971154170bf3f4f24b684b95a12418637 | [
"BSD-3-Clause"
] | null | null | null | create_dataset/tests/create_phylip_dataset/tests_create_phylip_dataset.py | danmcelroy/VoSeq | e22bd5d971154170bf3f4f24b684b95a12418637 | [
"BSD-3-Clause"
] | null | null | null | import os
from django.test import TestCase
from django.test.client import Client
from django.conf import settings
from django.core.management import call_command
from django.contrib.auth.models import User
from create_dataset.utils import CreateDataset
from public_interface.models import GeneSets
from public_interface.models import Sequences
from public_interface.models import TaxonSets
from public_interface.models import Vouchers
class CreatePhylipDatasetTest(TestCase):
def setUp(self):
args = []
opts = {'dumpfile': settings.MEDIA_ROOT + 'test_data.xml', 'verbosity': 0}
cmd = 'migrate_db'
call_command(cmd, *args, **opts)
gene_set = GeneSets.objects.get(geneset_name='all_genes')
taxon_set = TaxonSets.objects.get(taxonset_name='all_taxa')
self.cleaned_data = {
'gene_codes': '',
'taxonset': taxon_set,
'voucher_codes': '',
'geneset': gene_set,
'taxon_names': ['CODE', 'GENUS', 'SPECIES'],
'number_genes': None,
'degen_translations': None,
'positions': ['ALL'],
'translations': False,
'partition_by_positions': 'by gene',
'file_format': 'PHYLIP',
'aminoacids': False,
'outgroup': '',
}
self.dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset.phy')
self.aa_dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'aa_dataset.phy')
self.user = User.objects.get(username='admin')
self.user.set_password('pass')
self.user.save()
self.c = Client()
self.dataset_creator = CreateDataset(self.cleaned_data)
self.maxDiff = None
def test_create_simple_dataset(self):
with open(self.dataset_file, "r") as handle:
expected = handle.read()
result = self.dataset_creator.dataset_str
self.assertEqual(expected, result)
def test_charset_block_file_of_simple_dataset(self):
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
result = self.dataset_creator.charset_block
self.assertEqual(expected, result)
def test_create_aa_dataset(self):
with open(self.aa_dataset_file, "r") as handle:
expected = handle.read()
cleaned_data = self.cleaned_data.copy()
cleaned_data['aminoacids'] = True
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
self.assertEqual(expected, result)
def test_create_aa_dataset_charset_block(self):
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_aa_file.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
cleaned_data = self.cleaned_data.copy()
cleaned_data['aminoacids'] = True
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
self.assertEqual(expected, result)
def test_stop_codon_warning(self):
voucher = Vouchers.objects.get(code='CP100-10')
sequence_with_stop_codon = 'NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNtaaTCTGTAGGCGATGCCTTGAAGGACGGCTTCGACGGAGCGTCGCGGGTCATGATGCCCAATACGGAGTTAGAAGCGCCTGCTCAGCGAAACGACGCCGCCCCGCACAGAGTCCCGCGACGAGACCGATACAGATTTCAACTTCGGCCGCACAATCCTGACCACAAAACACCCGGANTCAAGGACCTAGTGTACTTGGAATCATCGCCGGGTTTCTGCGAAAAGAACCCGCGGCTGGGCATTCCCGGCACGCACGGGCGTGCCTGCAACGACACGAGTATCGGCGTCGACGGCTGCGACCTCATGTGCTGCGGCCGTGGCTACCGGACCGAGACAATGTTCGTCGTGGAGCGATGCAAC'
seq = Sequences.objects.get(code=voucher, gene_code='wingless')
seq.sequences = sequence_with_stop_codon
seq.save()
cleaned_data = self.cleaned_data.copy()
cleaned_data['aminoacids'] = True
dataset_creator = CreateDataset(cleaned_data)
expected = "Gene wingless, sequence CP100_10 contains stop codons '*'"
result = dataset_creator.warnings
self.assertEqual(expected, result[0])
def test_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
expected = "CP100_10_Aus_aus ACGACGACGA CGACGACGAC GACGACGACG ACGACGACGA CGACGACGAC"
self.assertTrue(expected in result)
def test_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
expected = "CP100_10_Aus_aus ACGACGACGA CGACGACGAC GACGACGACG ACGACGACGA CGACGACGAC"
self.assertTrue(expected in result)
def test_dataset_1st_codon_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
cleaned_data['positions'] = ['1st']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_1st_codon.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_1st_codon_partitioned_one(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by gene'
cleaned_data['positions'] = ['1st']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_1st_codon.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_1st_codon_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
cleaned_data['positions'] = ['1st']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_1st_codon.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_1st_codon_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
cleaned_data['positions'] = ['1st']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_dataset_1st_codon.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_1st_codon_partitioned_one(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by gene'
cleaned_data['positions'] = ['1st']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_dataset_1st_codon.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_1st_codon_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
cleaned_data['positions'] = ['1st']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_dataset_1st_codon.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_partitioned_1st2nd_3rd.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_partitioned_1st_2nd_3rd.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_2nd_codon_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
cleaned_data['positions'] = ['2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_2nd_codon.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_2nd_codon_partitioned_one(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by gene'
cleaned_data['positions'] = ['2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_2nd_codon.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_2nd_codon_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
cleaned_data['positions'] = ['2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_2nd_codon.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_2nd_codon_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
cleaned_data['positions'] = ['2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_dataset_2nd_codon.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_2nd_codon_partitioned_one(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by gene'
cleaned_data['positions'] = ['2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_dataset_2nd_codon.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_2nd_codon_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
cleaned_data['positions'] = ['2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_dataset_2nd_codon.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_3rd_codon_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
cleaned_data['positions'] = ['3rd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_3rd_codon.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_3rd_codon_partitioned_one(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by gene'
cleaned_data['positions'] = ['3rd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_3rd_codon.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_3rd_codon_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
cleaned_data['positions'] = ['3rd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_3rd_codon.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_3rd_codon_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
cleaned_data['positions'] = ['3rd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_dataset_3rd_codon.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_3rd_codon_partitioned_one(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by gene'
cleaned_data['positions'] = ['3rd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_dataset_3rd_codon.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_3rd_codon_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
cleaned_data['positions'] = ['3rd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'charset_block_file_dataset_3rd_codon.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_1st2nd_codon_partitioned_one(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by gene'
cleaned_data['positions'] = ['1st', '2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_1st2nd_codons.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_1st2nd_codon_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
cleaned_data['positions'] = ['1st', '2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_1st2nd_codons.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_1st2nd_codon_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
cleaned_data['positions'] = ['1st', '2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.dataset_str
dataset_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset', 'dataset_1st2nd_codons.phy')
with open(dataset_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_1st2nd_codon_partitioned_one(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by gene'
cleaned_data['positions'] = ['1st', '2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset',
'charset_block_dataset_1st2nd_codons_partitioned_one.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_1st2nd_codon_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
cleaned_data['positions'] = ['1st', '2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset',
'charset_block_dataset_1st2nd_codons_partitioned_each.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_charset_block_dataset_1st2nd_codon_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
cleaned_data['positions'] = ['1st', '2nd']
dataset_creator = CreateDataset(cleaned_data)
result = dataset_creator.charset_block
charset_block_file = os.path.join(settings.BASE_DIR, '..', 'create_dataset',
'tests', 'create_phylip_dataset',
'charset_block_dataset_1st2nd_codons_partitioned_1st2nd_3rd.txt')
with open(charset_block_file, "r") as handle:
expected = handle.read()
self.assertEqual(expected, result)
def test_dataset_1st3rd_codon_partitioned_one(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by gene'
cleaned_data['positions'] = ['1st', '3rd']
dataset_creator = CreateDataset(cleaned_data)
expected = 'Cannot create dataset for only codon positions 1st and 3rd.'
result = dataset_creator.errors[0]
self.assertEqual(expected, str(result))
def test_dataset_1st3rd_codon_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
cleaned_data['positions'] = ['1st', '3rd']
dataset_creator = CreateDataset(cleaned_data)
expected = 'Cannot create dataset for only codon positions 1st and 3rd.'
result = dataset_creator.errors[0]
self.assertEqual(expected, str(result))
def test_dataset_1st3rd_codon_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd, 3rd'
cleaned_data['positions'] = ['1st', '3rd']
dataset_creator = CreateDataset(cleaned_data)
expected = 'Cannot create dataset for only codon positions 1st and 3rd.'
result = dataset_creator.errors[0]
self.assertEqual(expected, str(result))
def test_dataset_2nd3rd_codon_partitioned_one(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by gene'
cleaned_data['positions'] = ['2nd', '3rd']
dataset_creator = CreateDataset(cleaned_data)
expected = 'Cannot create dataset for only codon positions 2nd and 3rd.'
result = dataset_creator.errors[0]
self.assertEqual(expected, str(result))
def test_dataset_2nd3rd_codon_partitioned_each(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = 'by codon position'
cleaned_data['positions'] = ['2nd', '3rd']
dataset_creator = CreateDataset(cleaned_data)
expected = 'Cannot create dataset for only codon positions 2nd and 3rd.'
result = dataset_creator.errors[0]
self.assertEqual(expected, str(result))
def test_dataset_2nd3rd_codon_partitioned_1st2nd_3rd(self):
cleaned_data = self.cleaned_data.copy()
cleaned_data['partition_by_positions'] = '1st-2nd,3rd'
cleaned_data['positions'] = ['2nd', '3rd']
dataset_creator = CreateDataset(cleaned_data)
expected = 'Cannot create dataset for only codon positions 2nd and 3rd.'
result = dataset_creator.errors[0]
self.assertEqual(expected, str(result))
| 48.21124 | 436 | 0.657917 | 2,728 | 24,877 | 5.656892 | 0.05132 | 0.128305 | 0.070956 | 0.052748 | 0.897615 | 0.885368 | 0.88485 | 0.884461 | 0.882776 | 0.880832 | 0 | 0.012444 | 0.240865 | 24,877 | 515 | 437 | 48.304854 | 0.804713 | 0 | 0 | 0.765517 | 0 | 0 | 0.203401 | 0.109901 | 0 | 0 | 0 | 0 | 0.089655 | 1 | 0.091954 | false | 0.002299 | 0.025287 | 0 | 0.11954 | 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 |
2b95532ba6af0563ed209231db56fea5527667d6 | 60 | py | Python | src/utils/__init__.py | manugraj/trait-seeker | 8614e17be7af23161a608486d6111117eb25821b | [
"Apache-2.0"
] | null | null | null | src/utils/__init__.py | manugraj/trait-seeker | 8614e17be7af23161a608486d6111117eb25821b | [
"Apache-2.0"
] | 1 | 2021-06-25T09:31:23.000Z | 2021-06-25T09:31:23.000Z | src/utils/__init__.py | manugraj/trait-seeker | 8614e17be7af23161a608486d6111117eb25821b | [
"Apache-2.0"
] | null | null | null | import os
def paths(*args):
return os.path.join(*args) | 12 | 30 | 0.666667 | 10 | 60 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 5 | 30 | 12 | 0.816327 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
2ba2e371f668520a7eeaa5361c1b989b5dd87b0c | 42,106 | py | Python | sdk/python/pulumi_oci/autoscaling/auto_scaling_configuration.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/autoscaling/auto_scaling_configuration.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/autoscaling/auto_scaling_configuration.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from . import outputs
from ._inputs import *
__all__ = ['AutoScalingConfigurationArgs', 'AutoScalingConfiguration']
@pulumi.input_type
class AutoScalingConfigurationArgs:
def __init__(__self__, *,
auto_scaling_resources: pulumi.Input['AutoScalingConfigurationAutoScalingResourcesArgs'],
compartment_id: pulumi.Input[str],
policies: pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]],
cool_down_in_seconds: Optional[pulumi.Input[int]] = None,
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
display_name: Optional[pulumi.Input[str]] = None,
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
is_enabled: Optional[pulumi.Input[bool]] = None):
"""
The set of arguments for constructing a AutoScalingConfiguration resource.
:param pulumi.Input['AutoScalingConfigurationAutoScalingResourcesArgs'] auto_scaling_resources: A resource that is managed by an autoscaling configuration. The only supported type is `instancePool`.
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the autoscaling configuration.
:param pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]] policies: Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
:param pulumi.Input[int] cool_down_in_seconds: (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
:param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
:param pulumi.Input[bool] is_enabled: Whether the autoscaling policy is enabled.
"""
pulumi.set(__self__, "auto_scaling_resources", auto_scaling_resources)
pulumi.set(__self__, "compartment_id", compartment_id)
pulumi.set(__self__, "policies", policies)
if cool_down_in_seconds is not None:
pulumi.set(__self__, "cool_down_in_seconds", cool_down_in_seconds)
if defined_tags is not None:
pulumi.set(__self__, "defined_tags", defined_tags)
if display_name is not None:
pulumi.set(__self__, "display_name", display_name)
if freeform_tags is not None:
pulumi.set(__self__, "freeform_tags", freeform_tags)
if is_enabled is not None:
pulumi.set(__self__, "is_enabled", is_enabled)
@property
@pulumi.getter(name="autoScalingResources")
def auto_scaling_resources(self) -> pulumi.Input['AutoScalingConfigurationAutoScalingResourcesArgs']:
"""
A resource that is managed by an autoscaling configuration. The only supported type is `instancePool`.
"""
return pulumi.get(self, "auto_scaling_resources")
@auto_scaling_resources.setter
def auto_scaling_resources(self, value: pulumi.Input['AutoScalingConfigurationAutoScalingResourcesArgs']):
pulumi.set(self, "auto_scaling_resources", value)
@property
@pulumi.getter(name="compartmentId")
def compartment_id(self) -> pulumi.Input[str]:
"""
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the autoscaling configuration.
"""
return pulumi.get(self, "compartment_id")
@compartment_id.setter
def compartment_id(self, value: pulumi.Input[str]):
pulumi.set(self, "compartment_id", value)
@property
@pulumi.getter
def policies(self) -> pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]]:
"""
Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
"""
return pulumi.get(self, "policies")
@policies.setter
def policies(self, value: pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]]):
pulumi.set(self, "policies", value)
@property
@pulumi.getter(name="coolDownInSeconds")
def cool_down_in_seconds(self) -> Optional[pulumi.Input[int]]:
"""
(Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
"""
return pulumi.get(self, "cool_down_in_seconds")
@cool_down_in_seconds.setter
def cool_down_in_seconds(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "cool_down_in_seconds", value)
@property
@pulumi.getter(name="definedTags")
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
"""
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
"""
return pulumi.get(self, "defined_tags")
@defined_tags.setter
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "defined_tags", value)
@property
@pulumi.getter(name="displayName")
def display_name(self) -> Optional[pulumi.Input[str]]:
"""
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
"""
return pulumi.get(self, "display_name")
@display_name.setter
def display_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "display_name", value)
@property
@pulumi.getter(name="freeformTags")
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
"""
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
"""
return pulumi.get(self, "freeform_tags")
@freeform_tags.setter
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "freeform_tags", value)
@property
@pulumi.getter(name="isEnabled")
def is_enabled(self) -> Optional[pulumi.Input[bool]]:
"""
Whether the autoscaling policy is enabled.
"""
return pulumi.get(self, "is_enabled")
@is_enabled.setter
def is_enabled(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "is_enabled", value)
@pulumi.input_type
class _AutoScalingConfigurationState:
def __init__(__self__, *,
auto_scaling_resources: Optional[pulumi.Input['AutoScalingConfigurationAutoScalingResourcesArgs']] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
cool_down_in_seconds: Optional[pulumi.Input[int]] = None,
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
display_name: Optional[pulumi.Input[str]] = None,
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
is_enabled: Optional[pulumi.Input[bool]] = None,
max_resource_count: Optional[pulumi.Input[int]] = None,
min_resource_count: Optional[pulumi.Input[int]] = None,
policies: Optional[pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]]] = None,
time_created: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering AutoScalingConfiguration resources.
:param pulumi.Input['AutoScalingConfigurationAutoScalingResourcesArgs'] auto_scaling_resources: A resource that is managed by an autoscaling configuration. The only supported type is `instancePool`.
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the autoscaling configuration.
:param pulumi.Input[int] cool_down_in_seconds: (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
:param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
:param pulumi.Input[bool] is_enabled: Whether the autoscaling policy is enabled.
:param pulumi.Input[int] max_resource_count: The maximum number of resources to scale out to.
:param pulumi.Input[int] min_resource_count: The minimum number of resources to scale in to.
:param pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]] policies: Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
:param pulumi.Input[str] time_created: The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
"""
if auto_scaling_resources is not None:
pulumi.set(__self__, "auto_scaling_resources", auto_scaling_resources)
if compartment_id is not None:
pulumi.set(__self__, "compartment_id", compartment_id)
if cool_down_in_seconds is not None:
pulumi.set(__self__, "cool_down_in_seconds", cool_down_in_seconds)
if defined_tags is not None:
pulumi.set(__self__, "defined_tags", defined_tags)
if display_name is not None:
pulumi.set(__self__, "display_name", display_name)
if freeform_tags is not None:
pulumi.set(__self__, "freeform_tags", freeform_tags)
if is_enabled is not None:
pulumi.set(__self__, "is_enabled", is_enabled)
if max_resource_count is not None:
pulumi.set(__self__, "max_resource_count", max_resource_count)
if min_resource_count is not None:
pulumi.set(__self__, "min_resource_count", min_resource_count)
if policies is not None:
pulumi.set(__self__, "policies", policies)
if time_created is not None:
pulumi.set(__self__, "time_created", time_created)
@property
@pulumi.getter(name="autoScalingResources")
def auto_scaling_resources(self) -> Optional[pulumi.Input['AutoScalingConfigurationAutoScalingResourcesArgs']]:
"""
A resource that is managed by an autoscaling configuration. The only supported type is `instancePool`.
"""
return pulumi.get(self, "auto_scaling_resources")
@auto_scaling_resources.setter
def auto_scaling_resources(self, value: Optional[pulumi.Input['AutoScalingConfigurationAutoScalingResourcesArgs']]):
pulumi.set(self, "auto_scaling_resources", value)
@property
@pulumi.getter(name="compartmentId")
def compartment_id(self) -> Optional[pulumi.Input[str]]:
"""
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the autoscaling configuration.
"""
return pulumi.get(self, "compartment_id")
@compartment_id.setter
def compartment_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "compartment_id", value)
@property
@pulumi.getter(name="coolDownInSeconds")
def cool_down_in_seconds(self) -> Optional[pulumi.Input[int]]:
"""
(Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
"""
return pulumi.get(self, "cool_down_in_seconds")
@cool_down_in_seconds.setter
def cool_down_in_seconds(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "cool_down_in_seconds", value)
@property
@pulumi.getter(name="definedTags")
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
"""
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
"""
return pulumi.get(self, "defined_tags")
@defined_tags.setter
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "defined_tags", value)
@property
@pulumi.getter(name="displayName")
def display_name(self) -> Optional[pulumi.Input[str]]:
"""
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
"""
return pulumi.get(self, "display_name")
@display_name.setter
def display_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "display_name", value)
@property
@pulumi.getter(name="freeformTags")
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
"""
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
"""
return pulumi.get(self, "freeform_tags")
@freeform_tags.setter
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "freeform_tags", value)
@property
@pulumi.getter(name="isEnabled")
def is_enabled(self) -> Optional[pulumi.Input[bool]]:
"""
Whether the autoscaling policy is enabled.
"""
return pulumi.get(self, "is_enabled")
@is_enabled.setter
def is_enabled(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "is_enabled", value)
@property
@pulumi.getter(name="maxResourceCount")
def max_resource_count(self) -> Optional[pulumi.Input[int]]:
"""
The maximum number of resources to scale out to.
"""
return pulumi.get(self, "max_resource_count")
@max_resource_count.setter
def max_resource_count(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "max_resource_count", value)
@property
@pulumi.getter(name="minResourceCount")
def min_resource_count(self) -> Optional[pulumi.Input[int]]:
"""
The minimum number of resources to scale in to.
"""
return pulumi.get(self, "min_resource_count")
@min_resource_count.setter
def min_resource_count(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "min_resource_count", value)
@property
@pulumi.getter
def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]]]:
"""
Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
"""
return pulumi.get(self, "policies")
@policies.setter
def policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]]]):
pulumi.set(self, "policies", value)
@property
@pulumi.getter(name="timeCreated")
def time_created(self) -> Optional[pulumi.Input[str]]:
"""
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
"""
return pulumi.get(self, "time_created")
@time_created.setter
def time_created(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "time_created", value)
class AutoScalingConfiguration(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
auto_scaling_resources: Optional[pulumi.Input[pulumi.InputType['AutoScalingConfigurationAutoScalingResourcesArgs']]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
cool_down_in_seconds: Optional[pulumi.Input[int]] = None,
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
display_name: Optional[pulumi.Input[str]] = None,
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
is_enabled: Optional[pulumi.Input[bool]] = None,
policies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AutoScalingConfigurationPolicyArgs']]]]] = None,
__props__=None):
"""
This resource provides the Auto Scaling Configuration resource in Oracle Cloud Infrastructure Auto Scaling service.
Creates an autoscaling configuration.
## Example Usage
```python
import pulumi
import pulumi_oci as oci
test_auto_scaling_configuration = oci.autoscaling.AutoScalingConfiguration("testAutoScalingConfiguration",
auto_scaling_resources=oci.autoscaling.AutoScalingConfigurationAutoScalingResourcesArgs(
id=var["auto_scaling_configuration_auto_scaling_resources_id"],
type=var["auto_scaling_configuration_auto_scaling_resources_type"],
),
compartment_id=var["compartment_id"],
policies=[oci.autoscaling.AutoScalingConfigurationPolicyArgs(
policy_type=var["auto_scaling_configuration_policies_policy_type"],
capacity=oci.autoscaling.AutoScalingConfigurationPolicyCapacityArgs(
initial=var["auto_scaling_configuration_policies_capacity_initial"],
max=var["auto_scaling_configuration_policies_capacity_max"],
min=var["auto_scaling_configuration_policies_capacity_min"],
),
display_name=var["auto_scaling_configuration_policies_display_name"],
execution_schedule=oci.autoscaling.AutoScalingConfigurationPolicyExecutionScheduleArgs(
expression=var["auto_scaling_configuration_policies_execution_schedule_expression"],
timezone=var["auto_scaling_configuration_policies_execution_schedule_timezone"],
type=var["auto_scaling_configuration_policies_execution_schedule_type"],
),
is_enabled=var["auto_scaling_configuration_policies_is_enabled"],
resource_action=oci.autoscaling.AutoScalingConfigurationPolicyResourceActionArgs(
action=var["auto_scaling_configuration_policies_resource_action_action"],
action_type=var["auto_scaling_configuration_policies_resource_action_action_type"],
),
rules=[oci.autoscaling.AutoScalingConfigurationPolicyRuleArgs(
action=oci.autoscaling.AutoScalingConfigurationPolicyRuleActionArgs(
type=var["auto_scaling_configuration_policies_rules_action_type"],
value=var["auto_scaling_configuration_policies_rules_action_value"],
),
display_name=var["auto_scaling_configuration_policies_rules_display_name"],
metric=oci.autoscaling.AutoScalingConfigurationPolicyRuleMetricArgs(
metric_type=var["auto_scaling_configuration_policies_rules_metric_metric_type"],
threshold=oci.autoscaling.AutoScalingConfigurationPolicyRuleMetricThresholdArgs(
operator=var["auto_scaling_configuration_policies_rules_metric_threshold_operator"],
value=var["auto_scaling_configuration_policies_rules_metric_threshold_value"],
),
),
)],
)],
cool_down_in_seconds=var["auto_scaling_configuration_cool_down_in_seconds"],
defined_tags={
"Operations.CostCenter": "42",
},
display_name=var["auto_scaling_configuration_display_name"],
freeform_tags={
"Department": "Finance",
},
is_enabled=var["auto_scaling_configuration_is_enabled"])
```
## Import
AutoScalingConfigurations can be imported using the `id`, e.g.
```sh
$ pulumi import oci:autoscaling/autoScalingConfiguration:AutoScalingConfiguration test_auto_scaling_configuration "id"
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[pulumi.InputType['AutoScalingConfigurationAutoScalingResourcesArgs']] auto_scaling_resources: A resource that is managed by an autoscaling configuration. The only supported type is `instancePool`.
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the autoscaling configuration.
:param pulumi.Input[int] cool_down_in_seconds: (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
:param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
:param pulumi.Input[bool] is_enabled: Whether the autoscaling policy is enabled.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AutoScalingConfigurationPolicyArgs']]]] policies: Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: AutoScalingConfigurationArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
This resource provides the Auto Scaling Configuration resource in Oracle Cloud Infrastructure Auto Scaling service.
Creates an autoscaling configuration.
## Example Usage
```python
import pulumi
import pulumi_oci as oci
test_auto_scaling_configuration = oci.autoscaling.AutoScalingConfiguration("testAutoScalingConfiguration",
auto_scaling_resources=oci.autoscaling.AutoScalingConfigurationAutoScalingResourcesArgs(
id=var["auto_scaling_configuration_auto_scaling_resources_id"],
type=var["auto_scaling_configuration_auto_scaling_resources_type"],
),
compartment_id=var["compartment_id"],
policies=[oci.autoscaling.AutoScalingConfigurationPolicyArgs(
policy_type=var["auto_scaling_configuration_policies_policy_type"],
capacity=oci.autoscaling.AutoScalingConfigurationPolicyCapacityArgs(
initial=var["auto_scaling_configuration_policies_capacity_initial"],
max=var["auto_scaling_configuration_policies_capacity_max"],
min=var["auto_scaling_configuration_policies_capacity_min"],
),
display_name=var["auto_scaling_configuration_policies_display_name"],
execution_schedule=oci.autoscaling.AutoScalingConfigurationPolicyExecutionScheduleArgs(
expression=var["auto_scaling_configuration_policies_execution_schedule_expression"],
timezone=var["auto_scaling_configuration_policies_execution_schedule_timezone"],
type=var["auto_scaling_configuration_policies_execution_schedule_type"],
),
is_enabled=var["auto_scaling_configuration_policies_is_enabled"],
resource_action=oci.autoscaling.AutoScalingConfigurationPolicyResourceActionArgs(
action=var["auto_scaling_configuration_policies_resource_action_action"],
action_type=var["auto_scaling_configuration_policies_resource_action_action_type"],
),
rules=[oci.autoscaling.AutoScalingConfigurationPolicyRuleArgs(
action=oci.autoscaling.AutoScalingConfigurationPolicyRuleActionArgs(
type=var["auto_scaling_configuration_policies_rules_action_type"],
value=var["auto_scaling_configuration_policies_rules_action_value"],
),
display_name=var["auto_scaling_configuration_policies_rules_display_name"],
metric=oci.autoscaling.AutoScalingConfigurationPolicyRuleMetricArgs(
metric_type=var["auto_scaling_configuration_policies_rules_metric_metric_type"],
threshold=oci.autoscaling.AutoScalingConfigurationPolicyRuleMetricThresholdArgs(
operator=var["auto_scaling_configuration_policies_rules_metric_threshold_operator"],
value=var["auto_scaling_configuration_policies_rules_metric_threshold_value"],
),
),
)],
)],
cool_down_in_seconds=var["auto_scaling_configuration_cool_down_in_seconds"],
defined_tags={
"Operations.CostCenter": "42",
},
display_name=var["auto_scaling_configuration_display_name"],
freeform_tags={
"Department": "Finance",
},
is_enabled=var["auto_scaling_configuration_is_enabled"])
```
## Import
AutoScalingConfigurations can be imported using the `id`, e.g.
```sh
$ pulumi import oci:autoscaling/autoScalingConfiguration:AutoScalingConfiguration test_auto_scaling_configuration "id"
```
:param str resource_name: The name of the resource.
:param AutoScalingConfigurationArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(AutoScalingConfigurationArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
auto_scaling_resources: Optional[pulumi.Input[pulumi.InputType['AutoScalingConfigurationAutoScalingResourcesArgs']]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
cool_down_in_seconds: Optional[pulumi.Input[int]] = None,
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
display_name: Optional[pulumi.Input[str]] = None,
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
is_enabled: Optional[pulumi.Input[bool]] = None,
policies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AutoScalingConfigurationPolicyArgs']]]]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = AutoScalingConfigurationArgs.__new__(AutoScalingConfigurationArgs)
if auto_scaling_resources is None and not opts.urn:
raise TypeError("Missing required property 'auto_scaling_resources'")
__props__.__dict__["auto_scaling_resources"] = auto_scaling_resources
if compartment_id is None and not opts.urn:
raise TypeError("Missing required property 'compartment_id'")
__props__.__dict__["compartment_id"] = compartment_id
__props__.__dict__["cool_down_in_seconds"] = cool_down_in_seconds
__props__.__dict__["defined_tags"] = defined_tags
__props__.__dict__["display_name"] = display_name
__props__.__dict__["freeform_tags"] = freeform_tags
__props__.__dict__["is_enabled"] = is_enabled
if policies is None and not opts.urn:
raise TypeError("Missing required property 'policies'")
__props__.__dict__["policies"] = policies
__props__.__dict__["max_resource_count"] = None
__props__.__dict__["min_resource_count"] = None
__props__.__dict__["time_created"] = None
super(AutoScalingConfiguration, __self__).__init__(
'oci:autoscaling/autoScalingConfiguration:AutoScalingConfiguration',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
auto_scaling_resources: Optional[pulumi.Input[pulumi.InputType['AutoScalingConfigurationAutoScalingResourcesArgs']]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
cool_down_in_seconds: Optional[pulumi.Input[int]] = None,
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
display_name: Optional[pulumi.Input[str]] = None,
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
is_enabled: Optional[pulumi.Input[bool]] = None,
max_resource_count: Optional[pulumi.Input[int]] = None,
min_resource_count: Optional[pulumi.Input[int]] = None,
policies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AutoScalingConfigurationPolicyArgs']]]]] = None,
time_created: Optional[pulumi.Input[str]] = None) -> 'AutoScalingConfiguration':
"""
Get an existing AutoScalingConfiguration resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[pulumi.InputType['AutoScalingConfigurationAutoScalingResourcesArgs']] auto_scaling_resources: A resource that is managed by an autoscaling configuration. The only supported type is `instancePool`.
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the autoscaling configuration.
:param pulumi.Input[int] cool_down_in_seconds: (Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
:param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
:param pulumi.Input[bool] is_enabled: Whether the autoscaling policy is enabled.
:param pulumi.Input[int] max_resource_count: The maximum number of resources to scale out to.
:param pulumi.Input[int] min_resource_count: The minimum number of resources to scale in to.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AutoScalingConfigurationPolicyArgs']]]] policies: Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
:param pulumi.Input[str] time_created: The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _AutoScalingConfigurationState.__new__(_AutoScalingConfigurationState)
__props__.__dict__["auto_scaling_resources"] = auto_scaling_resources
__props__.__dict__["compartment_id"] = compartment_id
__props__.__dict__["cool_down_in_seconds"] = cool_down_in_seconds
__props__.__dict__["defined_tags"] = defined_tags
__props__.__dict__["display_name"] = display_name
__props__.__dict__["freeform_tags"] = freeform_tags
__props__.__dict__["is_enabled"] = is_enabled
__props__.__dict__["max_resource_count"] = max_resource_count
__props__.__dict__["min_resource_count"] = min_resource_count
__props__.__dict__["policies"] = policies
__props__.__dict__["time_created"] = time_created
return AutoScalingConfiguration(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="autoScalingResources")
def auto_scaling_resources(self) -> pulumi.Output['outputs.AutoScalingConfigurationAutoScalingResources']:
"""
A resource that is managed by an autoscaling configuration. The only supported type is `instancePool`.
"""
return pulumi.get(self, "auto_scaling_resources")
@property
@pulumi.getter(name="compartmentId")
def compartment_id(self) -> pulumi.Output[str]:
"""
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the autoscaling configuration.
"""
return pulumi.get(self, "compartment_id")
@property
@pulumi.getter(name="coolDownInSeconds")
def cool_down_in_seconds(self) -> pulumi.Output[int]:
"""
(Updatable) For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
"""
return pulumi.get(self, "cool_down_in_seconds")
@property
@pulumi.getter(name="definedTags")
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
"""
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
"""
return pulumi.get(self, "defined_tags")
@property
@pulumi.getter(name="displayName")
def display_name(self) -> pulumi.Output[str]:
"""
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
"""
return pulumi.get(self, "display_name")
@property
@pulumi.getter(name="freeformTags")
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
"""
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
"""
return pulumi.get(self, "freeform_tags")
@property
@pulumi.getter(name="isEnabled")
def is_enabled(self) -> pulumi.Output[bool]:
"""
Whether the autoscaling policy is enabled.
"""
return pulumi.get(self, "is_enabled")
@property
@pulumi.getter(name="maxResourceCount")
def max_resource_count(self) -> pulumi.Output[int]:
"""
The maximum number of resources to scale out to.
"""
return pulumi.get(self, "max_resource_count")
@property
@pulumi.getter(name="minResourceCount")
def min_resource_count(self) -> pulumi.Output[int]:
"""
The minimum number of resources to scale in to.
"""
return pulumi.get(self, "min_resource_count")
@property
@pulumi.getter
def policies(self) -> pulumi.Output[Sequence['outputs.AutoScalingConfigurationPolicy']]:
"""
Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
"""
return pulumi.get(self, "policies")
@property
@pulumi.getter(name="timeCreated")
def time_created(self) -> pulumi.Output[str]:
"""
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
"""
return pulumi.get(self, "time_created")
| 60.323782 | 393 | 0.696765 | 4,736 | 42,106 | 5.962416 | 0.060177 | 0.054147 | 0.050464 | 0.042071 | 0.919754 | 0.907465 | 0.892556 | 0.87878 | 0.870246 | 0.85176 | 0 | 0.003727 | 0.209851 | 42,106 | 697 | 394 | 60.41033 | 0.845026 | 0.503182 | 0 | 0.695652 | 1 | 0 | 0.154657 | 0.063385 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162319 | false | 0.002899 | 0.02029 | 0 | 0.281159 | 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 |
2bb7a6067a3c511856e7e3ed9507e73795766c6f | 721 | py | Python | objects/characters.py | Legor/WesternCityDiscordBot | d7eea0c3d257651aeafb8cdbe4a47dfb2527d0a1 | [
"MIT"
] | null | null | null | objects/characters.py | Legor/WesternCityDiscordBot | d7eea0c3d257651aeafb8cdbe4a47dfb2527d0a1 | [
"MIT"
] | null | null | null | objects/characters.py | Legor/WesternCityDiscordBot | d7eea0c3d257651aeafb8cdbe4a47dfb2527d0a1 | [
"MIT"
] | null | null | null | class PlayerCharacter:
def __init__(self, user=None, character_name=None):
self.user = str(user)
self.character_name = character_name
self.friend = None
self.enemy = None
def __repr__(self):
return "{} ({})".format(self.character_name, self.user)
def __str__(self):
return "{} ({})".format(self.character_name, self.user)
class NonPlayerCharacter:
def __init__(self, user=None, character_name=None):
self.user = str(user)
self.character_name = character_name
def __repr__(self):
return "{} ({})".format(self.character_name, self.user)
def __str__(self):
return "{} ({})".format(self.character_name, self.user) | 27.730769 | 63 | 0.632455 | 84 | 721 | 5.02381 | 0.190476 | 0.308057 | 0.241706 | 0.189573 | 0.834123 | 0.834123 | 0.834123 | 0.834123 | 0.834123 | 0.834123 | 0 | 0 | 0.228849 | 721 | 26 | 64 | 27.730769 | 0.758993 | 0 | 0 | 0.777778 | 0 | 0 | 0.038781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 13 |
a60562c4273a7897236f62d5b7f25d963244cc8c | 170 | py | Python | main/views.py | Tu1026/DjangoWebsite | 743eb50579ef2d35027c59e2a4e5f48b5ef344bd | [
"Apache-2.0"
] | 1 | 2021-07-15T17:46:45.000Z | 2021-07-15T17:46:45.000Z | main/views.py | Tu1026/djangoWebsite | 743eb50579ef2d35027c59e2a4e5f48b5ef344bd | [
"Apache-2.0"
] | null | null | null | main/views.py | Tu1026/djangoWebsite | 743eb50579ef2d35027c59e2a4e5f48b5ef344bd | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def home(request):
return render(request, 'main/home.html')
def tutorial(request):
return render(request, 'main/tutorial.html') | 24.285714 | 48 | 0.758824 | 23 | 170 | 5.608696 | 0.521739 | 0.20155 | 0.294574 | 0.403101 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 170 | 7 | 48 | 24.285714 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.187135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
a68e94bc7be428cff8e984d17ec7b6f96212dcf0 | 54 | py | Python | tonic/version.py | jhamman/VICpy | 67cc1a1efa481a65e304917bc8af36c2a30af055 | [
"MIT"
] | 18 | 2015-07-16T15:39:10.000Z | 2021-10-12T15:22:08.000Z | tonic/version.py | jhamman/VICpy | 67cc1a1efa481a65e304917bc8af36c2a30af055 | [
"MIT"
] | 46 | 2015-07-16T18:00:45.000Z | 2021-01-13T19:08:12.000Z | tonic/version.py | jhamman/VICpy | 67cc1a1efa481a65e304917bc8af36c2a30af055 | [
"MIT"
] | 24 | 2015-07-16T00:00:59.000Z | 2020-08-19T05:02:50.000Z | version = '0.0.0.dev-7b09158'
short_version = '0.0.0'
| 18 | 29 | 0.666667 | 11 | 54 | 3.181818 | 0.454545 | 0.228571 | 0.514286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.111111 | 54 | 2 | 30 | 27 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a69d7d7c505207871ce097fafa2eab63b26a2f8b | 258 | py | Python | pycortecs/utility/exceptions/not_connected_error.py | cortecs-ai/pycortecs | 41d7cd17d56620cfd532d2739873e618bd811dbb | [
"MIT"
] | 9 | 2021-07-28T13:32:58.000Z | 2021-08-16T16:44:20.000Z | pycortecs/utility/exceptions/not_connected_error.py | cortecs-ai/pycortecs | 41d7cd17d56620cfd532d2739873e618bd811dbb | [
"MIT"
] | null | null | null | pycortecs/utility/exceptions/not_connected_error.py | cortecs-ai/pycortecs | 41d7cd17d56620cfd532d2739873e618bd811dbb | [
"MIT"
] | 1 | 2021-08-08T18:07:57.000Z | 2021-08-08T18:07:57.000Z | class NotConnectedError(Exception):
def __init__(self, status_code, message):
self.status_code = status_code
self.message = message
def __str__(self):
return 'Statuscode: {}\nDetail:{}'.format(self.status_code, self.message)
| 32.25 | 81 | 0.686047 | 29 | 258 | 5.689655 | 0.482759 | 0.242424 | 0.254545 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197674 | 258 | 7 | 82 | 36.857143 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.096899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 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 |
a6a4cca67e65073005af62ac440094c0f1a595ba | 48,845 | py | Python | nose/test_coords.py | fardal/galpy | 93a1b6fc8d138899922127086cc66184919c8cba | [
"BSD-3-Clause"
] | null | null | null | nose/test_coords.py | fardal/galpy | 93a1b6fc8d138899922127086cc66184919c8cba | [
"BSD-3-Clause"
] | null | null | null | nose/test_coords.py | fardal/galpy | 93a1b6fc8d138899922127086cc66184919c8cba | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function, division
import numpy
from galpy.util import bovy_coords
from test_streamdf import expected_failure
def test_radec_to_lb_ngp():
# Test that the NGP is at b=90
ra, dec= 192.25, 27.4
lb= bovy_coords.radec_to_lb(ra,dec,degree=True,epoch=1950.)
assert numpy.fabs(lb[1]-90.) < 10.**-8., 'Galactic latitude of the NGP given in ra,dec is not 90'
# Also test this for degree=False
lb= bovy_coords.radec_to_lb(ra/180.*numpy.pi,dec/180.*numpy.pi,
degree=False,epoch=1950.)
assert numpy.fabs(lb[1]-numpy.pi/2.) < 10.**-8., 'Galactic latitude of the NGP given in ra,dec is not pi/2'
return None
def test_radec_to_lb_sgp():
# Test that the SGP is at b=90
ra, dec= 12.25, -27.4
lb= bovy_coords.radec_to_lb(ra,dec,degree=True,epoch=1950.)
assert numpy.fabs(lb[1]+90.) < 10.**-8., 'Galactic latitude of the SGP given in ra,dec is not 90'
# Also test this for degree=False
lb= bovy_coords.radec_to_lb(ra/180.*numpy.pi,dec/180.*numpy.pi,
degree=False,epoch=1950.)
assert numpy.fabs(lb[1]+numpy.pi/2.) < 10.**-8., 'Galactic latitude of the SGP given in ra,dec is not pi/2'
return None
# Test the longitude of the north celestial pole
def test_radec_to_lb_ncp():
ra, dec= 180., 90.
lb= bovy_coords.radec_to_lb(ra,dec,degree=True,epoch=1950.)
assert numpy.fabs(lb[0]-123.) < 10.**-8., 'Galactic longitude of the NCP given in ra,dec is not 123'
# Also test this for degree=False
lb= bovy_coords.radec_to_lb(ra/180.*numpy.pi,dec/180.*numpy.pi,
degree=False,epoch=1950.)
assert numpy.fabs(lb[0]-123./180.*numpy.pi) < 10.**-8., 'Galactic longitude of the NCP given in ra,dec is not 123'
# Also test the latter for vector inputs
os= numpy.ones(2)
lb= bovy_coords.radec_to_lb(os*ra/180.*numpy.pi,os*dec/180.*numpy.pi,
degree=False,epoch=1950.)
assert numpy.all(numpy.fabs(lb[:,0]-123./180.*numpy.pi) < 10.**-8.), 'Galactic longitude of the NCP given in ra,dec is not 123'
return None
# Test that other epochs do not work
def test_radec_to_lb_otherepochs():
ra, dec= 180., 90.
try:
lb= bovy_coords.radec_to_lb(ra/180.*numpy.pi,dec/180.*numpy.pi,
degree=False,epoch=1975.)
except IOError:
pass
else:
raise AssertionError('radec functions with epoch not equal to 1950 or 2000 did not raise IOError')
# Test that radec_to_lb and lb_to_radec are each other's inverse
def test_lb_to_radec():
ra, dec= 120, 60.
lb= bovy_coords.radec_to_lb(ra,dec,degree=True,epoch=2000.)
rat, dect= bovy_coords.lb_to_radec(lb[0],lb[1],degree=True,epoch=2000.)
assert numpy.fabs(ra-rat) < 10.**-10., 'lb_to_radec is not the inverse of radec_to_lb'
assert numpy.fabs(dec-dect) < 10.**-10., 'lb_to_radec is not the inverse of radec_to_lb'
# Also test this for degree=False
lb= bovy_coords.radec_to_lb(ra/180.*numpy.pi,dec/180.*numpy.pi,
degree=False,epoch=2000.)
rat, dect= bovy_coords.lb_to_radec(lb[0],lb[1],degree=False,epoch=2000.)
assert numpy.fabs(ra/180.*numpy.pi-rat) < 10.**-10., 'lb_to_radec is not the inverse of radec_to_lb'
assert numpy.fabs(dec/180.*numpy.pi-dect) < 10.**-10., 'lb_to_radec is not the inverse of radec_to_lb'
# And also test this for arrays
os= numpy.ones(2)
lb= bovy_coords.radec_to_lb(os*ra/180.*numpy.pi,os*dec/180.*numpy.pi,
degree=False,epoch=2000.)
ratdect= bovy_coords.lb_to_radec(lb[:,0],lb[:,1],degree=False,epoch=2000.)
rat= ratdect[:,0]
dect= ratdect[:,1]
assert numpy.all(numpy.fabs(ra/180.*numpy.pi-rat) < 10.**-10.), 'lb_to_radec is not the inverse of radec_to_lb'
assert numpy.all(numpy.fabs(dec/180.*numpy.pi-dect) < 10.**-10.), 'lb_to_radec is not the inverse of radec_to_lb'
#Also test for a negative l
l,b= 240., 60.
ra,dec= bovy_coords.lb_to_radec(l,b,degree=True)
lt,bt= bovy_coords.radec_to_lb(ra,dec,degree=True)
assert numpy.fabs(lt-l) < 10.**-10., 'lb_to_radec is not the inverse of radec_to_lb'
assert numpy.fabs(bt-b) < 10.**-10., 'lb_to_radec is not the inverse of radec_to_lb'
return None
# Test lb_to_XYZ
def test_lbd_to_XYZ():
l,b,d= 90., 30.,1.
XYZ= bovy_coords.lbd_to_XYZ(l,b,d,degree=True)
assert numpy.fabs(XYZ[0]) <10.**-10., 'lbd_to_XYZ conversion does not work as expected'
assert numpy.fabs(XYZ[1]-numpy.sqrt(3.)/2.) < 10.**-10., 'lbd_to_XYZ conversion does not work as expected'
assert numpy.fabs(XYZ[2]-0.5) < 10.**-10., 'lbd_to_XYZ conversion does not work as expected'
# Also test for degree=False
XYZ= bovy_coords.lbd_to_XYZ(l/180.*numpy.pi,b/180.*numpy.pi,d,degree=False)
assert numpy.fabs(XYZ[0]) <10.**-10., 'lbd_to_XYZ conversion does not work as expected'
assert numpy.fabs(XYZ[1]-numpy.sqrt(3.)/2.) < 10.**-10., 'lbd_to_XYZ conversion does not work as expected'
assert numpy.fabs(XYZ[2]-0.5) < 10.**-10., 'lbd_to_XYZ conversion does not work as expected'
# Also test for arrays
os= numpy.ones(2)
XYZ= bovy_coords.lbd_to_XYZ(os*l/180.*numpy.pi,os*b/180.*numpy.pi,
os*d,degree=False)
assert numpy.all(numpy.fabs(XYZ[:,0]) <10.**-10.), 'lbd_to_XYZ conversion does not work as expected'
assert numpy.all(numpy.fabs(XYZ[:,1]-numpy.sqrt(3.)/2.) < 10.**-10.), 'lbd_to_XYZ conversion does not work as expected'
assert numpy.all(numpy.fabs(XYZ[:,2]-0.5) < 10.**-10.), 'lbd_to_XYZ conversion does not work as expected'
return None
# Test that XYZ_to_lbd is the inverse of lbd_to_XYZ
def test_XYZ_to_lbd():
l,b,d= 90., 30.,1.
XYZ= bovy_coords.lbd_to_XYZ(l,b,d,degree=True)
lt,bt,dt= bovy_coords.XYZ_to_lbd(XYZ[0],XYZ[1],XYZ[2],degree=True)
assert numpy.fabs(lt-l) <10.**-10., 'XYZ_to_lbd conversion does not work as expected'
assert numpy.fabs(bt-b) < 10.**-10., 'XYZ_to_lbd conversion does not work as expected'
assert numpy.fabs(dt-d) < 10.**-10., 'XYZ_to_lbd conversion does not work as expected'
# Also test for degree=False
XYZ= bovy_coords.lbd_to_XYZ(l/180.*numpy.pi,b/180.*numpy.pi,d,degree=False)
lt,bt,dt= bovy_coords.XYZ_to_lbd(XYZ[0],XYZ[1],XYZ[2],degree=False)
assert numpy.fabs(lt-l/180.*numpy.pi) <10.**-10., 'XYZ_to_lbd conversion does not work as expected'
assert numpy.fabs(bt-b/180.*numpy.pi) < 10.**-10., 'XYZ_to_lbd conversion does not work as expected'
assert numpy.fabs(dt-d) < 10.**-10., 'XYZ_to_lbd conversion does not work as expected'
# Also test for arrays
os= numpy.ones(2)
XYZ= bovy_coords.lbd_to_XYZ(os*l/180.*numpy.pi,os*b/180.*numpy.pi,
os*d,degree=False)
lbdt= bovy_coords.XYZ_to_lbd(XYZ[:,0],XYZ[:,1],XYZ[:,2],degree=False)
assert numpy.all(numpy.fabs(lbdt[:,0]-l/180.*numpy.pi) <10.**-10.), 'XYZ_to_lbd conversion does not work as expected'
assert numpy.all(numpy.fabs(lbdt[:,1]-b/180.*numpy.pi) < 10.**-10.), 'XYZ_to_lbd conversion does not work as expected'
assert numpy.all(numpy.fabs(lbdt[:,2]-d) < 10.**-10.), 'XYZ_to_lbd conversion does not work as expected'
return None
def test_vrpmllpmbb_to_vxvyvz():
l,b,d= 90., 0.,1.
vr,pmll,pmbb= 10.,20./4.74047,-10./4.74047
vxvyvz= bovy_coords.vrpmllpmbb_to_vxvyvz(vr,pmll,pmbb,l,b,d,
degree=True,XYZ=False)
assert numpy.fabs(vxvyvz[0]+20.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxvyvz[1]-10.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxvyvz[2]+10.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
vxvyvz= bovy_coords.vrpmllpmbb_to_vxvyvz(vr,pmll,pmbb,l/180.*numpy.pi,
b/180.*numpy.pi,d,
degree=False,XYZ=False)
assert numpy.fabs(vxvyvz[0]+20.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxvyvz[1]-10.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxvyvz[2]+10.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
vxvyvz= bovy_coords.vrpmllpmbb_to_vxvyvz(vr,pmll,pmbb,0.,1,0.,
XYZ=True)
assert numpy.fabs(vxvyvz[0]+20.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxvyvz[1]-10.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxvyvz[2]+10.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
vxvyvz= bovy_coords.vrpmllpmbb_to_vxvyvz(vr,pmll,pmbb,0.,1,0.,
XYZ=True,degree=True)
assert numpy.fabs(vxvyvz[0]+20.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxvyvz[1]-10.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxvyvz[2]+10.) < 10.**-10., 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
#Also test for arrays
os= numpy.ones(2)
vxvyvz= bovy_coords.vrpmllpmbb_to_vxvyvz(os*vr,os*pmll,os*pmbb,os*l,os*b,
os*d,degree=True,XYZ=False)
assert numpy.all(numpy.fabs(vxvyvz[:,0]+20.) < 10.**-10.), 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
assert numpy.all(numpy.fabs(vxvyvz[:,1]-10.) < 10.**-10.), 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
assert numpy.all(numpy.fabs(vxvyvz[:,2]+10.) < 10.**-10.), 'vrpmllpmbb_to_vxvyvz conversion did not work as expected'
return None
def test_vxvyvz_to_vrpmllpmbb():
vx,vy,vz= -20.*4.74047,10.,-10.*4.74047
X,Y,Z= 0.,1.,0.
vrpmllpmbb= bovy_coords.vxvyvz_to_vrpmllpmbb(vx,vy,vz,X,Y,Z,
XYZ=True)
assert numpy.fabs(vrpmllpmbb[0]-10.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
assert numpy.fabs(vrpmllpmbb[1]-20.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
assert numpy.fabs(vrpmllpmbb[2]+10.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
# also try with degree=True (that shouldn't fail!)
vrpmllpmbb= bovy_coords.vxvyvz_to_vrpmllpmbb(vx,vy,vz,X,Y,Z,
XYZ=True,
degree=True)
assert numpy.fabs(vrpmllpmbb[0]-10.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
assert numpy.fabs(vrpmllpmbb[1]-20.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
assert numpy.fabs(vrpmllpmbb[2]+10.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
# also for lbd
vrpmllpmbb= bovy_coords.vxvyvz_to_vrpmllpmbb(vx,vy,vz,90.,0.,1.,
XYZ=False,degree=True)
assert numpy.fabs(vrpmllpmbb[0]-10.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
assert numpy.fabs(vrpmllpmbb[1]-20.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
assert numpy.fabs(vrpmllpmbb[2]+10.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
# also for lbd, not in degree
vrpmllpmbb= bovy_coords.vxvyvz_to_vrpmllpmbb(vx,vy,vz,numpy.pi/2.,0.,1.,
XYZ=False,degree=False)
assert numpy.fabs(vrpmllpmbb[0]-10.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
assert numpy.fabs(vrpmllpmbb[1]-20.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
assert numpy.fabs(vrpmllpmbb[2]+10.) < 10.**-10., 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
# and for arrays
os= numpy.ones(2)
vrpmllpmbb= bovy_coords.vxvyvz_to_vrpmllpmbb(os*vx,os*vy,os*vz,
os*numpy.pi/2.,os*0.,os,
XYZ=False,degree=False)
assert numpy.all(numpy.fabs(vrpmllpmbb[:,0]-10.) < 10.**-10.), 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
assert numpy.all(numpy.fabs(vrpmllpmbb[:,1]-20.) < 10.**-10.), 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
assert numpy.all(numpy.fabs(vrpmllpmbb[:,2]+10.) < 10.**-10.), 'vxvyvz_to_vrpmllpmbb conversion did not work as expected'
return None
def test_XYZ_to_galcenrect():
X,Y,Z= 1.,3.,-2.
gcXYZ= bovy_coords.XYZ_to_galcenrect(X,Y,Z,Xsun=1.,Ysun=0.,Zsun=0.)
assert numpy.fabs(gcXYZ[0]) < 10.**-10., 'XYZ_to_galcenrect conversion did not work as expected'
assert numpy.fabs(gcXYZ[1]-3.) < 10.**-10., 'XYZ_to_galcenrect conversion did not work as expected'
assert numpy.fabs(gcXYZ[2]+2.) < 10.**-10., 'XYZ_to_galcenrect conversion did not work as expected'
#Another test
X,Y,Z= -1.,3.,-2.
gcXYZ= bovy_coords.XYZ_to_galcenrect(X,Y,Z,Xsun=1.,Ysun=0.,Zsun=0.)
assert numpy.fabs(gcXYZ[0]-2.) < 10.**-10., 'XYZ_to_galcenrect conversion did not work as expected'
assert numpy.fabs(gcXYZ[1]-3.) < 10.**-10., 'XYZ_to_galcenrect conversion did not work as expected'
assert numpy.fabs(gcXYZ[2]+2.) < 10.**-10., 'XYZ_to_galcenrect conversion did not work as expected'
return None
def test_galcenrect_to_XYZ():
gcX, gcY, gcZ= -1.,4.,2.
XYZ= bovy_coords.galcenrect_to_XYZ(gcX,gcY,gcZ,Xsun=1.,Ysun=0.,Zsun=0.)
assert numpy.fabs(XYZ[0]-2.) < 10.**-10., 'galcenrect_to_XYZ conversion did not work as expected'
assert numpy.fabs(XYZ[1]-4.) < 10.**-10., 'galcenrect_to_XYZ conversion did not work as expected'
assert numpy.fabs(XYZ[2]-2.) < 10.**-10., 'galcenrect_to_XYZ conversion did not work as expected'
return None
def test_XYZ_to_galcencyl():
X,Y,Z= 5.,4.,-2.
gcRpZ= bovy_coords.XYZ_to_galcencyl(X,Y,Z,Xsun=8.,Ysun=0.,Zsun=0.)
assert numpy.fabs(gcRpZ[0]-5.) < 10.**-10., 'XYZ_to_galcencyl conversion did not work as expected'
assert numpy.fabs(gcRpZ[1]-numpy.arctan(4./3.)) < 10.**-10., 'XYZ_to_galcencyl conversion did not work as expected'
assert numpy.fabs(gcRpZ[2]+2.) < 10.**-10., 'XYZ_to_galcencyl conversion did not work as expected'
#Another X
X,Y,Z= 11.,4.,-2.
gcRpZ= bovy_coords.XYZ_to_galcencyl(X,Y,Z,Xsun=8.,Ysun=0.,Zsun=0.)
assert numpy.fabs(gcRpZ[0]-5.) < 10.**-10., 'XYZ_to_galcencyl conversion did not work as expected'
assert numpy.fabs(gcRpZ[1]-numpy.pi+numpy.arctan(4./3.)) < 10.**-10., 'XYZ_to_galcencyl conversion did not work as expected'
assert numpy.fabs(gcRpZ[2]+2.) < 10.**-10., 'XYZ_to_galcencyl conversion did not work as expected'
return None
def test_galcencyl_to_XYZ():
gcR, gcp, gcZ= 5.,numpy.arctan(4./3.),2.
XYZ= bovy_coords.galcencyl_to_XYZ(gcR,gcp,gcZ,Xsun=8.,Ysun=0.,Zsun=0.)
assert numpy.fabs(XYZ[0]-5.) < 10.**-10., 'galcencyl_to_XYZ conversion did not work as expected'
assert numpy.fabs(XYZ[1]-4.) < 10.**-10., 'galcencyl_to_XYZ conversion did not work as expected'
assert numpy.fabs(XYZ[2]-2.) < 10.**-10., 'galcencyl_to_XYZ conversion did not work as expected'
return None
def test_vxvyvz_to_galcenrect():
vx,vy,vz= 10.,-20.,30
vgc= bovy_coords.vxvyvz_to_galcenrect(vx,vy,vz,vsun=[-5.,10.,5.])
assert numpy.fabs(vgc[0]+15.) < 10.**-10., 'vxvyvz_to_galcenrect conversion did not work as expected'
assert numpy.fabs(vgc[1]+10.) < 10.**-10., 'vxvyvz_to_galcenrect conversion did not work as expected'
assert numpy.fabs(vgc[2]-35.) < 10.**-10., 'vxvyvz_to_galcenrect conversion did not work as expected'
return None
def test_vxvyvz_to_galcencyl():
X,Y,Z= 3.,4.,2.
vx,vy,vz= 10.,-20.,30
vgc= bovy_coords.vxvyvz_to_galcencyl(vx,vy,vz,X,Y,Z,vsun=[-5.,10.,5.])
assert numpy.fabs(vgc[0]+17.) < 10.**-10., 'vxvyvz_to_galcenrect conversion did not work as expected'
assert numpy.fabs(vgc[1]-6.) < 10.**-10., 'vxvyvz_to_galcenrect conversion did not work as expected'
assert numpy.fabs(vgc[2]-35.) < 10.**-10., 'vxvyvz_to_galcenrect conversion did not work as expected'
#with galcen=True
vgc= bovy_coords.vxvyvz_to_galcencyl(vx,vy,vz,5.,numpy.arctan(4./3.),Z,
vsun=[-5.,10.,5.],galcen=True)
assert numpy.fabs(vgc[0]+17.) < 10.**-10., 'vxvyvz_to_galcenrect conversion did not work as expected'
assert numpy.fabs(vgc[1]-6.) < 10.**-10., 'vxvyvz_to_galcenrect conversion did not work as expected'
assert numpy.fabs(vgc[2]-35.) < 10.**-10., 'vxvyvz_to_galcenrect conversion did not work as expected'
return None
def test_galcenrect_to_vxvyvz():
vxg,vyg,vzg= -15.,-10.,35.
vxyz= bovy_coords.galcenrect_to_vxvyvz(vxg,vyg,vzg,vsun=[-5.,10.,5.])
assert numpy.fabs(vxyz[0]-10.) < 10.**-10., 'galcenrect_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxyz[1]+20.) < 10.**-10., 'galcenrect_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxyz[2]-30.) < 10.**-10., 'galcenrect_to_vxvyvz conversion did not work as expected'
#Also for arrays
os= numpy.ones(2)
vxyz= bovy_coords.galcenrect_to_vxvyvz(os*vxg,os*vyg,os*vzg,
vsun=[-5.,10.,5.])
assert numpy.all(numpy.fabs(vxyz[0]-10.) < 10.**-10.), 'galcenrect_to_vxvyvz conversion did not work as expected'
assert numpy.all(numpy.fabs(vxyz[1]+20.) < 10.**-10.), 'galcenrect_to_vxvyvz conversion did not work as expected'
assert numpy.all(numpy.fabs(vxyz[2]-30.) < 10.**-10.), 'galcenrect_to_vxvyvz conversion did not work as expected'
return None
def test_galcencyl_to_vxvyvz():
vr,vp,vz= -17.,6.,35.
phi= numpy.arctan(4./3.)
vxyz= bovy_coords.galcencyl_to_vxvyvz(vr,vp,vz,phi,vsun=[-5.,10.,5.])
assert numpy.fabs(vxyz[0]-10.) < 10.**-10., 'galcenrect_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxyz[1]+20.) < 10.**-10., 'galcenrect_to_vxvyvz conversion did not work as expected'
assert numpy.fabs(vxyz[2]-30.) < 10.**-10., 'galcenrect_to_vxvyvz conversion did not work as expected'
return None
def test_sphergal_to_rectgal():
l,b,d= 90.,0.,1.
vr,pmll,pmbb= 10.,-20./4.74047,30./4.74047
X,Y,Z,vx,vy,vz= bovy_coords.sphergal_to_rectgal(l,b,d,vr,pmll,pmbb,
degree=True)
assert numpy.fabs(X-0.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.fabs(Y-1.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.fabs(Z-0.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.fabs(vx-20.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.fabs(vy-10.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.fabs(vz-30.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
#Also test for degree=False
X,Y,Z,vx,vy,vz= bovy_coords.sphergal_to_rectgal(l/180.*numpy.pi,
b/180.*numpy.pi,
d,vr,pmll,pmbb,
degree=False)
assert numpy.fabs(X-0.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.fabs(Y-1.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.fabs(Z-0.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.fabs(vx-20.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.fabs(vy-10.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.fabs(vz-30.) < 10.**-10., 'sphergal_to_rectgal conversion did not work as expected'
#Also test for arrays
os= numpy.ones(2)
XYZvxvyvz= bovy_coords.sphergal_to_rectgal(os*l,os*b,os*d,
os*vr,os*pmll,os*pmbb,
degree=True)
X= XYZvxvyvz[:,0]
Y= XYZvxvyvz[:,1]
Z= XYZvxvyvz[:,2]
vx= XYZvxvyvz[:,3]
vy= XYZvxvyvz[:,4]
vz= XYZvxvyvz[:,5]
assert numpy.all(numpy.fabs(X-0.) < 10.**-10.), 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.all(numpy.fabs(Y-1.) < 10.**-10.), 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.all(numpy.fabs(Z-0.) < 10.**-10.), 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.all(numpy.fabs(vx-20.) < 10.**-10.), 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.all(numpy.fabs(vy-10.) < 10.**-10.), 'sphergal_to_rectgal conversion did not work as expected'
assert numpy.all(numpy.fabs(vz-30.) < 10.**-10.), 'sphergal_to_rectgal conversion did not work as expected'
return None
def test_rectgal_to_sphergal():
#Test that this is the inverse of sphergal_to_rectgal
l,b,d= 90.,30.,1.
vr,pmll,pmbb= 10.,-20.,30.
X,Y,Z,vx,vy,vz= bovy_coords.sphergal_to_rectgal(l,b,d,vr,pmll,pmbb,
degree=True)
lt,bt,dt,vrt,pmllt,pmbbt= bovy_coords.rectgal_to_sphergal(X,Y,Z,
vx,vy,vz,
degree=True)
assert numpy.fabs(lt-l) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.fabs(bt-b) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.fabs(dt-d) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.fabs(vrt-vr) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.fabs(pmllt-pmll) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.fabs(pmbbt-pmbb) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
#Also test for degree=False
lt,bt,dt,vrt,pmllt,pmbbt= bovy_coords.rectgal_to_sphergal(X,Y,Z,
vx,vy,vz,
degree=False)
assert numpy.fabs(lt-l/180.*numpy.pi) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.fabs(bt-b/180.*numpy.pi) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.fabs(dt-d) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.fabs(vrt-vr) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.fabs(pmllt-pmll) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.fabs(pmbbt-pmbb) < 10.**-10., 'rectgal_to_sphergal conversion did not work as expected'
#Also test for arrays
os= numpy.ones(2)
lbdvrpmllpmbbt= bovy_coords.rectgal_to_sphergal(os*X,os*Y,os*Z,
os*vx,os*vy,
os*vz,
degree=True)
lt= lbdvrpmllpmbbt[:,0]
bt= lbdvrpmllpmbbt[:,1]
dt= lbdvrpmllpmbbt[:,2]
vrt= lbdvrpmllpmbbt[:,3]
pmllt= lbdvrpmllpmbbt[:,4]
pmbbt= lbdvrpmllpmbbt[:,5]
assert numpy.all(numpy.fabs(lt-l) < 10.**-10.), 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.all(numpy.fabs(bt-b) < 10.**-10.), 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.all(numpy.fabs(dt-d) < 10.**-10.), 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.all(numpy.fabs(vrt-vr) < 10.**-10.), 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.all(numpy.fabs(pmllt-pmll) < 10.**-10.), 'rectgal_to_sphergal conversion did not work as expected'
assert numpy.all(numpy.fabs(pmbbt-pmbb) < 10.**-10.), 'rectgal_to_sphergal conversion did not work as expected'
return None
def test_pmrapmdec_to_pmllpmbb():
#This is a random ra,dec
ra, dec= 132., -20.4
pmra, pmdec= 10., 20.
pmll, pmbb= bovy_coords.pmrapmdec_to_pmllpmbb(pmra,pmdec,
ra,dec,degree=True,epoch=1950.)
assert numpy.fabs(numpy.sqrt(pmll**2.+pmbb**2.)-numpy.sqrt(pmra**2.+pmdec**2.)) < 10.**-10., 'pmrapmdec_to_pmllpmbb conversion did not work as expected'
# This is close to the NGP at 1950.
ra, dec= 192.24, 27.39
pmra, pmdec= 10., 20.
os= numpy.ones(2)
pmllpmbb= bovy_coords.pmrapmdec_to_pmllpmbb(os*pmra,os*pmdec,
os*ra,os*dec,
degree=True,epoch=1950.)
pmll= pmllpmbb[:,0]
pmbb= pmllpmbb[:,1]
assert numpy.all(numpy.fabs(numpy.sqrt(pmll**2.+pmbb**2.)-numpy.sqrt(pmra**2.+pmdec**2.)) < 10.**-10.), 'pmrapmdec_to_pmllpmbb conversion did not work as expected close to the NGP'
# This is the NGP at 1950.
ra, dec= 192.25, 27.4
pmra, pmdec= 10., 20.
os= numpy.ones(2)
pmllpmbb= bovy_coords.pmrapmdec_to_pmllpmbb(os*pmra,os*pmdec,
os*ra,os*dec,
degree=True,epoch=1950.)
pmll= pmllpmbb[:,0]
pmbb= pmllpmbb[:,1]
assert numpy.all(numpy.fabs(numpy.sqrt(pmll**2.+pmbb**2.)-numpy.sqrt(pmra**2.+pmdec**2.)) < 10.**-10.), 'pmrapmdec_to_pmllpmbb conversion did not work as expected for the NGP'
# This is the NCP
ra, dec= numpy.pi, numpy.pi/2.
pmra, pmdec= 10., 20.
pmll, pmbb= bovy_coords.pmrapmdec_to_pmllpmbb(pmra,pmdec,
ra,dec,degree=False,
epoch=1950.)
assert numpy.fabs(numpy.sqrt(pmll**2.+pmbb**2.)-numpy.sqrt(pmra**2.+pmdec**2.)) < 10.**-10., 'pmrapmdec_to_pmllpmbb conversion did not work as expected for the NCP'
return None
def test_pmllpmbb_to_pmrapmdec():
#This is a random l,b
ll, bb= 132., -20.4
pmll, pmbb= 10., 20.
pmra, pmdec= bovy_coords.pmllpmbb_to_pmrapmdec(pmll,pmbb,
ll,bb,
degree=True,epoch=1950.)
assert numpy.fabs(numpy.sqrt(pmll**2.+pmbb**2.)-numpy.sqrt(pmra**2.+pmdec**2.)) < 10.**-10., 'pmllpmbb_to_pmrapmdec conversion did not work as expected for a random l,b'
# This is close to the NGP
ll,bb= numpy.pi-0.001, numpy.pi/2.-0.001
pmll, pmbb= 10., 20.
os= numpy.ones(2)
pmrapmdec= bovy_coords.pmllpmbb_to_pmrapmdec(os*pmll,os*pmbb,
os*ll,os*bb,
degree=False,epoch=1950.)
pmra= pmrapmdec[:,0]
pmdec= pmrapmdec[:,1]
assert numpy.all(numpy.fabs(numpy.sqrt(pmll**2.+pmbb**2.)-numpy.sqrt(pmra**2.+pmdec**2.)) < 10.**-10.), 'pmllpmbb_to_pmrapmdec conversion did not work as expected close to the NGP'
# This is the NGP
ll,bb= numpy.pi, numpy.pi/2.
pmll, pmbb= 10., 20.
os= numpy.ones(2)
pmrapmdec= bovy_coords.pmllpmbb_to_pmrapmdec(os*pmll,os*pmbb,
os*ll,os*bb,
degree=False,epoch=1950.)
pmra= pmrapmdec[:,0]
pmdec= pmrapmdec[:,1]
assert numpy.all(numpy.fabs(numpy.sqrt(pmll**2.+pmbb**2.)-numpy.sqrt(pmra**2.+pmdec**2.)) < 10.**-10.), 'pmllpmbb_to_pmrapmdec conversion did not work as expected at the NGP'
# This is the NCP
ra, dec= numpy.pi, numpy.pi/2.
ll, bb= bovy_coords.radec_to_lb(ra,dec,degree=False,epoch=1950.)
pmll, pmbb= 10., 20.
pmra, pmdec= bovy_coords.pmllpmbb_to_pmrapmdec(pmll,pmbb,
ll,bb,
degree=False,epoch=1950.)
assert numpy.fabs(numpy.sqrt(pmll**2.+pmbb**2.)-numpy.sqrt(pmra**2.+pmdec**2.)) < 10.**-10., 'pmllpmbb_to_pmrapmdec conversion did not work as expected at the NCP'
return None
def test_cov_pmradec_to_pmllbb():
# This is the NGP at 1950., for this the parallactic angle is 180
ra, dec= 192.25, 27.4
cov_pmrapmdec= numpy.array([[100.,100.],[100.,400.]])
cov_pmllpmbb= bovy_coords.cov_pmrapmdec_to_pmllpmbb(cov_pmrapmdec,
ra,dec,
degree=True,
epoch=1950.)
assert numpy.fabs(cov_pmllpmbb[0,0]-100.) < 10.**-10., 'cov_pmradec_to_pmllbb conversion did not work as expected'
assert numpy.fabs(cov_pmllpmbb[0,1]-100.) < 10.**-10., 'cov_pmradec_to_pmllbb conversion did not work as expected'
assert numpy.fabs(cov_pmllpmbb[1,0]-100.) < 10.**-10., 'cov_pmradec_to_pmllbb conversion did not work as expected'
assert numpy.fabs(cov_pmllpmbb[1,1]-400.) < 10.**-10., 'cov_pmradec_to_pmllbb conversion did not work as expected'
# This is a random position, check that the conversion makes sense
ra, dec= 132.25, -23.4
cov_pmrapmdec= numpy.array([[100.,100.],[100.,400.]])
cov_pmllpmbb= bovy_coords.cov_pmrapmdec_to_pmllpmbb(cov_pmrapmdec,
ra/180.*numpy.pi,
dec/180.*numpy.pi,
degree=False,
epoch=1950.)
assert numpy.fabs(numpy.linalg.det(cov_pmllpmbb)-numpy.linalg.det(cov_pmrapmdec)) < 10.**-10., 'cov_pmradec_to_pmllbb conversion did not work as expected'
assert numpy.fabs(numpy.trace(cov_pmllpmbb)-numpy.trace(cov_pmrapmdec)) < 10.**-10., 'cov_pmradec_to_pmllbb conversion did not work as expected'
# This is a random position, check that the conversion makes sense, arrays
ra, dec= 132.25, -23.4
icov_pmrapmdec= numpy.array([[100.,100.],[100.,400.]])
cov_pmrapmdec= numpy.empty((3,2,2))
for ii in range(3): cov_pmrapmdec[ii,:,:]= icov_pmrapmdec
os= numpy.ones(3)
cov_pmllpmbb= bovy_coords.cov_pmrapmdec_to_pmllpmbb(cov_pmrapmdec,
os*ra,
os*dec,
degree=True,
epoch=1950.)
for ii in range(3):
assert numpy.fabs(numpy.linalg.det(cov_pmllpmbb[ii,:,:])-numpy.linalg.det(cov_pmrapmdec[ii,:,:])) < 10.**-10., 'cov_pmradec_to_pmllbb conversion did not work as expected'
assert numpy.fabs(numpy.trace(cov_pmllpmbb[ii,:,:])-numpy.trace(cov_pmrapmdec[ii,:,:])) < 10.**-10., 'cov_pmradec_to_pmllbb conversion did not work as expected'
return None
def test_cov_dvrpmllbb_to_vxyz():
l,b,d= 90., 0., 2.
e_d, e_vr= 0.2, 2.
cov_pmllpmbb= numpy.array([[100.,0.],[0.,400.]])
pmll,pmbb= 20.,30.
cov_vxvyvz= bovy_coords.cov_dvrpmllbb_to_vxyz(d,e_d,e_vr,
pmll,pmbb,
cov_pmllpmbb,
l,b,
degree=True,
plx=False)
assert numpy.fabs(numpy.sqrt(cov_vxvyvz[0,0])
-d*4.74047*pmll*numpy.sqrt((e_d/d)**2.+(10./pmll)**2.)) < 10.**-10., 'cov_dvrpmllbb_to_vxyz coversion did not work as expected'
assert numpy.fabs(numpy.sqrt(cov_vxvyvz[1,1])-e_vr) < 10.**-10., 'cov_dvrpmllbb_to_vxyz coversion did not work as expected'
assert numpy.fabs(numpy.sqrt(cov_vxvyvz[2,2])
-d*4.74047*pmbb*numpy.sqrt((e_d/d)**2.+(20./pmbb)**2.)) < 10.**-10., 'cov_dvrpmllbb_to_vxyz coversion did not work as expected'
#Another one
l,b,d= 180., 0., 1./2.
e_d, e_vr= 0.05, 2.
cov_pmllpmbb= numpy.array([[100.,0.],[0.,400.]])
pmll,pmbb= 20.,30.
cov_vxvyvz= bovy_coords.cov_dvrpmllbb_to_vxyz(d,e_d,e_vr,
pmll,pmbb,
cov_pmllpmbb,
l/180.*numpy.pi,
b/180.*numpy.pi,
degree=False,
plx=True)
assert numpy.fabs(numpy.sqrt(cov_vxvyvz[0,0])-e_vr) < 10.**-10., 'cov_dvrpmllbb_to_vxyz coversion did not work as expected'
assert numpy.fabs(numpy.sqrt(cov_vxvyvz[1,1])
-1./d*4.74047*pmll*numpy.sqrt((e_d/d)**2.+(10./pmll)**2.)) < 10.**-10., 'cov_dvrpmllbb_to_vxyz coversion did not work as expected'
assert numpy.fabs(numpy.sqrt(cov_vxvyvz[2,2])
-1./d*4.74047*pmbb*numpy.sqrt((e_d/d)**2.+(20./pmbb)**2.)) < 10.**-10., 'cov_dvrpmllbb_to_vxyz coversion did not work as expected'
#Another one, w/ arrays
l,b,d= 90., 90., 2.
e_d, e_vr= 0.2, 2.
tcov_pmllpmbb= numpy.array([[100.,0.],[0.,400.]])
cov_pmllpmbb= numpy.empty((3,2,2))
for ii in range(3): cov_pmllpmbb[ii,:,:]= tcov_pmllpmbb
pmll,pmbb= 20.,30.
os= numpy.ones(3)
cov_vxvyvz= bovy_coords.cov_dvrpmllbb_to_vxyz(os*d,os*e_d,os*e_vr,
os*pmll,os*pmbb,
cov_pmllpmbb,
os*l,os*b,
degree=True,
plx=False)
for ii in range(3):
assert numpy.fabs(numpy.sqrt(cov_vxvyvz[ii,0,0])
-d*4.74047*pmll*numpy.sqrt((e_d/d)**2.+(10./pmll)**2.)) < 10.**-10., 'cov_dvrpmllbb_to_vxyz coversion did not work as expected'
assert numpy.fabs(numpy.sqrt(cov_vxvyvz[ii,1,1])
-d*4.74047*pmbb*numpy.sqrt((e_d/d)**2.+(20./pmbb)**2.)) < 10.**-10., 'cov_dvrpmllbb_to_vxyz coversion did not work as expected'
assert numpy.fabs(numpy.sqrt(cov_vxvyvz[ii,2,2])-e_vr) < 10.**-10., 'cov_dvrpmllbb_to_vxyz coversion did not work as expected'
return None
def test_dl_to_rphi_2d():
#This is a tangent point
l= numpy.arcsin(0.75)
d= 6./numpy.tan(l)
r,phi= bovy_coords.dl_to_rphi_2d(d,l,degree=False,ro=8.,phio=0.)
assert numpy.fabs(r-6.) < 10.**-10., 'dl_to_rphi_2d conversion did not work as expected'
assert numpy.fabs(phi-numpy.arccos(0.75)) < 10.**-10., 'dl_to_rphi_2d conversion did not work as expected'
#This is a different point
d,l= 2., 45.
r,phi= bovy_coords.dl_to_rphi_2d(d,l,degree=True,ro=2.*numpy.sqrt(2.),
phio=10.)
assert numpy.fabs(r-2.) < 10.**-10., 'dl_to_rphi_2d conversion did not work as expected'
assert numpy.fabs(phi-55.) < 10.**-10., 'dl_to_rphi_2d conversion did not work as expected'
#This is a different point, for array
d,l= 2., 45.
os= numpy.ones(2)
r,phi= bovy_coords.dl_to_rphi_2d(os*d,os*l,degree=True,
ro=2.*numpy.sqrt(2.),
phio=0.)
assert numpy.all(numpy.fabs(r-2.) < 10.**-10.), 'dl_to_rphi_2d conversion did not work as expected'
assert numpy.all(numpy.fabs(phi-45.) < 10.**-10.), 'dl_to_rphi_2d conversion did not work as expected'
#This is a different point, for list (which I support for some reason)
d,l= 2., 45.
r,phi= bovy_coords.dl_to_rphi_2d([d,d],[l,l],degree=True,
ro=2.*numpy.sqrt(2.),
phio=0.)
r= numpy.array(r)
phi= numpy.array(phi)
assert numpy.all(numpy.fabs(r-2.) < 10.**-10.), 'dl_to_rphi_2d conversion did not work as expected'
assert numpy.all(numpy.fabs(phi-45.) < 10.**-10.), 'dl_to_rphi_2d conversion did not work as expected'
return None
def test_rphi_to_dl_2d():
#This is a tangent point
r,phi= 6., numpy.arccos(0.75)
d,l= bovy_coords.rphi_to_dl_2d(r,phi,degree=False,ro=8.,phio=0.)
l= numpy.arcsin(0.75)
d= 6./numpy.tan(l)
assert numpy.fabs(d-6./numpy.tan(numpy.arcsin(0.75))) < 10.**-10., 'dl_to_rphi_2d conversion did not work as expected'
assert numpy.fabs(l-numpy.arcsin(0.75)) < 10.**-10., 'rphi_to_dl_2d conversion did not work as expected'
#This is another point
r,phi= 2., 55.
d,l= bovy_coords.rphi_to_dl_2d(r,phi,degree=True,ro=2.*numpy.sqrt(2.),
phio=10.)
assert numpy.fabs(d-2.) < 10.**-10., 'rphi_to_dl_2d conversion did not work as expected'
assert numpy.fabs(l-45.) < 10.**-10., 'rphi_to_dl_2d conversion did not work as expected'
#This is another point, for arrays
r,phi= 2., 45.
os= numpy.ones(2)
d,l= bovy_coords.rphi_to_dl_2d(os*r,os*phi,
degree=True,ro=2.*numpy.sqrt(2.),
phio=0.)
assert numpy.all(numpy.fabs(d-2.) < 10.**-10.), 'rphi_to_dl_2d conversion did not work as expected'
assert numpy.all(numpy.fabs(l-45.) < 10.**-10.), 'rphi_to_dl_2d conversion did not work as expected'
#This is another point, for lists, which for some reason I support
r,phi= 2., 45.
d,l= bovy_coords.rphi_to_dl_2d([r,r],[phi,phi],
degree=True,ro=2.*numpy.sqrt(2.),
phio=0.)
d= numpy.array(d)
l= numpy.array(l)
assert numpy.all(numpy.fabs(d-2.) < 10.**-10.), 'rphi_to_dl_2d conversion did not work as expected'
assert numpy.all(numpy.fabs(l-45.) < 10.**-10.), 'rphi_to_dl_2d conversion did not work as expected'
return None
def test_uv_to_Rz():
u, v= numpy.arccosh(5./3.), numpy.pi/6.
R,z= bovy_coords.uv_to_Rz(u,v,delta=3.)
assert numpy.fabs(R-2.) < 10.**-10., 'uv_to_Rz conversion did not work as expected'
assert numpy.fabs(z-2.5*numpy.sqrt(3.)) < 10.**-10., 'uv_to_Rz conversion did not work as expected'
#Also test for arrays
os= numpy.ones(2)
R,z= bovy_coords.uv_to_Rz(os*u,os*v,delta=3.)
assert numpy.all(numpy.fabs(R-2.) < 10.**-10.), 'uv_to_Rz conversion did not work as expected'
assert numpy.all(numpy.fabs(z-2.5*numpy.sqrt(3.)) < 10.**-10.), 'uv_to_Rz conversion did not work as expected'
return None
def test_Rz_to_uv():
u, v= numpy.arccosh(5./3.), numpy.pi/6.
ut,vt= bovy_coords.Rz_to_uv(*bovy_coords.uv_to_Rz(u,v,delta=3.),delta=3.)
assert numpy.fabs(ut-u) < 10.**-10., 'Rz_to_uvz conversion did not work as expected'
assert numpy.fabs(vt-v) < 10.**-10., 'Rz_to_uv conversion did not work as expected'
#Also test for arrays
os= numpy.ones(2)
ut,vt= bovy_coords.Rz_to_uv(*bovy_coords.uv_to_Rz(u*os,v*os,delta=3.),delta=3.)
assert numpy.all(numpy.fabs(ut-u) < 10.**-10.), 'Rz_to_uvz conversion did not work as expected'
assert numpy.all(numpy.fabs(vt-v) < 10.**-10.), 'Rz_to_uv conversion did not work as expected'
return None
def test_Rz_to_coshucosv():
u, v= numpy.arccosh(5./3.), numpy.pi/3.
R,z= bovy_coords.uv_to_Rz(u,v,delta=3.)
coshu,cosv= bovy_coords.Rz_to_coshucosv(R,z,delta=3.)
assert numpy.fabs(coshu-5./3.) < 10.**-10., 'Rz_to_coshucosv conversion did notwork as expected'
assert numpy.fabs(cosv-0.5) < 10.**-10., 'Rz_to_coshucosv conversion did notwork as expected'
#Also test for arrays
os= numpy.ones(2)
coshu,cosv= bovy_coords.Rz_to_coshucosv(R*os,z*os,delta=3.)
assert numpy.all(numpy.fabs(coshu-5./3.) < 10.**-10.), 'Rz_to_coshucosv conversion did notwork as expected'
assert numpy.all(numpy.fabs(cosv-0.5) < 10.**-10.), 'Rz_to_coshucosv conversion did notwork as expected'
return None
def test_lbd_to_XYZ_jac():
#Just position
l,b,d= 180.,30.,2.
jac= bovy_coords.lbd_to_XYZ_jac(l,b,d,degree=True)
assert numpy.fabs(jac[0,0]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[0,1]-numpy.pi/180.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[0,2]+numpy.sqrt(3.)/2.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[1,0]+numpy.sqrt(3.)*numpy.pi/180.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[1,1]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[1,2]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[2,0]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[2,1]-numpy.sqrt(3.)*numpy.pi/180.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[2,2]-0.5) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
#6D
l,b,d= 3.*numpy.pi/2.,numpy.pi/6.,2.
vr,pmll,pmbb= 10.,20.,-30.
jac= bovy_coords.lbd_to_XYZ_jac(l,b,d,vr,pmll,pmbb,degree=False)
assert numpy.fabs(jac[0,0]-numpy.sqrt(3.)) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[0,1]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[0,2]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[1,0]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[1,1]-1.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[1,2]+numpy.sqrt(3.)/2.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[2,0]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[2,1]-numpy.sqrt(3.)) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[2,2]-0.5) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.all(numpy.fabs(jac[:3,3:]) < 10.**-10.), 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[3,0]-numpy.sqrt(3.)/2.*vr+0.5*pmbb*d*4.74047) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[3,1]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[3,2]-pmll*4.74047) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[3,3]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[3,4]-d*4.74047) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[3,5]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[4,0]-pmll*d*4.74047) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[4,1]-vr/2.-numpy.sqrt(3.)/2.*d*pmbb*4.74047) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[4,2]-0.5*4.74047*pmbb) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[4,3]+numpy.sqrt(3.)/2.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[4,4]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[4,5]-4.74047) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[5,0]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[5,1]+0.5*d*4.74047*pmbb-numpy.sqrt(3.)/2.*vr) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[5,2]-numpy.sqrt(3.)/2.*4.74047*pmbb) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[5,3]-0.5) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[5,4]-0.) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
assert numpy.fabs(jac[5,5]-numpy.sqrt(3.)/2.*d*4.74047) < 10.**-10., 'lbd_to_XYZ_jac calculation did not work as expected'
return None
def test_cyl_to_rect_jac():
#Just position
R,phi,Z= 2., numpy.pi, 1.
jac= bovy_coords.cyl_to_rect_jac(R,phi,Z)
assert numpy.fabs(numpy.linalg.det(jac)-R) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[0,0]+1.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[0,1]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[0,2]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[1,0]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[1,1]+2.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[1,2]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[2,0]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[2,1]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[2,2]-1.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
#6D
R,phi,Z= 2., numpy.pi, 1.
vR,vT,vZ= 1.,2.,3.
jac= bovy_coords.cyl_to_rect_jac(R,vR,vT,Z,vZ,phi)
vindx= numpy.array([False,True,True,False,True,False],dtype='bool')
assert numpy.fabs(numpy.linalg.det(jac)-R) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[0,0]+1.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[0,5]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[0,3]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.all(numpy.fabs(jac[0,vindx]) < 10.**-10.), 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[1,0]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[1,5]+2.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[1,3]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.all(numpy.fabs(jac[1,vindx]) < 10.**-10.), 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[2,0]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[2,5]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[2,3]-1.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.all(numpy.fabs(jac[2,vindx]) < 10.**-10.), 'cyl_to_rect_jac calculation did not work as expected'
#Velocities
assert numpy.fabs(jac[3,0]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[3,1]+1.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[3,2]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[3,3]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[3,4]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[3,5]-2.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[4,0]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[4,1]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[4,2]+1.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[4,3]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[4,4]-0.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[4,5]+1.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.all(numpy.fabs(jac[5,numpy.array([True,True,True,True,False,True],dtype='bool')]-0.) < 10.**-10.), 'cyl_to_rect_jac calculation did not work as expected'
assert numpy.fabs(jac[5,4]-1.) < 10.**-10., 'cyl_to_rect_jac calculation did not work as expected'
return None
| 65.651882 | 184 | 0.62729 | 7,908 | 48,845 | 3.734573 | 0.032246 | 0.03833 | 0.074053 | 0.139877 | 0.931433 | 0.916162 | 0.881489 | 0.869874 | 0.853384 | 0.82914 | 0 | 0.069709 | 0.223482 | 48,845 | 743 | 185 | 65.740242 | 0.70893 | 0.03505 | 0 | 0.477658 | 0 | 0 | 0.296382 | 0.011153 | 0 | 0 | 0 | 0 | 0.405239 | 1 | 0.046225 | false | 0.001541 | 0.006163 | 0 | 0.097072 | 0.001541 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.