blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
125f3eca8985b6337481c57ecb01d50d4d12cd2f
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_25145.py
cc20ebccbcceb580e0202cead14e2afc85781e87
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
# How to find / import the win32security in python? import
6d3560c2179b9703d5955c377a9989b5a7a236c0
34d88082307281333ef4aeeec012a3ff5f8ec06e
/w3resource/basic/Q098.py
c3ed4f05918371d4d44df3cbbb34edc91b0fb439
[]
no_license
JKChang2015/Python
a6f8b56fa3f9943682470ae57e5ad3266feb47a7
adf3173263418aee5d32f96b9ea3bf416c43cc7b
refs/heads/master
2022-12-12T12:24:48.682712
2021-07-30T22:27:41
2021-07-30T22:27:41
80,747,432
1
8
null
2022-12-08T04:32:06
2017-02-02T17:05:19
HTML
UTF-8
Python
false
false
148
py
# -*- coding: UTF-8 -*- # Q098 # Created by JKChang # Wed, 31/05/2017, 15:34 # Tag: # Description: Write a Python program to get the system time.
31ee5c556c25850ddd15704dede4c1ff0190e717
83e2824b060cea6290563a63dfc5a2caaddccc32
/problem019.py
3ab4e40b4de9a056bbdaac0afe9cb807e5089a42
[]
no_license
1tux/project_euler
b8f731155eb59c5cdb92efe68f0140695c5b6353
9a6c04d08a77d6e80eb15d203c8003870645415a
refs/heads/master
2021-01-09T20:17:35.502613
2016-10-03T16:19:50
2016-10-03T16:19:50
61,938,647
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
import datetime c = 0 for x in xrange(1901, 2001): for y in xrange(1, 13): if datetime.date(x, y, 1).weekday() == 1: c+=1 print c
[ "root" ]
root
f040059ed129aa620990f466c803b2a2a026b103
00a3f91db1e0bd349a0a120d8980429363446d67
/api/migrations/0004_merge_20180805_1637.py
a0c874598dea406d580c4e4f2a4cf32728b0e65b
[]
no_license
junkluis/cenecu_web
59130894d0584479b352fcd7a119aa2c6185a5e5
078b59308a93e40514b63c130c4506f98f929be4
refs/heads/master
2020-03-25T09:08:02.327198
2018-08-05T21:42:21
2018-08-05T21:42:21
143,649,219
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-08-05 21:37 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0003_auto_20180730_0141'), ('api', '0003_auto_20180729_2237'), ] operations = [ ]
d51f21fe04ab46c872361e77f688ddde25e6690d
1ba68429cd4a1654a66dd7b0a7b8e91f81798073
/cart/admin.py
25928702bc82acc30d13248cd482e57f5dc03454
[]
no_license
crowdbotics-apps/test-002-31939
097234cc8a8870e39ece59640ad66a14c641b708
d669523f2ed3681d487d4a1a65645a642c6413c1
refs/heads/master
2023-08-29T21:34:54.106718
2021-11-12T17:25:07
2021-11-12T17:25:07
427,392,814
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
from django.contrib import admin from .models import Content, Product admin.site.register(Product) admin.site.register(Content) # Register your models here.
fb47a23ad30dfd0ef95a58c450969c5796386e1e
d83f50302702d6bf46c266b8117514c6d2e5d863
/wiggle-sort-ii.py
4e805ab4c2cb628a233a145c8732759446925784
[]
no_license
sfdye/leetcode
19764a6bdb82de114a2c82986864b1b2210c6d90
afc686acdda4168f4384e13fb730e17f4bdcd553
refs/heads/master
2020-03-20T07:58:52.128062
2019-05-05T08:10:41
2019-05-05T08:10:41
137,295,892
3
0
null
null
null
null
UTF-8
Python
false
false
285
py
class Solution: def wiggleSort(self, nums): """ :type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead. """ for i, num in enumerate(sorted(nums)[::-1]): nums[(i * 2 + 1) % (len(nums) | 1)] = num
467a8932a4284ef0c6c865d87ef12e88ea571f4a
3e63608e1cad90bc845c4580723e57ae7ca3f61d
/tests/integration/cartography/intel/github/test_repos.py
e15966d14e0a223c390827fa7a4e0532c091831d
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
lyft/cartography
06dcbf13907cbb9a31b75cd8b21f5721f7cc1b01
830b8944879a01f52b21ee12b6fddf245f9733cb
refs/heads/master
2023-08-31T12:27:59.752452
2023-08-28T20:42:12
2023-08-28T20:42:12
172,811,550
2,778
334
Apache-2.0
2023-09-13T04:59:46
2019-02-27T00:16:29
Python
UTF-8
Python
false
false
8,701
py
import cartography.intel.github import tests.data.github.repos TEST_UPDATE_TAG = 123456789 TEST_JOB_PARAMS = {'UPDATE_TAG': TEST_UPDATE_TAG} TEST_GITHUB_URL = "https://fake.github.net/graphql/" def _ensure_local_neo4j_has_test_data(neo4j_session): repo_data = cartography.intel.github.repos.transform(tests.data.github.repos.GET_REPOS) cartography.intel.github.repos.load( neo4j_session, TEST_JOB_PARAMS, repo_data, ) def test_transform_and_load_repositories(neo4j_session): """ Test that we can correctly transform and load GitHubRepository nodes to Neo4j. """ repositories_res = tests.data.github.repos.GET_REPOS repos_data = cartography.intel.github.repos.transform(repositories_res) cartography.intel.github.repos.load_github_repos( neo4j_session, TEST_UPDATE_TAG, repos_data['repos'], ) nodes = neo4j_session.run( "MATCH(repo:GitHubRepository) RETURN repo.id", ) actual_nodes = {n['repo.id'] for n in nodes} expected_nodes = { "https://github.com/example_org/sample_repo", "https://github.com/example_org/SampleRepo2", "https://github.com/lyft/cartography", } assert actual_nodes == expected_nodes def test_transform_and_load_repository_owners(neo4j_session): """ Ensure we can transform and load GitHub repository owner nodes. """ repositories_res = tests.data.github.repos.GET_REPOS repos_data = cartography.intel.github.repos.transform(repositories_res) cartography.intel.github.repos.load_github_owners( neo4j_session, TEST_UPDATE_TAG, repos_data['repo_owners'], ) nodes = neo4j_session.run( "MATCH(owner:GitHubOrganization) RETURN owner.id", ) actual_nodes = {n['owner.id'] for n in nodes} expected_nodes = { 'https://github.com/example_org', } assert actual_nodes == expected_nodes def test_transform_and_load_repository_languages(neo4j_session): """ Ensure we can transform and load GitHub repository languages nodes. """ repositories_res = tests.data.github.repos.GET_REPOS repos_data = cartography.intel.github.repos.transform(repositories_res) cartography.intel.github.repos.load_github_languages( neo4j_session, TEST_UPDATE_TAG, repos_data['repo_languages'], ) nodes = neo4j_session.run( "MATCH(pl:ProgrammingLanguage) RETURN pl.id", ) actual_nodes = {n['pl.id'] for n in nodes} expected_nodes = { 'Python', 'Makefile', } assert actual_nodes == expected_nodes def test_repository_to_owners(neo4j_session): """ Ensure that repositories are connected to owners. """ _ensure_local_neo4j_has_test_data(neo4j_session) query = """ MATCH(owner:GitHubOrganization)<-[:OWNER]-(repo:GitHubRepository{id:$RepositoryId}) RETURN owner.username, repo.id, repo.name """ expected_repository_id = 'https://github.com/example_org/SampleRepo2' nodes = neo4j_session.run( query, RepositoryId=expected_repository_id, ) actual_nodes = { ( n['owner.username'], n['repo.id'], n['repo.name'], ) for n in nodes } expected_nodes = { ( 'example_org', 'https://github.com/example_org/SampleRepo2', 'SampleRepo2', ), } assert actual_nodes == expected_nodes def test_repository_to_branches(neo4j_session): """ Ensure that repositories are connected to branches. """ _ensure_local_neo4j_has_test_data(neo4j_session) query = """ MATCH(branch:GitHubBranch)<-[:BRANCH]-(repo:GitHubRepository{id:$RepositoryId}) RETURN branch.name, repo.id, repo.name """ expected_repository_id = 'https://github.com/example_org/sample_repo' nodes = neo4j_session.run( query, RepositoryId=expected_repository_id, ) actual_nodes = { ( n['branch.name'], n['repo.id'], n['repo.name'], ) for n in nodes } expected_nodes = { ( 'master', 'https://github.com/example_org/sample_repo', 'sample_repo', ), } assert actual_nodes == expected_nodes def test_repository_to_languages(neo4j_session): """ Ensure that repositories are connected to languages. """ _ensure_local_neo4j_has_test_data(neo4j_session) query = """ MATCH(lang:ProgrammingLanguage)<-[:LANGUAGE]-(repo:GitHubRepository{id:$RepositoryId}) RETURN lang.name, repo.id, repo.name """ expected_repository_id = 'https://github.com/example_org/SampleRepo2' nodes = neo4j_session.run( query, RepositoryId=expected_repository_id, ) actual_nodes = { ( n['lang.name'], n['repo.id'], n['repo.name'], ) for n in nodes } expected_nodes = { ( 'Python', 'https://github.com/example_org/SampleRepo2', 'SampleRepo2', ), } assert actual_nodes == expected_nodes def test_repository_to_collaborators(neo4j_session): _ensure_local_neo4j_has_test_data(neo4j_session) nodes = neo4j_session.run(""" MATCH (repo:GitHubRepository{name:"cartography"})<-[:OUTSIDE_COLLAB_WRITE]-(user:GitHubUser) RETURN count(user.username) as collab_count """) actual_nodes = {n['collab_count'] for n in nodes} expected_nodes = {5} assert actual_nodes == expected_nodes def test_pinned_python_library_to_repo(neo4j_session): """ Ensure that repositories are connected to pinned Python libraries stated as dependencies in requirements.txt. Create the path (:RepoA)-[:REQUIRES{specifier:"0.1.0"}]->(:PythonLibrary{'Cartography'})<-[:REQUIRES]-(:RepoB), and verify that exactly 1 repo is connected to the PythonLibrary with a specifier (RepoA). """ _ensure_local_neo4j_has_test_data(neo4j_session) # Note: don't query for relationship attributes in code that needs to be fast. query = """ MATCH (repo:GitHubRepository)-[r:REQUIRES]->(lib:PythonLibrary{id:'cartography|0.1.0'}) WHERE lib.version = "0.1.0" RETURN count(repo) as repo_count """ nodes = neo4j_session.run(query) actual_nodes = {n['repo_count'] for n in nodes} expected_nodes = {1} assert actual_nodes == expected_nodes def test_upinned_python_library_to_repo(neo4j_session): """ Ensure that repositories are connected to un-pinned Python libraries stated as dependencies in requirements.txt. That is, create the path (:RepoA)-[r:REQUIRES{specifier:"0.1.0"}]->(:PythonLibrary{'Cartography'})<-[:REQUIRES]-(:RepoB), and verify that exactly 1 repo is connected to the PythonLibrary without using a pinned specifier (RepoB). """ _ensure_local_neo4j_has_test_data(neo4j_session) # Note: don't query for relationship attributes in code that needs to be fast. query = """ MATCH (repo:GitHubRepository)-[r:REQUIRES]->(lib:PythonLibrary{id:'cartography'}) WHERE r.specifier is NULL RETURN count(repo) as repo_count """ nodes = neo4j_session.run(query) actual_nodes = {n['repo_count'] for n in nodes} expected_nodes = {1} assert actual_nodes == expected_nodes def test_setup_cfg_library_to_repo(neo4j_session): """ Ensure that repositories are connected to Python libraries stated as dependencies in setup.cfg. and verify that exactly 2 repos are connected to the PythonLibrary. """ _ensure_local_neo4j_has_test_data(neo4j_session) # Note: don't query for relationship attributes in code that needs to be fast. query = """ MATCH (repo:GitHubRepository)-[r:REQUIRES]->(lib:PythonLibrary{id:'neo4j'}) RETURN count(repo) as repo_count """ nodes = neo4j_session.run(query) actual_nodes = {n['repo_count'] for n in nodes} expected_nodes = {2} assert actual_nodes == expected_nodes def test_python_library_in_multiple_requirements_files(neo4j_session): """ Ensure that repositories are connected to Python libraries stated as dependencies in both setup.cfg and requirements.txt. Ensures that if the dependency has different specifiers in each file, a separate node is created for each. """ _ensure_local_neo4j_has_test_data(neo4j_session) query = """ MATCH (repo:GitHubRepository)-[r:REQUIRES]->(lib:PythonLibrary{name:'okta'}) RETURN lib.id as lib_ids """ nodes = neo4j_session.run(query) node_ids = {n['lib_ids'] for n in nodes} assert len(node_ids) == 2 assert node_ids == {'okta', 'okta|0.9.0'}
fdc19d0a4f81488f5c242f4dfcda161c70c25497
a8d3471d8d2fa914a0f8bab0495b115e70538430
/handler.py
86e8d3670ac9432144feb56e01bd3d420ea7f28b
[]
no_license
davidbegin/morguebot
a03bbfa46cbfd6b916ace98a2f476e44d4843349
f62d75917d13b4a443c0f3c8e00f7dd82720d9f3
refs/heads/master
2022-12-22T14:52:20.398139
2020-01-17T15:56:04
2020-01-17T15:56:04
213,519,437
8
0
null
2022-12-08T06:49:48
2019-10-08T01:16:15
Python
UTF-8
Python
false
false
529
py
import json import os from glm.generic_lambda_handler import lambda_handler as generic_lambda_handler from flask_app import app import xl_bot import dungeon_gossiper def async_handler(messages, context): print(messages) def lambda_handler(event, context): result = generic_lambda_handler( event=event, context=context, flask_app=app, async_handler=async_handler ) print("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@") print(f"{result}") print("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@") return result
4ca726894e8a47f19d38fc009e00fb4aaa6896df
bf4be1f469b049dccf41807514a168400e48cdd1
/Related Topics/Bit Manipulation/201. Bitwise AND of Numbers Range.py
c38348cbfcb27e1311a88564532ee0347c21b603
[]
no_license
billgoo/LeetCode_Solution
8bde6844ecc44c61a914f9c88030d8d3e724c947
360d144cee86aae877b6187a07f1957e673c3592
refs/heads/master
2022-04-26T16:10:00.380910
2022-04-20T04:54:06
2022-04-20T04:54:06
155,243,219
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
class Solution: def rangeBitwiseAnd(self, m: int, n: int) -> int: # bits shift """ e = 0 while m != n: m >>= 1 n >>= 1 e += 1 return m << e """ # Brian Kernighan's Algorithm # n & (n - 1) will remove the right most bits: 1100 & 1011 = 1000 while m < n: n &= (n - 1) return m & n
073c3efb2dc0e05f5668c065c6a14749d6d65f4c
0e25dc15ae9efce8bfd716d4d2041da07767968b
/qbench/benchmarks/RevLib/OPENQL_converted/cycle10_2_110.py
38015650e921d4e45307087e364e05df9a9bb531
[]
no_license
alxhotel/crossbar-bench
f608fc0062b4f8a5162ec33d61c0204aaf27b6ff
3bf7536e7697d29c3089b0ba564ba22d39698b88
refs/heads/master
2021-07-13T16:06:50.085838
2020-10-04T23:39:05
2020-10-04T23:39:05
213,409,122
3
1
null
null
null
null
UTF-8
Python
false
false
143,382
py
from openql import openql as ql import os import argparse def circuit(config_file, new_scheduler='yes', scheduler='ASAP', uniform_sched= 'no', sched_commute = 'yes', mapper='base', moves='no', maptiebreak='random', initial_placement='no', output_dir_name='test_output', optimize='no', measurement=True, log_level='LOG_WARNING'): curdir = os.path.dirname(__file__) output_dir = os.path.join(curdir, output_dir_name) ql.set_option('output_dir', output_dir) ql.set_option('optimize', optimize) ql.set_option('scheduler', scheduler) ql.set_option('scheduler_uniform', uniform_sched) ql.set_option('mapper', mapper) ql.set_option('initialplace', initial_placement) ql.set_option('log_level', log_level) ql.set_option('scheduler_post179', new_scheduler) ql.set_option('scheduler_commute', sched_commute) ql.set_option('mapusemoves', moves) ql.set_option('maptiebreak', maptiebreak) config_fn = os.path.join(curdir, config_file) # platform = ql.Platform('platform_none', config_fn) platform = ql.Platform('starmon', config_fn) sweep_points = [1,2] num_circuits = 1 num_qubits = 12 p = ql.Program('cycle10_2_110', platform, num_qubits) p.set_sweep_points(sweep_points, num_circuits) k = ql.Kernel('cycle10_2_110', platform, num_qubits) k.gate('h',[0]) k.gate('t',[4]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,4]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('tdag',[11]) k.gate('cnot',[4,11]) k.gate('tdag',[4]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('cnot',[11,4]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[10]) k.gate('cnot',[2,1]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[10]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('cnot',[2,1]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[0]) k.gate('t',[4]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,4]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('tdag',[11]) k.gate('cnot',[4,11]) k.gate('tdag',[4]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('cnot',[11,4]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[10]) k.gate('cnot',[2,1]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[10]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('cnot',[2,1]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[9]) k.gate('cnot',[10,0]) k.gate('cnot',[9,10]) k.gate('cnot',[0,9]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[9]) k.gate('cnot',[9,10]) k.gate('cnot',[0,9]) k.gate('cnot',[10,0]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[10]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('h',[10]) k.gate('h',[4]) k.gate('t',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('tdag',[3]) k.gate('cnot',[8,3]) k.gate('tdag',[8]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('h',[4]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[2]) k.gate('cnot',[6,5]) k.gate('cnot',[2,6]) k.gate('cnot',[5,2]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[2]) k.gate('cnot',[2,6]) k.gate('cnot',[5,2]) k.gate('cnot',[6,5]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[4]) k.gate('t',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('tdag',[3]) k.gate('cnot',[8,3]) k.gate('tdag',[8]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('h',[4]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[10]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[9]) k.gate('cnot',[10,0]) k.gate('cnot',[9,10]) k.gate('cnot',[0,9]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[9]) k.gate('cnot',[9,10]) k.gate('cnot',[0,9]) k.gate('cnot',[10,0]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[10]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('h',[10]) k.gate('h',[4]) k.gate('t',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('tdag',[3]) k.gate('cnot',[8,3]) k.gate('tdag',[8]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('h',[4]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[2]) k.gate('cnot',[6,5]) k.gate('cnot',[2,6]) k.gate('cnot',[5,2]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[2]) k.gate('cnot',[2,6]) k.gate('cnot',[5,2]) k.gate('cnot',[6,5]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[4]) k.gate('t',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('tdag',[3]) k.gate('cnot',[8,3]) k.gate('tdag',[8]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('h',[4]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[10]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('h',[10]) k.gate('h',[0]) k.gate('t',[4]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,4]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('tdag',[11]) k.gate('cnot',[4,11]) k.gate('tdag',[4]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('cnot',[11,4]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[10]) k.gate('cnot',[2,1]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[10]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('cnot',[2,1]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[0]) k.gate('t',[4]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,4]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('tdag',[11]) k.gate('cnot',[4,11]) k.gate('tdag',[4]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('cnot',[11,4]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[10]) k.gate('cnot',[2,1]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[10]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('cnot',[2,1]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[9]) k.gate('cnot',[10,0]) k.gate('cnot',[9,10]) k.gate('cnot',[0,9]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[9]) k.gate('cnot',[9,10]) k.gate('cnot',[0,9]) k.gate('cnot',[10,0]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[10]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('h',[10]) k.gate('h',[4]) k.gate('t',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('tdag',[3]) k.gate('cnot',[8,3]) k.gate('tdag',[8]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('h',[4]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[2]) k.gate('cnot',[6,5]) k.gate('cnot',[2,6]) k.gate('cnot',[5,2]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[2]) k.gate('cnot',[2,6]) k.gate('cnot',[5,2]) k.gate('cnot',[6,5]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[4]) k.gate('t',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('tdag',[3]) k.gate('cnot',[8,3]) k.gate('tdag',[8]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('h',[4]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[10]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[9]) k.gate('cnot',[10,0]) k.gate('cnot',[9,10]) k.gate('cnot',[0,9]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[9]) k.gate('cnot',[9,10]) k.gate('cnot',[0,9]) k.gate('cnot',[10,0]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[10]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('h',[10]) k.gate('h',[4]) k.gate('t',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('tdag',[3]) k.gate('cnot',[8,3]) k.gate('tdag',[8]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('h',[4]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[2]) k.gate('cnot',[6,5]) k.gate('cnot',[2,6]) k.gate('cnot',[5,2]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[2]) k.gate('cnot',[2,6]) k.gate('cnot',[5,2]) k.gate('cnot',[6,5]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[4]) k.gate('t',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('tdag',[3]) k.gate('cnot',[8,3]) k.gate('tdag',[8]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('h',[4]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[10]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('h',[10]) k.gate('h',[0]) k.gate('t',[4]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,4]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('tdag',[11]) k.gate('cnot',[4,11]) k.gate('tdag',[4]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('cnot',[11,4]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[10]) k.gate('cnot',[2,1]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[10]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('cnot',[2,1]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[0]) k.gate('t',[4]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,4]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('tdag',[11]) k.gate('cnot',[4,11]) k.gate('tdag',[4]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('cnot',[11,4]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[10]) k.gate('cnot',[2,1]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[10]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('cnot',[2,1]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[8]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[8]) k.gate('cnot',[10,0]) k.gate('cnot',[8,10]) k.gate('cnot',[0,8]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[8]) k.gate('cnot',[8,10]) k.gate('cnot',[0,8]) k.gate('cnot',[10,0]) k.gate('h',[8]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[7]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,7]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('tdag',[4]) k.gate('cnot',[7,4]) k.gate('tdag',[7]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('cnot',[4,7]) k.gate('h',[9]) k.gate('h',[4]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[4]) k.gate('cnot',[6,5]) k.gate('cnot',[4,6]) k.gate('cnot',[5,4]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[4]) k.gate('cnot',[4,6]) k.gate('cnot',[5,4]) k.gate('cnot',[6,5]) k.gate('h',[4]) k.gate('h',[9]) k.gate('t',[7]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,7]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('tdag',[4]) k.gate('cnot',[7,4]) k.gate('tdag',[7]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('cnot',[4,7]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[8]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[8]) k.gate('cnot',[10,0]) k.gate('cnot',[8,10]) k.gate('cnot',[0,8]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[8]) k.gate('cnot',[8,10]) k.gate('cnot',[0,8]) k.gate('cnot',[10,0]) k.gate('h',[8]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[7]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,7]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('tdag',[4]) k.gate('cnot',[7,4]) k.gate('tdag',[7]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('cnot',[4,7]) k.gate('h',[9]) k.gate('h',[4]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[4]) k.gate('cnot',[6,5]) k.gate('cnot',[4,6]) k.gate('cnot',[5,4]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[4]) k.gate('cnot',[4,6]) k.gate('cnot',[5,4]) k.gate('cnot',[6,5]) k.gate('h',[4]) k.gate('h',[9]) k.gate('t',[7]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,7]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('tdag',[4]) k.gate('cnot',[7,4]) k.gate('tdag',[7]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('cnot',[4,7]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[0]) k.gate('t',[4]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,4]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('tdag',[11]) k.gate('cnot',[4,11]) k.gate('tdag',[4]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('cnot',[11,4]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[10]) k.gate('cnot',[2,1]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[10]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('cnot',[2,1]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[0]) k.gate('t',[4]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,4]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('tdag',[11]) k.gate('cnot',[4,11]) k.gate('tdag',[4]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[4,0]) k.gate('cnot',[11,4]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[10]) k.gate('cnot',[2,1]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[10]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('cnot',[2,1]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('tdag',[10]) k.gate('cnot',[3,10]) k.gate('tdag',[3]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('h',[11]) k.gate('h',[8]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[8]) k.gate('cnot',[10,0]) k.gate('cnot',[8,10]) k.gate('cnot',[0,8]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[8]) k.gate('cnot',[8,10]) k.gate('cnot',[0,8]) k.gate('cnot',[10,0]) k.gate('h',[8]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[7]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,7]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('tdag',[4]) k.gate('cnot',[7,4]) k.gate('tdag',[7]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('cnot',[4,7]) k.gate('h',[9]) k.gate('h',[4]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[4]) k.gate('cnot',[6,5]) k.gate('cnot',[4,6]) k.gate('cnot',[5,4]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[4]) k.gate('cnot',[4,6]) k.gate('cnot',[5,4]) k.gate('cnot',[6,5]) k.gate('h',[4]) k.gate('h',[9]) k.gate('t',[7]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,7]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('tdag',[4]) k.gate('cnot',[7,4]) k.gate('tdag',[7]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('cnot',[4,7]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[8]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[8]) k.gate('cnot',[10,0]) k.gate('cnot',[8,10]) k.gate('cnot',[0,8]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[8]) k.gate('cnot',[8,10]) k.gate('cnot',[0,8]) k.gate('cnot',[10,0]) k.gate('h',[8]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[7]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,7]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('tdag',[4]) k.gate('cnot',[7,4]) k.gate('tdag',[7]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('cnot',[4,7]) k.gate('h',[9]) k.gate('h',[4]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[4]) k.gate('cnot',[6,5]) k.gate('cnot',[4,6]) k.gate('cnot',[5,4]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[4]) k.gate('cnot',[4,6]) k.gate('cnot',[5,4]) k.gate('cnot',[6,5]) k.gate('h',[4]) k.gate('h',[9]) k.gate('t',[7]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,7]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('tdag',[4]) k.gate('cnot',[7,4]) k.gate('tdag',[7]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[7,9]) k.gate('cnot',[4,7]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[0]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,3]) k.gate('cnot',[0,11]) k.gate('cnot',[3,0]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[3,0]) k.gate('cnot',[11,3]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[11]) k.gate('cnot',[2,1]) k.gate('cnot',[11,2]) k.gate('cnot',[1,11]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[11]) k.gate('cnot',[11,2]) k.gate('cnot',[1,11]) k.gate('cnot',[2,1]) k.gate('h',[11]) k.gate('h',[0]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,3]) k.gate('cnot',[0,11]) k.gate('cnot',[3,0]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[3,0]) k.gate('cnot',[11,3]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[11]) k.gate('cnot',[2,1]) k.gate('cnot',[11,2]) k.gate('cnot',[1,11]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[11]) k.gate('cnot',[11,2]) k.gate('cnot',[1,11]) k.gate('cnot',[2,1]) k.gate('h',[11]) k.gate('h',[7]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[7]) k.gate('cnot',[10,0]) k.gate('cnot',[7,10]) k.gate('cnot',[0,7]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[7]) k.gate('cnot',[7,10]) k.gate('cnot',[0,7]) k.gate('cnot',[10,0]) k.gate('h',[7]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,6]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('tdag',[8]) k.gate('cnot',[6,8]) k.gate('tdag',[6]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('cnot',[8,6]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[8]) k.gate('cnot',[5,4]) k.gate('cnot',[8,5]) k.gate('cnot',[4,8]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[8]) k.gate('cnot',[8,5]) k.gate('cnot',[4,8]) k.gate('cnot',[5,4]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,6]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('tdag',[8]) k.gate('cnot',[6,8]) k.gate('tdag',[6]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('cnot',[8,6]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[7]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[7]) k.gate('cnot',[10,0]) k.gate('cnot',[7,10]) k.gate('cnot',[0,7]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[7]) k.gate('cnot',[7,10]) k.gate('cnot',[0,7]) k.gate('cnot',[10,0]) k.gate('h',[7]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,6]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('tdag',[8]) k.gate('cnot',[6,8]) k.gate('tdag',[6]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('cnot',[8,6]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[8]) k.gate('cnot',[5,4]) k.gate('cnot',[8,5]) k.gate('cnot',[4,8]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[8]) k.gate('cnot',[8,5]) k.gate('cnot',[4,8]) k.gate('cnot',[5,4]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,6]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('tdag',[8]) k.gate('cnot',[6,8]) k.gate('tdag',[6]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('cnot',[8,6]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[0]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,3]) k.gate('cnot',[0,11]) k.gate('cnot',[3,0]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[3,0]) k.gate('cnot',[11,3]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[11]) k.gate('cnot',[2,1]) k.gate('cnot',[11,2]) k.gate('cnot',[1,11]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[11]) k.gate('cnot',[11,2]) k.gate('cnot',[1,11]) k.gate('cnot',[2,1]) k.gate('h',[11]) k.gate('h',[0]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[0]) k.gate('cnot',[11,3]) k.gate('cnot',[0,11]) k.gate('cnot',[3,0]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[0]) k.gate('cnot',[0,11]) k.gate('cnot',[3,0]) k.gate('cnot',[11,3]) k.gate('h',[0]) k.gate('h',[11]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[11]) k.gate('cnot',[2,1]) k.gate('cnot',[11,2]) k.gate('cnot',[1,11]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[11]) k.gate('cnot',[11,2]) k.gate('cnot',[1,11]) k.gate('cnot',[2,1]) k.gate('h',[11]) k.gate('h',[7]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[7]) k.gate('cnot',[10,0]) k.gate('cnot',[7,10]) k.gate('cnot',[0,7]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[7]) k.gate('cnot',[7,10]) k.gate('cnot',[0,7]) k.gate('cnot',[10,0]) k.gate('h',[7]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,6]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('tdag',[8]) k.gate('cnot',[6,8]) k.gate('tdag',[6]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('cnot',[8,6]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[8]) k.gate('cnot',[5,4]) k.gate('cnot',[8,5]) k.gate('cnot',[4,8]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[8]) k.gate('cnot',[8,5]) k.gate('cnot',[4,8]) k.gate('cnot',[5,4]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,6]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('tdag',[8]) k.gate('cnot',[6,8]) k.gate('tdag',[6]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('cnot',[8,6]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[7]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[7]) k.gate('cnot',[10,0]) k.gate('cnot',[7,10]) k.gate('cnot',[0,7]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[7]) k.gate('cnot',[7,10]) k.gate('cnot',[0,7]) k.gate('cnot',[10,0]) k.gate('h',[7]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,6]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('tdag',[8]) k.gate('cnot',[6,8]) k.gate('tdag',[6]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('cnot',[8,6]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[8]) k.gate('cnot',[5,4]) k.gate('cnot',[8,5]) k.gate('cnot',[4,8]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[8]) k.gate('cnot',[8,5]) k.gate('cnot',[4,8]) k.gate('cnot',[5,4]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,6]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('tdag',[8]) k.gate('cnot',[6,8]) k.gate('tdag',[6]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[6,9]) k.gate('cnot',[8,6]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[11]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,11]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('tdag',[9]) k.gate('cnot',[11,9]) k.gate('tdag',[11]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[11,10]) k.gate('cnot',[9,11]) k.gate('h',[10]) k.gate('h',[6]) k.gate('t',[11]) k.gate('t',[10]) k.gate('t',[6]) k.gate('cnot',[10,11]) k.gate('cnot',[6,10]) k.gate('cnot',[11,6]) k.gate('tdag',[10]) k.gate('cnot',[11,10]) k.gate('tdag',[11]) k.gate('tdag',[10]) k.gate('t',[6]) k.gate('cnot',[6,10]) k.gate('cnot',[11,6]) k.gate('cnot',[10,11]) k.gate('h',[6]) k.gate('h',[10]) k.gate('t',[5]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,5]) k.gate('cnot',[10,9]) k.gate('cnot',[5,10]) k.gate('tdag',[9]) k.gate('cnot',[5,9]) k.gate('tdag',[5]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[5,10]) k.gate('cnot',[9,5]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[4]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,4]) k.gate('cnot',[9,8]) k.gate('cnot',[4,9]) k.gate('tdag',[8]) k.gate('cnot',[4,8]) k.gate('tdag',[4]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[4,9]) k.gate('cnot',[8,4]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[7]) k.gate('t',[8]) k.gate('cnot',[7,3]) k.gate('cnot',[8,7]) k.gate('cnot',[3,8]) k.gate('tdag',[7]) k.gate('cnot',[3,7]) k.gate('tdag',[3]) k.gate('tdag',[7]) k.gate('t',[8]) k.gate('cnot',[8,7]) k.gate('cnot',[3,8]) k.gate('cnot',[7,3]) k.gate('h',[8]) k.gate('h',[7]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[7]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[7]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('cnot',[2,1]) k.gate('h',[7]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[7]) k.gate('t',[8]) k.gate('cnot',[7,3]) k.gate('cnot',[8,7]) k.gate('cnot',[3,8]) k.gate('tdag',[7]) k.gate('cnot',[3,7]) k.gate('tdag',[3]) k.gate('tdag',[7]) k.gate('t',[8]) k.gate('cnot',[8,7]) k.gate('cnot',[3,8]) k.gate('cnot',[7,3]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[4]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,4]) k.gate('cnot',[9,8]) k.gate('cnot',[4,9]) k.gate('tdag',[8]) k.gate('cnot',[4,8]) k.gate('tdag',[4]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[4,9]) k.gate('cnot',[8,4]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[5]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,5]) k.gate('cnot',[10,9]) k.gate('cnot',[5,10]) k.gate('tdag',[9]) k.gate('cnot',[5,9]) k.gate('tdag',[5]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[5,10]) k.gate('cnot',[9,5]) k.gate('h',[10]) k.gate('h',[6]) k.gate('t',[11]) k.gate('t',[10]) k.gate('t',[6]) k.gate('cnot',[10,11]) k.gate('cnot',[6,10]) k.gate('cnot',[11,6]) k.gate('tdag',[10]) k.gate('cnot',[11,10]) k.gate('tdag',[11]) k.gate('tdag',[10]) k.gate('t',[6]) k.gate('cnot',[6,10]) k.gate('cnot',[11,6]) k.gate('cnot',[10,11]) k.gate('h',[6]) k.gate('h',[10]) k.gate('t',[5]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,5]) k.gate('cnot',[10,9]) k.gate('cnot',[5,10]) k.gate('tdag',[9]) k.gate('cnot',[5,9]) k.gate('tdag',[5]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[5,10]) k.gate('cnot',[9,5]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[4]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,4]) k.gate('cnot',[9,8]) k.gate('cnot',[4,9]) k.gate('tdag',[8]) k.gate('cnot',[4,8]) k.gate('tdag',[4]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[4,9]) k.gate('cnot',[8,4]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[7]) k.gate('t',[8]) k.gate('cnot',[7,3]) k.gate('cnot',[8,7]) k.gate('cnot',[3,8]) k.gate('tdag',[7]) k.gate('cnot',[3,7]) k.gate('tdag',[3]) k.gate('tdag',[7]) k.gate('t',[8]) k.gate('cnot',[8,7]) k.gate('cnot',[3,8]) k.gate('cnot',[7,3]) k.gate('h',[8]) k.gate('h',[7]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[7]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[7]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('cnot',[2,1]) k.gate('h',[7]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[7]) k.gate('t',[8]) k.gate('cnot',[7,3]) k.gate('cnot',[8,7]) k.gate('cnot',[3,8]) k.gate('tdag',[7]) k.gate('cnot',[3,7]) k.gate('tdag',[3]) k.gate('tdag',[7]) k.gate('t',[8]) k.gate('cnot',[8,7]) k.gate('cnot',[3,8]) k.gate('cnot',[7,3]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[4]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,4]) k.gate('cnot',[9,8]) k.gate('cnot',[4,9]) k.gate('tdag',[8]) k.gate('cnot',[4,8]) k.gate('tdag',[4]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[4,9]) k.gate('cnot',[8,4]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[5]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,5]) k.gate('cnot',[10,9]) k.gate('cnot',[5,10]) k.gate('tdag',[9]) k.gate('cnot',[5,9]) k.gate('tdag',[5]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[5,10]) k.gate('cnot',[9,5]) k.gate('h',[10]) k.gate('h',[5]) k.gate('t',[11]) k.gate('t',[10]) k.gate('t',[5]) k.gate('cnot',[10,11]) k.gate('cnot',[5,10]) k.gate('cnot',[11,5]) k.gate('tdag',[10]) k.gate('cnot',[11,10]) k.gate('tdag',[11]) k.gate('tdag',[10]) k.gate('t',[5]) k.gate('cnot',[5,10]) k.gate('cnot',[11,5]) k.gate('cnot',[10,11]) k.gate('h',[5]) k.gate('h',[10]) k.gate('t',[4]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,4]) k.gate('cnot',[10,9]) k.gate('cnot',[4,10]) k.gate('tdag',[9]) k.gate('cnot',[4,9]) k.gate('tdag',[4]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[4,10]) k.gate('cnot',[9,4]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,3]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('tdag',[8]) k.gate('cnot',[3,8]) k.gate('tdag',[3]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('cnot',[8,3]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[8]) k.gate('cnot',[2,1]) k.gate('cnot',[8,2]) k.gate('cnot',[1,8]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[8]) k.gate('cnot',[8,2]) k.gate('cnot',[1,8]) k.gate('cnot',[2,1]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,3]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('tdag',[8]) k.gate('cnot',[3,8]) k.gate('tdag',[3]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('cnot',[8,3]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[4]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,4]) k.gate('cnot',[10,9]) k.gate('cnot',[4,10]) k.gate('tdag',[9]) k.gate('cnot',[4,9]) k.gate('tdag',[4]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[4,10]) k.gate('cnot',[9,4]) k.gate('h',[10]) k.gate('h',[5]) k.gate('t',[11]) k.gate('t',[10]) k.gate('t',[5]) k.gate('cnot',[10,11]) k.gate('cnot',[5,10]) k.gate('cnot',[11,5]) k.gate('tdag',[10]) k.gate('cnot',[11,10]) k.gate('tdag',[11]) k.gate('tdag',[10]) k.gate('t',[5]) k.gate('cnot',[5,10]) k.gate('cnot',[11,5]) k.gate('cnot',[10,11]) k.gate('h',[5]) k.gate('h',[10]) k.gate('t',[4]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,4]) k.gate('cnot',[10,9]) k.gate('cnot',[4,10]) k.gate('tdag',[9]) k.gate('cnot',[4,9]) k.gate('tdag',[4]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[4,10]) k.gate('cnot',[9,4]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,3]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('tdag',[8]) k.gate('cnot',[3,8]) k.gate('tdag',[3]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('cnot',[8,3]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[8]) k.gate('cnot',[2,1]) k.gate('cnot',[8,2]) k.gate('cnot',[1,8]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[8]) k.gate('cnot',[8,2]) k.gate('cnot',[1,8]) k.gate('cnot',[2,1]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,3]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('tdag',[8]) k.gate('cnot',[3,8]) k.gate('tdag',[3]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('cnot',[8,3]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[4]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,4]) k.gate('cnot',[10,9]) k.gate('cnot',[4,10]) k.gate('tdag',[9]) k.gate('cnot',[4,9]) k.gate('tdag',[4]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[4,10]) k.gate('cnot',[9,4]) k.gate('h',[10]) k.gate('h',[4]) k.gate('t',[11]) k.gate('t',[10]) k.gate('t',[4]) k.gate('cnot',[10,11]) k.gate('cnot',[4,10]) k.gate('cnot',[11,4]) k.gate('tdag',[10]) k.gate('cnot',[11,10]) k.gate('tdag',[11]) k.gate('tdag',[10]) k.gate('t',[4]) k.gate('cnot',[4,10]) k.gate('cnot',[11,4]) k.gate('cnot',[10,11]) k.gate('h',[4]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[9]) k.gate('cnot',[2,1]) k.gate('cnot',[9,2]) k.gate('cnot',[1,9]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[9]) k.gate('cnot',[9,2]) k.gate('cnot',[1,9]) k.gate('cnot',[2,1]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[4]) k.gate('t',[11]) k.gate('t',[10]) k.gate('t',[4]) k.gate('cnot',[10,11]) k.gate('cnot',[4,10]) k.gate('cnot',[11,4]) k.gate('tdag',[10]) k.gate('cnot',[11,10]) k.gate('tdag',[11]) k.gate('tdag',[10]) k.gate('t',[4]) k.gate('cnot',[4,10]) k.gate('cnot',[11,4]) k.gate('cnot',[10,11]) k.gate('h',[4]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[9]) k.gate('cnot',[2,1]) k.gate('cnot',[9,2]) k.gate('cnot',[1,9]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[9]) k.gate('cnot',[9,2]) k.gate('cnot',[1,9]) k.gate('cnot',[2,1]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[3]) k.gate('t',[11]) k.gate('t',[10]) k.gate('t',[3]) k.gate('cnot',[10,11]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('tdag',[10]) k.gate('cnot',[11,10]) k.gate('tdag',[11]) k.gate('tdag',[10]) k.gate('t',[3]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('h',[3]) k.gate('h',[10]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[10]) k.gate('cnot',[2,1]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[10]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('cnot',[2,1]) k.gate('h',[10]) k.gate('h',[3]) k.gate('t',[11]) k.gate('t',[10]) k.gate('t',[3]) k.gate('cnot',[10,11]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('tdag',[10]) k.gate('cnot',[11,10]) k.gate('tdag',[11]) k.gate('tdag',[10]) k.gate('t',[3]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('h',[3]) k.gate('h',[10]) k.gate('t',[1]) k.gate('t',[2]) k.gate('t',[10]) k.gate('cnot',[2,1]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('tdag',[2]) k.gate('cnot',[1,2]) k.gate('tdag',[1]) k.gate('tdag',[2]) k.gate('t',[10]) k.gate('cnot',[10,2]) k.gate('cnot',[1,10]) k.gate('cnot',[2,1]) k.gate('h',[10]) k.gate('h',[2]) k.gate('t',[1]) k.gate('t',[11]) k.gate('t',[2]) k.gate('cnot',[11,1]) k.gate('cnot',[2,11]) k.gate('cnot',[1,2]) k.gate('tdag',[11]) k.gate('cnot',[1,11]) k.gate('tdag',[1]) k.gate('tdag',[11]) k.gate('t',[2]) k.gate('cnot',[2,11]) k.gate('cnot',[1,2]) k.gate('cnot',[11,1]) k.gate('h',[2]) k.gate('cnot',[11,1]) k.gate('h',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('tdag',[10]) k.gate('cnot',[4,10]) k.gate('tdag',[4]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[8]) k.gate('cnot',[1,0]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[8]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('cnot',[1,0]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('tdag',[10]) k.gate('cnot',[4,10]) k.gate('tdag',[4]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[8]) k.gate('cnot',[1,0]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[8]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('cnot',[1,0]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,11]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('h',[9]) k.gate('h',[4]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,10]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('cnot',[3,10]) k.gate('h',[4]) k.gate('h',[3]) k.gate('t',[8]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,8]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('tdag',[2]) k.gate('cnot',[8,2]) k.gate('tdag',[8]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('cnot',[2,8]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[7]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,7]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('tdag',[1]) k.gate('cnot',[7,1]) k.gate('tdag',[7]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('h',[2]) k.gate('h',[1]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[1]) k.gate('cnot',[6,5]) k.gate('cnot',[1,6]) k.gate('cnot',[5,1]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[1]) k.gate('cnot',[1,6]) k.gate('cnot',[5,1]) k.gate('cnot',[6,5]) k.gate('h',[1]) k.gate('h',[2]) k.gate('t',[7]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,7]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('tdag',[1]) k.gate('cnot',[7,1]) k.gate('tdag',[7]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[8]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,8]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('tdag',[2]) k.gate('cnot',[8,2]) k.gate('tdag',[8]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('cnot',[2,8]) k.gate('h',[3]) k.gate('h',[4]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,10]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('cnot',[3,10]) k.gate('h',[4]) k.gate('h',[9]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,11]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('h',[9]) k.gate('h',[4]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,10]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('cnot',[3,10]) k.gate('h',[4]) k.gate('h',[3]) k.gate('t',[8]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,8]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('tdag',[2]) k.gate('cnot',[8,2]) k.gate('tdag',[8]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('cnot',[2,8]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[7]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,7]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('tdag',[1]) k.gate('cnot',[7,1]) k.gate('tdag',[7]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('h',[2]) k.gate('h',[1]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[1]) k.gate('cnot',[6,5]) k.gate('cnot',[1,6]) k.gate('cnot',[5,1]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[1]) k.gate('cnot',[1,6]) k.gate('cnot',[5,1]) k.gate('cnot',[6,5]) k.gate('h',[1]) k.gate('h',[2]) k.gate('t',[7]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,7]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('tdag',[1]) k.gate('cnot',[7,1]) k.gate('tdag',[7]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[8]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,8]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('tdag',[2]) k.gate('cnot',[8,2]) k.gate('tdag',[8]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('cnot',[2,8]) k.gate('h',[3]) k.gate('h',[4]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,10]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('cnot',[3,10]) k.gate('h',[4]) k.gate('h',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('tdag',[10]) k.gate('cnot',[4,10]) k.gate('tdag',[4]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[8]) k.gate('cnot',[1,0]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[8]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('cnot',[1,0]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[4]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('tdag',[10]) k.gate('cnot',[4,10]) k.gate('tdag',[4]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[8]) k.gate('cnot',[1,0]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[8]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('cnot',[1,0]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[10]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[10]) k.gate('cnot',[9,3]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[10]) k.gate('cnot',[10,9]) k.gate('cnot',[3,10]) k.gate('cnot',[9,3]) k.gate('h',[10]) k.gate('h',[9]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,11]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('h',[9]) k.gate('h',[4]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,10]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('cnot',[3,10]) k.gate('h',[4]) k.gate('h',[3]) k.gate('t',[8]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,8]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('tdag',[2]) k.gate('cnot',[8,2]) k.gate('tdag',[8]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('cnot',[2,8]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[7]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,7]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('tdag',[1]) k.gate('cnot',[7,1]) k.gate('tdag',[7]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('h',[2]) k.gate('h',[1]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[1]) k.gate('cnot',[6,5]) k.gate('cnot',[1,6]) k.gate('cnot',[5,1]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[1]) k.gate('cnot',[1,6]) k.gate('cnot',[5,1]) k.gate('cnot',[6,5]) k.gate('h',[1]) k.gate('h',[2]) k.gate('t',[7]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,7]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('tdag',[1]) k.gate('cnot',[7,1]) k.gate('tdag',[7]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[8]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,8]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('tdag',[2]) k.gate('cnot',[8,2]) k.gate('tdag',[8]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('cnot',[2,8]) k.gate('h',[3]) k.gate('h',[4]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,10]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('cnot',[3,10]) k.gate('h',[4]) k.gate('h',[9]) k.gate('t',[11]) k.gate('t',[4]) k.gate('t',[9]) k.gate('cnot',[4,11]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('tdag',[4]) k.gate('cnot',[11,4]) k.gate('tdag',[11]) k.gate('tdag',[4]) k.gate('t',[9]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('h',[9]) k.gate('h',[4]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,10]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('cnot',[3,10]) k.gate('h',[4]) k.gate('h',[3]) k.gate('t',[8]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,8]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('tdag',[2]) k.gate('cnot',[8,2]) k.gate('tdag',[8]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('cnot',[2,8]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[7]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,7]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('tdag',[1]) k.gate('cnot',[7,1]) k.gate('tdag',[7]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('h',[2]) k.gate('h',[1]) k.gate('t',[5]) k.gate('t',[6]) k.gate('t',[1]) k.gate('cnot',[6,5]) k.gate('cnot',[1,6]) k.gate('cnot',[5,1]) k.gate('tdag',[6]) k.gate('cnot',[5,6]) k.gate('tdag',[5]) k.gate('tdag',[6]) k.gate('t',[1]) k.gate('cnot',[1,6]) k.gate('cnot',[5,1]) k.gate('cnot',[6,5]) k.gate('h',[1]) k.gate('h',[2]) k.gate('t',[7]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,7]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('tdag',[1]) k.gate('cnot',[7,1]) k.gate('tdag',[7]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[7,2]) k.gate('cnot',[1,7]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[8]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,8]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('tdag',[2]) k.gate('cnot',[8,2]) k.gate('tdag',[8]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[8,3]) k.gate('cnot',[2,8]) k.gate('h',[3]) k.gate('h',[4]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[4]) k.gate('cnot',[3,10]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[4]) k.gate('cnot',[4,3]) k.gate('cnot',[10,4]) k.gate('cnot',[3,10]) k.gate('h',[4]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[9]) k.gate('cnot',[11,3]) k.gate('cnot',[9,11]) k.gate('cnot',[3,9]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[9]) k.gate('cnot',[9,11]) k.gate('cnot',[3,9]) k.gate('cnot',[11,3]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[10]) k.gate('cnot',[1,0]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[10]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('cnot',[1,0]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[9]) k.gate('cnot',[11,3]) k.gate('cnot',[9,11]) k.gate('cnot',[3,9]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[9]) k.gate('cnot',[9,11]) k.gate('cnot',[3,9]) k.gate('cnot',[11,3]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[10]) k.gate('cnot',[1,0]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[10]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('cnot',[1,0]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[8]) k.gate('t',[9]) k.gate('t',[11]) k.gate('t',[8]) k.gate('cnot',[11,9]) k.gate('cnot',[8,11]) k.gate('cnot',[9,8]) k.gate('tdag',[11]) k.gate('cnot',[9,11]) k.gate('tdag',[9]) k.gate('tdag',[11]) k.gate('t',[8]) k.gate('cnot',[8,11]) k.gate('cnot',[9,8]) k.gate('cnot',[11,9]) k.gate('h',[8]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[11]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[11]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('cnot',[3,10]) k.gate('h',[11]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[6]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,6]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('tdag',[1]) k.gate('cnot',[6,1]) k.gate('tdag',[6]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('cnot',[1,6]) k.gate('h',[2]) k.gate('h',[1]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[1]) k.gate('cnot',[5,4]) k.gate('cnot',[1,5]) k.gate('cnot',[4,1]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[1]) k.gate('cnot',[1,5]) k.gate('cnot',[4,1]) k.gate('cnot',[5,4]) k.gate('h',[1]) k.gate('h',[2]) k.gate('t',[6]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,6]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('tdag',[1]) k.gate('cnot',[6,1]) k.gate('tdag',[6]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('cnot',[1,6]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[11]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[11]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('cnot',[3,10]) k.gate('h',[11]) k.gate('h',[8]) k.gate('t',[9]) k.gate('t',[11]) k.gate('t',[8]) k.gate('cnot',[11,9]) k.gate('cnot',[8,11]) k.gate('cnot',[9,8]) k.gate('tdag',[11]) k.gate('cnot',[9,11]) k.gate('tdag',[9]) k.gate('tdag',[11]) k.gate('t',[8]) k.gate('cnot',[8,11]) k.gate('cnot',[9,8]) k.gate('cnot',[11,9]) k.gate('h',[8]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[11]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[11]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('cnot',[3,10]) k.gate('h',[11]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[6]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,6]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('tdag',[1]) k.gate('cnot',[6,1]) k.gate('tdag',[6]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('cnot',[1,6]) k.gate('h',[2]) k.gate('h',[1]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[1]) k.gate('cnot',[5,4]) k.gate('cnot',[1,5]) k.gate('cnot',[4,1]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[1]) k.gate('cnot',[1,5]) k.gate('cnot',[4,1]) k.gate('cnot',[5,4]) k.gate('h',[1]) k.gate('h',[2]) k.gate('t',[6]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,6]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('tdag',[1]) k.gate('cnot',[6,1]) k.gate('tdag',[6]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('cnot',[1,6]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[11]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[11]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('cnot',[3,10]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[9]) k.gate('cnot',[11,3]) k.gate('cnot',[9,11]) k.gate('cnot',[3,9]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[9]) k.gate('cnot',[9,11]) k.gate('cnot',[3,9]) k.gate('cnot',[11,3]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[10]) k.gate('cnot',[1,0]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[10]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('cnot',[1,0]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[9]) k.gate('cnot',[11,3]) k.gate('cnot',[9,11]) k.gate('cnot',[3,9]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[9]) k.gate('cnot',[9,11]) k.gate('cnot',[3,9]) k.gate('cnot',[11,3]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[10]) k.gate('cnot',[1,0]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[10]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('cnot',[1,0]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[8]) k.gate('t',[9]) k.gate('t',[11]) k.gate('t',[8]) k.gate('cnot',[11,9]) k.gate('cnot',[8,11]) k.gate('cnot',[9,8]) k.gate('tdag',[11]) k.gate('cnot',[9,11]) k.gate('tdag',[9]) k.gate('tdag',[11]) k.gate('t',[8]) k.gate('cnot',[8,11]) k.gate('cnot',[9,8]) k.gate('cnot',[11,9]) k.gate('h',[8]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[11]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[11]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('cnot',[3,10]) k.gate('h',[11]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[6]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,6]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('tdag',[1]) k.gate('cnot',[6,1]) k.gate('tdag',[6]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('cnot',[1,6]) k.gate('h',[2]) k.gate('h',[1]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[1]) k.gate('cnot',[5,4]) k.gate('cnot',[1,5]) k.gate('cnot',[4,1]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[1]) k.gate('cnot',[1,5]) k.gate('cnot',[4,1]) k.gate('cnot',[5,4]) k.gate('h',[1]) k.gate('h',[2]) k.gate('t',[6]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,6]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('tdag',[1]) k.gate('cnot',[6,1]) k.gate('tdag',[6]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('cnot',[1,6]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[11]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[11]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('cnot',[3,10]) k.gate('h',[11]) k.gate('h',[8]) k.gate('t',[9]) k.gate('t',[11]) k.gate('t',[8]) k.gate('cnot',[11,9]) k.gate('cnot',[8,11]) k.gate('cnot',[9,8]) k.gate('tdag',[11]) k.gate('cnot',[9,11]) k.gate('tdag',[9]) k.gate('tdag',[11]) k.gate('t',[8]) k.gate('cnot',[8,11]) k.gate('cnot',[9,8]) k.gate('cnot',[11,9]) k.gate('h',[8]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[11]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[11]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('cnot',[3,10]) k.gate('h',[11]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[2]) k.gate('t',[6]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,6]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('tdag',[1]) k.gate('cnot',[6,1]) k.gate('tdag',[6]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('cnot',[1,6]) k.gate('h',[2]) k.gate('h',[1]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[1]) k.gate('cnot',[5,4]) k.gate('cnot',[1,5]) k.gate('cnot',[4,1]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[1]) k.gate('cnot',[1,5]) k.gate('cnot',[4,1]) k.gate('cnot',[5,4]) k.gate('h',[1]) k.gate('h',[2]) k.gate('t',[6]) k.gate('t',[1]) k.gate('t',[2]) k.gate('cnot',[1,6]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('tdag',[1]) k.gate('cnot',[6,1]) k.gate('tdag',[6]) k.gate('tdag',[1]) k.gate('t',[2]) k.gate('cnot',[2,1]) k.gate('cnot',[6,2]) k.gate('cnot',[1,6]) k.gate('h',[2]) k.gate('h',[3]) k.gate('t',[7]) k.gate('t',[2]) k.gate('t',[3]) k.gate('cnot',[2,7]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('tdag',[2]) k.gate('cnot',[7,2]) k.gate('tdag',[7]) k.gate('tdag',[2]) k.gate('t',[3]) k.gate('cnot',[3,2]) k.gate('cnot',[7,3]) k.gate('cnot',[2,7]) k.gate('h',[3]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[3]) k.gate('t',[11]) k.gate('cnot',[3,10]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('tdag',[3]) k.gate('cnot',[10,3]) k.gate('tdag',[10]) k.gate('tdag',[3]) k.gate('t',[11]) k.gate('cnot',[11,3]) k.gate('cnot',[10,11]) k.gate('cnot',[3,10]) k.gate('h',[11]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[8]) k.gate('cnot',[11,3]) k.gate('cnot',[8,11]) k.gate('cnot',[3,8]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[8]) k.gate('cnot',[8,11]) k.gate('cnot',[3,8]) k.gate('cnot',[11,3]) k.gate('h',[8]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[10]) k.gate('cnot',[1,0]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[10]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('cnot',[1,0]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[8]) k.gate('cnot',[11,3]) k.gate('cnot',[8,11]) k.gate('cnot',[3,8]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[8]) k.gate('cnot',[8,11]) k.gate('cnot',[3,8]) k.gate('cnot',[11,3]) k.gate('h',[8]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[10]) k.gate('cnot',[1,0]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[10]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('cnot',[1,0]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[7]) k.gate('t',[8]) k.gate('t',[11]) k.gate('t',[7]) k.gate('cnot',[11,8]) k.gate('cnot',[7,11]) k.gate('cnot',[8,7]) k.gate('tdag',[11]) k.gate('cnot',[8,11]) k.gate('tdag',[8]) k.gate('tdag',[11]) k.gate('t',[7]) k.gate('cnot',[7,11]) k.gate('cnot',[8,7]) k.gate('cnot',[11,8]) k.gate('h',[7]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[3]) k.gate('t',[9]) k.gate('cnot',[3,6]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('tdag',[3]) k.gate('cnot',[6,3]) k.gate('tdag',[6]) k.gate('tdag',[3]) k.gate('t',[9]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('cnot',[3,6]) k.gate('h',[9]) k.gate('h',[3]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[3]) k.gate('cnot',[5,4]) k.gate('cnot',[3,5]) k.gate('cnot',[4,3]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[3]) k.gate('cnot',[3,5]) k.gate('cnot',[4,3]) k.gate('cnot',[5,4]) k.gate('h',[3]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[3]) k.gate('t',[9]) k.gate('cnot',[3,6]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('tdag',[3]) k.gate('cnot',[6,3]) k.gate('tdag',[6]) k.gate('tdag',[3]) k.gate('t',[9]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('cnot',[3,6]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[7]) k.gate('t',[8]) k.gate('t',[11]) k.gate('t',[7]) k.gate('cnot',[11,8]) k.gate('cnot',[7,11]) k.gate('cnot',[8,7]) k.gate('tdag',[11]) k.gate('cnot',[8,11]) k.gate('tdag',[8]) k.gate('tdag',[11]) k.gate('t',[7]) k.gate('cnot',[7,11]) k.gate('cnot',[8,7]) k.gate('cnot',[11,8]) k.gate('h',[7]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[3]) k.gate('t',[9]) k.gate('cnot',[3,6]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('tdag',[3]) k.gate('cnot',[6,3]) k.gate('tdag',[6]) k.gate('tdag',[3]) k.gate('t',[9]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('cnot',[3,6]) k.gate('h',[9]) k.gate('h',[3]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[3]) k.gate('cnot',[5,4]) k.gate('cnot',[3,5]) k.gate('cnot',[4,3]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[3]) k.gate('cnot',[3,5]) k.gate('cnot',[4,3]) k.gate('cnot',[5,4]) k.gate('h',[3]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[3]) k.gate('t',[9]) k.gate('cnot',[3,6]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('tdag',[3]) k.gate('cnot',[6,3]) k.gate('tdag',[6]) k.gate('tdag',[3]) k.gate('t',[9]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('cnot',[3,6]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[8]) k.gate('cnot',[11,3]) k.gate('cnot',[8,11]) k.gate('cnot',[3,8]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[8]) k.gate('cnot',[8,11]) k.gate('cnot',[3,8]) k.gate('cnot',[11,3]) k.gate('h',[8]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[10]) k.gate('cnot',[1,0]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[10]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('cnot',[1,0]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[11]) k.gate('t',[8]) k.gate('cnot',[11,3]) k.gate('cnot',[8,11]) k.gate('cnot',[3,8]) k.gate('tdag',[11]) k.gate('cnot',[3,11]) k.gate('tdag',[3]) k.gate('tdag',[11]) k.gate('t',[8]) k.gate('cnot',[8,11]) k.gate('cnot',[3,8]) k.gate('cnot',[11,3]) k.gate('h',[8]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[10]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[10]) k.gate('cnot',[1,0]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[10]) k.gate('cnot',[10,1]) k.gate('cnot',[0,10]) k.gate('cnot',[1,0]) k.gate('h',[10]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('tdag',[10]) k.gate('cnot',[2,10]) k.gate('tdag',[2]) k.gate('tdag',[10]) k.gate('t',[11]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('h',[11]) k.gate('h',[7]) k.gate('t',[8]) k.gate('t',[11]) k.gate('t',[7]) k.gate('cnot',[11,8]) k.gate('cnot',[7,11]) k.gate('cnot',[8,7]) k.gate('tdag',[11]) k.gate('cnot',[8,11]) k.gate('tdag',[8]) k.gate('tdag',[11]) k.gate('t',[7]) k.gate('cnot',[7,11]) k.gate('cnot',[8,7]) k.gate('cnot',[11,8]) k.gate('h',[7]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[3]) k.gate('t',[9]) k.gate('cnot',[3,6]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('tdag',[3]) k.gate('cnot',[6,3]) k.gate('tdag',[6]) k.gate('tdag',[3]) k.gate('t',[9]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('cnot',[3,6]) k.gate('h',[9]) k.gate('h',[3]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[3]) k.gate('cnot',[5,4]) k.gate('cnot',[3,5]) k.gate('cnot',[4,3]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[3]) k.gate('cnot',[3,5]) k.gate('cnot',[4,3]) k.gate('cnot',[5,4]) k.gate('h',[3]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[3]) k.gate('t',[9]) k.gate('cnot',[3,6]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('tdag',[3]) k.gate('cnot',[6,3]) k.gate('tdag',[6]) k.gate('tdag',[3]) k.gate('t',[9]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('cnot',[3,6]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[7]) k.gate('t',[8]) k.gate('t',[11]) k.gate('t',[7]) k.gate('cnot',[11,8]) k.gate('cnot',[7,11]) k.gate('cnot',[8,7]) k.gate('tdag',[11]) k.gate('cnot',[8,11]) k.gate('tdag',[8]) k.gate('tdag',[11]) k.gate('t',[7]) k.gate('cnot',[7,11]) k.gate('cnot',[8,7]) k.gate('cnot',[11,8]) k.gate('h',[7]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[3]) k.gate('t',[9]) k.gate('cnot',[3,6]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('tdag',[3]) k.gate('cnot',[6,3]) k.gate('tdag',[6]) k.gate('tdag',[3]) k.gate('t',[9]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('cnot',[3,6]) k.gate('h',[9]) k.gate('h',[3]) k.gate('t',[4]) k.gate('t',[5]) k.gate('t',[3]) k.gate('cnot',[5,4]) k.gate('cnot',[3,5]) k.gate('cnot',[4,3]) k.gate('tdag',[5]) k.gate('cnot',[4,5]) k.gate('tdag',[4]) k.gate('tdag',[5]) k.gate('t',[3]) k.gate('cnot',[3,5]) k.gate('cnot',[4,3]) k.gate('cnot',[5,4]) k.gate('h',[3]) k.gate('h',[9]) k.gate('t',[6]) k.gate('t',[3]) k.gate('t',[9]) k.gate('cnot',[3,6]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('tdag',[3]) k.gate('cnot',[6,3]) k.gate('tdag',[6]) k.gate('tdag',[3]) k.gate('t',[9]) k.gate('cnot',[9,3]) k.gate('cnot',[6,9]) k.gate('cnot',[3,6]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[7]) k.gate('t',[2]) k.gate('t',[11]) k.gate('t',[7]) k.gate('cnot',[11,2]) k.gate('cnot',[7,11]) k.gate('cnot',[2,7]) k.gate('tdag',[11]) k.gate('cnot',[2,11]) k.gate('tdag',[2]) k.gate('tdag',[11]) k.gate('t',[7]) k.gate('cnot',[7,11]) k.gate('cnot',[2,7]) k.gate('cnot',[11,2]) k.gate('h',[7]) k.gate('h',[11]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[11]) k.gate('cnot',[1,0]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[11]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('cnot',[1,0]) k.gate('h',[11]) k.gate('h',[7]) k.gate('t',[2]) k.gate('t',[11]) k.gate('t',[7]) k.gate('cnot',[11,2]) k.gate('cnot',[7,11]) k.gate('cnot',[2,7]) k.gate('tdag',[11]) k.gate('cnot',[2,11]) k.gate('tdag',[2]) k.gate('tdag',[11]) k.gate('t',[7]) k.gate('cnot',[7,11]) k.gate('cnot',[2,7]) k.gate('cnot',[11,2]) k.gate('h',[7]) k.gate('h',[11]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[11]) k.gate('cnot',[1,0]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[11]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('cnot',[1,0]) k.gate('h',[11]) k.gate('h',[6]) k.gate('t',[7]) k.gate('t',[11]) k.gate('t',[6]) k.gate('cnot',[11,7]) k.gate('cnot',[6,11]) k.gate('cnot',[7,6]) k.gate('tdag',[11]) k.gate('cnot',[7,11]) k.gate('tdag',[7]) k.gate('tdag',[11]) k.gate('t',[6]) k.gate('cnot',[6,11]) k.gate('cnot',[7,6]) k.gate('cnot',[11,7]) k.gate('h',[6]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[5]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,5]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('tdag',[8]) k.gate('cnot',[5,8]) k.gate('tdag',[5]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('cnot',[8,5]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('t',[8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('tdag',[4]) k.gate('cnot',[3,4]) k.gate('tdag',[3]) k.gate('tdag',[4]) k.gate('t',[8]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[5]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,5]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('tdag',[8]) k.gate('cnot',[5,8]) k.gate('tdag',[5]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('cnot',[8,5]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[6]) k.gate('t',[7]) k.gate('t',[11]) k.gate('t',[6]) k.gate('cnot',[11,7]) k.gate('cnot',[6,11]) k.gate('cnot',[7,6]) k.gate('tdag',[11]) k.gate('cnot',[7,11]) k.gate('tdag',[7]) k.gate('tdag',[11]) k.gate('t',[6]) k.gate('cnot',[6,11]) k.gate('cnot',[7,6]) k.gate('cnot',[11,7]) k.gate('h',[6]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[5]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,5]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('tdag',[8]) k.gate('cnot',[5,8]) k.gate('tdag',[5]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('cnot',[8,5]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('t',[8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('tdag',[4]) k.gate('cnot',[3,4]) k.gate('tdag',[3]) k.gate('tdag',[4]) k.gate('t',[8]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[5]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,5]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('tdag',[8]) k.gate('cnot',[5,8]) k.gate('tdag',[5]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('cnot',[8,5]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[7]) k.gate('t',[2]) k.gate('t',[11]) k.gate('t',[7]) k.gate('cnot',[11,2]) k.gate('cnot',[7,11]) k.gate('cnot',[2,7]) k.gate('tdag',[11]) k.gate('cnot',[2,11]) k.gate('tdag',[2]) k.gate('tdag',[11]) k.gate('t',[7]) k.gate('cnot',[7,11]) k.gate('cnot',[2,7]) k.gate('cnot',[11,2]) k.gate('h',[7]) k.gate('h',[11]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[11]) k.gate('cnot',[1,0]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[11]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('cnot',[1,0]) k.gate('h',[11]) k.gate('h',[7]) k.gate('t',[2]) k.gate('t',[11]) k.gate('t',[7]) k.gate('cnot',[11,2]) k.gate('cnot',[7,11]) k.gate('cnot',[2,7]) k.gate('tdag',[11]) k.gate('cnot',[2,11]) k.gate('tdag',[2]) k.gate('tdag',[11]) k.gate('t',[7]) k.gate('cnot',[7,11]) k.gate('cnot',[2,7]) k.gate('cnot',[11,2]) k.gate('h',[7]) k.gate('h',[11]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[11]) k.gate('cnot',[1,0]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[11]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('cnot',[1,0]) k.gate('h',[11]) k.gate('h',[6]) k.gate('t',[7]) k.gate('t',[11]) k.gate('t',[6]) k.gate('cnot',[11,7]) k.gate('cnot',[6,11]) k.gate('cnot',[7,6]) k.gate('tdag',[11]) k.gate('cnot',[7,11]) k.gate('tdag',[7]) k.gate('tdag',[11]) k.gate('t',[6]) k.gate('cnot',[6,11]) k.gate('cnot',[7,6]) k.gate('cnot',[11,7]) k.gate('h',[6]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[5]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,5]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('tdag',[8]) k.gate('cnot',[5,8]) k.gate('tdag',[5]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('cnot',[8,5]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('t',[8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('tdag',[4]) k.gate('cnot',[3,4]) k.gate('tdag',[3]) k.gate('tdag',[4]) k.gate('t',[8]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[5]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,5]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('tdag',[8]) k.gate('cnot',[5,8]) k.gate('tdag',[5]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('cnot',[8,5]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[6]) k.gate('t',[7]) k.gate('t',[11]) k.gate('t',[6]) k.gate('cnot',[11,7]) k.gate('cnot',[6,11]) k.gate('cnot',[7,6]) k.gate('tdag',[11]) k.gate('cnot',[7,11]) k.gate('tdag',[7]) k.gate('tdag',[11]) k.gate('t',[6]) k.gate('cnot',[6,11]) k.gate('cnot',[7,6]) k.gate('cnot',[11,7]) k.gate('h',[6]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[5]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,5]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('tdag',[8]) k.gate('cnot',[5,8]) k.gate('tdag',[5]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('cnot',[8,5]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[3]) k.gate('t',[4]) k.gate('t',[8]) k.gate('cnot',[4,3]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('tdag',[4]) k.gate('cnot',[3,4]) k.gate('tdag',[3]) k.gate('tdag',[4]) k.gate('t',[8]) k.gate('cnot',[8,4]) k.gate('cnot',[3,8]) k.gate('cnot',[4,3]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[5]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,5]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('tdag',[8]) k.gate('cnot',[5,8]) k.gate('tdag',[5]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[5,9]) k.gate('cnot',[8,5]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[10]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,10]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('tdag',[9]) k.gate('cnot',[10,9]) k.gate('tdag',[10]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[10,11]) k.gate('cnot',[9,10]) k.gate('h',[11]) k.gate('h',[5]) k.gate('t',[10]) k.gate('t',[11]) k.gate('t',[5]) k.gate('cnot',[11,10]) k.gate('cnot',[5,11]) k.gate('cnot',[10,5]) k.gate('tdag',[11]) k.gate('cnot',[10,11]) k.gate('tdag',[10]) k.gate('tdag',[11]) k.gate('t',[5]) k.gate('cnot',[5,11]) k.gate('cnot',[10,5]) k.gate('cnot',[11,10]) k.gate('h',[5]) k.gate('h',[11]) k.gate('t',[4]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('tdag',[9]) k.gate('cnot',[4,9]) k.gate('tdag',[4]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('cnot',[9,4]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,3]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('tdag',[8]) k.gate('cnot',[3,8]) k.gate('tdag',[3]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('cnot',[8,3]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[2]) k.gate('t',[7]) k.gate('t',[8]) k.gate('cnot',[7,2]) k.gate('cnot',[8,7]) k.gate('cnot',[2,8]) k.gate('tdag',[7]) k.gate('cnot',[2,7]) k.gate('tdag',[2]) k.gate('tdag',[7]) k.gate('t',[8]) k.gate('cnot',[8,7]) k.gate('cnot',[2,8]) k.gate('cnot',[7,2]) k.gate('h',[8]) k.gate('h',[7]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[7]) k.gate('cnot',[1,0]) k.gate('cnot',[7,1]) k.gate('cnot',[0,7]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[7]) k.gate('cnot',[7,1]) k.gate('cnot',[0,7]) k.gate('cnot',[1,0]) k.gate('h',[7]) k.gate('h',[8]) k.gate('t',[2]) k.gate('t',[7]) k.gate('t',[8]) k.gate('cnot',[7,2]) k.gate('cnot',[8,7]) k.gate('cnot',[2,8]) k.gate('tdag',[7]) k.gate('cnot',[2,7]) k.gate('tdag',[2]) k.gate('tdag',[7]) k.gate('t',[8]) k.gate('cnot',[8,7]) k.gate('cnot',[2,8]) k.gate('cnot',[7,2]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,3]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('tdag',[8]) k.gate('cnot',[3,8]) k.gate('tdag',[3]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('cnot',[8,3]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[4]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('tdag',[9]) k.gate('cnot',[4,9]) k.gate('tdag',[4]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('cnot',[9,4]) k.gate('h',[11]) k.gate('h',[5]) k.gate('t',[10]) k.gate('t',[11]) k.gate('t',[5]) k.gate('cnot',[11,10]) k.gate('cnot',[5,11]) k.gate('cnot',[10,5]) k.gate('tdag',[11]) k.gate('cnot',[10,11]) k.gate('tdag',[10]) k.gate('tdag',[11]) k.gate('t',[5]) k.gate('cnot',[5,11]) k.gate('cnot',[10,5]) k.gate('cnot',[11,10]) k.gate('h',[5]) k.gate('h',[11]) k.gate('t',[4]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('tdag',[9]) k.gate('cnot',[4,9]) k.gate('tdag',[4]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('cnot',[9,4]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,3]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('tdag',[8]) k.gate('cnot',[3,8]) k.gate('tdag',[3]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('cnot',[8,3]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[2]) k.gate('t',[7]) k.gate('t',[8]) k.gate('cnot',[7,2]) k.gate('cnot',[8,7]) k.gate('cnot',[2,8]) k.gate('tdag',[7]) k.gate('cnot',[2,7]) k.gate('tdag',[2]) k.gate('tdag',[7]) k.gate('t',[8]) k.gate('cnot',[8,7]) k.gate('cnot',[2,8]) k.gate('cnot',[7,2]) k.gate('h',[8]) k.gate('h',[7]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[7]) k.gate('cnot',[1,0]) k.gate('cnot',[7,1]) k.gate('cnot',[0,7]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[7]) k.gate('cnot',[7,1]) k.gate('cnot',[0,7]) k.gate('cnot',[1,0]) k.gate('h',[7]) k.gate('h',[8]) k.gate('t',[2]) k.gate('t',[7]) k.gate('t',[8]) k.gate('cnot',[7,2]) k.gate('cnot',[8,7]) k.gate('cnot',[2,8]) k.gate('tdag',[7]) k.gate('cnot',[2,7]) k.gate('tdag',[2]) k.gate('tdag',[7]) k.gate('t',[8]) k.gate('cnot',[8,7]) k.gate('cnot',[2,8]) k.gate('cnot',[7,2]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[3]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,3]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('tdag',[8]) k.gate('cnot',[3,8]) k.gate('tdag',[3]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[3,9]) k.gate('cnot',[8,3]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[4]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,4]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('tdag',[9]) k.gate('cnot',[4,9]) k.gate('tdag',[4]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[4,11]) k.gate('cnot',[9,4]) k.gate('h',[11]) k.gate('h',[4]) k.gate('t',[10]) k.gate('t',[11]) k.gate('t',[4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('tdag',[11]) k.gate('cnot',[10,11]) k.gate('tdag',[10]) k.gate('tdag',[11]) k.gate('t',[4]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('h',[4]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,3]) k.gate('cnot',[11,9]) k.gate('cnot',[3,11]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[3,11]) k.gate('cnot',[9,3]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[8]) k.gate('cnot',[1,0]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[8]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('cnot',[1,0]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,3]) k.gate('cnot',[11,9]) k.gate('cnot',[3,11]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[3,11]) k.gate('cnot',[9,3]) k.gate('h',[11]) k.gate('h',[4]) k.gate('t',[10]) k.gate('t',[11]) k.gate('t',[4]) k.gate('cnot',[11,10]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('tdag',[11]) k.gate('cnot',[10,11]) k.gate('tdag',[10]) k.gate('tdag',[11]) k.gate('t',[4]) k.gate('cnot',[4,11]) k.gate('cnot',[10,4]) k.gate('cnot',[11,10]) k.gate('h',[4]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,3]) k.gate('cnot',[11,9]) k.gate('cnot',[3,11]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[3,11]) k.gate('cnot',[9,3]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[8]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[8]) k.gate('cnot',[1,0]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[8]) k.gate('cnot',[8,1]) k.gate('cnot',[0,8]) k.gate('cnot',[1,0]) k.gate('h',[8]) k.gate('h',[9]) k.gate('t',[2]) k.gate('t',[8]) k.gate('t',[9]) k.gate('cnot',[8,2]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('tdag',[8]) k.gate('cnot',[2,8]) k.gate('tdag',[2]) k.gate('tdag',[8]) k.gate('t',[9]) k.gate('cnot',[9,8]) k.gate('cnot',[2,9]) k.gate('cnot',[8,2]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[3]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,3]) k.gate('cnot',[11,9]) k.gate('cnot',[3,11]) k.gate('tdag',[9]) k.gate('cnot',[3,9]) k.gate('tdag',[3]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[3,11]) k.gate('cnot',[9,3]) k.gate('h',[11]) k.gate('h',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('t',[3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('tdag',[11]) k.gate('cnot',[10,11]) k.gate('tdag',[10]) k.gate('tdag',[11]) k.gate('t',[3]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('h',[3]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,2]) k.gate('cnot',[11,9]) k.gate('cnot',[2,11]) k.gate('tdag',[9]) k.gate('cnot',[2,9]) k.gate('tdag',[2]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[2,11]) k.gate('cnot',[9,2]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[9]) k.gate('cnot',[1,0]) k.gate('cnot',[9,1]) k.gate('cnot',[0,9]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[9]) k.gate('cnot',[9,1]) k.gate('cnot',[0,9]) k.gate('cnot',[1,0]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,2]) k.gate('cnot',[11,9]) k.gate('cnot',[2,11]) k.gate('tdag',[9]) k.gate('cnot',[2,9]) k.gate('tdag',[2]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[2,11]) k.gate('cnot',[9,2]) k.gate('h',[11]) k.gate('h',[3]) k.gate('t',[10]) k.gate('t',[11]) k.gate('t',[3]) k.gate('cnot',[11,10]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('tdag',[11]) k.gate('cnot',[10,11]) k.gate('tdag',[10]) k.gate('tdag',[11]) k.gate('t',[3]) k.gate('cnot',[3,11]) k.gate('cnot',[10,3]) k.gate('cnot',[11,10]) k.gate('h',[3]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,2]) k.gate('cnot',[11,9]) k.gate('cnot',[2,11]) k.gate('tdag',[9]) k.gate('cnot',[2,9]) k.gate('tdag',[2]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[2,11]) k.gate('cnot',[9,2]) k.gate('h',[11]) k.gate('h',[9]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[9]) k.gate('cnot',[1,0]) k.gate('cnot',[9,1]) k.gate('cnot',[0,9]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[9]) k.gate('cnot',[9,1]) k.gate('cnot',[0,9]) k.gate('cnot',[1,0]) k.gate('h',[9]) k.gate('h',[11]) k.gate('t',[2]) k.gate('t',[9]) k.gate('t',[11]) k.gate('cnot',[9,2]) k.gate('cnot',[11,9]) k.gate('cnot',[2,11]) k.gate('tdag',[9]) k.gate('cnot',[2,9]) k.gate('tdag',[2]) k.gate('tdag',[9]) k.gate('t',[11]) k.gate('cnot',[11,9]) k.gate('cnot',[2,11]) k.gate('cnot',[9,2]) k.gate('h',[11]) k.gate('h',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('t',[2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('tdag',[11]) k.gate('cnot',[10,11]) k.gate('tdag',[10]) k.gate('tdag',[11]) k.gate('t',[2]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('h',[2]) k.gate('h',[11]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[11]) k.gate('cnot',[1,0]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[11]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('cnot',[1,0]) k.gate('h',[11]) k.gate('h',[2]) k.gate('t',[10]) k.gate('t',[11]) k.gate('t',[2]) k.gate('cnot',[11,10]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('tdag',[11]) k.gate('cnot',[10,11]) k.gate('tdag',[10]) k.gate('tdag',[11]) k.gate('t',[2]) k.gate('cnot',[2,11]) k.gate('cnot',[10,2]) k.gate('cnot',[11,10]) k.gate('h',[2]) k.gate('h',[11]) k.gate('t',[0]) k.gate('t',[1]) k.gate('t',[11]) k.gate('cnot',[1,0]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('tdag',[1]) k.gate('cnot',[0,1]) k.gate('tdag',[0]) k.gate('tdag',[1]) k.gate('t',[11]) k.gate('cnot',[11,1]) k.gate('cnot',[0,11]) k.gate('cnot',[1,0]) k.gate('h',[11]) k.gate('h',[1]) k.gate('t',[0]) k.gate('t',[10]) k.gate('t',[1]) k.gate('cnot',[10,0]) k.gate('cnot',[1,10]) k.gate('cnot',[0,1]) k.gate('tdag',[10]) k.gate('cnot',[0,10]) k.gate('tdag',[0]) k.gate('tdag',[10]) k.gate('t',[1]) k.gate('cnot',[1,10]) k.gate('cnot',[0,1]) k.gate('cnot',[10,0]) k.gate('h',[1]) k.gate('cnot',[10,0]) if measurement: for q in range(num_qubits): k.gate('measure', [q]) p.add_kernel(k) p.compile() ql.set_option('mapper', 'no') if __name__ == '__main__': parser = argparse.ArgumentParser(description='OpenQL compilation of a Quantum Algorithm') parser.add_argument('config_file', help='Path to the OpenQL configuration file to compile this algorithm') parser.add_argument('--new_scheduler', nargs='?', default='yes', help='Scheduler defined by Hans') parser.add_argument('--scheduler', nargs='?', default='ASAP', help='Scheduler specification (ASAP (default), ALAP, ...)') parser.add_argument('--uniform_sched', nargs='?', default='no', help='Uniform shceduler actication (yes or no)') parser.add_argument('--sched_commute', nargs='?', default='yes', help='Permits two-qubit gates to be commutable') parser.add_argument('--mapper', nargs='?', default='base', help='Mapper specification (base, minextend, minextendrc)') parser.add_argument('--moves', nargs='?', default='no', help='Let the use of moves') parser.add_argument('--maptiebreak', nargs='?', default='random', help='') parser.add_argument('--initial_placement', nargs='?', default='no', help='Initial placement specification (yes or no)') parser.add_argument('--out_dir', nargs='?', default='test_output', help='Folder name to store the compilation') parser.add_argument('--measurement', nargs='?', default=True, help='Add measurement to all the qubits in the end of the algorithm') args = parser.parse_args() try: circuit(args.config_file, args.new_scheduler, args.scheduler, args.uniform_sched, args.sched_commute, args.mapper, args.moves, args.maptiebreak, args.initial_placement, args.out_dir) except TypeError: print('\nCompiled, but some gate is not defined in the configuration file. \nThe gate will be invoked like it is.') raise
b9af3fae8856807e32bf2d31ce7e14ead62f9716
27010a7ad70bf69511858a91d42dc7a64e61b66d
/src/1763_longest_nice_substring.py
f1a96df1b1ba601c788359bfd79537a5f6d61f4a
[ "Apache-2.0" ]
permissive
hariharanragothaman/leetcode-solutions
fb7d967f2c6e3f4c936e3c7afe369415bc8d2dc6
44e759f80d3c9df382fdf8d694d6378881e3649d
refs/heads/master
2023-09-03T20:31:59.200701
2021-10-18T00:50:56
2021-10-18T00:50:56
267,927,538
1
1
null
null
null
null
UTF-8
Python
false
false
1,765
py
""" A string s is nice if, for every letter of the alphabet that s contains, it appears both in uppercase and lowercase. For example, "abABB" is nice because 'A' and 'a' appear, and 'B' and 'b' appear. However, "abA" is not because 'b' appears, but 'B' does not. Given a string s, return the longest substring of s that is nice. If there are multiple, return the substring of the earliest occurrence. If there are none, return an empty string. Example 1: Input: s = "YazaAay" Output: "aAa" Explanation: "aAa" is a nice string because 'A/a' is the only letter of the alphabet in s, and both 'A' and 'a' appear. "aAa" is the longest nice substring. Example 2: Input: s = "Bb" Output: "Bb" Explanation: "Bb" is a nice string because both 'B' and 'b' appear. The whole string is a substring. Example 3: Input: s = "c" Output: "" Explanation: There are no nice substrings. Example 4: Input: s = "dDzeE" Output: "dD" Explanation: Both "dD" and "eE" are the longest nice substrings. As there are multiple longest nice substrings, return "dD" since it occurs earlier. Constraints: 1 <= s.length <= 100 s consists of uppercase and lowercase English letters. """ class Solution: def longestNiceSubstring(self, s: str) -> str: max_length = 0 result = "" for i in range(len(s)): for j in range(i, len(s)): substr = s[i : j + 1] upper = "".join(c for c in substr if c.isupper()) lower = "".join(c for c in substr if c.islower()) upper = upper.lower() if set(upper) == set(lower) and (len(substr) > max_length): max_length = max(max_length, len(substr)) result = substr return result
e18acdf10dc10f22be785b412c98734ef4391a78
d190750d6cb34e9d86ae96724cf4b56a2f57a74a
/tests/r/test_morley.py
562dc425811ab5a69db86c60b1d186302756d5a8
[ "Apache-2.0" ]
permissive
ROAD2018/observations
a119f61a48213d791de0620804adb8d21c2ad9fb
2c8b1ac31025938cb17762e540f2f592e302d5de
refs/heads/master
2021-09-24T04:28:02.725245
2018-09-16T23:06:30
2018-09-16T23:06:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.morley import morley def test_morley(): """Test module morley.py by downloading morley.csv and testing shape of extracted data has 100 rows and 3 columns """ test_path = tempfile.mkdtemp() x_train, metadata = morley(test_path) try: assert x_train.shape == (100, 3) except: shutil.rmtree(test_path) raise()
01e4a166b1a96c6ed40e515a79db2f4f05132979
83957f263305c8021add5f05327381263cc6fdad
/mongrey/server/protocols.py
92242373a487ab32a09578418932680ea295c321
[ "BSD-3-Clause" ]
permissive
srault95/mongrey
d011727bb003ec02dd9797876a2cc055554d0ed9
63a94efd33db04e4b361dd259bfda3e520c305c8
refs/heads/master
2020-05-15T19:50:40.992062
2018-03-11T09:11:46
2018-03-11T09:11:46
35,269,256
0
0
null
2018-03-11T09:11:47
2015-05-08T08:58:12
CSS
UTF-8
Python
false
false
4,686
py
# -*- coding: utf-8 -*- import uuid import logging import re from .. import constants from ..exceptions import InvalidProtocolError line_regex = re.compile(r'^\s*([^=\s]+)\s*=(.*)$') logger = logging.getLogger(__name__) def parse_protocol_line(request): """ example: client_name=123, client_address=1.1.1.1, [email protected], [email protected] """ try: fields = dict(constants.ALL_FIELDS).keys() protocol = dict([a.strip(',').split('=') for a in request.split()]) for key in fields: if not key in protocol: protocol[key] = None if not "instance" in protocol: protocol["instance"] = str(uuid.uuid1()) for key in protocol.copy().keys(): if not key in constants.POSTFIX_PROTOCOL['valid_fields'] + ['country']: protocol.pop(key) return protocol except Exception, err: logger.error(str(err)) def parse_policy_protocol(fileobj, debug=False): """ @see: http://www.postfix.org/SMTPD_POLICY_README.html """ protocol = {} while True: line = fileobj.readline() if line: line = line.strip() if debug: logger.debug(line) if not line: break else: m = line_regex.match(line) if not m: break key = m.group(1) value = m.group(2) if len(protocol) == 0: '''First line''' if key != 'request': raise InvalidProtocolError("Invalid Protocol") if not value or value != 'smtpd_access_policy': raise InvalidProtocolError("Invalid Protocol") elif key == 'request': '''request=smtpd_access_policy already parsing''' raise InvalidProtocolError("Invalid Protocol") if key in protocol: logger.warn("key is already in protocol : %s" % key) else: value = value.decode('utf-8', 'ignore') value = value.encode('us-ascii', 'ignore') protocol[key] = value.lower() request = protocol.get('request', None) if not request: raise InvalidProtocolError("Invalid Protocol") else: if request != 'smtpd_access_policy': raise InvalidProtocolError("Invalid Protocol") return protocol def verify_protocol(protocol): if not 'protocol_state' in protocol: raise InvalidProtocolError("protocol_state field not in protocol") protocol_state = protocol.get('protocol_state') if not protocol_state.lower() in constants.ACCEPT_PROTOCOL_STATES: raise InvalidProtocolError("this protocol_state is not supported: %s" % protocol_state) for key in protocol.keys(): if not key.lower() in constants.POSTFIX_PROTOCOL['valid_fields']: raise InvalidProtocolError("invalid field in protocol: %s" % key) def tcp_table_protocol(fileobj, debug=False): """ @see: http://www.postfix.org/tcp_table.5.html """ protocol = {} while True: line = fileobj.readline() if line: line = line.strip() if debug: logger.debug(line) if not line: break else: """ get SPACE key NEWLINE Look up data under the specified key. REPLY: 500 SPACE text NEWLINE 400 SPACE text NEWLINE 200 SPACE text NEWLINE """ return line return protocol def tcp_table_test(): """ postconf -e "smtpd_client_restrictions = check_client_access tcp:127.0.0.0:15005" postconf -e "smtpd_sender_restrictions = check_sender_access tcp:127.0.0.0:15005" postconf -e "smtpd_recipient_restrictions = check_recipient_access tcp:127.0.0.0:15005, reject" """ from gevent.server import StreamServer def handle(sock, address): fileobj = sock.makefile() key_search = tcp_table_protocol(fileobj, debug=True) print "key_search : ", key_search fileobj.write("200 TEST\n") fileobj.close() #sock.close() server = StreamServer(listener=('127.0.0.0', 15005), handle=handle) try: server.serve_forever() except KeyboardInterrupt: pass if __name__ == "__main__": tcp_table_test()
b429309f8e623409f989dca83d4ff8711914cc70
1b1546cafc9453c4fdb9406533f94ed56206541c
/tests/tutorials/tour/test_decoupled.py
1ca8a8aa8e194c9366c33e5da2f143cb4331d61d
[ "MIT" ]
permissive
pauleveritt/wired
bad7ecadae4f23874598031ae8d17e08ba34ec9b
629f950176a9682a7ccb68efbb27cb2e23b4e93e
refs/heads/master
2020-05-01T06:38:38.728436
2019-04-29T12:43:43
2019-04-29T12:43:43
177,335,238
1
1
MIT
2019-04-23T00:14:34
2019-03-23T20:08:57
Python
UTF-8
Python
false
false
1,029
py
import pytest from wired import ServiceRegistry @pytest.fixture def settings(): from tutorials.tour.decoupled import Settings settings = Settings(punctuation='!!') return settings @pytest.fixture def registry(settings): from tutorials.tour.decoupled import setup r: ServiceRegistry = setup(settings) return r @pytest.fixture def default_customer(): from tutorials.tour.decoupled import Customer return Customer(name='Mary') @pytest.fixture def french_customer(): from tutorials.tour.decoupled.custom import FrenchCustomer return FrenchCustomer(name='Henri') def test_greet_customer(registry, default_customer): from tutorials.tour.decoupled import greet_customer actual = greet_customer(registry, default_customer) assert 'Hello Mary !!' == actual def test_greet_french_customer(registry, french_customer): from tutorials.tour.decoupled import greet_customer actual = greet_customer(registry, french_customer) assert 'Bonjour Henri !!' == actual
2ee8380fc6a904aebb84b742cacca3669f9f7f0a
aea1d61c9a5d445f3a1c328a757dfa02d652f367
/dataset_04__eph_stim_vs_dist/fig9b/code/data/results/all_lfps.py
6880c9a242cd1df2c7015ad340675a073b8c6c85
[]
no_license
ModelDBRepository/263988
bb15ddf953a31ca44ac62ead919e3106389374f8
b1f4bd4931bb1ddcc323108c39e389b9fa4234a0
refs/heads/master
2022-11-21T22:38:24.738870
2020-07-30T00:38:17
2020-07-30T00:38:17
283,632,019
0
0
null
null
null
null
UTF-8
Python
false
false
6,650
py
""" Miguel Capllonch Juan 30 September 2018 Draw together all the LFPs computed with the different methods: - Results from the simulations (RN model) - Using the VC conductor theory """ import numpy as np import matplotlib.pyplot as plt import csv # Recording electrodes rec_els = { 'E': {'pos': (250, 0, 19000), 'lfp_indiv_ly1': {}, 'lfp_indiv_ly2': {}, 'lfp_total_ly1': None, 'lfp_total_ly2': None, 'color': 'r'}, 'S': {'pos': (0, -250, 19000), 'lfp_indiv_ly1': {}, 'lfp_indiv_ly2': {}, 'lfp_total_ly1': None, 'lfp_total_ly2': None, 'color': 'g'}, 'W': {'pos': (-250, 0, 19000), 'lfp_indiv_ly1': {}, 'lfp_indiv_ly2': {}, 'lfp_total_ly1': None, 'lfp_total_ly2': None, 'color': 'b'}, 'N': {'pos': (0, 250, 19000), 'lfp_indiv_ly1': {}, 'lfp_indiv_ly2': {}, 'lfp_total_ly1': None, 'lfp_total_ly2': None, 'color': 'k'} } # Stimulating electrode (amp in mA) delay = 0.1 dur = 0.2 amp = -15.e-3 stimcurrent = None stimelpos = (250, 0, 100) # Medium conductivity tensor (1/(Ohm*um)) sigma_x = 1. / (1.211e3 * 1.e-6) sigma_y = 1. / (1.211e3 * 1.e-6) sigma_z = 1. / (0.175e3 * 1.e-6) # Functions def compute_lfp(currents, elpos): """ Compute the LFP from a time series of currents as recorded by a point electrode situated at elpos The equation is taken from: Nicholson & Freeman (1975) The current sources are all the segments in the axon """ dx = x - elpos[0] dy = y - elpos[1] dz = z - elpos[2] denominator = 4. * np.pi * np.sqrt\ (\ sigma_y * sigma_z * dx ** 2 + \ sigma_z * sigma_x * dy ** 2 + \ sigma_x * sigma_y * dz ** 2\ ) # denominator = np.tile(denominator, nt).reshape(currents.shape) denominator = denominator.repeat(nt).reshape(currents.shape) # print dz.shape, (dz ** 2).shape, currents.shape return (currents / denominator).sum(axis=0) def compute_lfp_fromtimeseries(currents, srcpos, elpos): """ Compute the LFP from a time series of currents as recorded by a point electrode situated at elpos The equation is taken from: Nicholson & Freeman (1975) This time, there is only one current point source """ dx = srcpos[0] - elpos[0] dy = srcpos[1] - elpos[1] dz = srcpos[2] - elpos[2] denominator = 4. * np.pi * np.sqrt\ (\ sigma_y * sigma_z * dx ** 2 + \ sigma_z * sigma_x * dy ** 2 + \ sigma_x * sigma_y * dz ** 2\ ) # denominator = np.tile(denominator, nt).reshape(currents.shape) # denominator = denominator.repeat(nt).reshape(currents.shape) # denominator = denominator.repeat(nt) # print dz.shape, (dz ** 2).shape, currents.shape return currents / denominator # Declare arrays names = {} ily1 = {} ily2 = {} balancely1 = {} balancely2 = {} lfp_indiv_ly1 = {} lfp_indiv_ly2 = {} x = [] y = [] z = [] ii_fibs = [] # Other parameters dt = 0.005 # Get recordings from file recs = [] # with open('./recordings_R0P0_noartefacts.csv', 'r') as f: with open('./recordings_R0P0_withartefacts.csv', 'r') as f: frl = list(csv.reader(f)) for row in frl[1:]: recs.append(float(row[1])) recs = np.array(recs) # Get currents from file with open('./membranecurrents.csv', 'r') as f: frl = list(csv.reader(f)) for i, row in enumerate(frl[1:]): ifib = int(row[0]) ii_fibs.append(ifib) name = row[1] data = row[5:] ndata = len(data) / 2 dataly1 = np.array([float(item) for item in data[:ndata]]) dataly2 = np.array([float(item) for item in data[ndata:]]) try: ily1[ifib].append(dataly1.copy()) ily2[ifib].append(dataly2.copy()) names[ifib].append(name) except KeyError: names[ifib] = [name] ily1[ifib] = [dataly1] ily2[ifib] = [dataly2] x.append(float(row[2])) y.append(float(row[3])) z.append(float(row[4])) # Positions from lists to arrays x = np.array(x) y = np.array(y) z = np.array(z) # Finish setting parameters that depend on the data tarray = np.arange(0, dt * ndata, dt) nt = len(tarray) nsegstotal = len(z) stimcurrent = amp * np.ones_like(tarray) # stimcurrent[np.where(tarray < delay + dur)] = amp stimcurrent[np.where(tarray < delay)] = 0. stimcurrent[np.where(tarray > delay + dur)] = 0. # stimcurrent = stimcurrent() # stimcurrent[np.where(delay < tarray < delay + dur)] = amp # Positions of the nodes of Ranvier zRN = {} # and indices corresponding to them indsRN = {} for k, v in names.items(): zRN[k] = [] indsRN[k] = [] for i, vv in enumerate(v): if 'node' in vv: zRN[k].append(z[i]) indsRN[k].append(i) for ifib in ii_fibs: # Current balances ily1[ifib] = np.array(ily1[ifib]) ily2[ifib] = np.array(ily2[ifib]) balancely1[ifib] = np.zeros(nt) balancely2[ifib] = np.zeros(nt) for i_t, t in enumerate(tarray): balancely1[ifib][i_t] = ily1[ifib][:, i_t].sum() balancely2[ifib][i_t] = ily2[ifib][:, i_t].sum() # Individual LFPs for k, re in rec_els.items(): re['lfp_indiv_ly1'][ifib] = compute_lfp(ily1[ifib], re['pos']) re['lfp_indiv_ly2'][ifib] = compute_lfp(ily2[ifib], re['pos']) # Finally, sum up the individual LFPs of the fibers into a total LFP # for each electrode for k, re in rec_els.items(): re['lfp_total_ly1'] = np.zeros(nt) re['lfp_total_ly2'] = np.zeros(nt) for ifib in ii_fibs: re['lfp_total_ly1'] += re['lfp_indiv_ly1'][ifib] re['lfp_total_ly2'] += re['lfp_indiv_ly2'][ifib] # Add the contribution of the stimulating electrode re['lfp_total_ly1'] += compute_lfp_fromtimeseries(stimcurrent, stimelpos, re['pos']) re['lfp_total_ly2'] += compute_lfp_fromtimeseries(stimcurrent, stimelpos, re['pos']) # What if I sum them? resum = re['lfp_total_ly1'] + re['lfp_total_ly2'] # Now compare the two curves resum_norm = resum / np.abs(resum.max() - resum.min()) recs_norm = recs / np.abs(recs.max() - recs.min()) ############################################################################### # Figures # Time evolution at some point fig, ax = plt.subplots() ax.plot(tarray, recs, lw=3, label='RN model') for k, re in rec_els.items(): ax.plot(tarray, re['lfp_total_ly1'], c=re['color'] , ls='-', label=k + '. Layer 1') ax.plot(tarray, re['lfp_total_ly2'], c=re['color'] , ls='--', label=k + '. Layer 2') ax.plot(tarray, resum, 'r', lw=3, label='Sum VC model') ax.set_xlabel('Time (ms)') ax.set_ylabel('Extracellular recordings (mV)') ax.set_title('Extracellular recordings') ax.legend() fig.tight_layout() # plt.show() fig.savefig('recordings_all.png') fig, ax = plt.subplots() ax.plot(tarray, recs_norm, lw=3, label='RN model') ax.plot(tarray, resum_norm, 'r', lw=3, label='Sum VC model') ax.set_xlabel('Time (ms)') ax.set_ylabel('Extracellular recordings (mV)') ax.set_title('Extracellular recordings (normalised)') ax.legend() fig.tight_layout() # plt.show() fig.savefig('recordings_all_compare_RN_VC.png')
ed22cd98ccc5c3ab583769e5ced040437212592d
3f97f0ba5351aae879cae3c6c073d64077ee96bd
/ch99/photo/migrations/0001_initial.py
14effa898a4c93b21d9524971d9600907b03422d
[ "MIT" ]
permissive
dukuaris/django_web
7b8e63d82718afc2a7aedd97ceed97f8aeab4040
d6e8486999a8db8fc99c4b7dae0ddac402828c9d
refs/heads/master
2023-01-07T09:02:06.316075
2020-01-28T06:46:27
2020-01-28T06:46:27
232,438,676
0
0
MIT
2022-12-27T15:36:34
2020-01-07T23:45:17
HTML
UTF-8
Python
false
false
1,543
py
# Generated by Django 2.2.2 on 2020-01-16 09:54 from django.db import migrations, models import django.db.models.deletion import photo.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Album', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=30, verbose_name='NAME')), ('description', models.CharField(blank=True, max_length=100, verbose_name='One Line Description')), ], options={ 'ordering': ('name',), }, ), migrations.CreateModel( name='Photo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=30, verbose_name='TITLE')), ('description', models.TextField(blank=True, verbose_name='Photo Description')), ('image', photo.fields.ThumbnailImageField(upload_to='photo/%Y/%m', verbose_name='IMAGE')), ('upload_dt', models.DateTimeField(auto_now_add=True, verbose_name='UPLOAD DATE')), ('album', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='photo.Album')), ], options={ 'ordering': ('title',), }, ), ]
a150f25eb027d1b21cf74cf109a18e85acada783
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/apimanagement/azure-mgmt-apimanagement/generated_samples/api_management_user_confirmation_password_send.py
793650579dac2e949735e69fe128bc5958cef7ad
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,638
py
# 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. # -------------------------------------------------------------------------- from azure.identity import DefaultAzureCredential from azure.mgmt.apimanagement import ApiManagementClient """ # PREREQUISITES pip install azure-identity pip install azure-mgmt-apimanagement # USAGE python api_management_user_confirmation_password_send.py Before run the sample, please set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET. For more info about how to get the value, please see: https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal """ def main(): client = ApiManagementClient( credential=DefaultAzureCredential(), subscription_id="subid", ) response = client.user_confirmation_password.send( resource_group_name="rg1", service_name="apimService1", user_id="57127d485157a511ace86ae7", ) print(response) # x-ms-original-file: specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2022-08-01/examples/ApiManagementUserConfirmationPasswordSend.json if __name__ == "__main__": main()
4b7332355084b28ef509efbcfa0245ab7dafc7c7
eb82022c0cfc7c8747661cff9624ad2099fa1c3f
/dev_recap_invoice/models/recap_invoice.py
49c018ea5e561d7472a9a8bf5373cc7adc07fe2e
[]
no_license
dadysuarsa/Odoo
8d026a066c390cc8f72805d2672212e61260c1cb
c9becd0c192fa239520ad3e1a11d81f70832eddf
refs/heads/master
2023-03-11T06:02:06.011575
2021-02-26T02:17:37
2021-02-26T02:17:37
276,346,540
0
0
null
null
null
null
UTF-8
Python
false
false
18,488
py
# -*- coding: utf-8 -*- from odoo import models, fields, api,_ from odoo.exceptions import UserError, Warning from odoo.tools import float_is_zero, float_compare, DEFAULT_SERVER_DATETIME_FORMAT from odoo.tools.misc import formatLang from odoo import time from datetime import datetime from openerp.tools import amount_to_text_en class AccountInvoice(models.Model): _inherit = 'account.invoice' ship_mode = fields.Selection([ ('1','By air'), ('2','By sea'), ('3','By sea air') ],string="Ship Mode") class recapinvoice(models.Model): _name = 'invoice.recap' name = fields.Char(string="No Invoice", readonly=True, default="NEW") date_trans = fields.Datetime(string='Date Transaction', required=True, index=True, copy=False, default=fields.Datetime.now) company_id = fields.Many2one('res.company', ondelete='set null',string='Company Id',index=True,default=lambda self: self.env['res.company']._company_default_get('invoice.recap')) user_id = fields.Many2one('res.users',string='User id ', index=True, track_visibility='onchange', default=lambda self: self.env.user) state= fields.Selection([ ('draft',"Draft"), ('done',"Done"), ], string="Status", readonly=True,copy=False,index=True,default='draft') matauang = fields.Char(string="Currency") total = fields.Float(string="Untax Amount",store=True, readonly=True, compute='_njmlnilai', track_visibility='always') invoicerecapline_line = fields.One2many("invoice.recap.line","invoicerecap_line") accountinv_id = fields.Many2one("account.invoice", string="Invoice Number", domain=[('type','=','out_invoice')]) customer_name = fields.Char(related="accountinv_id.partner_id.name", string="Customer") ppn = fields.Float(string="Tax",compute="_njmlnilaippn", store=True ) jumlahtotal = fields.Float(string="Total",compute="_njmlnilaigab", store=True ) no_sj = fields.Char(string="Delivery Number") #pricelist_id = fields.Many2one('product.pricelist', string='Pricelist', required=True, readonly=True, states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}, help="Pricelist for current sales order.") #total = fields.Monetary(string='Untaxed Amount', store=True, readonly=True, compute='_njmlnilai', track_visibility='always') #ppn = fields.Monetary(string='Taxes', store=True, readonly=True, compute='_njmlnilaippn', track_visibility='always') #jumlahtotal = fields.Monetary(string='Total', store=True, readonly=True, compute='_njmlnilaigab', track_visibility='always') currency_id = fields.Many2one(related='accountinv_id.currency_id', store=True, string='Currency', readonly=True) transportation = fields.Char(string="Transportation") sum_qty = fields.Float(string="SUM qty",compute="_sum_qty",store=True) sum_kemasan = fields.Float(string="SUM Kemasan",compute="_sum_qty",store=True) #nosj = fields.Many2one(related='accountinv_id.picking_id',string="Delivery Order Number", store=True) divisi = fields.Selection([ ('textile','TEXTILE'), ('garment','GARMENT'), ], string='Division', default='textile') ship_mode = fields.Selection([ ('1','By air'), ('2','By sea'), ('3','By sea air') ],string="Ship Mode") ref = fields.Char('REF', help="REF ") # qty_g = fields.Float(string='Qty') # satuan_g = fields.Char(string='Unit') # qty_kemasan_g = fields.Integer(string='Qty Kemasan') # satuan_kemasan_g = fields.Char(string='Unit Kemasan') # @api.multi # def validate(self, vals): # c='' # if self.divisi=='textile': # c='1' # if self.divisi=='garment': # c='2' # now=datetime.now() # month = now.strftime("%m") # year=now.strftime("%y") # nmsequencesj=month+year # nmsequence=month+year # cdivisi=c+"ROUT" # # vals['no_sj'] = self.env['ir.sequence'].get_sequence('nosjrecap',nmsequencesj,cdivisi+'%(y)s%(month)s',4) # csj=self.env['ir.sequence'].get_sequence('nosjrecap',nmsequencesj,cdivisi+'%(y)s%(month)s',4) # cinv=self.env['ir.sequence'].get_sequence('noinvrecap',nmsequence,'INV-R/%(month)s/%(y)s/',4) # # vals['name'] = self.env['ir.sequence'].get_sequence('noinvrecap',nmsequence,'INV-R/%(month)s/%(y)s/',4) # cvalidate = self.write({'state':'done',}) # isi_sj = self.write({'no_sj':csj,}) # isi_inv = self.write({'name':cinv,}) # # return super(recapinvoice, self).create(vals) # return cvalidate # return isi_sj # return isi_inv # if not self.invoicerecapline_line: # raise UserError('Details Cannot Be Empty') # cvalidate = self.write({'state':'done',}) @api.model def create(self, vals): if not self.invoicerecapline_line: now=datetime.now() month = now.strftime("%m") year=now.strftime("%y") nmsequencesj=month+year nmsequence=month+year company_code = self.env.user.company_id.code_company cdivisi=company_code+"ROUT" vals['no_sj'] = self.env['ir.sequence'].get_sequence('nosjrecap',nmsequencesj,cdivisi+'%(y)s%(month)s',4) vals['name'] = self.env['ir.sequence'].get_sequence('noinvrecap',nmsequence,'INV-R/%(month)s/%(y)s/',4) return super(recapinvoice, self).create(vals) #================== # @api.model # def create1(self, vals): # raise UserError('inv') # now=datetime.now() # month = now.strftime("%m") # year=now.strftime("%y") # nmsequence=month+year # vals['name'] = self.env['ir.sequence'].get_sequence('noinvrecap',nmsequence,'INV-R/%(month)s/%(y)s/',4) # return super(recapinvoice, self).create(vals) #================ @api.multi def validate(self): if not self.invoicerecapline_line: raise UserError('Details Cannot Be Empty') if self.invoicerecapline_line: list_of_inv_distinct =[] list_of_inv_distinct[:] =[] list_of_inv = [x.noinvoice for x in self.invoicerecapline_line] for a in list_of_inv: if a not in list_of_inv_distinct: list_of_inv_distinct.append(a) rec_inv = self.env['account.invoice'].search([('number','in',list_of_inv_distinct)]) for r in rec_inv: r.write({'ship_mode':self.ship_mode}) cvalidate = self.write({'state':'done',}) return cvalidate @api.depends('invoicerecapline_line','accountinv_id') def _njmlnilai(self): for rec in self: x=sum([att.total for att in rec.invoicerecapline_line]) rec.total=x #raise UserError(x) #rec.update({'total': rec.pricelist_id.currency_id.round(x)}) @api.depends('invoicerecapline_line','accountinv_id') def _njmlnilaippn(self): d=[t.noinvoice for t in self.invoicerecapline_line] #raise UserError(list1) accinv=self.env['account.invoice'].search([('number','=',d)]) c=sum([p.amount_tax for p in accinv]) #raise UserError(c) self.ppn=c #self.update({'ppn': self.pricelist_id.currency_id.round(c)}) @api.depends('invoicerecapline_line','accountinv_id') def _njmlnilaigab(self): ntotal=self.ppn+self.total self.jumlahtotal=ntotal #self.update({'jumlahtotal': self.pricelist_id.currency_id.round(ntotal)}) # def _isirecord(self,crec,noinv): # rincianinvoice = self.env['invoice.recap.line'] # data = {'invoicerecap_line': self.id, # 'no_mo': crec.no_mo, # 'no_design':crec.no_design, # 'no_design_buyer':crec.no_design_buyer, # 'color':crec.color, # 'product_id':crec.product_id, # 'cost_center_id':crec.cost_center_id, # 'qty':crec.quantity, # 'price':crec.price_unit, # 'total':crec.price_subtotal, # 'noinvoice':noinv.number, # 'account':crec.account_id, # 'cost_center_id':crec.cost_center_id, # 'inv_line_id':crec.id, # 'nosj':noinv.picking_id.name # } # return data @api.onchange('accountinv_id') def _gabunginv(self): ckemasan='' cjmlkemasan=0 company_code = self.env.user.company_id.code_company if company_code=='1': if self.accountinv_id: isiinv = self.env['account.invoice.line'].search([('invoice_id','=',self.accountinv_id.id)]) #self.accountinv_id.id #raise UserError(isiinv) for crec in isiinv: cariinv = self.env['account.invoice'].search([('id', '=',crec.invoice_id.id)]) cekkemasan = self.env['stock.picking'].search([('id','=',cariinv.picking_id.id)]) # for r in cekkemasan.kemasan_line: # ckemasan = r.jenis_kemasan_id.name # cjmlkemasan = r.qty # raise UserError(crec.uom_id.name) for noinv in cariinv: cekinv = self.env['invoice.recap.line'].search([('noinvoice','=',crec.invoice_id.number),('product_id','=',crec.product_id.id),('state','!=','')]) #cek_orderline = self.env['invoicerecapline_line'].search([('noinvoice','=',crec.invoice_id.number),('product_id','=',crec.product_id.id)]) if not cekinv: values = self.env['invoice.recap.line'].new({'no_mo': crec.no_mo,'no_design':crec.no_design,'no_design_buyer':crec.no_design_buyer, 'color':crec.color, 'product_id':crec.product_id, 'cost_center_id':crec.cost_center_id, 'qty':crec.quantity, 'price':crec.price_unit, 'total':crec.price_subtotal, 'noinvoice':noinv.number, 'account':crec.account_id, 'cost_center_id':crec.cost_center_id, 'inv_line_id':crec.id, 'nosj':noinv.picking_id.name, 'satuan_id':crec.uom_id.id, 'destinasi_id':cariinv.name_destination.id }) self.invoicerecapline_line += values else: if self.accountinv_id: query=""" select a.id,a.name_destination as destinasi,b.product_id,b.name,b.invoice_id,b.account_id,b.uom_id as satuan,b.price_unit as harga,sum(b.quantity) as jmlqty,sum(b.price_subtotal) as nilaitotal from account_invoice a inner join account_invoice_line b on a.id=b.invoice_id where invoice_id=%s group by a.id,b.invoice_id,b.product_id,b.name,b.account_id,b.uom_id,b.price_unit """ tes= self._cr.execute(query,(self.accountinv_id.id,)) # tes=self.env.cr.fetchall() tes=self.env.cr.dictfetchall() for grm in tes: # for grm in self.env.cr.dictfetchall(): values = self.env['invoice.recap.line'].new({ 'product_id':grm['product_id'], 'description':grm['name'], 'qty':grm['jmlqty'], 'total':grm['nilaitotal'], 'noinvoice':self.accountinv_id.number, 'account':grm['account_id'], 'price':grm['harga'], # 'nosj':noinv.picking_id.name, # 'qty_kemasan':cjmlkemasan, # 'jenis_kemasan':ckemasan, 'satuan_id':grm['satuan'], 'destinasi_id':grm['destinasi'] }) self.invoicerecapline_line += values # def _gabunginv(self): #original sebelum tambah cetakan yg sj garment # if self.divisi=='textile': # if self.accountinv_id: # isiinv = self.env['account.invoice.line'].search([('invoice_id','=',self.accountinv_id.id)]) # #self.accountinv_id.id # #raise UserError(isiinv) # for crec in isiinv: # cariinv = self.env['account.invoice'].search([('id', '=',crec.invoice_id.id)]) # # new_lines = self.env['invoice.recap.line'] # for noinv in cariinv: # cekinv = self.env['invoice.recap.line'].search([('noinvoice','=',crec.invoice_id.number),('product_id','=',crec.product_id.id),('state','!=','')]) # #cek_orderline = self.env['invoicerecapline_line'].search([('noinvoice','=',crec.invoice_id.number),('product_id','=',crec.product_id.id)]) # if not cekinv: # # data = self._isirecord(crec,noinv) # # new_line = new_lines.new(data) # # new_line._set_additional_fields() # # new_lines += new_line # values = self.env['invoice.recap.line'].new({'no_mo': crec.no_mo,'no_design':crec.no_design,'no_design_buyer':crec.no_design_buyer, # 'color':crec.color, # 'product_id':crec.product_id, # 'cost_center_id':crec.cost_center_id, # 'qty':crec.quantity, # 'price':crec.price_unit, # 'total':crec.price_subtotal, # 'noinvoice':noinv.number, # 'account':crec.account_id, # 'cost_center_id':crec.cost_center_id, # 'inv_line_id':crec.id, # 'nosj':noinv.picking_id.name # }) # self.invoicerecapline_line += values #batas original sebelum tambah cetakan yg sj garment ## else: ## cariinv=self.env['account.invoice'].search([('picking_id','=',self.accountinv_id.picking_id.id)]) ## raise UserError(cariinv.picking_id.id) @api.multi def _updateinvgabungan(self): filterinv = self.env['invoice.recap.line'].search([('name','=',self.name)]) #raise UserError(filterinv.noinvoice) for rec in filterinv: if rec : x=self.env['account.invoice'].search([('number','=',rec.noinvoice)]) x.write({'invoice_gabungan':self.name}) #raise UserError(rec.noinvoice) @api.depends("invoicerecapline_line") def _sum_qty(self): nqty1=0 nqty2=0 for r in self: for z in r.invoicerecapline_line: nqty1+=z.qty nqty2+=z.qty_kemasan r.sum_qty=nqty1 r.sum_kemasan = nqty2 @api.one def action_change(self): res = self.write({ 'name':self.ref, }) return res # @api.depends("invoicerecapline_line") # def sum_qty_kemasan(self): # nqty2=0 # for z in self.invoicerecapline_line: # nqty2+=z.qty_kemasan # self.sum_kemasan=nqty2 @api.multi def todraft(self): if self.state =='done': res = self.write({ 'state':'draft', }) return res class recapinvoiceline(models.Model): _name = 'invoice.recap.line' name = fields.Char(related="invoicerecap_line.name", store=True) no_mo = fields.Char(string="Order No") no_design = fields.Char(string="Design No") no_design_buyer = fields.Char(string="Design Buyer") color = fields.Char(string="Color") description = fields.Char(string="Description") account = fields.Many2one("account.account",string="Account") product_id = fields.Many2one("product.product", string="Product") cost_center_id = fields.Many2one("account.cost.center",string="Cost Center") invoice_tax = fields.Many2one("account.tax",string="Tax",readonly=True) noinvoice = fields.Char(string="Invoice Number") nosj = fields.Char(string="Delivery Order Number") nama_barang = fields.Char(related="product_id.name") price = fields.Float(string="Price", readonly=True) qty = fields.Float(string="Quantity", readonly=True) total = fields.Float(string="Total", readonly=True) invoicerecap_line = fields.Many2one("invoice.recap", ondelete='cascade', index=True, copy=False) state = fields.Selection(related="invoicerecap_line.state", store=True) #noinvoice_gabungan = fields.Char(related="invoicerecap_line.name", store=True) date_trans = fields.Datetime(string='Date Transaction', required=True, index=True, copy=False, default=fields.Datetime.now) company_id = fields.Many2one('res.company', ondelete='set null',string='Company Id',index=True,default=lambda self: self.env['res.company']._company_default_get('invoice.recap.line')) user_id = fields.Many2one('res.users',string='User id ', index=True, track_visibility='onchange', default=lambda self: self.env.user) inv_line_id = fields.Integer() keterangan = fields.Char(string="Keterangan") qty_kemasan = fields.Float(string='Packing Qty') jenis_kemasan = fields.Many2one("jenis.kemasan",string='Packing') satuan_id = fields.Many2one("product.uom",string="Unit") destinasi_id = fields.Many2one("master.destination.line",string="Destination") # def _set_additional_fields(self): # pass
605f661973bbbcd2a3ae449efe253b4c8fb5f8d1
a3eb732ead7e1d10a85a88e42dc639eb16a40265
/instagram_api/exceptions/login_required.py
17efdeb06ecf91b72d2beb3c97a51eae69770f8a
[ "MIT" ]
permissive
carsam2021/instagram_api
7654c0f485c22935cf478016e46e65acbeda9344
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
refs/heads/master
2023-03-16T14:06:27.515432
2020-10-17T04:39:19
2020-10-17T04:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
from .request import RequestException class LoginRequiredException(RequestException): pass
bb9907066005e577a1998be045ba95d25cf0401b
48bb4a0dbb361a67b88b7c7532deee24d70aa56a
/codekata/greatese.py
5bf5eea99317b8d7235f806cd8e0e600b1945704
[]
no_license
PRAMILARASI/GUVI
66080a80400888263d511138cb6ecd37540507c7
6a30a1d0a3f4a777db895f0b3adc8b0ac90fd25b
refs/heads/master
2022-01-28T08:54:07.719735
2019-06-24T15:57:05
2019-06-24T15:57:05
191,355,070
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
x=int(input("")) y=int(input("")) z=int(input("")) if(x>y>z): largest=x print(largest) elif(y>z): largest=y print (largest) else: largest=z print(largest)
b8c9672e42c3bf90c709b694832601d20977efac
14f455693213cae4506a01b7d0591e542c38de79
/apps/profile/urls.py
ae3b903bd2e0bbdeddb2002969555017bac9927d
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Cvalladares/Newsblur_Instrumented
f0b14d063759973330f202108a7eed3a29bcc033
4d6ee6aa9713879b1e2550ea5f2dbd819c73af12
refs/heads/master
2022-12-29T15:19:29.726455
2019-09-03T17:09:04
2019-09-03T17:09:04
206,130,022
0
0
MIT
2022-12-10T06:00:26
2019-09-03T17:07:04
Python
UTF-8
Python
false
false
2,248
py
from django.conf.urls import * from apps.profile import views urlpatterns = patterns('', url(r'^get_preferences?/?', views.get_preference), url(r'^set_preference/?', views.set_preference), url(r'^set_account_settings/?', views.set_account_settings), url(r'^get_view_setting/?', views.get_view_setting), url(r'^set_view_setting/?', views.set_view_setting), url(r'^clear_view_setting/?', views.clear_view_setting), url(r'^set_collapsed_folders/?', views.set_collapsed_folders), url(r'^paypal_form/?', views.paypal_form), url(r'^paypal_return/?', views.paypal_return, name='paypal-return'), url(r'^is_premium/?', views.profile_is_premium, name='profile-is-premium'), url(r'^paypal_ipn/?', include('paypal.standard.ipn.urls'), name='paypal-ipn'), url(r'^paypal_webhooks/?', include('paypal.standard.ipn.urls'), name='paypal-webhooks'), url(r'^stripe_form/?', views.stripe_form, name='stripe-form'), url(r'^activities/?', views.load_activities, name='profile-activities'), url(r'^payment_history/?', views.payment_history, name='profile-payment-history'), url(r'^cancel_premium/?', views.cancel_premium, name='profile-cancel-premium'), url(r'^refund_premium/?', views.refund_premium, name='profile-refund-premium'), url(r'^never_expire_premium/?', views.never_expire_premium, name='profile-never-expire-premium'), url(r'^upgrade_premium/?', views.upgrade_premium, name='profile-upgrade-premium'), url(r'^save_ios_receipt/?', views.save_ios_receipt, name='save-ios-receipt'), url(r'^update_payment_history/?', views.update_payment_history, name='profile-update-payment-history'), url(r'^delete_account/?', views.delete_account, name='profile-delete-account'), url(r'^forgot_password_return/?', views.forgot_password_return, name='profile-forgot-password-return'), url(r'^forgot_password/?', views.forgot_password, name='profile-forgot-password'), url(r'^delete_starred_stories/?', views.delete_starred_stories, name='profile-delete-starred-stories'), url(r'^delete_all_sites/?', views.delete_all_sites, name='profile-delete-all-sites'), url(r'^email_optout/?', views.email_optout, name='profile-email-optout'), )
d741cbbed408cd89eba80b859cd1b82ff07f0c56
5f364b328d0e7df6f292dbbec266995f495b2ed4
/src/python/txtai/vectors/words.py
1cac062ec92c54e5a3ac71630cd7282b202a50b2
[ "Apache-2.0" ]
permissive
binglinchengxiash/txtai
a17553f57ddd857ff39a7d0b38e24930f5c71596
1513eb8390f01848742e67690b6e4bc6452101ee
refs/heads/master
2023-04-03T18:59:35.845281
2021-04-05T22:05:15
2021-04-05T22:05:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,715
py
""" Word Vectors module """ import os import pickle import tempfile from errno import ENOENT from multiprocessing import Pool import fasttext import numpy as np from pymagnitude import converter, Magnitude from .base import Vectors from ..pipeline.tokenizer import Tokenizer # Multiprocessing helper methods # pylint: disable=W0603 VECTORS = None def create(config, scoring): """ Multiprocessing helper method. Creates a global embeddings object to be accessed in a new subprocess. Args: config: vector configuration scoring: scoring instance """ global VECTORS # Create a global embedding object using configuration and saved VECTORS = WordVectors(config, scoring) def transform(document): """ Multiprocessing helper method. Transforms document into an embeddings vector. Args: document: (id, text|tokens, tags) Returns: (id, embedding) """ global VECTORS return (document[0], VECTORS.transform(document)) class WordVectors(Vectors): """ Builds sentence embeddings/vectors using weighted word embeddings. """ def load(self, path): # Ensure that vector path exists if not path or not os.path.isfile(path): raise IOError(ENOENT, "Vector model file not found", path) # Load magnitude model. If this is a training run (uninitialized config), block until vectors are fully loaded return Magnitude(path, case_insensitive=True, blocking=not self.initialized) def index(self, documents): ids, dimensions, stream = [], None, None # Shared objects with Pool args = (self.config, self.scoring) # Convert all documents to embedding arrays, stream embeddings to disk to control memory usage with Pool(os.cpu_count(), initializer=create, initargs=args) as pool: with tempfile.NamedTemporaryFile(mode="wb", suffix=".npy", delete=False) as output: stream = output.name for uid, embedding in pool.imap(transform, documents): if not dimensions: # Set number of dimensions for embeddings dimensions = embedding.shape[0] ids.append(uid) pickle.dump(embedding, output) return (ids, dimensions, stream) def transform(self, document): # Convert to tokens if necessary if isinstance(document[1], str): document = (document[0], Tokenizer.tokenize(document[1]), document[2]) # Generate weights for each vector using a scoring method weights = self.scoring.weights(document) if self.scoring else None # pylint: disable=E1133 if weights and [x for x in weights if x > 0]: # Build weighted average embeddings vector. Create weights array os float32 to match embeddings precision. embedding = np.average(self.lookup(document[1]), weights=np.array(weights, dtype=np.float32), axis=0) else: # If no weights, use mean embedding = np.mean(self.lookup(document[1]), axis=0) return embedding def lookup(self, tokens): """ Queries word vectors for given list of input tokens. Args: tokens: list of tokens to query Returns: word vectors array """ return self.model.query(tokens) @staticmethod def build(data, size, mincount, path): """ Builds fastText vectors from a file. Args: data: path to input data file size: number of vector dimensions mincount: minimum number of occurrences required to register a token path: path to output file """ # Train on data file using largest dimension size model = fasttext.train_unsupervised(data, dim=size, minCount=mincount) # Output file path print("Building %d dimension model" % size) # Output vectors in vec/txt format with open(path + ".txt", "w") as output: words = model.get_words() output.write("%d %d\n" % (len(words), model.get_dimension())) for word in words: # Skip end of line token if word != "</s>": vector = model.get_word_vector(word) data = "" for v in vector: data += " " + str(v) output.write(word + data + "\n") # Build magnitude vectors database print("Converting vectors to magnitude format") converter.convert(path + ".txt", path + ".magnitude", subword=True)
31016d76561425d939332319e1c3c3f3630350a1
5808f74f1825919da58ae91829ff4516623eb79d
/2020/new_python_concepts/02_floats.py
00d580b96499450bff11db1b8e67cafef9cebf04
[ "MIT" ]
permissive
hygull/stkovrflw
e2d78c8614b8d9646e3458926d71d13dfa75e2d4
f341727c7e42b6e667345f12814ab1f2479f1b89
refs/heads/master
2023-07-19T11:56:45.818534
2022-03-19T18:13:47
2022-03-19T18:13:47
132,311,923
0
1
MIT
2023-07-16T21:27:08
2018-05-06T06:10:14
Python
UTF-8
Python
false
false
254
py
def func(p1: float, p2: float) -> float: print(p1 + p2) # return None """ floats.py:3: error: Incompatible return value type (got "None", expected "float") Found 1 error in 1 file (checked 2 source files) """ return p1 + p2
17d1e40c434aaf3fc57628e1fe5cf9356c36542a
97724145652ba49c5aacaf66d54a89f71c3f6426
/10-Testing-Exercise/mammal/test/test_mammal.py
f7874ed1536182fc6484460f09845535d717ac08
[]
no_license
l-damyanov/Python-OOP---February-2021
c0d729c99d6af44a55ee7f7a05cf66fb6d69876b
e92417ed38f1b24405973b2027c11201d09ddb83
refs/heads/main
2023-03-31T07:45:09.347412
2021-04-01T20:24:27
2021-04-01T20:24:27
341,599,115
1
0
null
null
null
null
UTF-8
Python
false
false
826
py
import unittest from mammal.project.mammal import Mammal class TestMammal(unittest.TestCase): def setUp(self): self.mammal = Mammal("Test mammal", "predator", "roar") def test_attr_set_up(self): self.assertEqual("Test mammal", self.mammal.name) self.assertEqual("predator", self.mammal.type) self.assertEqual("roar", self.mammal.sound) self.assertEqual(self.mammal._Mammal__kingdom, "animals") def test_make_sound_return(self): self.assertEqual("Test mammal makes roar", self.mammal.make_sound()) def test_get_kingdom_return(self): self.assertEqual("animals", self.mammal.get_kingdom()) def test_info_return(self): self.assertEqual("Test mammal is of type predator", self.mammal.info()) if __name__ == '__main__': unittest.main()
da12d3c31d5a691fa0565cbeff1fae9483d8d99b
93e9bbcdd981a6ec08644e76ee914e42709579af
/devide_and_conquer/315_Count_of_Smaller_Numbers_After_Self.py
e99b6ea88b209f2414fdefe3366889f075cf4bbd
[]
no_license
vsdrun/lc_public
57aa418a8349629494782f1a009c1a8751ffe81d
6350568d16b0f8c49a020f055bb6d72e2705ea56
refs/heads/master
2020-05-31T11:23:28.448602
2019-10-02T21:00:57
2019-10-02T21:00:57
190,259,739
6
0
null
null
null
null
UTF-8
Python
false
false
2,254
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ https://leetcode.com/problems/count-of-smaller-numbers-after-self/description/ You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the number of smaller elements to the right of nums[i]. Example: Input: [5,2,6,1] Output: [2,1,1,0] Explanation: To the right of 5 there are 2 smaller elements (2 and 1). To the right of 2 there is only 1 smaller element (1). To the right of 6 there is 1 smaller element (1). To the right of 1 there is 0 smaller element. """ class Solution(object): def countSmaller(self, nums): """ :type nums: List[int] :rtype: List[int] """ def sort(enum): half = len(enum) / 2 if half: left, right = sort(enum[:half]), sort(enum[half:]) for i in range(len(enum))[::-1]: if not right or left and left[-1][1] > right[-1][1]: smaller[left[-1][0]] += len(right) enum[i] = left.pop() else: enum[i] = right.pop() return enum smaller = [0] * len(nums) sort(list(enumerate(nums))) return smaller def rewrite(self, nums): """ :type nums: List[int] :rtype: List[int] """ """ 想法: 用merge sort """ result = [0] * len(nums) def msort(enum): half = len(enum) / 2 if half: left = msort(enum[:half]) right = msort(enum[half:]) for idx in range(len(enum))[::-1]: # (4,3,2,1,0) if (not right) or (left and left[-1][1] > right[-1][1]): result[left[-1][0]] += len(right) enum[idx] = left.pop() else: enum[idx] = right.pop() return enum msort(list(enumerate(nums))) # [(0, 3),(1,7),...] return result def build(): return [-1,-1] return [5,2,6,1] if __name__ == "__main__": s = Solution() print(s.countSmaller(build())) print(s.rewrite(build()))
7e8eed3e3e234e712b3ae2ebb9a56d9680629cb5
64a955664b82be8ed149d01149b36a8aac626f8e
/chapter5/p5.py
5ed71fd3dd2d87de56d123944936a15d519c8c03
[]
no_license
JoelDavisP/Python-Practice-Book-Solutions
b60371590d8aaecab9de6ccad2bf2efb7a2f90ae
ea298d35e50d3719d5b0b841748abfd0c852cc95
refs/heads/master
2021-07-14T04:52:40.678170
2017-10-18T13:26:50
2017-10-18T13:26:50
105,724,396
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
import os import sys def lines_py(): """It compute the total number of lines of code in all python files (.py extension) in a specified directory recursively. """ dname = sys.argv[1] dpath = os.path.abspath(dname) line_count = 0 for fpath,dnames,fnames in os.walk(dpath): for i in fnames: j = os.path.join(fpath,i) if i.split('.')[1] == 'py': fn = open(j, 'r') for j in fn.readlines(): line_count += 1 yield line_count y = lines_py() while True: print y.next()
e4ca53294f3bb722d6cea8e2f23af4c97b3e01e8
cd781c114deb0ee56fcd8e35df038397ebf8dc09
/Mid Exams/Array Modifier.py
0beeaf038595a84c7b956ebade8230279bf00e54
[]
no_license
GBoshnakov/SoftUni-Fund
4549446c3bb355ff74c14d6071d968bde1886de5
de9318caaf072a82a9be8c3dd4e74212b8edd79e
refs/heads/master
2023-06-06T04:56:14.951452
2021-06-30T21:50:44
2021-06-30T21:50:44
381,817,178
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
numbers = [int(n) for n in input().split()] command = input() while command != "end": command = command.split() action = command[0] if action == "swap": index_1 = int(command[1]) index_2 = int(command[2]) numbers[index_1], numbers[index_2] = numbers[index_2], numbers[index_1] elif action == "multiply": index_1 = int(command[1]) index_2 = int(command[2]) numbers[index_1] *= numbers[index_2] elif action == "decrease": for i in range(len(numbers)): numbers[i] -= 1 command = input() print(", ".join(list(map(str, numbers))))
ae794f51c213d3b803cc088b8c557a9b5dd56371
b7b7342a7369117cb98de55f697153e875eecbbc
/example.py
098d2dcfbcfa00aab247a6a943daee18f895b5ad
[ "MIT" ]
permissive
zzygyx9119/nglesspy
953a3ab084b7df72df522076b3cd094e4a02ba12
3cfa28ea8fe2fdc3c08ac80a5949844544489cc9
refs/heads/master
2022-11-18T20:38:45.927728
2020-07-16T19:56:42
2020-07-16T19:57:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
from ngless import NGLess sc = NGLess.NGLess('0.0') sc.import_('mocat', '0.0') e = sc.env e.sample = sc.load_mocat_sample_('testing') @sc.preprocess_(e.sample, using='r') def proc(bk): bk.r = sc.substrim_(bk.r, min_quality=25) sc.if_(sc.len_(bk.r) < 45, sc.discard_) e.mapped = sc.map_(e.sample, reference='hg19') e.mapped = sc.select_(e.mapped, keep_if=['{mapped}']) sc.write_(e.mapped, ofile='ofile.sam') sc.run()
818ff902546aedaae8aaab629c81c725f1bf8b91
a94e8b83bb2a4ccc1fffbd28dd18f8783872daab
/Mock CCC/Mock CCC19S2 Pusheens Puzzle Present.py
aec48957b55fe819a6e6614885614ac56d2f56d4
[]
no_license
MowMowchow/Competitive-Programming
d679c1fe2d7d52940dc83a07dc8048922078704e
0ec81190f6322e103c2ae0ad8c3935bd4cdfff46
refs/heads/master
2022-03-03T03:01:03.383337
2022-02-17T07:27:45
2022-02-17T07:27:45
184,678,148
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
import sys import math n = int(sys.stdin.readline()) grid = [[int(x) for x in sys.stdin.readline().split()] for x in range(n)] counter = 1 sublength = 0 for row in grid: for curr in range(n-1): if row[curr] != row[curr+1] - 1: sublength += 1 break #counter += 1 print(sublength)
4e9cf1128c2b20e84ccb9cb2a506b60bd1d92535
4d4899e54a8a97fad2039350f16c50245a4e0810
/source/todoapp/migrations/0003_task_full_description.py
09595c6bfdf9b7d031b76dd1d3c8ead3665d189d
[]
no_license
UuljanAitnazarova/python_homework_45_To_do_list
f7f4925bff987d5a13e52b48f745a4bddb72c440
592bd5ad8ac61f1147e7bf5ffe49f899a9a0c7cd
refs/heads/master
2023-03-12T12:28:24.234398
2021-03-04T08:52:25
2021-03-04T08:52:25
341,508,360
0
1
null
null
null
null
UTF-8
Python
false
false
469
py
# Generated by Django 3.1.7 on 2021-02-26 10:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('todoapp', '0002_auto_20210223_1242'), ] operations = [ migrations.AddField( model_name='task', name='full_description', field=models.TextField(default='полное описание задания'), preserve_default=False, ), ]
b26307c5e31b8ab3a89d2da60b1358d6b3f6cf7a
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PyQt5/QtWidgets/QGraphicsObject.py
ecd995203686bcbec70e38142191c515aad5938a
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
5,227
py
# encoding: utf-8 # module PyQt5.QtWidgets # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PyQt5\QtWidgets.pyd # by generator 1.146 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import PyQt5.QtGui as __PyQt5_QtGui import sip as __sip from .QGraphicsItem import QGraphicsItem class QGraphicsObject(__PyQt5_QtCore.QObject, QGraphicsItem): """ QGraphicsObject(parent: QGraphicsItem = None) """ def childEvent(self, *args, **kwargs): # real signature unknown pass def connectNotify(self, *args, **kwargs): # real signature unknown pass def contextMenuEvent(self, *args, **kwargs): # real signature unknown pass def customEvent(self, *args, **kwargs): # real signature unknown pass def disconnectNotify(self, *args, **kwargs): # real signature unknown pass def dragEnterEvent(self, *args, **kwargs): # real signature unknown pass def dragLeaveEvent(self, *args, **kwargs): # real signature unknown pass def dragMoveEvent(self, *args, **kwargs): # real signature unknown pass def dropEvent(self, *args, **kwargs): # real signature unknown pass def enabledChanged(self): # real signature unknown; restored from __doc__ """ enabledChanged(self) [signal] """ pass def event(self, QEvent): # real signature unknown; restored from __doc__ """ event(self, QEvent) -> bool """ return False def focusInEvent(self, *args, **kwargs): # real signature unknown pass def focusOutEvent(self, *args, **kwargs): # real signature unknown pass def grabGesture(self, Qt_GestureType, flags, Qt_GestureFlags=None, Qt_GestureFlag=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ """ grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags()) """ pass def hoverEnterEvent(self, *args, **kwargs): # real signature unknown pass def hoverLeaveEvent(self, *args, **kwargs): # real signature unknown pass def hoverMoveEvent(self, *args, **kwargs): # real signature unknown pass def inputMethodEvent(self, *args, **kwargs): # real signature unknown pass def inputMethodQuery(self, *args, **kwargs): # real signature unknown pass def isSignalConnected(self, *args, **kwargs): # real signature unknown pass def itemChange(self, *args, **kwargs): # real signature unknown pass def keyPressEvent(self, *args, **kwargs): # real signature unknown pass def keyReleaseEvent(self, *args, **kwargs): # real signature unknown pass def mouseDoubleClickEvent(self, *args, **kwargs): # real signature unknown pass def mouseMoveEvent(self, *args, **kwargs): # real signature unknown pass def mousePressEvent(self, *args, **kwargs): # real signature unknown pass def mouseReleaseEvent(self, *args, **kwargs): # real signature unknown pass def opacityChanged(self): # real signature unknown; restored from __doc__ """ opacityChanged(self) [signal] """ pass def parentChanged(self): # real signature unknown; restored from __doc__ """ parentChanged(self) [signal] """ pass def prepareGeometryChange(self, *args, **kwargs): # real signature unknown pass def receivers(self, *args, **kwargs): # real signature unknown pass def rotationChanged(self): # real signature unknown; restored from __doc__ """ rotationChanged(self) [signal] """ pass def scaleChanged(self): # real signature unknown; restored from __doc__ """ scaleChanged(self) [signal] """ pass def sceneEvent(self, *args, **kwargs): # real signature unknown pass def sceneEventFilter(self, *args, **kwargs): # real signature unknown pass def sender(self, *args, **kwargs): # real signature unknown pass def senderSignalIndex(self, *args, **kwargs): # real signature unknown pass def timerEvent(self, *args, **kwargs): # real signature unknown pass def ungrabGesture(self, Qt_GestureType): # real signature unknown; restored from __doc__ """ ungrabGesture(self, Qt.GestureType) """ pass def updateMicroFocus(self): # real signature unknown; restored from __doc__ """ updateMicroFocus(self) """ pass def visibleChanged(self): # real signature unknown; restored from __doc__ """ visibleChanged(self) [signal] """ pass def wheelEvent(self, *args, **kwargs): # real signature unknown pass def xChanged(self): # real signature unknown; restored from __doc__ """ xChanged(self) [signal] """ pass def yChanged(self): # real signature unknown; restored from __doc__ """ yChanged(self) [signal] """ pass def zChanged(self): # real signature unknown; restored from __doc__ """ zChanged(self) [signal] """ pass def __init__(self, parent=None): # real signature unknown; restored from __doc__ pass
dbc6452150f8f06e22b66ac18298bc53ce7bdf3a
8bb4a472344fda15985ac322d14e8f4ad79c7553
/Python3-Core/src/main/prompto/runtime/WidgetField.py
66b4317c7bea2bed240b1d845097bc99cc1af084
[]
no_license
prompto/prompto-python3
c6b356f5af30c6826730ba7f2ad869f341983a2d
64bd3d97d4702cc912097d41d961f7ab3fd82bee
refs/heads/master
2022-12-24T12:33:16.251468
2022-11-27T17:37:56
2022-11-27T17:37:56
32,623,633
4
0
null
2019-05-04T11:06:05
2015-03-21T07:17:25
Python
UTF-8
Python
false
false
201
py
from prompto.runtime.Variable import Variable from prompto.type.IType import IType class WidgetField(Variable): def __init__(self, name: str, itype: IType): super().__init__(name, itype)
191484b45d9f5be8b3b00a8c2a6d15772c38782c
abc72a2f2072ab7a5a338e41d81c354324943b09
/tarefa11/sugestao.py
9c645d2ab609253931239f50b72395ec34a5b090
[]
no_license
gigennari/mc102
a3d39fd9a942c97ef477a9b59d7955f4269b202a
fce680d5188a8dfb0bc1832d6f430cbcaf68ef55
refs/heads/master
2023-04-05T01:40:58.839889
2020-07-27T20:33:56
2020-07-27T20:33:56
354,130,720
0
0
null
null
null
null
UTF-8
Python
false
false
3,420
py
""" Escreva um programa que, dadas duas palavras, sugere ao usuário qual será a próxima palavra, tal que essa escolha seja baseada na probabilidade de que essas três palavras apareçam nessa ordem em um determinado texto. Entrada: 1ª linha - o caminho do arquivo de texto 2ª linha - sequência de pares de palavras, um por linha Saída: frase sugerida com 3 palavras, um trio por linha Exemplo: E: testes/tetxto0.in buraco negro buracos negros campo gravitacional S: buraco negro é buracos negros não campo gravitacional pode Vamos criar uma classe com 3 palavras """ class Frase: #cria uma nova classe de abstração; coleção fixa de propriedades def __init__(self, p1, p2, p3): self.p1 = p1 self.p2 = p2 self.p3 = p3 def __repr__(self): return "% s % s % s" % (self.p1, self.p2, self.p3) def ler_entrada(): """lê caminho do texto e duas palavras do texto por linha, formando uma lista de Frase""" caminho = input() lista = [] while True: try: palavras = input().split() frase = Frase(palavras[0], palavras[1], "") lista.append(frase) except EOFError: break return caminho, lista def ler_arquivo_texto(nome_do_arquivo): """lê arquivo de texto, chama função para limpar pontuação e transforma em lista""" texto = open(nome_do_arquivo).read().lower() texto = limpar_pontuacao(texto) palavras = texto.split() return palavras def limpar_pontuacao(string): pontuacao = ".,;:?!''/*#@&" #sem hifen sem_pontucao = "" for letra in string: if letra not in pontuacao: sem_pontucao += letra return sem_pontucao def descobrir_frequencias(palavras): """ contar a frequencia de cada uma das palavras; devolve dict """ wordcount = {} #vamos usar um dict para armazenar a palavra e sua frequencia juntos for palavra in palavras: if palavra in wordcount: wordcount[palavra] += 1 else: wordcount[palavra] = 1 return wordcount def encontrar_proxima_palavra(texto, frase): """procura todas as próximas palavras, adiciona em uma lista, conta frequencia (dict), frase.p3 = palavra de maior frequencia; a mais frequente será a próxima""" proximas = [] for i, palavra in enumerate(texto): #procura próximas palavras if texto[i] == frase.p1: if texto[i+1] == frase.p2: seguinte = texto[i+2] proximas.append(seguinte) #adiciona todas as palavras que aparecem depois das duas primeiras #contar frequencia da lista --> dict --> dict.keys() proximas_dict = descobrir_frequencias(proximas) proximasordenadas = sorted(proximas_dict.items(), key=lambda a: a[0]) #devolve uma lista de tuplas (palavra, frequencia) em ordem alfabética proximasordenadas.sort(key=lambda f: f[1], reverse=True) #ordena a lista em ordem decrescente #frase.p3 = 1º elemento do dicionário frase.p3 = proximasordenadas[0][0] return frase def main(): caminho, frases = ler_entrada() texto = ler_arquivo_texto(caminho) trios = [] for frase in frases: frase_completa = encontrar_proxima_palavra(texto, frase) trios.append(frase_completa) for frase in trios: print(frase) main()
2a8baba7315e41a92db6cbdea5ef52408fcb9143
fd308ec9cb448c2b47ec4736b670ce452b70800d
/sdap/jobs/views.py
b66d02ed32f0fabf23b619815af97c5d649e5c8f
[ "MIT" ]
permissive
umr1085-irset/reproGenomicsViewer
d4d8c52fbe72a1824812d2f5a7574be7ce58f9b5
700bbe817596b27a05ed75a8761506c5004f340f
refs/heads/master
2023-05-25T01:55:42.333286
2023-05-15T10:02:54
2023-05-15T10:02:54
219,467,036
0
4
MIT
2022-02-11T09:44:32
2019-11-04T09:46:02
JavaScript
UTF-8
Python
false
false
3,463
py
import os from datetime import datetime from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404, render from django.urls import reverse from django.views import generic from django.utils import timezone from django.views import View from django.shortcuts import redirect from django.conf import settings from django.core.files.storage import FileSystemStorage from django.contrib.auth.decorators import login_required from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib import messages from django.http import HttpResponse from mimetypes import guess_type from django.urls import reverse_lazy from sdap.jobs.models import Job from celery.result import AsyncResult # Create your views here. class IndexView(LoginRequiredMixin, generic.ListView): template_name = 'analyse/index.html' context_object_name = 'latest_analyse_list' def get_queryset(self): """ Return the last five published questions (not including those set to be published in the future). """ return Job.objects.filter( created_at__lte=timezone.now() ).order_by('-created_at')[:5] def DetailView(request, pk): job = get_object_or_404(Job, pk=pk) file_list = [] for file in os.listdir(job.output): table_content='' info = os.path.splitext(file) if info[1] == ".matrix" or info[1] == ".tsv" or info[1] == ".info" or info[1] == ".list" : df = pd.read_csv(os.path.join(job.output, file), sep="\t") df_head = df.head() table_content = df_head.to_html(classes=["table", "table-bordered", "table-striped", "table-hover"]) if info[1] == ".csv": df = pd.read_csv(os.path.join(job.output, file), sep=",") df_head = df.head() table_content = df_head.to_html(classes=["table", "table-bordered", "table-striped", "table-hover"]) file_list.append({'name':info[0],'ext':info[1], 'table':table_content, 'file':file, 'path':os.path.join(job.output, file)}) context = {'job':job, 'file_list':file_list} return render(request, 'jobs/results.html', context) def DownloadView(request, pk, file_name): job = get_object_or_404(Job, pk=pk) file_path = os.path.join(job.output, file_name) with open(file_path, 'rb') as f: response = HttpResponse(f, content_type=guess_type(file_path)[0]) response['Content-Length'] = len(response.content) return response class RunningJobsView(LoginRequiredMixin, generic.ListView): model = Job template_name = 'jobs/running_jobs.html' def get_context_data(self, **kwargs): context = super(RunningJobsView, self).get_context_data(**kwargs) context['jobs_list'] = Job.objects.filter(created_by__exact=self.request.user.id) for job in context['jobs_list']: if job.status != "SUCCESS": job.status = AsyncResult(job.celery_task_id).state job.save() return context def Delete_job(request, pk): job = get_object_or_404(Job, pk=pk) print(job) job.delete() context = {} context['jobs_list'] = Job.objects.filter(created_by__exact=request.user.id) for job in context['jobs_list']: if job.status != "SUCCESS": job.status = AsyncResult(job.celery_task_id).state job.save() return render(request, 'jobs/running_jobs.html', context)
f555c688d0fc632999966fdd07767c457fa0ab21
be12916ec075c76469946f6da2cdde4857141702
/771_2.py
3c283b6a4ace661e675538e93277637a7552e724
[]
no_license
goodsosbva/algorithm
7b2f9b1a899e43c7d120ab9d40e672be336a23d9
0bc44e9466d2d32a4b4e126e073badc60172da6e
refs/heads/main
2023-08-06T19:34:40.630006
2021-09-20T10:34:41
2021-09-20T10:34:41
334,918,056
3
0
null
null
null
null
UTF-8
Python
false
false
361
py
import collections def newJewelsInStones(J: str, S: str) -> int: freqs = collections.Counter(S) # 돌(S) 빈도 수 계산 count = 0 # 비교 없이 보석(j) 빈도 수 계산 for char in J: count += freqs[char] return count jew = "aA" stone = "aAAbbbb" jcount = newJewelsInStones(jew, stone) print(jcount)
12e27a1ffb5b0c67c43f8b2c732fb638e6d2fa70
6b5431368cb046167d71c1f865506b8175127400
/challenges/n-primeiros-numeros-primos/tests.py
f921a7fcdf0065d0389c1479673886c2e732c226
[]
no_license
Insper/design-de-software-exercicios
e142f4824a57c80f063d617ace0caa0be746521e
3b77f0fb1bc3d76bb99ea318ac6a5a423df2d310
refs/heads/master
2023-07-03T12:21:36.088136
2021-08-04T16:18:03
2021-08-04T16:18:03
294,813,936
0
1
null
2021-08-04T16:18:04
2020-09-11T21:17:24
Python
UTF-8
Python
false
false
910
py
from strtest import str_test def eh_primo_gabarito(n): if n == 2: return True if n == 0 or n == 1 or n % 2 == 0: return False d = 3 while d < n: if n % d == 0: return False d += 2 return True def gabarito_dos_professores(n): encontrados = 0 i = 2 primos = [] while encontrados < n: if eh_primo_gabarito(i): primos.append(i) encontrados += 1 i += 1 return primos class TestCase(str_test.TestCaseWrapper): TIMEOUT = 2 def test_1(self): n = 100 primos = gabarito_dos_professores(n) retval = self.function(n) self.assertEqual(n, len(retval), 'Deveria ter exatamente n números primos') for primo, returned in zip(primos, retval): self.assertEqual(primo, returned, 'Não retornou os n primeiros primeos em ordem crescente')
92fa4c4cee9bfd46c826875c760c60269d31c06f
fcdbf22231739b61bbd4da531fcacf0c6f08c4bf
/services/lasso_regression/prod.config.py
0ba5c9b0f0b2531fae1cba7e4b5ac173809e1241
[]
no_license
revotechUET/wi-uservice
2a3f169a4a9735bb3167d8bef75baceab11b2a04
33f2ad2f0a329fc1f54153b0ebb775f2bd74d631
refs/heads/master
2023-04-15T14:58:36.183521
2023-04-07T09:39:48
2023-04-07T09:39:48
179,446,650
0
1
null
2022-12-08T01:51:59
2019-04-04T07:39:07
Python
UTF-8
Python
false
false
1,939
py
import os import multiprocessing bind = '0.0.0.0:80' backlog = 2048 workers = multiprocessing.cpu_count() worker_class = 'sync' or os.environ.get("WORKER_CLASS") worker_connections = 1000 timeout = 30 keepalive = 2 reload = False spew = False daemon = False raw_env = [ "DB_HOST="+os.environ.get("DB_HOST", "127.0.0.1"), "DB_PORT="+os.environ.get("DB_PORT", "27017"), "DB_NAME="+os.environ.get("DB_NAME", "wi_regression"), "MODEL_DIR="+os.path.join(os.getcwd(), "static"), ] if os.environ.get("DB_USER"): raw_env.append("DB_USER="+os.environ.get("DB_USER")) raw_env.append("DB_PASS="+os.environ.get("DB_PASS")) pidfile = "/tmp/lasso.pid" umask = 0 user = None group = None tmp_upload_dir = None errorlog = '-' loglevel = 'error' accesslog = '/var/log/wi_regression.access.log' access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"' proc_name = None def post_fork(server, worker): server.log.info("Worker spawned (pid: %s)", worker.pid) def pre_fork(server, worker): pass def pre_exec(server): server.log.info("Forked child, re-executing.") def when_ready(server): server.log.info("Server is ready. Spawning workers") def worker_int(worker): worker.log.info("worker received INT or QUIT signal") ## get traceback info import threading, sys, traceback id2name = {th.ident: th.name for th in threading.enumerate()} code = [] for threadId, stack in sys._current_frames().items(): code.append("\n# Thread: %s(%d)" % (id2name.get(threadId,""), threadId)) for filename, lineno, name, line in traceback.extract_stack(stack): code.append('File: "%s", line %d, in %s' % (filename, lineno, name)) if line: code.append(" %s" % (line.strip())) worker.log.debug("\n".join(code)) def worker_abort(worker): worker.log.info("Worker received SIGABRT signal")
498c7a424a202f8d8629df7baa5c9d2d5e91499c
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/chrisglass-django-rulez/allPythonContent.py
a90e7aa3a09934bbd17fa7fa477a3eb695a70f59
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,902
py
__FILENAME__ = backends # -*- coding: utf-8 -*- import inspect from exceptions import NotBooleanPermission from exceptions import NonexistentFieldName from rulez import registry class ObjectPermissionBackend(object): supports_object_permissions = True supports_anonymous_user = True supports_inactive_user = True def authenticate(self, username, password): # pragma: no cover return None def has_perm(self, user_obj, perm, obj=None): """ This method checks if the user_obj has perm on obj. Returns True or False Looks for the rule with the code_name = perm and the content_type of the obj If it exists returns the value of obj.field_name or obj.field_name() in case the field is a method. """ if user_obj and not user_obj.is_anonymous() and not user_obj.is_active: # inactive users never have permissions return False if obj is None: return False # We get the rule data from our registry rule = registry.get(perm, obj.__class__) if rule == None: return False bound_field = None try: bound_field = getattr(obj, rule.field_name) except AttributeError: raise NonexistentFieldName( "Field_name %s from rule %s does not longer exist in model %s. \ The rule is obsolete!", (rule.field_name, rule.codename, rule.model)) if not callable(bound_field): raise NotBooleanPermission( "Attribute %s from model %s on rule %s is not callable", (rule.field_name, rule.model, rule.codename)) # Otherwise it is a callabe bound_field # Let's see if we pass or not user_obj as a parameter if (len(inspect.getargspec(bound_field)[0]) == 2): is_authorized = bound_field(user_obj) else: is_authorized = bound_field() if not isinstance(is_authorized, bool): raise NotBooleanPermission( "Callable %s from model %s on rule %s does not return a \ boolean value", (rule.field_name, rule.model, rule.codename)) return is_authorized ########NEW FILE######## __FILENAME__ = exceptions # -*- coding: utf-8 -*- """ Exceptions used by django-rules. All internal and rules-specific errors should extend RulesError class """ class RulesException(Exception): pass class NonexistentPermission(RulesException): pass class NonexistentFieldName(RulesException): pass class NotBooleanPermission(RulesException): pass ########NEW FILE######## __FILENAME__ = models # -*- coding: utf-8 -*- import rolez.signals ########NEW FILE######## __FILENAME__ = registry # -*- coding: utf-8 -*- from rulez.exceptions import NonexistentFieldName from collections import defaultdict class Rule(object): def __init__(self, codename, model, field_name='', view_param_pk='', description=''): self.field_name = field_name self.description = description self.codename = codename self.model = model self.view_param_pk = view_param_pk registry = defaultdict(dict) def register(codename, model, field_name='', view_param_pk='', description=''): """ This should be called from your models.py or wherever after your models are declared (think admin registration) """ # Sanity check if not field_name: field_name = codename if not hasattr(model,field_name): raise NonexistentFieldName('Field %s does not exist on class %s' % (field_name,model.__name__)) registry[model].update({codename : Rule(codename, model, field_name, view_param_pk, description)}) def get(codename, model): return registry.get(model, {}).get(codename, None) ########NEW FILE######## __FILENAME__ = base #-*- coding: utf-8 -*- class AbstractRole(object): """ This is an abstract class to show what a role should look like """ @classmethod def is_member(cls, user, obj): #pragma: nocover raise NotImplemented ########NEW FILE######## __FILENAME__ = cache_helper #-*- coding: utf-8 -*- from django.contrib.auth.models import User, AnonymousUser from django.core.cache import cache from rulez.exceptions import RulesException import time """ Cache keys: For the list of roles, per user, per instance: <prefix>-<user.id>-<user counter>-<obj.type>-<obj.id>-<obj counter> For the counter , per instance: <prefix>-<obj.type>-<obj.id> """ HOUR = 60*60 #=============================================================================== # Counter handling #=============================================================================== def counter_key(obj): if obj.__class__ in (User, AnonymousUser,): pk = get_user_pk(obj) else: pk = obj.pk obj_type = str(obj.__class__.__name__).lower() return "%s-%s" % (obj_type, pk) def increment_counter(obj): """ Invalidate the cache for the passed object. """ if obj is not None: # If the object is None, do nothing (it's pointless) cache.set(counter_key(obj), int(time.time()), 1*HOUR) def get_counter(obj): """ Returns the cached counter for the given object instance """ counter = cache.get(counter_key(obj)) if not counter: counter = 0 return counter def roles_key(user, obj): if obj.__class__ in (User, AnonymousUser,): obj_id = get_user_pk(obj) else: obj_id = obj.pk obj_type = str(obj.__class__.__name__).lower() obj_counter = get_counter(obj) user_id = get_user_pk(user) user_counter = get_counter(user) return "%s-%s-%s-%s-%s" % (user_id, user_counter, obj_type, obj_id, obj_counter) def get_user_pk(user): if not user or (user and user.is_anonymous()): return 'anonymous' else: return user.pk #=============================================================================== # Main function #=============================================================================== def get_roles(user, obj): """ Get a list of roles assigned to a user for a specific instance from the cache, or builds such a list if it is not found. """ # get roles for the user, if present: roles = cache.get(roles_key(user, obj)) if isinstance(roles, list): # Cache hit (a miss returns NoneType rather than an empty list) return roles else: # we need to recompute roles for this model user_roles = [] if not hasattr(obj, 'relevant_roles'): raise RulesException( 'Cannot build roles cache for %s instance. Did you forget to \ define a "relevant_roles()" method on %s?' % (obj.__class__, obj.__class__)) relevant = obj.relevant_roles() for role in relevant: if role.is_member(user, obj): user_roles.append(role) cache.set(roles_key(user, obj), user_roles, 1*HOUR) return user_roles ########NEW FILE######## __FILENAME__ = models #-*- coding: utf-8 -*- from rulez.rolez.cache_helper import get_roles, get_user_pk, increment_counter class ModelRoleMixin(object): """ This adds roles-handling methods to the model it's mixed with """ def get_roles(self, user): """ Gets all roles this user has for this object and caches it on the instance. Without the instance cache every call to has_role() would hit the cache backend. """ rolez = getattr(self, '_rolez', {}) pk = get_user_pk(user) if not pk in rolez.keys(): rolez[pk] = get_roles(user, self) self._rolez = rolez return self._rolez[pk] def has_role(self, user, role): """ Checks wether the passed user is a member of the passed role for the passed instance """ roles = self.get_roles(user) if role in roles: return True return False def relevant_roles(self): """ Returns a list of roles *classes* relevant to this instance type. This is to optimise the building of the user's roles in case of cache miss """ return self.roles def rulez_invalidate(self): """ This is the default, simple case where the model is related to user, and so invalidating it will force connected users to recalculate their keys In some cases you will want to invalidate the related objects here by incrementing counters for other models in your application """ increment_counter(self) ########NEW FILE######## __FILENAME__ = signals #-*- coding: utf-8 -*- from django.db.models import signals def should_we_invalidate_rolez(sender, instance, **kwargs): if hasattr(instance, 'rulez_invalidate'): instance.rulez_invalidate() signals.post_save.connect(should_we_invalidate_rolez) signals.post_delete.connect(should_we_invalidate_rolez) ########NEW FILE######## __FILENAME__ = rulez_perms from django import template register = template.Library() class RulezPermsNode(template.Node): def __init__(self, codename, objname, varname): self.codename = codename self.objname = objname self.varname = varname def render(self, context): user_obj = template.resolve_variable('user', context) obj = template.resolve_variable(self.objname, context) context[self.varname] = user_obj.has_perm(self.codename, obj) return '' def rulez_perms(parser, token): ''' Template tag to check for permission against an object. Built out of a need to use permissions with anonymous users at an object level. Usage: {% load rulez_perms %} {% for VARNAME in QUERYRESULT %} {% rulez_perms CODENAME VARNAME as BOOLEANVARNAME %} {% if BOOLEANVARNAME %} I DO {% else %} I DON'T {% endif %} have permission for {{ VARNAME }}.{{ CODENAME }}!! {% endfor %} ''' bits = token.split_contents() if len(bits) != 5: raise template.TemplateSyntaxError( 'tag requires exactly three arguments') if bits[3] != 'as': raise template.TemplateSyntaxError( "third argument to tag must be 'as'") return RulezPermsNode(bits[1], bits[2], bits[4]) rulez_perms = register.tag(rulez_perms) ########NEW FILE######## __FILENAME__ = backend #-*- coding: utf-8 -*- from django.test.testcases import TestCase from rulez import registry from rulez.backends import ObjectPermissionBackend from rulez.exceptions import NonexistentFieldName, NotBooleanPermission from rulez.registry import Rule class MockModel(): pk = 999 not_callable = 'whatever' def __init__(self): self.attr_permission = True self.attr_wrong_permission = "I'm not a boolean" def mock_permission(self, user): return True def mock_simple_permission(self): # just a callable, no "user" parameter return True def mock_non_boolean_permission(self, user): return "Whatever" class MockUser(): def __init__(self, is_active=True): self.pk=666 self.is_active = is_active def is_anonymous(self): return False class BackendTestCase(TestCase): def create_fixtures(self): self.user = MockUser() self.inactive_user = MockUser(is_active=False) self.model = MockModel() def test_user_is_tested_for_rule(self): self.create_fixtures() registry.register('mock_permission', MockModel) back = ObjectPermissionBackend() res = back.has_perm(self.user, 'mock_permission', self.model) self.assertEqual(res, True) def test_rules_returns_False_for_None_obj(self): self.create_fixtures() registry.register('mock_permission', MockModel) back = ObjectPermissionBackend() res = back.has_perm(self.user, 'mock_permission', None) self.assertEqual(res, False) def test_rules_returns_False_for_inexistant_rule(self): self.create_fixtures() registry.register('mock_permission', MockModel) back = ObjectPermissionBackend() res = back.has_perm(self.user, 'whatever_permission', self.model) self.assertEqual(res, False) def test_user_is_tested_for_simple_rule(self): self.create_fixtures() registry.register('mock_simple_permission', MockModel) back = ObjectPermissionBackend() res = back.has_perm(self.user, 'mock_simple_permission', self.model) self.assertEqual(res, True) def test_user_is_tested_for_simple_rule_by_field_name(self): self.create_fixtures() registry.register( 'mock_permission', MockModel, field_name='mock_simple_permission') back = ObjectPermissionBackend() res = back.has_perm(self.user, 'mock_permission', self.model) self.assertEqual(res, True) def test_non_existant_filenames_are_caught(self): self.create_fixtures() codename = 'mock_permission' rule = Rule(codename, MockModel, field_name='I_do_not_exist') registry.registry[MockModel].update({codename : rule}) back = ObjectPermissionBackend() self.assertRaises( NonexistentFieldName, back.has_perm, self.user, 'mock_permission', self.model) def test_inactive_user_can_never_have_any_permissions(self): self.create_fixtures() registry.register('mock_permission', MockModel) back = ObjectPermissionBackend() res = back.has_perm(self.inactive_user, 'mock_permission', self.model) self.assertEqual(res, False) def test_non_boolean_permissions_raises(self): self.create_fixtures() registry.register('mock_non_boolean_permission', MockModel) back = ObjectPermissionBackend() self.assertRaises( NotBooleanPermission, back.has_perm, self.user, 'mock_non_boolean_permission', self.model) def test_non_callable_permission_raises(self): self.create_fixtures() registry.register('not_callable', MockModel) back = ObjectPermissionBackend() self.assertRaises( NotBooleanPermission, back.has_perm, self.user, 'not_callable', self.model) ########NEW FILE######## __FILENAME__ = registry #-*- coding: utf-8 -*- from django.test.testcases import TestCase from rulez import registry from rulez.exceptions import NonexistentFieldName class MockModel(): pk = 999 def mock_permission(self): return True class MockUser(): def __init__(self): self.pk=666 def is_anonymous(self): return False class RegistryTestCase(TestCase): def test_rule_is_registered(self): registry.register('mock_permission', MockModel) # if it's been registered properly we should be able to get() something res = registry.get('mock_permission', MockModel) self.assertNotEqual(res, None) self.assertNotEqual(res, {}) def test_registration_raises_non_existant_field_names(self): self.assertRaises(NonexistentFieldName, registry.register, 'mock_permission', MockModel, field_name='inexistant' ) ########NEW FILE######## __FILENAME__ = roles_helpers #-*- coding: utf-8 -*- from __future__ import with_statement from django.contrib.auth.models import AnonymousUser, User from django.core import cache from django.test.testcases import TestCase from rulez.exceptions import RulesException from rulez.rolez.base import AbstractRole from rulez.rolez.cache_helper import get_counter, increment_counter, get_roles, \ get_user_pk, roles_key from rulez.rolez.models import ModelRoleMixin class Mock(): pk = 999 class MockUser(): def __init__(self): self.pk=666 def is_anonymous(self): return False # Testing the model inheritence class Tester(AbstractRole): @classmethod def is_member(cls, user, obj): return getattr(user, 'member', False) class TestModel(ModelRoleMixin): pk = 1 # Just to emulate a Django model roles = [Tester] # The actual test case class RolesCacheHelperTestCase(TestCase): def setUp(self): cache.cache.clear() def test_incrementing_counter_works(self): obj = Mock() first = get_counter(obj) self.assertEqual(first, 0) increment_counter(obj) second = get_counter(obj) self.assertNotEqual(second, first) def test_incrementing_counter_works_for_none(self): increment_counter(None) def test_get_roles_for_None_raises(self): with self.assertRaises(AttributeError): res = get_counter(None) self.assertEqual(res, None) def test_rulez_invalidate_works(self): model = TestModel() user = MockUser() first = get_counter(model) self.assertEqual(first, 0) model.rulez_invalidate() second = get_counter(model) self.assertNotEqual(second, first) def test_get_empty_roles_works(self): model = TestModel() user = MockUser() res = get_roles(user, model) self.assertEqual(res, []) def test_user_with_role_works(self): # Now let's make the user a member! model = TestModel() user = MockUser() setattr(user, 'member', True) res = get_roles(user, model) self.assertEqual(len(res), 1) def test_get_roles_cache_works(self): # Now let's assert the cache works. model = TestModel() user = MockUser() setattr(user, 'member', True) res = get_roles(user, model) self.assertEqual(len(res), 1) res2 = get_roles(user, model) self.assertEqual(len(res2), 1) self.assertEqual(res, res2) def test_has_role_works(self): model = TestModel() user = MockUser() setattr(user, 'member', True) res = model.has_role(user, Tester) self.assertEqual(res, True) def test_has_role_caches_on_instance(self): model = TestModel() user = MockUser() setattr(user, 'member', True) self.assertFalse(hasattr(model, "_rolez")) res = model.has_role(user, Tester) self.assertEqual(res, True) self.assertTrue(hasattr(model, "_rolez")) self.assertEqual(1, len(model._rolez)) res = model.has_role(user, Tester) self.assertEqual(res, True) self.assertTrue(hasattr(model, "_rolez")) self.assertEqual(1, len(model._rolez)) def test_doesnt_have_role_works(self): model = TestModel() user = MockUser() res = model.has_role(user, Tester) self.assertEqual(res, False) def test_get_anonymous_user_works(self): anon = AnonymousUser() res = get_user_pk(anon) self.assertEqual(res, 'anonymous') def test_get_roles_works_for_anonymous(self): model = TestModel() user = AnonymousUser() res = model.has_role(user, Tester) self.assertEqual(res, False) def test_get_counter_does_not_return_spaces(self): obj = Mock() user = MockUser() roles_key(user, obj) # The first time, the counter == 0 increment_counter(obj) # Now there should be a timestamp res = roles_key(user, obj) self.assertTrue(' ' not in res) def test_roles_for_users_on_users_raises_without_relevant_roles(self): # If for some reasons you want to enforce rules on users... django_user = User.objects.create(username="test", email="[email protected]", first_name="Test", last_name = "Tester") user = MockUser() # That's faster setattr(user, 'member', True) with self.assertRaises(RulesException): res = get_roles(user, django_user) self.assertEqual(len(res), 1) def test_roles_for_users_on_users_works_with_relevant_roles(self): # If for some reasons you want to enforce rules on users... django_user = User.objects.create(username="test", email="[email protected]", first_name="Test", last_name = "Tester") setattr(django_user, 'relevant_roles', lambda : [Tester]) user = MockUser() # That's faster setattr(user, 'member', True) res = get_roles(user, django_user) self.assertEqual(len(res), 1) ########NEW FILE######## __FILENAME__ = signals #-*- coding: utf-8 -*- from django.test.testcases import TestCase from rulez.rolez.signals import should_we_invalidate_rolez class MockInstance(object): def __init__(self): self.called = False def rulez_invalidate(self): self.called = True class SignalsTestCase(TestCase): def test_handling_forwards_properly(self): inst = MockInstance() should_we_invalidate_rolez(self, inst) self.assertEqual(inst.called, True) ########NEW FILE######## __FILENAME__ = templatetags #-*- coding: utf-8 -*- from django.test.testcases import TestCase from django.contrib.auth.models import AnonymousUser, User from django.template import Template, Context, TemplateSyntaxError from rulez import registry from rulez.tests.backend import MockUser class MockModel(object): pk = 999 def mock_positive_permission(self, user): return True def mock_negative_permission(self, user): return False class TemplatetagTestCase(TestCase): def create_fixtures(self): self.user = MockUser() self.inactive_user = MockUser(is_active=False) self.model = MockModel() def render_template(self, template, context): context = Context(context) return Template(template).render(context) def assertYesHeCan(self, permission, user): registry.register(permission, MockModel) rendered = self.render_template( "{% load rulez_perms %}" "{% rulez_perms " + permission + " object as can %}" "{% if can %}yes he can{% else %}no can do{% endif %}", { "user": user, "object": MockModel() } ) self.assertEqual(rendered, "yes he can") def assertNoHeCant(self, permission, user): registry.register(permission, MockModel) rendered = self.render_template( "{% load rulez_perms %}" "{% rulez_perms " + permission + " object as can %}" "{% if can %}yes he can{% else %}no he can't{% endif %}", { "user": user, "object": MockModel() } ) self.assertEqual(rendered, "no he can't") def test_active_user_against_positive_permission(self): self.assertYesHeCan("mock_positive_permission", User(is_active=True)) def test_active_user_for_negative_permission(self): self.assertNoHeCant("mock_negative_permission", User(is_active=True)) def test_inactive_user_against_positive_permission(self): self.assertNoHeCant("mock_positive_permission", User(is_active=False)) def test_inactive_user_against_negative_permission(self): self.assertNoHeCant("mock_negative_permission", User(is_active=False)) def test_anonymous_user_against_positive_permission(self): self.assertYesHeCan("mock_positive_permission", AnonymousUser()) def test_anonymous_user_against_negative_permission(self): self.assertNoHeCant("mock_negative_permission", AnonymousUser()) def test_active_user_against_missing_permission(self): permission = "missing" rendered = self.render_template( "{% load rulez_perms %}" "{% rulez_perms " + permission + " object as can %}" "{% if can %}yes he can{% else %}no he can't{% endif %}", { "user": User(is_active=True), "object": MockModel() } ) self.assertEqual(rendered, "no he can't") def test_invalid_user(self): self.assertRaisesRegexp((TemplateSyntaxError, AttributeError), "'NoneType' object has no attribute 'has_perm'", self.render_template, "{% load rulez_perms %}{% rulez_perms mock_positive_permission object as can %}", { "object": MockModel(), "user": None }) def test_tag_syntax(self): registry.register("mock_positive_permission", MockModel) # TODO: error messages from template tag a bit are confusing. self.assertRaisesRegexp(TemplateSyntaxError, "tag requires exactly three arguments", self.render_template, "{% load rulez_perms %}{% rulez_perms mock_positive_permission object %}", {}) self.assertRaisesRegexp(TemplateSyntaxError, "tag requires exactly three arguments", self.render_template, "{% load rulez_perms %}{% rulez_perms mock_positive_permission object can %}", {}) self.assertRaisesRegexp(TemplateSyntaxError, "third argument to tag must be 'as'", self.render_template, "{% load rulez_perms %}{% rulez_perms mock_positive_permission object can can %}", {}) ########NEW FILE######## __FILENAME__ = manage #!/usr/bin/env python from django.core.management import execute_manager import imp #Added for test runner import os, sys sys.path.insert(0, os.path.abspath('./../../')) try: imp.find_module('settings') # Assumed to be in the same directory. except ImportError: import sys sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n" % __file__) sys.exit(1) import settings if __name__ == "__main__": execute_manager(settings) ########NEW FILE######## __FILENAME__ = models # -*- coding: utf-8 -*- ########NEW FILE######## __FILENAME__ = tests """ This file demonstrates writing tests using the unittest module. These will pass when you run "manage.py test". Replace this with more appropriate tests for your application. """ from django.test import TestCase class SimpleTest(TestCase): def test_basic_addition(self): """ Tests that 1 + 1 always equals 2. """ self.assertEqual(1 + 1, 2) ########NEW FILE######## __FILENAME__ = views # Create your views here. ########NEW FILE######## __FILENAME__ = settings # Django settings for testapp project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', '[email protected]'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'test.database', # Or path to database file if using sqlite3. 'USER': '', # Not used with sqlite3. 'PASSWORD': '', # Not used with sqlite3. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 'PORT': '', # Set to empty string for default. Not used with sqlite3. } } # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # although not all choices may be available on all operating systems. # On Unix systems, a value of None will cause Django to use the same # timezone as the operating system. # If running in a Windows environment this must be set to the same as your # system time zone. TIME_ZONE = 'America/Chicago' # Language code for this installation. All choices can be found here: # http://www.i18nguy.com/unicode/language-identifiers.html LANGUAGE_CODE = 'en-us' SITE_ID = 1 # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery. USE_I18N = True # If you set this to False, Django will not format dates, numbers and # calendars according to the current locale USE_L10N = True # Absolute filesystem path to the directory that will hold user-uploaded files. # Example: "/home/media/media.lawrence.com/media/" MEDIA_ROOT = '' # URL that handles the media served from MEDIA_ROOT. Make sure to use a # trailing slash. # Examples: "http://media.lawrence.com/media/", "http://example.com/media/" MEDIA_URL = '' # Absolute path to the directory static files should be collected to. # Don't put anything in this directory yourself; store your static files # in apps' "static/" subdirectories and in STATICFILES_DIRS. # Example: "/home/media/media.lawrence.com/static/" STATIC_ROOT = '' # URL prefix for static files. # Example: "http://media.lawrence.com/static/" STATIC_URL = '/static/' # URL prefix for admin static files -- CSS, JavaScript and images. # Make sure to use a trailing slash. # Examples: "http://foo.com/static/admin/", "/static/admin/". ADMIN_MEDIA_PREFIX = '/static/admin/' # Additional locations of static files STATICFILES_DIRS = ( # Put strings here, like "/home/html/static" or "C:/www/django/static". # Always use forward slashes, even on Windows. # Don't forget to use absolute paths, not relative paths. ) # List of finder classes that know how to find static files in # various locations. STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', # 'django.contrib.staticfiles.finders.DefaultStorageFinder', ) # Make this unique, and don't share it with anybody. SECRET_KEY = 'o(ifwru@r&@i!g!%_w85_*oveey7iq3hoq1hfvd^e6(25gd+t2' # List of callables that know how to import templates from various sources. TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', # 'django.template.loaders.eggs.Loader', ) MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', ) ROOT_URLCONF = 'testapp.urls' TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". # Always use forward slashes, even on Windows. # Don't forget to use absolute paths, not relative paths. ) INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', # Uncomment the next line to enable the admin: # 'django.contrib.admin', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', 'rulez', # The actual rulez package 'project', # import the test app too ) # A sample logging configuration. The only tangible logging # performed by this configuration is to send an email to # the site admins on every HTTP 500 error. # See http://docs.djangoproject.com/en/dev/topics/logging for # more details on how to customize your logging configuration. LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'handlers': { 'mail_admins': { 'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler' } }, 'loggers': { 'django.request': { 'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True, }, } } AUTHENTICATION_BACKENDS = [ "rulez.backends.ObjectPermissionBackend", ] ########NEW FILE######## __FILENAME__ = urls from django.conf.urls.defaults import patterns, include, url # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'testapp.views.home', name='home'), # url(r'^testapp/', include('testapp.foo.urls')), # Uncomment the admin/doc line below to enable admin documentation: # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: # url(r'^admin/', include(admin.site.urls)), ) ########NEW FILE########
c2d2b5d7a681a9da5144059d9d26d2b5fce68443
c4b7399a10b7f963f625d8d15e0a8215ea35ef7d
/225.用队列实现栈.py
30aed3284d9d2a250a13ade1686b9a592683c1e3
[]
no_license
kangkang59812/LeetCode-python
a29a9788aa36689d1f3ed0e8b668f79d9ca43d42
276d2137a929e41120c2e8a3a8e4d09023a2abd5
refs/heads/master
2022-12-05T02:49:14.554893
2020-08-30T08:22:16
2020-08-30T08:22:16
266,042,478
0
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
# # @lc app=leetcode.cn id=225 lang=python3 # # [225] 用队列实现栈 # # https://leetcode-cn.com/problems/implement-stack-using-queues/description/ # # algorithms # Easy (64.30%) # Likes: 158 # Dislikes: 0 # Total Accepted: 45.7K # Total Submissions: 71.1K # Testcase Example: '["MyStack","push","push","top","pop","empty"]\n[[],[1],[2],[],[],[]]' # # 使用队列实现栈的下列操作: # # # push(x) -- 元素 x 入栈 # pop() -- 移除栈顶元素 # top() -- 获取栈顶元素 # empty() -- 返回栈是否为空 # # # 注意: # # # 你只能使用队列的基本操作-- 也就是 push to back, peek/pop from front, size, 和 is empty # 这些操作是合法的。 # 你所使用的语言也许不支持队列。 你可以使用 list 或者 deque(双端队列)来模拟一个队列 , 只要是标准的队列操作即可。 # 你可以假设所有操作都是有效的(例如, 对一个空的栈不会调用 pop 或者 top 操作)。 # # # # @lc code=start class MyStack: def __init__(self): """ Initialize your data structure here. """ self.res=[] def push(self, x: int) -> None: """ Push element x onto stack. """ self.res.append(x) def pop(self) -> int: """ Removes the element on top of the stack and returns that element. """ return self.res.pop() def top(self) -> int: """ Get the top element. """ return self.res[-1] def empty(self) -> bool: """ Returns whether the stack is empty. """ return len(self.res)==0 # Your MyStack object will be instantiated and called as such: # obj = MyStack() # obj.push(x) # param_2 = obj.pop() # param_3 = obj.top() # param_4 = obj.empty() # @lc code=end
9b8c1f144c99095882b7063ecfbd996ea85ad76d
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_Anscombe/model_control_one_enabled_Anscombe_PolyTrend_Seasonal_Second_MLP.py
5f171286f0c82166bee8bda1463b423ed0a90ed9
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
162
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Anscombe'] , ['PolyTrend'] , ['Seasonal_Second'] , ['MLP'] );
06dd6b5555c649a9e05af4e1aba0d16b729d5704
04164e028417ff8472b9f2bfec0ec45b0888f743
/development/interface-pyqt/huge_0d/huge_0d.py
73f9c7d148eb66cc4f4c236bcc06da783dbc9417
[]
no_license
Huaguiyuan/quantum-honeycomp
c2b810ff5f5e25d41b1f0c1c1ff7ae500b04dc31
50deb0e59fffe4031f05094572552ca5be59e741
refs/heads/master
2020-03-22T19:09:58.148862
2018-07-08T19:51:58
2018-07-08T19:51:58
140,510,217
1
2
null
2018-07-11T02:20:32
2018-07-11T02:20:32
null
UTF-8
Python
false
false
15,274
py
#!/usr/bin/python from __future__ import print_function import sys import os import time qhroot = os.environ["QHROOT"] # root path sys.path.append(qhroot+"/interface-pyqt/qtwrap") sys.path.append(qhroot+"/pysrc/") # python libraries import qtwrap # import the library with simple wrappaers to qt4 get = qtwrap.get # get the value of a certain variable getbox = qtwrap.getbox # get the value of a certain variable window = qtwrap.main() # this is the main interface modify = qtwrap.modify from qh_interface import * # import all the libraries needed getactive = qtwrap.is_checked def getfile(name): """Get the name of the file""" return builder.get_object(name).get_filename() def get_vacancies(): """Get the value of a certain variable""" name = "vacancies" # name of the object ats = builder.get_object(name).get_text() ats = ats.replace(","," ") # substitute comma by space ats = ats.split() # separte bu commas # print "Remove atoms = ",ats ats = [int(float(a)) for a in ats] # convert to int return ats # return list def get_numbers(name): """Get the values of a certain variable""" ats = get(name,string=True) ats = ats.replace(","," ") # substitute comma by space ats = ats.split() # separte bu commas ats = [int(float(a)) for a in ats] # convert to int return ats def get_geometry0d(second_call=False): """ Create a 0d island""" t0 = time.clock() # initial time lattice_name = getbox("lattice") if lattice_name=="Honeycomb": geometry_builder = geometry.honeycomb_lattice elif lattice_name=="Square": geometry_builder = geometry.square_lattice elif lattice_name=="Kagome": geometry_builder = geometry.kagome_lattice elif lattice_name=="Lieb": geometry_builder = geometry.lieb_lattice elif lattice_name=="Triangular": geometry_builder = geometry.triangular_lattice else: raise # first create a raw unit cell gbulk = geometry_builder() # build a 2d unit cell # now scuplt the geometry nf = 1+get("size") # get the desired size, in float #################################### #################################### if getbox("geometry_mode") == "Positions": # generate a perfect island os.system("cp "+getfile("positions_file")+" POSITIONS.OUT") g = geometry.read() g.center() return g elif getbox("geometry_mode") == "Recipe": # generate a perfect island nedges = int(get("nedges")) # number of edges angle = get("rotation")*2.*np.pi/360 # angle to rotate g = islands.get_geometry(geo=gbulk,n=nf,nedges=nedges, rot=angle,clean=False) elif getbox("geometry_mode") == "Image": # generate from an image print("Direction",getfile("image_path")) g = sculpt.image2island(getfile("image_path"),gbulk,size=int(nf),color="black") else: raise #################################### ############################################# # if a precise diameter is wanted, only for the first call if getactive("target_diameter") and not second_call: diameter = get("desired_diameter") ratio = diameter/g.get_diameter() # ratio between wanted and obtained print("\nChecking that it has the desired size",ratio) if not 0.99<ratio<1.01: # if outside the tolerance newsize = round(ratio*float(get("size"))) # new size modify("size",newsize) # modify the value print("Recalling the geometry with size",newsize) return get_geometry0d(second_call = True) else: pass #################################### # clean the island g.center() # center the geometry ############################################3 # g = modify_geometry(g) # modify the geometry in several ways print("Total number of atoms =",len(g.r)) print("Time spent in creating the geometry =",time.clock() - t0) if getactive("clean_island"): # if it is cleaned g = sculpt.remove_unibonded(g,iterative=True) # remove single bonded atoms return g def modify_geometry(g): """Modify the geometry according to the interface""" mtype = getbox("modify_geometry") print("Modifying geometry according to",mtype) if mtype == "None": return g # do nothing elif mtype == "Index": return sculpt.remove(g,get_vacancies()) # removes several atoms elif mtype=="Choose atoms": # special case print("Removing as chosen\n") try: inds = np.genfromtxt("REMOVE_ATOMS.INFO") # selected atoms print("Removed indexes",inds) except: return g try: inds = [int(i) for i in inds] # as integer except: inds = [int(inds)] try: return sculpt.remove(g,inds) # removes several atoms except: return g def initialize(): """ Initialize the calculation""" t0 = time.clock() os.system("rm SELECTED_ATOMS.INFO") # remove the file for the DOS g = get_geometry0d() # get the geometry h = hamiltonians.hamiltonian(g) # get the hamiltonian h.has_spin = False # spin treatment if h.has_spin: # spinful hamiltonian print("Spinful hamiltonian, DO NOT USE VERY LARGE ISLANDS!!!") h.is_sparse = False h.first_neighbors() # first neighbor hoppin h.add_zeeman([get("Bx"),get("By"),get("Bz")]) # Zeeman fields if abs(get("rashba")) > 0.0: h.add_rashba(get("rashba")) # Rashba field h.add_antiferromagnetism(get("mAF")) # AF order if abs(get("kanemele"))>0.0: h.add_kane_mele(get("kanemele")) # intrinsic SOC h.shift_fermi(get("fermi")) # shift fermi energy h.turn_sparse() # turn it sparse else: # spinless treatment h.is_sparse = True print("Spinless hamiltonian") h.first_neighbors() # first neighbor hopping h.add_sublattice_imbalance(get("mAB")) # sublattice imbalance h.add_peierls(get("peierls")) # add magnetic field if get("haldane")!=0.0: h.add_haldane(get("haldane")) # add Haldane coupling if get("edge_potential")!=0.0: # if there is edge potential edgesites = edge_atoms(h.geometry) # get the edge atoms h.shift_fermi(edgesites) # add onsites # part for bilayer systems ##### print("Time spent in creating the Hamiltonian =",time.clock() - t0) h.geometry.write() h.save() # save the Hamiltonian def show_ldos(): h = load_hamiltonian() # get the hmiltonian points = int(get("LDOS_polynomials")) # number of polynomials x = np.linspace(-.9,.9,int(get("num_ene_ldos"))) # energies h.intra = h.intra/6.0 # normalize # make the update of the atoms number if SELECTED_ATOMS file exist if os.path.isfile("SELECTED_ATOMS.INFO"): ind_atoms = open("SELECTED_ATOMS.INFO").read().replace("\n",", ") modify("LDOS_num_atom",ind_atoms) # now continue in the usual way atoms = get_numbers("LDOS_num_atom") ecut = get("energy_cutoff_local_dos")/6. os.system("rm LDOS_*") # remove for iatom in atoms: # loop over atoms if h.has_spin: iatom = iatom*2 # if spinful x = np.linspace(-ecut,ecut,int(get("num_ene_ldos")),endpoint=True) # energies mus = kpm.local_dos(h.intra,n=points,i=iatom) # calculate moments y = kpm.generate_profile(mus,x) # calculate DOS x,y = x*6.,y/6. # renormalize y = dos.convolve(x,y,delta=get("smearing_local_dos")) # add broadening dos.write_dos(x,y) # write dos in file fname = "LDOS_"+str(iatom)+".OUT" # name of the file os.system("mv DOS.OUT " + fname) # save the file execute_script("qh-several-ldos ") def show_full_spectrum(): h = load_hamiltonian() # get the hmiltonian nmax = 10000 if h.intra.shape[0]<nmax: h.get_bands() execute_script("qh-bands0d ") else: print("Too large Hamiltonian ",nmax) def load_hamiltonian(): h = hamiltonians.load() # load the Hamiltonian return h def show_dos(): h = load_hamiltonian() # get the hmiltonian points = int(get("DOS_polynomials")) # number of polynomials x = np.linspace(-.9,.9,int(get("num_ene_dos"))) # energies h.intra = h.intra/6.0 # normalize ntries = get("DOS_iterations") t0 = time.clock() # initial time mus = kpm.random_trace(h.intra,n=points,ntries=100) # calculate moments y = kpm.generate_profile(mus,x) # calculate DOS x,y = x*6.,y/6. # renormalize y = dos.convolve(x,y,delta=get("smearing_dos")) # add broadening dos.write_dos(x,y) # write dos in file execute_script("qh-dos DOS.OUT") print("Time spent in Kernel PM DOS calculation =",time.clock() - t0) def show_spatial_dos(): t0 = time.clock() h = load_hamiltonian() # get the hamiltonian mode_stm = getbox("mode_stm") # get the way the images will be calculated delta = get("smearing_spatial_DOS") def shot_dos(energy): if mode_stm == "Full": # matrix inversion ldos.ldos0d(h,e = energy, delta = delta) elif mode_stm == "Eigen": # Using Arnoldi ldos.ldos0d_wf(h,e = energy, delta = delta, num_wf = int(get("nwaves_dos")), robust=True,tol=delta/1000) mode_dosmap = getbox("mode_dosmap") # one shot or video if mode_dosmap=="Single shot": energy = get("energy_spatial_DOS") # one shot shot_dos(energy) # calculate print("Time spent in STM calculation =",time.clock() - t0) execute_script("qh-fast-ldos LDOS.OUT ") # using matplotlib if mode_dosmap=="Movie": # do a sweep energies = np.linspace(get("mine_movie"),get("maxe_movie"), int(get("stepse_movie"))) fof = open("FRAMES.OUT","w") # file with frames for energy in energies: print("Calculating",energy) shot_dos(energy) # calculate name = "ENERGY_"+'{0:.8f}'.format(energy)+"_LDOS.OUT" os.system("mv LDOS.OUT "+name) # save the data execute_script("qh-silent-ldos "+name) # save the image namepng = name+".png" # name of the image fof.write(namepng+"\n") # save the name fof.close() # close file os.system("xdg-open "+namepng) # open the last file def edge_atoms(g,nn=3): """Get the edge potential""" cs = g.get_connections() # get the connections v1 = np.array([int(len(c)<nn) for c in cs]) # check if the atom is on the edge or not # and the first neighbors to the edge # v2 = np.zeros(len(v1)) # initialize # for i in range(len(v1)): # loop # if v1[i]==0: # not in the edge yet # for ic in cs[i]: # loop over neighbors # if v1[ic]==1: # edge atom # v2[i] = 1 # assign # break # v = v1 + v2*2./3. # sum v = v1 np.savetxt("EDGE.OUT",np.matrix([g.x,g.y,v]).T) # save return v # return the array def show_potential(): g = get_geometry0d() # get the geometry edge_atoms(g) execute_script("qh-absolute-potential EDGE.OUT ") def show_lattice(): """Show the lattice of the system""" g = get_geometry0d() # get the geometry g.write() print("Structure has been created") # if getactive("show3d"): execute_script("qh-pick ") execute_script("qh-fast-pick ") def show_path_dos(): """Show the the DOS in the path""" calculate_path_dos() # calculate the path h = load_hamiltonian() # get the hmiltonian pols = int(get("pols_path")) # number of polynomials h.intra = h.intra/6.0 # normalize atoms = np.genfromtxt("PATH.OUT").transpose()[0] # indexes atoms = [int(a) for a in atoms] # indexes of the atoms os.system("rm LDOS_*") # clean all the data ecut = np.abs(get("ecut_path")) # maximum energy in path if ecut>5.5: ecut = 5.9 ecut /= 6.0 # to interval 0,1 for iatom in atoms: # loop over atoms print("Calculating DOS in ",iatom) if h.has_spin: iatom = iatom*2 # if spinful mus = kpm.local_dos(h.intra,n=pols,i=iatom) # calculate moments x = np.linspace(-ecut,ecut,int(get("num_ene_path"))) # energies y = kpm.generate_profile(mus,x) # calculate DOS xout,yout = x*6.,y/6. #renormalize yout = dos.convolve(xout,yout,delta=get("smearing_path_dos")) # add broadening dos.write_dos(xout,yout) # write dos in file fname = "LDOS_"+str(iatom)+".OUT" # name of the file os.system("cp DOS.OUT " + fname) # save the file execute_script("qh-dos-path ") def show_path(): """Show the path followed in the DOS, when calculating several atoms""" calculate_path_dos() # calculate the path execute_script("qh-path ") def calculate_path_dos(): """Calculate all the DOS in a path""" i0 = int(get("initial_atom")) i1 = int(get("final_atom")) h = load_hamiltonian() # get the hamiltonian r0 = h.geometry.r[i0] # initial point r1 = h.geometry.r[i1] # final point # now do something dangerous, rotate the geometry to check which # atoms to accept print("Initial position",r0) print("Final position",r1) print("Created new rotated geometry") gtmp = h.geometry.copy() # copy geometry gtmp.shift(r0) # shift the geometry gtmp = sculpt.rotate_a2b(gtmp,r1-r0,np.array([1.,0.,0.])) # new positions r0 = gtmp.r[i0] r1 = gtmp.r[i1] dr = r1 - r0 # vector between both points dy = np.abs(get("width_path")) # width accepted dx = np.sqrt(dr.dot(dr))+0.1 print("Initial ROTATED position",r0) print("Final ROTATED position",r1) # and every coordinate x1,y1 = r0[0],r0[1] x2,y2 = r1[0],r1[1] ym = (y1+y2)/2. # average y def fun(r): """Function that decides which atoms to calculate""" x0 = r[0] y0 = r[1] if (x1-dy)<x0<(x2+dy) and np.abs(y0-ym)<dy: return True else: return False inds = sculpt.intersected_indexes(gtmp,fun) # indexes of the atoms fo = open("PATH.OUT","w") # output file fo.write("# index of the atom, step in the path, x, y\n") ur = dr/np.sqrt(dr.dot(dr)) # unitary vector steps = [(gtmp.r[i] - r0).dot(ur) for i in inds] # proyect along that line inds = [i for (s,i) in sorted(zip(steps,inds))] # sort by step steps = sorted(steps) # sort the steps # only select those between the initial and final points inds0,steps0 = [],[] # for (i,s) in (inds,steps): # if 0<s<1. #################### g = h.geometry for (i,s) in zip(inds,steps): fo.write(str(i)+" "+str(s)+" "+str(g.x[i])+" "+str(g.y[i])+"\n") fo.close() # close file inipath = os.getcwd() # get the initial directory save_results = lambda x: save_outputs(inipath,tmppath) # function to save def clear_removal(): os.system("rm SELECTED.INFO") # remove the file def select_atoms(): execute_script("qh-fast-pick write remove ") # remove the file def select_atoms_dos(): execute_script("qh-fast-pick write ") # remove the file # create signals signals = dict() signals["initialize"] = initialize # initialize and run signals["show_ldos"] = show_ldos # show LDOS signals["show_dos"] = show_dos # show DOS signals["show_spatial_dos"] = show_spatial_dos # show DOS signals["show_lattice"] = show_lattice # show magnetism #signals["show_full_spectrum"] = show_full_spectrum # show all the eigenvalues signals["show_path"] = show_path # show the path signals["show_path_dos"] = show_path_dos # show the path signals["show_potential"] = show_potential # show the potential added signals["save_results"] = save_results # save the results #signals["clear_removal"] = clear_removal # clear the file #signals["select_atoms"] = select_atoms # select_atoms signals["select_atoms_dos"] = select_atoms_dos # select_atoms window.connect_clicks(signals) folder = create_folder() tmppath = os.getcwd() # get the initial directory initialize() # do it once window.run()
3e08d654f048917a2b0e628dff9d3407f41d5863
d7d9cc992a15572460da83b7bf0336f4d65bee05
/ZoneKiller.py
b97508058ad3d77ebe4013199bbcd6eee14296e2
[]
no_license
toustyj/XAttacker-3.x
462c7e19e7b1064712185342b695657d63296ceb
576e9f0097e9c609e41ae7411b85cad001288026
refs/heads/main
2023-05-01T02:25:29.710971
2021-05-17T20:05:15
2021-05-17T20:05:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,802
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #Ne touche pas le script -_- #Don't Edit Logo -_- import requests, httplib, urllib import socket from platform import system import os import sys, time import re import threading from multiprocessing.dummy import Pool from colorama import Fore from colorama import Style from colorama import init init(autoreset=True) fr = Fore.RED fh = Fore.RED fc = Fore.CYAN fo = Fore.MAGENTA fw = Fore.WHITE fy = Fore.YELLOW fbl = Fore.BLUE fg = Fore.GREEN sd = Style.DIM fb = Fore.RESET sn = Style.NORMAL sb = Style.BRIGHT user = {"User-Agent": "Mozilla/5.0 (Windows NT 6.1; rv:57.0) Gecko/20100101 Firefox/57.0"} url = "http://www.zone-h.org/archive/notifier=" urll = "http://zone-h.org/archive/published=0" url2 = "http://www.defacers.org/onhold!" url4 = "http://www.defacers.org/gold!" my_cook = { "ZHE" : "58594bbe3162e99794eaf4696215e7e8", "PHPSESSID" : "gklckq837dpm9qt8jj07a88a65" } def zonehh(): print(""" |---| Grabb Sites From Zone-h |--| \033[91m[1] \033[95mGrabb Sites By Notifier \033[91m[2] \033[95mGrabb Sites By Onhold """) sec = int(raw_input("Choose Section: ")) if sec == 1: notf = raw_input("\033[95mEntre notifier: \033[92m") for i in range(1, 51): dz = requests.get(url + notf +"/page=" + str(i), cookies=my_cook) dzz = dz.content print(url + notf +"/page=" + str(i)) if '<html><body>-<script type="text/javascript"' in dzz: print("Change Cookies Please") sys.exit() elif '<input type="text" name="captcha" value=""><input type="submit">' in dzz: print("Entre Captcha In Zone-h From Ur Browser :/") sys.exit() else: Hunt_urls = re.findall('<td>(.*)\n </td>', dzz) if '/mirror/id/' in dzz: for xx in Hunt_urls: qqq = xx.replace('...','') print ' [' + '*' + '] ' + qqq.split('/')[0] with open( notf + '.txt', 'a') as rr: rr.write("http://" + qqq.split('/')[0] + '\n') else: print("Grabb Sites Completed Starting XAttacker !!") time.sleep(4) os.system('perl XAttacker.pl') sys.exit() elif sec == 2: print(":* __Grabb Sites After Done Please Open XAttacker.pl") for qwd in range(1, 51): rb = requests.get(urll + "/page=" + str(qwd) , cookies=my_cook) dzq = rb.content if '<html><body>-<script type="text/javascript"' in dzq: print("Change Cookies Plz") sys.exit() elif "captcha" in dzq: print("Entre captcha In Your Browser Of Site [zone-h.org]") else: Hunt_urlss = re.findall('<td>(.*)\n </td>', dzq) for xxx in Hunt_urlss: qqqq = xxx.replace('...','') print ' [' + '*' + '] ' + qqqq.split('/')[0] with open('onhold_zone.txt', 'a') as rrr: rrr.write("http://" + qqqq.split('/')[0] + '\n') else: print("Fuck You Men") def defacers(): print(""" |---| Grabb Sites From Defacers.org |--| \033[91m[1] \033[95mGrabb Sites By Onhold \033[91m[2] \033[95mGrabb Sites By Archive """) sec = int(raw_input("Choose Section: ")) if sec == 1: for i in range(1, 380): print("Page: "), str(i) + "\033[91m Waiting Grabbed Sites ..... <3" rb = requests.get(url2 + str(i),headers=user) okbb = rb.content domains = re.findall(r'title=".*" tar.?', okbb) for iii in domains: iii = iii.replace('" target="_blank" reel="nofollow">', "") iii = iii.replace('title="', "") iii = iii.replace('" targ', "") print("\033[95mhttp://" + iii + "/") with open("Onhold_defacer.txt", "a") as by: by.writelines("http://" + iii + "/") by.writelines("\n") print ("\t\t[+] Page Saved_"),str(i) +(" done [+]\n") elif sec == 2: for i in range(1, 25): print("Page: "), str(i) + " \033[91mWaiting Grabbed Sites Governement ..... <3" rb = requests.get(url4 + str(i),headers=user) okbb = rb.content domains = re.findall(r'title=".*" tar.?', okbb) for iii in domains: iii = iii.replace('" target="_blank" reel="nofollow">', "") iii = iii.replace('title="', "") iii = iii.replace('" targ', "") print("\033[95mhttp://" + iii + "/") with open("govSites_defacer.txt", "a") as by: by.writelines("http://" + iii + "/") by.writelines("\n") print ("\t\t[+] Page Saved_"),str(i) +(" done [+]\n") else: print("Fuck You Men 2") def mirroirh(): print(""" |---| Grabb Sites From Mirror-h.org |--| \033[91m[1] \033[95mGrabb Sites By Onhold \033[91m[2] \033[95mGrabb Sites By Auto_Notifier """) sec = int(raw_input("Choose Section: ")) if sec == 1: url = "https://mirror-h.org/archive/page/" try: for pp in range(1, 40254): dz = requests.get(url + str(pp)) dzz = dz.content qwd = re.findall(r'/zone/(.*)</a></td>', dzz) print(" \033[91m[*] Please Wait To Grabb Sites ...... Page: "), pp for ii in qwd: ii = ii.replace('<i class="icon-search"></i>', "") ii = ii.replace(ii[:10], "") ii = ii.replace("\r\n\r\n", "\r\n") ii = ii.strip() #iio = ii.replace('<i class="icon-search"></i>', "hhhhhhhhhhhhh") print("\033[95m" + ii) with open( 'onzeb_mirror.txt', 'a') as rr: rr.write(ii + '\n') except: pass elif sec == 2: url = "https://mirror-h.org/search/hacker/" try: for ha in range(1, 2000): print("\033[91mWait To Grabb From Hacker: "), ha dz = requests.get(url + str(ha) + "/pages/1") dzz = dz.content qwd = re.findall(r'/pages/\d" title="Last"', dzz) for i in qwd: i = i.rstrip() sss = i.replace("/pages/","") ss = sss.replace('" title="Last"',"") ssf = int(ss) + 1 for ii in range(1, ssf): print(" \033[91m[*] Please Wait To Grabb Sites ...... Page: "), ii dd = requests.get(url + str(ha) + "/pages/"+ str(ii)) op = dd.content qwdd = re.findall(r'/zone/(.*)</a></td>', op) for idi in qwdd: idi = idi.replace('<i class="icon-search"></i>', "") idi = idi.replace(idi[:10], "") idi = idi.replace("\r\n\r\n", "\r\n") idi = idi.strip() #iio = ii.replace('<i class="icon-search"></i>', "hhhhhhhhhhhhh") print("\033[95m" + idi) with open( 'top_mirror.txt', 'a') as rr: rr.write(idi + '\n') except: pass def overflowzone(): print(""" |---| Grabb Sites From overflowzone.com |--| \033[91m[1] \033[95mGrabb Sites By Onhold \033[91m[2] \033[95mGrabb Sites By AutoNotifier """) sec = int(raw_input("Choose Section: ")) if sec == 1: url = "http://attacker.work/onhold/onhold/page/" dz = requests.get(url + "1") dzz = dz.content tn = re.findall(r'<a href="/onhold/page/(.*)" title="Last">', dzz) for ii in tn: qwd = ii.split('/')[-1] for ok in range(1, int(qwd)): okk = requests.get(url + str(ok)) print("`\t\t\t" + url + str(ok)) fel = okk.content okkk = re.findall(r'">http://(.*)</a></td>', fel) for iii in okkk: iii = iii.rstrip() print("\033[95mhttp://" + iii.split('/')[0]) with open( 'onhold_attackerwork.txt', 'a') as rr: rr.write("http://" + iii.split('/')[0] + '\n') elif sec == 2: url = "http://attacker.work/archive/page/" dz = requests.get(url + "1") dzz = dz.content tn = re.findall(r'<a href="/archive/page/(.*)" title="Last">', dzz) for ii in tn: qwd = ii.split('/')[-1] for ok in range(1, int(qwd)): okk = requests.get(url + str(ok)) print("`\t\t\t" + url + str(ok)) fel = okk.content okkk = re.findall(r'">http://(.*)</a></td>', fel) for iii in okkk: iii = iii.rstrip() print("\033[95mhttp://" + iii.split('/')[0]) with open( 'archive_attackerwork.txt', 'a') as rr: rr.write("http://" + iii.split('/')[0] + '\n') else: print("hhhhhhhh tnkt") def bYPAS(): exploit = ["/member/","/admin/login.php","/admin/panel.php","/admin/","/login.php","/admin.html","/admin.php","/admin-login.php"] try: q = raw_input('\033[96m Entre Liste Site: \033[90m ') q = open(q, 'r') except: print("\033[91mEntre List Sites -_- #Noob ") sys.exit() for lst in q: lst = lst.rstrip() print("\033[94m Wait Scaning ....... \033[94m"), lst for exploits in exploit: exploits.rstrip() try: if lst[:7] == "http://": lst = lst.replace("http://","") if lst[:8] == "https://": lst = lst.replace("https://", "") if lst[-1] == "/": lst = lst.replace("/","") socket.setdefaulttimeout(5) conn = httplib.HTTPConnection(lst) conn.request("POST", exploits) conn = conn.getresponse() htmlconn = conn.read() if conn.status == 200 and ('type="password"') in htmlconn: print("\033[92m [+] Admin Panel [+] ======\033[96m=======> \033[96m ") , lst + exploits with open("admin_panels.txt", "a") as by: by.writelines(lst + exploits + "\n") else: print("\033[91m [-] Not Found : [-]"),lst + exploits except: pass def add_http(): dz = raw_input("Entre List Site: ") dz = open(dz, "r") for i in dz: i = i.rstrip() print("http://"+i) with open( 'aziz.txt', 'a') as rr: rr.write("http://" + i + '\n') print("Text Saved !!") def binger(): qwd = {"User-Agent": "Mozilla/5.0 (Windows NT 6.1; rv:57.0) Gecko/20100101 Firefox/57.0"} print(""" \033[91m[1] \033[95mGrabb Sites By Ip List \033[91m[1] \033[95mGrabb Sites Fox_Contact And Bypass By Ip List """) o = int(raw_input("Choose Section: ")) if o == 1: gr = raw_input('Give me List Ip: ') gr = open(gr,'r') for done in gr: remo = [] page = 1 while page < 251: bing = "http://www.bing.com/search?q=ip%3A"+done+"+&count=50&first="+str(page) opene = requests.get(bing,verify=False,headers=qwd) read = opene.content findwebs = re.findall('<h2><a href="(.*?)"', read) for i in findwebs: o = i.split('/') if (o[0]+'//'+o[2]) in remo: pass else: remo.append(o[0]+'//'+o[2]) print '{}[XxX] '.format(fg,sb),(o[0]+'//'+o[2]) with open('Grabbed.txt','a') as s: s.writelines((o[0]+'//'+o[2])+'\n') page = page+5 elif o == 2: qwd = {"User-Agent": "Mozilla/5.0 (Windows NT 6.1; rv:57.0) Gecko/20100101 Firefox/57.0"} gr = raw_input('Give me List Ip: ') gr = open(gr,'r') for done in gr: remo = [] page = 1 print("Wait Grabb Sites From iP: "), done while page < 251: bing = "http://www.bing.com/search?q=ip%3A"+done + " powered by fox_contact"+"+&count=50&first="+str(page) opene = requests.get(bing,verify=False,headers=qwd) read = opene.content findwebs = re.findall('<h2><a href="(.*?)"', read) for i in findwebs: o = i.split('/') if (o[0]+'//'+o[2]) in remo: pass else: remo.append(o[0]+'//'+o[2]) print '[XxX] ' + (o[0]+'//'+o[2]) with open('foxcontact.txt','a') as s: s.writelines((o[0]+'//'+o[2])+'\n') page = page+5 bing = "http://www.bing.com/search?q=ip%3A"+done + " admin/login.php"+"+&count=50&first="+str(page) opene = requests.get(bing,verify=False,headers=qwd) read = opene.content findwebs = re.findall('<h2><a href="(.*?)"', read) for i in findwebs: o = i.split('/') if (o[0]+'//'+o[2]) in remo: pass else: remo.append(o[0]+'//'+o[2]) dd = requests.get(o[0]+'//'+o[2] + "/admin/login.php") ddd = dd.content if 'type="password"' in ddd: print("\033[92mAdmin_Panel Site: >>>>>>\033[91m"),o[0]+'//'+o[2] + "/admin/login.php" with open('admin panel.txt','a') as s: s.writelines((o[0]+'//'+o[2])+'\n') page = page+5 else: print("dir numero azbi nooooooob") def cms_detected(): lst = raw_input("Entre List Site: ") lst = open(lst, 'r') for i in lst: i = i.rstrip() print("\033[91m[+] \033[95mPlease Waiting To Scaning ... "), "\033[94m" + i + " \033[91m[+]" try: dz = requests.get(i) ok = dz.content #-------------WP--------------------------- if "wp-content" in ok: print("\033[92mWp Site : >>>>>>>>>>>>>>\033[91m"), i + "/wp-login.php" with open("wp sites.txt", "a") as wpp: wpp.writelines(i + "/wp-login.php"+ "\n") #-------JM-------------------------- elif "com_content" in ok: print("\033[92mJm Site: >>>>>>>>>>>>>>\033[91m"), i + "/administrator/" with open("joomla sites.txt", "a") as jmm: jmm.writelines(i + "/administrator/"+ "\n") #---------OPENCARTE----------------------- elif "index.php?route" in ok: print("\033[92mOpenCart Site: >>>>>>>>>>>>>>\033[91m"), i + "/admin/" with open("OpenCart sites.txt", "a") as opncrt: opncrt.writelines(i + "/admin/"+ "\n") #--------------------------------- elif "/node/" in ok: print("\033[92mDrupal Site: >>>>>>>>>>>>>>\033[91m"), i + "/user/login" with open("Drupal sites.txt", "a") as drbl: drbl.writelines(i + "/user/login"+ "\n") else: bypass = ["/admin/login.php","/admin/","/login.php","/admin.html","/admin.php","/member/"] for byp in bypass: byp = byp.rstrip() dd = requests.get(i + byp) ddd = dd.content if 'type="password"' in ddd: print("\033[92mAdmin_Panel Site: >>>>>>\033[91m"),i + byp with open("Admin Sites.txt", "a") as by: by.writelines(i + byp + "\n") else: pass print("\033[91m[-] Not Found Cms: [-]"), "\033[91m" + i except: pass def spotii(): #url = "https://www.spotify.com" rl = "http://www.spotify.com/us/xhr/json/isEmailAvailable.php?signup_form[email]=" try: ok = raw_input("{}root@kil3r~# Entre List Email: ".format(fy,sn)) okd = open(ok, 'r') except: print("{}zebi entre list email -_- nooob").format(fh,sn) for i in okd: i = i.rstrip() qwd = url + i + "&email=" + i dz = requests.get(qwd, headers=user) dzz = dz.content if 'false' in dzz: print("{} [LIVE] ".format(fg,sn)), "{}".format(fg,sn) + i with open("spotify checked.txt", "a") as zebi: zebi.writelines(i + '\n') else: print("{} [DEAD] ").format(fh,sn), "{}".format(fh,sn) + i def clearscrn(): if system() == 'Linux': os.system('clear') if system() == 'Windows': os.system('cls') os.system('color a') clearscrn() def slowprint(s): for c in s + '\n': sys.stdout.write(c) sys.stdout.flush() time.sleep(4. / 100) def helper4(): clearscrn() banner = """\033[94m _ _ _ ___ _ _____ ███╗░░██╗░█████╗░███╗░░██╗░█████╗░░██████╗███████╗░█████╗░ ████╗░██║██╔══██╗████╗░██║██╔══██╗██╔════╝██╔════╝██╔══██╗ ██╔██╗██║███████║██╔██╗██║██║░░██║╚█████╗░█████╗░░██║░░╚═╝ ██║╚████║██╔══██║██║╚████║██║░░██║░╚═══██╗██╔══╝░░██║░░██╗ ██║░╚███║██║░░██║██║░╚███║╚█████╔╝██████╔╝███████╗╚█████╔╝ ╚═╝░░╚══╝╚═╝░░╚═╝╚═╝░░╚══╝░╚════╝░╚═════╝░╚══════╝░╚════╝░ """ print("""\033[95m _ _ _ ___ _ _____ ███╗░░██╗░█████╗░███╗░░██╗░█████╗░░██████╗███████╗░█████╗░ ████╗░██║██╔══██╗████╗░██║██╔══██╗██╔════╝██╔════╝██╔══██╗ ██╔██╗██║███████║██╔██╗██║██║░░██║╚█████╗░█████╗░░██║░░╚═╝ ██║╚████║██╔══██║██║╚████║██║░░██║░╚═══██╗██╔══╝░░██║░░██╗ ██║░╚███║██║░░██║██║░╚███║╚█████╔╝██████╔╝███████╗╚█████╔╝ ╚═╝░░╚══╝╚═╝░░╚═╝╚═╝░░╚══╝░╚════╝░╚═════╝░╚══════╝░╚════╝░ Greetz To : \033[93mNano\033[92m Hackers \033[91m|D\033[92mz| \033[91 XAttacker \033[92mHackers """) slowprint("\n\t\t\t\t\tPowered By : N.." + "\n\t\t\t\t\t\tDiscord : N..#1337 ICQ : 748166881") print("") print(""" \033[91m[1] \033[95mGrabb Sites \033[92m From Zone-h.org | \033[91m[3] \033[95mGrabb Sites \033[92m From mirror-h.org | \033[91m[2] \033[95mGrabb Sites \033[92m From Defacers.org | \033[91m[4] \033[95mGrabb Sites \033[92m From overflowzone.com | \033[91m[5] \033[95mGet Sites bypass With List [Bypass Finder] \033[91m[6] \033[95mMass Add (http://) To List ^_^ \033[91m[7] \033[95mGrabber Sites From Bing :D \033[91m[8] \033[95mCms Filter \033[91m[9] \033[95mEmail Valid Spotify ####################################################### # Love 4 USA |\033[91m| Live 4 USA # ####################################################### """) try: qq = int(raw_input("\033[91m[-] \033[90mroot@kil3r~# \033[92mChoose Section !!\033[95m : \033[90m")) if qq == 1: clearscrn() print(banner) zonehh() if qq == 2: clearscrn() print(banner) defacers() if qq == 3: clearscrn() print(banner) mirroirh() if qq == 4: clearscrn() print(banner) overflowzone() if qq == 5: clearscrn() print(banner) bYPAS() if qq == 6: clearscrn() print(banner) add_http() if qq == 7: clearscrn() print(banner) binger() if qq == 8: clearscrn() print(banner) cms_detected() if qq == 9: clearscrn() print(banner) spotii() except: pass helper4()
797fb5e4b44f2abe5c67ca7a0b9b2fba00dcd1e2
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/7_graph/经典题/置换环/amidakuji鬼脚图/1-最少的横线构造amidakuji.py
32ff9e00794f1b88811986c870be0e27ba2b7ac0
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
889
py
# 冒泡排序邻位交换 构造amidakuji的横线 from typing import List def amidakuji(ends: List[int]) -> List[int]: """ 冒泡排序构造amidakuji的横线 Args: ends: 每个点最后的位置 (1-index) Returns: 鬼脚图的横线,一共m条,从上往下表示. lines[i] 表示第i条横线连接 line[i] 和 line[i]+1. (1-index) """ n = len(ends) res = [] for i in range(n - 1): isSorted = True for j in range(n - 1 - i): if ends[j] > ends[j + 1]: isSorted = False res.append(j + 1) ends[j], ends[j + 1] = ends[j + 1], ends[j] if isSorted: break return res[::-1] # 目标数组冒泡排序的逆序才是从上往下的横线顺序 assert amidakuji([5, 2, 4, 1, 3]) == [1, 3, 2, 4, 3, 2, 1]
5069b7fa589dea216ef97b476055fcf630474880
39dac505e0814d8f73d21576085b02e5e54d9b05
/67.py
4b3bbfabcd2eafad0676f05c08d42b459cf43d65
[]
no_license
gxmls/Python_Leetcode
4b2ce5efb0a88cf80ffe5e57a80185ca5df91af2
2a9bb36c5df0eaba026183a76deb677c5bd7fd2d
refs/heads/main
2023-06-08T03:45:43.548212
2021-06-22T09:46:44
2021-06-22T09:46:44
362,726,420
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
''' 给你两个二进制字符串,返回它们的和(用二进制表示)。 输入为 非空 字符串且只包含数字 1 和 0。 示例 1: 输入: a = "11", b = "1" 输出: "100" 示例 2: 输入: a = "1010", b = "1011" 输出: "10101" 提示: 每个字符串仅由字符 '0' 或 '1' 组成。 1 <= a.length, b.length <= 10^4 字符串如果不是 "0" ,就都不含前导零。 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/add-binary 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 ''' class Solution: def addBinary(self, a: str, b: str) -> str: sa='0b'+a sb='0b'+b s=str(bin(eval(sa)+eval(sb))) return s[2:]
94db114f318aa9b8d5bb675594da7ce584d26625
1f700dad5a6cae92d2f918098e5d6ffb92ead725
/tests/path/compressed_stream_path_spec.py
dd265d90b7bdc40125f173b57997c89a59e064a1
[ "Apache-2.0" ]
permissive
devgc/dfvfs
5cdf4fc8a984a4768877536128cee60d53e89834
a0196808f569e4c5f947c458945cd0a17d1abab5
refs/heads/master
2020-04-05T23:42:11.088128
2016-08-23T16:50:16
2016-08-23T16:50:16
66,384,661
1
0
null
2016-08-23T16:36:10
2016-08-23T16:36:07
Python
UTF-8
Python
false
false
1,618
py
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the compressed stream path specification implementation.""" import unittest from dfvfs.path import compressed_stream_path_spec from tests.path import test_lib class CompressedStreamPathSpecTest(test_lib.PathSpecTestCase): """Tests for the compressed stream path specification implementation.""" def testInitialize(self): """Tests the path specification initialization.""" path_spec = compressed_stream_path_spec.CompressedStreamPathSpec( compression_method=u'test', parent=self._path_spec) self.assertIsNotNone(path_spec) with self.assertRaises(ValueError): _ = compressed_stream_path_spec.CompressedStreamPathSpec( compression_method=u'test', parent=None) with self.assertRaises(ValueError): _ = compressed_stream_path_spec.CompressedStreamPathSpec( compression_method=None, parent=self._path_spec) with self.assertRaises(ValueError): _ = compressed_stream_path_spec.CompressedStreamPathSpec( compression_method=u'test', parent=self._path_spec, bogus=u'BOGUS') def testComparable(self): """Tests the path specification comparable property.""" path_spec = compressed_stream_path_spec.CompressedStreamPathSpec( compression_method=u'test', parent=self._path_spec) self.assertIsNotNone(path_spec) expected_comparable = u'\n'.join([ u'type: TEST', u'type: COMPRESSED_STREAM, compression_method: test', u'']) self.assertEqual(path_spec.comparable, expected_comparable) if __name__ == '__main__': unittest.main()
d9c5c465a1e726456f0258d91c27dba9bc8f31e3
3445d4fbc85d962235ff9036c687cf1c6061a6fc
/src/vabene/__init__.py
0bc80208f2a5ae2b04a9673c604b99b944b302db
[ "MIT" ]
permissive
LaYeqa/vabene
c16c177c03abb10569a4ac98667165d0252e8795
e69ffe8d8509b5ff775a8c31528f53c09d6bab7c
refs/heads/master
2022-12-27T09:42:50.369092
2020-09-22T10:07:30
2020-09-22T10:07:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
from .atom import * # noqa from .bond import * # noqa from .molecule import * # noqa __version__ = '0.0.5'
6b2635ba044761b70c21a0615dfe7ff99392f967
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/frameRelay_template.py
ec8c961f3acb1c4fdc24e612b525e265eee952f2
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
5,002
py
from ixnetwork_restpy.base import Base from ixnetwork_restpy.files import Files class FrameRelay(Base): __slots__ = () _SDM_NAME = 'frameRelay' _SDM_ATT_MAP = { 'Address2ByteDlciHiOrderBits': 'frameRelay.header.frameRelayTag.frameRelay.address.address2Byte.dlciHiOrderBits-1', 'Address2ByteCrBit': 'frameRelay.header.frameRelayTag.frameRelay.address.address2Byte.crBit-2', 'Address2ByteEa0Bit': 'frameRelay.header.frameRelayTag.frameRelay.address.address2Byte.ea0Bit-3', 'Address2ByteDlciLoOrderBits': 'frameRelay.header.frameRelayTag.frameRelay.address.address2Byte.dlciLoOrderBits-4', 'Address2ByteFecnBit': 'frameRelay.header.frameRelayTag.frameRelay.address.address2Byte.fecnBit-5', 'Address2ByteBecnBit': 'frameRelay.header.frameRelayTag.frameRelay.address.address2Byte.becnBit-6', 'Address2ByteDeBit': 'frameRelay.header.frameRelayTag.frameRelay.address.address2Byte.deBit-7', 'Address2ByteEa1Bit': 'frameRelay.header.frameRelayTag.frameRelay.address.address2Byte.ea1Bit-8', 'HeaderControl': 'frameRelay.header.control-9', 'PaddingPad': 'frameRelay.header.padding.pad-10', 'HeaderNlpid': 'frameRelay.header.nlpid-11', } def __init__(self, parent, list_op=False): super(FrameRelay, self).__init__(parent, list_op) @property def Address2ByteDlciHiOrderBits(self): """ Display Name: DLCI High Order Bits Default Value: 0 Value Format: decimal """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['Address2ByteDlciHiOrderBits'])) @property def Address2ByteCrBit(self): """ Display Name: CR Bit Default Value: 0 Value Format: decimal """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['Address2ByteCrBit'])) @property def Address2ByteEa0Bit(self): """ Display Name: EA0 Bit Default Value: 0 Value Format: decimal """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['Address2ByteEa0Bit'])) @property def Address2ByteDlciLoOrderBits(self): """ Display Name: DLCI Low Order Bits Default Value: 0 Value Format: decimal """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['Address2ByteDlciLoOrderBits'])) @property def Address2ByteFecnBit(self): """ Display Name: FECN Bit Default Value: 0 Value Format: decimal """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['Address2ByteFecnBit'])) @property def Address2ByteBecnBit(self): """ Display Name: BECN Bit Default Value: 0 Value Format: decimal """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['Address2ByteBecnBit'])) @property def Address2ByteDeBit(self): """ Display Name: DE Bit Default Value: 0 Value Format: decimal """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['Address2ByteDeBit'])) @property def Address2ByteEa1Bit(self): """ Display Name: EA1 Bit Default Value: 1 Value Format: decimal """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['Address2ByteEa1Bit'])) @property def HeaderControl(self): """ Display Name: Control Default Value: 0x03 Value Format: hex """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['HeaderControl'])) @property def PaddingPad(self): """ Display Name: Pad Default Value: 0x00 Value Format: hex """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['PaddingPad'])) @property def HeaderNlpid(self): """ Display Name: NLPID Default Value: 0xCC Value Format: hex """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['HeaderNlpid'])) def add(self): return self._create(self._map_locals(self._SDM_ATT_MAP, locals()))
9cc6e234709a6d622d8926ba526193a4ea03dac5
3ef70fe63acaa665e2b163f30f1abd0a592231c1
/stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_conch.py
dbbe3beb5646d0d4a32b80d2eb395ec44f5e24af
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
wistbean/learn_python3_spider
14914b63691ac032955ba1adc29ad64976d80e15
40861791ec4ed3bbd14b07875af25cc740f76920
refs/heads/master
2023-08-16T05:42:27.208302
2023-03-30T17:03:58
2023-03-30T17:03:58
179,152,420
14,403
3,556
MIT
2022-05-20T14:08:34
2019-04-02T20:19:54
Python
UTF-8
Python
false
false
25,140
py
# -*- test-case-name: twisted.conch.test.test_conch -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. import os, sys, socket import subprocess from itertools import count from zope.interface import implementer from twisted.python.reflect import requireModule cryptography = requireModule("cryptography") from twisted.conch.error import ConchError if cryptography: from twisted.conch.avatar import ConchUser from twisted.conch.ssh.session import ISession, SSHSession, wrapProtocol else: from twisted.conch.interfaces import ISession class ConchUser: pass from twisted.cred import portal from twisted.internet import reactor, defer, protocol from twisted.internet.error import ProcessExitedAlready from twisted.internet.task import LoopingCall from twisted.internet.utils import getProcessValue from twisted.python import filepath, log, runtime from twisted.python.compat import unicode from twisted.trial import unittest try: from twisted.conch.scripts.conch import SSHSession as StdioInteractingSession except ImportError as e: StdioInteractingSession = None _reason = str(e) del e from twisted.conch.test.test_ssh import ConchTestRealm from twisted.python.procutils import which from twisted.conch.test.keydata import publicRSA_openssh, privateRSA_openssh from twisted.conch.test.keydata import publicDSA_openssh, privateDSA_openssh try: from twisted.conch.test.test_ssh import ConchTestServerFactory, \ conchTestPublicKeyChecker except ImportError: pass try: import cryptography except ImportError: cryptography = None try: import pyasn1 except ImportError: pyasn1 = None def _has_ipv6(): """ Returns True if the system can bind an IPv6 address.""" sock = None has_ipv6 = False try: sock = socket.socket(socket.AF_INET6) sock.bind(('::1', 0)) has_ipv6 = True except socket.error: pass if sock: sock.close() return has_ipv6 HAS_IPV6 = _has_ipv6() class FakeStdio(object): """ A fake for testing L{twisted.conch.scripts.conch.SSHSession.eofReceived} and L{twisted.conch.scripts.cftp.SSHSession.eofReceived}. @ivar writeConnLost: A flag which records whether L{loserWriteConnection} has been called. """ writeConnLost = False def loseWriteConnection(self): """ Record the call to loseWriteConnection. """ self.writeConnLost = True class StdioInteractingSessionTests(unittest.TestCase): """ Tests for L{twisted.conch.scripts.conch.SSHSession}. """ if StdioInteractingSession is None: skip = _reason def test_eofReceived(self): """ L{twisted.conch.scripts.conch.SSHSession.eofReceived} loses the write half of its stdio connection. """ stdio = FakeStdio() channel = StdioInteractingSession() channel.stdio = stdio channel.eofReceived() self.assertTrue(stdio.writeConnLost) class Echo(protocol.Protocol): def connectionMade(self): log.msg('ECHO CONNECTION MADE') def connectionLost(self, reason): log.msg('ECHO CONNECTION DONE') def dataReceived(self, data): self.transport.write(data) if b'\n' in data: self.transport.loseConnection() class EchoFactory(protocol.Factory): protocol = Echo class ConchTestOpenSSHProcess(protocol.ProcessProtocol): """ Test protocol for launching an OpenSSH client process. @ivar deferred: Set by whatever uses this object. Accessed using L{_getDeferred}, which destroys the value so the Deferred is not fired twice. Fires when the process is terminated. """ deferred = None buf = b'' def _getDeferred(self): d, self.deferred = self.deferred, None return d def outReceived(self, data): self.buf += data def processEnded(self, reason): """ Called when the process has ended. @param reason: a Failure giving the reason for the process' end. """ if reason.value.exitCode != 0: self._getDeferred().errback( ConchError("exit code was not 0: {}".format( reason.value.exitCode))) else: buf = self.buf.replace(b'\r\n', b'\n') self._getDeferred().callback(buf) class ConchTestForwardingProcess(protocol.ProcessProtocol): """ Manages a third-party process which launches a server. Uses L{ConchTestForwardingPort} to connect to the third-party server. Once L{ConchTestForwardingPort} has disconnected, kill the process and fire a Deferred with the data received by the L{ConchTestForwardingPort}. @ivar deferred: Set by whatever uses this object. Accessed using L{_getDeferred}, which destroys the value so the Deferred is not fired twice. Fires when the process is terminated. """ deferred = None def __init__(self, port, data): """ @type port: L{int} @param port: The port on which the third-party server is listening. (it is assumed that the server is running on localhost). @type data: L{str} @param data: This is sent to the third-party server. Must end with '\n' in order to trigger a disconnect. """ self.port = port self.buffer = None self.data = data def _getDeferred(self): d, self.deferred = self.deferred, None return d def connectionMade(self): self._connect() def _connect(self): """ Connect to the server, which is often a third-party process. Tries to reconnect if it fails because we have no way of determining exactly when the port becomes available for listening -- we can only know when the process starts. """ cc = protocol.ClientCreator(reactor, ConchTestForwardingPort, self, self.data) d = cc.connectTCP('127.0.0.1', self.port) d.addErrback(self._ebConnect) return d def _ebConnect(self, f): reactor.callLater(.1, self._connect) def forwardingPortDisconnected(self, buffer): """ The network connection has died; save the buffer of output from the network and attempt to quit the process gracefully, and then (after the reactor has spun) send it a KILL signal. """ self.buffer = buffer self.transport.write(b'\x03') self.transport.loseConnection() reactor.callLater(0, self._reallyDie) def _reallyDie(self): try: self.transport.signalProcess('KILL') except ProcessExitedAlready: pass def processEnded(self, reason): """ Fire the Deferred at self.deferred with the data collected from the L{ConchTestForwardingPort} connection, if any. """ self._getDeferred().callback(self.buffer) class ConchTestForwardingPort(protocol.Protocol): """ Connects to server launched by a third-party process (managed by L{ConchTestForwardingProcess}) sends data, then reports whatever it received back to the L{ConchTestForwardingProcess} once the connection is ended. """ def __init__(self, protocol, data): """ @type protocol: L{ConchTestForwardingProcess} @param protocol: The L{ProcessProtocol} which made this connection. @type data: str @param data: The data to be sent to the third-party server. """ self.protocol = protocol self.data = data def connectionMade(self): self.buffer = b'' self.transport.write(self.data) def dataReceived(self, data): self.buffer += data def connectionLost(self, reason): self.protocol.forwardingPortDisconnected(self.buffer) def _makeArgs(args, mod="conch"): start = [sys.executable, '-c' """ ### Twisted Preamble import sys, os path = os.path.abspath(sys.argv[0]) while os.path.dirname(path) != path: if os.path.basename(path).startswith('Twisted'): sys.path.insert(0, path) break path = os.path.dirname(path) from twisted.conch.scripts.%s import run run()""" % mod] madeArgs = [] for arg in start + list(args): if isinstance(arg, unicode): arg = arg.encode("utf-8") madeArgs.append(arg) return madeArgs class ConchServerSetupMixin: if not cryptography: skip = "can't run without cryptography" if not pyasn1: skip = "Cannot run without PyASN1" realmFactory = staticmethod(lambda: ConchTestRealm(b'testuser')) def _createFiles(self): for f in ['rsa_test','rsa_test.pub','dsa_test','dsa_test.pub', 'kh_test']: if os.path.exists(f): os.remove(f) with open('rsa_test','wb') as f: f.write(privateRSA_openssh) with open('rsa_test.pub','wb') as f: f.write(publicRSA_openssh) with open('dsa_test.pub','wb') as f: f.write(publicDSA_openssh) with open('dsa_test','wb') as f: f.write(privateDSA_openssh) os.chmod('dsa_test', 33152) os.chmod('rsa_test', 33152) with open('kh_test','wb') as f: f.write(b'127.0.0.1 '+publicRSA_openssh) def _getFreePort(self): s = socket.socket() s.bind(('', 0)) port = s.getsockname()[1] s.close() return port def _makeConchFactory(self): """ Make a L{ConchTestServerFactory}, which allows us to start a L{ConchTestServer} -- i.e. an actually listening conch. """ realm = self.realmFactory() p = portal.Portal(realm) p.registerChecker(conchTestPublicKeyChecker()) factory = ConchTestServerFactory() factory.portal = p return factory def setUp(self): self._createFiles() self.conchFactory = self._makeConchFactory() self.conchFactory.expectedLoseConnection = 1 self.conchServer = reactor.listenTCP(0, self.conchFactory, interface="127.0.0.1") self.echoServer = reactor.listenTCP(0, EchoFactory()) self.echoPort = self.echoServer.getHost().port if HAS_IPV6: self.echoServerV6 = reactor.listenTCP(0, EchoFactory(), interface="::1") self.echoPortV6 = self.echoServerV6.getHost().port def tearDown(self): try: self.conchFactory.proto.done = 1 except AttributeError: pass else: self.conchFactory.proto.transport.loseConnection() deferreds = [ defer.maybeDeferred(self.conchServer.stopListening), defer.maybeDeferred(self.echoServer.stopListening), ] if HAS_IPV6: deferreds.append(defer.maybeDeferred(self.echoServerV6.stopListening)) return defer.gatherResults(deferreds) class ForwardingMixin(ConchServerSetupMixin): """ Template class for tests of the Conch server's ability to forward arbitrary protocols over SSH. These tests are integration tests, not unit tests. They launch a Conch server, a custom TCP server (just an L{EchoProtocol}) and then call L{execute}. L{execute} is implemented by subclasses of L{ForwardingMixin}. It should cause an SSH client to connect to the Conch server, asking it to forward data to the custom TCP server. """ def test_exec(self): """ Test that we can use whatever client to send the command "echo goodbye" to the Conch server. Make sure we receive "goodbye" back from the server. """ d = self.execute('echo goodbye', ConchTestOpenSSHProcess()) return d.addCallback(self.assertEqual, b'goodbye\n') def test_localToRemoteForwarding(self): """ Test that we can use whatever client to forward a local port to a specified port on the server. """ localPort = self._getFreePort() process = ConchTestForwardingProcess(localPort, b'test\n') d = self.execute('', process, sshArgs='-N -L%i:127.0.0.1:%i' % (localPort, self.echoPort)) d.addCallback(self.assertEqual, b'test\n') return d def test_remoteToLocalForwarding(self): """ Test that we can use whatever client to forward a port from the server to a port locally. """ localPort = self._getFreePort() process = ConchTestForwardingProcess(localPort, b'test\n') d = self.execute('', process, sshArgs='-N -R %i:127.0.0.1:%i' % (localPort, self.echoPort)) d.addCallback(self.assertEqual, b'test\n') return d # Conventionally there is a separate adapter object which provides ISession for # the user, but making the user provide ISession directly works too. This isn't # a full implementation of ISession though, just enough to make these tests # pass. @implementer(ISession) class RekeyAvatar(ConchUser): """ This avatar implements a shell which sends 60 numbered lines to whatever connects to it, then closes the session with a 0 exit status. 60 lines is selected as being enough to send more than 2kB of traffic, the amount the client is configured to initiate a rekey after. """ def __init__(self): ConchUser.__init__(self) self.channelLookup[b'session'] = SSHSession def openShell(self, transport): """ Write 60 lines of data to the transport, then exit. """ proto = protocol.Protocol() proto.makeConnection(transport) transport.makeConnection(wrapProtocol(proto)) # Send enough bytes to the connection so that a rekey is triggered in # the client. def write(counter): i = next(counter) if i == 60: call.stop() transport.session.conn.sendRequest( transport.session, b'exit-status', b'\x00\x00\x00\x00') transport.loseConnection() else: line = "line #%02d\n" % (i,) line = line.encode("utf-8") transport.write(line) # The timing for this loop is an educated guess (and/or the result of # experimentation) to exercise the case where a packet is generated # mid-rekey. Since the other side of the connection is (so far) the # OpenSSH command line client, there's no easy way to determine when the # rekey has been initiated. If there were, then generating a packet # immediately at that time would be a better way to test the # functionality being tested here. call = LoopingCall(write, count()) call.start(0.01) def closed(self): """ Ignore the close of the session. """ class RekeyRealm: """ This realm gives out new L{RekeyAvatar} instances for any avatar request. """ def requestAvatar(self, avatarID, mind, *interfaces): return interfaces[0], RekeyAvatar(), lambda: None class RekeyTestsMixin(ConchServerSetupMixin): """ TestCase mixin which defines tests exercising L{SSHTransportBase}'s handling of rekeying messages. """ realmFactory = RekeyRealm def test_clientRekey(self): """ After a client-initiated rekey is completed, application data continues to be passed over the SSH connection. """ process = ConchTestOpenSSHProcess() d = self.execute("", process, '-o RekeyLimit=2K') def finished(result): expectedResult = '\n'.join(['line #%02d' % (i,) for i in range(60)]) + '\n' expectedResult = expectedResult.encode("utf-8") self.assertEqual(result, expectedResult) d.addCallback(finished) return d class OpenSSHClientMixin: if not which('ssh'): skip = "no ssh command-line client available" def execute(self, remoteCommand, process, sshArgs=''): """ Connects to the SSH server started in L{ConchServerSetupMixin.setUp} by running the 'ssh' command line tool. @type remoteCommand: str @param remoteCommand: The command (with arguments) to run on the remote end. @type process: L{ConchTestOpenSSHProcess} @type sshArgs: str @param sshArgs: Arguments to pass to the 'ssh' process. @return: L{defer.Deferred} """ # PubkeyAcceptedKeyTypes does not exist prior to OpenSSH 7.0 so we # first need to check if we can set it. If we can, -V will just print # the version without doing anything else; if we can't, we will get a # configuration error. d = getProcessValue( which('ssh')[0], ('-o', 'PubkeyAcceptedKeyTypes=ssh-dss', '-V')) def hasPAKT(status): if status == 0: opts = '-oPubkeyAcceptedKeyTypes=ssh-dss ' else: opts = '' process.deferred = defer.Deferred() # Pass -F /dev/null to avoid the user's configuration file from # being loaded, as it may contain settings that cause our tests to # fail or hang. cmdline = ('ssh -2 -l testuser -p %i ' '-F /dev/null ' '-oUserKnownHostsFile=kh_test ' '-oPasswordAuthentication=no ' # Always use the RSA key, since that's the one in kh_test. '-oHostKeyAlgorithms=ssh-rsa ' '-a ' '-i dsa_test ') + opts + sshArgs + \ ' 127.0.0.1 ' + remoteCommand port = self.conchServer.getHost().port cmds = (cmdline % port).split() encodedCmds = [] for cmd in cmds: if isinstance(cmd, unicode): cmd = cmd.encode("utf-8") encodedCmds.append(cmd) reactor.spawnProcess(process, which('ssh')[0], encodedCmds) return process.deferred return d.addCallback(hasPAKT) class OpenSSHKeyExchangeTests(ConchServerSetupMixin, OpenSSHClientMixin, unittest.TestCase): """ Tests L{SSHTransportBase}'s key exchange algorithm compatibility with OpenSSH. """ def assertExecuteWithKexAlgorithm(self, keyExchangeAlgo): """ Call execute() method of L{OpenSSHClientMixin} with an ssh option that forces the exclusive use of the key exchange algorithm specified by keyExchangeAlgo @type keyExchangeAlgo: L{str} @param keyExchangeAlgo: The key exchange algorithm to use @return: L{defer.Deferred} """ kexAlgorithms = [] try: output = subprocess.check_output([which('ssh')[0], '-Q', 'kex'], stderr=subprocess.STDOUT) if not isinstance(output, str): output = output.decode("utf-8") kexAlgorithms = output.split() except: pass if keyExchangeAlgo not in kexAlgorithms: raise unittest.SkipTest( "{} not supported by ssh client".format( keyExchangeAlgo)) d = self.execute('echo hello', ConchTestOpenSSHProcess(), '-oKexAlgorithms=' + keyExchangeAlgo) return d.addCallback(self.assertEqual, b'hello\n') def test_ECDHSHA256(self): """ The ecdh-sha2-nistp256 key exchange algorithm is compatible with OpenSSH """ return self.assertExecuteWithKexAlgorithm( 'ecdh-sha2-nistp256') def test_ECDHSHA384(self): """ The ecdh-sha2-nistp384 key exchange algorithm is compatible with OpenSSH """ return self.assertExecuteWithKexAlgorithm( 'ecdh-sha2-nistp384') def test_ECDHSHA521(self): """ The ecdh-sha2-nistp521 key exchange algorithm is compatible with OpenSSH """ return self.assertExecuteWithKexAlgorithm( 'ecdh-sha2-nistp521') def test_DH_GROUP14(self): """ The diffie-hellman-group14-sha1 key exchange algorithm is compatible with OpenSSH. """ return self.assertExecuteWithKexAlgorithm( 'diffie-hellman-group14-sha1') def test_DH_GROUP_EXCHANGE_SHA1(self): """ The diffie-hellman-group-exchange-sha1 key exchange algorithm is compatible with OpenSSH. """ return self.assertExecuteWithKexAlgorithm( 'diffie-hellman-group-exchange-sha1') def test_DH_GROUP_EXCHANGE_SHA256(self): """ The diffie-hellman-group-exchange-sha256 key exchange algorithm is compatible with OpenSSH. """ return self.assertExecuteWithKexAlgorithm( 'diffie-hellman-group-exchange-sha256') def test_unsupported_algorithm(self): """ The list of key exchange algorithms supported by OpenSSH client is obtained with C{ssh -Q kex}. """ self.assertRaises(unittest.SkipTest, self.assertExecuteWithKexAlgorithm, 'unsupported-algorithm') class OpenSSHClientForwardingTests(ForwardingMixin, OpenSSHClientMixin, unittest.TestCase): """ Connection forwarding tests run against the OpenSSL command line client. """ def test_localToRemoteForwardingV6(self): """ Forwarding of arbitrary IPv6 TCP connections via SSH. """ localPort = self._getFreePort() process = ConchTestForwardingProcess(localPort, b'test\n') d = self.execute('', process, sshArgs='-N -L%i:[::1]:%i' % (localPort, self.echoPortV6)) d.addCallback(self.assertEqual, b'test\n') return d if not HAS_IPV6: test_localToRemoteForwardingV6.skip = "Requires IPv6 support" class OpenSSHClientRekeyTests(RekeyTestsMixin, OpenSSHClientMixin, unittest.TestCase): """ Rekeying tests run against the OpenSSL command line client. """ class CmdLineClientTests(ForwardingMixin, unittest.TestCase): """ Connection forwarding tests run against the Conch command line client. """ if runtime.platformType == 'win32': skip = "can't run cmdline client on win32" def execute(self, remoteCommand, process, sshArgs='', conchArgs=None): """ As for L{OpenSSHClientTestCase.execute}, except it runs the 'conch' command line tool, not 'ssh'. """ if conchArgs is None: conchArgs = [] process.deferred = defer.Deferred() port = self.conchServer.getHost().port cmd = ('-p {} -l testuser ' '--known-hosts kh_test ' '--user-authentications publickey ' '-a ' '-i dsa_test ' '-v '.format(port) + sshArgs + ' 127.0.0.1 ' + remoteCommand) cmds = _makeArgs(conchArgs + cmd.split()) env = os.environ.copy() env['PYTHONPATH'] = os.pathsep.join(sys.path) encodedCmds = [] encodedEnv = {} for cmd in cmds: if isinstance(cmd, unicode): cmd = cmd.encode("utf-8") encodedCmds.append(cmd) for var in env: val = env[var] if isinstance(var, unicode): var = var.encode("utf-8") if isinstance(val, unicode): val = val.encode("utf-8") encodedEnv[var] = val reactor.spawnProcess(process, sys.executable, encodedCmds, env=encodedEnv) return process.deferred def test_runWithLogFile(self): """ It can store logs to a local file. """ def cb_check_log(result): logContent = logPath.getContent() self.assertIn(b'Log opened.', logContent) logPath = filepath.FilePath(self.mktemp()) d = self.execute( remoteCommand='echo goodbye', process=ConchTestOpenSSHProcess(), conchArgs=['--log', '--logfile', logPath.path, '--host-key-algorithms', 'ssh-rsa'] ) d.addCallback(self.assertEqual, b'goodbye\n') d.addCallback(cb_check_log) return d def test_runWithNoHostAlgorithmsSpecified(self): """ Do not use --host-key-algorithms flag on command line. """ d = self.execute( remoteCommand='echo goodbye', process=ConchTestOpenSSHProcess() ) d.addCallback(self.assertEqual, b'goodbye\n') return d
c575a9c2ea029a2616fb7aa34165dc2b935eb63a
3b863f7e7efea09f5a120eb8c323e5a3742b82b3
/LevelSelection_Page/LevelSelection_Page.pyde
23a2c39a016791744f8abcef5874cfa5058a187b
[]
no_license
TriceG/DNA_Project
b6096fbc91c35621b659dd5154a1972a9674d881
469df295120fbfe32070fd973c55f36b2af99341
refs/heads/master
2021-01-19T21:32:24.914550
2017-06-20T14:15:27
2017-06-20T14:15:27
88,661,601
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
pyde
def setup(): background(37, 154, 247) size(800, 500) def draw(): fill(225) rectMode(CENTER) #beginerButton rect(400, 175, 150, 50) #intermediateButton rect(400, 275, 239, 50) #advancedButton rect(400, 375, 190, 50) textSize(30) #title text("Select a Level:", 300, 100) fill(0) #button text text("BEGINER", 337, 185) text("INTERMEDIATE", 292, 285) text("ADVANCED", 316, 385) def mouseClicked(): #BEGINER button clicked if mouseX > 325 and mouseX < 475 and mouseY > 150 and mouseY < 200: #go to easy mode #Import Easy Mode background(194, 247, 37) #INTERMEDIATE button clicked if mouseX > 280.5 and mouseX < 519.5 and mouseY > 250 and mouseY < 300: #go to medium mode #Import Medium mode background(47, 247, 37) #ADVANCED button clicked if mouseX > 305 and mouseX < 495 and mouseY > 350 and mouseY < 400: #go to hard mode #Import Hard Mode background(27, 167, 20)
[ "none@none" ]
none@none
8dbbb798fd7d365ab6925e56271b3e38fd9151e3
d229480fb037442bfc2d895e300fdab89d06e1f6
/examples/train_cornac.py
739d5ecca174fe68cffed861aa5a7481900cda49
[]
no_license
anonymcodes/t-vbr
939c8eebed4e6ecbe4e85b26b296b5e16bb0b445
c8d37aee05de5060a98fac74421a28db0a7eaa4c
refs/heads/master
2023-08-09T01:55:12.295567
2020-12-03T02:06:18
2020-12-03T02:06:18
264,423,776
2
0
null
2023-07-23T17:09:20
2020-05-16T11:40:02
Python
UTF-8
Python
false
false
6,934
py
import numpy as np import pandas as pd import pickle import argparse import json import torch.optim as optim from torch import Tensor from torch.utils.data import DataLoader import torch import torch.nn as nn import torch.optim as optim from tqdm import tqdm from livelossplot import PlotLosses import GPUtil import os import sys from datetime import datetime sys.path.append("../") import random import cornac from cornac.eval_methods.base_method import BaseMethod base_string = "abcdefghijklmnopqrstuvwxyz" from scipy.sparse import csr_matrix from beta_rec.utils.monitor import Monitor from beta_rec.utils.common_util import save_to_csv from beta_rec.utils import data_util from beta_rec.utils import logger import beta_rec.utils.constants as Constants from beta_rec.datasets import data_load import beta_rec.utils.evaluation as eval_model import beta_rec.utils.constants as Constants from scipy.sparse import csr_matrix import pandas as pd def parse_args(): parser = argparse.ArgumentParser(description="Run cornac model..") # If the following settings are specified with command line, # these settings will be updated. parser.add_argument( "--config_file", default="../configs/cornac_default.json", nargs="?", type=str, help="Options are: tafeng, dunnhunmby and instacart", ) parser.add_argument( "--dataset", nargs="?", type=str, help="Options are: tafeng, dunnhunmby and instacart", ) parser.add_argument( "--data_split", nargs="?", type=str, help="Options are: leave_one_out and temporal", ) parser.add_argument( "--test_percent", nargs="?", type=float, help="Options are: leave_one_out and temporal", ) parser.add_argument( "--root_dir", nargs="?", type=str, help="working directory", ) parser.add_argument( "--toy", nargs="?", type=int, help="working directory", ) return parser.parse_args() """ update hyperparameters from command line """ def update_args(config, args): # print(vars(args)) for k, v in vars(args).items(): if v != None: config[k] = v print("Received parameters form comand line:", k, v) def my_eval(eval_data_df, model): u_indices = eval_data_df[Constants.DEFAULT_USER_COL].to_numpy() i_indices = eval_data_df[Constants.DEFAULT_ITEM_COL].to_numpy() r_preds = np.fromiter( ( model.score(user_idx, item_idx).item() for user_idx, item_idx in zip(u_indices, i_indices) ), dtype=np.float, count=len(u_indices), ) pred_df = pd.DataFrame( { Constants.DEFAULT_USER_COL: u_indices, Constants.DEFAULT_ITEM_COL: i_indices, Constants.DEFAULT_PREDICTION_COL: r_preds, } ) result_dic = {} TOP_K = [5, 10, 20] if type(TOP_K) != list: TOP_K = [TOP_K] if 10 not in TOP_K: TOP_K.append(10) metrics = ["ndcg_at_k", "precision_at_k", "recall_at_k", "map_at_k"] for k in TOP_K: for metric in metrics: eval_metric = getattr(eval_model, metric) result = eval_metric(eval_data_df, pred_df, k=k) result_dic[metric + "@" + str(k)] = result result_dic.update(config) result_df = pd.DataFrame(result_dic, index=[0]) save_to_csv(result_df, config["result_file"]) if __name__ == "__main__": # load config file from json config = {} args = parse_args() update_args(config, args) with open(config["config_file"]) as config_params: print("loading config file", config["config_file"]) json_config = json.load(config_params) json_config.update(config) config = json_config root_dir = config["root_dir"] time_str = datetime.now().strftime("%Y%m%d_%H%M%S") log_file = ( root_dir + "logs/cornac" + "_" + config["dataset"] + "_" + config["data_split"] + time_str ) config["result_file"] = ( root_dir + "results/cornac" + "_" + config["dataset"] + "_" + config["data_split"] + ".csv" ) """ init logger """ logger.init_std_logger(log_file) # cornac.eval_methods.base_method.rating_eval = rating_eval # Load the built-in MovieLens 100K dataset (will be downloaded if not cached): # Here we are comparing Biased MF, PMF, and BPR: # pop = cornac.models.most_pop.recom_most_pop.MostPop(name="MostPop") # mf = cornac.models.MF( # k=10, max_iter=25, learning_rate=0.01, lambda_reg=0.02, use_bias=True, seed=123 # ) # pmf = cornac.models.PMF( # k=10, max_iter=100, learning_rate=0.001, lambda_reg=0.001, seed=123 # ) # bpr = cornac.models.BPR( # k=10, max_iter=200, learning_rate=0.001, lambda_reg=0.01, seed=123 # ) # vaecf = cornac.models.vaecf.recom_vaecf.VAECF( # name="VAECF", # k=10, # autoencoder_structure=[20], # act_fn="tanh", # likelihood="mult", # n_epochs=100, # batch_size=100, # learning_rate=0.001, # beta=1.0, # trainable=True, # verbose=False, # seed=None, # use_gpu=True, # ) # nmf = cornac.models.NMF( # k=15, # max_iter=50, # learning_rate=0.005, # lambda_u=0.06, # lambda_v=0.06, # lambda_bu=0.02, # lambda_bi=0.02, # use_bias=False, # verbose=True, # seed=123, # ) neumf = cornac.models.ncf.recom_neumf.NeuMF( name="NCF", num_factors=8, layers=(32, 16, 8), act_fn="relu", reg_mf=0.0, reg_layers=(0.0, 0.0, 0.0, 0.0), num_epochs=20, batch_size=256, num_neg=4, lr=0.001, learner="adam", early_stopping=None, trainable=True, verbose=True, seed=None, ) # models = [pop, mf, pmf, bpr, vaecf, nmf, neumf] models = [neumf] # add our own eval data = data_util.Dataset(config) num_users = data.n_users num_items = data.n_items uid_map = data.user2id iid_map = data.item2id train_uir_tuple = [ data.train["col_user"].to_numpy(), data.train["col_item"].to_numpy(), data.train["col_rating"].to_numpy(), ] train_data = cornac.data.Dataset( num_users, num_items, uid_map, iid_map, train_uir_tuple, timestamps=None, seed=None, ) test_df_li = data.test for model in models: config["model"] = str(model.__class__).split(".")[-1].replace(">", "").strip( "'\"" ) + datetime.now().strftime("_%Y%m%d_%H%M%S") model.fit(train_data) my_eval(test_df_li[0], model)
24bd01eef13ac27c129556df9c4bdd7e0d6ad861
44b869c9ddcfd8afa429a6a4758c6acdac62f9c1
/users/admin.py
c13af5a0c2a73efaf7790a0cc239c9c99a1fafdc
[]
no_license
paulitstep/blog-api
7507394eb008c6c1bd30e5699bb33e9e37cfac52
5ce6d84495fa9b6d32b38d7d99412858ff3bc077
refs/heads/main
2023-04-06T12:56:00.364861
2021-04-16T09:28:09
2021-04-16T09:28:09
357,801,983
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from users.models import NewUser class UserAdminConfig(UserAdmin): model = NewUser search_fields = ('email', 'user_name',) list_filter = ('email', 'user_name', 'is_staff', 'is_active') list_display = ('email', 'id', 'user_name', 'is_staff', 'is_active') ordering = ('-start_date',) fieldsets = ( (None, {'fields': ('email', 'user_name',)}), ('Permissions', {'fields': ('is_staff', 'is_active',)}), ('Personal', {'fields': ('about',)}), ) add_fieldsets = ( (None, { 'classes': ('wide',), 'fields': ('email', 'user_name', 'password1', 'password2', 'is_staff', 'is_active'), }), ) admin.site.register(NewUser, UserAdminConfig)
17c45d94efa8018ba6165c376fcf4a8981629f48
c5bc44b4bb7aa0b8e6df81c198e9803eb0f060ce
/pro_tracker/issue/views.py
7a365ad081af225db4a559345972d6c6de5b7ae1
[]
no_license
hyperloop11/Progress-tracking-website
4821b1c17b04b223b1a20610b1612b11b0a54ce3
7c3bd77a0b0605994b001544fc809c1e52a18f82
refs/heads/master
2023-06-21T12:06:26.531345
2021-08-05T07:21:37
2021-08-05T07:21:37
298,636,249
0
0
null
null
null
null
UTF-8
Python
false
false
5,218
py
from django.shortcuts import render, get_object_or_404 from django.views.generic import ( ListView, DetailView, CreateView, UpdateView, ) from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin from .models import Issue from django.contrib.auth.models import User, Permission from .forms import IssueUpdateForm, CommentForm from django.views.generic.edit import FormMixin from django.urls import reverse from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from notifications.signals import notify def home(request): context = { 'posts': Issue.objects.all() } return render(request, 'issue/home.html', context) class IssueListView(ListView): model = Issue template_name='issue/home.html' context_object_name='posts' paginate_by=6 #ORDERING def get_queryset(self): return Issue.objects.filter(completed=False).order_by('-id') class OldIssueListView(ListView): model = Issue template_name='issue/home.html' context_object_name='posts' paginate_by=6 #ORDERING def get_queryset(self): return Issue.objects.filter(completed=True).order_by('-id') class IssueDetailView(FormMixin, DetailView): model = Issue form_class=CommentForm def get_success_url(self): return reverse('issue-detail', kwargs={'pk': self.object.id}) def get_context_data(self, **kwargs): context = super(IssueDetailView, self).get_context_data(**kwargs) context['form'] = CommentForm(initial={'issue': self.object.id, 'author': self.request.user}) return context def post(self, request, *args, **kwargs): self.object = self.get_object() form = self.get_form() if form.is_valid(): curr_issue = Issue.objects.get(pk=self.object.id) for user in curr_issue.author.all() : if self.request.user != user: notify.send( request.user, recipient=user, verb = 'commented on your issue', target=curr_issue, ) return self.form_valid(form) else: return self.form_invalid(form) def form_valid(self, form): form.save() return super(IssueDetailView, self).form_valid(form) class IssueCreateView(LoginRequiredMixin, CreateView): model = Issue fields= ['title', 'content', 'priority'] def form_valid(self, form): form.save() form.instance.author.add(self.request.user) return super().form_valid(form) def view_type(self): return "Create" class IssueUpdateView(LoginRequiredMixin, UserPassesTestMixin, UpdateView): model = Issue form_class = IssueUpdateForm # leader =self.get_object().author.first() # #author = forms.ModelChoiceField(queryset=User.objects.exclude(leader)) # form_class.fields['author'].queryset=User.objects.exclude(leader) #form_class=UserForm # def __init__(self, *args): # super(IssueUpdateView, self).__init__(*args) # leader =self.get_object().author.first() # self.fields['author'].queryset = User.objects.exclude(leader) def form_valid(self, form): form.save() form.instance.author.add(self.request.user) return super().form_valid(form) def test_func(self): post= self.get_object() if self.request.user in post.author.all() or self.request.user.has_perm('issue.change_issue'): return True else: return False def view_type(self): return "Update" #to fix kwargs in issue list view, better not inherit from listView and make a function. def UserIssue(request,username): #user = get_object_or_404( User,User.objects.get(username=username)) this_user = get_object_or_404(User, username=username) posts = this_user.issue_set.filter(completed=False).order_by('-id') paginator = Paginator(posts, 2) # Show 4 blogs per page. page_number = request.GET.get('page', 1) try: page_obj = paginator.page(page_number) except PageNotAnInteger: page_obj = paginator.page(1) except EmptyPage: page_obj = paginator.page(paginator.num_pages) context = { 'this_user': this_user, #'posts': this_user.issue_set.all().order_by('-id'), 'posts': page_obj, } return render(request, 'issue/user_issues.html', context) def UserIssueArchives(request,username): this_user = get_object_or_404(User, username=username) posts = this_user.issue_set.filter(completed=True).order_by('-id') paginator = Paginator(posts, 2) # Show 4 blogs per page. page_number = request.GET.get('page', 1) try: page_obj = paginator.page(page_number) except PageNotAnInteger: page_obj = paginator.page(1) except EmptyPage: page_obj = paginator.page(paginator.num_pages) context = { 'this_user': this_user, #'posts': this_user.issue_set.all().order_by('-id'), 'posts': page_obj, } return render(request, 'issue/user_issues.html', context)
[ "=" ]
=
ff74906e1d238386e472c15bcbccc2be7332b80d
07c6d3055eda7b1ddb16ce9444166ed311ce3219
/clioinfra/api/api.py
10ccb10f6b4e9681ba2e04d6ad25cbc7680efb5d
[]
no_license
IISH/dpe
4df9b0576b5419e543c61ce9ef14380ddc4b5c03
6509b06aa03242f450766d4cb5d8984f14146b11
refs/heads/master
2021-01-10T17:52:54.775316
2016-05-04T09:50:46
2016-05-04T09:50:46
42,994,984
1
0
null
null
null
null
UTF-8
Python
false
false
41,817
py
# Copyright (C) 2015-2016 International Institute of Social History. # @author Vyacheslav Tykhonov <[email protected]> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License, version 3, # as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # As a special exception, the copyright holders give permission to link the # code of portions of this program with the OpenSSL library under certain # conditions as described in each individual source file and distribute # linked combinations including the program with the OpenSSL library. You # must comply with the GNU Affero General Public License in all respects # for all of the code used other than as permitted herein. If you modify # file(s) with this exception, you may extend this exception to your # version of the file(s), but you are not obligated to do so. If you do not # wish to do so, delete this exception statement from your version. If you # delete this exception statement from all source files in the program, # then also delete it in the license file. from flask import Flask, redirect, make_response, Response, render_template, request, send_from_directory from twisted.web import http import webbrowser import json import simplejson import urllib2 import glob import csv import xlwt import os import shutil import sys import pprint import collections import ast import getopt import numpy as np import stat import pandas as pd import random import ConfigParser from subprocess import Popen, PIPE, STDOUT from random import randint import brewer2mpl import string import pylab as plt import re from urllib import urlopen sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../../modules'))) from advancedstatistics import loadpanel, statistics2table, handle2statistics, data2statistics, read_measure, statistics_tojson, advpanel2dict from search import dataset_search, getindicators, dataverse_search, loadjson import random, string from download import get_papers, dataset2zip, compile2zip from tabulardata import loadcodes, dataset_to_csv, load_api_data, countryset, json_dict, createframe, combinedata, data2panel, moderncodes, data2json from config import configuration, dataverse2indicators, load_dataverse, findpid, load_metadata, load_fullmetadata, pidfrompanel import matplotlib as mpl from palettable.colorbrewer.sequential import Greys_8 from data2excel import panel2excel, individual_dataset from historical import load_historical, histo from scales import getcolors, showwarning, buildcategories, getscales, floattodec, combinerange, webscales, value2scale from storage import * from paneldata import build_panel, paneldatafilter, panel2dict, panel2csv from datasets import * from datacompiler import dataframe_compiler from data2excel import panel2excel from cliocore.configutils import Configuration, Utils, DataFilter from cliocore.datasets import Dataset # Function to create json from dict def json_generator(c, jsondataname, data): sqlnames = [desc[0] for desc in c.description] jsonlist = [] jsonhash = {} for valuestr in data: datakeys = {} for i in range(len(valuestr)): name = sqlnames[i] value = valuestr[i] datakeys[name] = value #print "%s %s", (name, value) jsonlist.append(datakeys) jsonhash[jsondataname] = jsonlist; json_string = json.dumps(jsonhash, encoding="utf-8", sort_keys=True, indent=4) return json_string def randomword(length): return ''.join(random.choice(string.lowercase) for i in range(length)) # Check if param is location def is_location(param): flag = re.match(r"c\[\d+\]", param) try: true = flag.group(0) except: true = 0 return true # Download ZIP archive def downloadzip(pid): DEBUG = 0 (fullpath) = ('') fullmetadata = {} logscale = 0 config = configuration() config['remote'] = 'on' API_TOKEN = config['key'] HOSTNAME = config['dataverseroot'] cmd = "--insecure -u " + API_TOKEN + ": " + HOSTNAME + "/dvn/api/data-deposit/v1.1/swordv2/statement/study/" tmpdir = config['tmpdir'] filerandom = randomword(10) #filerandom = '12345' arc = "data" + filerandom + ".zip" filename = filerandom finaldir = config['path'] + '/static/tmp' # ToDO if filename: finaldir = str(finaldir) + '/' + str(filename) tmpdir = str(tmpdir) + '/' + str(filename) try: os.mkdir(tmpdir) os.mkdir(finaldir) except: donothing = 'ok' customyear = '' fromyear = request.args.get('y[min]') toyear = request.args.get('y[max]') historical = request.args.get('type[0]') (handles, pidslist) = pidfrompanel(pid) try: if pidslist: fullmetadata = load_fullmetadata(pidslist) except: showwarning = 1 # Log scales switch if request.args.get('logscale'): logscale = 1 # Select countries customcountrycodes = '' f = request.args for key in f.keys(): if is_location(key): for value in sorted(f.getlist(key)): customcountrycodes = str(customcountrycodes) + str(value) + ',' if customcountrycodes: customcountrycodes = customcountrycodes[:-1] if handles: if historical: api = config['apiroot'] + "/collabs/static/data/historical.json" (regions, countries, ctr2reg, webmapper, geocoder) = histo(api, '') hist = countries else: hist = '' (classification, geodataset, title, units) = content2dataframe(config, config['geocoderhandle']) #geocoder = buildgeocoder(dataset, config) (modern, historical) = loadgeocoder(config, dataset, 'geocoder') for handle in handles: #if remote: # (class1, dataset) = loaddataset_fromurl(config, handle) #else: # dataset = loaddataset(handles) #(cfilter, notint) = selectint(activeindex.values) #(moderndata, historicaldata) = loadgeocoder(dataset, '') # CHANGE #return str(dataset.index) (header, panelcells, codes, datahub, data, handle2ind, unit2ind, original) = data2panel(handles, customcountrycodes, fromyear, toyear, customyear, hist, logscale) filename = filename + '.xls' fullpath = panel2excel(finaldir, filename, header, panelcells, fullmetadata) else: # Clio format download zipfile = get_papers(HOSTNAME, API_TOKEN, cmd, pid, tmpdir, arc, finaldir) (alonepid, revid, cliohandle, clearpid) = findpid(pid) if alonepid: handles = [ clearpid ] for pid in handles: if historical: api = config['apiroot'] + "/collabs/static/data/historical.json" (regions, countries, ctr2reg, webmapper, geocoder) = histo(api, '') hist = countries else: hist = '' filename = filename + '.xls' # 2DEBUG (header, panelcells, codes, datahub, data, handle2ind, unit2ind, originalvalues) = data2panel(handles, customcountrycodes, fromyear, toyear, customyear, hist, logscale) #codes = hist #return str(fullmetadata) metadata = fullmetadata result = individual_dataset(finaldir, filename, handle2ind[pid], unit2ind[pid], datahub, data[pid], codes, metadata) try: for everypid in handles: # Download papers zipfile = get_papers(HOSTNAME, API_TOKEN, cmd, everypid, tmpdir, arc, finaldir) except: nopapers = 1 compile2zip(finaldir, arc) filename = arc return filename def tableapi(): # years in filter config = configuration() switch = 'modern' datafilter = {} datafilter['ctrlist'] = '' customyear = '' fromyear = '1500' datafilter['startyear'] = fromyear toyear = '2012' datafilter['endyear'] = toyear customcountrycodes = '' (aggr, logscale, dataset, handles) = ('','','',[]) # Select countries f = request.args for key in f.keys(): if key == 'loc': for value in sorted(f.getlist(key)): if value: customcountrycodes = str(customcountrycodes) + str(value) + ',' if customcountrycodes: customcountrycodes = customcountrycodes[:-1] #handle = "F16UDU" # HANDLE if request.args.get('handle'): handledataset = request.args.get('handle') try: (pids, pidslist) = pidfrompanel(handledataset) handles.append(pids[0]) except: handles.append(handledataset) nopanel = 'yes' if request.args.get('dataset'): dataset = request.args.get('dataset') if request.args.get('hist'): switch = 'historical' if request.args.get('ctrlist'): customcountrycodes = '' tmpcustomcountrycodes = request.args.get('ctrlist') c = tmpcustomcountrycodes.split(',') for ids in sorted(c): if ids: customcountrycodes = str(customcountrycodes) + str(ids) + ',' customcountrycodes = customcountrycodes[:-1] datafilter['ctrlist'] = customcountrycodes if not customcountrycodes: customcountrycodes = '528' if request.args.get('yearmin'): fromyear = request.args.get('yearmin') datafilter['startyear'] = fromyear if request.args.get('yearmax'): toyear = request.args.get('yearmax') datafilter['endyear'] = toyear if request.args.get('aggr'): aggr = request.args.get('aggr') # Log scales switch if request.args.get('logscale'): logscale = request.args.get('logscale') DEBUG = 0 old = '' if old: apifile = str(dataset) + ".json" jsonapi = config['apiroot'] + "/collabs/static/data/" + apifile dataframe = load_api_data(jsonapi, '') loccodes = loadcodes(dataframe) (ctr, header) = countryset(customcountrycodes, loccodes) indicator = '' (frame, years, values, dates, original) = createframe(indicator, loccodes, dataframe, customyear, fromyear, toyear, ctr, logscale, DEBUG) names = ['indicator', 'm', 'ctrcode', 'country', 'year', 'intcode', 'value', 'id'] (csvdata, aggrdata) = combinedata(ctr, frame, loccodes) # New version is fast else: (geocoder, geolist, oecd2webmapper, modern, historical) = request_geocoder(config, '') (origdata, maindata, metadata) = request_datasets(config, switch, modern, historical, handles, geolist) (subsets, panel) = ({}, []) for handle in handles: (datasubset, ctrlist) = datasetfilter(maindata[handle], datafilter) if not datasubset.empty: datasubset = datasubset.dropna(how='all') panel.append(datasubset) subsets[handle] = datasubset classification = modern if switch == 'historical': classification = historical (csvdata, aggrdata) = dataset_to_csv(config, subsets[handles[0]], classification) if aggr: csvdata = aggrdata return (csvdata, aggrdata) # Search API def simplesearch(root, qurl, apiroot): # Load topics #topicurl = apiroot + "/collabs/static/data/dataframe100_0.json" topicurl = apiroot + "/api/datasets?handle=Panel[%27hdl:10622/0PCZX5%27]" topicsframe = loadjson(topicurl) for item in topicsframe: topics = item['data'] # Input IDS = getindicators(qurl) datasets = dataset_search(root, IDS, topics) return datasets def load_indicators(filename): config = configuration() csvfile = config['clearance'] + "/collabs/static/data/" + filename ufile = urlopen(csvfile) data = pd.read_csv(ufile, delimiter='\t') df = data if csvfile: d = [ dict([ (colname, row[i]) for i,colname in enumerate(df.columns) ]) for row in df.values ] return json.dumps(d) def load_api_data1(apiurl, fileID): jsondataurl = apiurl req = urllib2.Request(jsondataurl) opener = urllib2.build_opener() f = opener.open(req) dataframe = simplejson.load(f, "utf-8") return dataframe def searchdata(query): config = configuration() searchapi = config['dataverseroot'] + "/api/search?q=" + query + "&key=" + config['key'] dataframe = load_api_data(searchapi, '') return json.dumps(dataframe) def medianlimits(dataframe): scale = [] frame1 = [] frame2 = [] avg = dataframe.median() for value in dataframe: if value <= avg: frame1.append(value) else: frame2.append(value) avg1 = pd.DataFrame(frame1).median() avg2 = pd.DataFrame(frame2).median() return (dataframe.min(), int(avg1), int(avg), int(avg2), dataframe.max()) def meanlimits(dataframe): scale = [] frame1 = [] frame2 = [] avg = dataframe.mean() for value in dataframe: if value <= avg: frame1.append(value) else: frame2.append(value) avg1 = pd.DataFrame(frame1).mean() avg2 = pd.DataFrame(frame2).mean() return (dataframe.min(), int(avg1), int(avg), int(avg2), dataframe.max()) def round_it(x): g = round(x) if request.args.get('code'): m = r'LCI' isindex = re.match(m, request.args.get('code')) if isindex: g = float("{0:.5f}".format(x)) return g app = Flask(__name__) @app.route('/') def test(): description = 'nlgis2 API Service v.0.1<br>/api/maps (map polygons)<br>/api/data (data services)<br>' return description @app.route('/demo') def demo(): sql = "select * from datasets.topics where 1=1"; sql = sqlfilter(sql) return sql @app.route('/progress') def open(): root = '' resp = make_response(render_template('progress.html', download=root)) return resp @app.route('/treemap') def treemapweb(): (thisyear, datafilter, yearmin, lastyear, handles) = (0, {}, 1500, 2010, []) (action, switch, geodataset) = ('', 'modern', '') config = configuration() datafilter['startyear'] = yearmin datafilter['endyear'] = lastyear datafilter['ctrlist'] = '' handle = '' if request.args.get('handle'): handledataset = request.args.get('handle') try: (pids, pidslist) = pidfrompanel(handledataset) handle = pids[0] handles.append(handle) except: handles.append(handledataset) nopanel = 'yes' if request.args.get('face'): handle = request.args.get('face') handles.append(handle) if request.args.get('year'): thisyear = request.args.get('year') if request.args.get('action'): action = request.args.get('action') if request.args.get('ctrlist'): datafilter['ctrlist'] = request.args.get('ctrlist') if int(thisyear) > 0: datafilter['startyear'] = int(thisyear) datafilter['endyear'] = int(thisyear) if request.args.get('historical'): switch = 'historical' # Geocoder (classification, geodataset, title, units) = content2dataframe(config, config['geocoderhandle']) #(modern, historical) = loadgeocoder(config, geodataset, 'geocoder') (geocoder, geolist, oecd2webmapper, modern, historical) = request_geocoder(config, '') if switch == 'modern': activeindex = modern.index coder = modern class1 = switch else: activeindex = historical.index coder = historical class1 = switch # Loading dataset in dataframe try: (class1, dataset, title, units) = content2dataframe(config, handle) except: return 'No dataset ' + handle (cfilter, notint) = selectint(activeindex.values) (origdata, maindata, metadata) = request_datasets(config, switch, modern, historical, handles, geolist) (subsets, panel) = ({}, []) # Show only available years if action == 'showyears': years = [] datafilter['startyear'] = yearmin datafilter['endyear'] = lastyear (datasubset, ctrlist) = datasetfilter(maindata[handles[0]], datafilter) # Remove years without any values if not datafilter['ctrlist']: if np.nan in datasubset.index: datasubset = datasubset.drop(np.nan, axis=0) for colyear in datasubset.columns: if datasubset[colyear].count() == 0: datasubset = datasubset.drop(colyear, axis=1) (years, notyears) = selectint(datasubset.columns) # YEARS return Response(json.dumps(years), mimetype='application/json') # Process all indicators for handle in handles: (datasubset, ctrlist) = datasetfilter(maindata[handle], datafilter) if not datasubset.empty: #datasubset = datasubset.dropna(how='all') if not datafilter['ctrlist']: if np.nan in datasubset.index: datasubset = datasubset.drop(np.nan, axis=0) panel.append(datasubset) subsets[handle] = datasubset maindata = subsets[handles[0]] treemapdata = buildtreemap(config, maindata, switch, cfilter, coder) return Response(treemapdata, mimetype='application/json') # Panel data @app.route('/panel') def panel(): (thisyear, datafilter, handle, yearmin, yearmax, thisyear, ctrlist, lastyear, logscale) = (0, {}, '', '1500', '2020', 1950, '', 2010, '') handles = [] config = configuration() datafilter['startyear'] = yearmin datafilter['endyear'] = lastyear datafilter['ctrlist'] = config['ctrlist'] #modern = moderncodes(config['modernnames'], config['apiroot']) if request.args.get('handle'): handle = str(request.args.get('handle')) handle = handle.replace(" ", "") handle = handle.replace("'", "") try: (pids, pidslist) = pidfrompanel(handle) handles = pids except: nopanel = 'yes' handles.append(handle) if request.args.get('face'): facehandle = request.args.get('face') if facehandle not in handles: handles.append(facehandle) if request.args.get('dataset'): dataset = request.args.get('dataset') if request.args.get('ctrlist'): customcountrycodes = '' ctrlist = request.args.get('ctrlist') datafilter['ctrlist'] = ctrlist if request.args.get('logscale'): logscale = request.args.get('logscale') if request.args.get('year'): thisyear = request.args.get('year') datafilter['startyear'] = int(thisyear) datafilter['endyear'] = int(thisyear) if request.args.get('yearmin'): fromyear = request.args.get('yearmin') datafilter['startyear'] = fromyear if request.args.get('yearmax'): toyear = request.args.get('yearmax') datafilter['endyear'] = toyear if request.args.get('hist'): switch = 'historical' if datafilter['ctrlist'] == '': datafilter['ctrlist'] = config['histctrlist'] else: switch = 'modern' (geocoder, geolist, oecd2webmapper, modern, historical) = request_geocoder(config, '') (origdata, maindata, metadata) = request_datasets(config, switch, modern, historical, handles, geolist) (subsets, subsetyears, panel) = ({}, [], []) for handle in handles: (datasubset, ctrlist) = datasetfilter(maindata[handle], datafilter) datasubset['handle'] = handle if not datasubset.empty: datasubset = datasubset.dropna(how='all') try: if np.nan in datasubset.index: datasubset = datasubset.drop(np.nan, axis=0) except: skip = 'yes' for year in datasubset: if datasubset[year].count() == 0: datasubset = datasubset.drop(year, axis=1) (datayears, notyears) = selectint(datasubset.columns) panel.append(datasubset) subsets[handle] = datasubset subsetyears.append(datayears) dataframe = subsets ctrlimit = 10 # Trying to find the best year with most filled data values try: bestyearlist = subsetyears[0] for i in range(1,len(subsetyears)): bestyearlist = list(set(bestyearlist) & set(subsetyears[i])) #bestyearlist = bestyearlist.sort() thisyear = bestyearlist[0] except: bestyearlist = [] allcodes = {} panel = [] names = {} for handle in dataframe: try: names[handle] = metadata[handle]['title'] except: names[handle] = 'title' try: #(dataset, codes) = paneldatafilter(dataframe[handle], int(yearmin), int(yearmax), ctrlist, handle) dataset = dataframe[handle] if not dataset.empty: panel.append(dataset) except: nodata = 0 if panel: totalpanel = pd.concat(panel) cleanedpanel = totalpanel.dropna(axis=1, how='any') cleanedpanel = totalpanel #return str(cleanedpanel.to_html()) totalpanel = cleanedpanel if int(thisyear) <= 0: thisyear = totalpanel.columns[-2] result = '' original = {} if thisyear: if switch == 'historical': geocoder = historical if switch == 'hist': geocoder = historical else: geocoder = modern result = 'Country,' for handle in handles: result = result + str(metadata[handle]['title']) + ',' result = result[:-1] known = {} for code in totalpanel.index: if str(code) not in known: result = result + '\n' + str(geocoder.ix[int(code)][config['webmappercountry']]) for handle in handles: tmpframe = totalpanel.loc[totalpanel['handle'] == handle] try: (thisval, original) = value2scale(tmpframe.ix[code][thisyear], logscale, original) except: thisval = 'NaN' result = result + ',' + str(thisval) known[str(code)] = code return Response(result, mimetype='text/plain') (allyears, notyears) = selectint(cleanedpanel.columns) (codes, notcodes) = selectint(cleanedpanel.index) cleanedpanel.index = codes (header, data, countries, handles, vhandles) = panel2dict(config, cleanedpanel, names) #return str(data) #thisyear = 1882 #return str(countries) #return str(countries) years = [] for year in sorted(data): try: years.append(int(year)) lastyear = year except: skip = 1 # Return only years if request.args.get('showyears'): yearsdata = {} yearsdata['years'] = years yearsdata['latestyear'] = lastyear #yearsdata['data'] = data yearsjson = json.dumps(yearsdata, ensure_ascii=False, sort_keys=True, indent=4) return Response(yearsjson, mimetype='application/json') return Response(result, mimetype='text/plain') # Collabs @app.route('/collabs') def collabs(): remove = ["date", "_id", "passwd"] (project, jsondata) = ('', '') data = {} if request.args.get('project'): project = request.args.get('project') data = readdata('projects', 'uri', project) for item in data: for r in remove: if item[r]: del item[r] jsondata = json.dumps(item, encoding="utf-8", sort_keys=True, indent=4) return Response(jsondata, mimetype='application/json') # Advanced statistiscs @app.route('/advancedstats') def advanced_statistics(): (yearmin, yearmax, ctrlist) = (1500, 2020, '') config = configuration() handles = [] if request.args.get('handle'): handledataset = request.args.get('handle') handledataset = handledataset.replace(" ", '') if request.args.get('dataset'): dataset = request.args.get('dataset') handles.append(dataset) if request.args.get('yearmin'): yearmin = request.args.get('yearmin') if request.args.get('yearmax'): yearmax = request.args.get('yearmax') if request.args.get('ctrlist'): ctrlist = request.args.get('ctrlist') modern = moderncodes(config['modernnames'], config['apiroot']) jsonapi = config['apiroot'] + '/api/datasets?handle=' + str(handledataset) (panel, cleanedpanel, names) = loadpanel(jsonapi, yearmin, yearmax, ctrlist) (header, data, countries, handles, vhandles) = advpanel2dict(cleanedpanel) ctrlimit = 200 #result = panel2csv(header, data, thisyear, countries, handles, vhandles, ctrlimit, modern) #maindataframe = data2statistics(handles, cleanedpanel) #showhtml = statistics_tojson(maindataframe, modern) data = handle2statistics(handles, cleanedpanel) showhtml = statistics2table(data) return showhtml # Dataverse API @app.route('/download') def download(): (classification, pid, root, switch, datafile) = ('modern', '', '', 'modern', '') handle = '' config = configuration() cmd = "--insecure -u " + config['key'] + ": " + config['dataverseroot'] + "/dvn/api/data-deposit/v1.1/swordv2/statement/study/" config['remote'] = '' datafilter = {} datafilter['startyear'] = '1500' datafilter['endyear'] = '2010' datafilter['ctrlist'] = '' tmpdir = config['tmpdir'] filerandom = randomword(10) #filerandom = '12345' arc = "data" + filerandom + ".zip" filename = filerandom finaldir = config['path'] + '/static/tmp' # ToDO if filename: finaldir = str(finaldir) + '/' + str(filename) tmpdir = str(tmpdir) + '/' + str(filename) try: os.mkdir(tmpdir) os.mkdir(finaldir) except: donothing = 'ok' if request.args.get('handle'): handle = request.args.get('handle') if request.args.get('type[0]') == 'historical': classification = request.args.get('type[0]') switch = classification if request.args.get('y[min]'): datafilter['startyear'] = request.args.get('y[min]') if request.args.get('y[max]'): datafilter['endyear'] = request.args.get('y[max]') # Select countries customcountrycodes = '' f = request.args for key in f.keys(): if is_location(key): for value in sorted(f.getlist(key)): customcountrycodes = str(customcountrycodes) + str(value) + ',' if customcountrycodes: customcountrycodes = customcountrycodes[:-1] datafilter['ctrlist'] = customcountrycodes if request.args.get('ctrlist'): datafilter['ctrlist'] = request.args.get('ctrlist') if request.args.get('pid'): pid = request.args.get('pid') ispanel = '' try: (pids, pidslist) = pidfrompanel(pid) handles = pids handle = pids[0] match = re.match(r'Panel\[(.+)\]', pid) if match: ispanel = 'yes' except: handles = pid handle = pids[0] if ispanel: dirforzip = '' for handle in handles: dirforzip = get_papers(config['dataverseroot'], config['key'], cmd, handle, tmpdir, arc, finaldir) (header, panelcells, metadata, totalpanel) = build_panel(config, switch, handles, datafilter) filename = "paneldata.xlsx" metadata = [] datadir = config['webtest'] localoutfile = panel2excel(dirforzip, filename, header, panelcells, metadata) arc = 'dataarchive.zip' compile2zip(dirforzip, arc) root = config['apiroot'] + "/collabs/static/tmp/" + str(arc) return redirect(root, code=301) if classification: outfile = "clioinfra.xlsx" dirforzip = get_papers(config['dataverseroot'], config['key'], cmd, handle, tmpdir, arc, finaldir) #fullpath = config['webtest'] + "/" + str(outfile) fullpath = dirforzip # Check selection isselection = 'yes' if datafilter['startyear'] == '1500': if datafilter['ctrlist'] == '': isselection = 'yes' if isselection: (datafile, outfilefinal, finalsubset) = dataframe_compiler(config, fullpath, handle, classification, datafilter) #return datafile.to_html() else: # Copy original dataset source = os.listdir(tmpdir) for excelfile in source: shutil.copy(tmpdir + '/' + excelfile, dirforzip) #return outfilefinal arc = 'dataarchive.zip' if datafile: arc = "%s_%s.zip" % (datafile, switch) compile2zip(dirforzip, arc) root = config['apiroot'] + "/collabs/static/tmp/" + str(arc) #root = config['apiroot'] + "/collabs/static/tmp/" + str(outfile) return redirect(root, code=301) else: zipfile = downloadzip(pid) # CHANGE #return zipfile # DEBUG1 root = config['apiroot'] + "/collabs/static/tmp/" + zipfile # HTML #resp = make_response(render_template('progress.html', download=root)) #return "<a href=\"" + str(root) + "\">Download dataset(s) with all papers (zip archive)</a>" #return resp return redirect(root, code=301) @app.route('/webmappercodes') def webmapper(): config = configuration() api = config['apiroot'] + "/collabs/static/data/historical.json" (regions, countries, ctr2reg, webmapper, geocoder) = histo(api) data = json.dumps(webmapper, encoding="utf-8", sort_keys=True, indent=4) return Response(data, mimetype='application/json') @app.route('/geofilter') def geofilter(): pids = [] ctrlist = {} ctrfilter = [] settings = Configuration() clioinfra = Dataset() clioindex = clioinfra.clioindex() columns = ['1', 'Webmapper code', 'Webmapper numeric code', 'ccode', 'country name', 'start year', 'end year'] (classification, geodataset, title, units) = content2dataframe(settings.config, settings.config['geocoderhandle']) settings = DataFilter(request.args) if settings.selected(): pids = clioinfra.findhandles(settings.selected()) datasets = clioinfra.retrievedatasets(pids) selection = [] for item in datasets: dataset = datasets[item] dataset.columns = dataset.ix[1] dataset = dataset.convert_objects(convert_numeric=True) dataset.index = dataset['Webmapper numeric code'] if (settings.minyear()): dataset = dataset.loc[dataset['start year'] >= settings.minyear()] dataset = dataset.loc[dataset['start year'] <= settings.maxyear()] for col in columns: dataset = dataset.drop(col, axis=1) dataset['total'] = dataset.sum(axis=1) dataset = dataset.ix[dataset['total'] > 0] selection.append(dataset.index) for row in selection: for countryID in row: if countryID not in ctrlist: ctrlist[countryID] = countryID ctrfilter.append(countryID) geodataset = geodataset.convert_objects(convert_numeric=True) geodataset = geodataset.loc[geodataset['start year'] >= settings.minyear()] geodataset = geodataset.loc[geodataset['start year'] <= settings.maxyear()] if settings.showframe(): geodataset.index = geodataset['Webmapper numeric code'] if ctrfilter: geodataset = geodataset.ix[ctrfilter] (geocoder, geolist, oecd) = buildgeocoder(geodataset, settings.config, settings.countryfilter()) data = json.dumps(geocoder, encoding="utf-8", sort_keys=True, indent=4) return Response(data, mimetype='application/json') @app.route('/geocoder') def geocoder(): config = configuration() config['remote'] = '' remote = 'on' # Geocoder handle = config['geocoderhandle'] (classification, geodataset, title, units) = content2dataframe(config, config['geocoderhandle']) fromyear = 1500 toyear = 2016 cfilter = '' if request.args.get('name'): cfilter = request.args.get('name') if request.args.get('name'): cfilter = request.args.get('name') if fromyear: historical = '' if historical == 'old': api = config['apiroot'] + "/collabs/static/data/historical.json" (regions, countries, ctr2reg, webmapper, geocoder) = histo(api, cfilter) else: (geocoder, geolist, oecd) = buildgeocoder(geodataset, config, cfilter) data = json.dumps(geocoder, encoding="utf-8", sort_keys=True, indent=4) return Response(data, mimetype='application/json') @app.route('/datasets') def datasets(): config = configuration() (jsondata, pid) = ('', '') handles = [] combineddataset = [] resultdataset = '' datainfo = [] outformat = 'json' if request.args.get('format'): outformat = request.args.get('format') if request.args.get('handle'): pid = request.args.get('handle') if request.args.get('latest'): dataset = config['defaulthandle'] return dataset if pid: (handles, pidslist) = pidfrompanel(pid) hquery = formdatasetquery(handles,'') datainfo = readdatasets('datasets', json.loads(hquery)) #if not datainfo: #datainfo.append(pid) for dataset in datainfo: data = {} handle = dataset['handle'] if outformat == 'json': jsondata = str(dataset['data']) jsondata = jsondata.replace(".0,", ",") json_dict = ast.literal_eval(jsondata.strip()) data['handle'] = handle try: data['title'] = dataset['title'] data['units'] = dataset['units'] data['datasetID'] = dataset['datasetID'] except: data['title'] = 'Title' data['units'] = 'Units' data['datasetID'] = 228 data['data'] = json_dict combineddataset.append(data) elif outformat == 'csv': data['data'] = dataset['csvframe'] resultdataset = data['data'] if outformat == 'json': if combineddataset: finaldata = json.dumps(combineddataset, encoding="utf-8", sort_keys=True, indent=4) return Response(finaldata, mimetype='application/json') elif outformat == 'csv': return Response(resultdataset, mimetype='text/plain') @app.route('/dialog') def dialog(): pid = '' root = '' config = configuration() if request.args.get('pid'): pid = request.args.get('pid') zipfile = downloadzip(pid) root = config['clearance'] + "/collabs/static/tmp/" + zipfile resp = make_response(render_template('dialog.html', download=root)) return resp @app.route('/dataverse') def dataverse(): config = configuration() root = config['dataverseroot'] query = '' if request.args.get('q'): query = request.args.get('q') apiurl = root + "/api/search?q=" + str(query) + "&key=" + config['key'] + "&type=dataset" url = request.url data = '' if query: rawdata = load_dataverse(apiurl) else: rawdata = simplesearch(root, url, config['apiroot']) #return rawdata try: data = json.dumps(rawdata, encoding="utf-8", sort_keys=True, indent=4) return Response(data, mimetype='application/json') except: data = 'no data' return 'No data' @app.route('/indicators') def indicators(): #data = load_indicators("indicators.csv") config = configuration() pid = config['topicindex'] if pid: (handles, pidslist) = pidfrompanel(pid) hquery = formdatasetquery(handles,'') datainfo = readdatasets('datasets', json.loads(hquery)) csvio = StringIO(str(datainfo[0]['csvframe'])) data = pd.read_csv(csvio, sep='\t', dtype='unicode',quoting=csv.QUOTE_NONE) columns = [] for item in data.columns: col = re.sub(r"\"", "", item) columns.append(col) data.columns = columns storeddata = readdatasets('datasets', '') linking = {} for item in storeddata: try: linking[item['title']] = item['handle'] except: skip = 'yes' data['handle'] = '' data = data.drop('ID', axis=1) for row in data.index: title = data.ix[row]['Name'] try: data.ix[row]['handle'] = linking[title] except: data.ix[row]['handle'] = '' return Response(data.to_csv(orient='records'), mimetype='application/json') else: return 'No data' @app.route('/search') def search(): q = request.args.get('q') data = searchdata(q) return Response(data, mimetype='application/json') def load_province_data(apiurl, province): jsondataurl = apiurl + province req = urllib2.Request(jsondataurl) opener = urllib2.build_opener() f = opener.open(req) dataframe = simplejson.load(f) return dataframe def loadjson(url): req = urllib2.Request(url) opener = urllib2.build_opener() f = opener.open(req) dataframe = simplejson.load(f, "utf-8") return dataframe def get_iishvisitors_frame(thisyear): if thisyear: years = [thisyear] else: years = [2015, 2016] finaldata = pd.DataFrame() for year in years: url = "http://visitors.collections.iisg.org/api/statistics/maps.php?year=" + str(year) data = loadjson(url) clioframe = pd.DataFrame(data['data']) clioframe = clioframe.convert_objects(convert_numeric=True) clioframe.columns = [u'coordinates', u'country', u'Webmapper numeric code', u'iso_code', u'total'] clioframe.index = clioframe['Webmapper numeric code'] if 'coordinates' in clioframe.columns: clioframe = clioframe.drop('coordinates', axis=1) xdata = pd.DataFrame(clioframe['total']) xdata.columns = [year] finaldata = pd.concat([finaldata, xdata], axis=1) return finaldata @app.route('/dataapi') def dataapi(): (datafilter, handles) = ({}, []) datafilter['ctrlist'] = '' logscale = '' config = configuration() customyear = '' fromyear = '1500' toyear = '2012' categoriesMax = 6 countriesNum = 200 geocoder = '' (special, getrange, colormap, pallette, customcountrycodes, switch) = ('', '', '', '', '', 'modern') if request.args.get('special'): special = request.args.get('special') if request.args.get('logscale'): logscale = request.args.get('logscale') if request.args.get('year'): customyear = request.args.get('year') datafilter['startyear'] = customyear datafilter['endyear'] = customyear if request.args.get('catmax'): categoriesMax = int(request.args.get('catmax')) if request.args.get('getrange'): getrange = request.args.get('getrange') if request.args.get('colors'): pallette = request.args.get('colors') if request.args.get('colormap'): colormap = request.args.get('colormap') if request.args.get('geocoder'): switch = request.args.get('geocoder') if switch == 'on': switch = 'modern' if request.args.get('handle'): handlestring = request.args.get('handle') ishandle = re.search(r'(hdl:\d+\/\w+)', handlestring) if ishandle: handle = ishandle.group(1) handle = handle.replace("'", "") else: handle = handlestring handles.append(handle) if request.args.get('ctrlist'): customcountrycodes = '' tmpcustomcountrycodes = request.args.get('ctrlist') c = tmpcustomcountrycodes.split(',') for ids in sorted(c): if ids: customcountrycodes = str(customcountrycodes) + str(ids) + ',' customcountrycodes = customcountrycodes[:-1] datafilter['ctrlist'] = tmpcustomcountrycodes hist = {} config = configuration() try: if len(customcountrycodes): countriesNum = len(customcountrycodes.split(',')) if countriesNum < categoriesMax: if countriesNum >= 1: categoriesMax = countriesNum except: nothing = 1 # Old version of panel data #(header, panelcells, codes, x1, x2, x3, x4, originalvalues) = data2panel(handles, customcountrycodes, fromyear, toyear, customyear, hist, logscale) panelcells = [] # New version is fast if config: (geocoder, geolist, oecd2webmapper, modern, historical) = request_geocoder(config, '') (subsets, panel) = ({}, []) try: (origdata, maindata, metadata) = request_datasets(config, switch, modern, historical, handles, geolist) for handle in handles: (datasubset, ctrlist) = datasetfilter(maindata[handle], datafilter) if not datasubset.empty: datasubset = datasubset.dropna(how='all') panel.append(datasubset) subsets[handle] = datasubset except: subsets[handles[0]] = get_iishvisitors_frame(int(customyear)) (panelcells, originalvalues) = dataset2panel(config, subsets[handles[0]], modern, logscale) #(header, panelcells, codes, x1, x2, x3, x4, originalvalues) = data2panel(handles, customcountrycodes, fromyear, toyear, customyear, hist, logscale) #modern = moderncodes(config['modernnames'], config['apiroot']) #jsondata = data2json(modern, codes, panelcells) #data = json.dumps(jsondata, ensure_ascii=False, sort_keys=True, indent=4) # SCALES if switch: if switch == 'historical': geocoder = historical else: geocoder = modern #geocoder = '' (defaultcolor, colors) = getcolors(categoriesMax, pallette, colormap) (catlimit, ranges, dataset) = getscales(config, panelcells, colors, categoriesMax, geocoder, originalvalues, switch, logscale) if getrange: (showrange, tmprange) = combinerange(ranges) webscale = webscales(showrange, colors, defaultcolor) data = json.dumps(webscale, ensure_ascii=False, sort_keys=True, indent=4) return Response(data, mimetype='application/json') else: data = json.dumps(dataset, ensure_ascii=False, sort_keys=True, indent=4) return Response(data, mimetype='application/json') @app.route('/tabledata') def tabledata(): (data, aggrdata) = tableapi() return Response(data, mimetype='text/plain') if __name__ == '__main__': app.run()
7a3fcd2835b9f9190930f94600a4aafaaaa3423b
128e2652e2f0a4b4be57894bffab461c90170657
/tej_python/basics/files/seek.py
656f78a1ef2076688bbeb29b34170fdcee8bf41b
[]
no_license
tejadeep/Python_files
ec2695ec844e723d0784a67bd13c9a178c0aa601
43fde84dd62543e5ed9896177949cca877fdb858
refs/heads/master
2020-06-11T04:35:55.850108
2019-08-08T07:23:23
2019-08-08T07:23:23
193,851,082
0
0
null
2019-06-26T07:19:34
2019-06-26T07:19:34
null
UTF-8
Python
false
false
52
py
f=open("text","r") f.seek(5,1) a=f.read() print (a)
7ea31f1d5cee13bb05992a54895bdc6027e86ed4
5deca81ecb729fdb1e14511b7fdb65e5f3b277de
/2_sentiment/submission_v3.py
867249d65f4d33c72710ac1ca021d7e5f65d622c
[]
no_license
anatu/CS221-Fall2018
6a0e170ada7ba8794d9e93dee875fc1a072e4692
03dbcf7cb7da953877171b311be9d0e2aacec30c
refs/heads/master
2021-03-20T06:01:52.122056
2020-03-14T00:22:10
2020-03-14T00:22:10
247,183,322
1
0
null
null
null
null
UTF-8
Python
false
false
7,968
py
#!/usr/bin/python import random import collections import math import sys from util import * ############################################################ # Problem 3: binary classification ############################################################ ############################################################ # Problem 3a: feature extraction def extractWordFeatures(x): """ Extract word features for a string x. Words are delimited by whitespace characters only. @param string x: @return dict: feature vector representation of x. Example: "I am what I am" --> {'I': 2, 'am': 2, 'what': 1} """ # BEGIN_YOUR_CODE (our solution is 4 lines of code, but don't worry if you deviate from this) features = dict() for word in set(x.split(" ")): features[word] = x.split(" ").count(word) return features # END_YOUR_CODE ############################################################ # Problem 3b: stochastic gradient descent def learnPredictor(trainExamples, testExamples, featureExtractor, numIters, eta): ''' Given |trainExamples| and |testExamples| (each one is a list of (x,y) pairs), a |featureExtractor| to apply to x, and the number of iterations to train |numIters|, the step size |eta|, return the weight vector (sparse feature vector) learned. You should implement stochastic gradient descent. Note: only use the trainExamples for training! You should call evaluatePredictor() on both trainExamples and testExamples to see how you're doing as you learn after each iteration. ''' weights = {} # feature => weight # BEGIN_YOUR_CODE (our solution is 12 lines of code, but don't worry if you deviate from this) for iteration in range(numIters): # print("BEGINNING RUN NUMBER %i" % (iteration)) for example in trainExamples: # Extract the features from the input x = example[0] y = example[1] features = featureExtractor(x) # Calculate the hinge loss score_product = (sum(weights[key]*features.get(key, 0) for key in weights))*y hingeLoss = max(0,1-score_product) # print("Example: %s , Error: %i " % (x, hingeLoss)) # Compute gradient vector based on value of the hinge loss if score_product < 1: # Equals phi*y if less than 1 hingeGrad = features hingeGrad.update((a, b*-1*y) for a, b in features.items()) else: # Zero otherwise hingeGrad = 0 # Update only if the gradient is nonzero, otherwise # gradient descent cannot proceed if hingeGrad != 0: for feature in hingeGrad.keys(): weights[feature] = weights.get(feature,0) - eta*hingeGrad.get(feature, 0) # END_YOUR_CODE return weights ############################################################ # Problem 3c: generate test case def generateDataset(numExamples, weights): ''' Return a set of examples (phi(x), y) randomly which are classified correctly by |weights|. ''' random.seed(42) # Return a single example (phi(x), y). # phi(x) should be a dict whose keys are a subset of the keys in weights # and values can be anything (randomize!) with a nonzero score under the given weight vector. # y should be 1 or -1 as classified by the weight vector. def generateExample(): # BEGIN_YOUR_CODE (our solution is 2 lines of code, but don't worry if you deviate from this) phi = {} # END_YOUR_CODE return (phi, y) return [generateExample() for _ in range(numExamples)] ############################################################ # Problem 3e: character features def extractCharacterFeatures(n): ''' Return a function that takes a string |x| and returns a sparse feature vector consisting of all n-grams of |x| without spaces. EXAMPLE: (n = 3) "I like tacos" --> {'Ili': 1, 'lik': 1, 'ike': 1, ... You may assume that n >= 1. ''' def extract(x): # BEGIN_YOUR_CODE (our solution is 6 lines of code, but don't worry if you deviate from this) # Preprocessing - ignore whitespace x = x.replace(" ","") # Pull all ngrams in a zipped form and turn into a list of string grams ngram_tuple = zip(*[x[i:] for i in range(n)]) ngram_list = ["".join(elem) for elem in ngram_tuple] features = dict() # Develop feature vector from grams for gram in ngram_list: features[gram] = x.count(gram) return features # END_YOUR_CODE return extract ############################################################ # Problem 4: k-means ############################################################ def kmeans(examples, K, maxIters): ''' examples: list of examples, each example is a string-to-double dict representing a sparse vector. K: number of desired clusters. Assume that 0 < K <= |examples|. maxIters: maximum number of iterations to run (you should terminate early if the algorithm converges). Return: (length K list of cluster centroids, list of assignments (i.e. if examples[i] belongs to centers[j], then assignments[i] = j) final reconstruction loss) ''' # BEGIN_YOUR_CODE (our solution is 32 lines of code, but don't worry if you deviate from this) # Initialize the centroids, each one being a random selection # from the input list examples random.seed(42) centroids = [] for k in range(K): centroids.append(random.choice(examples)) # LOSS - Precalculate the L2-norm squared of featureset loss_example_norm = 0 for example in examples: loss_example_norm += sum((example.get(d))**2 for d in example) # Initialize assignments list and loss storage loss_centroid_norm = 0 loss_cross_term = 0 assignments = [0 for elem in examples] assmts_lookup = {k: [] for k in range(len(centroids))} losses = dict() num_iters = 0 while num_iters < maxIters: # Step 1 - Perform the initial assignment of examples to centroids for i in range(len(examples)): distances = dict() for j in range(len(centroids)): # LOSS - Calculate cross term loss_cross_term += 2*sum((examples[i].get(d) + centroids[j].get(d)) for d in set(examples[i]) | set(centroids[j])) distances[j] = sum((examples[i].get(d,0) - centroids[j].get(d,0))**2 for d in set(examples[i]) | set(centroids[j])) min_centroid = min(distances, key=distances.get) assignments[i] = min_centroid # Add the example into the lookup table to speed up the update step assmts_lookup[min_centroid].append(example) # Step 2 - Update the centroids using the mean of assigned points centroids = [dict() for k in range(K)] for j in range(len(centroids)): assigned_examples = assmts_lookup[centroids[j]] # Add up all the dimensions of all the assigned points into the centroid for assignee in assigned_examples: for key in assignee.keys(): centroids[j][key] = centroids[j].get(key,0) + assignee[key] # Make the cluster the centroid of the points by dividing by the number of points centroids[j].update((a, b/len(assigned_examples)) for a, b in centroids[j].items()) # LOSS - Precalculate L2-norm squared of the centroids squared loss_centroid_norm += sum((example.get(d))**2 for d in centroids[j]) # LOSS - Combine to form total reconstruction loss for the run num_iters +=1 losses[num_iters] = loss_example_norm + loss_centroid_norm + loss_cross_term return centroids, assignments, losses[max(losses)] # END_YOUR_CODE
ee3997b39a5d30d9f9dd95a3f9021ff2a495f82f
19919c7c7f4ccfc4842e016c8ece818cd144de14
/Yaml/Read_Yaml.py
c8430249f60c60a6bf80499260dc9591569fc42c
[]
no_license
Cz1660/GitTestSetting_0225
b9e08e74dc0eb27aa39f204763140f0d772e5796
ba59ca5b16d1e9784a19b2c70d7ca27e923289f4
refs/heads/master
2020-04-25T02:52:49.869443
2019-02-25T08:08:21
2019-02-25T08:08:21
172,456,529
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
import os,yaml class Read_Yaml: def __init__(self,file_name): self.path = os.getcwd() + os.sep + 'Yaml' + os.sep + file_name def read_yaml(self): with open(self.path,'r',encoding='utf-8') as f: self.yaml_data = yaml.load(f) return self.yaml_data
34e92db0841af367e4b0346a4077887143c981bd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p00002/s447243661.py
ec5ea4eb25e8b12e086a6e676b80ee789fd3efbc
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
import sys [print(len(str(sum([int(y) for y in x.split(" ")])))) for x in sys.stdin]
29508b8c62c4dfc7ece26c6ae621b64c84e7d5da
1368e2beda67052140a51fd53eb7a12941124320
/Python 3/1541.py
72fe04dada81de5994973cd36cbc76aecd070127
[]
no_license
matheuskolln/URI
ac540fd4ea18c9b3ba853492dc60157c165145cf
b9091ed1c5b75af79cb25827aff8aab99d2e4b65
refs/heads/master
2023-03-09T23:17:17.865447
2021-02-25T16:47:24
2021-02-25T16:47:24
272,043,082
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
while True: n = [int(x) for x in input().split(' ')] if n[0] == 0: break a = n[0] * n[1] i = 0 while i * i * n[2] / 100 <= a: i += 1 print(i - 1)
de86bd936a9bc7afa59da85369c6a2c0b220a168
f8ffa8ff257266df3de9d20d95b291e393f88434
/Python from scratch/Zadania/zadania podczas zajęć/zajęcia11/zadanie01/zadanie01+a.py
ac892bb38f756545548af1328c3d3f7cef2f15c5
[]
no_license
janiszewskibartlomiej/Python_Code_Me_Gda
c0583c068ef08b6130398ddf93c3a3d1a843b487
7568de2a9acf80bab1429bb55bafd89daad9b729
refs/heads/master
2020-03-30T05:06:26.757033
2020-03-02T08:53:28
2020-03-02T08:53:28
150,781,356
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
from datetime import datetime data_urodzenia = input('Wprowadź datę urodzin celebryty w formacie [RRRR-MM-DD]:') try: konwertowanie_daty = datetime.strptime(data_urodzenia, '%Y-%m-%d') except ValueError: print('Wprowadzono nie prawiłowe dane!') exit() teraz = datetime.now() wiek_celebryty = teraz - konwertowanie_daty print('Wiek celebryty to:', wiek_celebryty.days // 365)
288832b4e21767a5fe146fc0d0ad0218ce3730fc
be55991401aef504c42625c5201c8a9f14ca7c3b
/python全栈3期/面向对象/继承顺序.py
dcb0234f6de6831c86a781efdb3753c1b0f99ed8
[ "Apache-2.0" ]
permissive
BillionsRichard/pycharmWorkspace
adc1f8bb15b58ded489fc8dec0df397601823d2c
709e2681fc6d85ff52fb25717215a365f51073aa
refs/heads/master
2021-09-14T21:12:59.839963
2021-08-08T09:05:37
2021-08-08T09:05:37
143,610,481
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
""" 广度优先: 新式类(Python3) F->D->B->E->C->A 深度优先: 经典类(python2,不继承自object类)F->D->B->A->E->C A | \ B C | \ D E \ / \/ F """ from pprint import pprint as pp class A: def test(self): print('A') class B(A): def test(self): print('B') pass class C(A): def test(self): print('C') class D(B): pass # def test(self): # print('D') class E(C): def test(self): print('E') pass class F(D, E): pass # def test(self): # print('F') f1 = F() f1.test() pp(F.__mro__)
f297dde3e24a29cede6a18efcb18439969ce8aba
7e0e22e31aafc7eecda9d62ae4329f8697e23d40
/scripts/average
90f6be281641d653f9fe748d36aef7067a7f810b
[ "MIT" ]
permissive
Sandy4321/cli_stats
feec6e6b234e40062f0fe5b6519fdca0fc93f31b
d8a75cf81904a0565c9de6839ee4711355e26b70
refs/heads/master
2023-02-10T11:06:46.602325
2021-01-01T22:50:31
2021-01-01T22:50:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
476
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Compute the average of a number stream on stdin Author: Gertjan van den Burg License: See LICENSE file Copyright (c) 2020, G.J.J. van den Burg """ import sys def main(): total = 0.0 count = 0 for line in sys.stdin: if not line.strip(): continue total += float(line.strip()) count += 1 average = total / count print(average) if __name__ == "__main__": main()
228838743a4a17ff71de267f94269836b84c585b
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/bak.py
12452944e2d8adaa5868f756dd6e5ad813124986
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: data = line.split() if data[0] == 'bAK': printFunction(data[1:]) else: print 'ERROR' return if __name__ == '__main__': main(sys.argv[1])
942a6a475150a440d2d71c36555b3b9649d6eb26
ad0857eaba945c75e705594a53c40dbdd40467fe
/baekjoon/python/dial_5622.py
2f52057085043af2b8abff6075f383071902aa85
[ "MIT" ]
permissive
yskang/AlgorithmPractice
c9964d463fbd0d61edce5ba8b45767785b0b5e17
3efa96710e97c8740d6fef69e4afe7a23bfca05f
refs/heads/master
2023-05-25T13:51:11.165687
2023-05-19T07:42:56
2023-05-19T07:42:56
67,045,852
0
0
null
2021-06-20T02:42:27
2016-08-31T14:40:10
Python
UTF-8
Python
false
false
494
py
# https://www.acmicpc.net/problem/5622 def dial_time(digit_string): digit_dict = {"A": 2, "B": 2, "C": 2, "D": 3, "E": 3, "F": 3, "G": 4, "H": 4, "I": 4, "J": 5, "K": 5, "L": 5, "M": 6, "N": 6, "O": 6, "P": 7, "Q": 7, "R": 7, "S": 7, "T": 8, "U": 8, "V": 8, "W": 9, "X": 9, "Y": 9, "Z": 9} time = 0 for d in digit_string: time += (digit_dict[d] + 1) return time if __name__ == "__main__": print(dial_time(input()))
7519b3756f10f14a5efbed78d21cd03b01e3570b
0a85e9ecb51c89110794aeb399fc3ccc0bff8c43
/Udacity/1. Data Structures/2. Linked List/detecting_loops.py
7dde5625ea99184e444c23e219dd8ab70ca841bc
[]
no_license
jordan-carson/Data_Structures_Algos
6d246cd187e3c3e36763f1eedc535ae1b95c0b18
452bb766607963e5ab9e39a354a24ebb26ebaaf5
refs/heads/master
2020-12-02T23:19:11.315890
2020-09-15T01:23:29
2020-09-15T01:23:29
231,147,094
1
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
class Node: def __init__(self, value): self.value = value self.next = None class LinkedList: def __init__(self, init_list=None): self.head = None if init_list: for value in init_list: self.append(value) def append(self, value): if self.head is None: self.head = Node(value) return # Move to the tail (the last node) node = self.head while node.next: node = node.next node.next = Node(value) return def iscircular(linked_list): if linked_list.head is None: return False slow = linked_list.head fast = linked_list.head while slow and fast and fast.next: fast = fast.next.next slow = slow.next if fast == slow: return True return False if __name__ == '__main__': list_with_loop = LinkedList([2, -1, 3, 0, 5]) # Creating a loop where the last node points back to the second node loop_start = list_with_loop.head.next node = list_with_loop.head while node.next: node = node.next node.next = loop_start small_loop = LinkedList([0]) small_loop.head.next = small_loop.head print ("Pass" if iscircular(list_with_loop) else "Fail") print ("Pass" if not iscircular(LinkedList([-4, 7, 2, 5, -1])) else "Fail") print ("Pass" if not iscircular(LinkedList([1])) else "Fail") print ("Pass" if iscircular(small_loop) else "Fail") print ("Pass" if not iscircular(LinkedList([])) else "Fail")
35af21c694adef7b09cbc80926fda010c74caf6e
7a6aca7d300c0752f2a73730b743a1a7361e941b
/tensorflow_graphics/nn/metric/fscore.py
8bb696c3919b2925c77ede8d7b9ae9e1851fd458
[ "Apache-2.0" ]
permissive
tensorflow/graphics
ef0abe102398a58eb7c41b709393df3d0b0a2811
1b0203eb538f2b6a1013ec7736d0d548416f059a
refs/heads/master
2023-09-03T20:41:25.992578
2023-08-08T21:16:36
2023-08-08T21:17:31
164,626,274
2,920
413
Apache-2.0
2023-08-27T14:26:47
2019-01-08T10:39:44
Python
UTF-8
Python
false
false
3,437
py
# Copyright 2020 The TensorFlow Authors # # 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 # # https://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. """This module implements the fscore metric.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from typing import Any, Callable import tensorflow as tf from tensorflow_graphics.nn.metric import precision as precision_module from tensorflow_graphics.nn.metric import recall as recall_module from tensorflow_graphics.util import export_api from tensorflow_graphics.util import safe_ops from tensorflow_graphics.util import shape from tensorflow_graphics.util import type_alias def evaluate(ground_truth: type_alias.TensorLike, prediction: type_alias.TensorLike, precision_function: Callable[..., Any] = precision_module.evaluate, recall_function: Callable[..., Any] = recall_module.evaluate, name: str = "fscore_evaluate") -> tf.Tensor: """Computes the fscore metric for the given ground truth and predicted labels. The fscore is calculated as 2 * (precision * recall) / (precision + recall) where the precision and recall are evaluated by the given function parameters. The precision and recall functions default to their definition for boolean labels (see https://en.wikipedia.org/wiki/Precision_and_recall for more details). Note: In the following, A1 to An are optional batch dimensions, which must be broadcast compatible. Args: ground_truth: A tensor of shape `[A1, ..., An, N]`, where the last axis represents the ground truth values. prediction: A tensor of shape `[A1, ..., An, N]`, where the last axis represents the predicted values. precision_function: The function to use for evaluating the precision. Defaults to the precision evaluation for binary ground-truth and predictions. recall_function: The function to use for evaluating the recall. Defaults to the recall evaluation for binary ground-truth and prediction. name: A name for this op. Defaults to "fscore_evaluate". Returns: A tensor of shape `[A1, ..., An]` that stores the fscore metric for the given ground truth labels and predictions. Raises: ValueError: if the shape of `ground_truth`, `prediction` is not supported. """ with tf.name_scope(name): ground_truth = tf.convert_to_tensor(value=ground_truth) prediction = tf.convert_to_tensor(value=prediction) shape.compare_batch_dimensions( tensors=(ground_truth, prediction), tensor_names=("ground_truth", "prediction"), last_axes=-1, broadcast_compatible=True) recall = recall_function(ground_truth, prediction) precision = precision_function(ground_truth, prediction) return safe_ops.safe_signed_div(2 * precision * recall, precision + recall) # API contains all public functions and classes. __all__ = export_api.get_functions_and_classes()
b513f222fdaffe800eb13434b6c68a58cf123706
94becda0e99eb1bf23f2649d63a6a2af0f631e33
/brats/bak/loop_finetune_v100_bak.py
fc472ca5384a7149a43deaf323fcf73f85ea7cfd
[ "MIT" ]
permissive
guusgrimbergen/3DUnetCNN_BRATS
d560a878dfbe7dfe95ca5a37c8b066199300d276
1c4ad386b66c550770adc8c9e7371c1ce476db94
refs/heads/master
2022-01-08T13:37:05.253386
2019-06-17T13:10:59
2019-06-17T13:10:59
185,376,310
0
0
null
2019-05-07T10:07:33
2019-05-07T10:07:32
null
UTF-8
Python
false
false
3,151
py
from brats.config import config, config_unet, config_dict import datetime import logging import threading import subprocess import os import sys from subprocess import Popen, PIPE, STDOUT from unet3d.utils.path_utils import make_dir from unet3d.utils.path_utils import get_model_h5_filename from unet3d.utils.path_utils import get_filename_without_extension config.update(config_unet) # pp = pprint.PrettyPrinter(indent=4) # # pp.pprint(config) config.update(config_unet) def run(model_filename, out_file, cmd): print("="*120) print(">> processing:", cmd) print("log to:", out_file) print(cmd) os.system(cmd) task = "finetune" is_test = "0" model_list = list() cmd_list = list() out_file_list = list() for model_name in ["unet", "isensee"]: for is_denoise in config_dict["is_denoise"]: for is_normalize in config_dict["is_normalize"]: for is_hist_match in ["0", "1"]: for loss in ["minh", "weighted"]: patch_shape = "160-192-128" log_folder = "log" make_dir(log_folder) d = datetime.date.today() year_current = d.year month_current = '{:02d}'.format(d.month) date_current = '{:02d}'.format(d.day) model_filename = get_filename_without_extension(get_model_h5_filename( datatype="model", is_bias_correction="1", is_denoise=is_denoise, is_normalize=is_normalize, is_hist_match=is_hist_match, depth_unet=4, n_base_filters_unet=16, model_name=model_name, patch_shape=patch_shape, is_crf="0", is_test=is_test, loss=loss, model_dim=2)) out_file = "{}/{}{}{}_{}_out.log".format( log_folder, year_current, month_current, date_current, model_filename) cmd = "python brats/{}.py -t \"{}\" -o \"0\" -n \"{}\" -de \"{}\" -hi \"{}\" -ps \"{}\" -l \"{}\" -m \"{}\" -ba 1 -dim 3".format( task, is_test, is_normalize, is_denoise, is_hist_match, patch_shape, "minh", model_name ) model_list.append(model_filename) out_file_list.append(out_file) cmd_list.append(cmd) import random combined = list(zip(model_list, out_file_list, cmd_list)) random.shuffle(combined) model_list[:], out_file_list[:], cmd_list = zip(*combined) for i in range(len(model_list)): model_filename = model_list[i] out_file = out_file_list[i] cmd = cmd_list[i] run(model_filename, out_file, cmd)
a52b455dc705da8f9fc3724685f6ef38c3740ff4
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/5pYkwf948KBQ3pNwz_13.py
f195abcf98ede33050c2a8f2b103f9ced9d8120e
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from collections import Counter ​ def most_common_words(text, n): words = ''.join([c if c.isalpha() else ' ' for c in text.lower()]).split() seq = {} idx = 0 for word in words: if word not in seq: idx += 1 seq[word] = idx C = Counter(words) L = [[k, v, seq[k]] for k, v in C.items()] L.sort(key=lambda x: (-x[1], x[2])) ans = {} for i in range(min(n, len(L))): ans[L[i][0]] = L[i][1] return ans
961e76ad1d6a22225b91b5f9e9b5a45cc59f4df6
f8095636248bac9e2b018ed3b06f36502edffb0b
/frontend_issuu_autotest_replica/tests_pro_account/TestQuickTourPRO.py
ede810b50de37975ec611870bca9add110124b14
[]
no_license
slashsorin/auto-fe-test
deb1c696767b1c31125970679aa8ce4364fa956a
266f3d7badb14c388edc63139bf659f60e09ac64
refs/heads/master
2016-08-04T10:22:18.123109
2013-11-22T09:16:57
2013-11-22T09:16:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,575
py
import sys, time, os #sys.path.append('/Users/Sorin/Issuu/new_eclipse_ws/frontend-issuu-autotest/autotest_framework/') sys.path.append('../autotest_framework') import SeleniumTestCase, make_platform_classes import SetTestStatus as sts import unittest, xmlrunner class TestQuickTourPRO(SeleniumTestCase.SeleniumTestCase): def test_quick_tour(self): try: sel = self.selenium sel.set_speed("500") sel.open("/signup/quicktour") sel.wait_for_page_to_load("60000") self.assertEqual("Issuu - Signup - A quick tour", sel.get_title()) self.failUnless(sel.is_element_present("xpath=//div[2]/div[4]/img")) self.failUnless(sel.is_element_present("link=issuu")) self.failUnless(sel.is_element_present("id=t3BodyTop")) self.failUnless(sel.is_element_present("xpath=//div[2]/div[1]/div")) self.failUnless(sel.is_element_present("xpath=//span[@class='system-blue-shade-fat-btn-text']/strong")) sel.click("id=loginLink") sel.wait_for_page_to_load("60000") sel.type("id=username", "PROaccount") sel.type("id=password", "autotest") sel.click("xpath=//span[@class='system-blue-shade-fat-btn-text']//strong[.='Log in']") sel.wait_for_page_to_load("60000") self.assertEqual("Issuu - Signup - A quick tour", sel.get_title()) self.failUnless(sel.is_element_present("xpath=//div[2]/div[4]/img")) self.failUnless(sel.is_element_present("link=issuu")) self.failUnless(sel.is_element_present("id=t3BodyTop")) self.failUnless(sel.is_element_present("xpath=//div[2]/div[1]/div")) self.failUnless(sel.is_element_present("xpath=//span[@class='system-blue-shade-fat-btn-text']/strong")) sel.click("link=Log out") sel.wait_for_page_to_load("60000") #print self.__class__.__name__ + " passed!" #sts.set_test_status(self.selenium.get_eval("selenium.sessionId"), passed=True) except AttributeError: pass #except: # catch *all* exceptions #if sys.exc_info()[1]: #sts.set_test_status(self.selenium.get_eval("selenium.sessionId"), passed=False) #print self.__class__.__name__ + " failed!" globals().update(make_platform_classes.make_platform_classes(TestQuickTourPRO)) if __name__ == '__main__': unittest.main(testRunner=xmlrunner.XMLTestRunner(output='../test_reports'))
e2553bf31614edf3ef91cdd52439d0a0721bc8d2
e3fd35a8443aaf2f293ae03a5f6c819046a4dd21
/leetcode-python/medium/_503_next_greater_element_2/test_solution.py
68da2b92260a0e9bd3dc14ea7131a1cb31787adc
[]
no_license
hieutran106/leetcode-ht
2223ea6bcd459c2cdbc33344c0ff69df7f8a3c7f
8332eb20e613f82cda2e326218154c7803a32403
refs/heads/main
2023-08-09T02:52:41.360360
2023-07-27T10:12:28
2023-07-27T10:12:28
234,890,448
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
import unittest from .solution import Solution class MyTestCase(unittest.TestCase): def setUp(self) -> None: self.s = Solution() def test_case1(self): actual = self.s.nextGreaterElements([1, 2, 1]) self.assertEqual(actual, [2, -1, 2]) def test_case2(self): actual = self.s.nextGreaterElements([3, 1, 2, 4]) self.assertEqual(actual, [4, 2, 4, -1]) def test_case3(self): actual = self.s.nextGreaterElements([3, 5, 2, 1]) self.assertEqual(actual, [5, -1, 3, 3]) if __name__ == '__main__': unittest.main()
c42af3a2ce14d0a7a69408abef1650a90e836b3a
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/INTERVIEW-PREP-COMPLETE/Practice/BSTFromArray/model_solution/model_solution.py
f9d67e0ad74527a0da094829f9bcf5cb690108cf
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
2,162
py
import math def create_min_height_bst(sorted_array): left = 0 right = len(sorted_array) - 1 return rec_helper(sorted_array, left, right) def rec_helper(sorted_array, left, right): if left > right: return None midpoint = ((right - left) // 2) + left root = BinaryTreeNode(sorted_array[midpoint]) root.left = rec_helper(sorted_array, left, midpoint - 1) root.right = rec_helper(sorted_array, midpoint + 1, right) return root class BinaryTreeNode: def __init__(self, value): self.value = value self.left = None self.right = None # Helper function to validate that the created tree is a valid BST def is_BST(root, min_bound, max_bound): if root is None: return True if root.value < min_bound or root.value > max_bound: return False left = is_BST(root.left, min_bound, root.value - 1) right = is_BST(root.right, root.value + 1, max_bound) return left and right # Helper function to check the max height of a BST def find_bst_max_height(node): if node is None: return 0 return 1 + max(find_bst_max_height(node.left), find_bst_max_height(node.right)) # Helper function to validate that the given BST exhibits the min height def is_bst_min_height(root, N): bst_max_height = find_bst_max_height(root) should_equal = math.floor(math.log2(N)) + 1 return bst_max_height == should_equal # Helper function to count the number of nodes for a given BST def count_bst_nodes(root, count): if root is None: return count count_bst_nodes(root.left, count) count += 1 count_bst_nodes(root.right, count) # Some tests sorted_array = [1, 2, 3, 4, 5, 6, 7] bst = create_min_height_bst(sorted_array) print(is_BST(bst, float("-inf"), float("inf"))) # should print true print(is_bst_min_height(bst, len(sorted_array))) # should print true sorted_array = [4, 10, 11, 18, 42, 43, 47, 49, 55, 67, 79, 89, 90, 95, 98, 100] bst = create_min_height_bst(sorted_array) print(is_BST(bst, float("-inf"), float("inf"))) # should print true print(is_bst_min_height(bst, len(sorted_array))) # should print true
bdceae09f3f12e2c784454982314c598267c7550
d1d626e557cc3ec2068734c464afdde6d0b44a92
/bot/models.py
70d55805aa7993b986707e1145d34e9f2b759e43
[]
no_license
akhad97/Telegram-Bot
d279899f1cacebdb3317f2084047beaa4507c0fb
fd999c03b7b1abd2d433efcd67d9047430c66e4a
refs/heads/master
2023-07-02T06:53:41.697269
2021-08-03T17:41:07
2021-08-03T17:41:07
352,558,410
1
0
null
null
null
null
UTF-8
Python
false
false
1,104
py
from django.db import models class TelegramUser(models.Model): user_id = models.CharField(max_length=30) full_name = models.CharField(max_length=100) phone_number = models.CharField(max_length=15, null=True) resume = models.CharField(max_length=100, null=True) # resume = models.FileField(upload_to="resume/%Y/%m", null=True) class Meta: verbose_name = 'TelegramUser' verbose_name_plural = 'TelegramUsers' def __str__(self): return self.full_name class Vacancy(models.Model): name = models.CharField(max_length=100, null=True, blank=True) def __str__(self): return self.name # class Language(models.Model): # vacancy = models.ForeignKey(Vacancy, on_delete=models.CASCADE) # name = models.CharField(max_length=50) # code = models.CharField(max_length=30) class Post(models.Model): user = models.ForeignKey(TelegramUser, on_delete=models.CASCADE, null = True) vacancy = models.ForeignKey(Vacancy, on_delete=models.CASCADE, null = True) def __str__(self): return self.user.full_name
50f40cf5fe4eeddfd739731d65089c3ef176b974
3a751dd11ad893d4222cc52148d0829de9f4029f
/django/django_extras/ajax_note/manage.py
280f9446088e0e061158fa6cefe483cacf4818a9
[]
no_license
higashizono33/python_stack
76b5fc63a63913e309a545b7f586a99c684fa0d2
5ec93e384e911b9d05de54af232d464928b76e7e
refs/heads/master
2023-04-18T23:18:21.569125
2021-04-26T02:40:55
2021-04-26T02:40:55
339,864,117
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ajax_note.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are you sure it's installed and " "available on your PYTHONPATH environment variable? Did you " "forget to activate a virtual environment?" ) from exc execute_from_command_line(sys.argv) if __name__ == '__main__': main()
3d0676ba2f791a63793876a7f9cac6d72829b2f7
f845225329fa9750c838bf511fed3beb48cc86af
/accounts/migrations/0024_auto_20190104_1910.py
548b1c2d5d7579453106f5fb740c98f2b35c2c4a
[]
no_license
Fabricourt/btre_project-
ac8c2b84cc8b7f4f5368a204dc23b378d488b356
13defd495ba309ac31550d22ad7d6306638f91eb
refs/heads/master
2020-04-15T11:03:05.980170
2019-01-08T11:16:56
2019-01-08T11:16:56
164,611,152
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# Generated by Django 2.1.4 on 2019-01-04 16:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0023_dashboard_title'), ] operations = [ migrations.AlterField( model_name='dashboard', name='title', field=models.CharField(blank=True, default=None, max_length=200), ), ]
1960f27aab4a6e04b44d42cae1957586f552c1e4
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/battle_control/requests/__init__.py
cb82e19a0f4681639e117250b900737bead761e8
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
491
py
# 2015.11.18 11:52:01 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/battle_control/requests/__init__.py from gui.battle_control.requests.AvatarRequestsController import AvatarRequestsController __all__ = ['AvatarRequestsController'] # okay decompyling c:\Users\PC\wotsources\files\originals\res\scripts\client\gui\battle_control\requests\__init__.pyc # decompiled 1 files: 1 okay, 0 failed, 0 verify failed # 2015.11.18 11:52:01 Střední Evropa (běžný čas)
030305ab4f62d57c7c891748c1539069d222cb70
35b5f50626d33b17f38f311e9d5fc6b727d25765
/gui/kivy/uix/dialogs/invoices.py
8904edf6fbc412e1c895baa64e3ebd02c67d15b9
[ "MIT" ]
permissive
bitcoinpostquantum/electrumpq
7fcf5a3fbda2b05f033340ba61fc23e46997f5ed
dbbc2a493aff904923cd8112fc5bb07802df272c
refs/heads/master
2020-04-10T10:09:24.239700
2018-12-29T09:49:58
2018-12-29T09:49:58
160,957,005
1
0
null
null
null
null
UTF-8
Python
false
false
4,810
py
from kivy.app import App from kivy.factory import Factory from kivy.properties import ObjectProperty from kivy.lang import Builder from decimal import Decimal Builder.load_string(''' <InvoicesLabel@Label> #color: .305, .309, .309, 1 text_size: self.width, None halign: 'left' valign: 'top' <InvoiceItem@CardItem> requestor: '' memo: '' amount: '' status: '' date: '' icon: 'atlas://gui/kivy/theming/light/important' Image: id: icon source: root.icon size_hint: None, 1 width: self.height *.54 mipmap: True BoxLayout: spacing: '8dp' height: '32dp' orientation: 'vertical' Widget InvoicesLabel: text: root.requestor shorten: True Widget InvoicesLabel: text: root.memo color: .699, .699, .699, 1 font_size: '13sp' shorten: True Widget BoxLayout: spacing: '8dp' height: '32dp' orientation: 'vertical' Widget InvoicesLabel: text: root.amount font_size: '15sp' halign: 'right' width: '110sp' Widget InvoicesLabel: text: root.status font_size: '13sp' halign: 'right' color: .699, .699, .699, 1 Widget <InvoicesDialog@Popup> id: popup title: _('Invoices') BoxLayout: id: box orientation: 'vertical' spacing: '1dp' ScrollView: GridLayout: cols: 1 id: invoices_container size_hint: 1, None height: self.minimum_height spacing: '2dp' padding: '12dp' ''') from kivy.properties import BooleanProperty from electrumpq_gui.kivy.i18n import _ from electrumpq.util import format_time from electrumpq.paymentrequest import PR_UNPAID, PR_PAID, PR_UNKNOWN, PR_EXPIRED from electrumpq_gui.kivy.uix.context_menu import ContextMenu invoice_text = { PR_UNPAID:_('Pending'), PR_UNKNOWN:_('Unknown'), PR_PAID:_('Paid'), PR_EXPIRED:_('Expired') } pr_icon = { PR_UNPAID: 'atlas://gui/kivy/theming/light/important', PR_UNKNOWN: 'atlas://gui/kivy/theming/light/important', PR_PAID: 'atlas://gui/kivy/theming/light/confirmed', PR_EXPIRED: 'atlas://gui/kivy/theming/light/close' } class InvoicesDialog(Factory.Popup): def __init__(self, app, screen, callback): Factory.Popup.__init__(self) self.app = app self.screen = screen self.callback = callback self.cards = {} self.context_menu = None def get_card(self, pr): key = pr.get_id() ci = self.cards.get(key) if ci is None: ci = Factory.InvoiceItem() ci.key = key ci.screen = self self.cards[key] = ci ci.requestor = pr.get_requestor() ci.memo = pr.get_memo() amount = pr.get_amount() if amount: ci.amount = self.app.format_amount_and_units(amount) status = self.app.wallet.invoices.get_status(ci.key) ci.status = invoice_text[status] ci.icon = pr_icon[status] else: ci.amount = _('No Amount') ci.status = '' exp = pr.get_expiration_date() ci.date = format_time(exp) if exp else _('Never') return ci def update(self): self.menu_actions = [('Pay', self.do_pay), ('Details', self.do_view), ('Delete', self.do_delete)] invoices_list = self.ids.invoices_container invoices_list.clear_widgets() _list = self.app.wallet.invoices.sorted_list() for pr in _list: ci = self.get_card(pr) invoices_list.add_widget(ci) def do_pay(self, obj): self.hide_menu() self.dismiss() pr = self.app.wallet.invoices.get(obj.key) self.app.on_pr(pr) def do_view(self, obj): pr = self.app.wallet.invoices.get(obj.key) pr.verify(self.app.wallet.contacts) self.app.show_pr_details(pr.get_dict(), obj.status, True) def do_delete(self, obj): from .question import Question def cb(result): if result: self.app.wallet.invoices.remove(obj.key) self.hide_menu() self.update() d = Question(_('Delete invoice?'), cb) d.open() def show_menu(self, obj): self.hide_menu() self.context_menu = ContextMenu(obj, self.menu_actions) self.ids.box.add_widget(self.context_menu) def hide_menu(self): if self.context_menu is not None: self.ids.box.remove_widget(self.context_menu) self.context_menu = None
1c76e72cd8addfb1c576f4225f82d9d5ad24d572
f64f8a8827219371236f0e2ad3d5220ec1825cb2
/bux/_commands/_losers.py
32efa4c463b6d14b31e50be4b8aa634548f350b3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
orsinium-labs/bux
2b1c0c19aa06d480a90386cdda66af855a746f32
fbb5727b759719f15ec38dd4bf00e493690854b4
refs/heads/master
2023-07-12T19:35:14.768488
2021-08-30T11:19:03
2021-08-30T11:19:03
389,935,936
6
0
null
null
null
null
UTF-8
Python
false
false
593
py
from argparse import ArgumentParser import bux from ._base import Command, register @register class Losers(Command): name = 'losers' @staticmethod def init_parser(parser: ArgumentParser) -> None: parser.add_argument('--token', required=True) def run(self) -> int: api = bux.UserAPI(token=self.args.token) movers = api.securities().movers().requests() for stock in movers.losers: gain = (stock.bid.amount / stock.closing_bid.amount - 1) * 100 self.print(f'{stock.id} {stock.name:25} {gain:+.02f}%') return 0
d671f49d5bf51d6b819c2844d458b42b7ada6c94
17cad1d357380875243b804ffd13882f1a7d61a8
/0x0B-python-input_output/2-read_lines.py
f33d4e7521358ff0ab260754b7aa8efa81a6ae2c
[]
no_license
Abdou-Hidoussi/holbertonschool-higher_level_programming
9a0c0714b63ccd9823798adb51eb4f395ab375dc
1dd37cc5f848d1f37884e6ffbe9598eae8c4f30e
refs/heads/master
2023-03-05T00:02:25.283646
2021-02-18T20:42:26
2021-02-18T20:42:26
291,713,076
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
#!/usr/bin/python3 """ task 2 """ def read_lines(filename="", nb_lines=0): """read line function""" with open(filename, encoding="utf-8") as f: if nb_lines <= 0: print(f.read(), end="") return for i in range(nb_lines): print(f.readline(), end="")
4649092af7c99f1f913f1b6305e81c3ad84e7b26
2b4af8810511b5f1ed47fdf5662753b9b4af76b8
/corehq/apps/case_search/migrations/0004_auto_20170518_2018.py
90b4ceefdfb27e1e0f3dd0893ad81a5dd1d8a782
[]
no_license
DeckOfPandas/commcare-wddcp
55bde89197ec5bc4a4b53d327ec6a811aec0d752
810d2e09d3890e3d0d70178745da5924c1db767b
refs/heads/dimagi
2020-12-02T19:19:53.992796
2017-06-30T15:18:16
2017-07-05T12:23:26
96,325,707
1
0
null
2017-07-05T14:02:49
2017-07-05T14:02:49
null
UTF-8
Python
false
false
1,843
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-05-18 20:18 from __future__ import unicode_literals import django.contrib.postgres.fields from django.db import migrations, models import jsonfield.fields class Migration(migrations.Migration): dependencies = [ ('case_search', '0003_casesearchqueryaddition'), ] operations = [ migrations.CreateModel( name='FuzzyProperties', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('domain', models.CharField(db_index=True, max_length=256)), ('case_type', models.CharField(db_index=True, max_length=256)), ('properties', django.contrib.postgres.fields.ArrayField(base_field=models.TextField(blank=True, null=True), null=True, size=None)), ], ), migrations.AlterField( model_name='casesearchqueryaddition', name='query_addition', field=jsonfield.fields.JSONField(default=dict, help_text=b"More information about how this field is used can be found <a href='https://docs.google.com/document/d/1MKllkHZ6JlxhfqZLZKWAnfmlA3oUqCLOc7iKzxFTzdY/edit#heading=h.k5pky76mwwon'>here</a>. This ES <a href='https://www.elastic.co/guide/en/elasticsearch/guide/1.x/bool-query.html'>documentation</a> may also be useful. This JSON will be merged at the `query.filtered.query` path of the query JSON."), ), migrations.AlterUniqueTogether( name='fuzzyproperties', unique_together=set([('domain', 'case_type')]), ), migrations.AddField( model_name='casesearchconfig', name='fuzzy_properties', field=models.ManyToManyField(to='case_search.FuzzyProperties'), ), ]
e76376d0d332a1f8cd16367b148f06b9022ba13b
d65128e38be0243f279e0d72ef85e7d3c5e116ca
/base/site-packages/django/db/models/sql/compiler.py
2a5abdfa217d68efa5ee1eeb553a13fc89e89164
[ "Apache-2.0" ]
permissive
ZxwZero/fastor
19bfc568f9a68f1447c2e049428330ade02d451d
dd9e299e250362802032d1984801bed249e36d8d
refs/heads/master
2021-06-26T06:40:38.555211
2021-06-09T02:05:38
2021-06-09T02:05:38
229,753,500
1
1
Apache-2.0
2019-12-23T12:59:25
2019-12-23T12:59:24
null
UTF-8
Python
false
false
50,329
py
import datetime from django.conf import settings from django.core.exceptions import FieldError from django.db.backends.util import truncate_name from django.db.models.constants import LOOKUP_SEP from django.db.models.query_utils import select_related_descend, QueryWrapper from django.db.models.sql.constants import (SINGLE, MULTI, ORDER_DIR, GET_ITERATOR_CHUNK_SIZE, SelectInfo) from django.db.models.sql.datastructures import EmptyResultSet from django.db.models.sql.expressions import SQLEvaluator from django.db.models.sql.query import get_order_dir, Query from django.db.utils import DatabaseError from django.utils import six from django.utils.six.moves import zip from django.utils import timezone class SQLCompiler(object): def __init__(self, query, connection, using): self.query = query self.connection = connection self.using = using self.quote_cache = {} # When ordering a queryset with distinct on a column not part of the # select set, the ordering column needs to be added to the select # clause. This information is needed both in SQL construction and # masking away the ordering selects from the returned row. self.ordering_aliases = [] self.ordering_params = [] def pre_sql_setup(self): """ Does any necessary class setup immediately prior to producing SQL. This is for things that can't necessarily be done in __init__ because we might not have all the pieces in place at that time. # TODO: after the query has been executed, the altered state should be # cleaned. We are not using a clone() of the query here. """ if not self.query.tables: self.query.join((None, self.query.get_meta().db_table, None)) if (not self.query.select and self.query.default_cols and not self.query.included_inherited_models): self.query.setup_inherited_models() if self.query.select_related and not self.query.related_select_cols: self.fill_related_selections() def quote_name_unless_alias(self, name): """ A wrapper around connection.ops.quote_name that doesn't quote aliases for table names. This avoids problems with some SQL dialects that treat quoted strings specially (e.g. PostgreSQL). """ if name in self.quote_cache: return self.quote_cache[name] if ((name in self.query.alias_map and name not in self.query.table_map) or name in self.query.extra_select): self.quote_cache[name] = name return name r = self.connection.ops.quote_name(name) self.quote_cache[name] = r return r def as_sql(self, with_limits=True, with_col_aliases=False): """ Creates the SQL for this query. Returns the SQL string and list of parameters. If 'with_limits' is False, any limit/offset information is not included in the query. """ if with_limits and self.query.low_mark == self.query.high_mark: return '', () self.pre_sql_setup() # After executing the query, we must get rid of any joins the query # setup created. So, take note of alias counts before the query ran. # However we do not want to get rid of stuff done in pre_sql_setup(), # as the pre_sql_setup will modify query state in a way that forbids # another run of it. self.refcounts_before = self.query.alias_refcount.copy() out_cols, s_params = self.get_columns(with_col_aliases) ordering, o_params, ordering_group_by = self.get_ordering() distinct_fields = self.get_distinct() # This must come after 'select', 'ordering' and 'distinct' -- see # docstring of get_from_clause() for details. from_, f_params = self.get_from_clause() qn = self.quote_name_unless_alias where, w_params = self.query.where.as_sql(qn=qn, connection=self.connection) having, h_params = self.query.having.as_sql(qn=qn, connection=self.connection) having_group_by = self.query.having.get_cols() params = [] for val in six.itervalues(self.query.extra_select): params.extend(val[1]) result = ['SELECT'] if self.query.distinct: result.append(self.connection.ops.distinct_sql(distinct_fields)) params.extend(o_params) result.append(', '.join(out_cols + self.ordering_aliases)) params.extend(s_params) params.extend(self.ordering_params) result.append('FROM') result.extend(from_) params.extend(f_params) if where: result.append('WHERE %s' % where) params.extend(w_params) grouping, gb_params = self.get_grouping(having_group_by, ordering_group_by) if grouping: if distinct_fields: raise NotImplementedError( "annotate() + distinct(fields) not implemented.") if not ordering: ordering = self.connection.ops.force_no_ordering() result.append('GROUP BY %s' % ', '.join(grouping)) params.extend(gb_params) if having: result.append('HAVING %s' % having) params.extend(h_params) if ordering: result.append('ORDER BY %s' % ', '.join(ordering)) if with_limits: if self.query.high_mark is not None: result.append('LIMIT %d' % (self.query.high_mark - self.query.low_mark)) if self.query.low_mark: if self.query.high_mark is None: val = self.connection.ops.no_limit_value() if val: result.append('LIMIT %d' % val) result.append('OFFSET %d' % self.query.low_mark) if self.query.select_for_update and self.connection.features.has_select_for_update: # If we've been asked for a NOWAIT query but the backend does not support it, # raise a DatabaseError otherwise we could get an unexpected deadlock. nowait = self.query.select_for_update_nowait if nowait and not self.connection.features.has_select_for_update_nowait: raise DatabaseError('NOWAIT is not supported on this database backend.') result.append(self.connection.ops.for_update_sql(nowait=nowait)) # Finally do cleanup - get rid of the joins we created above. self.query.reset_refcounts(self.refcounts_before) return ' '.join(result), tuple(params) def as_nested_sql(self): """ Perform the same functionality as the as_sql() method, returning an SQL string and parameters. However, the alias prefixes are bumped beforehand (in a copy -- the current query isn't changed), and any ordering is removed if the query is unsliced. Used when nesting this query inside another. """ obj = self.query.clone() if obj.low_mark == 0 and obj.high_mark is None: # If there is no slicing in use, then we can safely drop all ordering obj.clear_ordering(True) obj.bump_prefix() return obj.get_compiler(connection=self.connection).as_sql() def get_columns(self, with_aliases=False): """ Returns the list of columns to use in the select statement, as well as a list any extra parameters that need to be included. If no columns have been specified, returns all columns relating to fields in the model. If 'with_aliases' is true, any column names that are duplicated (without the table names) are given unique aliases. This is needed in some cases to avoid ambiguity with nested queries. """ qn = self.quote_name_unless_alias qn2 = self.connection.ops.quote_name result = ['(%s) AS %s' % (col[0], qn2(alias)) for alias, col in six.iteritems(self.query.extra_select)] params = [] aliases = set(self.query.extra_select.keys()) if with_aliases: col_aliases = aliases.copy() else: col_aliases = set() if self.query.select: only_load = self.deferred_to_columns() for col, _ in self.query.select: if isinstance(col, (list, tuple)): alias, column = col table = self.query.alias_map[alias].table_name if table in only_load and column not in only_load[table]: continue r = '%s.%s' % (qn(alias), qn(column)) if with_aliases: if col[1] in col_aliases: c_alias = 'Col%d' % len(col_aliases) result.append('%s AS %s' % (r, c_alias)) aliases.add(c_alias) col_aliases.add(c_alias) else: result.append('%s AS %s' % (r, qn2(col[1]))) aliases.add(r) col_aliases.add(col[1]) else: result.append(r) aliases.add(r) col_aliases.add(col[1]) else: col_sql, col_params = col.as_sql(qn, self.connection) result.append(col_sql) params.extend(col_params) if hasattr(col, 'alias'): aliases.add(col.alias) col_aliases.add(col.alias) elif self.query.default_cols: cols, new_aliases = self.get_default_columns(with_aliases, col_aliases) result.extend(cols) aliases.update(new_aliases) max_name_length = self.connection.ops.max_name_length() for alias, aggregate in self.query.aggregate_select.items(): agg_sql, agg_params = aggregate.as_sql(qn, self.connection) if alias is None: result.append(agg_sql) else: result.append('%s AS %s' % (agg_sql, qn(truncate_name(alias, max_name_length)))) params.extend(agg_params) for (table, col), _ in self.query.related_select_cols: r = '%s.%s' % (qn(table), qn(col)) if with_aliases and col in col_aliases: c_alias = 'Col%d' % len(col_aliases) result.append('%s AS %s' % (r, c_alias)) aliases.add(c_alias) col_aliases.add(c_alias) else: result.append(r) aliases.add(r) col_aliases.add(col) self._select_aliases = aliases return result, params def get_default_columns(self, with_aliases=False, col_aliases=None, start_alias=None, opts=None, as_pairs=False, from_parent=None): """ Computes the default columns for selecting every field in the base model. Will sometimes be called to pull in related models (e.g. via select_related), in which case "opts" and "start_alias" will be given to provide a starting point for the traversal. Returns a list of strings, quoted appropriately for use in SQL directly, as well as a set of aliases used in the select statement (if 'as_pairs' is True, returns a list of (alias, col_name) pairs instead of strings as the first component and None as the second component). """ result = [] if opts is None: opts = self.query.get_meta() qn = self.quote_name_unless_alias qn2 = self.connection.ops.quote_name aliases = set() only_load = self.deferred_to_columns() if not start_alias: start_alias = self.query.get_initial_alias() # The 'seen_models' is used to optimize checking the needed parent # alias for a given field. This also includes None -> start_alias to # be used by local fields. seen_models = {None: start_alias} for field, model in opts.get_concrete_fields_with_model(): if from_parent and model is not None and issubclass(from_parent, model): # Avoid loading data for already loaded parents. continue alias = self.query.join_parent_model(opts, model, start_alias, seen_models) table = self.query.alias_map[alias].table_name if table in only_load and field.column not in only_load[table]: continue if as_pairs: result.append((alias, field.column)) aliases.add(alias) continue if with_aliases and field.column in col_aliases: c_alias = 'Col%d' % len(col_aliases) result.append('%s.%s AS %s' % (qn(alias), qn2(field.column), c_alias)) col_aliases.add(c_alias) aliases.add(c_alias) else: r = '%s.%s' % (qn(alias), qn2(field.column)) result.append(r) aliases.add(r) if with_aliases: col_aliases.add(field.column) return result, aliases def get_distinct(self): """ Returns a quoted list of fields to use in DISTINCT ON part of the query. Note that this method can alter the tables in the query, and thus it must be called before get_from_clause(). """ qn = self.quote_name_unless_alias qn2 = self.connection.ops.quote_name result = [] opts = self.query.get_meta() for name in self.query.distinct_fields: parts = name.split(LOOKUP_SEP) field, cols, alias, _, _ = self._setup_joins(parts, opts, None) cols, alias = self._final_join_removal(cols, alias) for col in cols: result.append("%s.%s" % (qn(alias), qn2(col))) return result def get_ordering(self): """ Returns a tuple containing a list representing the SQL elements in the "order by" clause, and the list of SQL elements that need to be added to the GROUP BY clause as a result of the ordering. Also sets the ordering_aliases attribute on this instance to a list of extra aliases needed in the select. Determining the ordering SQL can change the tables we need to include, so this should be run *before* get_from_clause(). """ if self.query.extra_order_by: ordering = self.query.extra_order_by elif not self.query.default_ordering: ordering = self.query.order_by else: ordering = (self.query.order_by or self.query.get_meta().ordering or []) qn = self.quote_name_unless_alias qn2 = self.connection.ops.quote_name distinct = self.query.distinct select_aliases = self._select_aliases result = [] group_by = [] ordering_aliases = [] if self.query.standard_ordering: asc, desc = ORDER_DIR['ASC'] else: asc, desc = ORDER_DIR['DESC'] # It's possible, due to model inheritance, that normal usage might try # to include the same field more than once in the ordering. We track # the table/column pairs we use and discard any after the first use. processed_pairs = set() params = [] ordering_params = [] for pos, field in enumerate(ordering): if field == '?': result.append(self.connection.ops.random_function_sql()) continue if isinstance(field, int): if field < 0: order = desc field = -field else: order = asc result.append('%s %s' % (field, order)) group_by.append((str(field), [])) continue col, order = get_order_dir(field, asc) if col in self.query.aggregate_select: result.append('%s %s' % (qn(col), order)) continue if '.' in field: # This came in through an extra(order_by=...) addition. Pass it # on verbatim. table, col = col.split('.', 1) if (table, col) not in processed_pairs: elt = '%s.%s' % (qn(table), col) processed_pairs.add((table, col)) if not distinct or elt in select_aliases: result.append('%s %s' % (elt, order)) group_by.append((elt, [])) elif get_order_dir(field)[0] not in self.query.extra: # 'col' is of the form 'field' or 'field1__field2' or # '-field1__field2__field', etc. for table, cols, order in self.find_ordering_name(field, self.query.get_meta(), default_order=asc): for col in cols: if (table, col) not in processed_pairs: elt = '%s.%s' % (qn(table), qn2(col)) processed_pairs.add((table, col)) if distinct and elt not in select_aliases: ordering_aliases.append(elt) result.append('%s %s' % (elt, order)) group_by.append((elt, [])) else: elt = qn2(col) if col not in self.query.extra_select: sql = "(%s) AS %s" % (self.query.extra[col][0], elt) ordering_aliases.append(sql) ordering_params.extend(self.query.extra[col][1]) else: if distinct and col not in select_aliases: ordering_aliases.append(elt) ordering_params.extend(params) result.append('%s %s' % (elt, order)) group_by.append(self.query.extra[col]) self.ordering_aliases = ordering_aliases self.ordering_params = ordering_params return result, params, group_by def find_ordering_name(self, name, opts, alias=None, default_order='ASC', already_seen=None): """ Returns the table alias (the name might be ambiguous, the alias will not be) and column name for ordering by the given 'name' parameter. The 'name' is of the form 'field1__field2__...__fieldN'. """ name, order = get_order_dir(name, default_order) pieces = name.split(LOOKUP_SEP) field, cols, alias, joins, opts = self._setup_joins(pieces, opts, alias) # If we get to this point and the field is a relation to another model, # append the default ordering for that model. if field.rel and len(joins) > 1 and opts.ordering: # Firstly, avoid infinite loops. if not already_seen: already_seen = set() join_tuple = tuple([self.query.alias_map[j].table_name for j in joins]) if join_tuple in already_seen: raise FieldError('Infinite loop caused by ordering.') already_seen.add(join_tuple) results = [] for item in opts.ordering: results.extend(self.find_ordering_name(item, opts, alias, order, already_seen)) return results cols, alias = self._final_join_removal(cols, alias) return [(alias, cols, order)] def _setup_joins(self, pieces, opts, alias): """ A helper method for get_ordering and get_distinct. This method will call query.setup_joins, handle refcounts and then promote the joins. Note that get_ordering and get_distinct must produce same target columns on same input, as the prefixes of get_ordering and get_distinct must match. Executing SQL where this is not true is an error. """ if not alias: alias = self.query.get_initial_alias() field, targets, opts, joins, _ = self.query.setup_joins( pieces, opts, alias) # We will later on need to promote those joins that were added to the # query afresh above. joins_to_promote = [j for j in joins if self.query.alias_refcount[j] < 2] alias = joins[-1] cols = [target.column for target in targets] if not field.rel: # To avoid inadvertent trimming of a necessary alias, use the # refcount to show that we are referencing a non-relation field on # the model. self.query.ref_alias(alias) # Must use left outer joins for nullable fields and their relations. # Ordering or distinct must not affect the returned set, and INNER # JOINS for nullable fields could do this. self.query.promote_joins(joins_to_promote) return field, cols, alias, joins, opts def _final_join_removal(self, cols, alias): """ A helper method for get_distinct and get_ordering. This method will trim extra not-needed joins from the tail of the join chain. This is very similar to what is done in trim_joins, but we will trim LEFT JOINS here. It would be a good idea to consolidate this method and query.trim_joins(). """ if alias: while 1: join = self.query.alias_map[alias] lhs_cols, rhs_cols = zip(*[(lhs_col, rhs_col) for lhs_col, rhs_col in join.join_cols]) if set(cols) != set(rhs_cols): break cols = [lhs_cols[rhs_cols.index(col)] for col in cols] self.query.unref_alias(alias) alias = join.lhs_alias return cols, alias def get_from_clause(self): """ Returns a list of strings that are joined together to go after the "FROM" part of the query, as well as a list any extra parameters that need to be included. Sub-classes, can override this to create a from-clause via a "select". This should only be called after any SQL construction methods that might change the tables we need. This means the select columns, ordering and distinct must be done first. """ result = [] qn = self.quote_name_unless_alias qn2 = self.connection.ops.quote_name first = True from_params = [] for alias in self.query.tables: if not self.query.alias_refcount[alias]: continue try: name, alias, join_type, lhs, join_cols, _, join_field = self.query.alias_map[alias] except KeyError: # Extra tables can end up in self.tables, but not in the # alias_map if they aren't in a join. That's OK. We skip them. continue alias_str = '' if alias == name else (' %s' % alias) if join_type and not first: extra_cond = join_field.get_extra_restriction( self.query.where_class, alias, lhs) if extra_cond: extra_sql, extra_params = extra_cond.as_sql( qn, self.connection) extra_sql = 'AND (%s)' % extra_sql from_params.extend(extra_params) else: extra_sql = "" result.append('%s %s%s ON (' % (join_type, qn(name), alias_str)) for index, (lhs_col, rhs_col) in enumerate(join_cols): if index != 0: result.append(' AND ') result.append('%s.%s = %s.%s' % (qn(lhs), qn2(lhs_col), qn(alias), qn2(rhs_col))) result.append('%s)' % extra_sql) else: connector = '' if first else ', ' #result.append('%s%s%s' % (connector, qn(name), alias_str)) part = '%s%s%s' % (connector, qn(name), alias_str) for model, hint in self.query.hints.items(): if model._meta.db_table == name: part += ' FORCE INDEX (%s)' % ', '.join(hint) result.append(part) first = False for t in self.query.extra_tables: alias, unused = self.query.table_alias(t) # Only add the alias if it's not already present (the table_alias() # calls increments the refcount, so an alias refcount of one means # this is the only reference. if alias not in self.query.alias_map or self.query.alias_refcount[alias] == 1: connector = '' if first else ', ' result.append('%s%s' % (connector, qn(alias))) first = False return result, from_params def get_grouping(self, having_group_by, ordering_group_by): """ Returns a tuple representing the SQL elements in the "group by" clause. """ qn = self.quote_name_unless_alias result, params = [], [] if self.query.group_by is not None: select_cols = self.query.select + self.query.related_select_cols # Just the column, not the fields. select_cols = [s[0] for s in select_cols] if (len(self.query.get_meta().concrete_fields) == len(self.query.select) and self.connection.features.allows_group_by_pk): self.query.group_by = [ (self.query.get_meta().db_table, self.query.get_meta().pk.column) ] select_cols = [] seen = set() cols = self.query.group_by + having_group_by + select_cols for col in cols: col_params = () if isinstance(col, (list, tuple)): sql = '%s.%s' % (qn(col[0]), qn(col[1])) elif hasattr(col, 'as_sql'): sql, col_params = col.as_sql(qn, self.connection) else: sql = '(%s)' % str(col) if sql not in seen: result.append(sql) params.extend(col_params) seen.add(sql) # Still, we need to add all stuff in ordering (except if the backend can # group by just by PK). if ordering_group_by and not self.connection.features.allows_group_by_pk: for order, order_params in ordering_group_by: # Even if we have seen the same SQL string, it might have # different params, so, we add same SQL in "has params" case. if order not in seen or order_params: result.append(order) params.extend(order_params) seen.add(order) # Unconditionally add the extra_select items. for extra_select, extra_params in self.query.extra_select.values(): sql = '(%s)' % str(extra_select) result.append(sql) params.extend(extra_params) return result, params def fill_related_selections(self, opts=None, root_alias=None, cur_depth=1, requested=None, restricted=None, nullable=None): """ Fill in the information needed for a select_related query. The current depth is measured as the number of connections away from the root model (for example, cur_depth=1 means we are looking at models with direct connections to the root model). """ if not restricted and self.query.max_depth and cur_depth > self.query.max_depth: # We've recursed far enough; bail out. return if not opts: opts = self.query.get_meta() root_alias = self.query.get_initial_alias() self.query.related_select_cols = [] only_load = self.query.get_loaded_field_names() # Setup for the case when only particular related fields should be # included in the related selection. if requested is None: if isinstance(self.query.select_related, dict): requested = self.query.select_related restricted = True else: restricted = False for f, model in opts.get_fields_with_model(): # The get_fields_with_model() returns None for fields that live # in the field's local model. So, for those fields we want to use # the f.model - that is the field's local model. field_model = model or f.model if not select_related_descend(f, restricted, requested, only_load.get(field_model)): continue promote = nullable or f.null _, _, _, joins, _ = self.query.setup_joins( [f.name], opts, root_alias, outer_if_first=promote) alias = joins[-1] columns, aliases = self.get_default_columns(start_alias=alias, opts=f.rel.to._meta, as_pairs=True) self.query.related_select_cols.extend( SelectInfo(col, field) for col, field in zip(columns, f.rel.to._meta.concrete_fields)) if restricted: next = requested.get(f.name, {}) else: next = False new_nullable = f.null or promote self.fill_related_selections(f.rel.to._meta, alias, cur_depth + 1, next, restricted, new_nullable) if restricted: related_fields = [ (o.field, o.model) for o in opts.get_all_related_objects() if o.field.unique ] for f, model in related_fields: if not select_related_descend(f, restricted, requested, only_load.get(model), reverse=True): continue _, _, _, joins, _ = self.query.setup_joins( [f.related_query_name()], opts, root_alias, outer_if_first=True) alias = joins[-1] from_parent = (opts.model if issubclass(model, opts.model) else None) columns, aliases = self.get_default_columns(start_alias=alias, opts=model._meta, as_pairs=True, from_parent=from_parent) self.query.related_select_cols.extend( SelectInfo(col, field) for col, field in zip(columns, model._meta.concrete_fields)) next = requested.get(f.related_query_name(), {}) # Use True here because we are looking at the _reverse_ side of # the relation, which is always nullable. new_nullable = True self.fill_related_selections(model._meta, alias, cur_depth + 1, next, restricted, new_nullable) def deferred_to_columns(self): """ Converts the self.deferred_loading data structure to mapping of table names to sets of column names which are to be loaded. Returns the dictionary. """ columns = {} self.query.deferred_to_data(columns, self.query.deferred_to_columns_cb) return columns def results_iter(self): """ Returns an iterator over the results from executing this query. """ resolve_columns = hasattr(self, 'resolve_columns') fields = None has_aggregate_select = bool(self.query.aggregate_select) for rows in self.execute_sql(MULTI): for row in rows: if has_aggregate_select: loaded_fields = self.query.get_loaded_field_names().get(self.query.model, set()) or self.query.select aggregate_start = len(self.query.extra_select) + len(loaded_fields) aggregate_end = aggregate_start + len(self.query.aggregate_select) if resolve_columns: if fields is None: # We only set this up here because # related_select_cols isn't populated until # execute_sql() has been called. # We also include types of fields of related models that # will be included via select_related() for the benefit # of MySQL/MySQLdb when boolean fields are involved # (#15040). # This code duplicates the logic for the order of fields # found in get_columns(). It would be nice to clean this up. if self.query.select: fields = [f.field for f in self.query.select] else: fields = self.query.get_meta().concrete_fields fields = fields + [f.field for f in self.query.related_select_cols] # If the field was deferred, exclude it from being passed # into `resolve_columns` because it wasn't selected. only_load = self.deferred_to_columns() if only_load: fields = [f for f in fields if f.model._meta.db_table not in only_load or f.column in only_load[f.model._meta.db_table]] if has_aggregate_select: # pad None in to fields for aggregates fields = fields[:aggregate_start] + [ None for x in range(0, aggregate_end - aggregate_start) ] + fields[aggregate_start:] row = self.resolve_columns(row, fields) if has_aggregate_select: row = tuple(row[:aggregate_start]) + tuple([ self.query.resolve_aggregate(value, aggregate, self.connection) for (alias, aggregate), value in zip(self.query.aggregate_select.items(), row[aggregate_start:aggregate_end]) ]) + tuple(row[aggregate_end:]) yield row def execute_sql(self, result_type=MULTI): """ Run the query against the database and returns the result(s). The return value is a single data item if result_type is SINGLE, or an iterator over the results if the result_type is MULTI. result_type is either MULTI (use fetchmany() to retrieve all rows), SINGLE (only retrieve a single row), or None. In this last case, the cursor is returned if any query is executed, since it's used by subclasses such as InsertQuery). It's possible, however, that no query is needed, as the filters describe an empty set. In that case, None is returned, to avoid any unnecessary database interaction. """ try: sql, params = self.as_sql() if not sql: raise EmptyResultSet except EmptyResultSet: if result_type == MULTI: return iter([]) else: return cursor = self.connection.cursor() cursor.execute(sql, params) if not result_type: return cursor if result_type == SINGLE: if self.ordering_aliases: return cursor.fetchone()[:-len(self.ordering_aliases)] return cursor.fetchone() # The MULTI case. if self.ordering_aliases: result = order_modified_iter(cursor, len(self.ordering_aliases), self.connection.features.empty_fetchmany_value) else: result = iter((lambda: cursor.fetchmany(GET_ITERATOR_CHUNK_SIZE)), self.connection.features.empty_fetchmany_value) if not self.connection.features.can_use_chunked_reads: # If we are using non-chunked reads, we return the same data # structure as normally, but ensure it is all read into memory # before going any further. return list(result) return result def as_subquery_condition(self, alias, columns, qn): qn2 = self.connection.ops.quote_name if len(columns) == 1: sql, params = self.as_sql() return '%s.%s IN (%s)' % (qn(alias), qn2(columns[0]), sql), params for index, select_col in enumerate(self.query.select): lhs = '%s.%s' % (qn(select_col.col[0]), qn2(select_col.col[1])) rhs = '%s.%s' % (qn(alias), qn2(columns[index])) self.query.where.add( QueryWrapper('%s = %s' % (lhs, rhs), []), 'AND') sql, params = self.as_sql() return 'EXISTS (%s)' % sql, params class SQLInsertCompiler(SQLCompiler): def __init__(self, *args, **kwargs): self.return_id = False super(SQLInsertCompiler, self).__init__(*args, **kwargs) def placeholder(self, field, val): if field is None: # A field value of None means the value is raw. return val elif hasattr(field, 'get_placeholder'): # Some fields (e.g. geo fields) need special munging before # they can be inserted. return field.get_placeholder(val, self.connection) else: # Return the common case for the placeholder return '%s' def as_sql(self): # We don't need quote_name_unless_alias() here, since these are all # going to be column names (so we can avoid the extra overhead). qn = self.connection.ops.quote_name opts = self.query.get_meta() result = ['INSERT INTO %s' % qn(opts.db_table)] has_fields = bool(self.query.fields) fields = self.query.fields if has_fields else [opts.pk] result.append('(%s)' % ', '.join([qn(f.column) for f in fields])) if has_fields: params = values = [ [ f.get_db_prep_save(getattr(obj, f.attname) if self.query.raw else f.pre_save(obj, True), connection=self.connection) for f in fields ] for obj in self.query.objs ] else: values = [[self.connection.ops.pk_default_value()] for obj in self.query.objs] params = [[]] fields = [None] can_bulk = (not any(hasattr(field, "get_placeholder") for field in fields) and not self.return_id and self.connection.features.has_bulk_insert) if can_bulk: placeholders = [["%s"] * len(fields)] else: placeholders = [ [self.placeholder(field, v) for field, v in zip(fields, val)] for val in values ] # Oracle Spatial needs to remove some values due to #10888 params = self.connection.ops.modify_insert_params(placeholders, params) if self.return_id and self.connection.features.can_return_id_from_insert: params = params[0] col = "%s.%s" % (qn(opts.db_table), qn(opts.pk.column)) result.append("VALUES (%s)" % ", ".join(placeholders[0])) r_fmt, r_params = self.connection.ops.return_insert_id() # Skip empty r_fmt to allow subclasses to customize behaviour for # 3rd party backends. Refs #19096. if r_fmt: result.append(r_fmt % col) params += r_params return [(" ".join(result), tuple(params))] if can_bulk: result.append(self.connection.ops.bulk_insert_sql(fields, len(values))) return [(" ".join(result), tuple([v for val in values for v in val]))] else: return [ (" ".join(result + ["VALUES (%s)" % ", ".join(p)]), vals) for p, vals in zip(placeholders, params) ] def execute_sql(self, return_id=False): assert not (return_id and len(self.query.objs) != 1) self.return_id = return_id cursor = self.connection.cursor() for sql, params in self.as_sql(): cursor.execute(sql, params) if not (return_id and cursor): return if self.connection.features.can_return_id_from_insert: return self.connection.ops.fetch_returned_insert_id(cursor) return self.connection.ops.last_insert_id(cursor, self.query.get_meta().db_table, self.query.get_meta().pk.column) class SQLDeleteCompiler(SQLCompiler): def as_sql(self): """ Creates the SQL for this query. Returns the SQL string and list of parameters. """ assert len(self.query.tables) == 1, \ "Can only delete from one table at a time." qn = self.quote_name_unless_alias result = ['DELETE FROM %s' % qn(self.query.tables[0])] where, params = self.query.where.as_sql(qn=qn, connection=self.connection) if where: result.append('WHERE %s' % where) return ' '.join(result), tuple(params) class SQLUpdateCompiler(SQLCompiler): def as_sql(self): """ Creates the SQL for this query. Returns the SQL string and list of parameters. """ self.pre_sql_setup() if not self.query.values: return '', () table = self.query.tables[0] qn = self.quote_name_unless_alias result = ['UPDATE %s' % qn(table)] result.append('SET') values, update_params = [], [] for field, model, val in self.query.values: if hasattr(val, 'prepare_database_save'): val = val.prepare_database_save(field) else: val = field.get_db_prep_save(val, connection=self.connection) # Getting the placeholder for the field. if hasattr(field, 'get_placeholder'): placeholder = field.get_placeholder(val, self.connection) else: placeholder = '%s' if hasattr(val, 'evaluate'): val = SQLEvaluator(val, self.query, allow_joins=False) name = field.column if hasattr(val, 'as_sql'): sql, params = val.as_sql(qn, self.connection) values.append('%s = %s' % (qn(name), sql)) update_params.extend(params) elif val is not None: values.append('%s = %s' % (qn(name), placeholder)) update_params.append(val) else: values.append('%s = NULL' % qn(name)) if not values: return '', () result.append(', '.join(values)) where, params = self.query.where.as_sql(qn=qn, connection=self.connection) if where: result.append('WHERE %s' % where) return ' '.join(result), tuple(update_params + params) def execute_sql(self, result_type): """ Execute the specified update. Returns the number of rows affected by the primary update query. The "primary update query" is the first non-empty query that is executed. Row counts for any subsequent, related queries are not available. """ cursor = super(SQLUpdateCompiler, self).execute_sql(result_type) rows = cursor.rowcount if cursor else 0 is_empty = cursor is None del cursor for query in self.query.get_related_updates(): aux_rows = query.get_compiler(self.using).execute_sql(result_type) if is_empty: rows = aux_rows is_empty = False return rows def pre_sql_setup(self): """ If the update depends on results from other tables, we need to do some munging of the "where" conditions to match the format required for (portable) SQL updates. That is done here. Further, if we are going to be running multiple updates, we pull out the id values to update at this point so that they don't change as a result of the progressive updates. """ self.query.select_related = False self.query.clear_ordering(True) super(SQLUpdateCompiler, self).pre_sql_setup() count = self.query.count_active_tables() if not self.query.related_updates and count == 1: return # We need to use a sub-select in the where clause to filter on things # from other tables. query = self.query.clone(klass=Query) query.bump_prefix() query.extra = {} query.select = [] query.add_fields([query.get_meta().pk.name]) # Recheck the count - it is possible that fiddling with the select # fields above removes tables from the query. Refs #18304. count = query.count_active_tables() if not self.query.related_updates and count == 1: return must_pre_select = count > 1 and not self.connection.features.update_can_self_select # Now we adjust the current query: reset the where clause and get rid # of all the tables we don't need (since they're in the sub-select). self.query.where = self.query.where_class() if self.query.related_updates or must_pre_select: # Either we're using the idents in multiple update queries (so # don't want them to change), or the db backend doesn't support # selecting from the updating table (e.g. MySQL). idents = [] for rows in query.get_compiler(self.using).execute_sql(MULTI): idents.extend([r[0] for r in rows]) self.query.add_filter(('pk__in', idents)) self.query.related_ids = idents else: # The fast path. Filters and updates in one query. self.query.add_filter(('pk__in', query)) for alias in self.query.tables[1:]: self.query.alias_refcount[alias] = 0 class SQLAggregateCompiler(SQLCompiler): def as_sql(self, qn=None): """ Creates the SQL for this query. Returns the SQL string and list of parameters. """ if qn is None: qn = self.quote_name_unless_alias sql, params = [], [] for aggregate in self.query.aggregate_select.values(): agg_sql, agg_params = aggregate.as_sql(qn, self.connection) sql.append(agg_sql) params.extend(agg_params) sql = ', '.join(sql) params = tuple(params) sql = 'SELECT %s FROM (%s) subquery' % (sql, self.query.subquery) params = params + self.query.sub_params return sql, params class SQLDateCompiler(SQLCompiler): def results_iter(self): """ Returns an iterator over the results from executing this query. """ resolve_columns = hasattr(self, 'resolve_columns') if resolve_columns: from django.db.models.fields import DateField fields = [DateField()] else: from django.db.backends.util import typecast_date needs_string_cast = self.connection.features.needs_datetime_string_cast offset = len(self.query.extra_select) for rows in self.execute_sql(MULTI): for row in rows: date = row[offset] if resolve_columns: date = self.resolve_columns(row, fields)[offset] elif needs_string_cast: date = typecast_date(str(date)) if isinstance(date, datetime.datetime): date = date.date() yield date class SQLDateTimeCompiler(SQLCompiler): def results_iter(self): """ Returns an iterator over the results from executing this query. """ resolve_columns = hasattr(self, 'resolve_columns') if resolve_columns: from django.db.models.fields import DateTimeField fields = [DateTimeField()] else: from django.db.backends.util import typecast_timestamp needs_string_cast = self.connection.features.needs_datetime_string_cast offset = len(self.query.extra_select) for rows in self.execute_sql(MULTI): for row in rows: datetime = row[offset] if resolve_columns: datetime = self.resolve_columns(row, fields)[offset] elif needs_string_cast: datetime = typecast_timestamp(str(datetime)) # Datetimes are artifically returned in UTC on databases that # don't support time zone. Restore the zone used in the query. if settings.USE_TZ: if datetime is None: raise ValueError("Database returned an invalid value " "in QuerySet.dates(). Are time zone " "definitions and pytz installed?") datetime = datetime.replace(tzinfo=None) datetime = timezone.make_aware(datetime, self.query.tzinfo) yield datetime def order_modified_iter(cursor, trim, sentinel): """ Yields blocks of rows from a cursor. We use this iterator in the special case when extra output columns have been added to support ordering requirements. We must trim those extra columns before anything else can use the results, since they're only needed to make the SQL valid. """ for rows in iter((lambda: cursor.fetchmany(GET_ITERATOR_CHUNK_SIZE)), sentinel): yield [r[:-trim] for r in rows]
73ea9b5b72d472a84e080415378c392f17ac413d
34c84dc28ca8c62594ba74facc6cef4eacb2aad9
/examples/liquid-argon/utils.py
672f312f191d433c0811262db1d2a9b8692c8079
[]
no_license
choderalab/automatic-equilibration-detection
f4102407db312402b30dceb1cee0ea0e698e46b1
9b5f096cd8e309bc1158f9eed5d8fd41f78312cc
refs/heads/master
2021-01-17T15:15:38.786759
2016-12-24T06:12:32
2016-12-24T06:12:32
19,412,535
15
9
null
2016-12-24T06:12:33
2014-05-03T21:28:09
TeX
UTF-8
Python
false
false
4,937
py
#!/usr/bin/env python """ Run a simulation of liquid argon at constant pressure. """ import os, os.path, copy import netCDF4 from simtk import openmm, unit from simtk.openmm import app from openmmtools import testsystems, integrators def minimize(system, positions): """ Minimize the specified testsystem. Parameters ---------- system : simtk.openmm.System The system to minimize positions : simtk.unit.Quantity of size (nparticles,3) with units compatible with angstroms The initial positions to be minimized. Returns ------- minimized_positions : simtk.unit.Quantity of size (nparticles,3) with units compatible with angstroms Minimized positions. """ integrator = openmm.VerletIntegrator(1.0 * unit.femtosecond) context = openmm.Context(system, integrator) context.setPositions(positions) openmm.LocalEnergyMinimizer.minimize(context) final_positions = context.getState(getPositions=True).getPositions(asNumpy=True) del context, integrator return final_positions def write_pdb(filename, positions): """ Write PDB file for argon particles. Parameters ---------- filename : str Filename to write PDB file to. positions : simtk.unit.Quantity of size (nparticles,3) with units compatible with angstroms Positions to write. """ nparticles = positions.shape[0] outfile = open(filename, 'w') for particle in range(nparticles): outfile.write("ATOM %5d AR AR 1 %8.3f%8.3f%8.3f\n" % (particle, positions[particle,0]/unit.angstrom, positions[particle,1]/unit.angstrom, positions[particle,2]/unit.angstrom)) outfile.close() return def create_netcdf_datastore(filename, system, positions, nreplicates, niterations, observation_interval): """ Create (or resume from) NetCDF data storage file. Parameters ---------- filename : str Filename of NetCDF file. system : simtk.openmm.System The system to minimize positions : simtk.unit.Quantity of size (nparticles,3) with units compatible with angstroms The initial positions used for all simulations nreplicates : int The number of simulation replicates to be performed niterations : int The number of simulation iterations to be performed. obervation_interval : simtk.unit.Quantity with units compatible with ps Observation interval between frames. Returns ------- ncfile : netCDF4.Dataset """ if os.path.exists(filename): raise Exception("Datafile '%s' already exists." % filename) # Create a new file. ncfile = netCDF4.Dataset(filename, 'w', version='NETCDF4') # Determine some extra dimensions nparticles = positions.shape[0] # Initialize NetCDF file. ncfile.createDimension('replicate', 0) # unlimited number of replicates ncfile.createDimension('iteration', 0) # unlimited number of iterations ncfile.createDimension('atom', nparticles) # number of atoms in system ncfile.createDimension('spatial', 3) # number of spatial dimensions ncfile.createDimension('singleton', 1) # Set global attributes. import time setattr(ncfile, 'title', 'liquid argon simulation density data') setattr(ncfile, 'CreationDate', time.ctime()) # Store global data. ncvar = ncfile.createVariable('observation_interval', 'f4') ncvar.assignValue(observation_interval / unit.picoseconds) setattr(ncvar, 'units', 'ps') # Store initial positions. ncvar_positions = ncfile.createVariable('initial_positions', 'f4', ('atom','spatial'), zlib=True, chunksizes=(nparticles,3)) setattr(ncvar_positions, 'units', 'nm') setattr(ncvar_positions, "long_name", "initial_positions[atom][spatial] is initial position of coordinate 'spatial' of atom 'atom' used for all simulations.") x = positions / unit.nanometers ncfile.variables['initial_positions'][:,:] = x[:,:] # Store system. ncvar_system = ncfile.createVariable('system', str, ('singleton',), zlib=True) setattr(ncvar_system, 'long_name', "system is the serialized OpenMM System used for all simulations") ncvar_system[0] = system.__getstate__() # Create storage for simulation data. ncvar_densities = ncfile.createVariable('reduced_density', 'f4', ('replicate','iteration'), zlib=True, chunksizes=(nreplicates,1)) setattr(ncvar_densities, "long_name", "reduced_density[replicate][iteration] is the density (in reduced, dimensionless units) of iteration 'iteration' of replicate 'replicate'") ncvar_potential = ncfile.createVariable('reduced_potential', 'f4', ('replicate','iteration'), zlib=True, chunksizes=(1,niterations+1)) setattr(ncvar_potential, "long_name", "reduced_potential[replicate][iteration] is the density (in kT) of iteration 'iteration' of replicate 'replicate'") ncfile.sync() return ncfile
d614fc69982e90bef74703c3499141f522d4c0e0
3c619a14c087f889e007c5b7e9415037d4c63992
/tensorflow/contrib/distribute/python/collective_all_reduce_strategy_test.py
bba0bce9f2e2c4b231c9dc4a2705c476ab091d50
[ "Apache-2.0" ]
permissive
WangLing20150722/tensorflow
896b49796b6a4b658c89877704e5fcd86076892e
f1f1336aef572eb2073c9a488f8408b6404a700b
refs/heads/master
2020-04-20T04:26:36.320082
2019-02-01T02:01:25
2019-02-01T02:01:34
168,627,573
1
0
Apache-2.0
2019-02-01T02:05:23
2019-02-01T02:05:22
null
UTF-8
Python
false
false
20,537
py
# Copyright 2018 The TensorFlow Authors. 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. # ============================================================================== """Tests for CollectiveAllReduceStrategy.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from absl.testing import parameterized import numpy as np from tensorflow.contrib.distribute.python import collective_all_reduce_strategy from tensorflow.contrib.distribute.python import combinations from tensorflow.contrib.distribute.python import multi_worker_test_base from tensorflow.contrib.distribute.python import strategy_test_lib from tensorflow.core.protobuf import config_pb2 from tensorflow.core.protobuf import rewriter_config_pb2 from tensorflow.python import keras from tensorflow.python.data.ops import dataset_ops from tensorflow.python.distribute import cross_device_utils from tensorflow.python.distribute import reduce_util from tensorflow.python.distribute import values from tensorflow.python.eager import context from tensorflow.python.framework import constant_op from tensorflow.python.framework import dtypes from tensorflow.python.framework import errors from tensorflow.python.framework import ops from tensorflow.python.layers import core from tensorflow.python.ops import array_ops from tensorflow.python.ops import gradients from tensorflow.python.ops import init_ops from tensorflow.python.ops import nn from tensorflow.python.ops import random_ops from tensorflow.python.ops import variable_scope from tensorflow.python.ops import variables from tensorflow.python.ops.losses import losses from tensorflow.python.platform import test from tensorflow.python.training import adam from tensorflow.python.training import training_util class CollectiveAllReduceStrategyTestBase( multi_worker_test_base.MultiWorkerTestBase): collective_key_base = 0 def setUp(self): # We use a different key_base for each test so that collective keys won't be # reused. # TODO(yuefengz, tucker): enable it to reuse collective keys in different # tests. CollectiveAllReduceStrategyTestBase.collective_key_base += 100000 super(CollectiveAllReduceStrategyTestBase, self).setUp() def _get_test_object(self, task_type, task_id, num_gpus=0): distribution = collective_all_reduce_strategy.CollectiveAllReduceStrategy( num_gpus_per_worker=num_gpus) session_config = config_pb2.ConfigProto() if task_type and task_id is not None: distribution.configure( session_config=session_config, cluster_spec=self._cluster_spec, task_type=task_type, task_id=task_id) collective_keys = cross_device_utils.CollectiveKeys( group_key_start=10 * num_gpus + CollectiveAllReduceStrategyTestBase.collective_key_base, instance_key_start=num_gpus * 100 + CollectiveAllReduceStrategyTestBase.collective_key_base, instance_key_with_id_start=num_gpus * 10000 + CollectiveAllReduceStrategyTestBase.collective_key_base) distribution.extended._collective_keys = collective_keys distribution.extended._cross_device_ops._collective_keys = ( collective_keys) if task_type and task_id is not None: return distribution, 'grpc://' + self._cluster_spec[task_type][ task_id], session_config else: return distribution, '', session_config def _test_minimize_loss_graph(self, task_type, task_id, num_gpus): d, master_target, config = self._get_test_object(task_type, task_id, num_gpus) with ops.Graph().as_default(), \ self.cached_session(config=config, target=master_target) as sess, \ d.scope(): l = core.Dense(1, use_bias=False, name='gpu_%d' % d.extended._num_gpus_per_worker) def loss_fn(x): y = array_ops.reshape(l(x), []) - constant_op.constant(1.) return y * y # TODO(yuefengz, apassos): eager.backprop.implicit_grad is not safe for # multiple graphs (b/111216820). def grad_fn(x): loss = loss_fn(x) var_list = ( variables.trainable_variables() + ops.get_collection( ops.GraphKeys.TRAINABLE_RESOURCE_VARIABLES)) grads = gradients.gradients(loss, var_list) ret = list(zip(grads, var_list)) return ret def update(v, g): return v.assign_sub(0.05 * g, use_locking=True) one = d.broadcast(constant_op.constant([[1.]])) def step(): """Perform one optimization step.""" # Run forward & backward to get gradients, variables list. g_v = d.extended.call_for_each_replica(grad_fn, args=[one]) # Update the variables using the gradients and the update() function. before_list = [] after_list = [] for g, v in g_v: fetched = d.extended.read_var(v) before_list.append(fetched) with ops.control_dependencies([fetched]): # TODO(yuefengz): support non-Mirrored variable as destinations. g = d.extended.reduce_to( reduce_util.ReduceOp.SUM, g, destinations=v) with ops.control_dependencies( d.extended.update(v, update, args=(g,), group=False)): after_list.append(d.extended.read_var(v)) return before_list, after_list before_out, after_out = step() if context.num_gpus() < d.extended._num_gpus_per_worker: return True sess.run(variables.global_variables_initializer()) for i in range(10): b, a = sess.run((before_out, after_out)) if i == 0: before, = b after, = a error_before = abs(before - 1) error_after = abs(after - 1) # Error should go down self.assertLess(error_after, error_before) return error_after < error_before def _test_complex_model(self, task_type, task_id, num_gpus): d, master_target, config = self._get_test_object(task_type, task_id, num_gpus) def model_fn(): """Mnist model with synthetic input.""" data_format = 'channels_last' input_shape = [28, 28, 1] l = keras.layers max_pool = l.MaxPooling2D((2, 2), (2, 2), padding='same', data_format=data_format) model = keras.Sequential([ l.Reshape(target_shape=input_shape, input_shape=(28 * 28,)), l.Conv2D( 32, 5, padding='same', data_format=data_format, activation=nn.relu), max_pool, l.Conv2D( 64, 5, padding='same', data_format=data_format, activation=nn.relu), max_pool, l.Flatten(), l.Dense(1024, activation=nn.relu), l.Dropout(0.4), l.Dense(10) ]) image = random_ops.random_uniform([2, 28, 28]) label = random_ops.random_uniform([2, 1], maxval=10, dtype=dtypes.int32) logits = model(image, training=True) # TODO(yuefengz): make loss a callable for eager mode. loss = losses.sparse_softmax_cross_entropy(labels=label, logits=logits) optimizer = adam.AdamOptimizer(learning_rate=1e-4) train_op = optimizer.minimize(loss, training_util.get_or_create_global_step()) return train_op with ops.Graph().as_default(), \ self.cached_session(config=config, target=master_target) as sess: with d.scope(): train_op = d.extended.call_for_each_replica(model_fn) train_op = d.group(d.unwrap(train_op)) sess.run(variables.global_variables_initializer()) sess.run(train_op) return True def _test_variable_initialization(self, task_type, task_id, num_gpus): distribution, master_target, config = self._get_test_object( task_type, task_id, num_gpus) with ops.Graph().as_default(), \ self.cached_session(config=config, target=master_target) as sess, \ distribution.scope(): def model_fn(): x = variable_scope.get_variable( 'x', shape=(2, 3), initializer=init_ops.random_uniform_initializer( 1.0, 10.0, dtype=dtypes.float32)) return array_ops.identity(x) x = distribution.extended.call_for_each_replica(model_fn) reduced_x = distribution.reduce(reduce_util.ReduceOp.MEAN, x) x = distribution.unwrap(x)[0] sess.run(variables.global_variables_initializer()) x_value, reduced_x_value = sess.run([x, reduced_x]) self.assertTrue( np.allclose(x_value, reduced_x_value, atol=1e-5), msg=('x_value = %r, reduced_x_value = %r' % (x_value, reduced_x_value))) return np.allclose(x_value, reduced_x_value, atol=1e-5) def _test_input_fn_iterator(self, task_type, task_id, num_gpus, input_fn, expected_values, test_reinitialize=True): distribution, master_target, config = self._get_test_object( task_type, task_id, num_gpus) devices = distribution.extended.worker_devices with ops.Graph().as_default(), \ self.cached_session(config=config, target=master_target) as sess: iterator = distribution.make_input_fn_iterator(input_fn) sess.run(iterator.initialize()) for expected_value in expected_values: next_element = iterator.get_next() computed_value = sess.run([values.select_replica(r, next_element) for r in range(len(devices))]) self.assertEqual(expected_value, computed_value) with self.assertRaises(errors.OutOfRangeError): next_element = iterator.get_next() sess.run([values.select_replica(r, next_element) for r in range(len(devices))]) # After re-initializing the iterator, should be able to iterate again. if test_reinitialize: sess.run(iterator.initialize()) for expected_value in expected_values: next_element = iterator.get_next() computed_value = sess.run([values.select_replica(r, next_element) for r in range(len(devices))]) self.assertEqual(expected_value, computed_value) class DistributedCollectiveAllReduceStrategyTest( CollectiveAllReduceStrategyTestBase, strategy_test_lib.DistributionTestBase, parameterized.TestCase): @classmethod def setUpClass(cls): """Create a local cluster with 3 workers.""" cls._cluster_spec = multi_worker_test_base.create_in_process_cluster( num_workers=3, num_ps=0) def test_num_replicas_in_sync(self): distribution = collective_all_reduce_strategy.CollectiveAllReduceStrategy( num_gpus_per_worker=2) distribution.configure(cluster_spec=self._cluster_spec, task_type='worker', task_id=0) num_workers = len(self._cluster_spec.get('chief', []) + self._cluster_spec.get('worker', [])) self.assertEqual(2 * num_workers, distribution.num_replicas_in_sync) @combinations.generate( combinations.combine(mode=['graph'], num_gpus=[0, 1, 2], required_gpus=1)) def testMinimizeLossGraph(self, num_gpus): self._run_between_graph_clients(self._test_minimize_loss_graph, self._cluster_spec, num_gpus) @combinations.generate( combinations.combine(mode=['graph'], num_gpus=[0, 1, 2], required_gpus=1)) def testVariableInitialization(self, num_gpus): if context.num_gpus() < num_gpus: self.skipTest('Not enough GPUs') self._run_between_graph_clients( self._test_variable_initialization, self._cluster_spec, num_gpus=num_gpus) @combinations.generate( combinations.combine(mode=['graph'], num_gpus=[0, 1, 2], required_gpus=1)) def testComplexModel(self, num_gpus): if context.num_gpus() < num_gpus: self.skipTest('Not enough GPUs') self._run_between_graph_clients( self._test_complex_model, self._cluster_spec, num_gpus=num_gpus) # TODO(yuefengz): Update how we use num_gpus and required_gpus @combinations.generate( combinations.combine(mode=['graph'], num_gpus=[0, 1, 2], required_gpus=1, use_dataset=[True, False])) def testMakeInputFnIterator(self, num_gpus, use_dataset): if context.num_gpus() < num_gpus: self.skipTest('Not enough GPUs') if use_dataset: fn = lambda: dataset_ops.Dataset.range(100) else: def fn(): dataset = dataset_ops.Dataset.range(100) it = dataset.make_one_shot_iterator() return it.get_next # We use CPU as the device when num_gpus = 0 devices_per_worker = max(1, num_gpus) expected_values = [[i+j for j in range(devices_per_worker)] for i in range(0, 100, devices_per_worker)] input_fn = self._input_fn_to_test_input_context( fn, expected_num_replicas_in_sync=3*devices_per_worker, expected_num_input_pipelines=3, expected_input_pipeline_id=1) # because task_id = 1 self._test_input_fn_iterator('worker', 1, num_gpus, input_fn, expected_values, test_reinitialize=use_dataset) def testUpdateConfigProto(self): distribution = collective_all_reduce_strategy.CollectiveAllReduceStrategy( num_gpus_per_worker=2) distribution.configure( cluster_spec=self._cluster_spec, task_type='worker', task_id=1) config_proto = config_pb2.ConfigProto(device_filters=['to_be_overridden']) rewrite_options = config_proto.graph_options.rewrite_options rewrite_options.scoped_allocator_opts.enable_op.append('to_be_removed') new_config = distribution.update_config_proto(config_proto) # Verify group leader self.assertEqual('/job:worker/replica:0/task:0', new_config.experimental.collective_group_leader) # Verify device filters. self.assertEqual(['/job:worker/task:1'], new_config.device_filters) # Verify rewrite options. new_rewrite_options = new_config.graph_options.rewrite_options self.assertEqual(rewriter_config_pb2.RewriterConfig.ON, new_rewrite_options.scoped_allocator_optimization) self.assertEqual(['CollectiveReduce'], new_rewrite_options.scoped_allocator_opts.enable_op) class DistributedCollectiveAllReduceStrategyTestWithChief( CollectiveAllReduceStrategyTestBase, parameterized.TestCase): @classmethod def setUpClass(cls): """Create a local cluster with 3 workers and 1 chief.""" cls._cluster_spec = multi_worker_test_base.create_in_process_cluster( num_workers=3, num_ps=0, has_chief=True) @combinations.generate( combinations.combine(mode=['graph'], num_gpus=[0, 1, 2], required_gpus=1)) def testMinimizeLossGraph(self, num_gpus): self._run_between_graph_clients(self._test_minimize_loss_graph, self._cluster_spec, num_gpus) @combinations.generate( combinations.combine(mode=['graph'], num_gpus=[0, 1, 2], required_gpus=1)) def testVariableInitialization(self, num_gpus): if context.num_gpus() < num_gpus: return self._run_between_graph_clients( self._test_variable_initialization, self._cluster_spec, num_gpus=num_gpus) @combinations.generate( combinations.combine(mode=['graph'], num_gpus=[0, 1, 2], required_gpus=1)) def testComplexModel(self, num_gpus): if context.num_gpus() < num_gpus: return self._run_between_graph_clients( self._test_complex_model, self._cluster_spec, num_gpus=num_gpus) class LocalCollectiveAllReduceStrategy( CollectiveAllReduceStrategyTestBase, strategy_test_lib.DistributionTestBase, strategy_test_lib.TwoDeviceDistributionTestBase, parameterized.TestCase): @combinations.generate( combinations.combine( mode=['graph', 'eager'], num_gpus=[2, 4], required_gpus=2)) def testMinimizeLoss(self, num_gpus): # Collective ops doesn't support strategy with one device. if context.num_gpus() < num_gpus: self.skipTest('Not enough GPUs') if context.executing_eagerly(): strategy, _, _ = self._get_test_object(None, None, num_gpus) self._test_minimize_loss_eager(strategy) else: self._test_minimize_loss_graph(None, None, num_gpus) @combinations.generate( combinations.combine(mode=['graph'], num_gpus=[2, 4], required_gpus=2)) def testComplexModel(self, num_gpus): if context.num_gpus() < num_gpus: self.skipTest('Not enough GPUs') self._test_complex_model(None, None, num_gpus) @combinations.generate( combinations.combine(mode=['graph', 'eager'], required_gpus=2, use_dataset=[True, False])) def testMakeInputFnIterator(self, use_dataset): num_gpus = 2 if use_dataset: fn = lambda: dataset_ops.Dataset.range(5 * num_gpus) else: def fn(): dataset = dataset_ops.Dataset.range(5 * num_gpus) it = dataset.make_one_shot_iterator() return it.get_next expected_values = [range(i, i + num_gpus) for i in range(0, 10, num_gpus)] input_fn = self._input_fn_to_test_input_context( fn, expected_num_replicas_in_sync=num_gpus, expected_num_input_pipelines=1, expected_input_pipeline_id=0) self._test_input_fn_iterator(None, None, num_gpus, input_fn, expected_values, test_reinitialize=use_dataset) def testAllReduceSum(self): if context.num_gpus() < 2: self.skipTest('Not enough GPUs') distribution, target, config = self._get_test_object(None, None, num_gpus=2) with self.cached_session(config=config, target=target): self._test_all_reduce_sum(distribution) def testAllReduceSumGradients(self): if context.num_gpus() < 2: self.skipTest('Not enough GPUs') distribution, target, config = self._get_test_object(None, None, num_gpus=2) with self.cached_session(config=config, target=target): self._test_all_reduce_sum_gradients(distribution) def testAllReduceSumGradientTape(self): if context.num_gpus() < 2: self.skipTest('Not enough GPUs') distribution, target, config = self._get_test_object(None, None, num_gpus=2) with self.cached_session(config=config, target=target): self._test_all_reduce_sum_gradient_tape(distribution) def testAllReduceMean(self): if context.num_gpus() < 2: self.skipTest('Not enough GPUs') distribution, target, config = self._get_test_object(None, None, num_gpus=2) with self.cached_session(config=config, target=target): self._test_all_reduce_mean(distribution) def testAllReduceMeanGradients(self): if context.num_gpus() < 2: self.skipTest('Not enough GPUs') distribution, target, config = self._get_test_object(None, None, num_gpus=2) with self.cached_session(config=config, target=target): self._test_all_reduce_mean_gradients(distribution) def testAllReduceMeanGradientTape(self): if context.num_gpus() < 2: self.skipTest('Not enough GPUs') distribution, target, config = self._get_test_object(None, None, num_gpus=2) with self.cached_session(config=config, target=target): self._test_all_reduce_mean_gradient_tape(distribution) def testNumpyIterator(self): num_gpus = 2 if context.num_gpus() < num_gpus: self.skipTest('Not enough GPUs') strategy, _, _ = self._get_test_object(None, None, num_gpus) self._test_numpy_iterator(strategy) if __name__ == '__main__': test.main()
06b73b205e1b8bcfe3abcb46015a46db42931544
74cf86509c669799a3a7ed4b7982d59dde695230
/pilot_paper_code/plotting_code/plotVel_vs_b.py
a97e15c7083695a8923df0db809d5dd2efab34ad
[]
no_license
frenchd24/pilot_paper
e77103ec4873758474f9020c76a8dad86fc6519c
a8d9191f9e435e02a8f6acfbd85ede32bdfd405d
refs/heads/master
2020-05-20T06:54:13.266061
2019-05-07T17:08:42
2019-05-07T17:08:42
185,438,946
0
0
null
null
null
null
UTF-8
Python
false
false
12,499
py
#!/usr/bin/env python ''' By David French ([email protected]) $Id: plotVel_vs_b.py, v 1.1 04/21/2016 Plot the velocity and velocity difference as a function of dopplar b-parameter - (03/02/2016) v1.1: remake plots with v_hel instead of vcorr (4/21/16) ''' import sys import os import csv from pylab import * # import atpy from math import * from utilities import * import getpass import pickle # from astropy.io.votable import parse,tree # from vo.table import parse # import vo.tree import numpy as np import matplotlib.pyplot as plt from matplotlib.ticker import NullFormatter from matplotlib import rc # rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) # ## for Palatino and other serif fonts use: # #rc('font',**{'family':'serif','serif':['Palatino']}) # rc('text', usetex=True) ########################################################################### def main(): # assuming 'theFile' contains one name per line, read the file if getpass.getuser() == 'David': pickleFilename = '/Users/David/Research_Documents/inclination/git_inclination/pilot_paper_code/pilotData2.p' # resultsFilename = '/Users/David/Research_Documents/inclination/git_inclination/LG_correlation_combined5_8_edit2.csv' # saveDirectory = '/Users/David/Research_Documents/inclination/git_inclination/pilot_paper_code/plots2/' resultsFilename = '/Users/David/Research_Documents/inclination/git_inclination/LG_correlation_combined5_9_edit2.csv' saveDirectory = '/Users/David/Research_Documents/inclination/git_inclination/pilot_paper_code/plots3/' elif getpass.getuser() == 'frenchd': pickleFilename = '/usr/users/frenchd/inclination/git_inclination/pilot_paper_code/pilotData2.p' # resultsFilename = '/usr/users/frenchd/inclination/git_inclination/LG_correlation_combined5_8_edit2.csv' # saveDirectory = '/usr/users/frenchd/inclination/git_inclination/pilot_paper_code/plots2/' resultsFilename = '/usr/users/frenchd/inclination/git_inclination/LG_correlation_combined5_9_edit2.csv' saveDirectory = '/usr/users/frenchd/inclination/git_inclination/pilot_paper_code/plots3/' else: print 'Could not determine username. Exiting.' sys.exit() # use the old pickle file to get the full galaxy dataset info pickleFile = open(pickleFilename,'rU') fullDict = pickle.load(pickleFile) pickleFile.close() # save each plot? save = False results = open(resultsFilename,'rU') reader = csv.DictReader(results) virInclude = False cusInclude = False finalInclude = True # if match, then the includes in the file have to MATCH the includes above. e.g., if # virInclude = False, cusInclude = True, finalInclude = False, then only systems # matching those three would be included. Otherwise, all cusInclude = True would be included # regardless of the others match = False # all the lists to be used for associated lines lyaVList = [] lyaWList = [] lyaErrList = [] naList = [] bList = [] impactList = [] azList = [] incList = [] fancyIncList = [] cosIncList = [] cosFancyIncList = [] paList = [] vcorrList = [] majList = [] difList = [] envList = [] morphList = [] m15List = [] virList = [] likeList = [] likem15List = [] # for ambiguous lines lyaVAmbList = [] lyaWAmbList = [] envAmbList = [] for l in reader: include_vir = eval(l['include_vir']) include_cus = eval(l['include_custom']) include = eval(l['include']) go = False if match: if virInclude == include_vir and cusInclude == include_cus: go = True else: go = False else: if virInclude and include_vir: go = True elif cusInclude and include_cus: go = True elif finalInclude and include: go = True else: go = False if go: AGNra_dec = eval(l['degreesJ2000RA_DecAGN']) galaxyRA_Dec = eval(l['degreesJ2000RA_DecGalaxy']) lyaV = l['Lya_v'] lyaW = l['Lya_W'].partition('pm')[0] lyaW_err = l['Lya_W'].partition('pm')[2] env = l['environment'] galaxyName = l['galaxyName'] impact = l['impactParameter (kpc)'] galaxyDist = l['distGalaxy (Mpc)'] pa = l['positionAngle (deg)'] RC3pa = l['RC3pa (deg)'] morph = l['morphology'] vcorr = l['vcorrGalaxy (km/s)'] maj = l['majorAxis (kpc)'] minor = l['minorAxis (kpc)'] inc = l['inclination (deg)'] az = l['azimuth (deg)'] b = l['b'].partition('pm')[0] b_err = l['b'].partition('pm')[2] na = eval(l['Na'].partition(' pm ')[0]) # print "l['Na'].partition(' pm ')[2] : ",l['Na'].partition(' pm ') na_err = eval(l['Na'].partition(' pm ')[2]) likelihood = l['likelihood'] likelihoodm15 = l['likelihood_1.5'] virialRadius = l['virialRadius'] m15 = l['d^1.5'] vel_diff = l['vel_diff'] if isNumber(inc): cosInc = cos(float(inc) * pi/180.) if isNumber(maj) and isNumber(minor): q0 = 0.2 fancyInc = calculateFancyInclination(maj,minor,q0) cosFancyInc = cos(fancyInc * pi/180) else: fancyInc = -99 cosFancyInc = -99 else: cosInc = -99 inc = -99 fancyInc = -99 cosFancyInc = -99 if isNumber(pa): pa = float(pa) elif isNumber(RC3pa): pa = float(RC3pa) else: pa = -99 if isNumber(az): az = float(az) else: az = -99 if isNumber(maj): maj = float(maj) virialRadius = float(virialRadius) else: maj = -99 virialRadius = -99 if isNumber(b): b = float(b) else: b = -99 # all the lists to be used for associated lines lyaVList.append(float(lyaV)) lyaWList.append(float(lyaW)) lyaErrList.append(float(lyaW_err)) naList.append(na) bList.append(float(b)) impactList.append(float(impact)) azList.append(az) incList.append(float(inc)) fancyIncList.append(fancyInc) cosIncList.append(cosInc) cosFancyIncList.append(cosFancyInc) paList.append(pa) vcorrList.append(vcorr) majList.append(maj) difList.append(float(vel_diff)) envList.append(float(env)) morphList.append(morph) m15List.append(m15) virList.append(virialRadius) likeList.append(likelihood) likem15List.append(likelihoodm15) else: lyaV = l['Lya_v'] lyaW = l['Lya_W'].partition('pm')[0] lyaW_err = l['Lya_W'].partition('pm')[2] env = l['environment'] lyaVAmbList.append(float(lyaV)) lyaWAmbList.append(float(lyaW)) envAmbList.append(float(env)) results.close() # lists for the full galaxy dataset allPA = fullDict['allPA'] allInclinations = fullDict['allInclinations'] allCosInclinations = fullDict['allCosInclinations'] allFancyInclinations = fullDict['allFancyInclinations'] allCosFancyInclinations = fullDict['allCosFancyInclinations'] total = 0 totalNo = 0 totalYes = 0 totalIsolated = 0 totalGroup = 0 ######################################################################################## ######################################################################################## # plot velocity difference as a function of dopplar b-parameter # plotVeldif_vs_b = True save = False if plotVeldif_vs_b: fig = figure() ax = fig.add_subplot(111) countb = 0 countr = 0 count = -1 labelr = 'Redshifted Absorber' labelb = "Blueshifted Absorber" for d,b,w,v in zip(difList,bList,lyaWList,virList): # check if all the values are okay if isNumber(d) and isNumber(b) and isNumber(w) and isNumber(v): if d!=-99 and b!=-99 and w!=-99 and v!=-99: if d>0: # galaxy is behind absorber, so gas is blue shifted color = 'Blue' if countb == 0: countb +=1 plotb = ax.scatter(b,d,c='Blue',s=50,label= labelb) if d<0: # gas is red shifted compared to galaxy color = 'Red' if countr == 0: countr +=1 plotr = ax.scatter(b,abs(d),c='Red',s=50,label= labelr) plot1 = scatter(b,abs(d),c=color,s=50) xlabel(r'$b$ [km/s]') ylabel(r'$\rm \Delta v (km/s)$') legend(scatterpoints=1) ax.grid(b=None,which='major',axis='both') ylim(0,400) # xlim(0,max(virList)+10) # ylim(0,max(lyaWList)+50) # xlim(0,10) if save: savefig('{0}/vel_dif(b).pdf'.format(saveDirectory),format='pdf') else: show() ######################################################################################## ######################################################################################## # plot dopplar b-parameter as a function of Lyalpha absorption velocity # plotVel_vs_b = False save = False if plotVel_vs_b: fig = figure() ax = fig.add_subplot(111) countb = 0 countr = 0 count = -1 labelr = 'Redshifted Absorber' labelb = "Blueshifted Absorber" # give some stats: print 'bList: ',bList for d,v,b,vir in zip(difList,lyaVList,bList,virList): # check if all the values are okay if isNumber(d) and isNumber(v) and isNumber(b) and isNumber(vir): if d!=-99 and v!=-99 and b!=-99 and vir!=-99: if d>0: # galaxy is behind absorber, so gas is blue shifted color = 'Blue' if countb == 0: countb +=1 plotb = ax.scatter(v,b,c='Blue',s=50,label= labelb) if d<0: # gas is red shifted compared to galaxy color = 'Red' if countr == 0: countr +=1 plotr = ax.scatter(v,b,c='Red',s=50,label= labelr) plot1 = scatter(v,b,c=color,s=50) xlabel(r'$\rm v_{Ly\alpha} (km/s)$') ylabel(r'$b$ [km/s]') legend(scatterpoints=1) ax.grid(b=None,which='major',axis='both') # ylim(0,400) # xlim(0,max(envList)+1) if save: savefig('{0}/b_(vel).pdf'.format(saveDirectory),format='pdf') else: show() ########################################################################################## ########################################################################################## ########################################################################################## ########################################################################################## if __name__=="__main__": # do the work main()
e0b9a8251d2bf82dc6d619fb9b85385bc66f859b
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Shapely_numpy/source/numpy/ma/tests/test_subclassing.py
8198c9d3593680cf24b925019336e88936468742
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
13,251
py
# pylint: disable-msg=W0611, W0612, W0511,R0201 """Tests suite for MaskedArray & subclassing. :author: Pierre Gerard-Marchant :contact: pierregm_at_uga_dot_edu :version: $Id: test_subclassing.py 3473 2007-10-29 15:18:13Z jarrod.millman $ """ from __future__ import division, absolute_import, print_function import numpy as np from numpy.testing import TestCase, run_module_suite, assert_raises from numpy.ma.testutils import assert_equal from numpy.ma.core import ( array, arange, masked, MaskedArray, masked_array, log, add, hypot, divide, asarray, asanyarray, nomask ) # from numpy.ma.core import ( class SubArray(np.ndarray): # Defines a generic np.ndarray subclass, that stores some metadata # in the dictionary `info`. def __new__(cls,arr,info={}): x = np.asanyarray(arr).view(cls) x.info = info.copy() return x def __array_finalize__(self, obj): if callable(getattr(super(SubArray, self), '__array_finalize__', None)): super(SubArray, self).__array_finalize__(obj) self.info = getattr(obj, 'info', {}).copy() return def __add__(self, other): result = super(SubArray, self).__add__(other) result.info['added'] = result.info.get('added', 0) + 1 return result def __iadd__(self, other): result = super(SubArray, self).__iadd__(other) result.info['iadded'] = result.info.get('iadded', 0) + 1 return result subarray = SubArray class SubMaskedArray(MaskedArray): """Pure subclass of MaskedArray, keeping some info on subclass.""" def __new__(cls, info=None, **kwargs): obj = super(SubMaskedArray, cls).__new__(cls, **kwargs) obj._optinfo['info'] = info return obj class MSubArray(SubArray, MaskedArray): def __new__(cls, data, info={}, mask=nomask): subarr = SubArray(data, info) _data = MaskedArray.__new__(cls, data=subarr, mask=mask) _data.info = subarr.info return _data def _get_series(self): _view = self.view(MaskedArray) _view._sharedmask = False return _view _series = property(fget=_get_series) msubarray = MSubArray class MMatrix(MaskedArray, np.matrix,): def __new__(cls, data, mask=nomask): mat = np.matrix(data) _data = MaskedArray.__new__(cls, data=mat, mask=mask) return _data def __array_finalize__(self, obj): np.matrix.__array_finalize__(self, obj) MaskedArray.__array_finalize__(self, obj) return def _get_series(self): _view = self.view(MaskedArray) _view._sharedmask = False return _view _series = property(fget=_get_series) mmatrix = MMatrix # Also a subclass that overrides __str__, __repr__ and __setitem__, disallowing # setting to non-class values (and thus np.ma.core.masked_print_option) # and overrides __array_wrap__, updating the info dict, to check that this # doesn't get destroyed by MaskedArray._update_from. But this one also needs # its own iterator... class CSAIterator(object): """ Flat iterator object that uses its own setter/getter (works around ndarray.flat not propagating subclass setters/getters see https://github.com/numpy/numpy/issues/4564) roughly following MaskedIterator """ def __init__(self, a): self._original = a self._dataiter = a.view(np.ndarray).flat def __iter__(self): return self def __getitem__(self, indx): out = self._dataiter.__getitem__(indx) if not isinstance(out, np.ndarray): out = out.__array__() out = out.view(type(self._original)) return out def __setitem__(self, index, value): self._dataiter[index] = self._original._validate_input(value) def __next__(self): return next(self._dataiter).__array__().view(type(self._original)) next = __next__ class ComplicatedSubArray(SubArray): def __str__(self): return 'myprefix {0} mypostfix'.format(self.view(SubArray)) def __repr__(self): # Return a repr that does not start with 'name(' return '<{0} {1}>'.format(self.__class__.__name__, self) def _validate_input(self, value): if not isinstance(value, ComplicatedSubArray): raise ValueError("Can only set to MySubArray values") return value def __setitem__(self, item, value): # validation ensures direct assignment with ndarray or # masked_print_option will fail super(ComplicatedSubArray, self).__setitem__( item, self._validate_input(value)) def __getitem__(self, item): # ensure getter returns our own class also for scalars value = super(ComplicatedSubArray, self).__getitem__(item) if not isinstance(value, np.ndarray): # scalar value = value.__array__().view(ComplicatedSubArray) return value @property def flat(self): return CSAIterator(self) @flat.setter def flat(self, value): y = self.ravel() y[:] = value def __array_wrap__(self, obj, context=None): obj = super(ComplicatedSubArray, self).__array_wrap__(obj, context) if context is not None and context[0] is np.multiply: obj.info['multiplied'] = obj.info.get('multiplied', 0) + 1 return obj class TestSubclassing(TestCase): # Test suite for masked subclasses of ndarray. def setUp(self): x = np.arange(5, dtype='float') mx = mmatrix(x, mask=[0, 1, 0, 0, 0]) self.data = (x, mx) def test_data_subclassing(self): # Tests whether the subclass is kept. x = np.arange(5) m = [0, 0, 1, 0, 0] xsub = SubArray(x) xmsub = masked_array(xsub, mask=m) self.assertTrue(isinstance(xmsub, MaskedArray)) assert_equal(xmsub._data, xsub) self.assertTrue(isinstance(xmsub._data, SubArray)) def test_maskedarray_subclassing(self): # Tests subclassing MaskedArray (x, mx) = self.data self.assertTrue(isinstance(mx._data, np.matrix)) def test_masked_unary_operations(self): # Tests masked_unary_operation (x, mx) = self.data with np.errstate(divide='ignore'): self.assertTrue(isinstance(log(mx), mmatrix)) assert_equal(log(x), np.log(x)) def test_masked_binary_operations(self): # Tests masked_binary_operation (x, mx) = self.data # Result should be a mmatrix self.assertTrue(isinstance(add(mx, mx), mmatrix)) self.assertTrue(isinstance(add(mx, x), mmatrix)) # Result should work assert_equal(add(mx, x), mx+x) self.assertTrue(isinstance(add(mx, mx)._data, np.matrix)) self.assertTrue(isinstance(add.outer(mx, mx), mmatrix)) self.assertTrue(isinstance(hypot(mx, mx), mmatrix)) self.assertTrue(isinstance(hypot(mx, x), mmatrix)) def test_masked_binary_operations2(self): # Tests domained_masked_binary_operation (x, mx) = self.data xmx = masked_array(mx.data.__array__(), mask=mx.mask) self.assertTrue(isinstance(divide(mx, mx), mmatrix)) self.assertTrue(isinstance(divide(mx, x), mmatrix)) assert_equal(divide(mx, mx), divide(xmx, xmx)) def test_attributepropagation(self): x = array(arange(5), mask=[0]+[1]*4) my = masked_array(subarray(x)) ym = msubarray(x) # z = (my+1) self.assertTrue(isinstance(z, MaskedArray)) self.assertTrue(not isinstance(z, MSubArray)) self.assertTrue(isinstance(z._data, SubArray)) assert_equal(z._data.info, {}) # z = (ym+1) self.assertTrue(isinstance(z, MaskedArray)) self.assertTrue(isinstance(z, MSubArray)) self.assertTrue(isinstance(z._data, SubArray)) self.assertTrue(z._data.info['added'] > 0) # Test that inplace methods from data get used (gh-4617) ym += 1 self.assertTrue(isinstance(ym, MaskedArray)) self.assertTrue(isinstance(ym, MSubArray)) self.assertTrue(isinstance(ym._data, SubArray)) self.assertTrue(ym._data.info['iadded'] > 0) # ym._set_mask([1, 0, 0, 0, 1]) assert_equal(ym._mask, [1, 0, 0, 0, 1]) ym._series._set_mask([0, 0, 0, 0, 1]) assert_equal(ym._mask, [0, 0, 0, 0, 1]) # xsub = subarray(x, info={'name':'x'}) mxsub = masked_array(xsub) self.assertTrue(hasattr(mxsub, 'info')) assert_equal(mxsub.info, xsub.info) def test_subclasspreservation(self): # Checks that masked_array(...,subok=True) preserves the class. x = np.arange(5) m = [0, 0, 1, 0, 0] xinfo = [(i, j) for (i, j) in zip(x, m)] xsub = MSubArray(x, mask=m, info={'xsub':xinfo}) # mxsub = masked_array(xsub, subok=False) self.assertTrue(not isinstance(mxsub, MSubArray)) self.assertTrue(isinstance(mxsub, MaskedArray)) assert_equal(mxsub._mask, m) # mxsub = asarray(xsub) self.assertTrue(not isinstance(mxsub, MSubArray)) self.assertTrue(isinstance(mxsub, MaskedArray)) assert_equal(mxsub._mask, m) # mxsub = masked_array(xsub, subok=True) self.assertTrue(isinstance(mxsub, MSubArray)) assert_equal(mxsub.info, xsub.info) assert_equal(mxsub._mask, xsub._mask) # mxsub = asanyarray(xsub) self.assertTrue(isinstance(mxsub, MSubArray)) assert_equal(mxsub.info, xsub.info) assert_equal(mxsub._mask, m) def test_subclass_items(self): """test that getter and setter go via baseclass""" x = np.arange(5) xcsub = ComplicatedSubArray(x) mxcsub = masked_array(xcsub, mask=[True, False, True, False, False]) # getter should return a ComplicatedSubArray, even for single item # first check we wrote ComplicatedSubArray correctly self.assertTrue(isinstance(xcsub[1], ComplicatedSubArray)) self.assertTrue(isinstance(xcsub[1:4], ComplicatedSubArray)) # now that it propagates inside the MaskedArray self.assertTrue(isinstance(mxcsub[1], ComplicatedSubArray)) self.assertTrue(mxcsub[0] is masked) self.assertTrue(isinstance(mxcsub[1:4].data, ComplicatedSubArray)) # also for flattened version (which goes via MaskedIterator) self.assertTrue(isinstance(mxcsub.flat[1].data, ComplicatedSubArray)) self.assertTrue(mxcsub[0] is masked) self.assertTrue(isinstance(mxcsub.flat[1:4].base, ComplicatedSubArray)) # setter should only work with ComplicatedSubArray input # first check we wrote ComplicatedSubArray correctly assert_raises(ValueError, xcsub.__setitem__, 1, x[4]) # now that it propagates inside the MaskedArray assert_raises(ValueError, mxcsub.__setitem__, 1, x[4]) assert_raises(ValueError, mxcsub.__setitem__, slice(1, 4), x[1:4]) mxcsub[1] = xcsub[4] mxcsub[1:4] = xcsub[1:4] # also for flattened version (which goes via MaskedIterator) assert_raises(ValueError, mxcsub.flat.__setitem__, 1, x[4]) assert_raises(ValueError, mxcsub.flat.__setitem__, slice(1, 4), x[1:4]) mxcsub.flat[1] = xcsub[4] mxcsub.flat[1:4] = xcsub[1:4] def test_subclass_repr(self): """test that repr uses the name of the subclass and 'array' for np.ndarray""" x = np.arange(5) mx = masked_array(x, mask=[True, False, True, False, False]) self.assertTrue(repr(mx).startswith('masked_array')) xsub = SubArray(x) mxsub = masked_array(xsub, mask=[True, False, True, False, False]) self.assertTrue(repr(mxsub).startswith( 'masked_{0}(data = [-- 1 -- 3 4]'.format(SubArray.__name__))) def test_subclass_str(self): """test str with subclass that has overridden str, setitem""" # first without override x = np.arange(5) xsub = SubArray(x) mxsub = masked_array(xsub, mask=[True, False, True, False, False]) self.assertTrue(str(mxsub) == '[-- 1 -- 3 4]') xcsub = ComplicatedSubArray(x) assert_raises(ValueError, xcsub.__setitem__, 0, np.ma.core.masked_print_option) mxcsub = masked_array(xcsub, mask=[True, False, True, False, False]) self.assertTrue(str(mxcsub) == 'myprefix [-- 1 -- 3 4] mypostfix') def test_pure_subclass_info_preservation(self): # Test that ufuncs and methods conserve extra information consistently; # see gh-7122. arr1 = SubMaskedArray('test', data=[1,2,3,4,5,6]) arr2 = SubMaskedArray(data=[0,1,2,3,4,5]) diff1 = np.subtract(arr1, arr2) self.assertTrue('info' in diff1._optinfo) self.assertTrue(diff1._optinfo['info'] == 'test') diff2 = arr1 - arr2 self.assertTrue('info' in diff2._optinfo) self.assertTrue(diff2._optinfo['info'] == 'test') ############################################################################### if __name__ == '__main__': run_module_suite()
a521964d8e8464d965b9154d8ced63e65c5d7094
d27af9d58b91b8cd998ac0eb87d980d304ff0670
/Beginner-Contest/ABC111/ABC111_B.py
32201fad3a3c038e022bedc7f8262a0eb6645da9
[]
no_license
mongesan/Atcoder-m0_ngesan-py
29dd79daab149003ffc8b6b6bad5fa2e7daa9646
6654af034d4ff4cece1be04c2c8b756976d99a4b
refs/heads/master
2023-08-20T19:50:04.547025
2021-10-27T12:24:51
2021-10-27T12:24:51
258,486,105
1
0
null
null
null
null
UTF-8
Python
false
false
9
py
#ABC111_B
f4d4477c62a9b7c90942fce44f0792f8b0c019a1
c3a84a07539c33040376f2c1e140b1a1041f719e
/wagtail-stubs/admin/views/tags.pyi
55025030a9dcc5f24d36277a1b5c72bd7e56c396
[]
no_license
tm-kn/tmp-wagtail-stubs
cc1a4434b7142cb91bf42efb7daad006c4a7dbf4
23ac96406610b87b2e7751bc18f0ccd27f17eb44
refs/heads/master
2023-01-20T14:41:33.962460
2020-11-30T23:15:38
2020-11-30T23:15:38
317,332,280
0
0
null
null
null
null
UTF-8
Python
false
false
134
pyi
from typing import Any, Optional def autocomplete(request: Any, app_name: Optional[Any] = ..., model_name: Optional[Any] = ...): ...
020965ab409130059e4fb9e1e3a6cf4d39e75232
864755f7d733351b205e460ec54a5f6d13050037
/devilry/devilry_settings/views.py
602dd5a1b02bebe44232137c80586840865b0340
[]
permissive
aless80/devilry-django
27fc14b7bb7356f5f9d168e435a84e7bb43a682a
416c262e75170d5662542f15e2d7fecf5ab84730
refs/heads/master
2020-05-20T12:22:09.255393
2019-05-19T21:06:57
2019-05-19T21:06:57
185,568,847
0
0
BSD-3-Clause
2019-05-08T08:53:52
2019-05-08T08:53:51
null
UTF-8
Python
false
false
753
py
from django.http import HttpResponse from django.conf import settings from django.contrib.auth.decorators import login_required from django.core.urlresolvers import reverse @login_required def missing_setting(request, setting): message = """ You have been redirected to this view because your local Devilry system administrator have not set the <strong>{setting}</strong>-setting. Please tell them to set it.""".format(setting=setting) return HttpResponse('<html><body>{message}</body></html>'.format(message=message)) def urlsetting_or_unsetview(settingname): setting = getattr(settings, settingname, None) if setting: return setting else: return reverse('devilry_settings_missing_setting', args=(settingname,))
2155e9730a7adb5594c0a9c0e5138143f70e3f0e
f8cf0f8d3ca1784b59fff380b99c4fa4da225389
/ceshi/configparser/test.py
4369761d2860981c381117b763a2d97b2035bd9f
[]
no_license
loveguan/mysite
6f3c10c9bd1780a6a3c789c03ef66a10b186da92
7217b0e111626af0e6afddd0bc405705cf9641ca
refs/heads/master
2021-01-01T20:49:45.367058
2018-02-05T14:19:42
2018-02-05T14:19:42
98,939,981
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: JOJ @license: (C) Copyright 2013-2017, Node Supply Chain Manager Corporation Limited. @contact: [email protected] @software: JOJ @file: test.py @time: 2017/12/14 15:42 @desc: 建立配置文件 ''' import configparser config=configparser.ConfigParser() config["DEFAULT"]={'ServerAliveInterval': '45', 'Compression': 'yes', 'CompressionLevel': '9'} config['bitbucket.org'] = {} config['bitbucket.org']['User'] = 'hg' config['topsecret.server.com'] = {} topsecret = config['topsecret.server.com'] topsecret['Host Port'] = '50022' # mutates the parser topsecret['ForwardX11'] = 'no' # same here config['DEFAULT']['ForwardX11'] = 'yes' with open('example.ini','w') as configfile: config.write(configfile)
f3cd6766d23f03656ef3274d07cce9ea1489c132
350ecc8259bcad075bd376423335bb41cc8a533e
/classic_strategy1.py
50460f25736ecc5fcf66524f4c162073165d5ca1
[]
no_license
CodedQuen/python_begin
39da66ecc4a77b94a5afbbf0900727c8156b85e1
1433c319b5d85520c50aee00dd4b6f21a7e6366a
refs/heads/master
2022-06-10T10:30:28.807874
2020-04-25T03:34:03
2020-04-25T03:34:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,457
py
# classic_strategy.py # Strategy pattern -- classic implementation """ # BEGIN CLASSIC_STRATEGY_TESTS >>> joe = Customer('John Doe', 0) # <1> >>> ann = Customer('Ann Smith', 1100) >>> cart = [LineItem('banana', 4, .5), # <2> ... LineItem('apple', 10, 1.5), ... LineItem('watermellon', 5, 5.0)] >>> Order(joe, cart, FidelityPromo()) # <3> <Order total: 42.00 due: 42.00> >>> Order(ann, cart, FidelityPromo()) # <4> <Order total: 42.00 due: 39.90> >>> banana_cart = [LineItem('banana', 30, .5), # <5> ... LineItem('apple', 10, 1.5)] >>> Order(joe, banana_cart, BulkItemPromo()) # <6> <Order total: 30.00 due: 28.50> >>> long_order = [LineItem(str(item_code), 1, 1.0) # <7> ... for item_code in range(10)] >>> Order(joe, long_order, LargeOrderPromo()) # <8> <Order total: 10.00 due: 9.30> >>> Order(joe, cart, LargeOrderPromo()) <Order total: 42.00 due: 42.00> # END CLASSIC_STRATEGY_TESTS """ # BEGIN CLASSIC_STRATEGY from abc import ABC, abstractmethod from collections import namedtuple Customer = namedtuple('Customer', 'name fidelity') class LineItem: def __init__(self, product, quantity, price): self.product = product self.quantity = quantity self.price = price def total(self): return self.price * self.quantity class Order: # the Context def __init__(self, customer, cart, promotion=None): self.customer = customer self.cart = list(cart) self.promotion = promotion def total(self): if not hasattr(self, '__total'): self.__total = sum(item.total() for item in self.cart) return self.__total def due(self): if self.promotion is None: discount = 0 else: discount = self.promotion.discount(self) return self.total() - discount def __repr__(self): fmt = '<Order total: {:.2f} due: {:.2f}>' return fmt.format(self.total(), self.due()) class Promotion(ABC): # the Strategy: an Abstract Base Class @abstractmethod def discount(self, order): """Return discount as a positive dollar amount""" class FidelityPromo(Promotion): # first Concrete Strategy """5% discount for customers with 1000 or more fidelity points""" def discount(self, order): return order.total() * .05 if order.customer.fidelity >= 1000 else 0 class BulkItemPromo(Promotion): # second Concrete Strategy """10% discount for each LineItem with 20 or more units""" def discount(self, order): discount = 0 for item in order.cart: if item.quantity >= 20: discount += item.total() * .1 return discount class LargeOrderPromo(Promotion): # third Concrete Strategy """7% discount for orders with 10 or more distinct items""" def discount(self, order): distinct_items = {item.product for item in order.cart} if len(distinct_items) >= 10: return order.total() * .07 return 0 joe = Customer('John Doe', 0) ann = Customer('Ann Smith', 1100) cart = [LineItem('banana', 4, .5), LineItem('apple', 10, 1.5), LineItem('watermellon', 5, 5.0)] print(Order(joe, cart, FidelityPromo())) # END CLASSIC_STRATEGY
6f15e3cd583c011bb562a0b53d54bb954df4bb24
473507d7540ad1ee5ae2670ac18ace05cd50f6fa
/Math/excel_sheet_column_number.py
51d65533812a517cb65c1ea1328ec16f33f05486
[]
no_license
JunctionChao/LeetCode
4558c9d053f4a4d003903d08fade9fd93e6d9658
10daf38e673e69922f4be7eadf4054810da8ae13
refs/heads/master
2023-02-04T06:59:35.833078
2020-12-18T14:32:03
2020-12-18T14:32:03
322,617,457
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Date : 2019-09-19 # Author : Yuanbo Zhao ([email protected]) def titleToNumber(s: str) -> int: i = 0 result = 0 for char in s[::-1]: r = ord(char) - ord('A') + 1 result += r * 26**i i += 1 return result if __name__ == '__main__': print(titleToNumber('AA'))
4d2f0d2d4ca9497e547201b052c68f244f1836f0
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/astropy-4.0-py3.7-macosx-10.9-x86_64.egg/astropy/units/format/__init__.py
bad82f9313aa459bb138f442ee33f3d00bf7bc45
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
1,864
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ A collection of different unit formats. """ # This is pretty atrocious, but it will prevent a circular import for those # formatters that need access to the units.core module An entry for it should # exist in sys.modules since astropy.units.core imports this module import sys core = sys.modules['astropy.units.core'] from .base import Base from .generic import Generic, Unscaled from .cds import CDS from .console import Console from .fits import Fits from .latex import Latex, LatexInline from .ogip import OGIP from .unicode_format import Unicode from .vounit import VOUnit __all__ = [ 'Base', 'Generic', 'CDS', 'Console', 'Fits', 'Latex', 'LatexInline', 'OGIP', 'Unicode', 'Unscaled', 'VOUnit', 'get_format'] def get_format(format=None): """ Get a formatter by name. Parameters ---------- format : str or `astropy.units.format.Base` instance or subclass The name of the format, or the format instance or subclass itself. Returns ------- format : `astropy.units.format.Base` instance The requested formatter. """ if isinstance(format, type) and issubclass(format, Base): return format elif not (isinstance(format, str) or format is None): raise TypeError( "Formatter must a subclass or instance of a subclass of {!r} " "or a string giving the name of the formatter. Valid formatter " "names are: [{}]".format(Base, ', '.join(Base.registry))) if format is None: format = 'generic' format_lower = format.lower() if format_lower in Base.registry: return Base.registry[format_lower] raise ValueError("Unknown format {!r}. Valid formatter names are: " "[{}]".format(format, ', '.join(Base.registry)))
bb9fa8236399987f6814680af95a20481f9fc3d4
67b7e6d2c08f08403ec086c510622be48b8d26d8
/src/test/tinc/tincrepo/mpp/gpdb/tests/queries/basic/exttab/errlog/sql/datagen_first_errors.py
d83f25a62ae3d2681a21b0d929f720f87afcdc31
[ "Apache-2.0", "PostgreSQL", "LicenseRef-scancode-rsa-md4", "OLDAP-2.8", "HPND-sell-variant", "BSD-4-Clause-UC", "BSD-3-Clause", "Zlib", "LicenseRef-scancode-zeusbench", "LicenseRef-scancode-mit-modification-obligations", "OpenSSL", "MIT", "LicenseRef-scancode-other-copyleft", "bzip2-1.0.6", "NTP", "W3C", "metamail", "Beerware", "RSA-MD", "LicenseRef-scancode-rsa-1990", "LicenseRef-scancode-stream-benchmark", "LicenseRef-scancode-openssl", "X11-distribute-modifications-variant", "LicenseRef-scancode-pcre", "LicenseRef-scancode-ssleay-windows", "Spencer-94", "ISC", "LicenseRef-scancode-other-permissive", "BSD-2-Clause", "Python-2.0", "curl", "LicenseRef-scancode-sun-bcl-sdk-5.0", "MIT-CMU", "W3C-19980720" ]
permissive
sshyran/gpdb
41012411d22b0294204dfb0fe67a1f4c8d1ecaf6
2d065ecdd2b5535cb42474f17a0ee6592b4e6837
refs/heads/master
2023-04-09T14:05:44.030212
2016-11-12T08:33:33
2016-11-12T08:34:36
73,544,159
0
0
Apache-2.0
2023-04-04T00:30:10
2016-11-12T09:43:54
PLpgSQL
UTF-8
Python
false
false
1,166
py
""" Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 random import sys def main(total_rows, number_of_error_rows): error_count = 0 for i in xrange(number_of_error_rows): print "error_%s" %str(error_count) for i in xrange(total_rows - number_of_error_rows): print "%s|%s_number" %(i,i) if __name__ == '__main__': total_rows = 20 error_rows = 0 if len(sys.argv) > 1: total_rows = int(sys.argv[1]) error_rows = int(sys.argv[2]) main(total_rows, error_rows)
a0924adb3c7da96cb655447e56114e94b508ac22
b68c92fe89b701297f76054b0f284df5466eb698
/Other/Companies/Microsoft/BenchmarkMatching.py
a00910c36d86cd8e47e303768e50f53753c80cee
[]
no_license
makrandp/python-practice
32381a8c589f9b499ab6bde8184a847b066112f8
60218fd79248bf8138158811e6e1b03261fb38fa
refs/heads/master
2023-03-27T18:11:56.066535
2021-03-28T04:02:00
2021-03-28T04:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,409
py
''' Programming challenge description: We say a portfolio matches the benchmark when the number of shares of each asset in the portfolio matches the number of shares of each asset in the benchmark. Your question is to write a program that determines the transactions necessary to make a portfolio match a benchmark. A portfolio is a collection of assets such as stocks and bonds. A portfolio could have 10 shares of Vodafone stock, 15 shares of Google stock and 15 shares of Microsoft bonds. A benchmark is also just a collection of assets. A benchmark could have 15 shares of Vodafone stock, 10 shares of Google stock and 15 shares of Microsoft bonds. A transaction is when you “buy” or “sell” a particular asset of certain asset type (“stock” or “bond”). For instance, you can decide to buy 5 shares of Vodafone stock which, given the portfolio described above, would result in you having 15 shares of Vodafone stock. Correspondingly, you decide to sell 5 shares of Microsoft bonds, which would result in 10 shares of Microsoft bonds in the above portfolio. Assumptions: Shares are positive decimals There will always be at least 1 asset present in the Portfolio and Benchmark A particular asset can be bond, stock, or both. For example, 5 shares of Microsoft bonds and 10 shares of Microsoft stock can both be present in the portfolio/benchmark The trades should be sorted in alphabetical order based on the names of the assets; if both bonds and stock are present for an asset, list bonds first Input: The first part of the input is the Portfolio holdings (in the format Name,AssetType,Shares where each asset is separated by ‘|’ symbol) The second part of the input is the Benchmark holdings (in the format Name,AssetType,Shares where each asset is separated by ‘|’ symbol) Example input: Vodafone,STOCK,10|Google,STOCK,15|Microsoft,BOND,15:Vodafone,STOCK,15|Google,STOCK,10|Microsoft,BOND,15 Note that the two parts are separated by the ‘:’ symbol. Output: The output is a list of transactions (separated by new line) in the format TransactionType,Name,AssetType,Shares. Note that the TransactionType should only be BUY or SELL. Example output: SELL,Google,STOCK,5 BUY,Vodafone,STOCK,5 Test 1 Test Input Download Test 1 Input Vodafone,STOCK,10|Google,STOCK,15|Microsoft,BOND,15:Vodafone,STOCK,15|Google,STOCK,10|Microsoft,BOND,15 Expected Output Download Test 1 Input SELL,Google,STOCK,5 BUY,Vodafone,STOCK,5 Test 2 Test Input Download Test 2 Input Vodafone,STOCK,10|Google,STOCK,15:Vodafone,STOCK,15|Vodafone,BOND,10|Google,STOCK,10 Expected Output Download Test 2 Input SELL,Google,STOCK,5 BUY,Vodafone,BOND,10 BUY,Vodafone,STOCK,5 ''' """ Super quick python answer based off of the information & test cases provided. Could/should heavily improve the string concatenation. All we do is take the company name plus the shares type (bond or stock) and use that as the key, with the amount as the value. We do this for both the current portfolio and the benchmark. For example "Vodafone,STOCK,10|Google,STOCK,15:Vodafone,STOCK,15|Vodafone,BOND,10|Google,STOCK,10"" gives us: currentShares = { "Vodafone,STOCK": 10, "Google,STOCK": 15 } benchmarkShares = { "Vodafone,Stock": 15, "Vodafone,BOND": 15, "Google,STOCK": 10 } Then we iterate through the benchmark shares, outputting based off of the difference and removing the key from current shares. Of the remaining current shares, we simply sell them off. """ from typing import List from collections import defaultdict class Solution(): def benchmarkMatching(self, data: str) -> List[str]: # Getting our current share prices currentShares, benchmarkShares = data.split(':') currentShares, benchmarkShares = currentShares.split('|'), benchmarkShares.split('|') currentSharesHash, outputBonds, outputShares = defaultdict(lambda: 0), list(), list() for c in currentShares: name, portType, amount = c.split(',') currentSharesHash[name+","+portType] += int(amount) for c in benchmarkShares: name, portType, amount = c.split(',') diff = int(amount) if name+","+portType not in currentSharesHash else (int(amount) - currentSharesHash[name+","+portType]) if diff != 0: s = ("SELL" if diff < 0 else "BUY") + "," + name + "," + portType + "," + str(abs(diff)) if portType == "BOND": outputBonds.append((name,s)) else: outputShares.append((name,s)) if name+","+portType in currentSharesHash: del currentSharesHash[name+","+portType] for c in currentSharesHash.keys(): name, portType = c.split(',') amount = currentSharesHash[c] if portType == "BOND": outputBonds.append((name,s)) else: outputShares.append((name,s)) # Sorting outputs output = list() for bond in sorted(outputBonds): output.append(bond[1]) for share in sorted(outputShares): output.append(share[1]) print(output) s = Solution() s.benchmarkMatching("Vodafone,STOCK,10|Google,STOCK,15:Vodafone,STOCK,15|Vodafone,BOND,10|Google,STOCK,10") s.benchmarkMatching("Vodafone,STOCK,10|Google,STOCK,15|Microsoft,BOND,15:Vodafone,STOCK,15|Google,STOCK,10|Microsoft,BOND,15")
50d8820972add7db1e12f143f05cf38d7f3ed8a2
548a5ed489f88b34f0dd31a2118cb1ce82155c99
/BOJ/2020_12/2562.py
fce608b3cdaa9bec2c41b134ed6c60e49a90d410
[]
no_license
rkdtmddnjs97/algorithm
f44606f0f39c39af272ffef5373c801e7388d882
7cc3d20d654ea067502c3e60b706b0cb765784c0
refs/heads/main
2023-07-13T08:20:38.750770
2021-08-21T20:31:54
2021-08-21T20:31:54
398,647,983
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
a = [ int(input()) for i in range(9)] b = max(a) print(b) for key,value in enumerate(a): if value == b: print(key+1)
1509d9b68521df12375cdeb84a7ebe5c1ec96e76
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/elasticache_write_f/tags-to-resource_add.py
9d6e980bae8076a92de85796496e725ed2d6d06f
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__': """ """ write_parameter("elasticache", "add-tags-to-resource")
bb15f4a2be885270cef4e62640a269481b8a03d3
8da4a294cd72d36f1f890148b859eee88fe270ac
/dev/local/data/external.py
1b49501bc88cbb32b8c1f668d3ef04f8e21d4687
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
neerajshukla1911/fastai_dev
3bf323e80d5594fb4bc543fe73de553e036b2ec2
768a5dac135a0f2ea91bc645ba279d3b1c5fd649
refs/heads/master
2020-07-16T00:47:11.761475
2019-09-01T14:10:32
2019-09-01T14:10:32
205,684,686
0
0
Apache-2.0
2019-09-01T14:04:13
2019-09-01T14:04:12
null
UTF-8
Python
false
false
8,016
py
#AUTOGENERATED! DO NOT EDIT! File to edit: dev/04_data_external.ipynb (unless otherwise specified). __all__ = ['download_url', 'URLs', 'get_path', 'ConfigKey', 'download_data', 'untar_data'] from ..imports import * from ..test import * from ..core import * def download_url(url, dest, overwrite=False, pbar=None, show_progress=True, chunk_size=1024*1024, timeout=4, retries=5): "Download `url` to `dest` unless it exists and not `overwrite`" if os.path.exists(dest) and not overwrite: return s = requests.Session() s.mount('http://',requests.adapters.HTTPAdapter(max_retries=retries)) u = s.get(url, stream=True, timeout=timeout) try: file_size = int(u.headers["Content-Length"]) except: show_progress = False with open(dest, 'wb') as f: nbytes = 0 if show_progress: pbar = progress_bar(range(file_size), auto_update=False, leave=False, parent=pbar) try: for chunk in u.iter_content(chunk_size=chunk_size): nbytes += len(chunk) if show_progress: pbar.update(nbytes) f.write(chunk) except requests.exceptions.ConnectionError as e: fname = url.split('/')[-1] from fastai.datasets import Config data_dir = dest.parent print(f'\n Download of {url} has failed after {retries} retries\n' f' Fix the download manually:\n' f'$ mkdir -p {data_dir}\n' f'$ cd {data_dir}\n' f'$ wget -c {url}\n' f'$ tar -zxvf {fname}\n' f' And re-run your code once the download is successful\n') class URLs(): "Global constants for dataset and model URLs." LOCAL_PATH = Path.cwd() URL = 'http://files.fast.ai/data/examples/' MDL = 'http://files.fast.ai/models/' S3 = 'https://s3.amazonaws.com/fast-ai-' S3_IMAGE = f'{S3}imageclas/' S3_IMAGELOC = f'{S3}imagelocal/' S3_NLP = f'{S3}nlp/' S3_COCO = f'{S3}coco/' S3_MODEL = f'{S3}modelzoo/' # main datasets ADULT_SAMPLE = f'{URL}adult_sample.tgz' BIWI_SAMPLE = f'{URL}biwi_sample.tgz' CIFAR = f'{URL}cifar10.tgz' COCO_SAMPLE = f'{S3_COCO}coco_sample.tgz' COCO_TINY = f'{URL}coco_tiny.tgz' HUMAN_NUMBERS = f'{URL}human_numbers.tgz' IMDB = f'{S3_NLP}imdb.tgz' IMDB_SAMPLE = f'{URL}imdb_sample.tgz' ML_SAMPLE = f'{URL}movie_lens_sample.tgz' MNIST_SAMPLE = f'{URL}mnist_sample.tgz' MNIST_TINY = f'{URL}mnist_tiny.tgz' MNIST_VAR_SIZE_TINY = f'{S3_IMAGE}mnist_var_size_tiny.tgz' PLANET_SAMPLE = f'{URL}planet_sample.tgz' PLANET_TINY = f'{URL}planet_tiny.tgz' IMAGENETTE = f'{S3_IMAGE}imagenette.tgz' IMAGENETTE_160 = f'{S3_IMAGE}imagenette-160.tgz' IMAGENETTE_320 = f'{S3_IMAGE}imagenette-320.tgz' IMAGEWOOF = f'{S3_IMAGE}imagewoof.tgz' IMAGEWOOF_160 = f'{S3_IMAGE}imagewoof-160.tgz' IMAGEWOOF_320 = f'{S3_IMAGE}imagewoof-320.tgz' # kaggle competitions download dogs-vs-cats -p {DOGS.absolute()} DOGS = f'{URL}dogscats.tgz' # image classification datasets CALTECH_101 = f'{S3_IMAGE}caltech_101.tgz' CARS = f'{S3_IMAGE}stanford-cars.tgz' CIFAR_100 = f'{S3_IMAGE}cifar100.tgz' CUB_200_2011 = f'{S3_IMAGE}CUB_200_2011.tgz' FLOWERS = f'{S3_IMAGE}oxford-102-flowers.tgz' FOOD = f'{S3_IMAGE}food-101.tgz' MNIST = f'{S3_IMAGE}mnist_png.tgz' PETS = f'{S3_IMAGE}oxford-iiit-pet.tgz' # NLP datasets AG_NEWS = f'{S3_NLP}ag_news_csv.tgz' AMAZON_REVIEWS = f'{S3_NLP}amazon_review_full_csv.tgz' AMAZON_REVIEWS_POLARITY = f'{S3_NLP}amazon_review_polarity_csv.tgz' DBPEDIA = f'{S3_NLP}dbpedia_csv.tgz' MT_ENG_FRA = f'{S3_NLP}giga-fren.tgz' SOGOU_NEWS = f'{S3_NLP}sogou_news_csv.tgz' WIKITEXT = f'{S3_NLP}wikitext-103.tgz' WIKITEXT_TINY = f'{S3_NLP}wikitext-2.tgz' YAHOO_ANSWERS = f'{S3_NLP}yahoo_answers_csv.tgz' YELP_REVIEWS = f'{S3_NLP}yelp_review_full_csv.tgz' YELP_REVIEWS_POLARITY = f'{S3_NLP}yelp_review_polarity_csv.tgz' # Image localization datasets BIWI_HEAD_POSE = f"{S3_IMAGELOC}biwi_head_pose.tgz" CAMVID = f'{S3_IMAGELOC}camvid.tgz' CAMVID_TINY = f'{URL}camvid_tiny.tgz' LSUN_BEDROOMS = f'{S3_IMAGE}bedroom.tgz' PASCAL_2007 = f'{S3_IMAGELOC}pascal_2007.tgz' PASCAL_2012 = f'{S3_IMAGELOC}pascal_2012.tgz' #Pretrained models OPENAI_TRANSFORMER = f'{S3_MODEL}transformer.tgz' WT103_FWD = f'{S3_MODEL}wt103-fwd' WT103_BWD = f'{S3_MODEL}wt103-bwd' def _get_config(): config_path = Path(os.getenv('FASTAI_HOME', '~/.fastai')).expanduser() config_file = config_path/'config.yml' if config_file.exists(): with open(config_file, 'r') as yaml_file: config = yaml.safe_load(yaml_file) if 'version' in config and config['version'] == 1: return config else: config = {} #File inexistent or wrong version -> going to default config = {'data_path': str(config_path/'data'), 'archive_path': str(config_path/'archive'), 'model_path': str(config_path/'models'), 'version': 1} with open(config_file, 'w') as yaml_file: yaml.dump(config, yaml_file, default_flow_style=False) return config ConfigKey = Enum('ConfigKey', 'Data Archive Model') def get_path(c_key=ConfigKey.Data): return Path(_get_config()[f"{c_key.name.lower()}_path"]) def _url2path(url, c_key=ConfigKey.Archive): fname = url.split('/')[-1] local_path = URLs.LOCAL_PATH/('models' if c_key==ConfigKey.Model else 'data')/fname if local_path.exists(): return local_path return get_path(c_key)/fname def download_data(url, fname=None, c_key=ConfigKey.Archive, force_download=False): "Download `url` to `fname`." fname = Path(fname or _url2path(url, c_key=c_key)) fname.parent.mkdir(parents=True, exist_ok=True) if not fname.exists() or force_download: print(f'Downloading {url}') download_url(url, fname, overwrite=force_download) return fname def _get_check(url): checks = json.load(open(Path(__file__).parent/'checks.txt', 'r')) return checks.get(url, None) def _check_file(fname): size = os.path.getsize(fname) with open(fname, "rb") as f: hash_nb = hashlib.md5(f.read(2**20)).hexdigest() return [size,hash_nb] def _add_check(url, fname): "Internal function to update the internal check file with `url` and check on `fname`." checks = json.load(open(Path(__file__).parent/'checks.txt', 'r')) checks[url] = _check_file(fname) json.dump(checks, open(Path(__file__).parent/'checks.txt', 'w'), indent=2) def untar_data(url, fname=None, dest=None, c_key=ConfigKey.Data, force_download=False): "Download `url` to `fname` if `dest` doesn't exist, and un-tgz to folder `dest`." default_dest = _url2path(url, c_key=c_key).with_suffix('') dest = default_dest if dest is None else Path(dest)/default_dest.name fname = Path(fname or _url2path(url)) if fname.exists() and _get_check(url) and _check_file(fname) != _get_check(url): print("A new version of this is available, downloading...") force_download = True if force_download: if fname.exists(): os.remove(fname) if dest.exists(): shutil.rmtree(dest) if not dest.exists(): fname = download_data(url, fname=fname, c_key=c_key) if _get_check(url) and _check_file(fname) != _get_check(url): print(f"File downloaded is broken. Remove {fname} and try again.") tarfile.open(fname, 'r:gz').extractall(dest.parent) return dest
d630b1dd7a6eb1c30f516c89ef5c64aaeb65c260
6a0b5dd52577003eddeb45d1ccc173ff6de7e7ca
/director/users/api_v1_urls.py
5721468341cbb8e8260894fc59e968198546b117
[ "Apache-2.0" ]
permissive
paulolimac/hub
98ab1fd0c60ccc28a5a887dc486119da066ced36
ce5d86343e340ff0bd734e49a48d0745ae88144d
refs/heads/master
2020-04-03T13:21:20.046117
2018-10-29T23:49:37
2018-10-29T23:49:37
155,282,253
0
0
null
2018-10-29T21:14:19
2018-10-29T21:14:18
null
UTF-8
Python
false
false
129
py
from django.urls import path from users.api_views import UserSearch urlpatterns = [ path('search', UserSearch.as_view()) ]
64724bb718e51f021275096a77275b11b6481ac4
4178f2916d2da72cbb45454fbed941dcfe8f6460
/POM_test/TestCase/Debug2.py
a6a55e7b2f21f479f7cacf5f29ff779122b450fc
[]
no_license
maxcrup007/Selenium_Webdriver_Python
15196cb04ba5cafdc5b776c26d167f0b48fb0e14
6be7f0b9f53df1ba592957029e8a4d22e409d1c4
refs/heads/main
2023-03-24T21:04:31.976451
2021-03-22T09:16:04
2021-03-22T09:16:04
349,379,454
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
import os os.chdir('C:/Users/voraw/Desktop/Working/Gaming & Hobby/Ma11/miKu-Doujin/Chane name') print(os.getcwd()) COUNT = 1 def change_name(): global COUNT COUNT = COUNT + 1 for f in os.listdir(): f_name, f_ext = os.path.splitext(f) if COUNT >= 100: f_name = str(COUNT) elif COUNT >= 10 and COUNT < 100: f_name = "0" + str(COUNT) else: f_name = "00" + str(COUNT) change_name() new_name = '{} {}'.format(f_name, f_ext) os.rename(f, new_name) #### Source Code # import os # # os.chdir('D://Geeksforgeeks') # print(os.getcwd()) # COUNT = 1 # # # # Function to increment count # # to make the files sorted. # def increment(): # global COUNT # COUNT = COUNT + 1 # # # for f in os.listdir(): # f_name, f_ext = os.path.splitext(f) # f_name = "geek" + str(COUNT) # increment() # # new_name = '{} {}'.format(f_name, f_ext) # os.rename(f, new_name)
4ba9dd5155a46583999e303364738eb845069c8e
94838674ffd175df6194437c1ccc3f90ab409d6c
/pillowV3/log/2018-12-30 14:32:11.007864
f0ffac647e42c1490e5d2efabb7c2febde427f75
[]
no_license
WojciechKoz/MyFirstNeuralNetwork
4fdb3140d8f02257599d005638598f78055c1ac8
3cd032aba80ecd71edb0286724ae9ba565b75a81
refs/heads/master
2020-04-02T03:02:48.680433
2020-02-29T17:57:43
2020-02-29T17:57:43
153,943,121
0
0
null
null
null
null
UTF-8
Python
false
false
278,221
007864
#!/usr/bin/env python3 # -*- coding: utf8 -*- from __future__ import print_function # new print() on python2 from datetime import datetime import sys import numpy as np from mnist import MNIST # Display full arrays np.set_printoptions(threshold=np.inf) mndata = MNIST('./data') images_full, labels_full = mndata.load_training() images = [] labels = [] # dynamic arguments batch_size = int(sys.argv[1]) size_1 = int(sys.argv[2]) size_2 = int(sys.argv[3]) batch_training_size = int(sys.argv[4]) data_part = 5 # only one fifth of the whole dataset to speed up training for i in range(len(labels_full) // batch_size // data_part): images.append(images_full[i*batch_size : (i+1)*batch_size]) labels.append(labels_full[i*batch_size : (i+1)*batch_size]) def sigmoid_prime(x): return np.exp(-x) / ((np.exp(-x) + 1) ** 2) def sigmoid(x): return 1 / (1 + np.exp(-x)) # nowe, przyda się? def relu(x): return np.maximum(x, x * 0.01) def relu_prime(x): if x >= 0: return 1 # ej nie jest tak xd # a jak xd? type(x) == no.ndarray # no x to macierz xd # np.exp jest przeładowane ale jakakoleiwk funkcja to chyba nie # to co foreach ? :( # właśnie nie wiem, a co z gpu? # to miało być szybsze a nie xd # mamy duzo mozliwosci zmian ale nie na raz trzeba ustalic jakos # hm TODO gpu TODO wincyj procent TODO gui gotowe # xd # tamto myliło hah # to co najpierw? :p # ssh daje wglad do basha tylko tak ? # nie, to jest taki fajny programik, byobu # i ten pasek na dole też jest z byobu # on udostepnia tylko basha ? # tak, ale basha multiplayer xd # szkoda że 2 kursorow nie ma # hm return 0.01 # chyba tak xd nikt nie widzial xd # ale x to macierz :p # ale to jest przeciazone i jak jest funkcja od macierzy to bierze po kolei kazdy element # w sumie # zobacze na drugiej karcie xd #X = np.array([[0, 0], # [0, 1], # [1, 0], # [1, 1]]) #X = np.array(images) y = [] for batch in labels: y.append([]) for label in batch: y[-1].append([1.0 if i == label else 0.0 for i in range(10)]) y = np.array(y) #y = np.array([[0], # [1], # [1], # [0]]) np.random.seed(1) LEN = len(labels) SIZES = [ 784, size_1, size_2, 10 ] syn0 = 2 * np.random.random((SIZES[0], SIZES[1])) - 1 syn1 = 2 * np.random.random((SIZES[1], SIZES[2])) - 1 syn2 = 2 * np.random.random((SIZES[2], SIZES[3])) - 1 # biases for respective layers b0 = 2 * np.random.random((1, SIZES[1])) - 1 b1 = 2 * np.random.random((1, SIZES[2])) - 1 b2 = 2 * np.random.random((1, SIZES[3])) - 1 for i, batch in list(enumerate(images)): X = np.array(batch) print("x:") print(np.shape(X)) print("======================= BATCH {} =======================".format(i)) error = 1 j = 0 while j < batch_training_size: l0 = X l1 = sigmoid(np.dot(l0, syn0) + b0) l2 = sigmoid(np.dot(l1, syn1) + b1) l3 = sigmoid(np.dot(l2, syn2) + b2) l3_error = (y[i] - l3)#** 2 error = np.mean(np.abs(l3_error)) j += 1 if j % 20 == 0: print(("[%d] error: " % j) + str(error)) l3_delta = l3_error * sigmoid_prime(l3) l2_error = l3_delta.dot(syn2.T) l2_delta = l2_error * sigmoid_prime(l2) l1_error = l2_delta.dot(syn1.T) l1_delta = l1_error * sigmoid_prime(l1) syn2 += l2.T.dot(l3_delta) syn1 += l1.T.dot(l2_delta) syn0 += l0.T.dot(l1_delta) b0 += l1_delta.mean(axis=0) b1 += l2_delta.mean(axis=0) b2 += l3_delta.mean(axis=0) def predict(data): l0 = [data] l1 = sigmoid(np.dot(l0, syn0) + b0) l2 = sigmoid(np.dot(l1, syn1) + b1) l3 = sigmoid(np.dot(l2, syn2) + b2) return np.argmax(l3) print("Output after training: ") print(l3) for i, el in enumerate(l3): print(labels[0][i], "=", np.argmax(el), " predictions: ", el) testing_images, testing_labels = mndata.load_testing() correct = 0.0 for i, (image, label) in enumerate(zip(testing_images, testing_labels)): prediction = predict(image) if label == prediction: correct += 1.0 correct_rate = correct / (i + 1.0) print("{} = {} (correct {}%)".format(label, prediction, 100 * correct_rate)) with open('log/' + str(datetime.now()), 'a') as f: with open(__file__, 'r') as myself: print(myself.read(), file=f) print("", file=f) print("#### answers:", file=f) print("argv =", sys.argv, file=f) print("correct_rate =", correct_rate, file=f) print("SIZES =", SIZES, file=f) print("syn0 =", syn0, file=f) print("syn1 =", syn1, file=f) print("syn2 =", syn2, file=f) print("b0 =", b0, file=f) print("b1 =", b1, file=f) print("b2 =", b2, file=f) #### answers: argv = ['./main.py', '83', '20', '26', '7'] correct_rate = 0.1827 SIZES = [784, 20, 26, 10] syn0 = [[-1.65955991e-01 4.40648987e-01 -9.99771250e-01 -3.95334855e-01 -7.06488218e-01 -8.15322810e-01 -6.27479577e-01 -3.08878546e-01 -2.06465052e-01 7.76334680e-02 -1.61610971e-01 3.70439001e-01 -5.91095501e-01 7.56234873e-01 -9.45224814e-01 3.40935020e-01 -1.65390395e-01 1.17379657e-01 -7.19226123e-01 -6.03797022e-01] [ 6.01489137e-01 9.36523151e-01 -3.73151644e-01 3.84645231e-01 7.52778305e-01 7.89213327e-01 -8.29911577e-01 -9.21890434e-01 -6.60339161e-01 7.56285007e-01 -8.03306332e-01 -1.57784750e-01 9.15779060e-01 6.63305699e-02 3.83754228e-01 -3.68968738e-01 3.73001855e-01 6.69251344e-01 -9.63423445e-01 5.00288630e-01] [ 9.77722178e-01 4.96331309e-01 -4.39112016e-01 5.78558657e-01 -7.93547987e-01 -1.04212948e-01 8.17191006e-01 -4.12771703e-01 -4.24449323e-01 -7.39942856e-01 -9.61266084e-01 3.57671066e-01 -5.76743768e-01 -4.68906681e-01 -1.68536814e-02 -8.93274910e-01 1.48235211e-01 -7.06542850e-01 1.78611074e-01 3.99516720e-01] [-7.95331142e-01 -1.71888024e-01 3.88800315e-01 -1.71641461e-01 -9.00093082e-01 7.17928118e-02 3.27589290e-01 2.97782241e-02 8.89189512e-01 1.73110081e-01 8.06803831e-01 -7.25050592e-01 -7.21447305e-01 6.14782577e-01 -2.04646326e-01 -6.69291606e-01 8.55017161e-01 -3.04468281e-01 5.01624206e-01 4.51995971e-01] [ 7.66612182e-01 2.47344414e-01 5.01884868e-01 -3.02203316e-01 -4.60144216e-01 7.91772436e-01 -1.43817620e-01 9.29680094e-01 3.26882996e-01 2.43391440e-01 -7.70508054e-01 8.98978517e-01 -1.00175733e-01 1.56779229e-01 -1.83726394e-01 -5.25946040e-01 8.06759041e-01 1.47358973e-01 -9.94259346e-01 2.34289827e-01] [-3.46710196e-01 5.41162045e-02 7.71884199e-01 -2.85460480e-01 8.17070302e-01 2.46720232e-01 -9.68357514e-01 8.58874467e-01 3.81793835e-01 9.94645701e-01 -6.55318983e-01 -7.25728501e-01 8.65190926e-01 3.93636323e-01 -8.67999655e-01 5.10926105e-01 5.07752377e-01 8.46049071e-01 4.23049517e-01 -7.51458076e-01] [-9.60239732e-01 -9.47578026e-01 -9.43387024e-01 -5.07577865e-01 7.20055897e-01 7.76621287e-02 1.05643957e-01 6.84061785e-01 -7.51653370e-01 -4.41632642e-01 1.71518543e-01 9.39191497e-01 1.22060439e-01 -9.62705421e-01 6.01265345e-01 -5.34051452e-01 6.14210391e-01 -2.24278712e-01 7.27083709e-01 4.94243285e-01] [ 1.12480468e-01 -7.27089549e-01 -8.80164621e-01 -7.57313089e-01 -9.10896243e-01 -7.85011742e-01 -5.48581323e-01 4.25977961e-01 1.19433964e-01 -9.74888040e-01 -8.56051441e-01 9.34552660e-01 1.36200924e-01 -5.93413531e-01 -4.95348511e-01 4.87651708e-01 -6.09141038e-01 1.62717855e-01 9.40039978e-01 6.93657603e-01] [-5.20304482e-01 -1.24605715e-02 2.39911437e-01 6.57961799e-01 -6.86417211e-01 -9.62847596e-01 -8.59955713e-01 -2.73097781e-02 2.12658923e-01 1.37702874e-01 -3.65275181e-01 9.77232309e-01 1.59490438e-01 -2.39717655e-01 1.01896438e-01 4.90668862e-01 3.38465787e-01 -4.70160885e-01 -8.67330331e-01 -2.59831604e-01] [ 2.59435014e-01 -5.79651980e-01 5.05511107e-01 -8.66927037e-01 -4.79369803e-01 6.09509127e-01 -6.13131435e-01 2.78921762e-01 4.93406182e-02 8.49615941e-01 -4.73406459e-01 -8.68077819e-01 4.70131927e-01 5.44356059e-01 8.15631705e-01 8.63944138e-01 -9.72096854e-01 -5.31275828e-01 2.33556714e-01 8.98032641e-01] [ 9.00352238e-01 1.13306376e-01 8.31212700e-01 2.83132418e-01 -2.19984572e-01 -2.80186658e-02 2.08620966e-01 9.90958430e-02 8.52362853e-01 8.37466871e-01 -2.10248774e-01 9.26525057e-01 -6.52088667e-01 -7.47340961e-01 -7.29841684e-01 1.13243314e-02 -9.56950389e-01 8.95940422e-01 6.54230942e-01 -9.69962039e-01] [-6.47607489e-01 -3.35872851e-01 -7.38006310e-01 6.18981384e-01 -3.10526695e-01 8.80214965e-01 1.64028360e-01 7.57663969e-01 6.89468891e-01 8.10784637e-01 -8.02394684e-02 9.26936320e-02 5.97207182e-01 -4.28562297e-01 -1.94929548e-02 1.98220615e-01 -9.68933449e-01 1.86962816e-01 -1.32647302e-01 6.14721058e-01] [-3.69510394e-01 7.85777417e-01 1.55714431e-01 -6.31979597e-01 5.75858468e-01 2.24062354e-01 -8.92181456e-01 -1.59612640e-01 3.58137673e-01 8.37203556e-01 -9.99195950e-01 9.53518298e-01 -2.46839371e-01 9.47567077e-01 2.09432202e-01 6.57691616e-01 1.49423009e-01 2.56152397e-01 -4.28847437e-01 1.73666681e-01] [ 5.00043527e-01 7.16627673e-01 5.10164377e-01 3.96114497e-01 7.28958860e-01 -3.54638006e-01 3.41577582e-01 -9.82521272e-02 -2.35794496e-01 -1.78377300e-01 -1.97040833e-01 -3.65232108e-01 2.43838736e-01 -1.39505458e-01 9.47604156e-01 3.55601783e-01 -6.02860223e-01 -1.46597981e-01 -3.13307520e-01 5.95277608e-01] [ 7.59996577e-01 8.07683912e-01 3.25439625e-01 -4.59583476e-01 -4.95266597e-01 7.09795885e-01 5.54292926e-02 6.04322168e-01 1.44977034e-01 4.66285051e-01 3.80232549e-02 5.41767821e-01 1.37715981e-01 -6.85802428e-02 -3.14622184e-01 -8.63581303e-01 -2.44151641e-01 -8.40747845e-01 9.65634227e-01 -6.36774297e-01] [ 6.23717395e-01 7.49923290e-01 3.76826505e-01 1.38988825e-01 -6.78057126e-01 -6.62399545e-02 -3.09655898e-01 -5.49920084e-01 1.85023738e-01 -3.75460325e-01 8.32611107e-01 8.19271050e-01 -4.85763412e-01 -7.78217399e-01 -6.14074536e-01 -8.31658642e-04 4.57171336e-01 -5.83611123e-01 -5.03932883e-01 7.03343750e-01] [-1.68302563e-01 2.33370134e-01 -5.32667722e-01 -7.96065481e-01 3.17140339e-02 -4.57180259e-02 -6.94656712e-01 2.43612463e-01 8.80202376e-02 3.08274694e-01 -7.10908920e-01 5.03055634e-01 -5.55901720e-01 3.87036487e-02 5.70592056e-01 -9.55339144e-01 -3.51275081e-01 7.45844753e-01 6.89419215e-01 7.68811852e-02] [ 7.33216548e-01 8.99611983e-01 6.52813995e-01 7.08230888e-01 -8.02513196e-01 3.02608665e-01 4.07033976e-01 2.20481625e-01 5.99230523e-01 -9.30857560e-01 5.40477469e-01 4.63457201e-01 -4.80603213e-01 -4.85861402e-01 2.64606635e-01 -3.09405077e-01 5.93177356e-01 -1.07707536e-01 5.65498830e-01 9.80943567e-01] [-3.99503321e-01 -7.13988343e-01 8.02616873e-01 8.31187578e-02 9.49480742e-01 2.73208800e-01 9.87826049e-01 9.21416083e-02 5.28518678e-02 -7.29144194e-01 -2.88589658e-01 -9.47562865e-01 -6.79209641e-01 4.91274385e-01 -9.39200620e-01 -2.66913806e-01 7.24692506e-01 3.85355435e-01 3.81884284e-01 -6.22726398e-01] [-1.16191439e-01 1.63154815e-01 9.79503415e-01 -5.92187550e-01 -5.04534196e-01 -4.75653832e-01 5.00344827e-01 -8.60493451e-02 -8.86141123e-01 1.70324812e-02 -5.76079671e-01 5.97208490e-01 -4.05337237e-01 -9.44787976e-01 1.86864899e-01 6.87680858e-01 -2.37967752e-01 4.99716621e-01 2.22829566e-02 8.19036099e-02] [ 9.18868642e-01 6.07921783e-01 -9.35353867e-01 4.18774502e-01 -6.99970369e-02 8.95097883e-01 -5.57134531e-01 -4.65855961e-01 -8.37052070e-01 -1.42762343e-01 -7.81962472e-01 2.67573521e-01 6.05926475e-01 3.93600992e-01 5.32422762e-01 -3.15091760e-01 6.91702966e-01 -1.42462450e-01 6.48019741e-01 2.52992317e-01] [-7.13153903e-01 -8.43226200e-01 -9.63334714e-01 -8.66550005e-01 -8.28323726e-02 -7.73316154e-01 -9.44433302e-01 5.09722963e-01 -2.10299039e-01 4.93876991e-01 -9.51903465e-02 -9.98265060e-02 -4.38549866e-02 -5.19921469e-02 6.06326684e-01 -1.95214960e-01 8.09372321e-01 -9.25877904e-01 5.47748685e-01 -7.48717238e-01] [ 2.37027134e-01 -9.79271477e-01 7.72545652e-02 -9.93964087e-01 9.02387571e-01 8.10804067e-01 5.91933884e-01 8.30548640e-01 -7.08883538e-01 -6.84539860e-01 -6.24736654e-01 2.44991805e-01 8.11618992e-01 9.79910357e-01 4.22244918e-01 4.63600818e-01 8.18586409e-01 -1.98252535e-01 -5.00298640e-01 -6.53139658e-01] [-7.61085899e-01 6.25221176e-01 -7.06415253e-01 -4.71405035e-01 6.38178357e-01 -3.78825496e-01 9.64834899e-01 -4.66722596e-01 6.73066899e-02 -3.71065978e-01 8.21545662e-01 -2.66886712e-01 -1.32815345e-01 2.45853846e-02 8.77772955e-01 -9.38101987e-01 4.33757327e-01 7.82037909e-01 -9.45425553e-01 4.41024945e-02] [-3.48020376e-01 7.18978642e-01 1.17033102e-01 3.80455736e-01 -9.42930001e-02 2.56618075e-01 -4.19806297e-01 -9.81302844e-01 1.53511870e-01 -3.77111572e-01 3.45351970e-02 8.32811706e-01 -1.47050423e-01 -5.05207927e-01 -2.57412477e-01 8.63722233e-01 8.73736763e-01 6.88659897e-01 8.40413029e-01 -5.44199420e-01] [-8.25035581e-01 -5.45380527e-01 -3.71246768e-01 -6.50468247e-01 2.14188324e-01 -1.72827170e-01 6.32703024e-01 -6.29739203e-01 4.03753060e-01 -5.19288750e-01 1.48438178e-01 -3.02024806e-01 -8.86071201e-01 -5.42372658e-01 3.28205111e-01 -5.49981328e-03 3.80319681e-02 -6.50559700e-01 1.41431703e-01 9.93506850e-01] [ 6.33670218e-01 1.88745248e-01 9.51978137e-01 8.03125169e-01 1.91215867e-01 -9.35147349e-01 -8.12845808e-01 -8.69256570e-01 -9.65337026e-02 -2.49130334e-01 9.50700069e-01 -6.64033414e-01 9.45575184e-01 5.34949738e-01 6.48475679e-01 2.65231634e-01 3.37465540e-01 -4.62353330e-02 -9.73727286e-01 -2.93987829e-01] [-1.58563970e-02 4.60182422e-01 -6.27433145e-02 -8.51901678e-02 -7.24674518e-01 -9.78222532e-01 5.16556521e-01 -3.60094324e-01 9.68766900e-01 -5.59531548e-01 -3.22583949e-01 4.77922713e-02 5.09782914e-01 -7.22844322e-02 -7.50354914e-01 -3.74997243e-01 9.03833940e-03 3.47698016e-01 5.40299913e-01 -7.39328438e-01] [-9.54169737e-01 3.81646444e-02 6.19977421e-01 -9.74792466e-01 3.44939689e-01 3.73616453e-01 -1.01506493e-01 8.29577373e-01 2.88722170e-01 -9.89520325e-01 -3.11431090e-02 7.18635612e-01 6.60799140e-01 2.98308394e-01 3.47396848e-01 1.56999160e-01 -4.51760450e-01 1.21059981e-01 3.43459570e-01 -2.95140740e-01] [ 7.11656735e-01 -6.09925028e-01 4.94641621e-01 -4.20794508e-01 5.47598574e-01 -1.44525341e-01 6.15396818e-01 -2.92930275e-01 -5.72613525e-01 5.34569017e-01 -3.82716105e-01 4.66490135e-01 4.88946306e-01 -5.57206598e-01 -5.71775726e-01 -6.02104153e-01 -7.14963324e-01 -2.45834802e-01 -9.46744231e-01 -7.78159262e-01] [ 3.49128048e-01 5.99553074e-01 -8.38940946e-01 -5.36595379e-01 -5.84748676e-01 8.34667126e-01 4.22629036e-01 1.07769222e-01 -3.90964024e-01 6.69708095e-01 -1.29388085e-01 8.46912430e-01 4.12103609e-01 -4.39373841e-02 -7.47579793e-01 9.52087101e-01 -6.80332699e-01 -5.94795750e-01 -1.37636490e-01 -1.91596188e-01] [-7.06497038e-01 4.58637839e-01 -6.22509866e-01 2.87791289e-01 5.08611901e-01 -5.78535216e-01 2.01908496e-01 4.97856750e-01 2.76437421e-01 1.94254606e-01 -4.09035429e-01 4.63212942e-01 8.90616880e-01 -1.48877219e-01 5.64363634e-01 -8.87717921e-01 6.70543205e-01 -6.15499966e-01 -2.09806262e-01 -3.99837908e-01] [-8.39792712e-01 8.09262006e-01 -2.59691645e-01 6.13948770e-02 -1.17674682e-02 -7.35677716e-01 -5.87091882e-01 -8.47622382e-01 1.58433999e-02 -4.76900896e-01 -2.85876782e-01 -7.83869343e-01 5.75103679e-01 -7.86832246e-01 9.71417647e-01 -6.45677671e-01 1.44810225e-01 -9.10309331e-01 5.74232579e-01 -6.20788104e-01] [ 5.58079568e-02 4.80155086e-01 -7.00137030e-01 1.02174348e-01 -5.66765583e-01 5.18392099e-01 4.45830387e-01 -6.46901931e-01 7.23933115e-01 -9.60449801e-01 7.20473995e-01 1.17807622e-01 -1.93559056e-01 5.17493862e-01 4.33858003e-01 9.74652350e-01 -4.43829903e-01 -9.92412655e-01 8.67805217e-01 7.15794209e-01] [ 4.57701755e-01 3.33775658e-02 4.13912490e-01 5.61059114e-01 -2.50248113e-01 5.40645051e-01 5.01248638e-01 2.26422423e-01 -1.96268152e-01 3.94616039e-01 -9.93774284e-01 5.49793293e-01 7.92833205e-01 -5.21368585e-01 -7.58465631e-01 -5.59432024e-01 -3.95806537e-01 7.66057017e-01 8.63328605e-02 -4.26576701e-01] [-3.42881096e+03 -3.23801317e+03 -1.24776936e+03 -3.44795683e+03 -3.27408337e+03 -3.43381477e+03 -3.31742412e+03 -3.46535455e+03 -3.26765327e+03 -3.41701109e+03 -3.24255613e+03 -3.47443225e+03 -3.23684078e+03 -3.23245007e+03 -3.29215542e+03 -3.47096492e+03 -3.42415463e+03 -3.28691436e+03 -3.45905405e+03 -3.27597222e+03] [-1.16623538e+04 -1.10133473e+04 -4.24542625e+03 -1.17280838e+04 -1.11380037e+04 -1.16813269e+04 -1.12872936e+04 -1.17893636e+04 -1.11152319e+04 -1.16248427e+04 -1.10291181e+04 -1.18202705e+04 -1.10096492e+04 -1.09980282e+04 -1.12019497e+04 -1.18076501e+04 -1.16498775e+04 -1.11814123e+04 -1.17679532e+04 -1.11432082e+04] [-2.51350781e+04 -2.75746427e+04 -1.16017795e+04 -2.54430771e+04 -2.75380230e+04 -2.53387577e+04 -2.75627331e+04 -2.54011646e+04 -2.75045881e+04 -2.52098759e+04 -2.75521275e+04 -2.53182073e+04 -2.74257198e+04 -2.72872825e+04 -2.78315174e+04 -2.53709954e+04 -2.53116801e+04 -2.68933892e+04 -2.55001754e+04 -2.76889856e+04] [-4.60748644e+04 -5.44700128e+04 -2.76405478e+04 -4.67680803e+04 -5.42413772e+04 -4.65440271e+04 -5.41736423e+04 -4.65861416e+04 -5.41637441e+04 -4.63121752e+04 -5.44274271e+04 -4.63101470e+04 -5.41144367e+04 -5.38960058e+04 -5.47448710e+04 -4.64285408e+04 -4.65377327e+04 -5.20708092e+04 -4.67637106e+04 -5.45033943e+04] [-6.63837078e+04 -7.96793928e+04 -4.14376960e+04 -6.78483946e+04 -7.88050748e+04 -6.73782202e+04 -7.83027670e+04 -6.74407264e+04 -7.86769533e+04 -6.70141514e+04 -7.93595902e+04 -6.65652983e+04 -7.88754126e+04 -7.80221861e+04 -8.02557036e+04 -6.69528135e+04 -6.75964611e+04 -7.61073212e+04 -6.79132283e+04 -7.97643582e+04] [-5.28716233e+04 -6.13812035e+04 -3.52647936e+04 -5.37922827e+04 -6.11539494e+04 -5.35129660e+04 -6.08931570e+04 -5.35453707e+04 -6.08729881e+04 -5.31980803e+04 -6.12610058e+04 -5.30755768e+04 -6.08546411e+04 -6.05831661e+04 -6.17760330e+04 -5.32761487e+04 -5.36240420e+04 -5.89478301e+04 -5.38468633e+04 -6.14961060e+04] [-8.08279083e+04 -9.25916950e+04 -5.56487269e+04 -8.14732588e+04 -9.32567876e+04 -8.12853571e+04 -9.35381620e+04 -8.14672466e+04 -9.28525216e+04 -8.09120311e+04 -9.28289926e+04 -8.15411491e+04 -9.24105895e+04 -9.28203495e+04 -9.29828663e+04 -8.15328683e+04 -8.10438124e+04 -8.89571731e+04 -8.13330198e+04 -9.27489567e+04] [-1.36030000e+05 -1.67764420e+05 -6.85049808e+04 -1.37425206e+05 -1.67817350e+05 -1.37314581e+05 -1.67463020e+05 -1.37043403e+05 -1.67696625e+05 -1.36771190e+05 -1.68126007e+05 -1.36999565e+05 -1.67329585e+05 -1.67447919e+05 -1.67931488e+05 -1.37187596e+05 -1.36720338e+05 -1.58555639e+05 -1.37159077e+05 -1.67616336e+05] [-1.17317164e+05 -1.44863399e+05 -4.51507950e+04 -1.19127185e+05 -1.43972143e+05 -1.18944438e+05 -1.43426169e+05 -1.18553287e+05 -1.44112823e+05 -1.18361213e+05 -1.44920096e+05 -1.18014906e+05 -1.43982425e+05 -1.43480142e+05 -1.45128958e+05 -1.18356505e+05 -1.18543701e+05 -1.37055616e+05 -1.19145299e+05 -1.44710330e+05] [-1.19692573e+05 -1.54208598e+05 -6.72630465e+04 -1.22622442e+05 -1.51949258e+05 -1.22040980e+05 -1.50543887e+05 -1.21546145e+05 -1.52039548e+05 -1.21281046e+05 -1.53776919e+05 -1.20059298e+05 -1.52469696e+05 -1.51062065e+05 -1.54692686e+05 -1.20821187e+05 -1.22055368e+05 -1.44951538e+05 -1.22640685e+05 -1.53726512e+05] [-7.20700919e+04 -8.26160169e+04 -4.39772598e+04 -7.31751622e+04 -8.24957285e+04 -7.27654319e+04 -8.27180416e+04 -7.30934452e+04 -8.23236482e+04 -7.23802413e+04 -8.25893998e+04 -7.26773235e+04 -8.21010064e+04 -8.19019903e+04 -8.31619615e+04 -7.27907610e+04 -7.27749826e+04 -7.95483568e+04 -7.31175648e+04 -8.27607074e+04] [-6.99744855e+04 -7.61087249e+04 -4.32473423e+04 -7.04719273e+04 -7.68314742e+04 -7.01741332e+04 -7.76480608e+04 -7.06344930e+04 -7.65442521e+04 -6.98634222e+04 -7.63402834e+04 -7.07253128e+04 -7.60160295e+04 -7.64519222e+04 -7.65595203e+04 -7.06012911e+04 -7.00457968e+04 -7.39391300e+04 -7.03716712e+04 -7.63781776e+04] [-7.66447857e+04 -8.55698338e+04 -4.81556692e+04 -7.71085870e+04 -8.64443360e+04 -7.68511132e+04 -8.73531483e+04 -7.72825006e+04 -8.61642720e+04 -7.65342489e+04 -8.59270292e+04 -7.75058942e+04 -8.55368326e+04 -8.62158775e+04 -8.58649136e+04 -7.73254105e+04 -7.66132148e+04 -8.25054734e+04 -7.69224378e+04 -8.57363918e+04] [-5.21306795e+04 -5.77726718e+04 -3.10875213e+04 -5.25731586e+04 -5.81873121e+04 -5.23439478e+04 -5.86978682e+04 -5.26433830e+04 -5.79823908e+04 -5.21378200e+04 -5.78891554e+04 -5.26172313e+04 -5.76841451e+04 -5.79024875e+04 -5.81194360e+04 -5.26111662e+04 -5.22443138e+04 -5.59271228e+04 -5.25062814e+04 -5.79480176e+04] [-1.72914349e+04 -1.92123629e+04 -8.32643721e+03 -1.76099879e+04 -1.91209444e+04 -1.74641653e+04 -1.91780068e+04 -1.75810951e+04 -1.90661600e+04 -1.73903350e+04 -1.91345196e+04 -1.73888233e+04 -1.90804988e+04 -1.89126857e+04 -1.94339466e+04 -1.74772037e+04 -1.75113232e+04 -1.86910861e+04 -1.76270063e+04 -1.92946306e+04] [-1.45128427e+04 -1.55528111e+04 -8.46351291e+03 -1.46628674e+04 -1.56910101e+04 -1.45711544e+04 -1.58793777e+04 -1.46824832e+04 -1.55839235e+04 -1.45078719e+04 -1.55512342e+04 -1.46259883e+04 -1.55288682e+04 -1.55766525e+04 -1.57040069e+04 -1.46468763e+04 -1.45860412e+04 -1.51879600e+04 -1.46534976e+04 -1.56232423e+04] [-1.35025334e+04 -1.41418022e+04 -9.82402522e+03 -1.34991150e+04 -1.45006753e+04 -1.34625335e+04 -1.48179264e+04 -1.35642269e+04 -1.43548107e+04 -1.34029296e+04 -1.42340693e+04 -1.36504528e+04 -1.42114341e+04 -1.44891239e+04 -1.41953327e+04 -1.35936949e+04 -1.34275154e+04 -1.37799477e+04 -1.34560858e+04 -1.41913152e+04] [-9.13418124e-01 -2.71185137e-02 -5.21177912e-01 9.04947563e-01 8.87785256e-01 2.27868005e-01 9.46974795e-01 -3.10277313e-01 7.95701435e-01 -1.30810053e-01 -5.28370726e-01 8.81655926e-01 3.68436102e-01 -8.70176829e-01 7.40849714e-01 4.02760589e-01 2.09853746e-01 4.64749798e-01 -4.93121915e-01 2.00977911e-01] [ 6.29238363e-01 -8.91772679e-01 -7.38978657e-01 6.84891620e-01 2.36691739e-01 6.25756210e-02 -5.03418542e-01 -4.09842850e-01 7.45372330e-01 -1.56668130e-01 -8.71139489e-01 7.93970139e-01 -5.93238334e-01 6.52455071e-01 7.63541246e-01 -2.64985104e-02 1.96929386e-01 5.45349130e-02 2.49642588e-01 7.10083443e-01] [-4.35721103e-01 7.67511016e-01 1.35380660e-01 -7.69793918e-01 -5.45997670e-01 1.91964771e-01 -5.21107526e-01 -7.37168679e-01 -6.76304572e-01 6.89745036e-01 2.04367308e-01 9.27134174e-01 -3.08641573e-01 1.91250196e-01 1.97970578e-01 2.31408574e-01 -8.81645586e-01 5.00634369e-01 8.96418996e-01 6.93581144e-02] [-6.14887958e-01 5.05851830e-01 -9.85362061e-01 -3.43487793e-01 8.35212695e-01 1.76734666e-01 7.10380568e-01 2.09344105e-01 6.45156305e-01 7.58967047e-01 -3.58027251e-01 -7.54090457e-01 4.42606688e-01 -1.19305826e-01 -7.46528582e-01 1.79647296e-01 -9.27863371e-01 -5.99635767e-01 5.76602379e-01 -9.75806480e-01] [-3.93308657e-01 -9.57248078e-01 9.94969985e-01 1.64059953e-01 -4.13247443e-01 8.57898924e-01 1.42388471e-02 -9.06155449e-02 1.75743013e-01 -4.71724712e-01 -3.89423401e-01 -2.56690847e-01 -5.11104001e-01 1.69094532e-01 3.91692268e-01 -8.56105560e-01 9.42166639e-01 5.06141312e-01 6.12326326e-01 5.03280808e-01] [-8.39878045e-01 -3.66074340e-02 -1.08654087e-01 3.44945301e-01 -1.02525482e-01 4.08626797e-01 3.63290675e-01 3.94297058e-01 2.37201485e-01 -6.98038533e-01 5.21604913e-01 5.62091644e-01 8.08205972e-01 -5.32462615e-01 -6.46642214e-01 -2.17801754e-01 -3.58870692e-01 6.30953858e-01 2.27051799e-01 5.20003505e-01] [-1.44669801e-01 -8.01118874e-01 -7.69929976e-01 -2.53185737e-01 -6.12304465e-01 6.41492997e-01 1.99272017e-01 3.77690518e-01 -1.77800774e-02 -8.23652638e-01 -5.29844727e-01 -7.67958382e-02 -6.02816994e-01 -9.49047528e-01 4.58795397e-01 4.49833494e-01 -3.39216507e-01 6.86988252e-01 -1.43115048e-01 7.29372290e-01] [ 3.14130849e-01 1.62071315e-01 -5.98545024e-01 5.90932210e-02 7.88864837e-01 -3.90012048e-01 7.41891218e-01 8.17490546e-01 -3.40310875e-01 3.66148733e-01 7.98441899e-01 -8.48606236e-01 7.57175726e-01 -6.18321273e-01 6.99537820e-01 3.34237577e-01 -3.11321609e-01 -6.97248860e-01 2.70741923e-01 6.95576087e-01] [-2.11524722e+03 -2.47184293e+03 -7.85368972e+02 -2.18889588e+03 -2.41167263e+03 -2.16025370e+03 -2.38062895e+03 -2.17220814e+03 -2.40900986e+03 -2.14814518e+03 -2.44032904e+03 -2.11459969e+03 -2.43321037e+03 -2.36107135e+03 -2.51649575e+03 -2.14241961e+03 -2.18034407e+03 -2.39580924e+03 -2.19670994e+03 -2.48475499e+03] [-7.14801574e+02 -8.27533110e+02 -2.95924280e+02 -7.32317325e+02 -8.14667661e+02 -7.25888258e+02 -8.08985837e+02 -7.28607496e+02 -8.14648182e+02 -7.22035587e+02 -8.21079795e+02 -7.16112014e+02 -8.18959870e+02 -8.00761250e+02 -8.40467461e+02 -7.24044892e+02 -7.28774793e+02 -8.01419384e+02 -7.34931670e+02 -8.32214191e+02] [-7.73438423e+03 -8.78287455e+03 -4.66956675e+03 -7.80321652e+03 -8.82743332e+03 -7.76820312e+03 -8.89557634e+03 -7.81195893e+03 -8.80862404e+03 -7.73738956e+03 -8.80308934e+03 -7.80931200e+03 -8.76391182e+03 -8.79141665e+03 -8.82575923e+03 -7.80179506e+03 -7.75217997e+03 -8.45275859e+03 -7.78544178e+03 -8.79791288e+03] [-4.57038109e+03 -3.65812159e+03 -7.00998487e+03 -4.48746635e+03 -3.88210888e+03 -4.57144369e+03 -3.99626810e+03 -4.59729790e+03 -3.81524622e+03 -4.47494764e+03 -3.70758369e+03 -4.70809302e+03 -3.65125017e+03 -3.84186772e+03 -3.66132927e+03 -4.59214524e+03 -4.52327984e+03 -3.82129807e+03 -4.51037085e+03 -3.66806611e+03] [-1.02833532e+05 -1.19878471e+05 -6.13912953e+04 -1.04302410e+05 -1.19723709e+05 -1.03927647e+05 -1.19431853e+05 -1.03824867e+05 -1.19204087e+05 -1.03309763e+05 -1.19780408e+05 -1.03290785e+05 -1.19083057e+05 -1.18916962e+05 -1.20567334e+05 -1.03600697e+05 -1.03897304e+05 -1.14941581e+05 -1.04360226e+05 -1.19936487e+05] [-2.55237443e+05 -2.98698434e+05 -1.57483252e+05 -2.59157933e+05 -2.97819500e+05 -2.57963416e+05 -2.97164863e+05 -2.58043995e+05 -2.96926885e+05 -2.56501059e+05 -2.98414889e+05 -2.56455656e+05 -2.96670440e+05 -2.95749302e+05 -3.00444423e+05 -2.57244413e+05 -2.58064131e+05 -2.86242545e+05 -2.59207900e+05 -2.98899213e+05] [-4.03468718e+05 -4.77971211e+05 -2.38541149e+05 -4.10511968e+05 -4.75051859e+05 -4.08291032e+05 -4.73750013e+05 -4.08481365e+05 -4.74116567e+05 -4.06091817e+05 -4.77065513e+05 -4.05050021e+05 -4.74246745e+05 -4.71606706e+05 -4.80857347e+05 -4.06681893e+05 -4.08633680e+05 -4.57051220e+05 -4.10693302e+05 -4.78181809e+05] [-5.77979433e+05 -6.90549505e+05 -3.56948019e+05 -5.89417665e+05 -6.84875706e+05 -5.85923093e+05 -6.81547020e+05 -5.86060788e+05 -6.83586931e+05 -5.82597659e+05 -6.88664219e+05 -5.79891191e+05 -6.84439010e+05 -6.79245453e+05 -6.95043004e+05 -5.82779869e+05 -5.87023161e+05 -6.59623435e+05 -5.89748220e+05 -6.90789249e+05] [-9.08689683e+05 -1.07871392e+06 -6.19073677e+05 -9.25356705e+05 -1.07159248e+06 -9.20184817e+05 -1.06695585e+06 -9.20536530e+05 -1.06938606e+06 -9.14982793e+05 -1.07639560e+06 -9.12253392e+05 -1.07002487e+06 -1.06296597e+06 -1.08543675e+06 -9.16100045e+05 -9.21770333e+05 -1.03159679e+06 -9.25666992e+05 -1.07937251e+06] [-1.25286216e+06 -1.46025615e+06 -8.67432477e+05 -1.27224585e+06 -1.45638530e+06 -1.26589327e+06 -1.45371577e+06 -1.26805626e+06 -1.45283067e+06 -1.25899354e+06 -1.45907856e+06 -1.26028599e+06 -1.45097608e+06 -1.44545044e+06 -1.46919540e+06 -1.26364219e+06 -1.26680923e+06 -1.40125387e+06 -1.27186315e+06 -1.46212780e+06] [-1.70302419e+06 -1.97618743e+06 -1.10562276e+06 -1.72798277e+06 -1.97271173e+06 -1.72000031e+06 -1.97113093e+06 -1.72354883e+06 -1.96865451e+06 -1.71095493e+06 -1.97563763e+06 -1.71478498e+06 -1.96482674e+06 -1.95877964e+06 -1.98817521e+06 -1.71866861e+06 -1.71981590e+06 -1.89802369e+06 -1.72728004e+06 -1.97913020e+06] [-2.21125086e+06 -2.52818018e+06 -1.31791448e+06 -2.24482375e+06 -2.52309254e+06 -2.23337288e+06 -2.52262587e+06 -2.24007926e+06 -2.51763256e+06 -2.22199371e+06 -2.52633836e+06 -2.22647579e+06 -2.51327522e+06 -2.50355163e+06 -2.54520128e+06 -2.23195809e+06 -2.23466947e+06 -2.43760633e+06 -2.24416932e+06 -2.53324891e+06] [-2.85784492e+06 -3.24327754e+06 -1.65733574e+06 -2.89777643e+06 -3.23919999e+06 -2.88339567e+06 -3.24011968e+06 -2.89336301e+06 -3.23264031e+06 -2.87010349e+06 -3.24134233e+06 -2.87845959e+06 -3.22686205e+06 -3.21413920e+06 -3.26540875e+06 -2.88468000e+06 -2.88436339e+06 -3.13349629e+06 -2.89666408e+06 -3.25102040e+06] [-2.90554339e+06 -3.26642987e+06 -1.71352208e+06 -2.94102217e+06 -3.26877153e+06 -2.92706323e+06 -3.27397466e+06 -2.93935819e+06 -3.26209009e+06 -2.91421735e+06 -3.26673022e+06 -2.92904551e+06 -3.25321733e+06 -3.24421188e+06 -3.28856249e+06 -2.93300833e+06 -2.92662954e+06 -3.16194664e+06 -2.93906534e+06 -3.27560072e+06] [-2.49390686e+06 -2.78352710e+06 -1.47021529e+06 -2.51869604e+06 -2.79347630e+06 -2.50791634e+06 -2.80366971e+06 -2.51978966e+06 -2.78722117e+06 -2.49742564e+06 -2.78708094e+06 -2.51666246e+06 -2.77579233e+06 -2.77497383e+06 -2.80061689e+06 -2.51733992e+06 -2.50521607e+06 -2.69657541e+06 -2.51597212e+06 -2.79175262e+06] [-1.74366933e+06 -1.93858340e+06 -1.06126212e+06 -1.75757374e+06 -1.95115369e+06 -1.75099702e+06 -1.96261032e+06 -1.75988725e+06 -1.94638385e+06 -1.74374159e+06 -1.94333973e+06 -1.76160634e+06 -1.93584898e+06 -1.94033335e+06 -1.94963574e+06 -1.76015830e+06 -1.74735303e+06 -1.87787378e+06 -1.75501632e+06 -1.94449937e+06] [-8.82024109e+05 -9.70191732e+05 -5.69108988e+05 -8.88905458e+05 -9.78274737e+05 -8.85393871e+05 -9.85935181e+05 -8.90820660e+05 -9.75437247e+05 -8.81351441e+05 -9.73176071e+05 -8.91942160e+05 -9.68865166e+05 -9.72970243e+05 -9.75777045e+05 -8.90557680e+05 -8.83641209e+05 -9.41310592e+05 -8.87403467e+05 -9.73440534e+05] [-4.03576454e+05 -4.38702136e+05 -2.67947590e+05 -4.06106624e+05 -4.43639626e+05 -4.04714355e+05 -4.47439687e+05 -4.07234274e+05 -4.41712492e+05 -4.02864889e+05 -4.40241869e+05 -4.08119427e+05 -4.38452040e+05 -4.41242710e+05 -4.41206212e+05 -4.07268802e+05 -4.03871257e+05 -4.26479180e+05 -4.05423284e+05 -4.40414853e+05] [-1.31512068e+05 -1.38499635e+05 -9.62498669e+04 -1.32114024e+05 -1.40678446e+05 -1.31690223e+05 -1.41973673e+05 -1.32604932e+05 -1.39747332e+05 -1.31050308e+05 -1.39056602e+05 -1.32981197e+05 -1.38536740e+05 -1.39715828e+05 -1.39408635e+05 -1.32627933e+05 -1.31526304e+05 -1.35610266e+05 -1.31928506e+05 -1.39273928e+05] [-4.68068728e+04 -5.36638314e+04 -3.66016959e+04 -4.72244586e+04 -5.40897482e+04 -4.71014370e+04 -5.42152138e+04 -4.71226178e+04 -5.36831055e+04 -4.68461670e+04 -5.37790422e+04 -4.70712815e+04 -5.34717477e+04 -5.38394923e+04 -5.38192803e+04 -4.70778316e+04 -4.70586172e+04 -5.14362817e+04 -4.71782417e+04 -5.37182895e+04] [-1.15313981e+04 -1.46512141e+04 -8.22433811e+03 -1.17350090e+04 -1.45383111e+04 -1.16968617e+04 -1.44087891e+04 -1.16275110e+04 -1.44874954e+04 -1.16348599e+04 -1.46254590e+04 -1.15295213e+04 -1.45230472e+04 -1.44677436e+04 -1.46775034e+04 -1.15914634e+04 -1.16961579e+04 -1.37754625e+04 -1.17383147e+04 -1.46124380e+04] [ 6.92109198e-01 8.55161885e-01 3.20915455e-01 1.56347837e-01 -2.02568913e-01 9.33224985e-01 -6.91841656e-01 7.90173617e-01 -3.77973864e-01 9.69781793e-02 3.64132517e-01 -5.27060697e-01 -6.64526630e-01 1.69640269e-02 5.83727751e-01 3.84828924e-01 -7.62053326e-01 8.01484430e-01 -4.05248659e-02 8.93353358e-01] [ 1.06867412e-01 -8.30396357e-01 -5.95073929e-01 7.08475946e-01 4.11854734e-01 7.89879040e-01 -3.41707996e-01 5.60027933e-02 3.00796265e-01 1.88581707e-01 -5.37074129e-01 -1.46357301e-01 -5.03777072e-01 6.91229924e-01 9.73354890e-01 -8.66858394e-01 4.27856065e-01 -3.39768896e-01 2.50870757e-01 -4.83740701e-01] [ 3.02015219e-01 -2.57705631e-01 -4.10358241e-01 8.23526347e-01 8.84997748e-01 2.27100053e-01 -5.71064438e-01 8.78837742e-01 5.00907093e-01 5.02179615e-01 -5.76557330e-01 6.60313052e-01 -5.19809692e-01 2.63241491e-01 4.21479140e-01 4.84766859e-01 -2.19470591e-01 5.19650793e-01 8.05871804e-01 1.74840038e-01] [-8.19180569e-01 -7.42048032e-01 -7.89474947e-01 -6.54545073e-01 -7.47138219e-01 5.56601780e-01 -9.21176976e-01 -5.16883165e-01 7.58132803e-01 9.47037722e-01 2.10844015e-01 9.52476529e-01 -9.13096917e-01 8.97145537e-01 -3.77407835e-01 5.97945681e-01 6.21258207e-01 7.19997183e-01 -8.28983782e-02 8.61288784e-01] [-4.84214031e-01 8.68890985e-01 2.38239267e-01 9.70889830e-01 -9.34712268e-01 4.50333318e-01 1.31108471e-01 -1.51519052e-02 -4.81563749e-01 -3.46338630e-01 -5.01075587e-01 -5.61464179e-01 5.99321675e-01 4.79001180e-03 -8.33620223e-01 5.53968384e-01 6.72981522e-02 4.78775575e-01 3.07873863e-02 -2.00108152e-01] [ 9.72493565e-01 -9.43514760e-01 8.65527816e-01 8.61709936e-01 -2.18162577e-01 -5.71070258e-01 2.38426596e-01 -6.44055329e-01 6.06416389e-01 -4.92132288e-01 -4.18387690e-01 8.31831580e-01 8.05833667e-01 7.07617835e-02 7.25677961e-01 -2.94934862e-01 9.95768556e-01 -1.32620521e-01 -4.10375976e-01 -9.16851532e-01] [ 9.79413908e-01 -7.02247382e-02 4.69170028e-01 2.81615248e-01 4.46186799e-01 -8.97778192e-01 8.40090811e-01 8.53682436e-01 1.03990054e-01 9.27831777e-01 -4.38088926e-01 2.04293254e-01 -2.07074620e-01 2.56046464e-01 -3.98735423e-01 6.38716769e-01 -8.60428043e-01 -9.16244859e-01 -9.01207231e-01 -6.99089943e-01] [ 4.48226735e+02 2.12134993e+03 -3.07470875e+03 5.72962833e+02 1.88706703e+03 5.31112317e+02 1.69606051e+03 4.61289255e+02 1.91124132e+03 5.61707651e+02 2.03441725e+03 3.44787028e+02 2.07448851e+03 1.86577479e+03 2.15727069e+03 4.57892673e+02 5.73452106e+02 1.74472453e+03 5.98269132e+02 2.10158936e+03] [-4.75194957e+04 -5.77978177e+04 -3.66431621e+04 -4.81026462e+04 -5.75843971e+04 -4.80372612e+04 -5.72035789e+04 -4.78385845e+04 -5.74698896e+04 -4.77089630e+04 -5.78026593e+04 -4.76589609e+04 -5.73578574e+04 -5.72577925e+04 -5.78948451e+04 -4.77371189e+04 -4.79649409e+04 -5.48470947e+04 -4.80818432e+04 -5.76695114e+04] [-1.34302296e+05 -1.67768093e+05 -8.67844869e+04 -1.35784148e+05 -1.67084083e+05 -1.35692172e+05 -1.66053922e+05 -1.34787971e+05 -1.66770369e+05 -1.34890875e+05 -1.67852215e+05 -1.34538804e+05 -1.66611584e+05 -1.66645105e+05 -1.67891275e+05 -1.34888792e+05 -1.35132850e+05 -1.58060133e+05 -1.35789664e+05 -1.67206437e+05] [-2.74948758e+05 -3.52544585e+05 -1.68846379e+05 -2.79712212e+05 -3.49122812e+05 -2.78923472e+05 -3.46078879e+05 -2.76791720e+05 -3.48434879e+05 -2.77235323e+05 -3.51869537e+05 -2.74775736e+05 -3.49286865e+05 -3.47901489e+05 -3.53282985e+05 -2.76282819e+05 -2.78399089e+05 -3.30871736e+05 -2.79896435e+05 -3.51063094e+05] [-5.92223923e+05 -7.58189098e+05 -3.28355921e+05 -6.04343643e+05 -7.48855621e+05 -6.01888788e+05 -7.41375534e+05 -5.97653564e+05 -7.47542557e+05 -5.98243153e+05 -7.55861308e+05 -5.91646516e+05 -7.50350883e+05 -7.45124384e+05 -7.60970122e+05 -5.95783852e+05 -6.01609465e+05 -7.12857004e+05 -6.05046024e+05 -7.55525095e+05] [-1.03701381e+06 -1.35339817e+06 -5.47645089e+05 -1.06250366e+06 -1.33080538e+06 -1.05736746e+06 -1.31417906e+06 -1.04895661e+06 -1.32958143e+06 -1.05047550e+06 -1.34751832e+06 -1.03457578e+06 -1.33662441e+06 -1.32316753e+06 -1.35885026e+06 -1.04369870e+06 -1.05790012e+06 -1.26867498e+06 -1.06426607e+06 -1.34780585e+06] [-1.69608502e+06 -2.23593491e+06 -8.40359798e+05 -1.74358798e+06 -2.19012139e+06 -1.73362905e+06 -2.15882577e+06 -1.71917086e+06 -2.18962958e+06 -1.72177406e+06 -2.22310089e+06 -1.69014323e+06 -2.20456195e+06 -2.17551939e+06 -2.24699777e+06 -1.70773706e+06 -1.73615348e+06 -2.09395790e+06 -1.74755320e+06 -2.22622346e+06] [-2.62751530e+06 -3.44615787e+06 -1.33494381e+06 -2.70050515e+06 -3.37719387e+06 -2.68495344e+06 -3.32959653e+06 -2.66423880e+06 -3.37627322e+06 -2.66665580e+06 -3.42664284e+06 -2.61950361e+06 -3.39877071e+06 -3.35400324e+06 -3.46354525e+06 -2.64599767e+06 -2.68943626e+06 -3.23111679e+06 -2.70603309e+06 -3.43192048e+06] [-3.74930461e+06 -4.82030722e+06 -2.01631094e+06 -3.84054571e+06 -4.74214053e+06 -3.82102379e+06 -4.68664330e+06 -3.79731844e+06 -4.73900290e+06 -3.79584238e+06 -4.79880283e+06 -3.74518100e+06 -4.76239913e+06 -4.71191983e+06 -4.84344835e+06 -3.77629196e+06 -3.82432709e+06 -4.53470148e+06 -3.84574420e+06 -4.80342925e+06] [-5.15965660e+06 -6.51218390e+06 -2.89128790e+06 -5.27267043e+06 -6.42572317e+06 -5.24824323e+06 -6.36428435e+06 -5.22301627e+06 -6.41952255e+06 -5.21458187e+06 -6.48917875e+06 -5.16301683e+06 -6.44182113e+06 -6.38628018e+06 -6.54273435e+06 -5.19817920e+06 -5.24977031e+06 -6.14646802e+06 -5.27758302e+06 -6.49381163e+06] [-6.78116776e+06 -8.35152423e+06 -3.82720527e+06 -6.91227111e+06 -8.26722715e+06 -6.88148150e+06 -8.20844479e+06 -6.86096955e+06 -8.25601863e+06 -6.84051183e+06 -8.32857183e+06 -6.79644475e+06 -8.27458434e+06 -8.21666614e+06 -8.39318749e+06 -6.83399500e+06 -6.88178142e+06 -7.92152202e+06 -6.91605652e+06 -8.33676034e+06] [-8.44740012e+06 -1.02642511e+07 -4.74534397e+06 -8.60142840e+06 -1.01756352e+07 -8.56248327e+06 -1.01145079e+07 -8.54712799e+06 -1.01600045e+07 -8.51517510e+06 -1.02384055e+07 -8.47232217e+06 -1.01784341e+07 -1.01096717e+07 -1.03181573e+07 -8.51451506e+06 -8.56431643e+06 -9.76525176e+06 -8.60446455e+06 -1.02542522e+07] [-9.19242630e+06 -1.10860292e+07 -5.17076199e+06 -9.35175934e+06 -1.10032505e+07 -9.30903048e+06 -1.09472208e+07 -9.30073549e+06 -1.09861038e+07 -9.26052224e+06 -1.10613829e+07 -9.22606723e+06 -1.10005022e+07 -1.09294957e+07 -1.11458785e+07 -9.26783268e+06 -9.31017264e+06 -1.05639774e+07 -9.35362576e+06 -1.10818206e+07] [-8.70326009e+06 -1.03730110e+07 -4.91781001e+06 -8.84170404e+06 -1.03145055e+07 -8.80218810e+06 -1.02776474e+07 -8.80332405e+06 -1.02979563e+07 -8.75884787e+06 -1.03557688e+07 -8.74380867e+06 -1.03026753e+07 -1.02458666e+07 -1.04296118e+07 -8.77663489e+06 -8.80090869e+06 -9.90807584e+06 -8.84144178e+06 -1.03754360e+07] [-6.84504350e+06 -8.07873682e+06 -3.94143725e+06 -6.94970881e+06 -8.04319889e+06 -6.91655732e+06 -8.02507790e+06 -6.92463935e+06 -8.02913377e+06 -6.88352638e+06 -8.06798428e+06 -6.88059045e+06 -8.02788197e+06 -7.98913464e+06 -8.12430622e+06 -6.90381943e+06 -6.91597595e+06 -7.73216093e+06 -6.94800653e+06 -8.08429978e+06] [-4.59954770e+06 -5.42601672e+06 -2.76666402e+06 -4.66815471e+06 -5.40728661e+06 -4.64452761e+06 -5.40005236e+06 -4.65315514e+06 -5.39637788e+06 -4.62302575e+06 -5.41948606e+06 -4.62407190e+06 -5.39474104e+06 -5.37212741e+06 -5.45743738e+06 -4.63968230e+06 -4.64402020e+06 -5.19244727e+06 -4.66538476e+06 -5.43010968e+06] [-2.48332838e+06 -2.89905620e+06 -1.60004397e+06 -2.51673809e+06 -2.89680392e+06 -2.50338968e+06 -2.89937216e+06 -2.51083897e+06 -2.88893597e+06 -2.49180983e+06 -2.89741817e+06 -2.49812468e+06 -2.88560804e+06 -2.88023626e+06 -2.91666538e+06 -2.50516656e+06 -2.50239591e+06 -2.77904114e+06 -2.51385034e+06 -2.90125635e+06] [-1.23414249e+06 -1.42405677e+06 -8.71094594e+05 -1.24910906e+06 -1.42628726e+06 -1.24164710e+06 -1.42947629e+06 -1.24710455e+06 -1.42108476e+06 -1.23617586e+06 -1.42331889e+06 -1.24149117e+06 -1.41950264e+06 -1.41860030e+06 -1.43388156e+06 -1.24485294e+06 -1.24198604e+06 -1.36862489e+06 -1.24677635e+06 -1.42536620e+06] [-4.96008593e+05 -5.53632664e+05 -3.97535113e+05 -5.00175862e+05 -5.57302374e+05 -4.96630665e+05 -5.60549830e+05 -5.00541062e+05 -5.54481873e+05 -4.94640102e+05 -5.53444442e+05 -4.99174703e+05 -5.53590830e+05 -5.54436776e+05 -5.58492286e+05 -5.00316793e+05 -4.97306859e+05 -5.36024914e+05 -4.98477647e+05 -5.54553584e+05] [-1.50564744e+05 -1.67725893e+05 -1.35727939e+05 -1.51455415e+05 -1.69210359e+05 -1.50111824e+05 -1.70539501e+05 -1.51789219e+05 -1.68188424e+05 -1.49462663e+05 -1.67523192e+05 -1.51538611e+05 -1.68149205e+05 -1.68603257e+05 -1.69484694e+05 -1.51885487e+05 -1.50611241e+05 -1.62396037e+05 -1.50581359e+05 -1.67711649e+05] [-5.07942113e+04 -5.29122386e+04 -5.15666957e+04 -5.07057198e+04 -5.40806410e+04 -5.01648900e+04 -5.50322997e+04 -5.10521846e+04 -5.35628722e+04 -4.99605406e+04 -5.29175734e+04 -5.12815038e+04 -5.34776076e+04 -5.40021545e+04 -5.37086740e+04 -5.12589448e+04 -5.04323103e+04 -5.20288283e+04 -5.02324269e+04 -5.29333319e+04] [-3.57952184e+03 -3.90425424e+03 -2.42561673e+03 -3.58838045e+03 -3.96248614e+03 -3.57410898e+03 -4.02559643e+03 -3.59569783e+03 -3.93466833e+03 -3.56039882e+03 -3.92161665e+03 -3.60914203e+03 -3.90702510e+03 -3.95569192e+03 -3.91931145e+03 -3.59618293e+03 -3.56694030e+03 -3.77271105e+03 -3.58172385e+03 -3.91397267e+03] [ 4.65539707e-01 -1.19324346e-01 3.26313646e-01 -5.22180090e-01 9.97198177e-01 -5.14242957e-01 8.81656829e-01 -5.65560499e-01 -4.87123079e-03 6.42353930e-01 4.33176094e-01 4.11160824e-01 -1.19118880e-01 5.08350051e-01 8.39907154e-01 -1.17296509e-01 5.59309683e-02 -8.67928832e-01 -2.18453853e-01 -6.55228673e-02] [ 7.90275422e-01 -7.78885119e-01 4.62275206e-01 9.09423371e-02 2.13070861e-01 -9.40434112e-01 -7.06505240e-01 -4.32033549e-01 -9.90255904e-01 3.38315596e-01 7.40515898e-01 9.39366185e-02 8.63280950e-02 2.31451857e-01 -3.95636999e-01 -2.66536037e-01 1.49879455e-01 6.18433167e-01 -5.96806731e-01 -3.44951888e-01] [ 4.85842501e-01 -3.18159502e-01 -9.04778143e-01 -6.87286143e-01 -6.12270281e-01 -9.77527488e-03 2.70249922e-01 7.60439954e-01 8.05073113e-01 -3.85678463e-01 5.06760146e-01 -4.35143939e-01 -2.62846260e-01 -4.14546876e-01 -1.72618528e-01 -5.70568609e-01 -3.62027987e-01 -7.56160372e-01 9.26036479e-01 7.96601880e-03] [ 8.46201365e-01 4.92320282e-01 -8.45894246e-02 5.09244451e-01 2.56046157e-01 -3.92483132e-01 4.33186268e-02 4.24624391e-01 -3.89372937e-01 -9.74954326e-01 -4.63474342e-01 5.93490951e-01 8.59986178e-01 2.50662310e-01 -7.34385031e-01 5.15140718e-01 5.38106921e-02 5.07738143e-01 7.17223406e-01 8.95083102e-01] [ 3.09075069e-01 7.08516420e-01 4.85176115e-01 4.54202377e-01 7.17581513e-01 8.46006082e-01 8.04152003e-01 -2.08499477e-01 -8.31957440e-01 6.59147437e-01 7.78631066e-02 8.41523095e-02 6.50350661e-01 -9.36031631e-01 7.55920837e-01 -9.30731997e-01 3.86389117e-01 1.74968959e-01 2.83498362e-01 -2.51839625e-01] [ 1.12194152e+03 4.09305070e+03 2.97328511e+03 1.63325273e+03 3.45727781e+03 1.47094184e+03 3.10995056e+03 1.42829962e+03 3.56065397e+03 1.47193248e+03 3.89894842e+03 9.71650516e+02 3.83999190e+03 3.29900596e+03 4.13956077e+03 1.15869095e+03 1.67916273e+03 3.51670816e+03 1.64956164e+03 4.03806888e+03] [ 3.63446940e+03 2.13920190e+04 7.03565817e+03 6.75128251e+03 1.74282220e+04 5.76548033e+03 1.52147075e+04 5.45566487e+03 1.80444584e+04 5.76905380e+03 2.01493691e+04 2.63889114e+03 1.98432394e+04 1.64444524e+04 2.17731980e+04 3.87623708e+03 7.06783963e+03 1.80084307e+04 6.89649220e+03 2.10797833e+04] [-1.93256751e+05 -2.26266393e+05 -1.08753639e+05 -1.92085986e+05 -2.29219680e+05 -1.92830108e+05 -2.29844421e+05 -1.91781705e+05 -2.27790341e+05 -1.91817151e+05 -2.27265162e+05 -1.94282553e+05 -2.26243333e+05 -2.29681549e+05 -2.26485677e+05 -1.93780662e+05 -1.90560954e+05 -2.14906805e+05 -1.92081538e+05 -2.25799046e+05] [-3.72393458e+05 -4.53478368e+05 -1.92754899e+05 -3.72794047e+05 -4.55555832e+05 -3.73497725e+05 -4.55056026e+05 -3.70787525e+05 -4.53343412e+05 -3.71402053e+05 -4.54373927e+05 -3.73372543e+05 -4.51862581e+05 -4.56131985e+05 -4.54191526e+05 -3.73687709e+05 -3.69760702e+05 -4.27866845e+05 -3.72976318e+05 -4.51774638e+05] [-6.94055309e+05 -8.76043676e+05 -2.74425885e+05 -7.00167944e+05 -8.71997915e+05 -7.00640266e+05 -8.66639928e+05 -6.93810843e+05 -8.67854478e+05 -6.95686289e+05 -8.74457051e+05 -6.93567582e+05 -8.68237449e+05 -8.71362412e+05 -8.79027714e+05 -6.97149851e+05 -6.94587245e+05 -8.21230296e+05 -7.01745052e+05 -8.71581639e+05] [-1.30852593e+06 -1.62885508e+06 -4.90525637e+05 -1.31749852e+06 -1.62458246e+06 -1.31913468e+06 -1.61606995e+06 -1.30699340e+06 -1.61680386e+06 -1.30942020e+06 -1.62707061e+06 -1.30899872e+06 -1.61580256e+06 -1.62395020e+06 -1.63501054e+06 -1.31506128e+06 -1.30689863e+06 -1.53131523e+06 -1.31994413e+06 -1.62080569e+06] [-2.52660699e+06 -3.18893007e+06 -9.65438864e+05 -2.55394352e+06 -3.16802738e+06 -2.55445275e+06 -3.14478352e+06 -2.53062579e+06 -3.15602230e+06 -2.53518956e+06 -3.18206399e+06 -2.52570453e+06 -3.15934867e+06 -3.16376741e+06 -3.20178526e+06 -2.54043019e+06 -2.53551344e+06 -2.99433688e+06 -2.55845729e+06 -3.17203791e+06] [-3.75368228e+06 -4.66022177e+06 -1.40067892e+06 -3.78311306e+06 -4.64283283e+06 -3.78838554e+06 -4.61627444e+06 -3.75519579e+06 -4.62380620e+06 -3.75749372e+06 -4.65463994e+06 -3.75808603e+06 -4.62035761e+06 -4.63963524e+06 -4.67863070e+06 -3.77519907e+06 -3.75459440e+06 -4.38662658e+06 -3.78899826e+06 -4.63548211e+06] [-5.25749056e+06 -6.57434358e+06 -1.92407656e+06 -5.30931882e+06 -6.53436034e+06 -5.31526646e+06 -6.48666983e+06 -5.26884491e+06 -6.50872929e+06 -5.27144306e+06 -6.55923430e+06 -5.26052628e+06 -6.51181050e+06 -6.52282000e+06 -6.60172616e+06 -5.28908349e+06 -5.27318520e+06 -6.18364646e+06 -5.31889230e+06 -6.54050283e+06] [-7.94722591e+06 -9.96889414e+06 -2.96199449e+06 -8.03176032e+06 -9.90178792e+06 -8.04273395e+06 -9.82897646e+06 -7.97701812e+06 -9.87567239e+06 -7.98326787e+06 -9.95014623e+06 -7.95902547e+06 -9.87883683e+06 -9.88147622e+06 -9.99484563e+06 -7.99591976e+06 -7.98466682e+06 -9.37328992e+06 -8.04406997e+06 -9.92570062e+06] [-1.16896936e+07 -1.47608174e+07 -4.41923472e+06 -1.18409189e+07 -1.46312688e+07 -1.18512927e+07 -1.45141582e+07 -1.17607568e+07 -1.46108382e+07 -1.17734731e+07 -1.47293312e+07 -1.17092937e+07 -1.46262413e+07 -1.45894466e+07 -1.47853092e+07 -1.17638188e+07 -1.17841060e+07 -1.38700378e+07 -1.18595037e+07 -1.47096560e+07] [-1.55413286e+07 -1.96847831e+07 -5.97028710e+06 -1.57605976e+07 -1.94975830e+07 -1.57674788e+07 -1.93396565e+07 -1.56569145e+07 -1.94828149e+07 -1.56740654e+07 -1.96399479e+07 -1.55726593e+07 -1.95141514e+07 -1.94306106e+07 -1.97128422e+07 -1.56446565e+07 -1.56955005e+07 -1.84965125e+07 -1.57831730e+07 -1.96309128e+07] [-1.81285620e+07 -2.32268973e+07 -6.73939033e+06 -1.84383312e+07 -2.29435873e+07 -1.84248323e+07 -2.27270789e+07 -1.83036589e+07 -2.29334217e+07 -1.83225125e+07 -2.31466599e+07 -1.81491345e+07 -2.30074693e+07 -2.28399010e+07 -2.32706426e+07 -1.82550157e+07 -1.83707581e+07 -2.17958563e+07 -1.84646831e+07 -2.31671298e+07] [-1.95175600e+07 -2.52843821e+07 -7.06367237e+06 -1.99048579e+07 -2.49106866e+07 -1.98695632e+07 -2.46461078e+07 -1.97449471e+07 -2.49161555e+07 -1.97645917e+07 -2.51760343e+07 -1.95280846e+07 -2.50276088e+07 -2.47798167e+07 -2.53369259e+07 -1.96613355e+07 -1.98386146e+07 -2.36941585e+07 -1.99330679e+07 -2.52196858e+07] [-1.86450349e+07 -2.40175007e+07 -7.17088353e+06 -1.89827848e+07 -2.37097126e+07 -1.89573071e+07 -2.34975758e+07 -1.88489004e+07 -2.37238751e+07 -1.88643895e+07 -2.39393389e+07 -1.86784705e+07 -2.38059318e+07 -2.36036903e+07 -2.40509968e+07 -1.87848033e+07 -1.89168694e+07 -2.25214219e+07 -1.90031344e+07 -2.39653659e+07] [-1.49687585e+07 -1.93067112e+07 -6.04854361e+06 -1.52362335e+07 -1.90660743e+07 -1.52140204e+07 -1.89079274e+07 -1.51326797e+07 -1.90823985e+07 -1.51446809e+07 -1.92484477e+07 -1.49971878e+07 -1.91463274e+07 -1.89875645e+07 -1.93263139e+07 -1.50815273e+07 -1.51804576e+07 -1.80947632e+07 -1.52496641e+07 -1.92683006e+07] [-1.04541395e+07 -1.36017501e+07 -4.43362110e+06 -1.06472094e+07 -1.34234176e+07 -1.06267322e+07 -1.33102337e+07 -1.05725395e+07 -1.34391701e+07 -1.05819124e+07 -1.35587289e+07 -1.04691933e+07 -1.34905763e+07 -1.33716887e+07 -1.36115047e+07 -1.05331858e+07 -1.06055958e+07 -1.27254133e+07 -1.06532038e+07 -1.35723298e+07] [-6.12855185e+06 -8.01765431e+06 -2.94972823e+06 -6.24681121e+06 -7.90835658e+06 -6.22689112e+06 -7.83937096e+06 -6.20107471e+06 -7.91540482e+06 -6.20447804e+06 -7.98761960e+06 -6.13105102e+06 -7.95550501e+06 -7.87694859e+06 -8.02651229e+06 -6.17529131e+06 -6.22123479e+06 -7.49827417e+06 -6.24531380e+06 -7.99888926e+06] [-2.84984965e+06 -3.76553879e+06 -1.62418548e+06 -2.91445239e+06 -3.70352001e+06 -2.89493971e+06 -3.66898978e+06 -2.89053592e+06 -3.70420871e+06 -2.88619639e+06 -3.74127270e+06 -2.84431779e+06 -3.73760809e+06 -3.68633901e+06 -3.78041205e+06 -2.87433643e+06 -2.90202072e+06 -3.52213636e+06 -2.91014305e+06 -3.75456050e+06] [-1.14710488e+06 -1.47589351e+06 -8.67062057e+05 -1.17360060e+06 -1.45230454e+06 -1.15691703e+06 -1.44266875e+06 -1.16547788e+06 -1.44933816e+06 -1.15599171e+06 -1.46010615e+06 -1.14109005e+06 -1.47109236e+06 -1.44534216e+06 -1.49189986e+06 -1.15866761e+06 -1.16663856e+06 -1.39394279e+06 -1.16660704e+06 -1.47040921e+06] [-3.52831555e+05 -4.49313648e+05 -3.53977262e+05 -3.64723324e+05 -4.37892582e+05 -3.52194674e+05 -4.34139412e+05 -3.61592861e+05 -4.34283166e+05 -3.53774573e+05 -4.37671810e+05 -3.45859042e+05 -4.50561982e+05 -4.33926930e+05 -4.62790726e+05 -3.57804665e+05 -3.61522709e+05 -4.31303302e+05 -3.59443023e+05 -4.46385116e+05] [ 9.66060445e+03 -9.81938047e+03 -7.93172921e+04 3.93973867e+03 -2.67982282e+03 1.04541575e+04 -8.31192532e+02 5.39569761e+03 -5.68335978e+02 9.48615094e+03 -2.60780057e+03 1.45157926e+04 -1.04151463e+04 -1.04542401e+03 -1.75280839e+04 8.02642742e+03 4.61759641e+03 -9.87337567e+03 6.09224892e+03 -7.92495649e+03] [ 2.55285537e+04 3.35819526e+04 1.36603522e+04 2.54958770e+04 3.37808011e+04 2.65802458e+04 3.31419089e+04 2.53858321e+04 3.45430771e+04 2.62461311e+04 3.49395602e+04 2.63780292e+04 3.26290932e+04 3.36528214e+04 3.16488676e+04 2.52077771e+04 2.57267836e+04 3.03079737e+04 2.58945105e+04 3.38954311e+04] [ 5.35567107e+01 9.80961577e+01 3.78282996e+02 5.64126669e+01 9.72771020e+01 6.21531634e+01 9.30096300e+01 5.56604285e+01 1.02134735e+02 5.66020543e+01 1.04919401e+02 5.64779492e+01 9.13176335e+01 9.76185790e+01 8.52885983e+01 4.90021709e+01 5.99422005e+01 7.80061363e+01 5.76390151e+01 9.75109000e+01] [ 3.59111789e-01 -9.29852761e-01 -3.43779370e-01 4.90583746e-01 8.85615970e-01 6.05465100e-01 -5.18347581e-01 -5.34169063e-01 -6.19326411e-01 7.64995070e-01 -5.24288626e-01 5.16361247e-01 -4.77900537e-01 -9.33836313e-01 4.66895400e-01 4.52403620e-01 -8.22081778e-01 -3.46597484e-01 8.96730580e-01 -6.74102003e-01] [-8.26655055e-01 1.89207776e-01 8.61979731e-01 -7.32443385e-01 2.60245873e-02 3.67998428e-01 -6.56340481e-01 -9.77480213e-01 7.75366261e-01 -9.29537459e-01 -4.85083432e-01 3.03368063e-01 -4.28434133e-01 -9.80584807e-01 1.50903669e-01 -3.84415443e-01 -6.96971876e-01 9.42566623e-01 -6.70055464e-01 4.54470882e-01] [ 7.81448383e-01 7.17430231e-01 -6.31485866e-01 -5.26382933e-01 -9.63274727e-01 8.62810935e-01 7.74242353e-01 1.90932338e-01 -7.81264689e-01 -6.52914706e-01 1.53920742e-01 -4.96686053e-01 -3.99656334e-01 -6.58025302e-01 -6.20816562e-01 -7.31576912e-02 1.97479453e-02 2.31597793e-02 9.94277599e-01 -7.40808365e-01] [-7.43066948e+03 -7.61320951e+03 -4.55380359e+03 -7.20228715e+03 -7.94571622e+03 -7.33165604e+03 -8.17605527e+03 -7.27968712e+03 -7.94816436e+03 -7.31715206e+03 -7.76861228e+03 -7.60661405e+03 -7.77540200e+03 -8.08101641e+03 -7.52966802e+03 -7.45515837e+03 -7.16569996e+03 -7.38873812e+03 -7.21751870e+03 -7.65528260e+03] [-4.41590501e+02 1.85791472e+04 2.07994238e+04 2.68615223e+03 1.46979141e+04 1.56399215e+03 1.25809177e+04 1.46824199e+03 1.53094891e+04 1.64652045e+03 1.73548552e+04 -1.45472248e+03 1.70855129e+04 1.36619180e+04 1.89035650e+04 -2.39004730e+02 2.93872169e+03 1.48417524e+04 2.68828693e+03 1.82703904e+04] [-1.25219244e+05 -9.01475770e+04 -5.55837284e+03 -1.15760201e+05 -1.02669301e+05 -1.19042031e+05 -1.09080063e+05 -1.19063046e+05 -1.00022082e+05 -1.18480069e+05 -9.38851790e+04 -1.28495474e+05 -9.45665916e+04 -1.05905212e+05 -8.95852313e+04 -1.24868814e+05 -1.14090732e+05 -9.45222007e+04 -1.15616939e+05 -9.07087704e+04] [-4.81570302e+05 -4.68710827e+05 -1.83097625e+05 -4.62340348e+05 -4.96311754e+05 -4.69242533e+05 -5.09450468e+05 -4.68041293e+05 -4.90030938e+05 -4.66932146e+05 -4.77674124e+05 -4.89418490e+05 -4.77261340e+05 -5.03633520e+05 -4.67436739e+05 -4.81990333e+05 -4.56378619e+05 -4.59279998e+05 -4.61492645e+05 -4.68547020e+05] [-9.74436907e+05 -1.02408027e+06 -3.55423822e+05 -9.47361294e+05 -1.06388896e+06 -9.57984613e+05 -1.08088449e+06 -9.53369936e+05 -1.05305720e+06 -9.53051140e+05 -1.03688603e+06 -9.85283545e+05 -1.03439826e+06 -1.07480630e+06 -1.02304836e+06 -9.76262732e+05 -9.36114049e+05 -9.89607042e+05 -9.46316265e+05 -1.02199895e+06] [-1.59638444e+06 -1.71206267e+06 -4.99282591e+05 -1.55357414e+06 -1.77272839e+06 -1.57161791e+06 -1.79619346e+06 -1.56153795e+06 -1.75399671e+06 -1.56159079e+06 -1.73109296e+06 -1.61201089e+06 -1.72428424e+06 -1.78992459e+06 -1.71163365e+06 -1.59976124e+06 -1.53415732e+06 -1.64537229e+06 -1.55275068e+06 -1.70655155e+06] [-2.69858311e+06 -3.02457522e+06 -8.31650230e+05 -2.65111181e+06 -3.09447234e+06 -2.67408725e+06 -3.11640636e+06 -2.65506238e+06 -3.06539078e+06 -2.65499874e+06 -3.04430938e+06 -2.71638731e+06 -3.03002012e+06 -3.11438483e+06 -3.03026758e+06 -2.70700166e+06 -2.62113268e+06 -2.88707497e+06 -2.65110072e+06 -3.01161599e+06] [-4.12753477e+06 -4.92664554e+06 -1.01845840e+06 -4.10575619e+06 -4.96068176e+06 -4.12775423e+06 -4.95275787e+06 -4.09209868e+06 -4.92301790e+06 -4.09584957e+06 -4.92910753e+06 -4.13588794e+06 -4.90263300e+06 -4.97329063e+06 -4.94495708e+06 -4.14462780e+06 -4.06432628e+06 -4.65642351e+06 -4.11078179e+06 -4.89852719e+06] [-5.52268146e+06 -7.02416708e+06 -1.05225088e+06 -5.56394916e+06 -6.96724303e+06 -5.57469139e+06 -6.89444331e+06 -5.51928043e+06 -6.92412744e+06 -5.52772882e+06 -6.98686185e+06 -5.50353334e+06 -6.94281308e+06 -6.95441774e+06 -7.06223112e+06 -5.55063212e+06 -5.51514430e+06 -6.57269708e+06 -5.57781851e+06 -6.97698653e+06] [-6.96622907e+06 -9.89445730e+06 -2.27671002e+05 -7.18502168e+06 -9.57964318e+06 -7.15701166e+06 -9.33982012e+06 -7.06334263e+06 -9.54699876e+06 -7.09496932e+06 -9.75502419e+06 -6.86942248e+06 -9.68164595e+06 -9.49478771e+06 -9.96305048e+06 -7.00792769e+06 -7.14728484e+06 -9.10926453e+06 -7.22099041e+06 -9.81849637e+06] [-9.71120593e+06 -1.43839676e+07 6.66669605e+04 -1.01207061e+07 -1.38093358e+07 -1.00590596e+07 -1.34049968e+07 -9.92105791e+06 -1.37961581e+07 -9.98048195e+06 -1.41512722e+07 -9.55254198e+06 -1.40379480e+07 -1.36527158e+07 -1.44708221e+07 -9.77806204e+06 -1.00906627e+07 -1.31692645e+07 -1.01780180e+07 -1.42830210e+07] [-1.44649047e+07 -2.16350471e+07 -2.58418413e+05 -1.51143606e+07 -2.07452297e+07 -1.50184722e+07 -2.01427695e+07 -1.48154004e+07 -2.07642473e+07 -1.49192251e+07 -2.12984851e+07 -1.42434661e+07 -2.11328041e+07 -2.05036083e+07 -2.17325441e+07 -1.45695391e+07 -1.50928081e+07 -1.97863666e+07 -1.51988900e+07 -2.15081623e+07] [-1.86678427e+07 -2.86067365e+07 -2.95387532e+05 -1.96199994e+07 -2.73158576e+07 -1.94691964e+07 -2.64718130e+07 -1.91981054e+07 -2.73821297e+07 -1.93521734e+07 -2.81371394e+07 -1.83607066e+07 -2.79174849e+07 -2.69673897e+07 -2.87225477e+07 -1.88119959e+07 -1.96181855e+07 -2.60814628e+07 -1.97371731e+07 -2.84511316e+07] [-2.21777731e+07 -3.42202472e+07 -6.61167993e+05 -2.33462827e+07 -3.26511506e+07 -2.31563029e+07 -3.16378102e+07 -2.28384804e+07 -3.27566290e+07 -2.30265689e+07 -3.36656663e+07 -2.18194265e+07 -3.34034236e+07 -3.22296974e+07 -3.43414782e+07 -2.23555723e+07 -2.33551339e+07 -3.11751841e+07 -2.34813919e+07 -3.40435789e+07] [-2.22259478e+07 -3.50489537e+07 -4.89509460e+05 -2.35142050e+07 -3.33142394e+07 -2.32887443e+07 -3.22135415e+07 -2.29610473e+07 -3.34432046e+07 -2.31624333e+07 -3.44362740e+07 -2.18247695e+07 -3.41677199e+07 -3.28559914e+07 -3.51810461e+07 -2.24130608e+07 -2.35338784e+07 -3.18423858e+07 -2.36558690e+07 -3.48580296e+07] [-2.03065807e+07 -3.26315502e+07 -7.40397397e+05 -2.15589348e+07 -3.09380556e+07 -2.13312802e+07 -2.98796613e+07 -2.10190248e+07 -3.10788006e+07 -2.12224335e+07 -3.20379045e+07 -1.99091506e+07 -3.17933032e+07 -3.05080527e+07 -3.27498670e+07 -2.04805141e+07 -2.15826623e+07 -2.95664944e+07 -2.16920351e+07 -3.24460159e+07] [-1.64966480e+07 -2.65668085e+07 -1.20408606e+06 -1.75065504e+07 -2.52004458e+07 -1.73181781e+07 -2.43588550e+07 -1.70702893e+07 -2.53216274e+07 -1.72380002e+07 -2.60890380e+07 -1.61752164e+07 -2.59057361e+07 -2.48703569e+07 -2.66542699e+07 -1.66383657e+07 -1.75205949e+07 -2.40597564e+07 -1.76063820e+07 -2.64120006e+07] [-1.13540574e+07 -1.87629104e+07 -1.04756339e+06 -1.21111695e+07 -1.77301919e+07 -1.19530801e+07 -1.71019663e+07 -1.17831481e+07 -1.78211467e+07 -1.19045718e+07 -1.83929876e+07 -1.10968982e+07 -1.82802479e+07 -1.74893892e+07 -1.88377868e+07 -1.14562989e+07 -1.21186855e+07 -1.69386127e+07 -1.21765809e+07 -1.86416961e+07] [-7.24314318e+06 -1.21807837e+07 -1.25236683e+06 -7.75489099e+06 -1.14865783e+07 -7.62594842e+06 -1.10708426e+07 -7.53398833e+06 -1.15393835e+07 -7.60149446e+06 -1.19188606e+07 -7.05878515e+06 -1.18710608e+07 -1.13274827e+07 -1.22506708e+07 -7.31312079e+06 -7.75379175e+06 -1.09827107e+07 -7.78464197e+06 -1.20916328e+07] [-3.29504420e+06 -6.18685528e+06 -7.26750741e+05 -3.63413167e+06 -5.72565829e+06 -3.52365611e+06 -5.45991660e+06 -3.49134964e+06 -5.74938698e+06 -3.51842709e+06 -5.99408063e+06 -3.15423492e+06 -5.99810250e+06 -5.61784064e+06 -6.26089034e+06 -3.33689184e+06 -3.63487592e+06 -5.52325739e+06 -3.64454451e+06 -6.12659517e+06] [-1.58337559e+06 -3.02852467e+06 -7.84747910e+05 -1.76299398e+06 -2.79136729e+06 -1.68517568e+06 -2.66195839e+06 -1.68969170e+06 -2.79492747e+06 -1.68942229e+06 -2.91492420e+06 -1.50112859e+06 -2.94601135e+06 -2.73497888e+06 -3.09013361e+06 -1.60909991e+06 -1.75756499e+06 -2.71471176e+06 -1.75794142e+06 -2.99446320e+06] [-7.37847182e+05 -1.27939276e+06 -6.31095762e+05 -8.07082513e+05 -1.19343919e+06 -7.60637943e+05 -1.15505269e+06 -7.81451652e+05 -1.18622225e+06 -7.67264514e+05 -1.22322907e+06 -7.01478151e+05 -1.26436581e+06 -1.17416682e+06 -1.32560607e+06 -7.53684556e+05 -7.99326820e+05 -1.17353912e+06 -7.95051764e+05 -1.26250101e+06] [-3.34587233e+05 -4.60415128e+05 -4.16306073e+05 -3.48384219e+05 -4.47556730e+05 -3.26830663e+05 -4.49329067e+05 -3.45118592e+05 -4.38707299e+05 -3.30781209e+05 -4.38988121e+05 -3.24392753e+05 -4.70664355e+05 -4.46476766e+05 -4.88299800e+05 -3.43627102e+05 -3.42442590e+05 -4.41966963e+05 -3.38073536e+05 -4.52983969e+05] [-9.64941218e+04 -1.50257385e+05 -5.75292330e+04 -1.02178632e+05 -1.43471875e+05 -9.52091778e+04 -1.42148204e+05 -9.99699390e+04 -1.40534664e+05 -9.67769457e+04 -1.42223743e+05 -9.20572240e+04 -1.52488559e+05 -1.42349050e+05 -1.59717514e+05 -9.95858283e+04 -1.00283919e+05 -1.41695114e+05 -9.94133692e+04 -1.47807404e+05] [ 1.56127295e+04 -8.30330537e+03 3.35644631e+04 1.12718889e+04 -1.89587356e+03 1.28940076e+04 1.67941744e+03 1.31847163e+04 -2.28506325e+03 1.27379954e+04 -5.53323329e+03 1.79333087e+04 -5.87160343e+03 -1.96991349e+02 -9.59598561e+03 1.54204308e+04 1.08542134e+04 -3.96857680e+03 1.09301240e+04 -7.83616425e+03] [-1.70177869e+02 1.10553503e+01 -5.70044111e+02 -1.44935424e+02 -2.73623180e+01 -1.37908652e+02 -5.19801816e+01 -1.57940356e+02 -1.99015660e+01 -1.37567239e+02 5.92650725e+00 -1.77507231e+02 -1.43368504e+01 -3.60894253e+01 -3.10801124e-02 -1.71079075e+02 -1.45533354e+02 -3.49340723e+01 -1.29891474e+02 1.26207663e+01] [-4.73505882e-01 -9.98426917e-01 -5.29004477e-01 3.47133396e-01 7.56640399e-01 6.61405138e-01 -7.83785229e-01 -8.57750041e-01 5.23184624e-01 -4.30333256e-01 -4.56393895e-01 -9.95999399e-01 -8.02921979e-01 -7.28805905e-01 -6.81279588e-01 -1.09372795e-01 6.28271629e-01 6.24596231e-01 8.19979243e-01 -1.12815923e-01] [ 4.17421016e-01 -2.33317638e-02 -9.00314884e-01 -8.39137132e-01 -5.08115330e-01 9.63243457e-01 3.83834459e-01 -4.63984836e-01 4.12526489e-01 3.22692269e-01 -9.13419678e-01 -2.77024831e-01 5.47455967e-01 -8.42954170e-01 7.68768234e-01 8.61736593e-01 7.06171025e-01 -7.65244792e-01 1.30346963e-01 4.15119896e-01] [-9.18070266e+03 -8.26358888e+03 -3.74231206e+03 -8.55504749e+03 -9.08819155e+03 -8.79802235e+03 -9.54650920e+03 -8.83017636e+03 -8.99715596e+03 -8.75688228e+03 -8.55433890e+03 -9.49062112e+03 -8.55557112e+03 -9.32113254e+03 -8.17472338e+03 -9.25008515e+03 -8.38378952e+03 -8.10481420e+03 -8.50103348e+03 -8.29983047e+03] [-6.81720765e+04 -2.64802395e+04 5.02967093e+04 -6.14571075e+04 -3.43761130e+04 -6.38229211e+04 -3.87380933e+04 -6.40208714e+04 -3.31886870e+04 -6.36514732e+04 -2.88980500e+04 -7.01290987e+04 -2.94022829e+04 -3.67628833e+04 -2.58770881e+04 -6.78756642e+04 -6.04435962e+04 -3.46002340e+04 -6.13971321e+04 -2.68149963e+04] [-2.93687437e+05 -1.90300702e+05 2.31920030e+04 -2.71893917e+05 -2.18674312e+05 -2.78641286e+05 -2.33795282e+05 -2.79879371e+05 -2.12845553e+05 -2.78119283e+05 -1.98302438e+05 -3.00598838e+05 -2.01345005e+05 -2.26251218e+05 -1.89251616e+05 -2.92924612e+05 -2.67955607e+05 -2.07686014e+05 -2.70995353e+05 -1.91307643e+05] [-6.32285554e+05 -4.67164394e+05 -1.83401588e+05 -5.84804303e+05 -5.31365633e+05 -6.00587746e+05 -5.63406976e+05 -6.01405957e+05 -5.18878919e+05 -5.98073454e+05 -4.87730830e+05 -6.49434268e+05 -4.90359023e+05 -5.48184574e+05 -4.62925711e+05 -6.31422175e+05 -5.74627644e+05 -4.87312818e+05 -5.82236013e+05 -4.68562127e+05] [-1.00542396e+06 -7.93047629e+05 -2.75033318e+05 -9.30243126e+05 -8.91316263e+05 -9.56361706e+05 -9.36869903e+05 -9.54310982e+05 -8.69958225e+05 -9.50471132e+05 -8.24364825e+05 -1.02973259e+06 -8.24619537e+05 -9.16813444e+05 -7.86884722e+05 -1.00378507e+06 -9.12411829e+05 -8.09475074e+05 -9.27385707e+05 -7.93659108e+05] [-1.62030777e+06 -1.46924426e+06 -3.66226819e+05 -1.52304314e+06 -1.59158415e+06 -1.55855219e+06 -1.64093432e+06 -1.54988036e+06 -1.55800881e+06 -1.54622159e+06 -1.50565276e+06 -1.64668362e+06 -1.50031455e+06 -1.62345501e+06 -1.46469719e+06 -1.61873071e+06 -1.49449912e+06 -1.45105951e+06 -1.52092871e+06 -1.46465717e+06] [-2.23787510e+06 -2.40275151e+06 -1.01990553e+05 -2.16306959e+06 -2.48507895e+06 -2.19553927e+06 -2.50003126e+06 -2.17422753e+06 -2.44159034e+06 -2.17444003e+06 -2.41734856e+06 -2.24512175e+06 -2.40304091e+06 -2.50597486e+06 -2.41029575e+06 -2.23872843e+06 -2.12790325e+06 -2.29947492e+06 -2.16595027e+06 -2.38509232e+06] [-2.91736274e+06 -3.95407237e+06 4.35059797e+05 -2.95332033e+06 -3.87444543e+06 -2.95433779e+06 -3.78315427e+06 -2.91457331e+06 -3.82796258e+06 -2.92295158e+06 -3.89574297e+06 -2.86983640e+06 -3.87220630e+06 -3.85151844e+06 -3.99473464e+06 -2.92695324e+06 -2.91935516e+06 -3.65373592e+06 -2.96646320e+06 -3.90948116e+06] [-3.58156570e+06 -6.10254977e+06 1.41574797e+06 -3.81889498e+06 -5.72955291e+06 -3.76587898e+06 -5.44706438e+06 -3.69347266e+06 -5.69106786e+06 -3.72374398e+06 -5.92256499e+06 -3.43664238e+06 -5.87615231e+06 -5.62329372e+06 -6.18449826e+06 -3.60161998e+06 -3.79808062e+06 -5.47322254e+06 -3.85076611e+06 -6.02192610e+06] [-3.47246127e+06 -7.83486284e+06 3.40392225e+06 -3.99931668e+06 -7.04256859e+06 -3.86662912e+06 -6.49537994e+06 -3.75252154e+06 -7.02782091e+06 -3.81871865e+06 -7.48736548e+06 -3.18641653e+06 -7.40873400e+06 -6.81305928e+06 -7.96677497e+06 -3.50151194e+06 -4.01016133e+06 -6.81786079e+06 -4.05910942e+06 -7.71814961e+06] [-4.82313376e+06 -1.09897162e+07 4.63504255e+06 -5.57955674e+06 -9.88019114e+06 -5.39161573e+06 -9.12631131e+06 -5.23585825e+06 -9.88564586e+06 -5.34129159e+06 -1.05201872e+07 -4.43681378e+06 -1.04145557e+07 -9.55266862e+06 -1.11507626e+07 -4.86463524e+06 -5.61578009e+06 -9.55882530e+06 -5.65943246e+06 -1.08518014e+07] [-8.22053672e+06 -1.61973981e+07 5.07986774e+06 -9.15362528e+06 -1.48605734e+07 -8.93896316e+06 -1.39519403e+07 -8.73369269e+06 -1.48893840e+07 -8.88192575e+06 -1.56506932e+07 -7.78064268e+06 -1.55194212e+07 -1.44621768e+07 -1.63665142e+07 -8.28004515e+06 -9.21382460e+06 -1.43144685e+07 -9.25046102e+06 -1.60494009e+07] [-1.26799576e+07 -2.19791438e+07 4.97907396e+06 -1.36683366e+07 -2.05826141e+07 -1.34678424e+07 -1.96140071e+07 -1.32192174e+07 -2.06343643e+07 -1.34037654e+07 -2.14296909e+07 -1.22478194e+07 -2.12801516e+07 -2.01639913e+07 -2.21258423e+07 -1.27547086e+07 -1.37434835e+07 -1.97212389e+07 -1.37702149e+07 -2.18363707e+07] [-1.52876943e+07 -2.50886034e+07 4.34599742e+06 -1.62320415e+07 -2.37625670e+07 -1.60640225e+07 -2.28191559e+07 -1.57974453e+07 -2.38267148e+07 -1.59960274e+07 -2.45864224e+07 -1.48981282e+07 -2.44243622e+07 -2.33707216e+07 -2.51979689e+07 -1.53709840e+07 -1.63016454e+07 -2.26522063e+07 -1.63237807e+07 -2.49489901e+07] [-1.58048317e+07 -2.56405892e+07 3.54715401e+06 -1.67051873e+07 -2.43703742e+07 -1.65588742e+07 -2.34622636e+07 -1.62846461e+07 -2.44451609e+07 -1.64921220e+07 -2.51759777e+07 -1.54413821e+07 -2.50067478e+07 -2.40171994e+07 -2.57148597e+07 -1.58866833e+07 -1.67645655e+07 -2.31709486e+07 -1.67886970e+07 -2.54934006e+07] [-1.42288304e+07 -2.42452772e+07 3.25370491e+06 -1.51891200e+07 -2.28699448e+07 -1.50234776e+07 -2.19236733e+07 -1.47411655e+07 -2.29693971e+07 -1.49660907e+07 -2.37489795e+07 -1.38323605e+07 -2.35811899e+07 -2.25202841e+07 -2.43118436e+07 -1.43068696e+07 -1.52497378e+07 -2.17650359e+07 -1.52801396e+07 -2.40813655e+07] [-1.18788097e+07 -2.11972438e+07 2.30318111e+06 -1.28059283e+07 -1.98611946e+07 -1.26312295e+07 -1.89717797e+07 -1.23797686e+07 -1.99625432e+07 -1.25868535e+07 -2.07097618e+07 -1.14899396e+07 -2.05725260e+07 -1.95434171e+07 -2.12632527e+07 -1.19538805e+07 -1.28570841e+07 -1.89223021e+07 -1.28880869e+07 -2.10296309e+07] [-7.67738130e+06 -1.55356534e+07 2.05105629e+06 -8.53811233e+06 -1.42907051e+07 -8.34157916e+06 -1.34948210e+07 -8.15565947e+06 -1.43791798e+07 -8.31355445e+06 -1.50615742e+07 -7.30062621e+06 -1.49732442e+07 -1.39998335e+07 -1.56274804e+07 -7.74498198e+06 -8.58235860e+06 -1.36800023e+07 -8.60334510e+06 -1.53751371e+07] [-3.92055379e+06 -9.83368632e+06 1.69460914e+06 -4.64515235e+06 -8.78604219e+06 -4.44276326e+06 -8.14010838e+06 -4.33278516e+06 -8.84530933e+06 -4.43097331e+06 -9.40926758e+06 -3.58136213e+06 -9.37478341e+06 -8.53657058e+06 -9.95017595e+06 -3.97376429e+06 -4.68005349e+06 -8.49709854e+06 -4.68712969e+06 -9.69625626e+06] [-1.84651491e+06 -6.12155219e+06 1.15048850e+06 -2.42698671e+06 -5.29389009e+06 -2.23071964e+06 -4.80638745e+06 -2.18165650e+06 -5.32878136e+06 -2.23378837e+06 -5.76458563e+06 -1.56357947e+06 -5.78049109e+06 -5.09317676e+06 -6.25427215e+06 -1.89103224e+06 -2.44973925e+06 -5.20566223e+06 -2.44799613e+06 -6.01422416e+06] [-4.71285367e+05 -3.10873865e+06 9.04347986e+05 -8.66641429e+05 -2.54971624e+06 -7.08741844e+05 -2.23780617e+06 -7.03209773e+05 -2.56510601e+06 -7.20737183e+05 -2.84948644e+06 -2.68911895e+05 -2.89949925e+06 -2.41213209e+06 -3.23085944e+06 -5.05323926e+05 -8.80038289e+05 -2.58127716e+06 -8.73200998e+05 -3.03911430e+06] [-1.64893818e+05 -1.38101495e+06 3.74992587e+05 -3.63491577e+05 -1.10377619e+06 -2.61251475e+05 -9.64127531e+05 -2.85080536e+05 -1.10019893e+06 -2.74485099e+05 -1.23121506e+06 -5.56694099e+04 -1.29922675e+06 -1.03697906e+06 -1.47663887e+06 -1.90173332e+05 -3.65742735e+05 -1.16367186e+06 -3.55417001e+05 -1.34285498e+06] [-3.30598204e+05 -7.75727510e+05 -3.19977142e+04 -4.01910120e+05 -6.79332237e+05 -3.49550285e+05 -6.38964963e+05 -3.74901105e+05 -6.69337924e+05 -3.58097811e+05 -7.08404276e+05 -2.86492728e+05 -7.62982831e+05 -6.57269518e+05 -8.34803339e+05 -3.47301170e+05 -3.98864719e+05 -7.06245721e+05 -3.89302202e+05 -7.58302354e+05] [-5.69228626e+04 -1.82086625e+05 6.65901605e+04 -7.83732572e+04 -1.52726586e+05 -5.95832543e+04 -1.42123159e+05 -7.04693069e+04 -1.48099122e+05 -6.27535524e+04 -1.58325962e+05 -4.22192215e+04 -1.81701493e+05 -1.46134765e+05 -2.05816093e+05 -6.36953099e+04 -7.76747564e+04 -1.66483343e+05 -7.27949296e+04 -1.76150740e+05] [-3.88356716e+04 -8.60301008e+04 2.91711048e+04 -4.50602288e+04 -7.76350756e+04 -4.12676430e+04 -7.33829710e+04 -4.23719002e+04 -7.68173831e+04 -4.19120917e+04 -8.06328334e+04 -3.50018398e+04 -8.44426391e+04 -7.52497937e+04 -9.05724753e+04 -4.02700471e+04 -4.49384530e+04 -7.73040821e+04 -4.43830033e+04 -8.49517712e+04] [ 1.47850746e+04 -1.67233266e+04 3.86644230e+04 9.24668974e+03 -8.77278300e+03 1.09870841e+04 -4.43448846e+03 1.15575373e+04 -9.35159006e+03 1.09104205e+04 -1.34086647e+04 1.72486680e+04 -1.35061915e+04 -6.72223762e+03 -1.81014429e+04 1.44423732e+04 8.65609321e+03 -1.06302546e+04 8.66466156e+03 -1.61451193e+04] [ 1.86217002e+03 3.23799780e+03 4.21284055e+02 2.05116892e+03 2.98435493e+03 1.99132545e+03 2.85705961e+03 1.96773344e+03 3.01574197e+03 1.98593268e+03 3.14335299e+03 1.80159138e+03 3.12933720e+03 2.93211295e+03 3.28692580e+03 1.87792146e+03 2.05384347e+03 2.91918841e+03 2.06955975e+03 3.21475678e+03] [ 1.42760785e+04 2.56028194e+04 2.62862135e+03 1.58895299e+04 2.35110299e+04 1.53848420e+04 2.24447788e+04 1.51783059e+04 2.37432074e+04 1.53559078e+04 2.48197179e+04 1.37664142e+04 2.47403606e+04 2.30450791e+04 2.59835378e+04 1.44178153e+04 1.59409597e+04 2.30757594e+04 1.60334754e+04 2.54271758e+04] [ 2.44036670e+04 4.49223836e+04 -8.23215561e+03 2.75774772e+04 4.06221825e+04 2.65699956e+04 3.86088323e+04 2.61837565e+04 4.11588464e+04 2.65654526e+04 4.32383924e+04 2.33361269e+04 4.32118662e+04 3.97224546e+04 4.57952951e+04 2.46596540e+04 2.76656589e+04 4.04169125e+04 2.79658996e+04 4.46557014e+04] [-4.96983251e+04 6.79817445e+04 2.86065638e+04 -3.02835950e+04 4.32384906e+04 -3.65970950e+04 3.06172544e+04 -3.82051391e+04 4.67845985e+04 -3.67866306e+04 5.95910520e+04 -5.59352527e+04 5.78565170e+04 3.72416371e+04 7.11556882e+04 -4.85054585e+04 -2.86097501e+04 4.34958700e+04 -2.90025068e+04 6.63176886e+04] [-1.73418114e+05 1.00013709e+05 -1.16150917e+04 -1.23805048e+05 3.45716537e+04 -1.39496443e+05 2.17346693e+03 -1.43246202e+05 4.51160676e+04 -1.39644060e+05 7.79193761e+04 -1.89354137e+05 7.37717841e+04 1.92892777e+04 1.07650271e+05 -1.70633081e+05 -1.18166048e+05 4.57606286e+04 -1.20199469e+05 9.60162703e+04] [-1.48419017e+05 2.70815967e+05 -5.37217629e+04 -6.92981038e+04 1.69014175e+05 -9.45768209e+04 1.22382304e+05 -9.88125374e+04 1.87473791e+05 -9.42987769e+04 2.36707970e+05 -1.71244308e+05 2.32452453e+05 1.45737224e+05 2.82658879e+05 -1.42917071e+05 -5.86802593e+04 1.88229090e+05 -6.42364723e+04 2.65965852e+05] [ 2.04789319e+05 8.87274751e+05 6.43993915e+04 3.21030359e+05 7.44375729e+05 2.83994398e+05 6.83018707e+05 2.78722160e+05 7.73626691e+05 2.85431872e+05 8.40745148e+05 1.76594636e+05 8.37203085e+05 7.13459581e+05 9.02848863e+05 2.15956199e+05 3.34728698e+05 7.44538662e+05 3.26255878e+05 8.81266793e+05] [ 6.91080683e+05 1.45177674e+06 3.19233404e+05 8.12800692e+05 1.31367559e+06 7.73436733e+05 1.26537078e+06 7.69268680e+05 1.35182529e+06 7.78057032e+05 1.41190080e+06 6.71350517e+05 1.41211353e+06 1.28706528e+06 1.46455013e+06 7.05636707e+05 8.27276964e+05 1.28586361e+06 8.16667331e+05 1.45184081e+06] [ 1.68114730e+06 2.07206622e+06 1.31091764e+06 1.71248547e+06 2.07704481e+06 1.70518499e+06 2.12262988e+06 1.70797517e+06 2.11742054e+06 1.71072072e+06 2.09854805e+06 1.72073427e+06 2.10116170e+06 2.09201648e+06 2.05782349e+06 1.69908384e+06 1.71620898e+06 1.95680548e+06 1.70873352e+06 2.09229564e+06] [ 2.87273810e+06 2.66675483e+06 2.34877071e+06 2.77957031e+06 2.85754327e+06 2.81627977e+06 3.02943043e+06 2.82289353e+06 2.90065313e+06 2.82185435e+06 2.78002439e+06 2.98631355e+06 2.78309737e+06 2.93333031e+06 2.61884972e+06 2.89208857e+06 2.76607871e+06 2.64610522e+06 2.77096699e+06 2.71171897e+06] [ 4.13726659e+06 2.85942709e+06 3.81699154e+06 3.84482674e+06 3.33486009e+06 3.95132162e+06 3.70021289e+06 3.97073604e+06 3.37537677e+06 3.95285621e+06 3.09910195e+06 4.36594323e+06 3.10639975e+06 3.50622490e+06 2.76505905e+06 4.16125139e+06 3.80044773e+06 3.03088355e+06 3.82867943e+06 2.93337696e+06] [ 5.60168292e+06 3.24890281e+06 5.65463376e+06 5.10163438e+06 4.01662661e+06 5.28205262e+06 4.58665499e+06 5.31701138e+06 4.05053194e+06 5.27217733e+06 3.61350843e+06 5.95554883e+06 3.62774195e+06 4.29481840e+06 3.11037044e+06 5.63668031e+06 5.01796996e+06 3.60744760e+06 5.07772718e+06 3.34057310e+06] [ 5.16423446e+06 2.86189805e+06 6.16910542e+06 4.68817818e+06 3.58081692e+06 4.86419911e+06 4.15772904e+06 4.89493670e+06 3.63124309e+06 4.84352044e+06 3.21554355e+06 5.52424898e+06 3.21632593e+06 3.87452217e+06 2.72795022e+06 5.21466720e+06 4.58373680e+06 3.20903349e+06 4.67914286e+06 2.94009787e+06] [ 7.20561639e+05 -1.29551330e+06 4.82865242e+06 4.08886807e+05 -8.41529338e+05 5.20846703e+05 -3.88064260e+05 5.50536359e+05 -7.75932457e+05 4.99672927e+05 -1.05342808e+06 9.85182301e+05 -1.06638132e+06 -5.98174943e+05 -1.38669003e+06 7.70194954e+05 3.04677597e+05 -9.36849603e+05 4.23696011e+05 -1.25323127e+06] [-5.10482402e+06 -6.57096278e+06 2.53351451e+06 -5.10968013e+06 -6.56879385e+06 -5.12571982e+06 -6.35810959e+06 -5.08835996e+06 -6.49111160e+06 -5.13839621e+06 -6.52984038e+06 -5.01892860e+06 -6.55053101e+06 -6.45395130e+06 -6.56823245e+06 -5.06418922e+06 -5.18853834e+06 -6.18828939e+06 -5.06382747e+06 -6.56978102e+06] [-8.34861463e+06 -9.15814122e+06 8.73040589e+05 -8.07871162e+06 -9.53664024e+06 -8.20562033e+06 -9.53608447e+06 -8.16103685e+06 -9.44987694e+06 -8.21346038e+06 -9.28851029e+06 -8.40529823e+06 -9.31006979e+06 -9.54758636e+06 -9.06563822e+06 -8.30653001e+06 -8.12770005e+06 -8.80656953e+06 -8.00798046e+06 -9.18001208e+06] [-8.20926321e+06 -9.02071868e+06 1.09973016e+06 -7.88853112e+06 -9.43461627e+06 -8.04678604e+06 -9.45973231e+06 -7.97967067e+06 -9.36292861e+06 -8.05731725e+06 -9.18163374e+06 -8.28335387e+06 -9.19483036e+06 -9.49395055e+06 -8.88786994e+06 -8.16079809e+06 -7.92450883e+06 -8.64299243e+06 -7.81997327e+06 -9.02965977e+06] [-5.84701882e+06 -7.29270932e+06 1.42516915e+06 -5.66593857e+06 -7.47328795e+06 -5.78702044e+06 -7.38433669e+06 -5.69881444e+06 -7.42901044e+06 -5.79688141e+06 -7.36795266e+06 -5.84976456e+06 -7.36706228e+06 -7.50830265e+06 -7.17080878e+06 -5.80018338e+06 -5.70164275e+06 -6.81379554e+06 -5.61740716e+06 -7.26171967e+06] [-2.62101937e+06 -5.42721894e+06 2.45562890e+06 -2.75788933e+06 -5.13848846e+06 -2.77212336e+06 -4.80620042e+06 -2.66666990e+06 -5.12823159e+06 -2.78361504e+06 -5.31257928e+06 -2.46973163e+06 -5.29679535e+06 -5.06740758e+06 -5.36712745e+06 -2.58675605e+06 -2.80754007e+06 -4.73163050e+06 -2.74378191e+06 -5.34615146e+06] [ 2.83274523e+05 -3.22601601e+06 3.26715474e+06 -1.15595905e+05 -2.56862448e+06 -2.01494263e+04 -2.05980028e+06 6.84648935e+04 -2.57796394e+06 -3.26797927e+04 -2.94975108e+06 5.60215066e+05 -2.93562839e+06 -2.39994082e+06 -3.24796337e+06 3.00528625e+05 -1.75352421e+05 -2.47772257e+06 -1.20541815e+05 -3.11023860e+06] [ 2.85293655e+06 -7.42216346e+05 3.63015050e+06 2.31031013e+06 1.02044298e+05 2.48487159e+06 6.67305439e+05 2.53867523e+06 9.04662810e+04 2.46799781e+06 -3.65931673e+05 3.19361386e+06 -3.80615760e+05 3.24044345e+05 -8.41329508e+05 2.85434854e+06 2.24752028e+06 -5.08274708e+04 2.29743293e+06 -6.16198887e+05] [ 2.50818388e+06 -1.11883921e+06 2.98684344e+06 1.91509919e+06 -2.35834092e+05 2.12742515e+06 3.01379334e+05 2.15679388e+06 -2.57861958e+05 2.11073605e+06 -7.21276921e+05 2.84365896e+06 -7.56106279e+05 -7.55647473e+03 -1.26027679e+06 2.48746709e+06 1.86462890e+06 -4.36426219e+05 1.89999782e+06 -1.00024273e+06] [ 1.97877885e+06 -7.63896430e+05 2.35219024e+06 1.50291160e+06 -6.66969381e+04 1.69323236e+06 3.27798079e+05 1.69211772e+06 -8.36629678e+04 1.67468678e+06 -4.37017079e+05 2.24169823e+06 -4.98202757e+05 1.11187376e+05 -9.08710679e+05 1.95001238e+06 1.46938776e+06 -2.69809550e+05 1.49502676e+06 -6.76697944e+05] [ 1.24906435e+06 -3.53542931e+05 1.64897795e+06 9.52921596e+05 8.00375767e+04 1.09412159e+06 3.06441657e+05 1.06859160e+06 7.97369765e+04 1.07539117e+06 -1.27606353e+05 1.41944644e+06 -2.13919079e+05 1.89131997e+05 -4.83512496e+05 1.22062897e+06 9.34185836e+05 -9.24965432e+04 9.56494663e+05 -2.99738373e+05] [ 3.35976306e+04 -6.01485555e+05 5.60492216e+05 -7.94817454e+04 -4.38255551e+05 -4.68495242e+03 -3.64474144e+05 -3.60745903e+04 -4.25590455e+05 -1.69475239e+04 -4.95013875e+05 1.05800776e+05 -5.71142285e+05 -3.98801518e+05 -6.86669323e+05 1.10996267e+04 -8.16856438e+04 -5.10618799e+05 -6.61256640e+04 -5.76484347e+05] [-2.05631534e+05 -3.78561126e+05 1.17930442e+05 -2.35663649e+05 -3.36492609e+05 -2.07249575e+05 -3.21421224e+05 -2.24505607e+05 -3.27478429e+05 -2.12069459e+05 -3.41999299e+05 -1.83535023e+05 -3.80005563e+05 -3.26683897e+05 -4.15996377e+05 -2.16361556e+05 -2.35102554e+05 -3.59745532e+05 -2.26600339e+05 -3.69716189e+05] [ 1.81075810e+04 -3.80120149e+04 4.12925469e+04 7.64070812e+03 -2.33988598e+04 1.46597899e+04 -1.70740497e+04 1.16759761e+04 -2.22517900e+04 1.37459570e+04 -2.82557604e+04 2.43446646e+04 -3.56190161e+04 -1.98084634e+04 -4.64295021e+04 1.57658298e+04 7.07321681e+03 -3.01996552e+04 9.00948660e+03 -3.58746660e+04] [ 1.63605103e+04 -7.85665603e+03 2.98770106e+04 1.19621453e+04 -1.57981034e+03 1.33599859e+04 1.77817798e+03 1.38016848e+04 -1.97072255e+03 1.32818654e+04 -5.17350883e+03 1.83301369e+04 -5.36756761e+03 1.36610495e+01 -9.02789316e+03 1.60658077e+04 1.14619641e+04 -3.27683019e+03 1.14935279e+04 -7.39626120e+03] [ 7.56618387e+03 1.31611761e+04 1.71022236e+03 8.33477534e+03 1.21311494e+04 8.09582680e+03 1.16123845e+04 7.99467397e+03 1.22526228e+04 8.06707269e+03 1.27725336e+04 7.32234962e+03 1.27154720e+04 1.19178787e+04 1.33545923e+04 7.63434499e+03 8.34405777e+03 1.18597380e+04 8.40963972e+03 1.30667641e+04] [ 6.26994136e+04 9.21794814e+04 -9.48768176e+01 6.54645382e+04 8.86989726e+04 6.46227678e+04 8.68274506e+04 6.40128790e+04 8.89434087e+04 6.44563011e+04 9.07730616e+04 6.16504444e+04 9.06107337e+04 8.80497280e+04 9.29057945e+04 6.30197283e+04 6.52288536e+04 8.45354884e+04 6.56974811e+04 9.17344077e+04] [ 1.67240488e+05 2.50301380e+05 -7.10444126e+03 1.75640304e+05 2.39463655e+05 1.73099627e+05 2.33901067e+05 1.71387884e+05 2.40342886e+05 1.72721973e+05 2.45914442e+05 1.64192452e+05 2.45570428e+05 2.37417183e+05 2.52618558e+05 1.68234017e+05 1.75034662e+05 2.29213649e+05 1.76462412e+05 2.49105443e+05] [ 2.17283376e+05 4.90391078e+05 7.94677945e+03 2.54622214e+05 4.41986481e+05 2.43048508e+05 4.17096607e+05 2.38138545e+05 4.47821051e+05 2.42167147e+05 4.72799463e+05 2.04615630e+05 4.69845020e+05 4.31166264e+05 4.97815190e+05 2.20263245e+05 2.55852636e+05 4.27818919e+05 2.57713597e+05 4.86375116e+05] [ 4.43594318e+05 1.03692424e+06 3.83378118e+03 5.26292661e+05 9.29696358e+05 5.01009825e+05 8.77908696e+05 4.91254628e+05 9.44507594e+05 4.98884766e+05 9.98339429e+05 4.17792843e+05 9.92257923e+05 9.06900845e+05 1.05318597e+06 4.51042863e+05 5.30028514e+05 9.00896710e+05 5.32970231e+05 1.02852315e+06] [ 1.00308476e+06 1.91428341e+06 2.26753035e+04 1.12451401e+06 1.75884626e+06 1.08840325e+06 1.68836092e+06 1.07376760e+06 1.78267814e+06 1.08498485e+06 1.85856765e+06 9.69490501e+05 1.85154556e+06 1.72778003e+06 1.93867760e+06 1.01651582e+06 1.12916617e+06 1.69983012e+06 1.13504160e+06 1.90339340e+06] [ 2.82365522e+06 4.26824777e+06 3.92329287e+05 2.97407156e+06 4.08907672e+06 2.93164564e+06 4.01066656e+06 2.90864676e+06 4.12021266e+06 2.92475691e+06 4.20672421e+06 2.79286583e+06 4.19808936e+06 4.05824618e+06 4.29721934e+06 2.84905590e+06 2.97048952e+06 3.90129991e+06 2.98428314e+06 4.25467834e+06] [ 4.92629464e+06 6.74510864e+06 1.03668869e+06 5.07230700e+06 6.58941322e+06 5.03848755e+06 6.53872730e+06 5.00434728e+06 6.62872386e+06 5.02586655e+06 6.70094046e+06 4.91908391e+06 6.68633880e+06 6.57433957e+06 6.76961792e+06 4.96421421e+06 5.05557067e+06 6.24749276e+06 5.08452952e+06 6.73618017e+06] [ 7.71937781e+06 9.70565707e+06 2.06710125e+06 7.81330006e+06 9.63750361e+06 7.80851697e+06 9.65352967e+06 7.75869688e+06 9.68410919e+06 7.78728470e+06 9.71003509e+06 7.76092886e+06 9.68244987e+06 9.65867380e+06 9.71107426e+06 7.77021386e+06 7.77438559e+06 9.10465029e+06 7.83084403e+06 9.71000938e+06] [ 1.05621554e+07 1.22761822e+07 3.55968160e+06 1.05185904e+07 1.24094814e+07 1.05767847e+07 1.25664980e+07 1.05144104e+07 1.24607325e+07 1.05413814e+07 1.23795791e+07 1.07008877e+07 1.23386806e+07 1.25083151e+07 1.22417188e+07 1.06284350e+07 1.04474636e+07 1.16525478e+07 1.05376747e+07 1.22995739e+07] [ 1.33273190e+07 1.46076833e+07 5.15959771e+06 1.31387082e+07 1.49430534e+07 1.32632460e+07 1.52574193e+07 1.31931168e+07 1.50017858e+07 1.32091609e+07 1.48079586e+07 1.35716851e+07 1.47562690e+07 1.51302209e+07 1.45344602e+07 1.34141973e+07 1.30274176e+07 1.40007423e+07 1.31646669e+07 1.46450251e+07] [ 1.51097168e+07 1.70848479e+07 5.98361879e+06 1.49594354e+07 1.73536956e+07 1.51005575e+07 1.76659644e+07 1.49946592e+07 1.74422564e+07 1.50247295e+07 1.72824821e+07 1.53781499e+07 1.71955059e+07 1.75642348e+07 1.69952088e+07 1.52229880e+07 1.48229283e+07 1.62625573e+07 1.50122208e+07 1.71069734e+07] [ 1.27664248e+07 1.56986272e+07 4.48430510e+06 1.28106297e+07 1.56600002e+07 1.28990220e+07 1.58194384e+07 1.27593770e+07 1.57848562e+07 1.28197995e+07 1.57856693e+07 1.29452774e+07 1.56691875e+07 1.58195734e+07 1.56348822e+07 1.28849669e+07 1.26790427e+07 1.46958455e+07 1.28970021e+07 1.56854072e+07] [ 4.99321500e+06 8.57894968e+06 6.80915942e+05 5.36394771e+06 8.03765638e+06 5.31928463e+06 7.91424571e+06 5.17405578e+06 8.18427530e+06 5.25892083e+06 8.44829068e+06 4.96388844e+06 8.32394751e+06 8.06378732e+06 8.60369539e+06 5.08614441e+06 5.26986260e+06 7.59131549e+06 5.48282210e+06 8.51772632e+06] [-3.59752032e+06 4.00859592e+05 -3.50297679e+06 -2.84512860e+06 -6.96774616e+05 -3.06744136e+06 -1.15467815e+06 -3.18837728e+06 -5.49525582e+05 -3.10181277e+06 8.92317291e+03 -3.88089180e+06 -1.04761195e+05 -8.60307449e+05 5.58159016e+05 -3.54032281e+06 -2.88329502e+06 -4.54021846e+05 -2.70123007e+06 2.97602929e+05] [-8.32447419e+06 -4.22235140e+06 -5.13072770e+06 -7.29809802e+06 -5.68147918e+06 -7.65488347e+06 -6.34742370e+06 -7.73097431e+06 -5.54235793e+06 -7.67660101e+06 -4.79534184e+06 -8.76411950e+06 -4.89040636e+06 -5.99535062e+06 -3.95290755e+06 -8.27689327e+06 -7.29135715e+06 -4.93049760e+06 -7.14444638e+06 -4.34066662e+06] [-6.42760815e+06 -2.07075217e+06 -3.77567924e+06 -5.34800869e+06 -3.54571478e+06 -5.73178362e+06 -4.22025724e+06 -5.77792428e+06 -3.41161932e+06 -5.76066503e+06 -2.65631830e+06 -6.85591103e+06 -2.74743334e+06 -3.90336148e+06 -1.77627175e+06 -6.35708650e+06 -5.32920222e+06 -2.83354338e+06 -5.20604775e+06 -2.17318284e+06] [-2.40982810e+06 1.18141794e+06 -1.58082731e+06 -1.54282729e+06 4.97092441e+04 -1.84791060e+06 -4.21260319e+05 -1.86850648e+06 1.73263003e+05 -1.88544394e+06 7.44710383e+05 -2.69333327e+06 6.56065479e+05 -2.37037265e+05 1.42162572e+06 -2.31974943e+06 -1.53703010e+06 5.02569121e+05 -1.42550910e+06 1.13016240e+06] [ 2.90418695e+06 4.83973703e+06 1.25850310e+06 3.35547939e+06 4.32439263e+06 3.20233118e+06 4.21102392e+06 3.20059682e+06 4.42526801e+06 3.15757552e+06 4.66672461e+06 2.85762762e+06 4.59785307e+06 4.20636873e+06 4.98176998e+06 3.00311996e+06 3.32765819e+06 4.40069846e+06 3.43535209e+06 4.85229075e+06] [ 7.65569469e+06 7.67778409e+06 4.11057010e+06 7.59774450e+06 7.89586052e+06 7.62415541e+06 8.18856075e+06 7.63546844e+06 7.94955539e+06 7.57870636e+06 7.80489532e+06 7.86337238e+06 7.77326037e+06 7.98514645e+06 7.70582792e+06 7.74393902e+06 7.52533678e+06 7.51230600e+06 7.63282250e+06 7.75202305e+06] [ 7.97133915e+06 6.18570045e+06 4.94372768e+06 7.55986178e+06 6.87424188e+06 7.70881090e+06 7.38708518e+06 7.72827461e+06 6.89031211e+06 7.67116364e+06 6.50748094e+06 8.31114222e+06 6.48663688e+06 7.08363227e+06 6.12103262e+06 8.02146417e+06 7.47470827e+06 6.37479603e+06 7.56631766e+06 6.29722297e+06] [ 6.72957356e+06 4.04255990e+06 4.84530296e+06 6.16399156e+06 4.91563979e+06 6.36695255e+06 5.47051147e+06 6.38471084e+06 4.90003233e+06 6.33847120e+06 4.43788504e+06 7.08886605e+06 4.40987243e+06 5.15927954e+06 3.92506521e+06 6.74114347e+06 6.08217355e+06 4.43847063e+06 6.15218560e+06 4.15836663e+06] [ 4.99272125e+06 2.36593345e+06 4.01430275e+06 4.46204018e+06 3.16458342e+06 4.65913297e+06 3.63271436e+06 4.66624309e+06 3.13948989e+06 4.63721668e+06 2.72897016e+06 5.29716305e+06 2.68702997e+06 3.37996511e+06 2.23253339e+06 4.98119596e+06 4.39822586e+06 2.78576353e+06 4.44436695e+06 2.45888057e+06] [ 2.81947468e+06 9.93074587e+05 2.88839169e+06 2.45440650e+06 1.54197894e+06 2.60488447e+06 1.84694471e+06 2.59633559e+06 1.52907687e+06 2.58588442e+06 1.25742283e+06 3.02986938e+06 1.19349906e+06 1.68843391e+06 8.69411929e+05 2.80017224e+06 2.41457081e+06 1.28085197e+06 2.44407588e+06 1.05169571e+06] [ 8.78754551e+05 -1.00944147e+04 1.39330981e+06 7.06301285e+05 2.49617835e+05 7.92966610e+05 3.84462190e+05 7.74427668e+05 2.53634318e+05 7.80872359e+05 1.32065010e+05 9.84306716e+05 6.70729543e+04 3.17716766e+05 -9.86805473e+04 8.60590544e+05 6.89924272e+05 1.22818820e+05 7.07834061e+05 1.91864894e+04] [-2.86015734e+05 -5.36931918e+05 2.17953553e+05 -3.24775988e+05 -4.81139483e+05 -2.94259247e+05 -4.56458257e+05 -3.08849185e+05 -4.71893676e+05 -2.99849939e+05 -4.94327784e+05 -2.58341983e+05 -5.32609104e+05 -4.66861022e+05 -5.76219684e+05 -2.97020841e+05 -3.24935907e+05 -5.01181443e+05 -3.17093202e+05 -5.27571973e+05] [ 6.10367881e+04 3.67910203e+04 6.08423615e+04 5.43487668e+04 4.67742527e+04 5.93212793e+04 5.08142689e+04 5.69194044e+04 4.76949330e+04 5.85934608e+04 4.38348059e+04 6.57021999e+04 3.81302632e+04 4.91674447e+04 3.05913013e+04 5.96798594e+04 5.36756212e+04 3.79175705e+04 5.52527314e+04 3.82271091e+04] [ 1.38976020e+04 3.24770016e+02 1.83988384e+04 1.12854775e+04 4.12814740e+03 1.21987296e+04 6.27216793e+03 1.23717011e+04 3.85610313e+03 1.21739283e+04 1.93774810e+03 1.51667080e+04 1.83417716e+03 5.11762830e+03 -3.44681273e+02 1.38235766e+04 1.08995818e+04 2.79455871e+03 1.10925798e+04 6.41180399e+02] [ 1.22756973e+03 2.13681420e+03 2.76570546e+02 1.35214670e+03 1.96957588e+03 1.31351292e+03 1.88422745e+03 1.29801766e+03 1.98946854e+03 1.30865167e+03 2.07342139e+03 1.18783743e+03 2.06363489e+03 1.93394814e+03 2.16840921e+03 1.23938058e+03 1.35399154e+03 1.92397914e+03 1.36474106e+03 2.12188885e+03] [ 7.34948068e+04 1.18534587e+05 -7.14319979e+03 7.68094757e+04 1.14639177e+05 7.57821147e+04 1.12309490e+05 7.49496367e+04 1.14730494e+05 7.55403679e+04 1.16897453e+05 7.21973278e+04 1.16707554e+05 1.13893472e+05 1.19433931e+05 7.39950230e+04 7.62817682e+04 1.06458396e+05 7.69430508e+04 1.17888878e+05] [ 2.65802087e+05 4.06597658e+05 -1.93446107e+04 2.80379217e+05 3.87772568e+05 2.75957940e+05 3.77737306e+05 2.72971081e+05 3.89200200e+05 2.75358967e+05 3.99039765e+05 2.60182966e+05 3.98326337e+05 3.83975328e+05 4.10308238e+05 2.67313435e+05 2.79607401e+05 3.71196390e+05 2.81755508e+05 4.04544559e+05] [ 6.20461868e+05 1.04434103e+06 2.30516339e+04 6.67374503e+05 9.84332113e+05 6.53540011e+05 9.52419564e+05 6.45088202e+05 9.90409957e+05 6.51767245e+05 1.02186277e+06 6.04671714e+05 1.01825467e+06 9.71507355e+05 1.05448677e+06 6.25410001e+05 6.66499727e+05 9.40350497e+05 6.71372655e+05 1.03853328e+06] [ 1.36520277e+06 2.15170869e+06 6.99521760e+04 1.44763522e+06 2.04788242e+06 1.42379483e+06 1.99871426e+06 1.40923215e+06 2.06060031e+06 1.41945276e+06 2.11273909e+06 1.34198824e+06 2.10731531e+06 2.02884429e+06 2.17145961e+06 1.37649602e+06 1.44416418e+06 1.95327550e+06 1.45469295e+06 2.14135484e+06] [ 2.74779198e+06 4.13603390e+06 2.01618638e+05 2.88487169e+06 3.96523309e+06 2.84815451e+06 3.88605663e+06 2.82217117e+06 3.98809029e+06 2.83896909e+06 4.07287070e+06 2.71551993e+06 4.06349945e+06 3.93590638e+06 4.16850797e+06 2.77129012e+06 2.87717383e+06 3.77890542e+06 2.89798855e+06 4.11992872e+06] [ 5.17817089e+06 7.34319965e+06 5.80750170e+05 5.36305572e+06 7.11967091e+06 5.31808840e+06 7.02133140e+06 5.27387125e+06 7.15285595e+06 5.30221443e+06 7.26408504e+06 5.14407660e+06 7.24889603e+06 7.08810123e+06 7.38592061e+06 5.21898610e+06 5.34220478e+06 6.76645661e+06 5.38249036e+06 7.32175121e+06] [ 8.41212020e+06 1.13514308e+07 1.15177741e+06 8.62902411e+06 1.10952791e+07 8.58848132e+06 1.09940332e+07 8.51543494e+06 1.11433779e+07 8.56057686e+06 1.12719569e+07 8.38919117e+06 1.12388032e+07 1.10710026e+07 1.13955669e+07 8.47202085e+06 8.59021392e+06 1.05364354e+07 8.66112331e+06 1.13293890e+07] [ 1.24943345e+07 1.59574130e+07 2.28906029e+06 1.26787042e+07 1.57577087e+07 1.26758144e+07 1.57134111e+07 1.25682351e+07 1.58202761e+07 1.26262904e+07 1.59207033e+07 1.25290735e+07 1.58608799e+07 1.57742985e+07 1.59825178e+07 1.25797183e+07 1.26112798e+07 1.49323402e+07 1.27265025e+07 1.59401030e+07] [ 1.56002545e+07 1.91454999e+07 3.42668184e+06 1.56969958e+07 1.90625181e+07 1.57558742e+07 1.91189723e+07 1.56164303e+07 1.91448587e+07 1.56810663e+07 1.91822887e+07 1.57192249e+07 1.90900958e+07 1.91456571e+07 1.91313752e+07 1.57094346e+07 1.55991165e+07 1.80089020e+07 1.57624036e+07 1.91378914e+07] [ 1.82098559e+07 2.18049320e+07 4.91270709e+06 1.82161022e+07 2.18387120e+07 1.83354440e+07 2.19899671e+07 1.81671778e+07 2.19398473e+07 1.82369246e+07 2.19165188e+07 1.84097378e+07 2.17884160e+07 2.19898909e+07 2.17440583e+07 1.83402260e+07 1.80839218e+07 2.05682706e+07 1.82968795e+07 2.18008834e+07] [ 1.77679335e+07 2.18050832e+07 4.64651713e+06 1.78043055e+07 2.17729550e+07 1.79378249e+07 2.19003982e+07 1.77318022e+07 2.19009907e+07 1.78319281e+07 2.19145522e+07 1.79689344e+07 2.17532049e+07 2.19409480e+07 2.17181662e+07 1.79000205e+07 1.76635480e+07 2.04385957e+07 1.79070970e+07 2.17873121e+07] [ 1.20124789e+07 1.59569144e+07 2.08731269e+06 1.21558225e+07 1.57342069e+07 1.22366187e+07 1.57437083e+07 1.20262005e+07 1.58716803e+07 1.21534548e+07 1.59844148e+07 1.21104298e+07 1.58263860e+07 1.58594549e+07 1.58929093e+07 1.21064635e+07 1.20404946e+07 1.47039595e+07 1.22682930e+07 1.59169297e+07] [ 7.18738296e+05 4.17008456e+06 -3.02665629e+06 1.15220302e+06 3.50392991e+06 1.07163544e+06 3.23921601e+06 8.99818737e+05 3.63296465e+06 1.03242847e+06 3.97547002e+06 5.73733459e+05 3.85168355e+06 3.47380764e+06 4.22254670e+06 7.47549747e+05 1.10220397e+06 3.28546555e+06 1.27655657e+06 4.09704214e+06] [-1.02626224e+07 -7.04865055e+06 -7.60705860e+06 -9.41825692e+06 -8.29867605e+06 -9.71788594e+06 -8.91708018e+06 -9.81702046e+06 -8.18877113e+06 -9.72410304e+06 -7.54115599e+06 -1.06950975e+07 -7.62825091e+06 -8.55759895e+06 -6.82305451e+06 -1.02809968e+07 -9.39255670e+06 -7.57123787e+06 -9.28330956e+06 -7.16452549e+06] [-1.55894422e+07 -1.23144215e+07 -9.26929617e+06 -1.44347671e+07 -1.39654611e+07 -1.48897809e+07 -1.48187461e+07 -1.49256206e+07 -1.38670290e+07 -1.48824718e+07 -1.30117045e+07 -1.61976302e+07 -1.30742841e+07 -1.44018206e+07 -1.19635825e+07 -1.56145756e+07 -1.43512310e+07 -1.26519306e+07 -1.42987521e+07 -1.24466790e+07] [-1.12911093e+07 -7.61339446e+06 -6.46460344e+06 -1.01625620e+07 -9.16142754e+06 -1.05987696e+07 -9.93691242e+06 -1.06067807e+07 -9.05537831e+06 -1.06093947e+07 -8.25906150e+06 -1.18125669e+07 -8.32799161e+06 -9.59255370e+06 -7.27895760e+06 -1.12693863e+07 -1.00870574e+07 -8.10987428e+06 -1.00458051e+07 -7.72233555e+06] [-2.68790675e+06 9.40642108e+05 -2.31009124e+06 -1.81900316e+06 -1.91038302e+05 -2.12861812e+06 -6.90806141e+05 -2.13518272e+06 -7.55602945e+04 -2.16626503e+06 4.93490478e+05 -2.98624305e+06 4.15924966e+05 -4.96597777e+05 1.18383078e+06 -2.60650503e+06 -1.78697364e+06 2.64170052e+05 -1.72405974e+06 8.81790668e+05] [ 5.97645746e+06 8.72227778e+06 1.93130838e+06 6.42903610e+06 8.21072670e+06 6.29274575e+06 8.10782250e+06 6.28826574e+06 8.32047354e+06 6.23207785e+06 8.54991988e+06 5.96284456e+06 8.49098138e+06 8.10861889e+06 8.85663737e+06 6.10314516e+06 6.40093527e+06 8.03219470e+06 6.49581141e+06 8.72044041e+06] [ 1.12149329e+07 1.17887520e+07 5.17027446e+06 1.11118639e+07 1.20733952e+07 1.11611458e+07 1.24255550e+07 1.11790241e+07 1.21291735e+07 1.11004997e+07 1.19350505e+07 1.14769078e+07 1.19301136e+07 1.22031076e+07 1.18175327e+07 1.13390348e+07 1.10213115e+07 1.14227429e+07 1.11337428e+07 1.18551514e+07] [ 1.12666943e+07 9.76798865e+06 6.37949680e+06 1.07929892e+07 1.05525631e+07 1.09484024e+07 1.11412630e+07 1.09870023e+07 1.05514850e+07 1.09045248e+07 1.01050434e+07 1.16487090e+07 1.01353845e+07 1.08051163e+07 9.73011617e+06 1.13474483e+07 1.06799253e+07 9.83605851e+06 1.07818525e+07 9.87535027e+06] [ 9.73347965e+06 7.35616319e+06 6.28689828e+06 9.13433254e+06 8.28942311e+06 9.32175943e+06 8.90076794e+06 9.36056596e+06 8.25531992e+06 9.29423014e+06 7.74989183e+06 1.01120965e+07 7.77936650e+06 8.56480731e+06 7.28339061e+06 9.77241480e+06 9.02094937e+06 7.64862835e+06 9.10538607e+06 7.46624950e+06] [ 7.07423432e+06 4.94696780e+06 4.77551222e+06 6.57279814e+06 5.71487365e+06 6.73251617e+06 6.18114315e+06 6.75340283e+06 5.67846687e+06 6.71632931e+06 5.27607933e+06 7.36092959e+06 5.28276937e+06 5.93169757e+06 4.86744431e+06 7.08498948e+06 6.48697443e+06 5.24783019e+06 6.54578941e+06 5.03158535e+06] [ 4.23763731e+06 2.73718521e+06 3.38981464e+06 3.89145952e+06 3.26820773e+06 4.00923390e+06 3.57416660e+06 4.01858876e+06 3.24170635e+06 3.99700287e+06 2.97234663e+06 4.43168749e+06 2.95531068e+06 3.41431569e+06 2.65988643e+06 4.23524769e+06 3.83569763e+06 2.95485589e+06 3.86909023e+06 2.78825768e+06] [ 1.44682529e+06 6.36702302e+05 1.61442981e+06 1.27602349e+06 8.96811447e+05 1.34408530e+06 1.04090447e+06 1.34338572e+06 8.89241298e+05 1.33598928e+06 7.60580685e+05 1.54569095e+06 7.32942052e+05 9.67670382e+05 5.78963357e+05 1.43933130e+06 1.25323179e+06 7.60709595e+05 1.26674650e+06 6.60216173e+05] [ 1.08529516e+05 -1.37286314e+05 3.89578548e+05 6.34668591e+04 -7.00816443e+04 8.66968902e+04 -3.44814268e+04 8.27669237e+04 -6.82907294e+04 8.32105960e+04 -1.00291285e+05 1.37006434e+05 -1.17690234e+05 -5.17790842e+04 -1.61683334e+05 1.03586553e+05 5.97853400e+04 -9.85322724e+04 6.35420947e+04 -1.30646875e+05] [ 5.09485803e+03 -7.81767548e+03 1.76999746e+04 2.56135604e+03 -4.02341722e+03 4.71093179e+03 -1.93856178e+03 3.63065916e+03 -3.46964905e+03 4.37675042e+03 -5.03453241e+03 7.22830012e+03 -7.35984213e+03 -2.71845472e+03 -1.03356362e+04 4.62405076e+03 2.25479118e+03 -6.50698299e+03 3.12682436e+03 -7.36163587e+03] [-7.75350974e+03 -7.88604325e+03 -1.69925986e+03 -7.48835761e+03 -8.28361160e+03 -7.42071360e+03 -8.53847677e+03 -7.59717078e+03 -8.14732528e+03 -7.47484091e+03 -7.88486794e+03 -7.81527418e+03 -8.22534023e+03 -8.36970232e+03 -8.10599633e+03 -7.85638999e+03 -7.38875864e+03 -7.87156625e+03 -7.34016754e+03 -7.87389768e+03] [-5.60559161e+00 -3.14030229e+00 -8.99079858e+00 -5.75209065e+00 -4.66728338e+00 -5.08535518e+00 -4.34486877e+00 -6.39872405e+00 -3.20593113e+00 -6.01881804e+00 -3.56574633e+00 -5.62598342e+00 -4.76288222e+00 -4.39164750e+00 -3.47875084e+00 -5.21821956e+00 -4.49098974e+00 -4.76279282e+00 -5.65928095e+00 -3.55554408e+00] [ 7.41921651e+04 1.12822080e+05 -7.44058429e+03 7.76683137e+04 1.08473099e+05 7.65781962e+04 1.05999119e+05 7.58561557e+04 1.08665544e+05 7.63775427e+04 1.11002071e+05 7.27885607e+04 1.10817308e+05 1.07592195e+05 1.13762036e+05 7.46011655e+04 7.73272622e+04 1.02818484e+05 7.78816623e+04 1.12196118e+05] [ 3.01901312e+05 4.55375195e+05 -4.21104766e+03 3.17160304e+05 4.35968812e+05 3.12629141e+05 4.25498409e+05 3.09404673e+05 4.37420160e+05 3.11945477e+05 4.47673687e+05 2.96293291e+05 4.46841054e+05 4.32067698e+05 4.59142370e+05 3.03657544e+05 3.16246543e+05 4.16506665e+05 3.18512023e+05 4.53177607e+05] [ 7.66568765e+05 1.21705913e+06 1.84780954e+04 8.13601010e+05 1.15654993e+06 8.00246564e+05 1.12463647e+06 7.90966154e+05 1.16286902e+06 7.97848374e+05 1.19447562e+06 7.51291460e+05 1.19031622e+06 1.14427716e+06 1.22752968e+06 7.72275146e+05 8.11616722e+05 1.10423607e+06 8.17845190e+05 1.21075689e+06] [ 1.88832011e+06 2.74822767e+06 1.96183324e+05 1.96584748e+06 2.65211359e+06 1.94552956e+06 2.60598503e+06 1.92845243e+06 2.66369421e+06 1.93896629e+06 2.71267879e+06 1.86952211e+06 2.70541935e+06 2.63604038e+06 2.76701401e+06 1.90186614e+06 1.95869584e+06 2.52279231e+06 1.97284580e+06 2.73692610e+06] [ 3.81123485e+06 5.38391988e+06 4.40537665e+05 3.94445658e+06 5.21817587e+06 3.91419109e+06 5.13979197e+06 3.88132100e+06 5.24163359e+06 3.89963447e+06 5.32565563e+06 3.78668169e+06 5.31027962e+06 5.19310077e+06 5.41429527e+06 3.84161854e+06 3.92906043e+06 4.96552203e+06 3.95887750e+06 5.36536580e+06] [ 6.13847483e+06 8.52403445e+06 6.41749459e+05 6.32752920e+06 8.28580604e+06 6.29049438e+06 8.17775177e+06 6.23160791e+06 8.32302658e+06 6.26717594e+06 8.44517678e+06 6.10753193e+06 8.41814909e+06 8.25553167e+06 8.56457326e+06 6.18663523e+06 6.29998471e+06 7.87864364e+06 6.35462060e+06 8.49989440e+06] [ 9.22619006e+06 1.25929447e+07 9.04217376e+05 9.48391078e+06 1.22584381e+07 9.44969876e+06 1.21124428e+07 9.34754636e+06 1.23204342e+07 9.40887929e+06 1.24946230e+07 9.19568939e+06 1.24382148e+07 1.22240579e+07 1.26372534e+07 9.29829939e+06 9.44348146e+06 1.16661390e+07 9.53661010e+06 1.25641556e+07] [ 1.31328778e+07 1.73074973e+07 1.65109658e+06 1.34037125e+07 1.69547321e+07 1.34076494e+07 1.68229212e+07 1.32523334e+07 1.70434936e+07 1.33377291e+07 1.72308741e+07 1.31483061e+07 1.71314082e+07 1.69468147e+07 1.73300074e+07 1.32360918e+07 1.33441686e+07 1.61062043e+07 1.34863060e+07 1.72790636e+07] [ 1.59102619e+07 2.03346208e+07 2.51971391e+06 1.61189946e+07 2.00580227e+07 1.61842017e+07 2.00006986e+07 1.59829281e+07 2.01700337e+07 1.60871725e+07 2.03213266e+07 1.59970953e+07 2.01761339e+07 2.01105983e+07 2.03109464e+07 1.60355035e+07 1.60323181e+07 1.89834147e+07 1.62261147e+07 2.03091199e+07] [ 1.60878132e+07 1.94980937e+07 3.30472216e+06 1.60809845e+07 1.95001914e+07 1.62426670e+07 1.96176910e+07 1.60247780e+07 1.96164773e+07 1.61326883e+07 1.96232614e+07 1.62869387e+07 1.94481634e+07 1.96587438e+07 1.93964864e+07 1.62061391e+07 1.59651886e+07 1.83041451e+07 1.61911200e+07 1.94903024e+07] [ 1.24087858e+07 1.46434369e+07 2.84978187e+06 1.22535490e+07 1.48273718e+07 1.24596984e+07 1.50362732e+07 1.22447029e+07 1.49437174e+07 1.23661188e+07 1.48563052e+07 1.26455464e+07 1.46743804e+07 1.50505777e+07 1.44827604e+07 1.24829758e+07 1.21396926e+07 1.37271167e+07 1.23518075e+07 1.46436345e+07] [ 5.26599936e+06 6.04500515e+06 1.07025304e+06 5.07516828e+06 6.26875720e+06 5.24056185e+06 6.46927863e+06 5.07231232e+06 6.35773136e+06 5.18918027e+06 6.24846276e+06 5.43929555e+06 6.11201872e+06 6.47918572e+06 5.90172884e+06 5.27352204e+06 4.99367679e+06 5.59574657e+06 5.14623938e+06 6.04567371e+06] [-6.74300316e+06 -6.71628021e+06 -3.69601128e+06 -6.59562275e+06 -6.97883162e+06 -6.63183012e+06 -7.07550755e+06 -6.72199731e+06 -6.91176621e+06 -6.63654374e+06 -6.77076535e+06 -6.83799001e+06 -6.85324118e+06 -6.96191818e+06 -6.70696869e+06 -6.79899326e+06 -6.59927883e+06 -6.67839941e+06 -6.52587152e+06 -6.75229643e+06] [-2.04520812e+07 -2.10100977e+07 -8.78616141e+06 -1.98036504e+07 -2.19798939e+07 -2.01123255e+07 -2.24924482e+07 -2.00920498e+07 -2.19395787e+07 -2.00804085e+07 -2.14344220e+07 -2.08921571e+07 -2.14617272e+07 -2.22501203e+07 -2.07788580e+07 -2.05530542e+07 -1.97102791e+07 -2.04412906e+07 -1.97272723e+07 -2.10939131e+07] [-2.49360575e+07 -2.55668325e+07 -9.75584178e+06 -2.40485027e+07 -2.68371692e+07 -2.44857904e+07 -2.75090243e+07 -2.43872785e+07 -2.68120327e+07 -2.44489413e+07 -2.61584476e+07 -2.54992690e+07 -2.61504468e+07 -2.72478198e+07 -2.52218382e+07 -2.50257370e+07 -2.39123480e+07 -2.48164557e+07 -2.39819284e+07 -2.56663257e+07] [-1.53464554e+07 -1.50564115e+07 -5.40108985e+06 -1.45934017e+07 -1.60710209e+07 -1.49455778e+07 -1.65510887e+07 -1.48417374e+07 -1.60262110e+07 -1.49436096e+07 -1.55188082e+07 -1.57253056e+07 -1.55215672e+07 -1.63977382e+07 -1.47740299e+07 -1.53553760e+07 -1.45020532e+07 -1.47078045e+07 -1.45486108e+07 -1.51288669e+07] [-1.64203201e+06 -2.90021938e+05 -7.27391960e+02 -1.17448954e+06 -8.48333033e+05 -1.35877526e+06 -1.00223309e+06 -1.28803036e+06 -7.79047290e+05 -1.40412522e+06 -5.27335012e+05 -1.73234640e+06 -5.41587042e+05 -9.97711650e+05 -1.16625437e+05 -1.55024088e+06 -1.15997516e+06 -4.96758029e+05 -1.14503214e+06 -3.22048919e+05] [ 9.28512257e+06 1.03612005e+07 4.62734932e+06 9.32225090e+06 1.04355437e+07 9.32886654e+06 1.06917091e+07 9.38201003e+06 1.05006316e+07 9.25286090e+06 1.04042593e+07 9.49752720e+06 1.04069462e+07 1.05104929e+07 1.04204203e+07 9.43681018e+06 9.25425299e+06 9.93551580e+06 9.32992629e+06 1.03828520e+07] [ 1.37248455e+07 1.31894991e+07 6.98416622e+06 1.33378500e+07 1.38590270e+07 1.34796197e+07 1.44502280e+07 1.35416376e+07 1.38776653e+07 1.34098660e+07 1.34661337e+07 1.41290553e+07 1.35177788e+07 1.41093487e+07 1.31806469e+07 1.38706327e+07 1.32127901e+07 1.29991223e+07 1.33207271e+07 1.32687851e+07] [ 1.24980371e+07 1.08783305e+07 6.75248054e+06 1.19415493e+07 1.17603030e+07 1.21084026e+07 1.24094265e+07 1.21667470e+07 1.17340182e+07 1.20685063e+07 1.12284083e+07 1.28972211e+07 1.13073009e+07 1.20486829e+07 1.08555251e+07 1.25895038e+07 1.18079747e+07 1.09500505e+07 1.19123680e+07 1.09819294e+07] [ 1.00495813e+07 8.73027335e+06 5.36645887e+06 9.59031005e+06 9.44778408e+06 9.71427008e+06 9.93624203e+06 9.74316977e+06 9.41281090e+06 9.69753738e+06 9.01658942e+06 1.03368842e+07 9.08307217e+06 9.67440207e+06 8.71960651e+06 1.01011616e+07 9.47662803e+06 8.80788353e+06 9.56880359e+06 8.81710802e+06] [ 6.98730216e+06 6.19445054e+06 3.41112447e+06 6.69939024e+06 6.64681039e+06 6.77037893e+06 6.93904890e+06 6.77591474e+06 6.62055458e+06 6.76557764e+06 6.37871521e+06 7.15284959e+06 6.41845642e+06 6.78780822e+06 6.19307615e+06 7.01161279e+06 6.62303054e+06 6.23857151e+06 6.68951298e+06 6.25151678e+06] [ 3.90393642e+06 3.46280868e+06 2.19785501e+06 3.73856365e+06 3.72697829e+06 3.78108776e+06 3.88712072e+06 3.77939925e+06 3.71074496e+06 3.77872828e+06 3.57558476e+06 3.99633330e+06 3.58717610e+06 3.80726013e+06 3.45273818e+06 3.91285358e+06 3.69357305e+06 3.48489235e+06 3.73061451e+06 3.49273380e+06] [ 1.35016705e+06 9.25877969e+05 1.12292561e+06 1.24720451e+06 1.08503077e+06 1.28007182e+06 1.17766815e+06 1.28344999e+06 1.07688265e+06 1.27725077e+06 9.95387245e+05 1.40763098e+06 9.94233917e+05 1.13134391e+06 9.05586687e+05 1.35023036e+06 1.22864561e+06 9.85957533e+05 1.23859299e+06 9.39335076e+05] [ 2.72211154e+05 2.82048412e+04 4.64859767e+05 2.24641026e+05 9.96567743e+04 2.41749620e+05 1.40663112e+05 2.45345703e+05 9.62846241e+04 2.39982662e+05 5.92983563e+04 2.98831988e+05 5.69851189e+04 1.19518165e+05 1.51262225e+04 2.70919011e+05 2.19052905e+05 7.10257889e+04 2.19685017e+05 3.29079524e+04] [ 8.40313929e+03 -2.12900779e+04 3.66109581e+04 3.43403911e+03 -1.38965032e+04 5.25201280e+03 -9.44178637e+03 5.65552908e+03 -1.41269920e+04 5.14869467e+03 -1.80454707e+04 1.11547995e+04 -1.83108882e+04 -1.17318786e+04 -2.27425469e+04 8.23065147e+03 2.87351050e+03 -1.56337662e+04 2.95720554e+03 -2.07503091e+04] [-1.94061619e+03 -1.99840399e+03 9.23368438e+02 -1.86593607e+03 -2.09480200e+03 -1.85335178e+03 -2.16988080e+03 -1.89220395e+03 -2.05538717e+03 -1.87875901e+03 -1.98836107e+03 -1.95207758e+03 -2.09224089e+03 -2.11958085e+03 -2.06544763e+03 -1.97478492e+03 -1.82699000e+03 -1.99909575e+03 -1.83728700e+03 -1.99843558e+03] [-7.26027607e+02 -4.46968351e+02 -1.22452467e+03 -6.74272865e+02 -5.39894703e+02 -6.76867227e+02 -6.01648920e+02 -6.91335834e+02 -5.02263874e+02 -6.78625700e+02 -4.59854815e+02 -7.35710833e+02 -4.83060645e+02 -5.43490420e+02 -4.53530353e+02 -7.17729719e+02 -6.78618250e+02 -4.98594585e+02 -6.68287292e+02 -4.61656990e+02] [ 3.23128401e+04 4.91784114e+04 -6.34756567e+01 3.39668993e+04 4.70339481e+04 3.35035203e+04 4.58545796e+04 3.31589841e+04 4.72594668e+04 3.34093065e+04 4.83694061e+04 3.17654276e+04 4.82340499e+04 4.66339012e+04 4.95637377e+04 3.25275046e+04 3.38623657e+04 4.48893238e+04 3.41018285e+04 4.89159482e+04] [ 2.82418816e+05 4.23731124e+05 1.15301044e+03 2.96631760e+05 4.05614028e+05 2.92465177e+05 3.95867483e+05 2.89506437e+05 4.07084298e+05 2.91758182e+05 4.16618764e+05 2.77404365e+05 4.15758266e+05 4.01905926e+05 4.27258185e+05 2.84074352e+05 2.95905018e+05 3.87987940e+05 2.97919705e+05 4.21757747e+05] [ 7.44104349e+05 1.15374882e+06 1.22496249e+04 7.87767131e+05 1.09650065e+06 7.75806419e+05 1.06675825e+06 7.67057885e+05 1.10276135e+06 7.73469879e+05 1.13239523e+06 7.30355106e+05 1.12836745e+06 1.08487042e+06 1.16367794e+06 7.49501311e+05 7.86221704e+05 1.05150259e+06 7.92337099e+05 1.14814745e+06] [ 1.63817414e+06 2.35075100e+06 1.71513016e+05 1.70342483e+06 2.26736327e+06 1.68813281e+06 2.22807422e+06 1.67283376e+06 2.27845582e+06 1.68164273e+06 2.32062653e+06 1.62392083e+06 2.31311920e+06 2.25355219e+06 2.36623705e+06 1.65084700e+06 1.69762791e+06 2.16407523e+06 1.71090563e+06 2.34157774e+06] [ 3.25856194e+06 4.65321780e+06 4.32297998e+05 3.38102087e+06 4.49431526e+06 3.35721908e+06 4.41899942e+06 3.32351454e+06 4.51779813e+06 3.34157146e+06 4.59992422e+06 3.23693992e+06 4.58042575e+06 4.46965503e+06 4.67831963e+06 3.28819095e+06 3.36853265e+06 4.28352544e+06 3.39896347e+06 4.63743745e+06] [ 5.18740749e+06 7.50905176e+06 2.03442397e+05 5.39881794e+06 7.22098922e+06 5.36322251e+06 7.08139677e+06 5.29258345e+06 7.26644348e+06 5.33658028e+06 7.41796065e+06 5.14428985e+06 7.37777336e+06 7.17850500e+06 7.54672706e+06 5.23545823e+06 5.38085226e+06 6.89703981e+06 5.43975909e+06 7.48551363e+06] [ 8.37335936e+06 1.22091375e+07 6.79787914e+04 8.72185541e+06 1.17208497e+07 8.68066163e+06 1.14803650e+07 8.54304704e+06 1.18014923e+07 8.63063913e+06 1.20654968e+07 8.30433162e+06 1.19772674e+07 1.16478270e+07 1.22529781e+07 8.45148857e+06 8.69871756e+06 1.11903584e+07 8.80392550e+06 1.21752697e+07] [ 1.18839110e+07 1.67524169e+07 2.81047503e+05 1.22793658e+07 1.61893910e+07 1.22738235e+07 1.59276644e+07 1.20668353e+07 1.63027617e+07 1.21925142e+07 1.66141973e+07 1.18423642e+07 1.64699431e+07 1.61312275e+07 1.67708625e+07 1.19912733e+07 1.22443387e+07 1.54084605e+07 1.24011448e+07 1.67140718e+07] [ 1.29087417e+07 1.77974496e+07 5.45745643e+05 1.32345472e+07 1.73096158e+07 1.32985838e+07 1.71124226e+07 1.30395903e+07 1.74553870e+07 1.31959206e+07 1.77318958e+07 1.29348168e+07 1.75319745e+07 1.73131448e+07 1.77501950e+07 1.30243149e+07 1.31837259e+07 1.63761835e+07 1.33816029e+07 1.77622500e+07] [ 1.05650966e+07 1.30289830e+07 1.33992872e+06 1.05242056e+07 1.30331607e+07 1.07177035e+07 1.31199899e+07 1.04736920e+07 1.31664510e+07 1.06182017e+07 1.31845434e+07 1.07486724e+07 1.29726834e+07 1.31915382e+07 1.28685446e+07 1.06380875e+07 1.04551380e+07 1.21191315e+07 1.06472494e+07 1.30270164e+07] [ 6.14104425e+06 5.38926858e+06 3.12806040e+06 5.66286529e+06 6.01983685e+06 5.96015975e+06 6.43657345e+06 5.78880102e+06 6.10799953e+06 5.89238898e+06 5.79610120e+06 6.48242622e+06 5.62102784e+06 6.33647205e+06 5.12864038e+06 6.14305693e+06 5.58001074e+06 5.22653519e+06 5.71723987e+06 5.42966624e+06] [-1.15666903e+05 -2.98901325e+06 3.26037862e+06 -7.07682337e+05 -2.16779494e+06 -4.50351185e+05 -1.66408340e+06 -5.23347070e+05 -2.12736264e+06 -4.75568682e+05 -2.54450153e+06 2.14247662e+05 -2.64803231e+06 -1.83957212e+06 -3.22595991e+06 -1.69801902e+05 -7.72780212e+05 -2.52154032e+06 -7.10793385e+05 -2.94112920e+06] [-1.25651408e+07 -1.62389423e+07 -5.91767944e+05 -1.27568093e+07 -1.59658883e+07 -1.27435948e+07 -1.57849433e+07 -1.26995730e+07 -1.59611032e+07 -1.27270046e+07 -1.60975626e+07 -1.25262753e+07 -1.61335552e+07 -1.58714219e+07 -1.62786511e+07 -1.26645797e+07 -1.27451796e+07 -1.52305904e+07 -1.27721406e+07 -1.62339858e+07] [-2.77077211e+07 -3.20562667e+07 -6.66111215e+06 -2.73421594e+07 -3.25835009e+07 -2.76262642e+07 -3.28498521e+07 -2.74567778e+07 -3.26120977e+07 -2.75757912e+07 -3.23423657e+07 -2.80488542e+07 -3.23054832e+07 -3.28027605e+07 -3.18376713e+07 -2.78442164e+07 -2.72244043e+07 -3.04547584e+07 -2.73443317e+07 -3.21084801e+07] [-2.95209385e+07 -3.38593481e+07 -7.25912075e+06 -2.90198325e+07 -3.45628857e+07 -2.93711215e+07 -3.49009771e+07 -2.91430786e+07 -3.45977046e+07 -2.93265058e+07 -3.42488603e+07 -2.99135313e+07 -3.41865572e+07 -3.48606044e+07 -3.35712100e+07 -2.96287633e+07 -2.88833019e+07 -3.21779095e+07 -2.90266354e+07 -3.39200715e+07] [-1.51628501e+07 -1.80145743e+07 -2.27240467e+06 -1.49150140e+07 -1.83091997e+07 -1.51014925e+07 -1.83501174e+07 -1.49098934e+07 -1.83126426e+07 -1.51073191e+07 -1.81961944e+07 -1.52755010e+07 -1.81503345e+07 -1.84389314e+07 -1.78413220e+07 -1.51632646e+07 -1.48550528e+07 -1.69994234e+07 -1.49377081e+07 -1.80429094e+07] [ 2.43380086e+06 1.16020145e+06 3.89998892e+06 2.31215638e+06 1.43398832e+06 2.34443905e+06 1.79031945e+06 2.47796444e+06 1.45635124e+06 2.27660439e+06 1.25635772e+06 2.67315211e+06 1.28550072e+06 1.53886440e+06 1.19367399e+06 2.55184128e+06 2.26734073e+06 1.39468414e+06 2.27477623e+06 1.17127411e+06] [ 1.27260271e+07 1.20975604e+07 6.88407723e+06 1.23313172e+07 1.27580440e+07 1.24980108e+07 1.33683818e+07 1.25859076e+07 1.27823979e+07 1.24097377e+07 1.23667963e+07 1.31571355e+07 1.24107162e+07 1.30213238e+07 1.20567162e+07 1.28902982e+07 1.22168961e+07 1.19305463e+07 1.22938663e+07 1.21446306e+07] [ 1.31293654e+07 1.23426834e+07 6.03410902e+06 1.26541865e+07 1.30811448e+07 1.28346628e+07 1.37077885e+07 1.28945240e+07 1.30903940e+07 1.27689027e+07 1.26357578e+07 1.35454400e+07 1.27104792e+07 1.33696588e+07 1.23077820e+07 1.32685330e+07 1.25282642e+07 1.21913875e+07 1.26301109e+07 1.24134716e+07] [ 1.01796768e+07 9.69196647e+06 4.05357108e+06 9.82259452e+06 1.02376556e+07 9.92780560e+06 1.06851596e+07 9.95337126e+06 1.02297559e+07 9.90059220e+06 9.89927510e+06 1.04467100e+07 9.98707882e+06 1.04504427e+07 9.70763249e+06 1.02652651e+07 9.71527859e+06 9.56332478e+06 9.81802644e+06 9.76168815e+06] [ 7.47265426e+06 7.78098542e+06 2.01622416e+06 7.32688676e+06 8.00775138e+06 7.34772980e+06 8.20693602e+06 7.33133351e+06 8.00565668e+06 7.34622874e+06 7.86657035e+06 7.57332504e+06 7.93349558e+06 8.11514779e+06 7.83549553e+06 7.51833646e+06 7.25046239e+06 7.57396298e+06 7.34353978e+06 7.82728652e+06] [ 5.00098895e+06 5.63572243e+06 8.68044333e+05 4.98201007e+06 5.67565993e+06 4.96182720e+06 5.72774615e+06 4.92899622e+06 5.67898155e+06 4.97042071e+06 5.65272965e+06 5.01179048e+06 5.69354796e+06 5.71515062e+06 5.69524782e+06 5.02390663e+06 4.93385535e+06 5.42475057e+06 5.00481074e+06 5.66307524e+06] [ 2.67642209e+06 3.10518657e+06 4.82040367e+05 2.68160667e+06 3.10581890e+06 2.66455997e+06 3.11549367e+06 2.64034686e+06 3.10879603e+06 2.67132939e+06 3.10882572e+06 2.67053299e+06 3.12706382e+06 3.12165977e+06 3.13888469e+06 2.68576576e+06 2.65583078e+06 2.97722710e+06 2.69516681e+06 3.11764898e+06] [ 1.05106223e+06 8.78714181e+05 6.10377793e+05 9.96000730e+05 9.63892429e+05 1.00810316e+06 1.01700306e+06 1.00867343e+06 9.58832203e+05 1.00942568e+06 9.13813959e+05 1.07905896e+06 9.22626554e+05 9.92851040e+05 8.77270996e+05 1.05332563e+06 9.81152256e+05 8.97301449e+05 9.91699688e+05 8.86786028e+05] [ 2.32576175e+05 1.21548912e+04 3.81468593e+05 1.89650471e+05 7.62459359e+04 2.02781942e+05 1.14638942e+05 2.08247476e+05 7.26117012e+04 2.02238304e+05 3.79654640e+04 2.55524475e+05 4.07892895e+04 9.49031431e+04 3.96241548e+03 2.32531802e+05 1.83915847e+05 5.29968734e+04 1.83605532e+05 1.57612229e+04] [ 5.03052492e+04 4.51559511e+03 9.38802454e+04 4.15856936e+04 1.79018998e+04 4.43975456e+04 2.60432229e+04 4.53956415e+04 1.73484680e+04 4.41504610e+04 1.01088692e+04 5.53092063e+04 1.02964642e+04 2.19093020e+04 2.60692824e+03 5.03192066e+04 4.04115166e+04 1.27443423e+04 4.03351320e+04 5.25053296e+03] [ 3.28408248e+03 9.81721868e+02 4.42777030e+03 2.81924207e+03 1.67285413e+03 2.95258221e+03 2.05556129e+03 3.01743680e+03 1.61097410e+03 2.94872895e+03 1.25445036e+03 3.50567213e+03 1.27483453e+03 1.84452164e+03 8.93710270e+02 3.28008801e+03 2.75398580e+03 1.39984072e+03 2.75702406e+03 1.02854362e+03] [-2.48997582e-01 -6.19882567e-01 3.86097949e-01 3.24211253e-01 -2.93855157e-01 -6.38794517e-01 -6.86678647e-01 -5.26020853e-01 -3.43081253e-01 7.39191349e-01 -7.56172107e-01 -6.63714235e-01 -2.59089789e-01 2.08692036e-01 -8.88370002e-01 -5.09547807e-01 6.67942862e-01 3.25767117e-01 -2.97138660e-01 -7.71575371e-01] [ 4.11224995e+04 5.53953322e+04 -2.87171280e+03 4.19651437e+04 5.44892881e+04 4.16816842e+04 5.39561494e+04 4.13823250e+04 5.43953811e+04 4.15934936e+04 5.49467092e+04 4.06870161e+04 5.49251245e+04 5.42658986e+04 5.56950603e+04 4.12350910e+04 4.17879976e+04 5.13675140e+04 4.19767505e+04 5.52467813e+04] [ 1.63369782e+05 2.45151951e+05 7.71575625e+01 1.71811938e+05 2.34164308e+05 1.69381327e+05 2.28516325e+05 1.67633138e+05 2.35108413e+05 1.68949498e+05 2.40811860e+05 1.60475653e+05 2.40277668e+05 2.31923697e+05 2.47382730e+05 1.64355670e+05 1.71387217e+05 2.24492062e+05 1.72673822e+05 2.44039548e+05] [ 4.36432820e+05 6.99753623e+05 1.39399543e+04 4.64742769e+05 6.62010784e+05 4.57489275e+05 6.42581134e+05 4.51640808e+05 6.66218572e+05 4.55683904e+05 6.85935199e+05 4.27517456e+05 6.82421071e+05 6.54101593e+05 7.05408818e+05 4.39885712e+05 4.64028505e+05 6.33729193e+05 4.68076480e+05 6.96309590e+05] [ 1.17818306e+06 1.75168127e+06 1.30268224e+05 1.23382035e+06 1.67756599e+06 1.22271128e+06 1.64210697e+06 1.20906898e+06 1.68845480e+06 1.21630227e+06 1.72652572e+06 1.16643172e+06 1.71699495e+06 1.66458400e+06 1.76209324e+06 1.18949756e+06 1.23036506e+06 1.60286646e+06 1.24152288e+06 1.74433768e+06] [ 2.60951525e+06 3.97139259e+06 7.93216278e+04 2.75008538e+06 3.77735408e+06 2.72185953e+06 3.67975206e+06 2.68278795e+06 3.80507091e+06 2.70729220e+06 3.90722657e+06 2.57403193e+06 3.88287980e+06 3.74175038e+06 3.99740500e+06 2.63659992e+06 2.74431381e+06 3.62407616e+06 2.77480458e+06 3.95703817e+06] [ 4.48529279e+06 7.15957133e+06 -6.31087710e+05 4.77200459e+06 6.74721113e+06 4.72169675e+06 6.52890706e+06 4.62709357e+06 6.80638945e+06 4.69371974e+06 7.02787089e+06 4.40090374e+06 6.97059183e+06 6.67085309e+06 7.20341678e+06 4.53299077e+06 4.76826131e+06 6.48506544e+06 4.83341891e+06 7.13429486e+06] [ 6.96925048e+06 1.15307396e+07 -1.60040966e+06 7.46028468e+06 1.08114435e+07 7.39204622e+06 1.04257702e+07 7.21054670e+06 1.09170871e+07 7.33933169e+06 1.13110901e+07 6.82449577e+06 1.11914299e+07 1.06774797e+07 1.15838089e+07 7.04675888e+06 7.46471688e+06 1.03744856e+07 7.57683185e+06 1.14903665e+07] [ 9.17030537e+06 1.50128885e+07 -2.03119737e+06 9.78176284e+06 1.41030628e+07 9.73632233e+06 1.36310536e+07 9.47207466e+06 1.42638483e+07 9.65194489e+06 1.47653730e+07 9.02509338e+06 1.45718555e+07 1.39577153e+07 1.50369275e+07 9.27623445e+06 9.79098753e+06 1.35029900e+07 9.94947156e+06 1.49598548e+07] [ 8.16027545e+06 1.31803551e+07 -1.97324543e+06 8.61812990e+06 1.24567448e+07 8.66810810e+06 1.20990333e+07 8.36321174e+06 1.26466121e+07 8.56961088e+06 1.30554939e+07 8.10578317e+06 1.28047469e+07 1.23983398e+07 1.31052136e+07 8.24891190e+06 8.62528975e+06 1.18075352e+07 8.79866174e+06 1.31382172e+07] [ 5.15710998e+06 7.20514539e+06 5.61355334e+04 5.16464077e+06 7.11668277e+06 5.35658477e+06 7.10853061e+06 5.09031743e+06 7.28328520e+06 5.27353152e+06 7.36042960e+06 5.29485685e+06 7.10866832e+06 7.24200223e+06 6.99291426e+06 5.18719736e+06 5.14997511e+06 6.47787140e+06 5.29311901e+06 7.20358886e+06] [ 2.09345165e+06 4.76538798e+04 4.16688949e+06 1.52944389e+06 8.17977440e+05 1.84754551e+06 1.28165762e+06 1.70267224e+06 9.11536745e+05 1.79747430e+06 5.33365662e+05 2.46637064e+06 3.49190186e+05 1.15201609e+06 -2.73201509e+05 2.05720527e+06 1.48158536e+06 2.60517717e+05 1.55509589e+06 1.01025866e+05] [-1.72665771e+06 -6.69088064e+06 7.29282664e+06 -2.54566351e+06 -5.48253362e+06 -2.23646207e+06 -4.76788009e+06 -2.22898498e+06 -5.46846292e+06 -2.25650673e+06 -6.08375368e+06 -1.26477625e+06 -6.17665180e+06 -5.08441246e+06 -6.99373347e+06 -1.79490030e+06 -2.60823068e+06 -5.70069882e+06 -2.60878148e+06 -6.61715544e+06] [-1.65034873e+07 -2.34483853e+07 3.05902277e+06 -1.69954265e+07 -2.26944849e+07 -1.69251475e+07 -2.22278925e+07 -1.67534217e+07 -2.27442752e+07 -1.69096026e+07 -2.31345710e+07 -1.63117640e+07 -2.31384206e+07 -2.25187211e+07 -2.35298411e+07 -1.66157933e+07 -1.69847871e+07 -2.16040054e+07 -1.70791984e+07 -2.34133245e+07] [-3.21786074e+07 -4.03361956e+07 -3.70431492e+06 -3.22162453e+07 -4.02711346e+07 -3.24010447e+07 -4.01739534e+07 -3.21022515e+07 -4.03563319e+07 -3.23570389e+07 -4.04042051e+07 -3.23243252e+07 -4.03375805e+07 -4.03607408e+07 -4.01833303e+07 -3.23281745e+07 -3.21142684e+07 -3.78052598e+07 -3.22853442e+07 -4.03542346e+07] [-2.97697266e+07 -3.78102492e+07 -3.01324712e+06 -2.98651750e+07 -3.76607533e+07 -3.00182266e+07 -3.74725872e+07 -2.96929640e+07 -3.77470682e+07 -2.99927750e+07 -3.78559536e+07 -2.98453913e+07 -3.77713710e+07 -3.77174872e+07 -3.76632988e+07 -2.98749946e+07 -2.97818574e+07 -3.53692355e+07 -2.99433319e+07 -3.78227576e+07] [-1.16249302e+07 -1.72298210e+07 2.09823584e+06 -1.19924217e+07 -1.66610089e+07 -1.19399735e+07 -1.61708085e+07 -1.17025817e+07 -1.67004395e+07 -1.19761813e+07 -1.70476656e+07 -1.13931008e+07 -1.69935139e+07 -1.65177758e+07 -1.72286384e+07 -1.16109709e+07 -1.19977968e+07 -1.57717504e+07 -1.20719834e+07 -1.72125818e+07] [ 5.94908414e+06 4.00890981e+06 5.46058666e+06 5.51039162e+06 4.68983402e+06 5.70855175e+06 5.29330202e+06 5.80862378e+06 4.71871868e+06 5.61882298e+06 4.30122441e+06 6.37192241e+06 4.30722786e+06 4.95811670e+06 3.90214131e+06 6.07293756e+06 5.43570261e+06 4.23070070e+06 5.46420084e+06 4.03716455e+06] [ 1.09106077e+07 1.07635564e+07 4.36238474e+06 1.05426349e+07 1.13073991e+07 1.07477059e+07 1.18326581e+07 1.07693711e+07 1.13661937e+07 1.06634297e+07 1.10137499e+07 1.13020879e+07 1.10234100e+07 1.15762913e+07 1.06593664e+07 1.10512259e+07 1.04537662e+07 1.04672981e+07 1.05335350e+07 1.07973829e+07] [ 8.65100079e+06 9.37726094e+06 1.64672224e+06 8.46346234e+06 9.62512085e+06 8.58040367e+06 9.93342052e+06 8.55774218e+06 9.68421791e+06 8.53222561e+06 9.49608201e+06 8.87513299e+06 9.52964649e+06 9.80389042e+06 9.34398894e+06 8.75384625e+06 8.39576892e+06 8.95936036e+06 8.48780335e+06 9.40650075e+06] [ 5.41633602e+06 6.52287544e+06 -3.60924132e+05 5.39062532e+06 6.52654971e+06 5.40647394e+06 6.62921847e+06 5.35666264e+06 6.57040355e+06 5.40072282e+06 6.53231111e+06 5.46941916e+06 6.58430095e+06 6.61100206e+06 6.56175053e+06 5.46781010e+06 5.34311713e+06 6.13356694e+06 5.43323259e+06 6.54861357e+06] [ 4.01082867e+06 5.29793956e+06 -8.23090009e+05 4.08194095e+06 5.17244394e+06 4.03942845e+06 5.14857252e+06 3.97778027e+06 5.20359565e+06 4.05420661e+06 5.25354028e+06 3.97008792e+06 5.30289983e+06 5.19644469e+06 5.37280778e+06 4.03508990e+06 4.04451815e+06 4.94466251e+06 4.12733901e+06 5.31572683e+06] [ 3.05457871e+06 4.38837500e+06 -9.25385492e+05 3.17933517e+06 4.19708255e+06 3.11434079e+06 4.10473239e+06 3.05287447e+06 4.22005940e+06 3.13323378e+06 4.31746555e+06 2.97206165e+06 4.35021687e+06 4.18131191e+06 4.46747432e+06 3.06598010e+06 3.15372905e+06 4.06271327e+06 3.22125523e+06 4.39817256e+06] [ 1.84403735e+06 2.57185098e+06 -4.52569839e+05 1.91272532e+06 2.46807441e+06 1.87359724e+06 2.41610437e+06 1.83839740e+06 2.47965289e+06 1.88527776e+06 2.53321642e+06 1.79579145e+06 2.55339988e+06 2.46008806e+06 2.61983164e+06 1.84980695e+06 1.89597207e+06 2.39654130e+06 1.93599814e+06 2.57738407e+06] [ 5.49132422e+05 6.04479845e+05 -1.35735560e+04 5.39651213e+05 6.15943465e+05 5.35978358e+05 6.26360341e+05 5.29252597e+05 6.16827829e+05 5.40443343e+05 6.09432595e+05 5.48103819e+05 6.20036146e+05 6.27660215e+05 6.13960892e+05 5.49975320e+05 5.30952770e+05 5.84583609e+05 5.42208258e+05 6.08136965e+05] [ 7.19007574e+04 -1.08603923e+05 1.93923282e+05 3.92525393e+04 -6.19306243e+04 4.85007624e+04 -3.28308979e+04 5.31653233e+04 -6.42797905e+04 4.91024102e+04 -9.05291403e+04 8.79547621e+04 -8.61239394e+04 -4.73970175e+04 -1.13871748e+05 7.15148053e+04 3.53487885e+04 -7.25872048e+04 3.46371304e+04 -1.05868741e+05] [ 7.23218174e+04 3.13788299e+03 1.23564193e+05 5.93217759e+04 2.28021965e+04 6.29349524e+04 3.50080946e+04 6.50975713e+04 2.16096926e+04 6.29531008e+04 1.07575901e+04 7.92726681e+04 1.21559459e+04 2.84377533e+04 1.05606813e+03 7.24551636e+04 5.75015805e+04 1.62330216e+04 5.72845166e+04 4.37176257e+03] [ 1.12603687e+04 3.36467775e+03 1.51816435e+04 9.66204467e+03 5.73322716e+03 1.01255238e+04 7.04840140e+03 1.03424784e+04 5.52538617e+03 1.01092459e+04 4.30170302e+03 1.20215402e+04 4.37253488e+03 6.32519128e+03 3.06302326e+03 1.12426989e+04 9.44157861e+03 4.80060620e+03 9.45201055e+03 3.52990074e+03] [ 1.14052818e-01 -2.27744895e-01 3.74132779e-01 3.61806750e-01 -6.36114490e-01 5.28302130e-01 -6.69646904e-01 -3.51785287e-01 7.40421748e-01 1.43336121e-01 -4.86801613e-01 8.47848803e-01 3.21154861e-01 1.09021067e-01 9.86640787e-01 6.91106661e-01 3.54385609e-01 -8.36538944e-01 -2.71108462e-01 4.33675380e-03] [ 8.92774822e+03 1.18451475e+04 -1.04351655e+04 9.01317074e+03 1.17093604e+04 9.02612244e+03 1.15736870e+04 8.88737007e+03 1.16371862e+04 8.96458835e+03 1.17379042e+04 8.76651965e+03 1.17287434e+04 1.16339441e+04 1.19184323e+04 8.92081366e+03 9.05029606e+03 1.09229277e+04 9.03170050e+03 1.18318991e+04] [ 5.81253020e+04 9.00812955e+04 -1.23761839e+04 6.16044349e+04 8.53676146e+04 6.06362120e+04 8.29473423e+04 5.98544270e+04 8.57583876e+04 6.04710450e+04 8.81909278e+04 5.68079163e+04 8.79981083e+04 8.43646549e+04 9.10444467e+04 5.84796095e+04 6.15326010e+04 8.21156548e+04 6.20396729e+04 8.96662111e+04] [ 1.79827742e+05 3.20173037e+05 1.36778751e+04 1.95912385e+05 2.97909479e+05 1.92266771e+05 2.86940677e+05 1.89206623e+05 3.00915757e+05 1.91022231e+05 3.12440747e+05 1.75281944e+05 3.09726545e+05 2.93299970e+05 3.22678067e+05 1.82063668e+05 1.95774967e+05 2.85377211e+05 1.98088844e+05 3.18327822e+05] [ 7.95263362e+05 1.33760768e+06 -3.56612138e+04 8.56302916e+05 1.25250474e+06 8.44136691e+05 1.20936354e+06 8.29563329e+05 1.26403725e+06 8.38229090e+05 1.30865052e+06 7.78579724e+05 1.29781375e+06 1.23523208e+06 1.34744167e+06 8.05221132e+05 8.56458965e+05 1.20249870e+06 8.66047686e+05 1.33097742e+06] [ 2.28201392e+06 3.80286394e+06 -4.72261298e+05 2.45820691e+06 3.55109219e+06 2.41899719e+06 3.41546589e+06 2.36985245e+06 3.58236954e+06 2.40652941e+06 3.71698316e+06 2.22209781e+06 3.69073873e+06 3.49810519e+06 3.83649849e+06 2.30707763e+06 2.45991377e+06 3.43060738e+06 2.49135282e+06 3.78871243e+06] [ 3.81683004e+06 6.84277277e+06 -1.87694168e+06 4.17346928e+06 6.31331413e+06 4.10739055e+06 6.01838553e+06 3.98901313e+06 6.38344702e+06 4.08088551e+06 6.66978418e+06 3.68819025e+06 6.60382342e+06 6.20346073e+06 6.89794231e+06 3.86303208e+06 4.18649758e+06 6.10534629e+06 4.25311237e+06 6.81794036e+06] [ 5.28998306e+06 1.02430796e+07 -3.58863463e+06 5.88970820e+06 9.33808239e+06 5.79928608e+06 8.83568190e+06 5.58618657e+06 9.46715871e+06 5.74858578e+06 9.96060884e+06 5.08041004e+06 9.82404791e+06 9.15383378e+06 1.03059226e+07 5.36357893e+06 5.92486045e+06 9.03599297e+06 6.03311928e+06 1.02010653e+07] [ 6.01455951e+06 1.21692992e+07 -4.59970317e+06 6.74656752e+06 1.10439468e+07 6.67935260e+06 1.04271949e+07 6.37873628e+06 1.12380907e+07 6.60219153e+06 1.18564129e+07 5.78690763e+06 1.16345138e+07 1.08403394e+07 1.21846211e+07 6.10420366e+06 6.79959013e+06 1.06458071e+07 6.94115135e+06 1.21122649e+07] [ 3.68528208e+06 9.03661045e+06 -4.78941671e+06 4.29371109e+06 8.05367583e+06 4.31323808e+06 7.52323063e+06 3.97335426e+06 8.28541700e+06 4.22779810e+06 8.83326953e+06 3.53388793e+06 8.55116104e+06 7.92661890e+06 8.94413354e+06 3.74901299e+06 4.35781605e+06 7.67071023e+06 4.49792711e+06 8.98405320e+06] [ 4.74814447e+05 2.65153057e+06 -1.71323044e+06 6.20199146e+05 2.33773715e+06 7.78023230e+05 2.18117741e+06 5.00136484e+05 2.54274123e+06 7.09047713e+05 2.73642019e+06 5.33697004e+05 2.46535677e+06 2.39912064e+06 2.42237353e+06 4.83613781e+05 6.63290972e+05 1.99191506e+06 7.58588256e+05 2.63779254e+06] [-9.95283504e+05 -3.49459355e+06 4.29758610e+06 -1.51933209e+06 -2.78400974e+06 -1.20624034e+06 -2.35309749e+06 -1.32870244e+06 -2.66941563e+06 -1.25317893e+06 -3.02076530e+06 -6.26808675e+05 -3.21605379e+06 -2.47704392e+06 -3.84154643e+06 -1.03258643e+06 -1.53177534e+06 -3.10636171e+06 -1.49985606e+06 -3.44226324e+06] [-3.63564456e+06 -1.04718304e+07 9.52505293e+06 -4.62803425e+06 -9.00044315e+06 -4.26317194e+06 -8.11100988e+06 -4.18126298e+06 -9.00131259e+06 -4.29606641e+06 -9.76304713e+06 -3.05633358e+06 -9.85234248e+06 -8.55343949e+06 -1.08190241e+07 -3.69148971e+06 -4.68719819e+06 -9.01790862e+06 -4.72225194e+06 -1.03777499e+07] [-2.16217478e+07 -3.22714536e+07 4.55285127e+06 -2.24782453e+07 -3.10184279e+07 -2.23059967e+07 -3.02342686e+07 -2.20139118e+07 -3.11194328e+07 -2.23063979e+07 -3.17848389e+07 -2.12576820e+07 -3.17670505e+07 -3.07372867e+07 -3.24095893e+07 -2.17437216e+07 -2.24723964e+07 -2.95219278e+07 -2.26072480e+07 -3.22034728e+07] [-3.46237387e+07 -4.68329967e+07 -1.12231161e+06 -3.52396476e+07 -4.59817509e+07 -3.52263775e+07 -4.53985406e+07 -3.48294504e+07 -4.61178331e+07 -3.52053192e+07 -4.65920657e+07 -3.44822027e+07 -4.65126595e+07 -4.58563481e+07 -4.68163804e+07 -3.47838197e+07 -3.51724043e+07 -4.34354451e+07 -3.53624229e+07 -4.68005860e+07] [-2.83066197e+07 -3.93058213e+07 -3.33247206e+04 -2.89877118e+07 -3.83638015e+07 -2.89110929e+07 -3.76811645e+07 -2.85396964e+07 -3.84795642e+07 -2.89144570e+07 -3.90207071e+07 -2.80686696e+07 -3.89298553e+07 -3.81667625e+07 -3.93249692e+07 -2.84100082e+07 -2.89523849e+07 -3.63469313e+07 -2.91113528e+07 -3.92739501e+07] [-7.29429460e+06 -1.29044397e+07 3.57204771e+06 -7.90437716e+06 -1.20326399e+07 -7.69556928e+06 -1.13411220e+07 -7.51209777e+06 -1.20367832e+07 -7.76038669e+06 -1.25515567e+07 -6.88766627e+06 -1.25388520e+07 -1.17412078e+07 -1.30438949e+07 -7.26105162e+06 -7.93352816e+06 -1.16287620e+07 -7.98012922e+06 -1.28745712e+07] [ 5.45547786e+06 5.62934101e+06 2.29881700e+06 5.26648937e+06 5.87939512e+06 5.45854756e+06 6.22871545e+06 5.43834264e+06 5.99727759e+06 5.36497340e+06 5.80646398e+06 5.76745330e+06 5.73695287e+06 6.08581476e+06 5.47134761e+06 5.57235826e+06 5.23882682e+06 5.34130672e+06 5.28374571e+06 5.62899249e+06] [ 5.80541801e+06 8.57278862e+06 -1.08333142e+06 5.95140533e+06 8.30448850e+06 6.04428581e+06 8.31840930e+06 5.93071144e+06 8.46334316e+06 5.97455703e+06 8.55011667e+06 5.91665047e+06 8.47286380e+06 8.38329192e+06 8.47869440e+06 5.91380425e+06 5.95386658e+06 7.71136495e+06 6.02415298e+06 8.55066476e+06] [ 2.48942089e+06 5.47523476e+06 -4.07075758e+06 2.77324833e+06 4.97706416e+06 2.77029082e+06 4.80059905e+06 2.63339347e+06 5.11650826e+06 2.74790149e+06 5.33528325e+06 2.42834228e+06 5.30165695e+06 4.96887928e+06 5.46471751e+06 2.54408698e+06 2.79897796e+06 4.68206050e+06 2.86564202e+06 5.45294507e+06] [ 1.67590462e+05 2.43053828e+06 -4.58185051e+06 4.21723689e+05 1.97628907e+06 3.65077992e+05 1.77269537e+06 2.41712801e+05 2.06918539e+06 3.80395588e+05 2.28221581e+06 3.09080360e+04 2.29342117e+06 1.94743548e+06 2.47745669e+06 1.76543973e+05 4.40040927e+05 1.88274767e+06 5.06060691e+05 2.42354717e+06] [ 3.35864157e+05 2.32964747e+06 -3.72220573e+06 5.78459378e+05 1.91452220e+06 4.91482004e+05 1.69872791e+06 3.82525836e+05 1.97621884e+06 5.19549692e+05 2.18347896e+06 1.72301845e+05 2.21038959e+06 1.87001870e+06 2.41065647e+06 3.32986047e+05 5.82040594e+05 1.88086493e+06 6.51229600e+05 2.32578550e+06] [ 1.03612201e+06 2.54325152e+06 -2.50700435e+06 1.22304607e+06 2.23529762e+06 1.14318874e+06 2.06866136e+06 1.06402191e+06 2.27095060e+06 1.16743281e+06 2.42918004e+06 9.03198225e+05 2.45682087e+06 2.19547626e+06 2.62321330e+06 1.03401123e+06 1.21785593e+06 2.20944200e+06 1.27670771e+06 2.54251995e+06] [ 6.89675822e+05 1.52919430e+06 -1.49487900e+06 7.99421609e+05 1.34948524e+06 7.48778158e+05 1.25343719e+06 7.04621374e+05 1.36889608e+06 7.64504131e+05 1.46018200e+06 6.09944471e+05 1.48115814e+06 1.32577345e+06 1.58201452e+06 6.88588902e+05 7.94911466e+05 1.34815805e+06 8.30951448e+05 1.52964668e+06] [ 8.71051840e+04 2.28151786e+05 -4.74509678e+05 9.89831244e+04 2.00910141e+05 8.86789296e+04 1.87694553e+05 7.73088878e+04 2.05688975e+05 9.55497636e+04 2.17803094e+05 6.94569448e+04 2.28735161e+05 2.03767972e+05 2.40600754e+05 8.48661045e+04 9.55813056e+04 1.97023096e+05 1.05453332e+05 2.29944205e+05] [-8.84509204e+04 -1.97395264e+05 2.25942620e+04 -1.06998547e+05 -1.73515051e+05 -1.01854304e+05 -1.58402756e+05 -9.95449391e+04 -1.74508423e+05 -1.00682420e+05 -1.88406962e+05 -8.12627247e+04 -1.84856102e+05 -1.65022616e+05 -2.00932479e+05 -8.97905477e+04 -1.08261748e+05 -1.74252168e+05 -1.09420006e+05 -1.96127511e+05] [ 1.36739265e+04 -2.22416470e+03 2.86615062e+04 1.06508940e+04 2.21389384e+03 1.14273554e+04 5.15434551e+03 1.20355980e+04 1.98576800e+03 1.15238898e+04 -5.74505705e+02 1.52485572e+04 -5.02444496e+01 3.53982348e+03 -2.67777426e+03 1.37053332e+04 1.02205956e+04 8.25684234e+02 1.01522461e+04 -1.92416211e+03] [ 9.92606700e-01 6.07342743e-01 4.83087872e-01 -2.26676160e-01 -1.87656793e-01 -4.10708547e-01 -4.01525668e-01 3.06134246e-01 -9.14765760e-01 2.02066808e-01 -8.99829742e-02 -2.31953204e-01 4.42081528e-01 -8.18314420e-01 -5.02121906e-01 -6.78820636e-01 3.45042971e-01 -6.04211240e-01 -5.16189848e-02 9.04958268e-01] [ 5.81185175e-01 3.35796801e-01 7.13074790e-01 -4.22052326e-01 5.56036631e-01 -9.61863390e-01 7.47065055e-01 -5.04562495e-01 -7.53843896e-01 -7.47299060e-01 1.75611489e-01 7.83782444e-01 -8.15055496e-01 -3.30281844e-02 7.70634091e-01 9.14315527e-01 9.81546761e-01 -2.76163839e-01 1.70637024e-01 -2.30146348e-01] [-4.22197840e+03 -5.20009898e+03 -5.27674221e+03 -4.24253472e+03 -5.24818985e+03 -4.20420543e+03 -5.29247280e+03 -4.22745072e+03 -5.24137758e+03 -4.22341908e+03 -5.22343198e+03 -4.24789048e+03 -5.23425909e+03 -5.27827022e+03 -5.19939892e+03 -4.24046356e+03 -4.16768862e+03 -4.92751111e+03 -4.21693091e+03 -5.18616906e+03] [-5.43882338e+03 -5.31426673e+03 -1.07745725e+04 -5.22402714e+03 -5.76605437e+03 -5.21379231e+03 -6.03835259e+03 -5.31011591e+03 -5.71073921e+03 -5.26506722e+03 -5.49722265e+03 -5.57616713e+03 -5.53564430e+03 -5.89996578e+03 -5.24834047e+03 -5.45151530e+03 -5.06950492e+03 -5.26478565e+03 -5.13858124e+03 -5.31578737e+03] [ 1.20327466e+04 7.50201443e+04 -2.41225355e+04 2.09715036e+04 6.16031428e+04 1.96284580e+04 5.51276156e+04 1.77681665e+04 6.36734159e+04 1.84926236e+04 7.05747465e+04 9.60361629e+03 6.82397770e+04 5.86730181e+04 7.58292557e+04 1.30984159e+04 2.18875837e+04 5.97522437e+04 2.27236028e+04 7.41949127e+04] [ 4.01107907e+05 8.68351324e+05 -3.16531155e+05 4.62803672e+05 7.77830334e+05 4.49657009e+05 7.30202218e+05 4.34911777e+05 7.89136715e+05 4.45228842e+05 8.36366873e+05 3.79554890e+05 8.27262907e+05 7.57413277e+05 8.79784775e+05 4.08749889e+05 4.66754291e+05 7.57873751e+05 4.74305817e+05 8.63693219e+05] [ 1.73698588e+06 3.36661454e+06 -1.42173993e+06 1.94979982e+06 3.05141736e+06 1.89666766e+06 2.87493841e+06 1.83725878e+06 3.08650045e+06 1.88856092e+06 3.25421217e+06 1.64669558e+06 3.23160486e+06 2.97867592e+06 3.41412082e+06 1.75792992e+06 1.96182162e+06 2.98597858e+06 1.99320363e+06 3.35557106e+06] [ 2.20329571e+06 5.24499713e+06 -3.66937017e+06 2.61486396e+06 4.61203120e+06 2.52891404e+06 4.25246851e+06 2.39882131e+06 4.69119235e+06 2.51027045e+06 5.02891280e+06 2.02622674e+06 4.96902528e+06 4.47076681e+06 5.31811437e+06 2.24014216e+06 2.65087416e+06 4.54101781e+06 2.71024404e+06 5.22515393e+06] [ 2.88097503e+06 7.59748638e+06 -5.87526561e+06 3.50638512e+06 6.61994326e+06 3.40123440e+06 6.06772988e+06 3.18335032e+06 6.75496847e+06 3.36424008e+06 7.27982572e+06 2.62439379e+06 7.16283255e+06 6.41261582e+06 7.67478956e+06 2.93858016e+06 3.56944858e+06 6.49111688e+06 3.66081261e+06 7.56396677e+06] [ 1.32281058e+06 6.82974332e+06 -8.09930480e+06 2.07282439e+06 5.61908504e+06 1.99104845e+06 4.94750932e+06 1.69547696e+06 5.82286820e+06 1.93478341e+06 6.47282555e+06 1.03522350e+06 6.28001024e+06 5.39099570e+06 6.85451259e+06 1.38444649e+06 2.16987371e+06 5.53591073e+06 2.27652938e+06 6.77973951e+06] [-2.24723860e+06 1.96925649e+06 -8.03831577e+06 -1.67005872e+06 9.65257391e+05 -1.65430416e+06 4.18072036e+05 -1.96331804e+06 1.20272776e+06 -1.71486068e+06 1.74180209e+06 -2.43713009e+06 1.50162304e+06 8.28650091e+05 1.87258222e+06 -2.21471324e+06 -1.55766458e+06 9.60589538e+05 -1.47287506e+06 1.92395910e+06] [-4.88113184e+06 -3.92776970e+06 -4.59719150e+06 -4.77580930e+06 -4.25041570e+06 -4.61193429e+06 -4.39719889e+06 -4.84437940e+06 -4.04428202e+06 -4.66430562e+06 -3.87160593e+06 -4.83914288e+06 -4.09642561e+06 -4.19810680e+06 -4.15939487e+06 -4.88650099e+06 -4.68885779e+06 -4.21838569e+06 -4.64407035e+06 -3.93239500e+06] [-4.51493707e+06 -8.54826277e+06 2.75353997e+06 -5.16012419e+06 -7.71698978e+06 -4.80943893e+06 -7.17995924e+06 -4.86160829e+06 -7.61604196e+06 -4.85665606e+06 -8.06141231e+06 -4.09248894e+06 -8.20484690e+06 -7.38824647e+06 -8.89850139e+06 -4.53832585e+06 -5.15014933e+06 -7.76033305e+06 -5.15573057e+06 -8.47795097e+06] [-9.62963300e+06 -1.93759336e+07 6.96931817e+06 -1.08671085e+07 -1.76357853e+07 -1.04288020e+07 -1.65463178e+07 -1.02485128e+07 -1.76754973e+07 -1.04717958e+07 -1.86114248e+07 -8.95915381e+06 -1.86478181e+07 -1.71385403e+07 -1.97298430e+07 -9.68398879e+06 -1.09052298e+07 -1.71901355e+07 -1.09755743e+07 -1.92502295e+07] [-2.85631460e+07 -4.33271817e+07 1.74651291e+06 -2.98613938e+07 -4.15510057e+07 -2.95573289e+07 -4.04248016e+07 -2.91512336e+07 -4.17143994e+07 -2.95660497e+07 -4.26893453e+07 -2.80415177e+07 -4.26044589e+07 -4.11442740e+07 -4.35081874e+07 -2.87066671e+07 -2.98476555e+07 -3.95986433e+07 -3.00194861e+07 -4.32129227e+07] [-3.65661852e+07 -5.25297811e+07 -2.02986565e+06 -3.77895283e+07 -5.09154923e+07 -3.75593566e+07 -4.98587365e+07 -3.70887883e+07 -5.11043494e+07 -3.75532066e+07 -5.20119710e+07 -3.61583128e+07 -5.18751354e+07 -5.05636479e+07 -5.26330979e+07 -3.67422944e+07 -3.77434608e+07 -4.83726243e+07 -3.79524886e+07 -5.24412705e+07] [-2.71798597e+07 -3.96516857e+07 -1.62737080e+06 -2.82353967e+07 -3.82711637e+07 -2.79850749e+07 -3.73204880e+07 -2.76260141e+07 -3.83917108e+07 -2.80047354e+07 -3.91850244e+07 -2.67681814e+07 -3.90822534e+07 -3.79137676e+07 -3.97858760e+07 -2.72920349e+07 -2.82079909e+07 -3.64968207e+07 -2.83641150e+07 -3.95856362e+07] [-4.31090475e+06 -7.70527406e+06 7.86962401e+05 -4.77786387e+06 -7.10767572e+06 -4.53386190e+06 -6.57500545e+06 -4.46788022e+06 -7.03622877e+06 -4.61209509e+06 -7.41232251e+06 -3.94707691e+06 -7.45983196e+06 -6.83435875e+06 -7.90460885e+06 -4.26528653e+06 -4.78285195e+06 -7.04881820e+06 -4.79903514e+06 -7.68896288e+06] [ 3.78988970e+06 7.07585588e+06 -1.85564225e+06 4.07537556e+06 6.59358565e+06 4.17233960e+06 6.49417772e+06 4.01992296e+06 6.80878871e+06 4.08263684e+06 7.01132625e+06 3.87064095e+06 6.85771496e+06 6.62947458e+06 6.93184847e+06 3.89836504e+06 4.11990870e+06 6.11895272e+06 4.17245405e+06 7.03396542e+06] [ 1.68934341e+06 6.94284433e+06 -5.59483250e+06 2.33523053e+06 5.92313244e+06 2.29582894e+06 5.46121436e+06 2.07530356e+06 6.16598301e+06 2.24300128e+06 6.66107068e+06 1.53403859e+06 6.51303690e+06 5.80139665e+06 6.89189495e+06 1.76972301e+06 2.42574921e+06 5.64197474e+06 2.47814105e+06 6.87943044e+06] [-1.97605033e+06 2.13785316e+06 -7.38180663e+06 -1.40278261e+06 1.19563257e+06 -1.48676385e+06 7.17018490e+05 -1.69263132e+06 1.38472860e+06 -1.49023103e+06 1.85156888e+06 -2.21652722e+06 1.76985096e+06 1.06194505e+06 2.14372946e+06 -1.95993470e+06 -1.30997772e+06 1.19760892e+06 -1.26901501e+06 2.09443891e+06] [-3.57575860e+06 -5.72477721e+05 -7.14476198e+06 -3.13204363e+06 -1.32999131e+06 -3.23454543e+06 -1.74386418e+06 -3.41152873e+06 -1.19859752e+06 -3.20720187e+06 -8.15180268e+05 -3.83468428e+06 -8.43976203e+05 -1.43799769e+06 -5.27833488e+05 -3.59688232e+06 -3.06523901e+06 -1.21342424e+06 -3.01848707e+06 -5.98443957e+05] [-2.13046665e+06 2.19802748e+05 -5.64936142e+06 -1.78032622e+06 -3.74982094e+05 -1.89099981e+06 -7.09740939e+05 -2.03019749e+06 -2.90475729e+05 -1.85689711e+06 1.49582678e+04 -2.36507385e+06 2.15963061e+04 -4.63180880e+05 2.97952933e+05 -2.15257010e+06 -1.74337673e+06 -2.64622867e+05 -1.68928199e+06 2.03373572e+05] [-5.11380328e+05 1.19899555e+06 -3.81653119e+06 -2.65058943e+05 7.83766020e+05 -3.55178671e+05 5.47167176e+05 -4.51973432e+05 8.32499822e+05 -3.27512015e+05 1.04742063e+06 -6.86369063e+05 1.06538142e+06 7.19007368e+05 1.27566349e+06 -5.24602145e+05 -2.49703533e+05 8.43961289e+05 -1.99795965e+05 1.19008887e+06] [-3.20487081e+05 5.66115976e+05 -2.19937346e+06 -1.87005864e+05 3.37525910e+05 -2.40800532e+05 2.09801489e+05 -2.91807924e+05 3.63035459e+05 -2.23376583e+05 4.79220135e+05 -4.20226671e+05 4.95893056e+05 3.02114369e+05 6.16106940e+05 -3.28323180e+05 -1.80379327e+05 3.87015567e+05 -1.49586658e+05 5.63389588e+05] [-2.48093159e+05 -7.76720431e+04 -6.77299035e+05 -2.26545176e+05 -1.22977636e+05 -2.38880348e+05 -1.46745950e+05 -2.52240066e+05 -1.16555638e+05 -2.31026092e+05 -9.46952111e+04 -2.73098135e+05 -8.59444667e+04 -1.25122133e+05 -6.56692434e+04 -2.52330383e+05 -2.27203870e+05 -1.12124579e+05 -2.17417742e+05 -7.61346456e+04] [-1.69942905e+05 -2.06517551e+05 -8.66532953e+04 -1.75793194e+05 -2.02259291e+05 -1.74064794e+05 -1.99443510e+05 -1.74346731e+05 -2.01723499e+05 -1.72766034e+05 -2.04843986e+05 -1.69884939e+05 -2.03058946e+05 -1.98950630e+05 -2.08405779e+05 -1.71645068e+05 -1.75415107e+05 -1.97717751e+05 -1.76177310e+05 -2.06531715e+05] [-1.39990926e+04 -1.71825333e+04 -9.46849224e+03 -1.42731532e+04 -1.70962373e+04 -1.42183384e+04 -1.69600413e+04 -1.41040407e+04 -1.69765124e+04 -1.41277018e+04 -1.71642995e+04 -1.39851787e+04 -1.69996138e+04 -1.70060091e+04 -1.72490482e+04 -1.40446773e+04 -1.42329759e+04 -1.62694415e+04 -1.43008808e+04 -1.71445299e+04] [ 4.22917398e-01 -1.34089038e-01 -4.01584901e-02 -8.26141802e-01 2.20074938e-01 -4.39359593e-01 8.37832317e-01 -5.23563766e-01 5.01308304e-01 4.10289979e-01 -7.54436080e-01 -5.82545165e-01 -6.05658467e-01 5.68660812e-01 1.02302474e-01 1.59704526e-02 4.85152291e-01 7.54975916e-01 -8.59908745e-01 -2.47355330e-01] [-3.16451043e-01 6.88559911e-01 5.37703721e-01 6.49947586e-02 -8.20904123e-01 8.50216061e-01 1.15886687e-01 -9.52181234e-01 2.92126133e-01 -4.52581517e-01 -9.26470613e-02 7.91234069e-01 -5.91913884e-01 -7.72723306e-01 2.36337868e-01 3.50974829e-01 9.77702073e-01 -3.56862158e-01 8.14450708e-01 1.80942173e-01] [-2.10164515e+02 -2.57020908e+02 -2.61544028e+02 -2.10445417e+02 -2.60182557e+02 -2.08395763e+02 -2.62114554e+02 -2.09329052e+02 -2.60512989e+02 -2.09434625e+02 -2.59687399e+02 -2.10711650e+02 -2.60384546e+02 -2.60869028e+02 -2.57103893e+02 -2.10868254e+02 -2.07230250e+02 -2.44237745e+02 -2.10031525e+02 -2.56213066e+02] [ 4.60089122e+02 2.89188867e+03 2.21410561e+03 9.14632879e+02 2.23227795e+03 8.23714116e+02 1.84376999e+03 7.88354765e+02 2.41529818e+03 7.64889107e+02 2.76220111e+03 3.59204437e+02 2.54480987e+03 2.05823510e+03 2.81702866e+03 4.82717993e+02 9.98678083e+02 2.36287368e+03 9.18385718e+02 2.82935320e+03] [-3.49423015e+04 8.82639019e+02 -6.90502152e+04 -2.94510203e+04 -7.92576199e+03 -2.97316520e+04 -1.26684779e+04 -3.14651737e+04 -6.75042205e+03 -3.04563888e+04 -2.12632960e+03 -3.68927560e+04 -3.72887329e+03 -1.04120202e+04 1.11304409e+03 -3.45923723e+04 -2.79693867e+04 -7.77393964e+03 -2.79577019e+04 8.49646990e+02] [ 2.30853220e+05 6.49180878e+05 -4.57369953e+05 2.91432984e+05 5.58692656e+05 2.76092118e+05 5.09918402e+05 2.61610038e+05 5.69226869e+05 2.74531024e+05 6.16192869e+05 2.05454395e+05 6.10715387e+05 5.36675076e+05 6.62917660e+05 2.36561855e+05 2.96560041e+05 5.54307919e+05 3.03434892e+05 6.47334297e+05] [ 8.85362708e+05 2.37961458e+06 -2.12766781e+06 1.10839933e+06 2.04108831e+06 1.04595073e+06 1.85196403e+06 9.86587400e+05 2.07837199e+06 1.04522653e+06 2.25554542e+06 7.78162251e+05 2.24146284e+06 1.95905396e+06 2.43651947e+06 9.00228296e+05 1.12813185e+06 2.04878526e+06 1.15785264e+06 2.37675581e+06] [ 5.22871361e+04 2.54008248e+06 -5.08134525e+06 4.41236494e+05 1.91713445e+06 3.46776254e+05 1.56713082e+06 2.28908927e+05 1.99211619e+06 3.43599219e+05 2.31592711e+06 -1.44726499e+05 2.28384936e+06 1.77221224e+06 2.62632507e+06 7.19611323e+04 4.92745199e+05 1.99773842e+06 5.39191508e+05 2.53595570e+06] [-1.41459215e+06 1.86907068e+06 -8.15163337e+06 -8.94598747e+05 9.98581402e+05 -9.96256466e+05 5.11311413e+05 -1.17490409e+06 1.11962042e+06 -1.00487344e+06 1.56989204e+06 -1.67839996e+06 1.50953828e+06 8.11450711e+05 1.95332176e+06 -1.39129355e+06 -8.09072388e+05 1.15479692e+06 -7.50021589e+05 1.86151672e+06] [-4.75021429e+06 -1.48222193e+06 -1.07958170e+07 -4.20670201e+06 -2.46219948e+06 -4.26424477e+06 -2.99359177e+06 -4.49063602e+06 -2.28916124e+06 -4.28324866e+06 -1.78839273e+06 -5.01947984e+06 -1.89314652e+06 -2.63553353e+06 -1.46121301e+06 -4.73469811e+06 -4.08763701e+06 -2.18966967e+06 -4.02980291e+06 -1.50024250e+06] [-8.38628946e+06 -6.93713236e+06 -1.05519845e+07 -8.10045217e+06 -7.59949386e+06 -8.03794448e+06 -7.93010132e+06 -8.24894446e+06 -7.40914861e+06 -8.06177175e+06 -7.08662633e+06 -8.51889629e+06 -7.21309906e+06 -7.65243686e+06 -7.04049045e+06 -8.39263386e+06 -7.97467994e+06 -7.24797910e+06 -7.94389633e+06 -6.94535974e+06] [-9.52807841e+06 -1.18242791e+07 -6.02604852e+06 -9.81154461e+06 -1.16557186e+07 -9.56666990e+06 -1.14804260e+07 -9.67202492e+06 -1.15129296e+07 -9.59601492e+06 -1.16415497e+07 -9.35751021e+06 -1.17404918e+07 -1.14815774e+07 -1.20677232e+07 -9.54963212e+06 -9.72817212e+06 -1.13393226e+07 -9.73502007e+06 -1.17851714e+07] [-8.70104562e+06 -1.65615288e+07 8.13707726e+05 -9.79569815e+06 -1.51642168e+07 -9.34457709e+06 -1.42575547e+07 -9.25180596e+06 -1.51464946e+07 -9.38207600e+06 -1.59337780e+07 -8.12434794e+06 -1.59480408e+07 -1.47056935e+07 -1.69142639e+07 -8.73590777e+06 -9.79252555e+06 -1.48696264e+07 -9.84677211e+06 -1.64422707e+07] [-1.77654887e+07 -3.19311042e+07 2.37836816e+06 -1.94441547e+07 -2.96798230e+07 -1.89246820e+07 -2.82540865e+07 -1.85876329e+07 -2.98197131e+07 -1.89501818e+07 -3.10734666e+07 -1.69951448e+07 -3.09577402e+07 -2.90729089e+07 -3.22537634e+07 -1.78560680e+07 -1.94713390e+07 -2.86449567e+07 -1.96019023e+07 -3.17629113e+07] [-3.52738012e+07 -5.40084146e+07 -3.34432450e+06 -3.70401382e+07 -5.17011641e+07 -3.66213012e+07 -5.02319719e+07 -3.61035772e+07 -5.19473275e+07 -3.66084135e+07 -5.32497076e+07 -3.46376898e+07 -5.30235161e+07 -5.11553976e+07 -5.41945141e+07 -3.54593340e+07 -3.70168837e+07 -4.93367102e+07 -3.72346816e+07 -5.38458497e+07] [-3.91039904e+07 -5.72545740e+07 -6.81646313e+06 -4.06793924e+07 -5.52601525e+07 -4.03376896e+07 -5.39707753e+07 -3.98301900e+07 -5.54957353e+07 -4.03164072e+07 -5.66400188e+07 -3.86109570e+07 -5.64099458e+07 -5.47931276e+07 -5.73834178e+07 -3.93115758e+07 -4.06290636e+07 -5.26425323e+07 -4.08558623e+07 -5.71255285e+07] [-2.30316158e+07 -3.39201163e+07 -5.30519947e+06 -2.40545254e+07 -3.26564367e+07 -2.37674106e+07 -3.17716370e+07 -2.34806897e+07 -3.27503744e+07 -2.37920472e+07 -3.34974396e+07 -2.26433742e+07 -3.33986970e+07 -3.23002988e+07 -3.40681784e+07 -2.31290179e+07 -2.40278387e+07 -3.12585152e+07 -2.41479640e+07 -3.38475969e+07] [-7.70219397e+05 -1.42724573e+06 -1.60700511e+06 -9.61572951e+05 -1.25393029e+06 -7.55274658e+05 -9.76387178e+05 -7.89077388e+05 -1.12603916e+06 -8.40820038e+05 -1.27705579e+06 -5.20469619e+05 -1.37767929e+06 -1.07729972e+06 -1.61356689e+06 -7.02624452e+05 -9.48130007e+05 -1.46722160e+06 -9.25408003e+05 -1.42427656e+06] [ 3.51855686e+06 8.44500318e+06 -3.64539055e+06 4.07730646e+06 7.56765461e+06 4.09917014e+06 7.21489250e+06 3.89032832e+06 7.82083297e+06 4.01563869e+06 8.24063995e+06 3.46449339e+06 8.04752392e+06 7.48544540e+06 8.33937023e+06 3.62573890e+06 4.15490292e+06 7.15288067e+06 4.21529230e+06 8.39173238e+06] [-3.99011959e+05 5.21219852e+06 -6.56670686e+06 3.92191958e+05 3.99032031e+06 2.95248321e+05 3.37950639e+06 5.21825367e+04 4.25190520e+06 2.60035312e+05 4.86447637e+06 -6.48395467e+05 4.69660959e+06 3.79256372e+06 5.18397617e+06 -3.43024624e+05 5.14860042e+05 3.90799719e+06 5.51942485e+05 5.15083048e+06] [-4.10401772e+06 6.28181813e+04 -7.51615989e+06 -3.45720629e+06 -9.73183520e+05 -3.57378040e+06 -1.53125275e+06 -3.79538734e+06 -7.71230970e+05 -3.56197970e+06 -2.43778867e+05 -4.39594123e+06 -3.41766360e+05 -1.14385686e+06 7.08751649e+04 -4.11203619e+06 -3.34269393e+06 -8.31440220e+05 -3.31599678e+06 2.22683556e+04] [-5.18111327e+06 -1.96048817e+06 -7.62730261e+06 -4.65875501e+06 -2.82921598e+06 -4.78467359e+06 -3.32128565e+06 -4.97917655e+06 -2.67995755e+06 -4.74936737e+06 -2.23131590e+06 -5.48386868e+06 -2.27848812e+06 -2.96887414e+06 -1.91995649e+06 -5.21708406e+06 -4.57173618e+06 -2.61017690e+06 -4.53543962e+06 -1.99085069e+06] [-3.59277141e+06 -1.21032012e+06 -6.36857586e+06 -3.20701606e+06 -1.86625666e+06 -3.32318005e+06 -2.24754772e+06 -3.47189525e+06 -1.76848083e+06 -3.28336062e+06 -1.42912340e+06 -3.85182397e+06 -1.43497558e+06 -1.97045180e+06 -1.14695721e+06 -3.62800296e+06 -3.15301487e+06 -1.67656964e+06 -3.11144163e+06 -1.23042963e+06] [-2.02809870e+06 -4.92243015e+05 -4.47160873e+06 -1.77967980e+06 -9.23864735e+05 -1.86689451e+06 -1.17277923e+06 -1.96233816e+06 -8.68543060e+05 -1.83456112e+06 -6.46931611e+05 -2.21218592e+06 -6.33146029e+05 -9.92989694e+05 -4.29884178e+05 -2.05172785e+06 -1.75190262e+06 -7.89610219e+05 -1.71396315e+06 -5.01286177e+05] [-1.45623054e+06 -8.48728984e+05 -2.59969902e+06 -1.34553282e+06 -1.05511796e+06 -1.39081027e+06 -1.17031607e+06 -1.43534742e+06 -1.02866153e+06 -1.36966695e+06 -9.26636008e+05 -1.55219080e+06 -9.09743379e+05 -1.08533122e+06 -8.11458974e+05 -1.47151174e+06 -1.33321917e+06 -9.55289921e+05 -1.31084981e+06 -8.48349926e+05] [-7.39559114e+05 -7.25515109e+05 -8.46243203e+05 -7.33022017e+05 -7.54331599e+05 -7.40201099e+05 -7.68674352e+05 -7.49736699e+05 -7.48488541e+05 -7.30863747e+05 -7.36754133e+05 -7.60635952e+05 -7.26440687e+05 -7.52448520e+05 -7.18942628e+05 -7.46877999e+05 -7.31487239e+05 -7.20553014e+05 -7.25476447e+05 -7.22119256e+05] [-3.20812736e+05 -4.14470574e+05 -1.44486599e+05 -3.32367619e+05 -4.03364741e+05 -3.29374588e+05 -3.95794824e+05 -3.27743437e+05 -4.03227409e+05 -3.27246935e+05 -4.10671858e+05 -3.19167326e+05 -4.07565062e+05 -3.98471233e+05 -4.17404168e+05 -3.23287698e+05 -3.31731729e+05 -3.91615945e+05 -3.33227707e+05 -4.13186080e+05] [-4.22496350e+04 -6.09991384e+04 -4.76100603e+04 -4.42724041e+04 -5.85548174e+04 -4.39021571e+04 -5.68277623e+04 -4.29647885e+04 -5.85671754e+04 -4.34265999e+04 -6.03302819e+04 -4.15565361e+04 -5.94297931e+04 -5.80246306e+04 -6.13412689e+04 -4.23359128e+04 -4.41538233e+04 -5.63060404e+04 -4.46392074e+04 -6.04568570e+04] [-6.76145055e+01 -5.74077915e+01 -1.69207232e+02 -6.56665130e+01 -6.28119737e+01 -6.28544802e+01 -6.69909489e+01 -6.54519748e+01 -6.29881976e+01 -6.40994467e+01 -5.91297841e+01 -6.93984078e+01 -6.07756850e+01 -6.52580897e+01 -5.66072185e+01 -6.87834494e+01 -6.22319397e+01 -5.95276646e+01 -6.39595845e+01 -5.69489719e+01] [-5.77476878e-02 5.43104333e-01 -9.58727006e-01 -5.44839552e-01 9.67061386e-01 -8.80781909e-01 1.91012089e-01 9.96563423e-01 2.01574393e-01 -8.94732966e-01 -7.50652028e-01 7.90292857e-01 7.36834335e-01 9.75575996e-02 -4.74839546e-01 2.06954418e-02 -4.92452396e-01 3.80268869e-01 2.08248084e-01 5.75963012e-01] [ 1.84222794e+03 3.68482213e+03 2.11955123e+03 2.12401838e+03 3.37565146e+03 2.03003737e+03 3.18134220e+03 2.00810138e+03 3.40454288e+03 2.02875359e+03 3.58674025e+03 1.76632606e+03 3.56313621e+03 3.28174996e+03 3.71396548e+03 1.85787310e+03 2.16558981e+03 3.30705536e+03 2.12696817e+03 3.66046151e+03] [ 2.28923715e+04 4.52207213e+04 2.50503777e+04 2.62331405e+04 4.12368312e+04 2.51542273e+04 3.89816433e+04 2.49059428e+04 4.18087768e+04 2.51502810e+04 4.40011788e+04 2.19972975e+04 4.36172873e+04 4.01783037e+04 4.55137161e+04 2.31462614e+04 2.64863166e+04 4.05552700e+04 2.62750894e+04 4.48571852e+04] [-2.24243946e+04 2.69835715e+04 -5.77632700e+04 -1.22635949e+04 1.31906293e+04 -1.45965005e+04 5.59015131e+03 -1.59817840e+04 1.52091914e+04 -1.45730649e+04 2.23593753e+04 -2.58170667e+04 2.11995235e+04 9.06061132e+03 2.76916455e+04 -2.20706077e+04 -1.00037475e+04 1.76652664e+04 -1.09810672e+04 2.68732029e+04] [-1.39146310e+05 1.62357539e+05 -7.41911718e+05 -7.91567362e+04 7.09329074e+04 -9.79194004e+04 2.23567737e+04 -1.09520607e+05 8.21058578e+04 -9.44608950e+04 1.27920090e+05 -1.69254542e+05 1.27435212e+05 4.65041945e+04 1.77433484e+05 -1.37255001e+05 -7.12174249e+04 1.04079470e+05 -6.59011810e+04 1.65441278e+05] [-5.67737549e+05 3.53714551e+05 -2.82344458e+06 -3.81261263e+05 5.69124518e+04 -4.43617946e+05 -1.01414874e+05 -4.87694586e+05 9.13879197e+04 -4.31076757e+05 2.39525497e+05 -6.74302413e+05 2.44117267e+05 -1.85580252e+04 4.11472382e+05 -5.65206916e+05 -3.56413379e+05 1.78000840e+05 -3.31608498e+05 3.66835083e+05] [-2.40941818e+06 -1.19135202e+06 -5.85698350e+06 -2.13636838e+06 -1.66358005e+06 -2.21916632e+06 -1.91683020e+06 -2.29839269e+06 -1.60133875e+06 -2.19808405e+06 -1.37031379e+06 -2.58263552e+06 -1.36184903e+06 -1.77630539e+06 -1.11134285e+06 -2.41278174e+06 -2.08289639e+06 -1.40883101e+06 -2.05049227e+06 -1.16558843e+06] [-5.25116592e+06 -4.23254483e+06 -8.99320998e+06 -4.97496005e+06 -4.77960834e+06 -5.04228620e+06 -5.06753294e+06 -5.15013177e+06 -4.69212650e+06 -5.01418190e+06 -4.43343857e+06 -5.45464042e+06 -4.41823672e+06 -4.88966650e+06 -4.16446539e+06 -5.26764369e+06 -4.89219149e+06 -4.38511468e+06 -4.86230748e+06 -4.19758214e+06] [-9.40139452e+06 -9.61844898e+06 -1.11400769e+07 -9.28164074e+06 -1.00268030e+07 -9.26978134e+06 -1.02128672e+07 -9.38002816e+06 -9.91837421e+06 -9.24256488e+06 -9.75052917e+06 -9.54751044e+06 -9.73169753e+06 -1.00571086e+07 -9.62212690e+06 -9.43659078e+06 -9.17998997e+06 -9.48600325e+06 -9.16742761e+06 -9.58141188e+06] [-1.20346078e+07 -1.51368943e+07 -9.59505713e+06 -1.23677904e+07 -1.49489937e+07 -1.21874001e+07 -1.47681277e+07 -1.22392421e+07 -1.48603963e+07 -1.21674374e+07 -1.50229651e+07 -1.19605190e+07 -1.49913920e+07 -1.47868849e+07 -1.52802935e+07 -1.20903799e+07 -1.22858810e+07 -1.43988487e+07 -1.23040875e+07 -1.50781071e+07] [-1.18396460e+07 -1.95380314e+07 -4.27718888e+06 -1.29050446e+07 -1.82855170e+07 -1.24995759e+07 -1.74638052e+07 -1.24114882e+07 -1.82832627e+07 -1.24947552e+07 -1.90202352e+07 -1.13891862e+07 -1.89370972e+07 -1.78446053e+07 -1.98259371e+07 -1.19050451e+07 -1.28880945e+07 -1.78471066e+07 -1.29425385e+07 -1.94208125e+07] [-1.39835173e+07 -2.71481978e+07 1.28429134e+05 -1.57490557e+07 -2.48518844e+07 -1.51839211e+07 -2.34062274e+07 -1.48963756e+07 -2.49810044e+07 -1.51851183e+07 -2.62800489e+07 -1.32113104e+07 -2.61050324e+07 -2.41855257e+07 -2.74963555e+07 -1.40719629e+07 -1.57912733e+07 -2.42099333e+07 -1.58984337e+07 -2.69667780e+07] [-2.56266786e+07 -4.34834319e+07 -1.79212755e+06 -2.76568830e+07 -4.08223231e+07 -2.71154869e+07 -3.91484448e+07 -2.66405691e+07 -4.10688321e+07 -2.70958391e+07 -4.25760930e+07 -2.48379244e+07 -4.22948247e+07 -4.01340650e+07 -4.37468277e+07 -2.57797564e+07 -2.76832574e+07 -3.92464521e+07 -2.78665387e+07 -4.32828654e+07] [-3.90658083e+07 -5.88016130e+07 -8.01776108e+06 -4.09304148e+07 -5.64394762e+07 -4.05252375e+07 -5.49435032e+07 -3.99680659e+07 -5.67338662e+07 -4.04744251e+07 -5.80928547e+07 -3.84968080e+07 -5.77583200e+07 -5.58836334e+07 -5.89326809e+07 -3.92932966e+07 -4.08940748e+07 -5.38595518e+07 -4.11366178e+07 -5.86283729e+07] [-3.69036369e+07 -5.31589139e+07 -1.06240319e+07 -3.83036290e+07 -5.14525365e+07 -3.80163166e+07 -5.03256966e+07 -3.75543043e+07 -5.16796285e+07 -3.79793674e+07 -5.26879337e+07 -3.65300102e+07 -5.24223761e+07 -5.10501022e+07 -5.32252603e+07 -3.71055777e+07 -3.82469696e+07 -4.90300399e+07 -3.84508292e+07 -5.30386967e+07] [-1.58438612e+07 -2.33971821e+07 -6.48939479e+06 -1.65718017e+07 -2.25474021e+07 -1.63391296e+07 -2.18875586e+07 -1.61421084e+07 -2.25918039e+07 -1.63731320e+07 -2.31253169e+07 -1.55519822e+07 -2.30609736e+07 -2.22839697e+07 -2.35041306e+07 -1.58940165e+07 -1.65543945e+07 -2.16180307e+07 -1.66114217e+07 -2.33348287e+07] [ 2.83845288e+06 3.16119739e+06 -1.40469273e+06 2.73896452e+06 3.21913707e+06 2.92087577e+06 3.42497327e+06 2.86749339e+06 3.35444642e+06 2.83160428e+06 3.26661976e+06 3.06021385e+06 3.14585706e+06 3.34560340e+06 3.00120211e+06 2.92389511e+06 2.74166662e+06 2.85140963e+06 2.79746497e+06 3.17992894e+06] [ 4.29261527e+06 8.16901302e+06 -2.44008621e+06 4.71872041e+06 7.50819178e+06 4.75317021e+06 7.25977150e+06 4.57962596e+06 7.73122985e+06 4.68376627e+06 8.04152885e+06 4.28515002e+06 7.86596574e+06 7.44887079e+06 8.06630026e+06 4.38621384e+06 4.77749128e+06 7.12197383e+06 4.83903525e+06 8.15308750e+06] [-1.84231194e+06 2.19371061e+06 -5.29226059e+06 -1.23592683e+06 1.25007715e+06 -1.30899010e+06 7.83091635e+05 -1.51140046e+06 1.48143543e+06 -1.32138235e+06 1.95086466e+06 -2.03494780e+06 1.81359509e+06 1.10600574e+06 2.15063563e+06 -1.81371866e+06 -1.12894316e+06 1.27899962e+06 -1.10122307e+06 2.16751765e+06] [-5.92967796e+06 -2.33241378e+06 -7.33017744e+06 -5.31234068e+06 -3.32037427e+06 -5.44104520e+06 -3.85116205e+06 -5.64877166e+06 -3.11988747e+06 -5.41023046e+06 -2.61754939e+06 -6.22716009e+06 -2.70174970e+06 -3.47870759e+06 -2.32655969e+06 -5.95642531e+06 -5.19972540e+06 -3.05703008e+06 -5.17744461e+06 -2.36298378e+06] [-6.50438269e+06 -3.92829195e+06 -7.48759136e+06 -6.02972311e+06 -4.72705491e+06 -6.15047356e+06 -5.17540799e+06 -6.32622861e+06 -4.57679984e+06 -6.10312798e+06 -4.16895525e+06 -6.79104322e+06 -4.20689500e+06 -4.84816805e+06 -3.90408151e+06 -6.55339948e+06 -5.94087234e+06 -4.40390722e+06 -5.91493488e+06 -3.94929250e+06] [-4.54169654e+06 -2.76728019e+06 -5.92762888e+06 -4.21509438e+06 -3.33128801e+06 -4.31679868e+06 -3.65485723e+06 -4.44236919e+06 -3.23542436e+06 -4.26996178e+06 -2.94764000e+06 -4.77046131e+06 -2.95004518e+06 -3.41527942e+06 -2.72810872e+06 -4.58417620e+06 -4.16167366e+06 -3.08350222e+06 -4.13209615e+06 -2.77717056e+06] [-3.06482724e+06 -2.17386211e+06 -4.39488587e+06 -2.88476960e+06 -2.50930843e+06 -2.95239231e+06 -2.69668546e+06 -3.02343891e+06 -2.45770405e+06 -2.91442543e+06 -2.29320551e+06 -3.21675133e+06 -2.27214625e+06 -2.55654453e+06 -2.13412226e+06 -3.09537803e+06 -2.85655270e+06 -2.31617995e+06 -2.83170282e+06 -2.17399589e+06] [-1.85212286e+06 -1.71474814e+06 -2.52015925e+06 -1.80293294e+06 -1.83256614e+06 -1.83038907e+06 -1.89385823e+06 -1.85579667e+06 -1.81258836e+06 -1.80573301e+06 -1.76135207e+06 -1.91909718e+06 -1.73638907e+06 -1.84283033e+06 -1.69487044e+06 -1.87110413e+06 -1.79238754e+06 -1.71515584e+06 -1.78001325e+06 -1.70730157e+06] [-1.37002051e+06 -1.69837706e+06 -1.16931973e+06 -1.39672682e+06 -1.68456331e+06 -1.39442114e+06 -1.67250265e+06 -1.39324192e+06 -1.68155025e+06 -1.38202667e+06 -1.69588073e+06 -1.37881090e+06 -1.67891914e+06 -1.67368506e+06 -1.69978750e+06 -1.38119754e+06 -1.39254309e+06 -1.60843107e+06 -1.39364870e+06 -1.68962466e+06] [-5.45248736e+05 -7.56073469e+05 -3.26102142e+05 -5.66177973e+05 -7.33362075e+05 -5.61459054e+05 -7.18053471e+05 -5.55977643e+05 -7.34235489e+05 -5.57385229e+05 -7.49360558e+05 -5.41220843e+05 -7.42452640e+05 -7.26667293e+05 -7.59992871e+05 -5.48957376e+05 -5.64589967e+05 -7.02847138e+05 -5.67811758e+05 -7.51936658e+05] [-9.36200449e+04 -1.39599123e+05 -5.55831728e+04 -9.80910472e+04 -1.34120584e+05 -9.71132017e+04 -1.30406666e+05 -9.54770265e+04 -1.34499268e+05 -9.63578921e+04 -1.38098777e+05 -9.22862505e+04 -1.36562248e+05 -1.33073054e+05 -1.40247343e+05 -9.40641862e+04 -9.76985379e+04 -1.28219870e+05 -9.85130168e+04 -1.38374351e+05] [-1.23574618e+02 -1.04117451e+02 -3.11673148e+02 -1.20218962e+02 -1.14816557e+02 -1.17657811e+02 -1.24270667e+02 -1.21179819e+02 -1.13261539e+02 -1.18169825e+02 -1.08274393e+02 -1.28001465e+02 -1.09788919e+02 -1.20121950e+02 -1.04308464e+02 -1.24943878e+02 -1.14252243e+02 -1.07892523e+02 -1.16745035e+02 -1.03721818e+02] [ 9.76732380e-01 2.87071168e-01 1.24507552e-01 -8.27086724e-01 -9.52937112e-02 -8.60552636e-01 -2.56877450e-02 -9.68819347e-01 -7.16946738e-01 2.37858619e-01 3.52303544e-01 2.07449618e-01 -4.98050790e-01 -8.67628455e-01 3.54549848e-01 5.36679257e-01 -7.61449970e-01 4.79122986e-01 5.46376626e-01 -7.80054927e-01] [-1.62751403e+04 -1.79960841e+04 -1.49288979e+03 -1.58966604e+04 -1.85740000e+04 -1.60983357e+04 -1.89338457e+04 -1.60513312e+04 -1.86406096e+04 -1.60604980e+04 -1.83248380e+04 -1.66030549e+04 -1.82522625e+04 -1.88109337e+04 -1.78130795e+04 -1.63736875e+04 -1.57532960e+04 -1.71944823e+04 -1.58497036e+04 -1.80146105e+04] [ 3.19266717e+04 7.06457967e+04 3.26232814e+04 3.80407775e+04 6.33880830e+04 3.60387736e+04 5.91793003e+04 3.55174490e+04 6.41469758e+04 3.60732296e+04 6.81872940e+04 3.00701777e+04 6.78134652e+04 6.13246307e+04 7.14574038e+04 3.23248568e+04 3.87085978e+04 6.28765063e+04 3.82311938e+04 7.00716492e+04] [-1.80737082e+05 -1.64002154e+05 -9.54590793e+04 -1.68839975e+05 -1.79585075e+05 -1.73171068e+05 -1.86808849e+05 -1.72086252e+05 -1.76612691e+05 -1.71323855e+05 -1.69684858e+05 -1.84848633e+05 -1.68416084e+05 -1.84729667e+05 -1.62889636e+05 -1.80851593e+05 -1.65094951e+05 -1.61119793e+05 -1.68150091e+05 -1.62931891e+05] [-6.75361095e+05 -5.59043467e+05 -9.59390864e+05 -6.17089633e+05 -6.48483023e+05 -6.41348730e+05 -6.90917055e+05 -6.45136999e+05 -6.35816682e+05 -6.30865660e+05 -5.94894758e+05 -7.08583639e+05 -5.86524324e+05 -6.74728854e+05 -5.42156003e+05 -6.77828621e+05 -6.05313329e+05 -5.60329657e+05 -6.03604525e+05 -5.49236506e+05] [-1.95559325e+06 -1.62770398e+06 -3.30915573e+06 -1.80598989e+06 -1.87511977e+06 -1.86735765e+06 -1.99715982e+06 -1.89276466e+06 -1.83963372e+06 -1.84028657e+06 -1.72509252e+06 -2.05393065e+06 -1.70525498e+06 -1.94198752e+06 -1.57648175e+06 -1.96509736e+06 -1.77670125e+06 -1.64261994e+06 -1.75900998e+06 -1.59776237e+06] [-4.40287926e+06 -4.52869757e+06 -5.76805144e+06 -4.26351955e+06 -4.81040571e+06 -4.32529672e+06 -4.94203766e+06 -4.36340914e+06 -4.75723707e+06 -4.28105549e+06 -4.63722476e+06 -4.52944172e+06 -4.60385617e+06 -4.87890676e+06 -4.47321879e+06 -4.42941740e+06 -4.21829416e+06 -4.41571803e+06 -4.19201206e+06 -4.47151013e+06] [-7.44521975e+06 -8.71257454e+06 -7.68265562e+06 -7.45898159e+06 -8.83949281e+06 -7.47122280e+06 -8.87077620e+06 -7.50701917e+06 -8.78419982e+06 -7.41296196e+06 -8.76063136e+06 -7.53830841e+06 -8.69472755e+06 -8.84245211e+06 -8.68760797e+06 -7.49410950e+06 -7.40585306e+06 -8.33365839e+06 -7.38572300e+06 -8.63374287e+06] [-1.03600689e+07 -1.41234238e+07 -7.77878904e+06 -1.07715794e+07 -1.37503869e+07 -1.06530969e+07 -1.34782249e+07 -1.06442498e+07 -1.37190441e+07 -1.05888583e+07 -1.39789381e+07 -1.02956195e+07 -1.38633499e+07 -1.35810553e+07 -1.41913736e+07 -1.04365549e+07 -1.07321522e+07 -1.32069676e+07 -1.07400548e+07 -1.40259962e+07] [-1.19149392e+07 -1.98481356e+07 -4.89245945e+06 -1.30115615e+07 -1.85417380e+07 -1.26753941e+07 -1.77095343e+07 -1.25596727e+07 -1.85799198e+07 -1.26167660e+07 -1.93517287e+07 -1.15367496e+07 -1.91706394e+07 -1.80949001e+07 -2.00633197e+07 -1.20177183e+07 -1.30194635e+07 -1.80617148e+07 -1.30687603e+07 -1.97157986e+07] [-1.36844176e+07 -2.67489966e+07 -7.66709000e+05 -1.55306635e+07 -2.43701101e+07 -1.49886439e+07 -2.28934704e+07 -1.47074739e+07 -2.45197542e+07 -1.49394129e+07 -2.58728861e+07 -1.29592151e+07 -2.56091131e+07 -2.36507424e+07 -2.70748540e+07 -1.38102192e+07 -1.56004434e+07 -2.38441029e+07 -1.56967099e+07 -2.65647306e+07] [-1.98555000e+07 -3.68712381e+07 -2.83643583e+05 -2.20465579e+07 -3.39887625e+07 -2.14624808e+07 -3.22029467e+07 -2.10228124e+07 -3.42383941e+07 -2.14098669e+07 -3.58697002e+07 -1.90125018e+07 -3.55258588e+07 -3.31903498e+07 -3.71746821e+07 -2.00138457e+07 -2.21253243e+07 -3.29588913e+07 -2.22801875e+07 -3.66610210e+07] [-3.03615651e+07 -4.88880855e+07 -4.67303537e+06 -3.23719406e+07 -4.62855660e+07 -3.19183404e+07 -4.46547286e+07 -3.13912923e+07 -4.65808542e+07 -3.18459847e+07 -4.80727018e+07 -2.96982954e+07 -4.76859407e+07 -4.56238086e+07 -4.90603782e+07 -3.05663397e+07 -3.23973962e+07 -4.43894711e+07 -3.26035715e+07 -4.86971199e+07] [-3.91616138e+07 -5.59413788e+07 -1.14733922e+07 -4.05852249e+07 -5.42187788e+07 -4.03468872e+07 -5.30929740e+07 -3.98441376e+07 -5.44840974e+07 -4.02660878e+07 -5.55127212e+07 -3.88492174e+07 -5.51556848e+07 -5.38235238e+07 -5.59507941e+07 -3.93920206e+07 -4.05301603e+07 -5.16241740e+07 -4.07494272e+07 -5.58137967e+07] [-2.98000689e+07 -4.13597587e+07 -1.13536742e+07 -3.06973285e+07 -4.03362586e+07 -3.05471685e+07 -3.95948098e+07 -3.01935889e+07 -4.05010419e+07 -3.05144338e+07 -4.11456516e+07 -2.96238419e+07 -4.09195321e+07 -4.00910136e+07 -4.13374055e+07 -2.99512029e+07 -3.06501012e+07 -3.83888324e+07 -3.07830829e+07 -4.12849959e+07] [-9.15262679e+06 -1.34219872e+07 -5.85694999e+06 -9.55174563e+06 -1.30013322e+07 -9.39865431e+06 -1.25818833e+07 -9.28454862e+06 -1.29954269e+07 -9.43836541e+06 -1.32971979e+07 -8.96315274e+06 -1.32726858e+07 -1.28369928e+07 -1.34815188e+07 -9.15719274e+06 -9.54895428e+06 -1.24727294e+07 -9.54405836e+06 -1.33782281e+07] [ 3.06809788e+06 3.43982771e+06 -1.68729192e+06 3.00980115e+06 3.44944672e+06 3.15802520e+06 3.61480534e+06 3.10048108e+06 3.58097517e+06 3.08911192e+06 3.52207303e+06 3.25051478e+06 3.41184435e+06 3.54985233e+06 3.30599688e+06 3.14010180e+06 3.00820734e+06 3.14688266e+06 3.07809559e+06 3.47302393e+06] [ 1.83753453e+06 3.64904540e+06 -2.22889230e+06 2.02125900e+06 3.32079526e+06 2.09138145e+06 3.24575233e+06 1.96363374e+06 3.50419341e+06 2.05545677e+06 3.63807674e+06 1.88751540e+06 3.51302026e+06 3.33666995e+06 3.52682359e+06 1.88808303e+06 2.06278051e+06 3.11300891e+06 2.11705403e+06 3.67226495e+06] [-3.64951861e+06 -1.47704174e+06 -4.44368671e+06 -3.28959657e+06 -2.07467649e+06 -3.32299733e+06 -2.34864269e+06 -3.48006395e+06 -1.88114452e+06 -3.30471419e+06 -1.59620759e+06 -3.77059995e+06 -1.68038570e+06 -2.12792216e+06 -1.54556134e+06 -3.65491264e+06 -3.20961908e+06 -1.94585233e+06 -3.18408696e+06 -1.47126584e+06] [-7.81995960e+06 -5.71837208e+06 -6.71463401e+06 -7.38395655e+06 -6.45343263e+06 -7.48176362e+06 -6.83051148e+06 -7.64484679e+06 -6.27379214e+06 -7.42861925e+06 -5.91247143e+06 -8.05533199e+06 -5.95497786e+06 -6.54153213e+06 -5.73779995e+06 -7.86631615e+06 -7.28831557e+06 -6.07821807e+06 -7.27391243e+06 -5.72633451e+06] [-7.77804769e+06 -6.51069730e+06 -6.88508501e+06 -7.45678079e+06 -7.08878694e+06 -7.54519967e+06 -7.39454957e+06 -7.67410846e+06 -6.95245427e+06 -7.48403591e+06 -6.67111592e+06 -7.99670342e+06 -6.68069851e+06 -7.15254066e+06 -6.51433885e+06 -7.83688909e+06 -7.38045400e+06 -6.67396190e+06 -7.36572328e+06 -6.51102066e+06] [-5.55483224e+06 -4.84023271e+06 -5.24919825e+06 -5.34745342e+06 -5.22608020e+06 -5.41898694e+06 -5.43439905e+06 -5.50168568e+06 -5.14159373e+06 -5.36323246e+06 -4.95637336e+06 -5.72146365e+06 -4.94182083e+06 -5.27248016e+06 -4.82876981e+06 -5.60251873e+06 -5.29941056e+06 -4.90513289e+06 -5.28450405e+06 -4.83020985e+06] [-3.73119580e+06 -3.74139737e+06 -3.68569292e+06 -3.66370833e+06 -3.90446509e+06 -3.69974791e+06 -3.98486500e+06 -3.73262331e+06 -3.86480420e+06 -3.65695567e+06 -3.79742490e+06 -3.82070571e+06 -3.76346762e+06 -3.91645117e+06 -3.72901853e+06 -3.76341448e+06 -3.64069042e+06 -3.67751869e+06 -3.63129634e+06 -3.72390232e+06] [-2.77508383e+06 -3.30960277e+06 -2.46819294e+06 -2.79701441e+06 -3.32441894e+06 -2.80359486e+06 -3.32060462e+06 -2.80252169e+06 -3.31136071e+06 -2.77577695e+06 -3.32013586e+06 -2.80518346e+06 -3.28675601e+06 -3.31522469e+06 -3.30732104e+06 -2.79696246e+06 -2.78540802e+06 -3.14935982e+06 -2.78606052e+06 -3.29043252e+06] [-1.91449630e+06 -2.57989938e+06 -1.28097789e+06 -1.97197634e+06 -2.52352253e+06 -1.96261512e+06 -2.48198561e+06 -1.94733422e+06 -2.52340528e+06 -1.94750927e+06 -2.56461680e+06 -1.90889810e+06 -2.54046093e+06 -2.50540601e+06 -2.58609143e+06 -1.92723705e+06 -1.96649135e+06 -2.40714193e+06 -1.97310731e+06 -2.56397672e+06] [-8.65476835e+05 -1.20229162e+06 -5.22145274e+05 -8.93707188e+05 -1.17158701e+06 -8.88111046e+05 -1.14926006e+06 -8.78064177e+05 -1.17279317e+06 -8.81986260e+05 -1.19441050e+06 -8.59979155e+05 -1.18358061e+06 -1.16409783e+06 -1.20628863e+06 -8.70406281e+05 -8.90510336e+05 -1.11541996e+06 -8.95457692e+05 -1.19485800e+06] [-1.45021532e+05 -2.07906182e+05 -7.01563380e+04 -1.50466222e+05 -2.01479706e+05 -1.49393004e+05 -1.97009287e+05 -1.47198707e+05 -2.01947650e+05 -1.48324959e+05 -2.06331645e+05 -1.43683476e+05 -2.04223216e+05 -2.00320692e+05 -2.08611462e+05 -1.45773749e+05 -1.49761321e+05 -1.91968741e+05 -1.50917512e+05 -2.06302598e+05] [-8.12916120e+03 -1.08916798e+04 -4.85424356e+03 -8.30893413e+03 -1.07095778e+04 -8.28104410e+03 -1.05780599e+04 -8.19214040e+03 -1.07144893e+04 -8.24219705e+03 -1.08564681e+04 -8.09878411e+03 -1.07782857e+04 -1.06787331e+04 -1.08977114e+04 -8.16381482e+03 -8.27489090e+03 -1.01426174e+04 -8.32627033e+03 -1.08410642e+04] [-1.62983326e+02 1.12507720e+03 -2.28064521e+03 6.08940134e+01 7.93634903e+02 3.61210241e+01 6.25379709e+02 1.89948683e+00 8.74980276e+02 1.57020144e+01 1.03541363e+03 -1.88397929e+02 9.84008138e+02 7.42850636e+02 1.13686072e+03 -1.02737093e+02 6.72626556e+01 8.71275114e+02 9.71534404e+01 1.09468530e+03] [-1.53603958e+03 -1.47748360e+03 5.57270428e+01 -1.46027588e+03 -1.57985257e+03 -1.49440367e+03 -1.64400152e+03 -1.49178031e+03 -1.58415178e+03 -1.48973279e+03 -1.52620470e+03 -1.58167237e+03 -1.52338280e+03 -1.61720613e+03 -1.45550595e+03 -1.54446308e+03 -1.44012232e+03 -1.44349617e+03 -1.45537333e+03 -1.48439546e+03] [ 4.64281408e+04 1.06502681e+05 3.25423827e+04 5.58802624e+04 9.50012209e+04 5.29209975e+04 8.84646660e+04 5.19102266e+04 9.62341959e+04 5.29534379e+04 1.02576951e+05 4.34705696e+04 1.01966546e+05 9.18638605e+04 1.07788939e+05 4.70672457e+04 5.68809156e+04 9.43025208e+04 5.63788958e+04 1.05645236e+05] [-3.19109230e+05 -2.94388355e+05 -8.11975453e+04 -2.98589135e+05 -3.19843104e+05 -3.07240386e+05 -3.30719031e+05 -3.03749102e+05 -3.14587406e+05 -3.03098086e+05 -3.03693566e+05 -3.25701229e+05 -3.00239540e+05 -3.28235982e+05 -2.92397894e+05 -3.19159444e+05 -2.92536830e+05 -2.87367256e+05 -2.98347788e+05 -2.92324526e+05] [-1.11412106e+06 -1.10110588e+06 -8.99865452e+05 -1.05354142e+06 -1.18963874e+06 -1.08319875e+06 -1.22668680e+06 -1.07829361e+06 -1.17306429e+06 -1.06567365e+06 -1.13656277e+06 -1.14654675e+06 -1.12064910e+06 -1.21786682e+06 -1.08543215e+06 -1.11824853e+06 -1.03761897e+06 -1.06570298e+06 -1.04218301e+06 -1.08539877e+06] [-2.58903698e+06 -2.70665575e+06 -2.92743624e+06 -2.48119991e+06 -2.88366166e+06 -2.53475956e+06 -2.95907065e+06 -2.54335940e+06 -2.84544217e+06 -2.49677548e+06 -2.77166068e+06 -2.66299500e+06 -2.74786783e+06 -2.93621249e+06 -2.67403167e+06 -2.60527029e+06 -2.45346193e+06 -2.60973597e+06 -2.44125268e+06 -2.66218569e+06] [-5.01658981e+06 -5.99182955e+06 -4.51753393e+06 -4.97612083e+06 -6.10798397e+06 -5.01268827e+06 -6.13467345e+06 -5.02606591e+06 -6.05391044e+06 -4.95610399e+06 -6.02298301e+06 -5.08245870e+06 -5.99321941e+06 -6.13660084e+06 -5.97452241e+06 -5.05464286e+06 -4.94283119e+06 -5.68424238e+06 -4.91697045e+06 -5.91082350e+06] [-6.98483201e+06 -9.82696092e+06 -4.62558710e+06 -7.24253217e+06 -9.55838405e+06 -7.19541556e+06 -9.35458783e+06 -7.18008094e+06 -9.52574291e+06 -7.12402410e+06 -9.71074110e+06 -6.94366144e+06 -9.63328451e+06 -9.46241793e+06 -9.85961446e+06 -7.04631196e+06 -7.22767144e+06 -9.11787699e+06 -7.20644727e+06 -9.71244854e+06] [-8.63824628e+06 -1.49271355e+07 -3.21685441e+06 -9.47556030e+06 -1.38860924e+07 -9.26204528e+06 -1.32230566e+07 -9.16437874e+06 -1.39161581e+07 -9.18104950e+06 -1.45299294e+07 -8.36397940e+06 -1.43618878e+07 -1.35490027e+07 -1.50588086e+07 -8.73130267e+06 -9.50101152e+06 -1.34886591e+07 -9.51279488e+06 -1.47821339e+07] [-1.19690512e+07 -2.33410229e+07 -1.24961240e+06 -1.35781766e+07 -2.12620506e+07 -1.31460083e+07 -1.99839462e+07 -1.29136839e+07 -2.13886913e+07 -1.30586541e+07 -2.25734551e+07 -1.13842699e+07 -2.23041537e+07 -2.06264583e+07 -2.36038310e+07 -1.21099252e+07 -1.36540237e+07 -2.07912031e+07 -1.37179363e+07 -2.31556220e+07] [-1.77450304e+07 -3.35506244e+07 -3.56193786e+05 -1.98914497e+07 -3.07385036e+07 -1.93350015e+07 -2.90203030e+07 -1.89554692e+07 -3.09621805e+07 -1.92422612e+07 -3.25527415e+07 -1.69604044e+07 -3.21918723e+07 -2.99213225e+07 -3.38661657e+07 -1.79297377e+07 -1.99915758e+07 -2.99496483e+07 -2.01165504e+07 -3.33404428e+07] [-2.55796485e+07 -4.28951864e+07 -3.35183165e+06 -2.76479661e+07 -4.02117744e+07 -2.71678416e+07 -3.85568897e+07 -2.67054792e+07 -4.04792190e+07 -2.70663974e+07 -4.20116576e+07 -2.48930717e+07 -4.16089841e+07 -3.94736615e+07 -4.31231527e+07 -2.57955104e+07 -2.77083832e+07 -3.87742648e+07 -2.78850321e+07 -4.27036824e+07] [-3.34329707e+07 -4.93278040e+07 -8.86024263e+06 -3.49607861e+07 -4.74371913e+07 -3.46828251e+07 -4.62379445e+07 -3.42240799e+07 -4.76844398e+07 -3.45752530e+07 -4.87983366e+07 -3.30576796e+07 -4.84216913e+07 -4.69560725e+07 -4.93997844e+07 -3.36641376e+07 -3.49461129e+07 -4.53175648e+07 -3.51419908e+07 -4.91888463e+07] [-3.52712055e+07 -4.73530551e+07 -1.36463158e+07 -3.61037020e+07 -4.64552395e+07 -3.60295933e+07 -4.58194419e+07 -3.56575183e+07 -4.66376691e+07 -3.59422788e+07 -4.72179856e+07 -3.52211293e+07 -4.69280126e+07 -4.62542174e+07 -4.72815362e+07 -3.54773902e+07 -3.60323490e+07 -4.41235624e+07 -3.61956280e+07 -4.72839725e+07] [-2.36033801e+07 -3.05330009e+07 -1.19229928e+07 -2.39686433e+07 -3.02370920e+07 -2.39418144e+07 -2.99175856e+07 -2.37295711e+07 -3.03076792e+07 -2.39160748e+07 -3.05531359e+07 -2.36199960e+07 -3.04116013e+07 -3.01486149e+07 -3.04627641e+07 -2.37110422e+07 -2.39145954e+07 -2.86761046e+07 -2.39796835e+07 -3.05077011e+07] [-6.66549991e+06 -8.93795902e+06 -5.99497463e+06 -6.82947488e+06 -8.83421706e+06 -6.74198270e+06 -8.60994195e+06 -6.69892345e+06 -8.78496823e+06 -6.77140393e+06 -8.90817937e+06 -6.57358944e+06 -8.91375735e+06 -8.73258638e+06 -8.97575784e+06 -6.66464717e+06 -6.82396898e+06 -8.45130970e+06 -6.78862931e+06 -8.91429724e+06] [ 1.73947037e+05 -5.86854131e+04 -2.82136672e+06 8.85997488e+04 -3.16182489e+04 2.15559209e+05 1.17313292e+05 1.50882343e+05 9.60475199e+04 1.83819611e+05 3.22071002e+04 3.08975562e+05 -4.77956513e+04 7.97311539e+04 -1.91506388e+05 2.01910039e+05 9.53173544e+04 -1.44911611e+05 1.55155085e+05 -1.85570845e+04] [-2.87559919e+06 -2.52862380e+06 -3.34397918e+06 -2.82903985e+06 -2.70399838e+06 -2.75470038e+06 -2.71037781e+06 -2.86438741e+06 -2.53565150e+06 -2.74708027e+06 -2.48649025e+06 -2.83693638e+06 -2.55861732e+06 -2.63724792e+06 -2.66305426e+06 -2.87817746e+06 -2.78563264e+06 -2.65427104e+06 -2.74727372e+06 -2.48890081e+06] [-7.05434954e+06 -6.68629421e+06 -4.78819939e+06 -6.91092819e+06 -7.00594397e+06 -6.90471482e+06 -7.12312029e+06 -7.02467510e+06 -6.83594000e+06 -6.85527964e+06 -6.70505759e+06 -7.12382942e+06 -6.74167649e+06 -6.97839202e+06 -6.78752918e+06 -7.09755373e+06 -6.84337923e+06 -6.70892622e+06 -6.82729241e+06 -6.65382648e+06] [-8.67299726e+06 -8.13968275e+06 -5.69037975e+06 -8.45402699e+06 -8.56863099e+06 -8.50173788e+06 -8.76283590e+06 -8.61482114e+06 -8.41455436e+06 -8.43480829e+06 -8.22192951e+06 -8.81929810e+06 -8.23103733e+06 -8.57902283e+06 -8.19447251e+06 -8.73172363e+06 -8.37962828e+06 -8.14319785e+06 -8.37270290e+06 -8.12055495e+06] [-7.77301028e+06 -7.75144909e+06 -5.49900034e+06 -7.61563048e+06 -8.07974344e+06 -7.66353337e+06 -8.22852347e+06 -7.73863307e+06 -7.96734235e+06 -7.59754581e+06 -7.82465438e+06 -7.90524403e+06 -7.81185659e+06 -8.09179926e+06 -7.78191677e+06 -7.83176966e+06 -7.55466550e+06 -7.63647155e+06 -7.55121132e+06 -7.72760383e+06] [-6.17934529e+06 -6.70603920e+06 -4.17595591e+06 -6.12587810e+06 -6.86270769e+06 -6.15664445e+06 -6.92207608e+06 -6.18554524e+06 -6.79658455e+06 -6.09788114e+06 -6.74214085e+06 -6.26313104e+06 -6.70942013e+06 -6.86189571e+06 -6.72241097e+06 -6.22760269e+06 -6.08741249e+06 -6.49054313e+06 -6.08829895e+06 -6.67326870e+06] [-4.37279882e+06 -5.34717036e+06 -2.76453887e+06 -4.42093092e+06 -5.33494454e+06 -4.42354415e+06 -5.30294212e+06 -4.41461943e+06 -5.30866378e+06 -4.38029179e+06 -5.34000445e+06 -4.39589752e+06 -5.29702617e+06 -5.31368786e+06 -5.36044181e+06 -4.40560067e+06 -4.40165041e+06 -5.06442623e+06 -4.40803549e+06 -5.31140902e+06] [-3.41812495e+06 -4.59615681e+06 -1.88125671e+06 -3.51741616e+06 -4.49624371e+06 -3.50140392e+06 -4.42054097e+06 -3.47391915e+06 -4.49261839e+06 -3.47258289e+06 -4.56538798e+06 -3.40670639e+06 -4.52671599e+06 -4.46572015e+06 -4.61202890e+06 -3.44185923e+06 -3.50776218e+06 -4.29001334e+06 -3.51843762e+06 -4.56423774e+06] [-2.15367599e+06 -2.98090400e+06 -1.10265626e+06 -2.22512685e+06 -2.90277549e+06 -2.21273882e+06 -2.84573442e+06 -2.18793757e+06 -2.90486734e+06 -2.19699535e+06 -2.95938838e+06 -2.13938571e+06 -2.93296779e+06 -2.88305515e+06 -2.98956618e+06 -2.16622009e+06 -2.21917610e+06 -2.76872132e+06 -2.22890989e+06 -2.96101122e+06] [-7.46426191e+05 -1.04900112e+06 -4.12181668e+05 -7.71315770e+05 -1.02115612e+06 -7.66732728e+05 -1.00105913e+06 -7.57014830e+05 -1.02248094e+06 -7.61358260e+05 -1.04199193e+06 -7.41085195e+05 -1.03227188e+06 -1.01508092e+06 -1.05186749e+06 -7.50319443e+05 -7.68730960e+05 -9.70741480e+05 -7.73052870e+05 -1.04200220e+06] [-7.73846392e+04 -1.08124329e+05 -3.96961287e+04 -7.97494883e+04 -1.05431708e+05 -7.93686343e+04 -1.03620796e+05 -7.82956859e+04 -1.05653189e+05 -7.88881318e+04 -1.07525978e+05 -7.69305722e+04 -1.06567562e+05 -1.05021742e+05 -1.08331176e+05 -7.77754465e+04 -7.93951318e+04 -1.00076091e+05 -7.99659138e+04 -1.07438274e+05] [-2.22317593e+04 -2.44821629e+04 -1.42554236e+04 -2.18182037e+04 -2.51303686e+04 -2.21422069e+04 -2.55851427e+04 -2.19309461e+04 -2.52264278e+04 -2.20891358e+04 -2.48955984e+04 -2.26623550e+04 -2.47863123e+04 -2.54529497e+04 -2.41997248e+04 -2.23311495e+04 -2.17057763e+04 -2.34513642e+04 -2.18665533e+04 -2.45614762e+04] [-7.73969034e-01 -5.67185101e-01 3.41166757e-01 6.90673810e-01 -7.84958030e-01 -8.77825060e-01 -2.31441214e-01 1.36209912e-01 2.73223210e-01 -6.02403440e-01 6.83127711e-01 -7.39577680e-01 8.65828568e-01 7.42136954e-01 8.59595057e-01 -6.85932100e-01 5.11986191e-01 1.25268984e-01 -1.21733788e-01 -3.92253539e-01] [ 5.06099936e-02 -2.67583302e-01 2.04774108e-01 -9.36850333e-02 4.44910026e-01 -5.00457352e-01 -8.31923094e-01 -5.83552727e-01 7.98054757e-01 2.53274596e-01 8.72626897e-02 8.55818554e-01 7.63886901e-01 4.75665322e-01 -4.77809600e-01 2.07154503e-01 -4.79571991e-03 9.42220547e-01 -8.56856066e-01 4.84093011e-01] [ 3.83309715e+04 1.11018141e+05 1.72820752e+04 5.00775703e+04 9.65956131e+04 4.66103191e+04 8.83623653e+04 4.50319149e+04 9.82880833e+04 4.68166936e+04 1.06282163e+05 3.45237204e+04 1.05243846e+05 9.26915250e+04 1.12309868e+05 3.89463227e+04 5.13360735e+04 9.64429693e+04 5.09266576e+04 1.10099444e+05] [-5.22304944e+05 -5.45171602e+05 -1.16480435e+05 -5.00659765e+05 -5.71533340e+05 -5.11262498e+05 -5.81290469e+05 -5.04724286e+05 -5.64943371e+05 -5.04883449e+05 -5.55004459e+05 -5.29489912e+05 -5.48945424e+05 -5.81050259e+05 -5.43241761e+05 -5.22990958e+05 -4.92833900e+05 -5.21746354e+05 -5.01158622e+05 -5.41331825e+05] [-1.37164033e+06 -1.43335970e+06 -6.93451920e+05 -1.30911774e+06 -1.51759653e+06 -1.34238923e+06 -1.54878381e+06 -1.32994711e+06 -1.49712803e+06 -1.32048353e+06 -1.46529042e+06 -1.40031895e+06 -1.44555922e+06 -1.54617945e+06 -1.42109815e+06 -1.37604545e+06 -1.28981769e+06 -1.37069297e+06 -1.30217381e+06 -1.41493049e+06] [-2.69417024e+06 -2.89786023e+06 -2.05003390e+06 -2.58853286e+06 -3.05021415e+06 -2.64186417e+06 -3.10882648e+06 -2.64101719e+06 -3.00363196e+06 -2.59963731e+06 -2.94268601e+06 -2.75045537e+06 -2.92617568e+06 -3.09933950e+06 -2.88284262e+06 -2.71087450e+06 -2.55872541e+06 -2.77508898e+06 -2.55712060e+06 -2.84916693e+06] [-4.58086174e+06 -5.91958288e+06 -2.82538198e+06 -4.59237329e+06 -5.92255305e+06 -4.61010030e+06 -5.88171053e+06 -4.60966857e+06 -5.86279546e+06 -4.54978342e+06 -5.88748430e+06 -4.59348978e+06 -5.87607760e+06 -5.92802235e+06 -5.94000385e+06 -4.62072033e+06 -4.56697525e+06 -5.53805227e+06 -4.54581826e+06 -5.82455175e+06] [-5.22428716e+06 -9.01486969e+06 -1.35261609e+06 -5.64022998e+06 -8.45722391e+06 -5.54671821e+06 -8.07855148e+06 -5.49779573e+06 -8.43217944e+06 -5.47286352e+06 -8.76455166e+06 -5.06396592e+06 -8.70235957e+06 -8.29558413e+06 -9.10142018e+06 -5.28575991e+06 -5.65495129e+06 -8.12460024e+06 -5.63071768e+06 -8.87159568e+06] [-7.51491265e+06 -1.53388004e+07 3.71857633e+04 -8.56399314e+06 -1.39294804e+07 -8.30029500e+06 -1.30449227e+07 -8.14948875e+06 -1.39815449e+07 -8.21316987e+06 -1.47847684e+07 -7.10712210e+06 -1.46217152e+07 -1.35145731e+07 -1.55198287e+07 -7.61598394e+06 -8.62463927e+06 -1.35741516e+07 -8.63355665e+06 -1.51547583e+07] [-1.35551802e+07 -2.63393374e+07 -2.03824725e+05 -1.52725224e+07 -2.40641569e+07 -1.48413080e+07 -2.26655789e+07 -1.45580924e+07 -2.42127912e+07 -1.47353325e+07 -2.54996890e+07 -1.29247398e+07 -2.52190996e+07 -2.34012468e+07 -2.66056501e+07 -1.37188754e+07 -1.53644002e+07 -2.34294726e+07 -1.54301175e+07 -2.61224369e+07] [-2.33244864e+07 -3.90901947e+07 -3.36323412e+06 -2.52673715e+07 -3.65758457e+07 -2.48087884e+07 -3.50336710e+07 -2.44310710e+07 -3.67831698e+07 -2.46840892e+07 -3.82169156e+07 -2.26860559e+07 -3.78579704e+07 -3.58534043e+07 -3.93502946e+07 -2.35481198e+07 -2.53351693e+07 -3.53679794e+07 -2.54685694e+07 -3.88855885e+07] [-3.11317168e+07 -4.62170513e+07 -8.43198571e+06 -3.27160098e+07 -4.42642055e+07 -3.23969279e+07 -4.30514344e+07 -3.20138841e+07 -4.44653257e+07 -3.22622791e+07 -4.56076388e+07 -3.07337825e+07 -4.52468039e+07 -4.37148687e+07 -4.63700644e+07 -3.13833206e+07 -3.27183755e+07 -4.24706228e+07 -3.28878874e+07 -4.60658859e+07] [-3.44239617e+07 -4.59824872e+07 -1.34999285e+07 -3.53114214e+07 -4.50390672e+07 -3.52064691e+07 -4.44104757e+07 -3.48996155e+07 -4.51825224e+07 -3.50837395e+07 -4.57845763e+07 -3.43740998e+07 -4.54912975e+07 -4.47777610e+07 -4.59840648e+07 -3.46623528e+07 -3.52436509e+07 -4.29108314e+07 -3.54000707e+07 -4.59063827e+07] [-3.16494619e+07 -3.89294788e+07 -1.60102508e+07 -3.18942915e+07 -3.88778436e+07 -3.19473703e+07 -3.87408149e+07 -3.17522576e+07 -3.89395181e+07 -3.18647500e+07 -3.90582957e+07 -3.18401499e+07 -3.88734441e+07 -3.88454442e+07 -3.88243175e+07 -3.18307726e+07 -3.17935356e+07 -3.68267917e+07 -3.18939069e+07 -3.89218949e+07] [-1.94671252e+07 -2.25968243e+07 -1.24892764e+07 -1.94151797e+07 -2.28894205e+07 -1.94719919e+07 -2.29255959e+07 -1.94074546e+07 -2.28603282e+07 -1.94467054e+07 -2.27790487e+07 -1.96384381e+07 -2.27197621e+07 -2.29044774e+07 -2.25210221e+07 -1.95537068e+07 -1.93458718e+07 -2.16490666e+07 -1.93594911e+07 -2.26153157e+07] [-8.35613418e+06 -9.12477816e+06 -7.62278583e+06 -8.29005753e+06 -9.37160758e+06 -8.27122514e+06 -9.37946789e+06 -8.31063453e+06 -9.26995772e+06 -8.27620627e+06 -9.19635069e+06 -8.39852116e+06 -9.22224690e+06 -9.32999663e+06 -9.15191756e+06 -8.37959013e+06 -8.25460181e+06 -8.92051645e+06 -8.21475424e+06 -9.12993175e+06] [-5.10228455e+06 -5.42094762e+06 -4.78151367e+06 -5.10732368e+06 -5.55041298e+06 -5.03159242e+06 -5.52027894e+06 -5.12748523e+06 -5.40058108e+06 -5.02374145e+06 -5.37980031e+06 -5.07049069e+06 -5.43421579e+06 -5.45794639e+06 -5.53837823e+06 -5.12233463e+06 -5.07007393e+06 -5.37417233e+06 -5.03022077e+06 -5.39471824e+06] [-6.70085852e+06 -7.25150561e+06 -3.85005565e+06 -6.73150843e+06 -7.34133074e+06 -6.65657676e+06 -7.31813540e+06 -6.76422202e+06 -7.17728607e+06 -6.62010516e+06 -7.17174895e+06 -6.67545064e+06 -7.21617745e+06 -7.24100352e+06 -7.39799438e+06 -6.74188084e+06 -6.68248858e+06 -7.11113072e+06 -6.65907788e+06 -7.20567081e+06] [-8.69013470e+06 -9.79542473e+06 -4.19784831e+06 -8.73438157e+06 -9.85418020e+06 -8.68633834e+06 -9.82108992e+06 -8.76795133e+06 -9.71095503e+06 -8.62628767e+06 -9.72069028e+06 -8.69222789e+06 -9.73003840e+06 -9.76249256e+06 -9.92069401e+06 -8.75112996e+06 -8.68014221e+06 -9.47105718e+06 -8.67317609e+06 -9.74129544e+06] [-8.27217956e+06 -9.28140359e+06 -4.03014113e+06 -8.26697588e+06 -9.38483821e+06 -8.25905828e+06 -9.38285283e+06 -8.31178925e+06 -9.26703419e+06 -8.19320209e+06 -9.24938259e+06 -8.30902618e+06 -9.23908889e+06 -9.33069013e+06 -9.36563949e+06 -8.33006724e+06 -8.21554274e+06 -8.95110391e+06 -8.21698668e+06 -9.23224981e+06] [-7.00575738e+06 -8.07820324e+06 -3.60703258e+06 -7.00191431e+06 -8.15673423e+06 -7.01095305e+06 -8.15016998e+06 -7.02855311e+06 -8.07513046e+06 -6.94885732e+06 -8.06756452e+06 -7.04540209e+06 -8.03940909e+06 -8.12792565e+06 -8.12751935e+06 -7.05547790e+06 -6.95816583e+06 -7.73244003e+06 -6.96691791e+06 -8.03042904e+06] [-5.58539952e+06 -7.00580617e+06 -2.76131779e+06 -5.66220588e+06 -6.95410481e+06 -5.65619117e+06 -6.88691325e+06 -5.63881311e+06 -6.91213137e+06 -5.60371123e+06 -6.97068297e+06 -5.59002203e+06 -6.92887312e+06 -6.91847207e+06 -7.04167587e+06 -5.62601659e+06 -5.63612334e+06 -6.60589017e+06 -5.64948431e+06 -6.95554873e+06] [-3.99610428e+06 -5.48015526e+06 -1.64624920e+06 -4.12045795e+06 -5.34216811e+06 -4.09970796e+06 -5.23491127e+06 -4.06248606e+06 -5.33077230e+06 -4.06224571e+06 -5.42864750e+06 -3.96937147e+06 -5.38545571e+06 -5.30190721e+06 -5.50906608e+06 -4.02440018e+06 -4.10810730e+06 -5.09595283e+06 -4.12308318e+06 -5.43459102e+06] [-2.99053920e+06 -4.29011434e+06 -1.29355520e+06 -3.11166921e+06 -4.14793202e+06 -3.08793103e+06 -4.04730761e+06 -3.05004043e+06 -4.15109943e+06 -3.06369430e+06 -4.24469839e+06 -2.95932086e+06 -4.20854902e+06 -4.11333318e+06 -4.31052270e+06 -3.01033262e+06 -3.10508205e+06 -3.96443107e+06 -3.11875491e+06 -4.25614728e+06] [-1.63994911e+06 -2.33831072e+06 -7.89859800e+05 -1.70111423e+06 -2.26786621e+06 -1.69031467e+06 -2.21740701e+06 -1.66664259e+06 -2.27088992e+06 -1.67767058e+06 -2.31909297e+06 -1.62474251e+06 -2.29700758e+06 -2.25261664e+06 -2.34605949e+06 -1.64919615e+06 -1.69634467e+06 -2.16053904e+06 -1.70569177e+06 -2.32090224e+06] [-4.94977052e+05 -7.07976334e+05 -2.45633937e+05 -5.12954114e+05 -6.87286155e+05 -5.09795522e+05 -6.72492734e+05 -5.02479768e+05 -6.88448197e+05 -5.06066946e+05 -7.02740145e+05 -4.90734373e+05 -6.95816339e+05 -6.83121346e+05 -7.09972365e+05 -4.97666091e+05 -5.11242435e+05 -6.53319963e+05 -5.14367828e+05 -7.02804997e+05] [-4.82707438e+04 -6.93117142e+04 -2.34107381e+04 -5.00158575e+04 -6.73039213e+04 -4.96502511e+04 -6.60303279e+04 -4.90230705e+04 -6.74107613e+04 -4.93490356e+04 -6.87706130e+04 -4.78475685e+04 -6.81619318e+04 -6.69479043e+04 -6.95301701e+04 -4.85270169e+04 -4.97932198e+04 -6.38665041e+04 -5.01163451e+04 -6.88039042e+04] [-1.19332370e+04 -1.26192177e+04 -7.67343749e+03 -1.16239527e+04 -1.30810225e+04 -1.18347269e+04 -1.34033743e+04 -1.17254503e+04 -1.31368748e+04 -1.18125587e+04 -1.28893696e+04 -1.22134525e+04 -1.28428964e+04 -1.32915333e+04 -1.24395303e+04 -1.19870191e+04 -1.15585724e+04 -1.21682508e+04 -1.16488040e+04 -1.26820479e+04] [ 4.84761636e-01 -8.05497138e-01 -9.39607674e-02 -7.41345636e-01 2.12656013e-01 -1.99045885e-01 -2.28659484e-01 -7.33442745e-01 2.16781952e-02 -3.17417233e-01 -3.55815526e-01 -4.25681527e-01 6.96439919e-01 -8.91493415e-01 8.61868630e-01 8.53129260e-01 1.61833499e-01 6.55780980e-01 3.52497787e-01 -8.64107983e-01] [ 2.06358939e+03 2.86914485e+03 1.93284934e+03 2.13849496e+03 2.80887076e+03 2.11024707e+03 2.76816080e+03 2.11117285e+03 2.81411100e+03 2.11405527e+03 2.85415783e+03 2.05638565e+03 2.85035705e+03 2.78189271e+03 2.86834919e+03 2.07074887e+03 2.14752217e+03 2.67325029e+03 2.13178473e+03 2.86930175e+03] [ 1.82921302e+04 8.10024885e+04 3.62306033e+04 2.95389996e+04 6.76790151e+04 2.57786669e+04 6.03661888e+04 2.50856650e+04 6.95763441e+04 2.63471218e+04 7.66910853e+04 1.48993417e+04 7.62695730e+04 6.38968697e+04 8.21914967e+04 1.89327802e+04 3.10108713e+04 6.94648126e+04 2.98743941e+04 8.03732524e+04] [-5.96667944e+05 -6.08139973e+05 -1.42092397e+05 -5.68430901e+05 -6.42775797e+05 -5.81612012e+05 -6.55865767e+05 -5.74958040e+05 -6.34774829e+05 -5.74653297e+05 -6.20826118e+05 -6.06315651e+05 -6.14718395e+05 -6.54275365e+05 -6.05108405e+05 -5.97338033e+05 -5.59632616e+05 -5.83951113e+05 -5.68510529e+05 -6.04572437e+05] [-1.61109774e+06 -1.67939949e+06 -6.60753329e+05 -1.53909711e+06 -1.77339730e+06 -1.57576848e+06 -1.80811203e+06 -1.56113272e+06 -1.74981370e+06 -1.55383172e+06 -1.71341325e+06 -1.64090844e+06 -1.69492937e+06 -1.80410446e+06 -1.66776348e+06 -1.61485289e+06 -1.51783756e+06 -1.60730055e+06 -1.53417670e+06 -1.66336681e+06] [-2.43658098e+06 -2.75596323e+06 -9.56418913e+05 -2.35707732e+06 -2.85275715e+06 -2.40394838e+06 -2.87760551e+06 -2.38981779e+06 -2.80899125e+06 -2.36287319e+06 -2.77616610e+06 -2.46729732e+06 -2.75902454e+06 -2.88885575e+06 -2.75260740e+06 -2.44879034e+06 -2.33126512e+06 -2.60922863e+06 -2.34004566e+06 -2.70944613e+06] [-3.51440490e+06 -5.15905342e+06 -6.51011315e+05 -3.59244809e+06 -5.02739465e+06 -3.59355899e+06 -4.90398534e+06 -3.56894378e+06 -4.97476450e+06 -3.53493895e+06 -5.06755497e+06 -3.46824375e+06 -5.05604710e+06 -5.00246478e+06 -5.20118753e+06 -3.54623454e+06 -3.58035751e+06 -4.72136778e+06 -3.56983703e+06 -5.05997942e+06] [-4.03700913e+06 -8.26767133e+06 1.29272237e+06 -4.51660622e+06 -7.56129985e+06 -4.40660982e+06 -7.08982489e+06 -4.33091598e+06 -7.54149701e+06 -4.33646551e+06 -7.94558285e+06 -3.80713586e+06 -7.90031835e+06 -7.37510800e+06 -8.38058984e+06 -4.09243100e+06 -4.54590544e+06 -7.28977885e+06 -4.52708810e+06 -8.11189449e+06] [-7.27241583e+06 -1.52221275e+07 2.02786968e+06 -8.26846682e+06 -1.38175749e+07 -8.03007838e+06 -1.29320393e+07 -7.86323238e+06 -1.38614143e+07 -7.94275228e+06 -1.46501810e+07 -6.85164668e+06 -1.45282080e+07 -1.34367888e+07 -1.54056030e+07 -7.37237411e+06 -8.33204916e+06 -1.34058867e+07 -8.33688852e+06 -1.50189115e+07] [-1.49741276e+07 -2.68282139e+07 -3.00925878e+05 -1.64014957e+07 -2.48986558e+07 -1.60735473e+07 -2.36961007e+07 -1.58062958e+07 -2.50115766e+07 -1.59625181e+07 -2.61023395e+07 -1.44504502e+07 -2.58835283e+07 -2.43663279e+07 -2.70434852e+07 -1.51384512e+07 -1.64708737e+07 -2.40498244e+07 -1.65233283e+07 -2.66053386e+07] [-2.52744779e+07 -3.87142743e+07 -5.36406210e+06 -2.67041333e+07 -3.68914139e+07 -2.64102703e+07 -3.57463699e+07 -2.61018529e+07 -3.70298949e+07 -2.62773419e+07 -3.80834666e+07 -2.48625953e+07 -3.78075872e+07 -3.63769059e+07 -3.88863394e+07 -2.54994892e+07 -2.67286218e+07 -3.54158039e+07 -2.68314214e+07 -3.85267914e+07] [-3.16543804e+07 -4.29800258e+07 -1.12561826e+07 -3.26045026e+07 -4.19103402e+07 -3.24615314e+07 -4.12082577e+07 -3.22088184e+07 -4.20087827e+07 -3.23243988e+07 -4.26673629e+07 -3.15332327e+07 -4.24138622e+07 -4.15872474e+07 -4.30520046e+07 -3.18992892e+07 -3.25577237e+07 -4.00246351e+07 -3.26786790e+07 -4.28685406e+07] [-3.06316226e+07 -3.78484079e+07 -1.44828791e+07 -3.09728835e+07 -3.76577498e+07 -3.09879417e+07 -3.74646360e+07 -3.08443436e+07 -3.76862233e+07 -3.08772432e+07 -3.78700423e+07 -3.07816203e+07 -3.76962326e+07 -3.75525721e+07 -3.78184853e+07 -3.08433053e+07 -3.08823039e+07 -3.58002948e+07 -3.09725671e+07 -3.78195209e+07] [-2.66807876e+07 -3.04057520e+07 -1.54589689e+07 -2.65497798e+07 -3.08692894e+07 -2.66635990e+07 -3.10306593e+07 -2.66229687e+07 -3.08207199e+07 -2.65926513e+07 -3.06488682e+07 -2.69812970e+07 -3.05697396e+07 -3.09112593e+07 -3.03161778e+07 -2.68371899e+07 -2.64417732e+07 -2.91769015e+07 -2.64801459e+07 -3.04366961e+07] [-1.69439547e+07 -1.78628953e+07 -1.17799340e+07 -1.66656101e+07 -1.84630172e+07 -1.67618359e+07 -1.86932854e+07 -1.68107561e+07 -1.83527537e+07 -1.67315436e+07 -1.80923250e+07 -1.71847264e+07 -1.80945319e+07 -1.85060400e+07 -1.78119482e+07 -1.70268166e+07 -1.65870486e+07 -1.74344130e+07 -1.65719484e+07 -1.79104178e+07] [-1.00800064e+07 -1.00599926e+07 -7.53987824e+06 -9.88321807e+06 -1.04905608e+07 -9.91054744e+06 -1.06342871e+07 -1.00095992e+07 -1.03470701e+07 -9.89277278e+06 -1.01627607e+07 -1.01985007e+07 -1.02032702e+07 -1.04711261e+07 -1.00890295e+07 -1.01264915e+07 -9.82893461e+06 -9.97106897e+06 -9.79311668e+06 -1.00833639e+07] [-7.29355224e+06 -7.39978301e+06 -4.62322373e+06 -7.21561152e+06 -7.63872429e+06 -7.18207264e+06 -7.69283969e+06 -7.30237728e+06 -7.47473527e+06 -7.15654236e+06 -7.38507736e+06 -7.31988965e+06 -7.43972494e+06 -7.56849430e+06 -7.49984079e+06 -7.33170791e+06 -7.16795368e+06 -7.32992411e+06 -7.13251662e+06 -7.38506869e+06] [-6.32975950e+06 -7.42340220e+06 -2.25945673e+06 -6.42503076e+06 -7.38741575e+06 -6.34368193e+06 -7.30207279e+06 -6.43592950e+06 -7.24305794e+06 -6.30698138e+06 -7.29386784e+06 -6.27086473e+06 -7.33568757e+06 -7.26792300e+06 -7.56742480e+06 -6.37480582e+06 -6.38872742e+06 -7.14803431e+06 -6.36555773e+06 -7.36900850e+06] [-6.42569833e+06 -8.37483936e+06 -1.50161672e+06 -6.61317220e+06 -8.18357018e+06 -6.52772547e+06 -8.01379568e+06 -6.56652356e+06 -8.07606529e+06 -6.48049527e+06 -8.20921015e+06 -6.33761757e+06 -8.21963318e+06 -8.05577063e+06 -8.51425146e+06 -6.47642107e+06 -6.58302296e+06 -7.88874221e+06 -6.57994024e+06 -8.30180776e+06] [-5.79603828e+06 -7.81220561e+06 -1.52522874e+06 -5.95060282e+06 -7.64344073e+06 -5.89873472e+06 -7.48213811e+06 -5.89604589e+06 -7.56646465e+06 -5.84758550e+06 -7.68902997e+06 -5.72940876e+06 -7.67292266e+06 -7.55087374e+06 -7.90914382e+06 -5.83707600e+06 -5.92412573e+06 -7.28748237e+06 -5.93070948e+06 -7.74044782e+06] [-5.49290175e+06 -7.43488156e+06 -1.75449815e+06 -5.62635756e+06 -7.28502080e+06 -5.59861626e+06 -7.14225130e+06 -5.56547372e+06 -7.23903857e+06 -5.54892399e+06 -7.35231536e+06 -5.44648686e+06 -7.31318369e+06 -7.22362209e+06 -7.49184886e+06 -5.52756763e+06 -5.60175232e+06 -6.91971544e+06 -5.61870691e+06 -7.36945957e+06] [-4.26621770e+06 -6.03898789e+06 -1.24748214e+06 -4.41372690e+06 -5.85872886e+06 -4.38591111e+06 -5.71888063e+06 -4.33799731e+06 -5.84049081e+06 -4.34623775e+06 -5.96423371e+06 -4.21634996e+06 -5.92093372e+06 -5.80972195e+06 -6.07980692e+06 -4.29320163e+06 -4.39790462e+06 -5.58399720e+06 -4.41927873e+06 -5.98190174e+06] [-3.25858354e+06 -4.80716343e+06 -9.62177711e+05 -3.40399045e+06 -4.62617651e+06 -3.37320336e+06 -4.49723666e+06 -3.32690904e+06 -4.62587549e+06 -3.34568204e+06 -4.74297201e+06 -3.21048658e+06 -4.70526440e+06 -4.58355317e+06 -4.83816843e+06 -3.28016239e+06 -3.39524715e+06 -4.42245039e+06 -3.41317147e+06 -4.76324252e+06] [-2.12747021e+06 -3.21746293e+06 -7.94340164e+05 -2.23619822e+06 -3.08215503e+06 -2.21228645e+06 -2.98868578e+06 -2.17855762e+06 -3.08803195e+06 -2.19499433e+06 -3.17373142e+06 -2.09220491e+06 -3.14501117e+06 -3.05122463e+06 -3.23565225e+06 -2.14095361e+06 -2.23243252e+06 -2.95050290e+06 -2.24390639e+06 -3.18893473e+06] [-1.10461899e+06 -1.61763487e+06 -4.68858272e+05 -1.15133320e+06 -1.56192231e+06 -1.14246712e+06 -1.52280910e+06 -1.12461998e+06 -1.56514856e+06 -1.13413381e+06 -1.60207547e+06 -1.09175569e+06 -1.58677582e+06 -1.55052369e+06 -1.62375491e+06 -1.11086394e+06 -1.14822074e+06 -1.48878627e+06 -1.15516259e+06 -1.60492345e+06] [-3.06975693e+05 -4.39772545e+05 -1.43676388e+05 -3.18063481e+05 -4.26914319e+05 -3.16221600e+05 -4.17604592e+05 -3.11524346e+05 -4.27808873e+05 -3.13940601e+05 -4.36661918e+05 -3.04461507e+05 -4.32355180e+05 -4.24485316e+05 -4.40904925e+05 -3.08772606e+05 -3.16900183e+05 -4.05777033e+05 -3.18985621e+05 -4.36571437e+05] [-4.19997386e+04 -5.57829946e+04 -2.86662328e+04 -4.28230535e+04 -5.50653803e+04 -4.27280276e+04 -5.44944697e+04 -4.23352233e+04 -5.50340620e+04 -4.24595668e+04 -5.56932569e+04 -4.19558310e+04 -5.51973170e+04 -5.49385793e+04 -5.57742206e+04 -4.22016396e+04 -4.26010003e+04 -5.19990794e+04 -4.28192930e+04 -5.54388410e+04] [-4.13048009e+03 -3.79481236e+03 -2.45783320e+03 -3.94448605e+03 -4.09673165e+03 -3.98016742e+03 -4.27049059e+03 -4.02902951e+03 -4.05962155e+03 -3.98093392e+03 -3.88789206e+03 -4.24042232e+03 -3.95708733e+03 -4.17110654e+03 -3.79860437e+03 -4.15896406e+03 -3.90721482e+03 -3.81083266e+03 -3.89589394e+03 -3.80383087e+03] [-1.46827810e-01 6.78124281e-01 6.26880429e-01 -8.35135198e-01 -1.36822683e-02 8.37375260e-01 -7.82847309e-01 8.94554346e-01 -2.04831908e-01 -4.88831341e-01 1.85528885e-02 6.98428794e-01 -6.04135992e-01 9.60591856e-01 5.12350417e-01 4.52155035e-01 2.25327750e-01 6.91087079e-01 9.67858403e-03 6.79714071e-01] [ 8.83817527e+03 7.92434603e+03 1.20117012e+04 8.42060369e+03 8.63667912e+03 8.46887787e+03 9.12181566e+03 8.63013983e+03 8.53900989e+03 8.54024398e+03 8.15699782e+03 9.05021983e+03 8.28337708e+03 8.75367769e+03 7.82074703e+03 8.80246486e+03 8.36069660e+03 7.92736401e+03 8.32263346e+03 8.04492670e+03] [-5.65752408e+04 -3.32593406e+04 -2.34046274e+03 -4.90947760e+04 -4.23662453e+04 -5.20541835e+04 -4.66775795e+04 -5.16632206e+04 -4.09522328e+04 -5.12919545e+04 -3.65225435e+04 -5.91728122e+04 -3.61343599e+04 -4.49956119e+04 -3.22282554e+04 -5.63885723e+04 -4.76715657e+04 -3.54380042e+04 -4.89305823e+04 -3.33581835e+04] [-5.23750750e+05 -5.24809683e+05 -1.66744843e+05 -4.97995602e+05 -5.57449659e+05 -5.09825857e+05 -5.70650228e+05 -5.04702508e+05 -5.51067194e+05 -5.04312844e+05 -5.37376075e+05 -5.33561115e+05 -5.32274108e+05 -5.67912350e+05 -5.20899767e+05 -5.24323882e+05 -4.90607518e+05 -5.05830499e+05 -4.97669395e+05 -5.22586842e+05] [-1.31138312e+06 -1.31471831e+06 -4.03042142e+05 -1.24149428e+06 -1.40360639e+06 -1.27527400e+06 -1.43827763e+06 -1.26341601e+06 -1.38315565e+06 -1.25891764e+06 -1.34621294e+06 -1.33874103e+06 -1.33388185e+06 -1.43161802e+06 -1.30389046e+06 -1.31364296e+06 -1.22353935e+06 -1.26522266e+06 -1.23839500e+06 -1.30494605e+06] [-2.21088934e+06 -2.56305711e+06 -3.54089914e+05 -2.14628200e+06 -2.63118193e+06 -2.18769339e+06 -2.63969711e+06 -2.16721781e+06 -2.59519876e+06 -2.15486556e+06 -2.57489430e+06 -2.22886399e+06 -2.55819723e+06 -2.65744800e+06 -2.55998963e+06 -2.21809585e+06 -2.12474182e+06 -2.41232600e+06 -2.13909839e+06 -2.52821846e+06] [-2.42908644e+06 -4.07389529e+06 1.10392687e+06 -2.53261942e+06 -3.87830376e+06 -2.53082279e+06 -3.71945487e+06 -2.48726030e+06 -3.84087093e+06 -2.48264713e+06 -3.96295931e+06 -2.35502140e+06 -3.94429063e+06 -3.83900755e+06 -4.11394544e+06 -2.44847923e+06 -2.52876222e+06 -3.64130895e+06 -2.53366793e+06 -3.99078894e+06] [-3.10876140e+06 -6.88375447e+06 2.86832145e+06 -3.50641964e+06 -6.24980101e+06 -3.43079914e+06 -5.81755392e+06 -3.34177732e+06 -6.22989817e+06 -3.37023300e+06 -6.58984914e+06 -2.89024449e+06 -6.55133461e+06 -6.09389620e+06 -6.97447412e+06 -3.14684624e+06 -3.53418231e+06 -5.98815258e+06 -3.52999120e+06 -6.74696608e+06] [-6.01175481e+06 -1.25147974e+07 3.30674947e+06 -6.73455163e+06 -1.14257894e+07 -6.58922464e+06 -1.07236160e+07 -6.43632460e+06 -1.14477022e+07 -6.51441595e+06 -1.20545696e+07 -5.67645768e+06 -1.19752416e+07 -1.11563640e+07 -1.26404047e+07 -6.08763897e+06 -6.78472029e+06 -1.09791594e+07 -6.78837722e+06 -1.23342509e+07] [-1.23873953e+07 -2.12560256e+07 1.15755033e+06 -1.32928820e+07 -1.99537403e+07 -1.31302504e+07 -1.91128293e+07 -1.29178370e+07 -2.00138561e+07 -1.30384565e+07 -2.07467298e+07 -1.20348246e+07 -2.06157426e+07 -1.96268692e+07 -2.13700797e+07 -1.25113037e+07 -1.33383352e+07 -1.90959978e+07 -1.33655949e+07 -2.10647589e+07] [-1.95639882e+07 -2.92604856e+07 -2.45215506e+06 -2.04267783e+07 -2.80918908e+07 -2.03009584e+07 -2.73175998e+07 -2.00746602e+07 -2.81633258e+07 -2.01972526e+07 -2.88374956e+07 -1.93066237e+07 -2.86749412e+07 -2.77842356e+07 -2.93314196e+07 -1.97274481e+07 -2.04435993e+07 -2.68029887e+07 -2.04931671e+07 -2.90996003e+07] [-2.12250273e+07 -2.86695864e+07 -5.82575542e+06 -2.17453904e+07 -2.80372055e+07 -2.17075831e+07 -2.75760227e+07 -2.15551144e+07 -2.80662760e+07 -2.16133046e+07 -2.84555915e+07 -2.11554542e+07 -2.83289842e+07 -2.78394614e+07 -2.86878104e+07 -2.13896651e+07 -2.17282887e+07 -2.66940131e+07 -2.17702492e+07 -2.85751483e+07] [-1.93991911e+07 -2.37568758e+07 -7.59182462e+06 -1.95303305e+07 -2.37035767e+07 -1.95715051e+07 -2.35723334e+07 -1.95186564e+07 -2.36698614e+07 -1.95039590e+07 -2.37448898e+07 -1.94903802e+07 -2.36889980e+07 -2.36215517e+07 -2.37365537e+07 -1.95356313e+07 -1.94922544e+07 -2.25052987e+07 -1.95007250e+07 -2.37294986e+07] [-1.58127572e+07 -1.78997590e+07 -7.48869953e+06 -1.56861337e+07 -1.82080806e+07 -1.57691896e+07 -1.82768287e+07 -1.57888842e+07 -1.81248830e+07 -1.57312497e+07 -1.80005537e+07 -1.59743703e+07 -1.80033320e+07 -1.81935091e+07 -1.78589611e+07 -1.59093353e+07 -1.56425145e+07 -1.72003248e+07 -1.56189283e+07 -1.79168365e+07] [-1.01813470e+07 -1.07743690e+07 -5.17586016e+06 -9.99167231e+06 -1.11274899e+07 -1.00584065e+07 -1.12224451e+07 -1.01250520e+07 -1.10155772e+07 -1.00427004e+07 -1.08564591e+07 -1.02973130e+07 -1.08962598e+07 -1.11085026e+07 -1.07565652e+07 -1.02319500e+07 -9.96323459e+06 -1.04995195e+07 -9.91666860e+06 -1.08005133e+07] [-6.04080392e+06 -6.03146087e+06 -2.53955467e+06 -5.88473481e+06 -6.29959794e+06 -5.91492030e+06 -6.35985531e+06 -6.00622577e+06 -6.17242752e+06 -5.90777974e+06 -6.04930031e+06 -6.08935688e+06 -6.11031426e+06 -6.26257296e+06 -6.05305086e+06 -6.06580041e+06 -5.86425936e+06 -5.96045851e+06 -5.81301700e+06 -6.03930344e+06] [-2.63770216e+06 -2.98474560e+06 2.67168820e+05 -2.63525651e+06 -3.00591858e+06 -2.59370989e+06 -2.94370743e+06 -2.68293008e+06 -2.88047490e+06 -2.58926138e+06 -2.88259897e+06 -2.57424200e+06 -2.95285477e+06 -2.91755113e+06 -3.07219458e+06 -2.64966733e+06 -2.62519038e+06 -2.89903019e+06 -2.57867713e+06 -2.95450027e+06] [-1.18313928e+06 -2.65955687e+06 2.35372125e+06 -1.39028962e+06 -2.36522587e+06 -1.28431977e+06 -2.13816254e+06 -1.32992890e+06 -2.27382091e+06 -1.27626354e+06 -2.43933084e+06 -1.02003678e+06 -2.49645075e+06 -2.22371503e+06 -2.79756578e+06 -1.19764681e+06 -1.39499253e+06 -2.35803253e+06 -1.36399083e+06 -2.59079160e+06] [-1.75158058e+06 -3.87417509e+06 2.12447987e+06 -2.01290984e+06 -3.49977333e+06 -1.90845188e+06 -3.22598338e+06 -1.90549165e+06 -3.43923185e+06 -1.89293241e+06 -3.65307243e+06 -1.57976955e+06 -3.67664228e+06 -3.36296620e+06 -3.99849988e+06 -1.76719412e+06 -2.01618065e+06 -3.40437411e+06 -2.00590433e+06 -3.79634404e+06] [-2.69860025e+06 -4.69507079e+06 8.60311687e+05 -2.90209181e+06 -4.40916809e+06 -2.83404958e+06 -4.18757151e+06 -2.80345326e+06 -4.36990470e+06 -2.81062111e+06 -4.54282999e+06 -2.57559316e+06 -4.53624902e+06 -4.31489547e+06 -4.77785108e+06 -2.71287731e+06 -2.89726857e+06 -4.22273717e+06 -2.90150261e+06 -4.62654938e+06] [-3.21226702e+06 -4.90831956e+06 -3.01095343e+05 -3.36350188e+06 -4.70760005e+06 -3.32176595e+06 -4.54617927e+06 -3.28015241e+06 -4.68346002e+06 -3.29534430e+06 -4.81415623e+06 -3.13304499e+06 -4.79074502e+06 -4.64946648e+06 -4.95897517e+06 -3.22568200e+06 -3.35380658e+06 -4.48978940e+06 -3.36624704e+06 -4.85216831e+06] [-3.05438512e+06 -4.69280241e+06 -5.15440517e+05 -3.21343858e+06 -4.48482479e+06 -3.17290567e+06 -4.33319692e+06 -3.12481382e+06 -4.47969721e+06 -3.15056181e+06 -4.61176916e+06 -2.98323361e+06 -4.57971858e+06 -4.43329187e+06 -4.73106569e+06 -3.06958926e+06 -3.20527930e+06 -4.29265651e+06 -3.22273190e+06 -4.64605875e+06] [-2.09756955e+06 -3.39312696e+06 -4.83030418e+05 -2.23464596e+06 -3.21512204e+06 -2.20007935e+06 -3.09424976e+06 -2.16172080e+06 -3.22021219e+06 -2.18318346e+06 -3.32960671e+06 -2.04402837e+06 -3.30184655e+06 -3.17405274e+06 -3.42075982e+06 -2.11117965e+06 -2.23137935e+06 -3.08273086e+06 -2.24426638e+06 -3.35810846e+06] [-1.34014532e+06 -2.13597676e+06 -4.29797114e+05 -1.42322344e+06 -2.03000040e+06 -1.40314133e+06 -1.95825168e+06 -1.37858881e+06 -2.03550458e+06 -1.39319451e+06 -2.10102359e+06 -1.31014096e+06 -2.08196010e+06 -2.00574145e+06 -2.14976055e+06 -1.34832627e+06 -1.42158672e+06 -1.94414831e+06 -1.42943922e+06 -2.11635497e+06] [-8.15873369e+05 -1.18098012e+06 -3.19131853e+05 -8.48432221e+05 -1.14236048e+06 -8.41562117e+05 -1.11457502e+06 -8.29868407e+05 -1.14424858e+06 -8.36632733e+05 -1.16974691e+06 -8.06455250e+05 -1.16040345e+06 -1.13392295e+06 -1.18527982e+06 -8.20093045e+05 -8.46319362e+05 -1.08941494e+06 -8.50552639e+05 -1.17254329e+06] [-2.18681925e+05 -3.02206753e+05 -1.13328237e+05 -2.24716698e+05 -2.95714907e+05 -2.23890854e+05 -2.90765478e+05 -2.21042726e+05 -2.96126405e+05 -2.22534552e+05 -3.00887139e+05 -2.17656665e+05 -2.98269691e+05 -2.94552575e+05 -3.02515651e+05 -2.19906176e+05 -2.23784806e+05 -2.80170415e+05 -2.25197665e+05 -3.00407091e+05] [-2.64877836e+04 -3.06908545e+04 -2.83586588e+04 -2.58689972e+04 -3.17587771e+04 -2.63566631e+04 -3.22519357e+04 -2.62235823e+04 -3.17296985e+04 -2.62190152e+04 -3.12557978e+04 -2.71464018e+04 -3.10407663e+04 -3.21002081e+04 -3.02074176e+04 -2.66369388e+04 -2.57450188e+04 -2.90188494e+04 -2.57407263e+04 -3.06197311e+04] [ 7.74013977e-01 5.92559917e-01 6.18303797e-02 6.15249893e-01 3.32195276e-01 4.51710653e-01 9.05100682e-01 3.97101473e-01 -9.31527043e-01 7.19011890e-01 3.61258817e-01 1.36823381e-01 4.22405376e-01 -4.23148768e-03 -4.43519237e-01 -9.45610249e-01 -9.83161968e-01 -3.14812434e-01 -4.16316485e-01 1.03157862e-01] [-3.14551726e-01 6.02967900e-01 -3.09902558e-01 -9.97615735e-01 7.54103528e-03 -8.19601033e-01 3.11828299e-01 8.98123154e-01 6.98214935e-01 -8.66436465e-01 -5.50020238e-01 3.64491293e-01 -6.31352974e-01 -6.38957247e-01 4.11289356e-01 -7.90000805e-01 -9.28265804e-01 5.52657546e-01 -6.43696225e-03 -8.25658122e-01] [ 7.54033185e-01 9.88830009e-01 1.38433805e-01 -8.78116682e-01 -4.87615966e-02 -9.26907585e-01 -1.33800042e-01 -4.47010723e-01 5.74972644e-01 -2.17294020e-01 -2.71833537e-01 -5.89163899e-01 -5.40681282e-01 1.73818004e-01 -1.12773568e-02 -6.65650658e-01 6.62959325e-01 -6.01123128e-01 5.54196138e-01 3.33311432e-02] [-4.05665449e+04 -1.84981297e+04 -1.18584907e+04 -3.47309913e+04 -2.59610208e+04 -3.67672763e+04 -2.99043060e+04 -3.69131094e+04 -2.48231400e+04 -3.64426953e+04 -2.10165034e+04 -4.28019886e+04 -2.13046619e+04 -2.79530251e+04 -1.78458620e+04 -4.03621934e+04 -3.38324456e+04 -2.15810102e+04 -3.44754451e+04 -1.88592559e+04] [-3.61145968e+05 -3.64581176e+05 -1.40720422e+05 -3.44163980e+05 -3.87271088e+05 -3.51704464e+05 -3.97031256e+05 -3.49083208e+05 -3.83065570e+05 -3.48812117e+05 -3.73278019e+05 -3.68535999e+05 -3.70867375e+05 -3.94068056e+05 -3.61661565e+05 -3.61526195e+05 -3.39646985e+05 -3.51848086e+05 -3.43485395e+05 -3.63801334e+05] [-8.37031086e+05 -8.16528440e+05 -2.46613204e+05 -7.89697348e+05 -8.77460974e+05 -8.11471991e+05 -9.02732273e+05 -8.05292432e+05 -8.65428742e+05 -8.02714564e+05 -8.38823958e+05 -8.56542113e+05 -8.32480832e+05 -8.96006150e+05 -8.08196927e+05 -8.38342976e+05 -7.78615859e+05 -7.90633728e+05 -7.87311768e+05 -8.12556135e+05] [-1.09272680e+06 -1.33845359e+06 2.36433707e+05 -1.06399002e+06 -1.35595366e+06 -1.08715548e+06 -1.34571876e+06 -1.07087083e+06 -1.33729453e+06 -1.06959285e+06 -1.33675797e+06 -1.09331196e+06 -1.32459019e+06 -1.36494171e+06 -1.33592873e+06 -1.09428251e+06 -1.05413257e+06 -1.24178559e+06 -1.06496525e+06 -1.31977872e+06] [-9.86601773e+05 -2.24701919e+06 1.76790322e+06 -1.08697194e+06 -2.05167144e+06 -1.08464024e+06 -1.90463134e+06 -1.04109868e+06 -2.03648257e+06 -1.05540071e+06 -2.15137943e+06 -9.14064160e+05 -2.12650572e+06 -2.00874683e+06 -2.26801248e+06 -9.92135283e+05 -1.09282317e+06 -1.91960083e+06 -1.10271576e+06 -2.19547970e+06] [-1.82966319e+06 -4.50805273e+06 3.01682696e+06 -2.08800293e+06 -4.05995923e+06 -2.05854486e+06 -3.74872162e+06 -1.97707408e+06 -4.05172893e+06 -2.01680712e+06 -4.30449799e+06 -1.67509282e+06 -4.26520310e+06 -3.95697755e+06 -4.55053844e+06 -1.84708257e+06 -2.11060467e+06 -3.84674717e+06 -2.11861211e+06 -4.41835715e+06] [-3.90768824e+06 -8.26088219e+06 3.82651018e+06 -4.31528359e+06 -7.57606081e+06 -4.27348945e+06 -7.11467467e+06 -4.14283536e+06 -7.59295036e+06 -4.22365359e+06 -7.97171193e+06 -3.69565498e+06 -7.91294949e+06 -7.42594489e+06 -8.30084905e+06 -3.94787214e+06 -4.35192962e+06 -7.18153690e+06 -4.36148129e+06 -8.14196923e+06] [-6.54081382e+06 -1.22479085e+07 4.26335402e+06 -7.04356838e+06 -1.14102057e+07 -7.00403913e+06 -1.08457929e+07 -6.83514055e+06 -1.14534400e+07 -6.94995250e+06 -1.19119829e+07 -6.30308914e+06 -1.18392794e+07 -1.12309495e+07 -1.22675897e+07 -6.60139079e+06 -7.09307735e+06 -1.08174676e+07 -7.09926888e+06 -1.21132687e+07] [-7.67994904e+06 -1.42110906e+07 4.61667634e+06 -8.25895189e+06 -1.32579153e+07 -8.21148035e+06 -1.26033015e+07 -8.02338035e+06 -1.33215268e+07 -8.16517533e+06 -1.38434990e+07 -7.41508580e+06 -1.37593540e+07 -1.30382343e+07 -1.42119957e+07 -7.74850278e+06 -8.32521408e+06 -1.25870105e+07 -8.32122177e+06 -1.40788449e+07] [-4.49483449e+06 -9.56958708e+06 5.50224192e+06 -4.96094846e+06 -8.76378148e+06 -4.92221783e+06 -8.18472668e+06 -4.78339363e+06 -8.80544896e+06 -4.90203218e+06 -9.24196027e+06 -4.24841674e+06 -9.20078501e+06 -8.55805181e+06 -9.56488695e+06 -4.53753498e+06 -5.04158818e+06 -8.34504581e+06 -5.00673224e+06 -9.46605030e+06] [-7.60874372e+05 -4.34897130e+06 6.52603674e+06 -1.11215286e+06 -3.70162425e+06 -1.07391206e+06 -3.20460380e+06 -9.86818161e+05 -3.71279450e+06 -1.08145540e+06 -4.05797154e+06 -5.23043534e+05 -4.06369181e+06 -3.50815935e+06 -4.35087583e+06 -7.69988557e+05 -1.20286098e+06 -3.52611711e+06 -1.13956025e+06 -4.27686228e+06] [ 4.95812860e+05 -1.71863046e+06 5.91793906e+06 3.16078456e+05 -1.32647360e+06 3.28380533e+05 -9.77488230e+05 3.67460704e+05 -1.30502091e+06 3.02508161e+05 -1.50979227e+06 6.77082100e+05 -1.55359066e+06 -1.18280142e+06 -1.70939993e+06 5.07872737e+05 2.37647528e+05 -1.21525630e+06 3.15316964e+05 -1.67841808e+06] [ 9.81865457e+05 -3.48419473e+05 5.38631940e+06 9.04544189e+05 -1.11206844e+05 9.05932750e+05 1.37724059e+05 9.11902317e+05 -7.13521273e+04 8.74069327e+05 -1.90304891e+05 1.12616536e+06 -2.52284242e+05 -6.21252007e+03 -3.39609813e+05 1.00373258e+06 8.44037131e+05 -4.99803260e+04 9.19431482e+05 -3.20519660e+05] [ 2.11961905e+06 1.40280129e+06 5.33527684e+06 2.07131640e+06 1.58445232e+06 2.09114718e+06 1.77866023e+06 2.06862481e+06 1.63975914e+06 2.05874505e+06 1.55346964e+06 2.25884715e+06 1.47390447e+06 1.66991362e+06 1.38201775e+06 2.14528893e+06 2.02696216e+06 1.53538052e+06 2.09482259e+06 1.43589075e+06] [ 3.62513106e+06 2.67586141e+06 5.94836647e+06 3.45559354e+06 3.01756833e+06 3.53912498e+06 3.27656737e+06 3.51702053e+06 3.06841189e+06 3.50661782e+06 2.89871390e+06 3.82937344e+06 2.81663678e+06 3.13786862e+06 2.59350030e+06 3.65296518e+06 3.41368699e+06 2.81014709e+06 3.46555779e+06 2.72899704e+06] [ 3.10212193e+06 1.47733494e+06 5.54125620e+06 2.81498815e+06 1.95646650e+06 2.94123543e+06 2.28357779e+06 2.94209087e+06 1.98913877e+06 2.91574429e+06 1.74191802e+06 3.34300723e+06 1.68170405e+06 2.10451300e+06 1.36220596e+06 3.12391881e+06 2.77727307e+06 1.75484987e+06 2.81144788e+06 1.54514173e+06] [ 1.08232320e+06 -6.07594224e+05 3.38274910e+06 8.31258097e+05 -2.14340884e+05 9.36171203e+05 5.89304094e+04 9.53861451e+05 -1.89152122e+05 9.23136921e+05 -4.00718040e+05 1.27305550e+06 -4.33403052e+05 -9.61678733e+04 -7.03324942e+05 1.09460024e+06 8.11523067e+05 -2.75924318e+05 8.25582134e+05 -5.48152598e+05] [-2.16087108e+05 -1.36512548e+06 1.55637444e+06 -3.63883149e+05 -1.14425680e+06 -3.01902965e+05 -9.77971673e+05 -2.81277768e+05 -1.12298747e+06 -3.05581284e+05 -1.24932520e+06 -1.02048354e+05 -1.26322378e+06 -1.07762048e+06 -1.42396440e+06 -2.06470785e+05 -3.70066521e+05 -1.12504385e+06 -3.66006032e+05 -1.32477355e+06] [-1.15538673e+06 -2.11902635e+06 3.53074454e+05 -1.25599535e+06 -1.97963025e+06 -1.21756090e+06 -1.86839732e+06 -1.19219941e+06 -1.96519331e+06 -1.21444494e+06 -2.05230483e+06 -1.08456069e+06 -2.04970869e+06 -1.93985382e+06 -2.15502057e+06 -1.15124577e+06 -1.25374924e+06 -1.89795438e+06 -1.25827089e+06 -2.08882849e+06] [-1.52388162e+06 -2.55752968e+06 -1.73030894e+05 -1.63210663e+06 -2.41501515e+06 -1.59771264e+06 -2.31027205e+06 -1.56798630e+06 -2.41289573e+06 -1.59107759e+06 -2.50151166e+06 -1.46643408e+06 -2.48683510e+06 -2.37830870e+06 -2.58398571e+06 -1.52692079e+06 -1.62895471e+06 -2.31398808e+06 -1.63732648e+06 -2.53066002e+06] [-1.17621763e+06 -2.04873191e+06 -2.45630120e+05 -1.27435814e+06 -1.91960535e+06 -1.24590944e+06 -1.83323437e+06 -1.22128586e+06 -1.92437710e+06 -1.23880847e+06 -2.00181453e+06 -1.13309602e+06 -1.98608354e+06 -1.88853017e+06 -2.06840712e+06 -1.18206129e+06 -1.27364684e+06 -1.84430168e+06 -1.28104593e+06 -2.02740734e+06] [-7.28026420e+05 -1.16478916e+06 -2.90700066e+05 -7.73132037e+05 -1.10836426e+06 -7.60952036e+05 -1.07028498e+06 -7.48157695e+05 -1.11067053e+06 -7.56430636e+05 -1.14592410e+06 -7.10913283e+05 -1.13618206e+06 -1.09533846e+06 -1.17264787e+06 -7.31688665e+05 -7.71630118e+05 -1.05917421e+06 -7.76052169e+05 -1.15438885e+06] [-3.56983640e+05 -5.52767706e+05 -1.64342120e+05 -3.76141691e+05 -5.28980814e+05 -3.71640118e+05 -5.12894262e+05 -3.65497037e+05 -5.30394952e+05 -3.69239590e+05 -5.45558115e+05 -3.50615687e+05 -5.40270901e+05 -5.23698371e+05 -5.55386778e+05 -3.58865572e+05 -3.75235498e+05 -5.04541288e+05 -3.77723125e+05 -5.48300629e+05] [-1.23864900e+05 -1.72123540e+05 -6.93601404e+04 -1.27549178e+05 -1.68088150e+05 -1.26960729e+05 -1.65094866e+05 -1.25298012e+05 -1.68266152e+05 -1.26198606e+05 -1.71208644e+05 -1.23054688e+05 -1.69678253e+05 -1.67289608e+05 -1.72344288e+05 -1.24471595e+05 -1.27033576e+05 -1.59456349e+05 -1.27898178e+05 -1.71101553e+05] [-8.70423877e+03 -1.04015042e+04 -8.58297920e+03 -8.59401078e+03 -1.06736500e+04 -8.68445254e+03 -1.07603739e+04 -8.65843492e+03 -1.06129541e+04 -8.62627619e+03 -1.05412293e+04 -8.83893744e+03 -1.04405433e+04 -1.07354688e+04 -1.02936542e+04 -8.74193805e+03 -8.53289686e+03 -9.81248029e+03 -8.53206328e+03 -1.03413374e+04] [-2.60837131e-01 -5.79095237e-01 -9.93497450e-01 -9.10601194e-01 -5.98398479e-01 -9.38637083e-01 -5.79928077e-02 8.99002524e-01 2.88808739e-01 -9.42106882e-01 5.52094275e-01 5.46927381e-03 5.93953872e-01 1.24612425e-02 2.48758652e-01 -4.75608514e-01 -1.05251708e-01 -9.74708293e-01 -2.36691957e-01 2.58281632e-01] [ 8.67396518e-01 -6.58283966e-01 -4.74981296e-01 3.49638923e-01 -5.64788930e-02 3.53754217e-01 5.85995359e-01 2.63704955e-01 4.27133681e-01 8.94163581e-01 1.71883733e-01 -1.19375941e-01 -5.81176148e-01 7.96857923e-01 4.27862006e-01 1.60020814e-01 7.86553546e-01 -1.59549188e-01 8.31408549e-01 2.31539128e-03] [-9.71362688e-01 8.90969444e-01 3.45639940e-01 -2.59171866e-01 -8.33383110e-01 -7.55164056e-01 6.95736810e-01 4.55310386e-01 2.33556808e-02 6.46351591e-01 3.34464015e-01 7.75802066e-01 2.47963414e-01 -3.24011543e-01 -6.28102824e-01 9.22612378e-01 -3.30575843e-01 -6.60345017e-02 6.57111850e-01 8.50108007e-01] [-1.08431201e+03 5.71209877e+03 1.53360283e+03 2.03352774e+02 4.06391738e+03 -2.05829295e+02 3.13323310e+03 -3.43865687e+02 4.27865908e+03 -1.68622685e+02 5.16951391e+03 -1.62369000e+03 5.04118871e+03 3.62548256e+03 5.86156591e+03 -1.03715047e+03 3.26312714e+02 4.45398758e+03 2.76721771e+02 5.59798287e+03] [-6.61087174e+04 -2.72068899e+04 -1.27760828e+04 -5.56018973e+04 -4.08035681e+04 -5.92243078e+04 -4.78444924e+04 -5.96752355e+04 -3.86453597e+04 -5.87619236e+04 -3.17158820e+04 -7.00837673e+04 -3.23015757e+04 -4.43965964e+04 -2.58532404e+04 -6.58538533e+04 -5.40132062e+04 -3.22828696e+04 -5.50345762e+04 -2.79005373e+04] [-2.74647219e+05 -1.66095967e+05 -6.65132818e+04 -2.41203261e+05 -2.09023581e+05 -2.53354666e+05 -2.30327073e+05 -2.53999438e+05 -2.01800170e+05 -2.50994995e+05 -1.80570515e+05 -2.87249251e+05 -1.81545984e+05 -2.20801691e+05 -1.61410953e+05 -2.74228597e+05 -2.35903340e+05 -1.77821656e+05 -2.39215242e+05 -1.67043250e+05] [-2.27411279e+05 -3.23732236e+05 4.29433441e+05 -2.20653762e+05 -3.18999091e+05 -2.28758598e+05 -3.08245658e+05 -2.21194476e+05 -3.12554295e+05 -2.23165350e+05 -3.17532307e+05 -2.23260094e+05 -3.14433972e+05 -3.19727949e+05 -3.23886178e+05 -2.27065034e+05 -2.19023792e+05 -2.88514156e+05 -2.23720544e+05 -3.17376498e+05] [-3.31698351e+05 -9.54421552e+05 1.39748191e+06 -3.88099452e+05 -8.40489683e+05 -3.85184732e+05 -7.58850700e+05 -3.61143823e+05 -8.38254381e+05 -3.75275290e+05 -9.01274742e+05 -2.90414500e+05 -8.92134505e+05 -8.15776989e+05 -9.64844949e+05 -3.33537765e+05 -3.94198552e+05 -7.97161529e+05 -4.00645087e+05 -9.33591337e+05] [-1.45739788e+05 -1.43855160e+06 2.63645491e+06 -2.80990413e+05 -1.18305034e+06 -2.69893532e+05 -1.00777219e+06 -2.22391870e+05 -1.19096397e+06 -2.57350720e+05 -1.32799487e+06 -5.77441173e+04 -1.30923532e+06 -1.12572627e+06 -1.45049757e+06 -1.48188313e+05 -3.02432234e+05 -1.12565578e+06 -3.05617031e+05 -1.40223968e+06] [-3.72207591e+05 -2.39695961e+06 3.78354151e+06 -5.59393693e+05 -2.03043843e+06 -5.60710326e+05 -1.77718659e+06 -4.82104328e+05 -2.05457039e+06 -5.48329314e+05 -2.24775725e+06 -2.56601026e+05 -2.21999729e+06 -1.95432940e+06 -2.38855207e+06 -3.79603603e+05 -5.97327247e+05 -1.89688072e+06 -5.94947656e+05 -2.35050605e+06] [-1.34264974e+06 -4.20091005e+06 4.98161717e+06 -1.58066737e+06 -3.72427649e+06 -1.59271167e+06 -3.38665929e+06 -1.48363197e+06 -3.76725916e+06 -1.58425146e+06 -4.01548981e+06 -1.20091999e+06 -3.98221957e+06 -3.62774386e+06 -4.16723882e+06 -1.35544986e+06 -1.63590425e+06 -3.48611848e+06 -1.62375261e+06 -4.14496009e+06] [ 6.56435685e+05 -2.35914384e+06 7.02031898e+06 3.67759426e+05 -1.76681784e+06 3.66795010e+05 -1.33562977e+06 4.80476287e+05 -1.82174397e+06 3.57812238e+05 -2.12696459e+06 8.49919554e+05 -2.10220632e+06 -1.63347205e+06 -2.31322720e+06 6.57779229e+05 2.80967099e+05 -1.65044905e+06 3.22227675e+05 -2.29894477e+06] [ 5.20118102e+06 2.24066015e+06 9.81077845e+06 4.81930660e+06 3.00225049e+06 4.86767882e+06 3.55398892e+06 4.97080321e+06 2.94666200e+06 4.83189769e+06 2.55630748e+06 5.49490952e+06 2.55943246e+06 3.19661726e+06 2.26522737e+06 5.23292953e+06 4.69652941e+06 2.85010735e+06 4.77145324e+06 2.30735305e+06] [ 8.93278481e+06 6.02544048e+06 1.19439312e+07 8.47452031e+06 6.91296920e+06 8.57455821e+06 7.55138403e+06 8.66373560e+06 6.86703975e+06 8.51699241e+06 6.41240972e+06 9.31216809e+06 6.38941832e+06 7.15777868e+06 6.01374966e+06 8.99042987e+06 8.32968320e+06 6.55345013e+06 8.42486074e+06 6.09531293e+06] [ 8.82015094e+06 6.25074357e+06 1.15924140e+07 8.39771361e+06 7.07596199e+06 8.50396138e+06 7.67214871e+06 8.57921077e+06 7.04108742e+06 8.43864582e+06 6.62115882e+06 9.19337882e+06 6.58074431e+06 7.30867244e+06 6.22795562e+06 8.88522548e+06 8.26147512e+06 6.69727885e+06 8.35309773e+06 6.31001030e+06] [ 6.41831585e+06 4.37195464e+06 9.34739312e+06 6.10614131e+06 5.00087835e+06 6.19103825e+06 5.46878444e+06 6.24569610e+06 4.97725690e+06 6.12917887e+06 4.66155177e+06 6.71727396e+06 4.61141529e+06 5.17754745e+06 4.35564771e+06 6.47482742e+06 6.00151054e+06 4.73129589e+06 6.07819522e+06 4.41755640e+06] [ 5.47516384e+06 3.93351137e+06 7.33047707e+06 5.22263586e+06 4.43334944e+06 5.30778862e+06 4.80087551e+06 5.33850715e+06 4.41917823e+06 5.25338027e+06 4.17063387e+06 5.72063087e+06 4.11793975e+06 4.57401873e+06 3.90372300e+06 5.52151495e+06 5.14576074e+06 4.18509346e+06 5.20613288e+06 3.97315945e+06] [ 5.64432687e+06 4.37856479e+06 6.42462669e+06 5.37012917e+06 4.87103978e+06 5.48493231e+06 5.20758839e+06 5.50214026e+06 4.86383164e+06 5.43387554e+06 4.61789345e+06 5.89160292e+06 4.56384029e+06 5.01091164e+06 4.31029931e+06 5.68927533e+06 5.30878794e+06 4.54318995e+06 5.35410494e+06 4.42054203e+06] [ 4.66023856e+06 3.70023380e+06 5.06310713e+06 4.42076474e+06 4.10584904e+06 4.53382926e+06 4.37817940e+06 4.54296490e+06 4.10825216e+06 4.49033486e+06 3.90336086e+06 4.87382491e+06 3.85433070e+06 4.22460603e+06 3.62117953e+06 4.70139281e+06 4.37746897e+06 3.80427697e+06 4.40907575e+06 3.73601391e+06] [ 2.80640735e+06 2.32407865e+06 3.01619612e+06 2.67792593e+06 2.53724376e+06 2.75154741e+06 2.69311531e+06 2.75504446e+06 2.55130559e+06 2.71905487e+06 2.44097726e+06 2.94207000e+06 2.40096762e+06 2.60523904e+06 2.26761096e+06 2.83971558e+06 2.65728827e+06 2.36063352e+06 2.67528346e+06 2.34334697e+06] [ 1.49313899e+06 1.36150980e+06 1.57440518e+06 1.44512467e+06 1.44247795e+06 1.48585321e+06 1.51504296e+06 1.48646248e+06 1.45933589e+06 1.46383114e+06 1.41538139e+06 1.56900495e+06 1.38639624e+06 1.47268952e+06 1.32797693e+06 1.51960211e+06 1.43772714e+06 1.35046810e+06 1.44767333e+06 1.37017592e+06] [ 5.81527028e+05 4.67869653e+05 6.13168102e+05 5.56420075e+05 5.05661677e+05 5.81405508e+05 5.45933093e+05 5.83432278e+05 5.18096075e+05 5.68931908e+05 4.94874487e+05 6.25386838e+05 4.78466131e+05 5.21360248e+05 4.46791816e+05 5.97854158e+05 5.55024982e+05 4.72964729e+05 5.59832924e+05 4.73826515e+05] [-5.76288525e+04 -3.32738472e+05 1.87170705e+05 -9.39073186e+04 -2.84570910e+05 -7.44338410e+04 -2.43471765e+05 -6.65951890e+04 -2.79366460e+05 -7.91849067e+04 -3.09391727e+05 -2.49821893e+04 -3.12834976e+05 -2.68745597e+05 -3.47138892e+05 -4.99917477e+04 -9.49799207e+04 -2.77840333e+05 -9.34687077e+04 -3.25473418e+05] [-3.20382098e+05 -5.55170774e+05 -8.35746057e+04 -3.46790008e+05 -5.22743500e+05 -3.35889030e+05 -4.97303517e+05 -3.29082170e+05 -5.21020548e+05 -3.36106983e+05 -5.41944123e+05 -3.03950316e+05 -5.40129485e+05 -5.13393071e+05 -5.62815305e+05 -3.18569744e+05 -3.46481436e+05 -5.01896635e+05 -3.47204542e+05 -5.49450767e+05] [-3.21244250e+05 -4.60511065e+05 -1.15963405e+05 -3.34196221e+05 -4.46217551e+05 -3.29858491e+05 -4.34533444e+05 -3.25917899e+05 -4.45377877e+05 -3.29142187e+05 -4.55307132e+05 -3.15455159e+05 -4.53323430e+05 -4.42147049e+05 -4.63200030e+05 -3.21509595e+05 -3.33435708e+05 -4.26437799e+05 -3.34337599e+05 -4.57388024e+05] [-3.41468317e+04 -5.73082024e+04 -2.29333172e+04 -3.66046941e+04 -5.42991249e+04 -3.57511210e+04 -5.20203205e+04 -3.50383354e+04 -5.42416155e+04 -3.55936266e+04 -5.62563823e+04 -3.28313322e+04 -5.56822800e+04 -5.34698445e+04 -5.77292915e+04 -3.40388297e+04 -3.65343507e+04 -5.17626022e+04 -3.67478710e+04 -5.67303039e+04] [-1.22175200e+04 -1.80928054e+04 -7.24826043e+03 -1.27477888e+04 -1.74505430e+04 -1.26220905e+04 -1.69784888e+04 -1.24512993e+04 -1.74747058e+04 -1.25508037e+04 -1.79016142e+04 -1.20319762e+04 -1.77404075e+04 -1.72731962e+04 -1.81369029e+04 -1.22592327e+04 -1.27293712e+04 -1.66041277e+04 -1.27964436e+04 -1.79879702e+04] [-8.67173116e+03 -1.14531137e+04 -5.35619922e+03 -8.82071745e+03 -1.13275997e+04 -8.79673088e+03 -1.12038886e+04 -8.71710910e+03 -1.13164389e+04 -8.75706412e+03 -1.14312718e+04 -8.65197409e+03 -1.13635158e+04 -1.12954686e+04 -1.14631379e+04 -8.70737347e+03 -8.78296785e+03 -1.06926063e+04 -8.82296450e+03 -1.14048103e+04] [-8.86794262e-01 -9.37590891e-02 -4.98677515e-01 2.82956840e-02 -9.94416127e-01 -8.08787596e-01 1.01773200e-01 4.92356938e-01 -8.21906297e-01 3.58802324e-01 -8.88810386e-01 -4.10858913e-01 -3.44812640e-01 -5.58328633e-01 -3.94194794e-01 -5.93180656e-01 -3.07041332e-01 -9.95738334e-01 8.07143171e-01 -9.39403141e-01] [-1.89099875e-01 -5.19297000e-01 -2.79800887e-01 5.62686057e-01 4.52306130e-01 -8.34174088e-01 2.91030383e-02 -4.51180883e-01 -6.48447183e-01 4.87777490e-01 -7.00163042e-01 4.37338535e-01 -8.17474282e-01 3.06032934e-01 3.70554876e-01 -2.72155177e-01 8.75910620e-01 -5.64735897e-01 -4.04157430e-01 -5.06274757e-01] [ 4.66518924e-01 -7.23873124e-01 -3.22300405e-02 -4.05694035e-01 4.80180218e-02 -7.18949772e-01 6.68084561e-01 8.45052240e-01 1.05689488e-01 9.59999940e-01 9.38096037e-01 4.61239384e-01 -8.40008551e-01 -6.81094824e-01 -5.79154586e-02 8.28105052e-01 -8.28063545e-01 9.12920497e-01 9.04893124e-01 4.35100094e-01] [-7.60394616e-01 5.61151732e-01 7.77530999e-01 7.85290591e-01 6.02224789e-01 7.15125179e-01 2.78285875e-01 2.89031000e-01 -7.31860962e-01 1.14155053e-01 -1.31642989e-01 -4.81828086e-01 5.32015868e-01 -1.48873707e-01 5.27115746e-01 9.72404432e-01 -8.80628069e-02 -8.72514136e-02 7.24025514e-01 -7.19788338e-01] [-9.89866545e+03 1.12850479e+04 5.37092193e+03 -5.39657285e+03 5.57252803e+03 -6.88020400e+03 2.48903994e+03 -7.20013607e+03 6.42427954e+03 -6.76623913e+03 9.41572829e+03 -1.14123481e+04 9.14972792e+03 4.05478727e+03 1.18926619e+04 -9.72670976e+03 -4.76825691e+03 7.85753450e+03 -5.16758844e+03 1.09263596e+04] [-1.53938475e+03 1.19208214e+05 2.96649215e+03 1.85902736e+04 9.34312351e+04 1.22762785e+04 7.89772496e+04 1.00099914e+04 9.69199888e+04 1.27054076e+04 1.10546865e+05 -8.71424362e+03 1.09030531e+05 8.64438637e+04 1.21997016e+05 -5.22549233e+02 2.06392104e+04 9.53774284e+04 1.99548560e+04 1.17724563e+05] [ 1.41518096e+05 3.04515430e+05 1.99833594e+05 1.67365529e+05 2.74884510e+05 1.58870301e+05 2.60519496e+05 1.56783576e+05 2.80227932e+05 1.59029109e+05 2.95545278e+05 1.35422773e+05 2.93469752e+05 2.67496320e+05 3.08149761e+05 1.44127393e+05 1.68736797e+05 2.70841013e+05 1.68380212e+05 3.02711581e+05] [ 5.69096950e+05 6.44116292e+05 7.42251649e+05 5.72402565e+05 6.54375652e+05 5.70265263e+05 6.65180883e+05 5.71799260e+05 6.58312700e+05 5.69150739e+05 6.52875197e+05 5.79400949e+05 6.50430833e+05 6.57528208e+05 6.43191730e+05 5.73630739e+05 5.68357788e+05 6.22022808e+05 5.69662159e+05 6.45411987e+05] [ 1.26720546e+06 1.45118871e+06 1.49967378e+06 1.26661147e+06 1.48298382e+06 1.26463172e+06 1.51428780e+06 1.26722123e+06 1.48676463e+06 1.25923543e+06 1.47130489e+06 1.29224173e+06 1.46468266e+06 1.49443663e+06 1.45119882e+06 1.27805507e+06 1.25233846e+06 1.38707517e+06 1.26172171e+06 1.45233636e+06] [ 2.89575539e+06 3.15346627e+06 2.78452405e+06 2.87031600e+06 3.24673358e+06 2.87455100e+06 3.32782553e+06 2.88076376e+06 3.24480682e+06 2.86012021e+06 3.19901086e+06 2.95350887e+06 3.18903722e+06 3.27931175e+06 3.15558466e+06 2.91665034e+06 2.83725895e+06 3.03953528e+06 2.86115500e+06 3.15423370e+06] [ 4.28864924e+06 4.68612514e+06 3.70884250e+06 4.25674483e+06 4.81290098e+06 4.26050855e+06 4.93278195e+06 4.26955036e+06 4.80563426e+06 4.23334092e+06 4.74375274e+06 4.36831582e+06 4.72662158e+06 4.85935822e+06 4.69972589e+06 4.32099724e+06 4.20373354e+06 4.50870520e+06 4.24755766e+06 4.68364283e+06] [ 6.97837957e+06 7.90061985e+06 4.72944170e+06 6.96217982e+06 8.03213713e+06 6.96970628e+06 8.17914839e+06 6.96938537e+06 8.02570366e+06 6.92340762e+06 7.96291181e+06 7.08423213e+06 7.93258625e+06 8.09187451e+06 7.92359977e+06 7.03534494e+06 6.88514791e+06 7.55074437e+06 6.95770633e+06 7.89038788e+06] [ 9.40757279e+06 1.04038702e+07 6.00161533e+06 9.35357658e+06 1.06059878e+07 9.39114586e+06 1.08104430e+07 9.38168752e+06 1.06036088e+07 9.32903555e+06 1.05040962e+07 9.56926267e+06 1.04623238e+07 1.06945084e+07 1.04133463e+07 9.48590713e+06 9.26275333e+06 9.99496458e+06 9.35273542e+06 1.03974995e+07] [ 1.05253409e+07 1.10888431e+07 7.08473288e+06 1.03948088e+07 1.14022005e+07 1.04667447e+07 1.16802844e+07 1.04617151e+07 1.13977011e+07 1.03972170e+07 1.12385444e+07 1.07420292e+07 1.11940259e+07 1.15259327e+07 1.10781960e+07 1.06123831e+07 1.02948353e+07 1.07598370e+07 1.03910714e+07 1.10909214e+07] [ 9.84521962e+06 9.98174715e+06 7.29177927e+06 9.67043999e+06 1.03531094e+07 9.75447912e+06 1.06646223e+07 9.76106053e+06 1.03471743e+07 9.68685002e+06 1.01550690e+07 1.00810487e+07 1.01139883e+07 1.04918265e+07 9.96345414e+06 9.93115651e+06 9.56884190e+06 9.76057220e+06 9.65942272e+06 9.98841719e+06] [ 8.33256678e+06 8.53872077e+06 6.19157845e+06 8.19307049e+06 8.84109046e+06 8.26590072e+06 9.09990525e+06 8.26858291e+06 8.83716271e+06 8.20391800e+06 8.68173108e+06 8.53226063e+06 8.64060914e+06 8.95557044e+06 8.52380409e+06 8.40921115e+06 8.10787106e+06 8.32363092e+06 8.18424831e+06 8.54222874e+06] [ 7.37016675e+06 7.78686969e+06 4.92766557e+06 7.27140431e+06 8.00848024e+06 7.33631706e+06 8.19712469e+06 7.32837809e+06 8.00943436e+06 7.28181706e+06 7.89879874e+06 7.52979022e+06 7.85520260e+06 8.09434536e+06 7.76591178e+06 7.43643429e+06 7.20623438e+06 7.54216075e+06 7.26752291e+06 7.78864895e+06] [ 6.11573950e+06 6.77204718e+06 3.84799629e+06 6.06445515e+06 6.90024074e+06 6.12116549e+06 7.01601512e+06 6.10496447e+06 6.91363936e+06 6.07145182e+06 6.85174283e+06 6.24140748e+06 6.80141376e+06 6.95796268e+06 6.74196933e+06 6.17605750e+06 6.01948041e+06 6.49369409e+06 6.06634632e+06 6.76934738e+06] [ 4.31810574e+06 5.20654240e+06 2.53904117e+06 4.34521202e+06 5.19659535e+06 4.37868579e+06 5.22297393e+06 4.35404128e+06 5.22307719e+06 4.33680653e+06 5.23250215e+06 4.38902080e+06 5.17819980e+06 5.21500053e+06 5.18177608e+06 4.37043359e+06 4.32065336e+06 4.91469076e+06 4.35764898e+06 5.19651700e+06] [ 2.51655167e+06 3.39942796e+06 1.41725379e+06 2.59352052e+06 3.30079853e+06 2.60439658e+06 3.27092459e+06 2.58055586e+06 3.33147062e+06 2.57285224e+06 3.38556867e+06 2.54358594e+06 3.33753900e+06 3.29180708e+06 3.38612425e+06 2.55766845e+06 2.58439305e+06 3.14945888e+06 2.61090240e+06 3.38563052e+06] [ 1.54324264e+06 2.20357630e+06 6.87833563e+05 1.61134846e+06 2.11063578e+06 1.61597955e+06 2.07651954e+06 1.59807811e+06 2.13432686e+06 1.59393432e+06 2.18406051e+06 1.55562678e+06 2.15031518e+06 2.09817701e+06 2.19638668e+06 1.57269849e+06 1.60856427e+06 2.02503140e+06 1.62594107e+06 2.19231826e+06] [ 9.78747910e+05 1.43415354e+06 3.45654872e+05 1.03046223e+06 1.36183988e+06 1.03245145e+06 1.33348380e+06 1.02009462e+06 1.37871683e+06 1.01784386e+06 1.41700813e+06 9.84696711e+05 1.39420749e+06 1.35055446e+06 1.42971411e+06 9.99008130e+05 1.03019129e+06 1.31435016e+06 1.04172329e+06 1.42638846e+06] [ 6.32184361e+05 9.56379255e+05 2.53535231e+05 6.66843265e+05 9.08140645e+05 6.66968755e+05 8.86893374e+05 6.58824138e+05 9.18358965e+05 6.58649748e+05 9.44285344e+05 6.34051817e+05 9.30457065e+05 8.99812042e+05 9.53839941e+05 6.44755059e+05 6.66474823e+05 8.72080866e+05 6.73490595e+05 9.51151449e+05] [ 1.95071203e+05 3.22714111e+05 5.08709031e+04 2.09998274e+05 3.00628676e+05 2.10028835e+05 2.90940386e+05 2.06884742e+05 3.05312081e+05 2.06704051e+05 3.16754917e+05 1.95202717e+05 3.11226580e+05 2.96632333e+05 3.21615313e+05 2.00323904e+05 2.10271116e+05 2.90230406e+05 2.13051075e+05 3.20640431e+05] [-2.08387953e+04 2.44645790e+04 -2.46808505e+04 -1.32507614e+04 1.22984466e+04 -1.41889085e+04 6.97476953e+03 -1.52158234e+04 1.44857802e+04 -1.51870869e+04 2.05021422e+04 -2.25814659e+04 1.86316215e+04 9.85950310e+03 2.47798969e+04 -1.92041115e+04 -1.27096405e+04 1.43439597e+04 -1.17024790e+04 2.36821462e+04] [-2.08292270e+04 -2.08638472e+04 -2.22223847e+04 -2.01482232e+04 -2.22731725e+04 -2.01972626e+04 -2.28469479e+04 -2.01564773e+04 -2.18681846e+04 -2.01901882e+04 -2.13335086e+04 -2.09421767e+04 -2.13593235e+04 -2.25677450e+04 -2.08324775e+04 -2.06376969e+04 -1.99715399e+04 -2.04131406e+04 -1.99566007e+04 -2.07956473e+04] [-1.83266163e+03 -3.03845677e+03 -1.01536568e+03 -1.96231251e+03 -2.89305750e+03 -1.90403790e+03 -2.78934145e+03 -1.87736936e+03 -2.86881946e+03 -1.89862372e+03 -2.96691901e+03 -1.75372065e+03 -2.97564602e+03 -2.85420443e+03 -3.08346572e+03 -1.83257378e+03 -1.94940166e+03 -2.75511561e+03 -1.96603660e+03 -3.00779904e+03] [-8.02099773e-01 -1.51718453e-01 4.01792937e-01 1.55921083e-02 -2.19778129e-02 7.78306554e-01 1.81399778e-01 3.22505904e-01 6.97992488e-01 3.26437509e-01 2.48111871e-01 -2.20788944e-01 8.69897246e-01 -3.05559289e-01 -3.64319289e-01 -2.25628802e-01 -2.62978822e-01 -4.62267412e-01 8.99097764e-01 -2.38812723e-01] [-3.48888944e-01 -9.79132627e-01 -3.16525362e-01 7.03215116e-01 7.86911952e-01 1.49256433e-01 -5.48079252e-01 6.95286950e-01 -1.97740903e-01 -7.33062811e-01 -2.12257711e-01 -5.33401629e-01 -1.59438461e-01 9.90830567e-01 -9.24160244e-01 2.14141122e-01 -1.14664380e-01 -8.21770419e-01 -9.07582075e-02 9.20813553e-02] [-3.96748104e-01 -9.85622866e-02 -4.35271603e-01 6.20038330e-01 4.20907546e-01 -2.14323979e-01 -5.28435195e-02 9.02779881e-01 4.83967204e-01 1.67646437e-01 -8.44194055e-01 -2.45585822e-01 3.19070050e-01 4.77495029e-01 6.92121646e-02 2.06569092e-02 -4.55270126e-01 9.55641761e-01 3.83556537e-01 8.28455689e-01] [ 6.26253645e-01 4.53501717e-01 4.52264403e-01 8.45014796e-01 -4.63906405e-01 -4.03645587e-01 6.47602631e-02 2.24697773e-01 -4.82943708e-01 -8.95887799e-01 5.65256340e-01 -5.74481918e-01 -3.00520061e-01 5.98535085e-01 9.09037640e-01 6.25270347e-01 -6.87468001e-01 -8.87802501e-01 9.35184767e-02 -1.85185527e-01] [ 9.28053624e-01 1.21296500e-01 3.00247676e-01 9.74495966e-01 9.56349719e-01 -2.80692987e-01 -8.96601536e-01 9.85592270e-01 2.69478314e-01 4.60160699e-01 -6.02402172e-01 9.53517549e-01 -6.74068214e-02 4.57637101e-01 9.07484746e-01 -4.32634966e-01 1.47795493e-01 5.13381946e-01 -8.37901675e-01 -7.85961914e-01] [ 2.46149469e+03 4.21294075e+03 3.69309772e+01 2.72237176e+03 3.88239140e+03 2.63649134e+03 3.72081313e+03 2.60336713e+03 3.91734822e+03 2.63899924e+03 4.08450475e+03 2.37929007e+03 4.09072762e+03 3.80476871e+03 4.28669915e+03 2.48625207e+03 2.73007456e+03 3.84302042e+03 2.74630906e+03 4.19116452e+03] [ 4.40483960e+04 7.84864070e+04 9.83897391e+03 4.87962989e+04 7.23640855e+04 4.73760866e+04 6.91657076e+04 4.67343753e+04 7.30077251e+04 4.72980883e+04 7.62249068e+04 4.25443748e+04 7.59734791e+04 7.09086304e+04 7.94404409e+04 4.45263584e+04 4.89678413e+04 7.08235436e+04 4.92201060e+04 7.79876653e+04] [ 2.15823003e+05 3.74783205e+05 7.48157843e+04 2.37169842e+05 3.46531866e+05 2.31371154e+05 3.32348461e+05 2.28391915e+05 3.49913493e+05 2.30282733e+05 3.64645531e+05 2.09774841e+05 3.62485315e+05 3.40336806e+05 3.78530255e+05 2.18428242e+05 2.37511266e+05 3.38130563e+05 2.39363199e+05 3.72185667e+05] [ 5.73159707e+05 9.54209408e+05 1.41809109e+05 6.21835737e+05 8.90620461e+05 6.08750569e+05 8.59684965e+05 6.01131742e+05 8.98015160e+05 6.05989190e+05 9.31015693e+05 5.59499029e+05 9.26251336e+05 8.77505427e+05 9.63463644e+05 5.79266525e+05 6.21676255e+05 8.63766987e+05 6.27176429e+05 9.48109155e+05] [ 1.32553628e+06 2.24100393e+06 2.93910316e+05 1.43477904e+06 2.09852439e+06 1.40588946e+06 2.02782039e+06 1.38721151e+06 2.11433897e+06 1.39919288e+06 2.18919243e+06 1.29403391e+06 2.17639033e+06 2.06915991e+06 2.26110308e+06 1.33935221e+06 1.43251781e+06 2.01777761e+06 1.44667386e+06 2.22702457e+06] [ 2.83202588e+06 4.66394218e+06 4.78776908e+05 3.03476133e+06 4.40037609e+06 2.98356974e+06 4.26924235e+06 2.94509854e+06 4.42791720e+06 2.96915488e+06 4.56785679e+06 2.77437702e+06 4.54148979e+06 4.34704418e+06 4.70006662e+06 2.86059067e+06 3.02601495e+06 4.20612932e+06 3.05769653e+06 4.63677011e+06] [ 4.86274545e+06 7.82705444e+06 6.06517248e+05 5.18172415e+06 7.41038157e+06 5.10470589e+06 7.20432043e+06 5.04104124e+06 7.45323909e+06 5.07871936e+06 7.67527226e+06 4.77301485e+06 7.63019142e+06 7.32786340e+06 7.88157878e+06 4.91111643e+06 5.16524656e+06 7.07868989e+06 5.21934758e+06 7.78240741e+06] [ 7.14237994e+06 1.12270471e+07 7.80174746e+05 7.57079944e+06 1.06674534e+07 7.47310543e+06 1.03909180e+07 7.38441346e+06 1.07268102e+07 7.43381653e+06 1.10250968e+07 7.02914624e+06 1.09612924e+07 1.05593550e+07 1.12969684e+07 7.21477162e+06 7.54585813e+06 1.01893659e+07 7.62214896e+06 1.11644532e+07] [ 8.29260434e+06 1.28361519e+07 9.81391148e+05 8.76937638e+06 1.22118132e+07 8.66498562e+06 1.19057655e+07 8.56715864e+06 1.22810993e+07 8.61852493e+06 1.26130393e+07 8.17516812e+06 1.25403622e+07 1.20932634e+07 1.29114181e+07 8.38017622e+06 8.74102584e+06 1.16836908e+07 8.82703217e+06 1.27649938e+07] [ 7.82668498e+06 1.22511449e+07 1.00834000e+06 8.30597016e+06 1.16190439e+07 8.20357463e+06 1.13125236e+07 8.10784418e+06 1.16926131e+07 8.15589390e+06 1.20278653e+07 7.71241058e+06 1.19506088e+07 1.14994255e+07 1.23238413e+07 7.91693081e+06 8.27940594e+06 1.11359744e+07 8.36629978e+06 1.21805152e+07] [ 7.19009238e+06 1.14402593e+07 9.12797006e+05 7.66365803e+06 1.08106523e+07 7.56329486e+06 1.05060006e+07 7.47020077e+06 1.08871419e+07 7.51715869e+06 1.12197259e+07 7.07673282e+06 1.11417692e+07 1.06907065e+07 1.15117208e+07 7.27879224e+06 7.64070642e+06 1.03760477e+07 7.72432871e+06 1.13723551e+07] [ 6.30274368e+06 9.94262563e+06 6.86296371e+05 6.70400458e+06 9.40690514e+06 6.62001505e+06 9.14627942e+06 6.53962323e+06 9.47108292e+06 6.57946369e+06 9.75457462e+06 6.20459295e+06 9.68638678e+06 9.30461043e+06 1.00037390e+07 6.37837111e+06 6.68368130e+06 9.02671942e+06 6.75553343e+06 9.88457173e+06] [ 5.12158621e+06 8.05185545e+06 4.93947387e+05 5.44120139e+06 7.62451887e+06 5.37595388e+06 7.41036914e+06 5.30950334e+06 7.67324267e+06 5.34221004e+06 7.90144710e+06 5.04002952e+06 7.84502697e+06 7.54064401e+06 8.09747806e+06 5.18005798e+06 5.42726438e+06 7.31115322e+06 5.48263870e+06 8.00574567e+06] [ 4.02609803e+06 6.43178368e+06 5.71879744e+05 4.29392735e+06 6.06971604e+06 4.24405141e+06 5.88659184e+06 4.18880586e+06 6.11541588e+06 4.21294535e+06 6.30861380e+06 3.96407071e+06 6.25582195e+06 5.99842723e+06 6.46315672e+06 4.07784480e+06 4.28519637e+06 5.82880385e+06 4.33028905e+06 6.39305506e+06] [ 2.87576423e+06 4.71496709e+06 6.57330471e+05 3.08985388e+06 4.42119673e+06 3.05352358e+06 4.27643597e+06 3.01164986e+06 4.46230779e+06 3.02707044e+06 4.61861457e+06 2.83252199e+06 4.57209133e+06 4.36425886e+06 4.73465754e+06 2.92054559e+06 3.08408827e+06 4.26004686e+06 3.12010214e+06 4.68358905e+06] [ 2.02017046e+06 3.34087632e+06 5.85513386e+05 2.17876061e+06 3.12254147e+06 2.15302606e+06 3.01806023e+06 2.12432904e+06 3.15464547e+06 2.13291288e+06 3.27066192e+06 1.99205770e+06 3.23459359e+06 3.08096952e+06 3.35294006e+06 2.05553372e+06 2.17443956e+06 3.01702397e+06 2.20122760e+06 3.31723438e+06] [ 1.22245138e+06 2.06547290e+06 3.73494477e+05 1.32727235e+06 1.92005857e+06 1.31059640e+06 1.85123831e+06 1.29244653e+06 1.94150004e+06 1.29691635e+06 2.01882002e+06 1.20421754e+06 1.99428325e+06 1.89209900e+06 2.07288979e+06 1.24604917e+06 1.32517351e+06 1.86036532e+06 1.34239091e+06 2.04990044e+06] [ 7.66715945e+05 1.33187431e+06 2.54677540e+05 8.38723570e+05 1.23185129e+06 8.26812235e+05 1.18413987e+06 8.14898127e+05 1.24623563e+06 8.17798062e+05 1.29922479e+06 7.53605759e+05 1.28345732e+06 1.21217848e+06 1.33737303e+06 7.82590528e+05 8.38157467e+05 1.19578535e+06 8.48900503e+05 1.32131602e+06] [ 5.01044103e+05 8.69914250e+05 1.75026950e+05 5.46357155e+05 8.07377011e+05 5.38484781e+05 7.76410022e+05 5.30925837e+05 8.16212727e+05 5.33300575e+05 8.49547992e+05 4.92258140e+05 8.39888916e+05 7.94797296e+05 8.73292383e+05 5.10841613e+05 5.45771006e+05 7.80913186e+05 5.52248974e+05 8.63193960e+05] [ 1.83598925e+05 3.32844070e+05 5.03558992e+04 2.02462312e+05 3.06417151e+05 1.99269150e+05 2.93296549e+05 1.96134558e+05 3.10323367e+05 1.97110887e+05 3.24323202e+05 1.79835939e+05 3.20208189e+05 3.01110564e+05 3.34147573e+05 1.87624158e+05 2.02375282e+05 2.97237034e+05 2.04981696e+05 3.30039320e+05] [ 6.91751514e+04 1.21195113e+05 3.06367694e+04 7.55137593e+04 1.12223853e+05 7.44573911e+04 1.07804067e+05 7.33667829e+04 1.13378917e+05 7.36346577e+04 1.18231776e+05 6.77505862e+04 1.16718678e+05 1.10340322e+05 1.21539894e+05 7.04378687e+04 7.54397594e+04 1.08464536e+05 7.63942739e+04 1.20223559e+05] [ 1.17419998e+04 2.05040475e+04 6.75994245e+03 1.28342814e+04 1.89418298e+04 1.26660814e+04 1.81859969e+04 1.24790041e+04 1.91652886e+04 1.25107303e+04 2.00134468e+04 1.15151201e+04 1.97064698e+04 1.86170802e+04 2.05343634e+04 1.19629008e+04 1.28064266e+04 1.83599386e+04 1.29935325e+04 2.03371139e+04] [ 7.95435542e-01 3.66927426e-01 -7.35564375e-01 2.67462538e-02 -5.56368024e-01 2.46174808e-01 -1.22257981e-02 7.84399119e-02 -2.20342716e-01 2.18654539e-01 8.73876842e-01 9.31141776e-02 -3.36021020e-01 -9.87107513e-01 -7.01504626e-01 -8.79652213e-01 -8.99813294e-01 7.76717502e-01 -2.38715958e-01 -8.34657056e-01] [-9.38432905e-01 1.00773837e-01 1.54338949e-01 2.37073737e-01 -1.69689071e-01 4.83755273e-01 9.00190348e-01 -7.37110288e-02 -6.70798465e-01 -9.01007059e-01 -1.79700255e-01 9.29154685e-01 2.19112067e-01 -6.96463507e-01 -6.71808983e-01 3.18152630e-01 1.45935032e-01 6.23218977e-01 -8.19527663e-01 -2.24235567e-01] [ 7.29089927e-01 2.59132726e-01 -8.62876364e-01 9.54327879e-01 1.31797183e-02 -5.89768232e-01 4.14285804e-01 2.49844788e-01 5.12070916e-01 -4.00060069e-01 4.29476101e-01 3.32279549e-01 7.12188445e-01 -6.88917587e-01 -6.38826026e-01 -4.67439385e-01 1.80809746e-01 -8.99343356e-01 6.57881592e-01 7.58598649e-01] [ 4.28299283e-01 -2.88572558e-01 -7.91460873e-01 -9.74866917e-01 5.06118926e-01 3.09750790e-01 9.01609781e-01 8.84692276e-01 -8.33521479e-01 9.29410442e-01 9.57454914e-04 -8.55746219e-01 9.23611421e-01 -3.15106391e-01 -7.11726352e-01 5.82875430e-01 -5.81634276e-01 -9.95675036e-02 8.74802476e-02 -3.59145210e-01] [-1.63156745e-01 5.63843539e-01 -9.98715824e-02 -2.03493772e-01 6.00415864e-01 8.61730095e-01 1.12647708e-01 -5.88556255e-01 -5.46894912e-01 3.77413517e-01 -1.98235195e-01 6.38787173e-01 7.89962305e-01 -2.45781383e-01 -4.16216476e-01 9.05707402e-01 6.02552447e-01 -6.84880596e-01 7.90689288e-01 8.41104414e-01] [-6.09058124e-01 6.06368523e-01 5.53481506e-01 1.25277474e-01 7.54257628e-02 -2.45605485e-01 8.48140604e-01 -6.53820682e-01 -4.96511371e-01 -5.50106981e-01 7.04067481e-01 -3.57817758e-01 4.63119706e-01 -4.76268576e-01 -6.23609600e-01 9.01547086e-01 9.29612305e-01 -9.33405344e-01 2.31445813e-01 6.18405206e-01] [ 1.20140280e+03 2.62441284e+03 8.12637666e+02 1.40832892e+03 2.33780338e+03 1.36059545e+03 2.20122482e+03 1.33380821e+03 2.36884541e+03 1.34238215e+03 2.52074822e+03 1.14203978e+03 2.48917044e+03 2.27756340e+03 2.64777078e+03 1.23303290e+03 1.41458002e+03 2.29306898e+03 1.43284713e+03 2.59461919e+03] [ 1.49933337e+04 2.99284805e+04 7.22933166e+03 1.71013625e+04 2.70069686e+04 1.66120166e+04 2.56030088e+04 1.63209874e+04 2.73145606e+04 1.64257714e+04 2.88547576e+04 1.43815423e+04 2.85532857e+04 2.63903095e+04 3.01967201e+04 1.52899384e+04 1.71644022e+04 2.64159981e+04 1.73686106e+04 2.96321147e+04] [ 4.07050544e+04 8.76562067e+04 -1.40982300e+03 4.82383149e+04 7.71481680e+04 4.61277016e+04 7.22643278e+04 4.51621578e+04 7.84841234e+04 4.57226511e+04 8.37542492e+04 3.82750847e+04 8.29371203e+04 7.50424001e+04 8.92085927e+04 4.13726729e+04 4.84513849e+04 7.70955462e+04 4.92349481e+04 8.67444357e+04] [ 1.19431694e+05 2.90343407e+05 -2.92102380e+04 1.44030819e+05 2.56510883e+05 1.37069999e+05 2.40816158e+05 1.33463892e+05 2.60597223e+05 1.35694439e+05 2.77633747e+05 1.11289791e+05 2.74975076e+05 2.49959585e+05 2.95737680e+05 1.21712716e+05 1.44039844e+05 2.50111371e+05 1.47313245e+05 2.87291031e+05] [ 5.03771110e+05 9.53494780e+05 1.89986141e+04 5.54788906e+05 8.86167987e+05 5.40622730e+05 8.53018440e+05 5.31706011e+05 8.93068346e+05 5.37497091e+05 9.27968784e+05 4.87768250e+05 9.22847924e+05 8.72907376e+05 9.64720855e+05 5.10011131e+05 5.52793337e+05 8.41586389e+05 5.60392100e+05 9.46600970e+05] [ 1.26046249e+06 2.16103670e+06 6.85846433e+04 1.35891172e+06 2.03126610e+06 1.33179678e+06 1.96729927e+06 1.31370188e+06 2.04389759e+06 1.32564222e+06 2.11141044e+06 1.22908514e+06 2.10185952e+06 2.00587238e+06 2.18285862e+06 1.27311445e+06 1.35393041e+06 1.93508919e+06 1.36977561e+06 2.14745286e+06] [ 2.30682635e+06 3.67662457e+06 5.42605863e+04 2.45125388e+06 3.48685356e+06 2.41235582e+06 3.39152947e+06 2.38398344e+06 3.50435213e+06 2.40293823e+06 3.60369447e+06 2.26020627e+06 3.58991232e+06 3.44955645e+06 3.70800784e+06 2.32639989e+06 2.44271017e+06 3.33082734e+06 2.46716119e+06 3.65617965e+06] [ 3.15884487e+06 4.92671669e+06 -6.80547121e+04 3.34448698e+06 4.68244497e+06 3.29509953e+06 4.55863280e+06 3.25740495e+06 4.70540485e+06 3.28290563e+06 4.83314368e+06 3.09831859e+06 4.81524715e+06 4.63472517e+06 4.96681359e+06 3.18427886e+06 3.33333718e+06 4.48047240e+06 3.36497696e+06 4.90012785e+06] [ 3.50280665e+06 5.44283818e+06 -3.47164469e+03 3.70894623e+06 5.17196607e+06 3.65611807e+06 5.03603686e+06 3.61514413e+06 5.19972097e+06 3.64184673e+06 5.34128730e+06 3.44097256e+06 5.31910821e+06 5.12015335e+06 5.48512920e+06 3.53430084e+06 3.69618637e+06 4.95528204e+06 3.73181670e+06 5.41304092e+06] [ 3.32515980e+06 5.27583138e+06 8.12798803e+04 3.53305502e+06 5.00240110e+06 3.48147547e+06 4.86512655e+06 3.44088787e+06 5.03262834e+06 3.46680699e+06 5.17560161e+06 3.26674413e+06 5.15087715e+06 4.95034999e+06 5.31594510e+06 3.35947996e+06 3.51994589e+06 4.78729295e+06 3.55596349e+06 5.24584189e+06] [ 2.94961522e+06 4.80301436e+06 4.03674778e+04 3.15437619e+06 4.52962984e+06 3.10366735e+06 4.39385802e+06 3.06488701e+06 4.56176542e+06 3.08987305e+06 4.70351638e+06 2.89142806e+06 4.67893310e+06 4.47754907e+06 4.84236385e+06 2.98278767e+06 3.14323990e+06 4.34328736e+06 3.17773926e+06 4.77413382e+06] [ 2.68986723e+06 4.42033131e+06 -3.34548391e+04 2.88652987e+06 4.15592762e+06 2.83723590e+06 4.02435982e+06 2.80060932e+06 4.18545375e+06 2.82422672e+06 4.32300969e+06 2.63081388e+06 4.29937243e+06 4.10469346e+06 4.45821646e+06 2.71987081e+06 2.87736743e+06 3.99288904e+06 2.90967255e+06 4.39290250e+06] [ 2.07172428e+06 3.35144646e+06 -2.69830966e+04 2.21691985e+06 3.15711833e+06 2.18011915e+06 3.05685703e+06 2.15273620e+06 3.17736627e+06 2.17025679e+06 3.27911487e+06 2.02625827e+06 3.26163004e+06 3.11879473e+06 3.37929188e+06 2.09247159e+06 2.21059505e+06 3.03466716e+06 2.23421510e+06 3.33138408e+06] [ 1.52595148e+06 2.52144767e+06 -1.00334725e+04 1.64253914e+06 2.36338820e+06 1.61496346e+06 2.28142121e+06 1.59327317e+06 2.38275800e+06 1.60590648e+06 2.46470398e+06 1.49283972e+06 2.44889400e+06 2.33284723e+06 2.54181250e+06 1.54392493e+06 1.63853122e+06 2.27819738e+06 1.65729090e+06 2.50517010e+06] [ 1.04068225e+06 1.79015329e+06 1.05373826e+05 1.12868939e+06 1.66965695e+06 1.10966175e+06 1.60941064e+06 1.09358944e+06 1.68486337e+06 1.10167127e+06 1.74797773e+06 1.01798629e+06 1.73404748e+06 1.64608958e+06 1.80304248e+06 1.05590624e+06 1.12592940e+06 1.60700675e+06 1.14008710e+06 1.77757633e+06] [ 7.81220707e+05 1.33390356e+06 1.39098472e+05 8.48324721e+05 1.24104874e+06 8.34519586e+05 1.19553911e+06 8.22940762e+05 1.25322368e+06 8.28029000e+05 1.30202112e+06 7.65155883e+05 1.29014742e+06 1.22293399e+06 1.34241181e+06 7.93503086e+05 8.46471698e+05 1.19990926e+06 8.57205874e+05 1.32419012e+06] [ 5.01123927e+05 8.60093320e+05 1.28326961e+05 5.46210586e+05 7.97569615e+05 5.36781766e+05 7.67410554e+05 5.29494114e+05 8.06172416e+05 5.32467544e+05 8.38942357e+05 4.90741481e+05 8.30639904e+05 7.85477928e+05 8.65671734e+05 5.09248095e+05 5.45005447e+05 7.73886691e+05 5.52160322e+05 8.53555802e+05] [ 3.13873449e+05 5.41499045e+05 1.16545724e+05 3.42471817e+05 5.02055259e+05 3.36693470e+05 4.82716349e+05 3.32222995e+05 5.07711871e+05 3.33894341e+05 5.28410360e+05 3.07977554e+05 5.23060682e+05 4.94234504e+05 5.44672457e+05 3.19372545e+05 3.41914167e+05 4.87296428e+05 3.46126559e+05 5.37429033e+05] [ 1.74141612e+05 2.98221751e+05 5.92590803e+04 1.89582506e+05 2.76988159e+05 1.86475143e+05 2.66534783e+05 1.84087866e+05 2.80239700e+05 1.84964392e+05 2.91290552e+05 1.71161092e+05 2.88367813e+05 2.72869394e+05 2.99943793e+05 1.77293046e+05 1.89217211e+05 2.68637729e+05 1.91461675e+05 2.95981010e+05] [ 7.70686313e+04 1.18919621e+05 3.71600699e+04 8.16181206e+04 1.12864636e+05 8.07062321e+04 1.09925100e+05 7.99605884e+04 1.13586067e+05 8.01603621e+04 1.16857818e+05 7.61905233e+04 1.15963166e+05 1.11661417e+05 1.19390882e+05 7.80620477e+04 8.13505935e+04 1.08401316e+05 8.21403078e+04 1.18199319e+05] [ 2.00769629e+04 2.83849975e+04 1.14886415e+04 2.08913587e+04 2.73552956e+04 2.07254724e+04 2.69021725e+04 2.05935606e+04 2.74647198e+04 2.05992896e+04 2.80290642e+04 1.99611381e+04 2.78580077e+04 2.71657555e+04 2.84817898e+04 2.02849154e+04 2.07972115e+04 2.62026885e+04 2.09798884e+04 2.82462689e+04] [ 6.04658682e-01 9.12474780e-01 5.18903936e-01 8.53073651e-01 -8.21428503e-01 7.33713371e-01 9.67953597e-01 8.32444395e-02 6.97239794e-01 -2.36199708e-01 3.60902384e-01 -9.76434463e-02 2.38733166e-01 -8.16488560e-01 8.06915547e-01 -9.69485467e-01 1.10502127e-01 -7.95462389e-01 9.31313040e-01 -1.84270741e-03] [ 9.69738971e-01 1.67520815e-01 -1.71912507e-03 -2.10249337e-01 7.26366323e-01 -3.25923531e-01 4.57540561e-01 -7.81700319e-01 5.31839463e-01 4.54029200e-01 5.33417022e-01 8.93708968e-01 -7.73344171e-01 -6.02877190e-01 -8.43487217e-01 -2.75690972e-01 -6.08990794e-02 4.40515462e-02 -3.55596888e-01 8.18083195e-01] [ 2.80220745e-01 5.22893881e-01 -2.07329348e-01 9.58764919e-01 -5.14019080e-01 8.82042125e-01 3.57976836e-01 6.51210548e-02 -9.31384934e-02 -3.34401184e-01 3.02766689e-01 -7.89355737e-01 -4.93219588e-01 8.59582296e-01 -5.87396813e-01 6.34903913e-01 -3.00504352e-01 4.63497068e-01 -9.64828995e-01 3.84823092e-01] [-2.41618705e-01 5.66671233e-01 6.65282603e-02 8.30098511e-01 -8.03899960e-01 4.61935320e-02 -1.12370122e-01 5.97784792e-01 4.25957179e-01 1.72175369e-01 4.71524924e-01 1.37788579e-01 1.17276882e-01 1.05511931e-01 8.90962843e-01 -3.22809186e-01 -1.48934013e-02 -6.89915533e-01 -9.66437046e-01 7.29574222e-02] [ 5.23011829e-01 8.60530391e-01 -5.12435590e-01 4.64878342e-01 4.16646953e-01 -7.01402087e-03 -4.01933967e-01 8.26675396e-01 8.66112780e-01 -8.66462505e-01 1.47177351e-01 7.60784152e-01 9.50551613e-01 9.55571494e-01 -2.41345855e-01 8.33726060e-01 -6.44782061e-01 -6.63602830e-01 -2.75727005e-01 -8.05995946e-01] [ 9.81864274e-01 3.59641892e-01 8.77308144e-02 8.59534303e-01 9.94948517e-01 6.22941747e-01 -7.95335309e-01 -8.37654022e-01 -1.71502373e-01 1.09504856e-01 3.33920708e-01 5.88236670e-01 3.10246379e-01 -3.36584116e-01 5.74452116e-01 -5.51883324e-01 -4.90368432e-01 -2.99479041e-01 -1.08942377e-01 -6.00767293e-02] [ 8.16457939e-01 -9.57030337e-01 7.56808201e-01 2.99785395e-01 -1.50881848e-01 -4.93406345e-01 7.26128910e-01 9.60166983e-01 -4.42379317e-01 9.21779474e-01 -3.80818148e-01 3.24996155e-01 6.04734749e-01 -1.92417197e-01 9.62344199e-01 -3.14130703e-01 -7.80663487e-01 -6.84924430e-01 -8.35177852e-01 2.33227778e-01] [ 2.06996650e-01 -3.06854685e-01 -2.24064843e-01 1.91555496e-01 1.79392718e-02 4.38613318e-01 1.33957682e-01 5.32155381e-01 7.35053030e-01 -5.01399610e-01 -6.84124116e-01 -3.74097217e-01 -2.21592107e-01 -5.90510458e-01 1.40519310e-01 2.43059400e-01 -1.85872925e-01 -1.11440433e-01 -9.75153315e-01 -2.66862348e-01] [-5.25182086e-01 -9.95316194e-01 6.73804898e-01 1.76596803e-01 7.08470879e-01 1.60169864e-01 -9.94964669e-01 1.26533708e-01 7.63531941e-01 -9.44516020e-01 -5.19920044e-01 -8.43138386e-01 -4.06999690e-01 6.97276547e-01 -4.91741139e-01 1.21562989e-01 -2.55829183e-01 7.01575873e-01 3.31003464e-02 -6.88108612e-01] [-3.72855785e+04 -4.40164652e+04 -1.97804288e+04 -3.63725784e+04 -4.56191815e+04 -3.67360826e+04 -4.59768230e+04 -3.66110765e+04 -4.52540382e+04 -3.67796998e+04 -4.46036093e+04 -3.77598661e+04 -4.48002432e+04 -4.58425837e+04 -4.37645328e+04 -3.74380670e+04 -3.61581149e+04 -4.17466261e+04 -3.61160698e+04 -4.40803611e+04] [-8.29343991e+04 -8.35369327e+04 -2.88593512e+04 -8.17681690e+04 -8.53593827e+04 -8.22186579e+04 -8.57720169e+04 -8.20928038e+04 -8.49333569e+04 -8.23076577e+04 -8.41601514e+04 -8.33456129e+04 -8.44693530e+04 -8.55936638e+04 -8.32181612e+04 -8.29818519e+04 -8.16877947e+04 -8.30403065e+04 -8.15368206e+04 -8.36471779e+04] [-6.70120833e+04 -4.56879818e+04 -2.51626007e+04 -6.39381604e+04 -4.98757325e+04 -6.49089406e+04 -5.15214771e+04 -6.51799192e+04 -4.92128386e+04 -6.50962560e+04 -4.71787773e+04 -6.78921252e+04 -4.76757102e+04 -5.05647561e+04 -4.49227785e+04 -6.67482849e+04 -6.40558018e+04 -5.08772556e+04 -6.35535144e+04 -4.60518441e+04] [ 3.11868445e+04 6.85598045e+04 -1.96401834e+04 3.68009507e+04 6.08688054e+04 3.50575466e+04 5.75532512e+04 3.42936761e+04 6.18191505e+04 3.47959286e+04 6.56178027e+04 2.91763109e+04 6.50549257e+04 5.94872383e+04 6.99939974e+04 3.15714023e+04 3.67113170e+04 5.96958776e+04 3.75478994e+04 6.78844668e+04] [ 1.10457864e+05 1.66320616e+05 1.69895104e+04 1.16238729e+05 1.58923442e+05 1.14585566e+05 1.55065699e+05 1.13468093e+05 1.59609540e+05 1.14323749e+05 1.63475589e+05 1.08683709e+05 1.63067041e+05 1.57409418e+05 1.67723312e+05 1.11172929e+05 1.15939992e+05 1.52284856e+05 1.16778485e+05 1.65575877e+05] [ 2.16297663e+05 3.20188931e+05 1.14340555e+04 2.26289149e+05 3.07575889e+05 2.23389544e+05 3.00766294e+05 2.21262899e+05 3.08546736e+05 2.22867920e+05 3.15226642e+05 2.12929873e+05 3.14553617e+05 3.05015153e+05 3.22681771e+05 2.17520235e+05 2.25609774e+05 2.93587735e+05 2.27160377e+05 3.18777636e+05] [ 3.42402930e+05 5.00152131e+05 5.39818890e+03 3.57102689e+05 4.81668395e+05 3.52806190e+05 4.71764833e+05 3.49542733e+05 4.83036254e+05 3.51997606e+05 4.92813933e+05 3.37322748e+05 4.91850236e+05 4.78042652e+05 5.03903444e+05 3.44253109e+05 3.55837284e+05 4.59401618e+05 3.58375312e+05 4.97993430e+05] [ 4.22735034e+05 6.29452411e+05 5.06869218e+04 4.43491517e+05 6.02684747e+05 4.37608940e+05 5.88758884e+05 4.33488808e+05 6.05444672e+05 4.36470050e+05 6.19289252e+05 4.16298633e+05 6.17515633e+05 5.97474325e+05 6.34285849e+05 4.25392513e+05 4.42079898e+05 5.77007440e+05 4.45384623e+05 6.26515364e+05] [ 3.50456206e+05 5.49083616e+05 6.20367108e+04 3.72293511e+05 5.18951228e+05 3.66377074e+05 5.04027865e+05 3.62395177e+05 5.24075840e+05 3.65267535e+05 5.38625690e+05 3.44094738e+05 5.36520846e+05 5.13347902e+05 5.53817543e+05 3.53454236e+05 3.71325780e+05 5.00523746e+05 3.74385969e+05 5.46122261e+05] [ 3.94827062e+05 6.17324984e+05 3.24698431e+04 4.18933171e+05 5.85148722e+05 4.12582538e+05 5.68532838e+05 4.08046540e+05 5.89256727e+05 4.11330848e+05 6.05580507e+05 3.87441168e+05 6.03258161e+05 5.78869651e+05 6.22454847e+05 3.98588789e+05 4.17692367e+05 5.62374963e+05 4.21380528e+05 6.14052317e+05] [ 2.66095957e+05 4.21819080e+05 9.47308785e+03 2.83895339e+05 3.98482316e+05 2.79028302e+05 3.84053729e+05 2.75791547e+05 4.01111453e+05 2.78260228e+05 4.13005643e+05 2.60528632e+05 4.11520889e+05 3.94069037e+05 4.25912566e+05 2.68604931e+05 2.83037290e+05 3.84243496e+05 2.85921002e+05 4.19528012e+05] [ 1.97698729e+05 3.05957315e+05 4.30193770e+03 2.09738655e+05 2.90090241e+05 2.06279751e+05 2.80497737e+05 2.04023339e+05 2.91833833e+05 2.05709015e+05 2.99854936e+05 1.93824463e+05 2.99019000e+05 2.87097795e+05 3.08980698e+05 1.99076324e+05 2.09205330e+05 2.79511793e+05 2.11099950e+05 3.04385886e+05] [ 1.51643026e+05 2.25374989e+05 4.13121262e+03 1.59055953e+05 2.15839402e+05 1.56920298e+05 2.10969756e+05 1.55427839e+05 2.16706321e+05 1.56501282e+05 2.21625092e+05 1.49223083e+05 2.21161138e+05 2.14055387e+05 2.27268618e+05 1.52617378e+05 1.58542336e+05 2.06606172e+05 1.59794145e+05 2.24287886e+05] [ 1.13799699e+05 1.70486345e+05 8.95348739e+03 1.19583998e+05 1.62973656e+05 1.18035323e+05 1.59249029e+05 1.16907742e+05 1.63712629e+05 1.17638188e+05 1.67613197e+05 1.12093014e+05 1.67095759e+05 1.61615293e+05 1.71779581e+05 1.14701655e+05 1.19140509e+05 1.56059905e+05 1.20188976e+05 1.69601119e+05] [ 5.54044141e+04 8.65873198e+04 1.02012374e+04 5.89174044e+04 8.19428123e+04 5.80454593e+04 7.96718390e+04 5.74492731e+04 8.24955820e+04 5.77879038e+04 8.48934331e+04 5.45057002e+04 8.44888392e+04 8.10582680e+04 8.72524211e+04 5.60070345e+04 5.87476835e+04 7.88725293e+04 5.92985084e+04 8.60838501e+04] [ 3.86412782e+04 6.34266004e+04 3.69041190e+03 4.15761809e+04 5.95040458e+04 4.10094795e+04 5.75473756e+04 4.05228220e+04 6.02139243e+04 4.07724839e+04 6.22121873e+04 3.82072974e+04 6.16840341e+04 5.88036631e+04 6.37857042e+04 3.93474879e+04 4.14491197e+04 5.74974764e+04 4.18980123e+04 6.30148277e+04] [ 2.25064378e+04 3.98621392e+04 -3.79686780e+03 2.47630385e+04 3.68006756e+04 2.43332168e+04 3.52462248e+04 2.39700816e+04 3.74321549e+04 2.41579558e+04 3.89642615e+04 2.21880932e+04 3.85152544e+04 3.62665503e+04 4.01309473e+04 2.30320219e+04 2.47114033e+04 3.58485686e+04 2.50175042e+04 3.95535956e+04] [ 1.87880340e+04 3.05568405e+04 5.06973668e+03 2.01606448e+04 2.87160621e+04 1.98708005e+04 2.77791071e+04 1.96428792e+04 2.89520684e+04 1.97423887e+04 2.99430849e+04 1.84861222e+04 2.96733772e+04 2.83438427e+04 3.07189563e+04 1.90526656e+04 2.01085198e+04 2.76744292e+04 2.03180788e+04 3.03550426e+04] [-6.87044688e-01 -8.12663762e-01 3.53047511e-01 2.80693483e-01 -7.90176046e-01 7.83349247e-01 -2.40204684e-02 -1.11846145e-01 3.20913296e-01 9.59964737e-01 -3.64106928e-01 6.12379249e-01 -5.06158555e-01 -7.53293888e-01 9.60297566e-01 6.71373340e-01 -9.23745506e-01 -9.65584872e-02 7.59261364e-01 -3.67386491e-01] [ 8.23332671e-01 7.44078097e-01 -1.42307112e-01 -4.47358836e-01 7.14673571e-01 -2.86302047e-01 1.69909519e-01 7.45916402e-01 -9.47396224e-01 6.41746323e-01 -4.59424901e-01 -7.22979121e-01 2.71046470e-01 -4.13747317e-01 9.46464694e-01 3.28865240e-01 4.26095377e-01 -3.62196214e-01 -1.57842463e-01 4.58065993e-01] [ 9.03157119e-01 -9.96877481e-02 -8.45656752e-01 -1.39808692e-01 -8.65586865e-01 8.08784631e-01 9.99154768e-01 -3.91358553e-01 -9.88870401e-02 -5.49081813e-01 -4.60986166e-01 -9.23433522e-01 -1.13922931e-01 -9.62865025e-01 6.97736874e-01 5.05594361e-02 3.87473368e-02 9.87965486e-01 7.85621416e-01 -5.77261468e-01] [-5.81980281e-01 7.83670513e-02 2.53857999e-01 7.54588332e-01 -5.66803284e-01 -9.22563764e-01 -9.26792679e-01 1.68927077e-02 -8.57073425e-01 -6.09920458e-01 -9.63252768e-01 -2.92311020e-01 5.12468738e-01 6.88805253e-01 6.30640374e-02 3.05776412e-01 4.78415051e-02 2.16217060e-01 4.11221448e-01 -5.18250119e-01] [ 8.56916541e-01 -2.14817681e-01 4.96378819e-01 -8.79171373e-01 9.35241247e-01 9.98783683e-01 6.16588694e-01 -4.17286791e-01 -9.89566927e-01 5.14719101e-01 -4.46334201e-01 -9.74906456e-01 5.70653323e-01 3.58499433e-02 8.58079437e-01 -4.39771753e-01 -6.30445294e-01 -4.62434417e-01 -9.14500314e-01 -9.80208001e-02]] syn1 = [[ 1.55112719e+01 1.12387389e+02 4.81669781e+01 1.20651512e+02 1.01597811e+02 1.06228256e+02 5.82031937e+01 7.78134508e+01 7.95483453e+01 1.48237402e+01 -1.03852040e+01 6.21325504e+01 -3.58200319e+01 5.32740816e+01 5.67019411e+01 8.81379570e+01 2.03293011e+01 5.64640721e+01 3.32105183e+01 8.58347937e+01 5.09350585e+01 -1.65266521e+01 9.80285815e+00 4.04691231e+01 7.00003772e+01 6.27446100e+01] [ 1.77926112e+01 1.35412888e+02 6.14348396e+01 1.47116963e+02 1.21211149e+02 1.28361593e+02 7.10746009e+01 8.48981340e+01 1.05092584e+02 2.73690705e+01 5.25999931e+00 7.57044456e+01 -3.30854140e+01 6.91705370e+01 6.78252607e+01 1.16570068e+02 4.30180003e+01 6.82559502e+01 5.54695745e+01 1.02920324e+02 5.48152765e+01 -9.11752966e+00 2.64431107e+01 5.13616026e+01 9.20488487e+01 7.47738002e+01] [-1.89098772e+01 2.21881742e+00 -1.82486334e-01 1.66163206e+00 1.67816141e+00 7.96646339e+00 -7.96847234e-01 -3.23990004e-01 -3.71225507e+00 -2.87912223e+01 -7.23352617e+01 -3.68729647e-01 7.99126534e+01 -1.64122859e+00 -2.73746165e-01 -1.71556284e+00 -8.70169863e+00 -8.12228058e-01 -9.77080870e+00 1.42377092e+00 6.94060634e-02 -8.95599457e+01 -2.36939887e+01 1.73506868e-01 -5.21677228e+00 -1.85558573e+00] [ 1.52087689e+01 1.10685075e+02 4.83561430e+01 1.21507714e+02 1.01172400e+02 1.05147273e+02 5.75111603e+01 7.43446390e+01 8.15983231e+01 1.58479310e+01 -8.28511982e+00 5.91737150e+01 -3.37524661e+01 5.38045874e+01 5.57068760e+01 8.86209602e+01 2.39950249e+01 5.44772942e+01 3.52251103e+01 8.59208447e+01 4.89898446e+01 -1.61922201e+01 1.10445224e+01 3.96149623e+01 7.06245616e+01 6.19313941e+01] [ 1.81158710e+01 1.36424707e+02 6.05928526e+01 1.48189157e+02 1.23287525e+02 1.32428906e+02 7.10624028e+01 9.03019784e+01 1.03489783e+02 2.80293456e+01 1.03146581e+00 8.03479608e+01 -3.63770981e+01 6.99744460e+01 6.91439510e+01 1.15624630e+02 3.91002675e+01 6.96213596e+01 5.35540698e+01 1.02511596e+02 6.04024507e+01 -1.11343772e+01 2.25194034e+01 5.33428817e+01 9.16323340e+01 7.72395220e+01] [ 1.55446043e+01 1.11952598e+02 4.82811534e+01 1.21453876e+02 1.00832949e+02 1.05501928e+02 5.84701670e+01 7.49837122e+01 8.17444183e+01 1.41563115e+01 -8.52881145e+00 5.94832929e+01 -3.45235120e+01 5.40326677e+01 5.73212815e+01 8.86244807e+01 2.28866804e+01 5.58251960e+01 3.44425187e+01 8.60145527e+01 4.97787243e+01 -1.44354500e+01 1.16600654e+01 3.87383192e+01 7.02042655e+01 6.13279257e+01] [ 1.86223171e+01 1.37827596e+02 5.99475039e+01 1.48721392e+02 1.24226110e+02 1.33148730e+02 7.25350515e+01 9.05669153e+01 1.01598617e+02 2.61745363e+01 -1.25048419e+00 8.06920006e+01 -3.73206505e+01 6.96662791e+01 6.80040866e+01 1.14573277e+02 3.88508157e+01 7.09760330e+01 5.17315070e+01 1.03264673e+02 6.11186123e+01 -1.42154906e+01 2.17160533e+01 5.43333904e+01 9.00241585e+01 7.86046148e+01] [ 1.66641778e+01 1.11960419e+02 4.85329018e+01 1.20897964e+02 9.99445027e+01 1.05309280e+02 5.73701004e+01 7.42665513e+01 8.05940964e+01 1.44813049e+01 -9.72550402e+00 6.04353709e+01 -3.34886182e+01 5.42232664e+01 5.58410834e+01 8.89359593e+01 2.32710906e+01 5.50227692e+01 3.39600246e+01 8.63530663e+01 4.94842711e+01 -1.62125748e+01 1.02474321e+01 3.89560323e+01 7.02438430e+01 6.27807381e+01] [ 1.81207068e+01 1.36309298e+02 5.99590811e+01 1.47913067e+02 1.23300139e+02 1.31157290e+02 7.11838075e+01 8.91784440e+01 1.02003982e+02 2.65932702e+01 1.24918767e+00 7.87455260e+01 -3.35028576e+01 7.01878376e+01 6.81708917e+01 1.15447659e+02 3.99744213e+01 7.07695923e+01 5.38059918e+01 1.03812570e+02 5.86972756e+01 -9.12458588e+00 2.40542917e+01 5.44236401e+01 9.08528951e+01 7.56183167e+01] [ 1.53141732e+01 1.11941999e+02 4.77207413e+01 1.20571862e+02 1.02060279e+02 1.05557808e+02 5.82677310e+01 7.50542345e+01 8.22023999e+01 1.56498825e+01 -8.34673391e+00 6.13690485e+01 -3.49467201e+01 5.30316789e+01 5.58931181e+01 8.74335493e+01 2.31057837e+01 5.48100921e+01 3.42621805e+01 8.66560968e+01 4.92214722e+01 -1.46231147e+01 1.07356822e+01 3.95328211e+01 7.09126967e+01 6.09669103e+01] [ 1.75131533e+01 1.35177617e+02 6.02386621e+01 1.47880738e+02 1.23176212e+02 1.30225539e+02 7.05208812e+01 8.78348642e+01 1.04134734e+02 2.79739461e+01 3.12722574e+00 7.56768731e+01 -3.26984753e+01 6.97950911e+01 6.81270754e+01 1.15825574e+02 4.09649805e+01 6.95778365e+01 5.44070727e+01 1.02824369e+02 5.83326809e+01 -7.70992297e+00 2.49783137e+01 5.21516051e+01 9.14506336e+01 7.50818359e+01] [ 1.68967624e+01 1.13820023e+02 4.81760307e+01 1.21720236e+02 1.01727429e+02 1.07925102e+02 5.93734714e+01 7.69317376e+01 8.01880903e+01 1.25563795e+01 -1.15117675e+01 6.24113416e+01 -3.53121853e+01 5.43354891e+01 5.69002663e+01 8.76698679e+01 2.04172002e+01 5.70646162e+01 3.24599581e+01 8.73893553e+01 5.16010071e+01 -1.53261378e+01 7.44623316e+00 4.18030165e+01 6.99940981e+01 6.33502634e+01] [ 1.83859661e+01 1.35453180e+02 6.06160633e+01 1.47756335e+02 1.23682781e+02 1.29360949e+02 6.98849363e+01 8.75819449e+01 1.04567007e+02 2.73285602e+01 3.66150976e+00 7.73257238e+01 -3.45917894e+01 6.98157781e+01 6.69885345e+01 1.15897945e+02 4.23743511e+01 6.97468904e+01 5.51370780e+01 1.02694181e+02 5.81584976e+01 -9.87009976e+00 2.41367214e+01 5.37173514e+01 9.11877736e+01 7.49158939e+01] [ 1.90993811e+01 1.36977204e+02 6.08519445e+01 1.47863228e+02 1.24816227e+02 1.32434827e+02 7.21612148e+01 9.04867319e+01 1.02283054e+02 2.69689242e+01 6.85333047e-01 7.92018132e+01 -3.61035000e+01 6.82787048e+01 6.81964848e+01 1.16267413e+02 3.93524854e+01 7.15881836e+01 5.28648847e+01 1.03197500e+02 6.10234913e+01 -1.12381149e+01 2.23727440e+01 5.43436068e+01 9.03745049e+01 7.78430049e+01] [ 1.83594100e+01 1.34881533e+02 6.07798826e+01 1.47574431e+02 1.21043963e+02 1.28726614e+02 7.02660463e+01 8.36970658e+01 1.05613894e+02 2.95057590e+01 4.15070850e+00 7.49017075e+01 -3.39517210e+01 7.02614285e+01 6.77881136e+01 1.16286262e+02 4.27236877e+01 6.77126677e+01 5.75098972e+01 1.02046897e+02 5.49039392e+01 -9.56225982e+00 2.54179145e+01 5.09898822e+01 9.13000464e+01 7.46455677e+01] [ 1.61878584e+01 1.12835955e+02 4.90804779e+01 1.22454509e+02 1.01175560e+02 1.07220372e+02 5.91197344e+01 7.73703270e+01 8.05703005e+01 1.42062800e+01 -9.74589202e+00 6.13728930e+01 -3.51376208e+01 5.41228497e+01 5.67272079e+01 8.85926746e+01 2.19229608e+01 5.58279647e+01 3.28780742e+01 8.66542812e+01 5.07836216e+01 -1.61604182e+01 9.50358114e+00 4.07362930e+01 6.94494650e+01 6.30168550e+01] [ 1.48946366e+01 1.10092214e+02 4.84230134e+01 1.20523110e+02 1.00003447e+02 1.03417396e+02 5.67773033e+01 7.27292952e+01 8.24862431e+01 1.43113259e+01 -9.29130535e+00 5.87113426e+01 -3.37394486e+01 5.40071107e+01 5.69231353e+01 8.85865581e+01 2.38506267e+01 5.38157452e+01 3.60529512e+01 8.58574758e+01 4.92005455e+01 -1.55410197e+01 1.18351868e+01 4.00757371e+01 6.98734223e+01 6.12588690e+01] [ 1.71048331e+01 1.27420537e+02 5.65824760e+01 1.40790404e+02 1.15737057e+02 1.21617192e+02 6.53048598e+01 8.05588195e+01 9.95780634e+01 2.52622002e+01 1.36823579e+00 7.21921042e+01 -3.37460724e+01 6.46827611e+01 6.35099807e+01 1.07707031e+02 3.69403480e+01 6.26289907e+01 5.08592219e+01 9.65191911e+01 5.42578601e+01 -1.04648379e+01 2.08331449e+01 4.82984919e+01 8.62452224e+01 6.98547007e+01] [ 1.48684817e+01 1.11202040e+02 4.83832729e+01 1.20484729e+02 1.00576759e+02 1.04728830e+02 5.72821998e+01 7.28700800e+01 8.26250773e+01 1.49017487e+01 -7.44948289e+00 5.93496073e+01 -3.48716000e+01 5.34537404e+01 5.62233131e+01 8.90749593e+01 2.43076912e+01 5.39285033e+01 3.43803074e+01 8.60604090e+01 4.79325196e+01 -1.57036247e+01 1.17998373e+01 3.89319067e+01 6.97969331e+01 5.99648878e+01] [ 1.68332411e+01 1.35473870e+02 6.03928441e+01 1.47575144e+02 1.21517740e+02 1.27869422e+02 7.07464536e+01 8.57668908e+01 1.05197576e+02 2.90248134e+01 3.83946868e+00 7.55667342e+01 -3.42226090e+01 6.99947736e+01 6.68625205e+01 1.15073440e+02 4.22162034e+01 6.82773982e+01 5.51957558e+01 1.03389153e+02 5.57364062e+01 -8.30813379e+00 2.49961191e+01 5.19157749e+01 9.23180368e+01 7.36442234e+01]] syn2 = [[-2.04919180e+00 9.69272681e-01 -2.41385567e-01 -3.66637467e+00 -8.49137204e-01 -7.42832830e+00 2.04989303e+00 -3.14783888e+00 3.84159379e+00 -6.37381441e-01] [ 7.10005922e-01 -2.74885315e+00 1.48511797e+00 -8.80490851e-02 1.40508656e+00 5.80953629e-01 -3.49121922e-01 6.23827801e-01 1.69092490e+00 1.16721855e+00] [-6.14153355e-01 -4.61750240e-01 1.33665573e+00 -6.77398311e-01 9.68457005e-01 -1.01825750e-01 1.17424221e+00 -4.32690171e-03 9.29964563e-01 -1.18036891e+00] [ 1.54657158e+00 -2.41422396e+00 -1.18264457e-01 2.46416563e-01 2.04967661e-01 3.44268283e-02 -2.08325802e+00 1.09780605e+00 1.72271260e+00 1.52486412e+00] [ 6.14621598e-01 -3.39399648e+00 9.51116995e-01 5.41241270e-01 7.46267603e-01 1.14705082e+00 -4.93462553e-01 1.02516950e+00 1.26408347e+00 -4.31887289e-01] [ 1.55264256e+00 -3.84944459e+00 -1.17910840e+00 2.61961268e-01 -2.48099886e-01 2.25571795e+00 -2.72146526e+00 1.52470460e+00 5.01741662e+00 1.03539423e+00] [-1.52219979e+00 -1.40390435e+00 7.09053852e-01 -6.27039716e-01 8.99573381e-01 2.82627548e-01 8.70711444e-01 1.61809792e-01 4.53897365e-01 -1.15140904e+00] [-5.84161051e-02 -7.27507095e-01 1.67496190e-01 -1.79935722e-01 3.12377085e-01 -4.53721234e-01 8.98969309e-01 -3.26631253e-01 7.13657251e-01 -1.12681378e+00] [ 5.64223429e-01 -1.24352584e+00 -1.92098142e+00 1.45226859e-01 -1.88284196e-01 -2.79600500e-01 -6.21898146e-01 -7.02274481e-01 -4.37490614e+00 1.07036967e+00] [ 2.45553493e-01 1.50541601e+00 -2.16912507e+00 -1.58900015e+00 -1.36551221e+00 -3.66538417e+00 -2.98548659e-02 7.71852317e-01 -9.52621511e+00 1.54886728e-02] [-3.94515148e+00 -4.20583332e+00 -7.00577622e+00 -3.41474814e+00 -5.10536899e+00 -3.86828114e+00 -2.89223424e+00 -3.37955264e+00 -8.78671562e+00 -1.24583793e+00] [-1.20248210e+00 -8.53535003e-03 1.40809495e+00 -1.60528974e-01 9.34208787e-02 -1.41620270e-01 1.43717354e+00 -4.54004404e-01 9.61089988e-01 -1.20093078e+00] [-4.40013584e+00 -8.11130382e+00 -5.14946951e+00 -1.93300518e+00 -5.25471741e+00 -3.33788495e+00 -6.79302786e+00 -7.94056363e+00 -7.19189277e+00 -2.13818199e+00] [-9.47521347e-01 -8.93792027e-01 2.70364866e-01 3.92989861e-02 6.33257500e-01 -6.71215771e-02 -7.82802803e-01 -4.29581771e-01 -2.13653780e+00 4.08474308e-01] [-7.54850155e-01 -6.43977247e-01 -2.55211954e-01 -5.01329920e-01 1.28514328e+00 3.68264359e-01 -6.12898979e-01 -2.47629210e-01 6.46115592e-01 -8.06453591e-01] [ 7.75865940e-01 -2.44988120e+00 -3.25183354e+00 3.45741537e-01 -8.45333889e-01 -1.30141580e-01 -2.68005262e+00 2.03306473e+00 -2.17618387e+00 5.13369281e-01] [-9.83143414e-01 -8.13429765e-01 -2.43489488e+00 -5.75401360e-01 -1.80723789e+00 -2.75845465e+00 -6.62049030e-01 -5.48723960e-01 -2.64280100e+00 9.12504296e-01] [-3.64623282e-01 -1.84833179e+00 3.15286019e-02 -7.84966375e-01 -3.02995250e-01 3.23416082e-01 2.89867710e-01 5.17832703e-01 6.14871715e-01 -6.35168141e-01] [-7.06371392e-01 7.68528599e-02 -4.34327169e+00 -5.45471125e-01 -2.03525691e+00 -2.31207902e+00 3.67301807e-02 4.21433674e-01 -1.35192948e+00 -3.90802904e-02] [-1.59571430e-01 -3.32026916e+00 4.38529697e-01 7.47480435e-02 1.16384132e+00 1.64159366e+00 -2.76863506e+00 1.00348646e+00 7.31549360e-01 -3.07719496e-03] [-1.26867762e+00 -5.21703702e-01 1.24495701e+00 -2.17718446e-01 1.18670773e+00 3.96463602e-02 7.84896661e-01 -6.99585039e-01 7.48424065e-01 -6.21209748e-01] [-7.42849329e+00 -8.91533459e+00 -1.00684891e+01 -6.19452733e+00 -7.07252556e+00 -4.81947501e+00 -4.63511588e+00 -8.82548231e+00 -9.33801319e+00 -3.46980432e+00] [-6.58275734e-01 -3.88699147e-01 -2.85204247e+00 -1.21958168e+00 -7.33270211e-01 -3.12953897e+00 1.06135910e+00 7.86928852e-01 -8.60265570e+00 4.71849624e-01] [ 4.98938238e-01 -8.87926674e-01 4.51144100e-01 -6.32850337e-01 7.81179575e-01 -9.31640115e-03 1.36218641e+00 1.99898365e-02 1.27753438e+00 -1.06170035e+00] [-6.50311249e-01 -1.10185034e+00 -1.82242854e+00 -5.85310919e-01 3.26045902e-01 9.07004516e-01 -1.52388721e+00 -3.41418864e-01 -6.17050583e+00 -1.50236833e-01] [-1.18863122e+00 -1.13373225e+00 -1.57991609e+00 2.97607822e-02 -5.99213888e-01 2.73076712e-01 -6.70658231e-01 5.28422398e-01 4.40776800e-01 -8.20199631e-01]] b0 = [[-1605.17848776 -1917.98356041 -689.82773387 -1601.74740941 -1936.57915581 -1605.08924872 -1934.53810642 -1600.4377953 -1929.36294279 -1604.50202962 -1925.24927875 -1614.3081382 -1926.17204092 -1937.17158195 -1914.21546031 -1612.18299499 -1596.04117227 -1825.00260982 -1595.98569161 -1917.38022247]] b1 = [[-1.97785607 -3.17461188 -3.32390325 -3.00471211 -3.37630353 -3.28285982 -3.47582616 -3.27004853 -3.43013569 -3.13713948 -2.49317653 -3.29428498 -2.59368375 -3.62957184 -3.39038048 -3.86221078 -2.52043183 -3.40202391 -2.48401463 -3.70230631 -3.33070731 -2.02362061 -2.93135334 -3.17586792 -3.92266563 -3.49992033]] b2 = [[-0.06619111 0.50520411 0.20854894 -0.72148372 -0.17292749 -0.12212768 -0.63874199 -0.6896814 0.27061332 -0.82917551]]
887821cb1d3663aec05aded7090a12fbb0863b88
d9c95cd0efad0788bf17672f6a4ec3b29cfd2e86
/disturbance/migrations/0163_apiarysiteonapproval_site_category.py
b2f18b430255810ee5d6bbd518185236c84db914
[ "Apache-2.0" ]
permissive
Djandwich/disturbance
cb1d25701b23414cd91e3ac5b0207618cd03a7e5
b1ba1404b9ca7c941891ea42c00b9ff9bcc41237
refs/heads/master
2023-05-05T19:52:36.124923
2021-06-03T06:37:53
2021-06-03T06:37:53
259,816,629
1
1
NOASSERTION
2021-06-03T09:46:46
2020-04-29T03:39:33
Python
UTF-8
Python
false
false
592
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2020-09-17 04:10 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('disturbance', '0162_auto_20200917_1209'), ] operations = [ migrations.AddField( model_name='apiarysiteonapproval', name='site_category', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='disturbance.SiteCategory'), ), ]
782f7ad84a757286a8685de5ded3aa137187a6e8
f042383cbc9f10837ebdb5b9033a0263f6a43698
/examples/docs_snippets/docs_snippets/intro_tutorial/basics/e04_quality/custom_types_2.py
70e3912ca669f3083987bf7f01f0b16146f8993a
[ "Apache-2.0" ]
permissive
helloworld/dagster
664e6636d68bafa5151418c9d4316a565717f5ee
779e27faa3e46b7d043cb9624617e655a9ed570c
refs/heads/master
2022-03-24T12:15:36.626783
2022-02-26T01:34:29
2022-02-26T01:34:29
464,019,094
0
0
Apache-2.0
2022-03-05T20:23:14
2022-02-27T02:38:17
null
UTF-8
Python
false
false
1,116
py
import requests from dagster import DagsterType, In, Out, get_dagster_logger, job, op # start_custom_types_2_marker_0 def is_list_of_dicts(_, value): return isinstance(value, list) and all( isinstance(element, dict) for element in value ) SimpleDataFrame = DagsterType( name="SimpleDataFrame", type_check_fn=is_list_of_dicts, description="A naive representation of a data frame, e.g., as returned by csv.DictReader.", ) # end_custom_types_2_marker_0 # start_custom_types_2_marker_1 @op(out=Out(SimpleDataFrame)) def bad_download_csv(): response = requests.get("https://docs.dagster.io/assets/cereal.csv") lines = response.text.split("\n") get_dagster_logger().info(f"Read {len(lines)} lines") return ["not_a_dict"] # end_custom_types_2_marker_1 @op(ins={"cereals": In(SimpleDataFrame)}) def sort_by_calories(cereals): sorted_cereals = sorted(cereals, key=lambda cereal: cereal["calories"]) get_dagster_logger().info( f'Most caloric cereal: {sorted_cereals[-1]["name"]}' ) @job def custom_type_job(): sort_by_calories(bad_download_csv())