content stringlengths 5 1.05M |
|---|
from django.contrib.auth.models import User
from django.contrib.auth.password_validation import validate_password
from django.contrib.contenttypes.models import ContentType
from rest_framework import serializers
from accounts.api.serializers import UserSerializer
from fanfics.models import Fanfic
from chapters.models import Chapter
from api.models import FlatPages
from api.models import Notification
class FlatPagesSerializer(serializers.ModelSerializer):
class Meta:
model = FlatPages
fields = (
'id',
'title',
'content',
'type',
'created',
'updated'
)
"""
Serializer for password change endpoint
"""
class ChangePasswordSerializer(serializers.Serializer):
old_password = serializers.CharField(required=True)
new_password = serializers.CharField(required=True)
def validate_new_password(self, value):
validate_password(value)
return value
"""
Notification serializer
"""
class ContentTypeSerializer(serializers.ModelSerializer):
class Meta:
model = ContentType
fields = '__all__'
class NotificationObjectRelatedField(serializers.RelatedField):
def to_representation(self, value):
if isinstance(value, User):
return value.username
elif isinstance(value, Chapter):
return value.title
elif isinstance(value, Fanfic):
return value.title
raise Exception('Unexpected type of object')
class NotificationSerializer(serializers.HyperlinkedModelSerializer):
user = UserSerializer(read_only=True)
target = NotificationObjectRelatedField(read_only=True)
class Meta:
model = Notification
fields = (
'id',
'user',
'verb',
'target_ct',
'target_id',
'target',
'created',
)
# def get_target_ct(self, obj):
# return Fanfic.objects.all()
|
from functools import wraps
from flask import request, make_response, jsonify, Blueprint
from service.invite_service import InviteService
class AdminController:
def token_required(self, f):
@wraps(f)
def decorator(*args, **kwargs):
token = None
if 'x-api-key' in request.headers:
token = request.headers['x-api-key']
if not token or token != self.__x_api_key:
return make_response(jsonify({"message": "token invalid"}), 401)
return f(*args, **kwargs)
return decorator
def __init__(self, invite_service: InviteService, x_api_key: str):
self._invite_service = invite_service
self._flask_blueprint = Blueprint('admin-controller', __name__, url_prefix="/god")
self._init_route()
self.__x_api_key = x_api_key
def _init_route(self):
app = self._flask_blueprint
@app.post("/invite")
@self.token_required
def create_client():
body = request.get_json()
description = body.get('description', '')
invite_code = self._invite_service.create_invite_code(description)
return jsonify({
'code': invite_code.code
})
@app.delete("/invite/<string:code>")
@self.token_required
def delete_client(code):
self._invite_service.delete_invite_code(code)
return ''
@app.get("/invites")
@self.token_required
def clients():
return jsonify(self._invite_service.get_codes())
def blueprint(self) -> Blueprint:
return self._flask_blueprint
|
#!/usr/bin/env python 3
# -*- coding: utf-8 -*-
import sys
if __name__ == '__main__':
num = {1: 'one', 2: 'two', 3: 'tree'}
num_rev = dict(map(reversed, num.items()))
print(num_rev) |
# SPDX-License-Identifier: Apache-2.0
# Licensed to the Ed-Fi Alliance under one or more agreements.
# The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
# See the LICENSE and NOTICES files in the project root for more information.
from typing import Tuple
from unittest.mock import MagicMock, patch, call
import pandas as pd
import pytest
from edfi_lms_ds_loader.helpers.constants import Table
from edfi_lms_ds_loader import df_to_db
from edfi_lms_ds_loader.mssql_lms_operations import MssqlLmsOperations
SOURCE_SYSTEM = "google"
def describe_given_a_resource_that_is_not_a_child_of_section_or_user() -> None:
@pytest.fixture
def when_uploading_users() -> Tuple[MagicMock, pd.DataFrame, MagicMock, MagicMock]:
# Arrange
adapter_mock = MagicMock()
db_adapter_insert_method_mock = MagicMock()
db_adapter_delete_method_mock = MagicMock()
df = pd.DataFrame([{"SourceSystem": SOURCE_SYSTEM}])
# Act
df_to_db.upload_file(
adapter_mock,
df,
Table.USER,
db_adapter_insert_method_mock,
db_adapter_delete_method_mock,
)
return (
adapter_mock,
df,
db_adapter_insert_method_mock,
db_adapter_delete_method_mock,
)
def it_disables_the_natural_key_index(when_uploading_users) -> None:
adapter_mock, _, _, _ = when_uploading_users
assert adapter_mock.disable_staging_natural_key_index.call_args_list == [
call(Table.USER)
]
def it_truncates_the_staging_table(when_uploading_users) -> None:
adapter_mock, _, _, _ = when_uploading_users
assert adapter_mock.truncate_staging_table.call_args_list == [call(Table.USER)]
def it_re_enables_natural_key_index(when_uploading_users) -> None:
adapter_mock, _, _, _ = when_uploading_users
assert adapter_mock.enable_staging_natural_key_index.call_args_list == [
call(Table.USER)
]
def it_inserts_into_staging_table(when_uploading_users) -> None:
adapter_mock, df, _, _ = when_uploading_users
assert adapter_mock.insert_into_staging.call_args_list == [call(df, Table.USER)]
def it_inserts_into_production_table(when_uploading_users) -> None:
adapter_mock, _, db_adapter_insert_method_mock, _ = when_uploading_users
assert db_adapter_insert_method_mock.call_args_list == [
call(adapter_mock, Table.USER, ["SourceSystem"])
]
def it_updates_production_table(when_uploading_users) -> None:
adapter_mock, _, _, _ = when_uploading_users
assert adapter_mock.copy_updates_to_production.call_args_list == [
call(Table.USER, ["SourceSystem"])
]
def it_soft_deletes_from_production_table(when_uploading_users) -> None:
adapter_mock, _, _, db_adapter_delete_method_mock = when_uploading_users
assert db_adapter_delete_method_mock.call_args_list == [
call(adapter_mock, Table.USER, SOURCE_SYSTEM)
]
def describe_given_assignments_description_too_long() -> None:
@pytest.fixture
def when_uploading_assignments_after_split(
mocker,
) -> Tuple[MagicMock, pd.DataFrame]:
# Arrange
adapter_mock = MagicMock()
assignments_df = pd.DataFrame(
[
{
"SourceSystem": SOURCE_SYSTEM,
"AssignmentDescription": "".join(["1"] * 1025),
}
]
)
submissions_df = pd.DataFrame(
[{"SubmissionType": "whatever", "SourceSystem": SOURCE_SYSTEM}]
)
response = (assignments_df, submissions_df)
mocker.patch(
"edfi_lms_ds_loader.df_to_db.assignment_splitter.split",
return_value=response,
)
# Act
df_to_db.upload_assignments(adapter_mock, assignments_df)
return adapter_mock, assignments_df
def it_trims_AssignmentDescription_to_1024_chars(
when_uploading_assignments_after_split,
) -> None:
_, assignment_df = when_uploading_assignments_after_split
assert len(assignment_df.iloc[0]["AssignmentDescription"]) == 1024
# Assignment Submission Types
def describe_when_uploading_assignments_with_no_submission_type() -> None:
def it_should_only_upload_the_assignments(mocker) -> None:
# Arrange
adapter_mock = MagicMock()
# NB: this set of tests also handles the case where
# AssignmentDescription has not been set, ensuring that we don't have an
# error when we try to trim that field down to 1024 characters.
assignments_df = pd.DataFrame(
[{"SourceSystem": SOURCE_SYSTEM}],
columns=["SourceSystem", "AssignmentDescription"],
)
submissions_df = pd.DataFrame()
response = (assignments_df, submissions_df)
mocker.patch(
"edfi_lms_ds_loader.helpers.assignment_splitter.split",
return_value=response,
)
# Act
df_to_db.upload_assignments(adapter_mock, assignments_df)
# Assert
# Just make sure no error occurs
def describe_when_uploading_assignments() -> None:
@pytest.fixture
def when_uploading_assignments(
mocker,
) -> Tuple[MagicMock, pd.DataFrame, pd.DataFrame]:
# Arrange
adapter_mock = MagicMock()
# NB: this set of tests also handles the case where
# AssignmentDescription has not been set, ensuring that we don't have an
# error when we try to trim that field down to 1024 characters.
assignments_df = pd.DataFrame(
[{"SourceSystem": SOURCE_SYSTEM}],
columns=["SourceSystem", "AssignmentDescription"],
)
submissions_df = pd.DataFrame(
[{"SubmissionType": "whatever", "SourceSystem": SOURCE_SYSTEM}]
)
response = (assignments_df, submissions_df)
mocker.patch(
"edfi_lms_ds_loader.helpers.assignment_splitter.split",
return_value=response,
)
# Act
df_to_db.upload_assignments(adapter_mock, assignments_df)
return adapter_mock, submissions_df, assignments_df
def it_disables_submission_type_natural_key(
mocker, when_uploading_assignments
) -> None:
adapter_mock, _, _ = when_uploading_assignments
assert adapter_mock.disable_staging_natural_key_index.call_args_list == [
call(Table.ASSIGNMENT),
call(Table.ASSIGNMENT_SUBMISSION_TYPES),
]
def it_truncates_submission_types_staging_table(
mocker, when_uploading_assignments
) -> None:
adapter_mock, _, _ = when_uploading_assignments
assert adapter_mock.truncate_staging_table.call_args_list == [
call(Table.ASSIGNMENT),
call(Table.ASSIGNMENT_SUBMISSION_TYPES),
]
def it_inserts_submission_types_into_staging(
mocker, when_uploading_assignments
) -> None:
adapter_mock, submissions_df, assignments_df = when_uploading_assignments
assert adapter_mock.insert_into_staging.call_args_list == [
call(assignments_df, Table.ASSIGNMENT),
call(submissions_df, Table.ASSIGNMENT_SUBMISSION_TYPES),
]
def it_inserts_submission_types_into_production_table(
mocker, when_uploading_assignments
) -> None:
adapter_mock, _, _ = when_uploading_assignments
assert adapter_mock.insert_new_submission_types.call_args_list == [call()]
def it_soft_deletes_submission_types_in_production_table(
mocker, when_uploading_assignments
) -> None:
adapter_mock, _, _ = when_uploading_assignments
assert adapter_mock.soft_delete_removed_submission_types.call_args_list == [
call(SOURCE_SYSTEM)
]
def it_unsoft_deletes_submission_types_in_production_table(
mocker, when_uploading_assignments
) -> None:
adapter_mock, _, _ = when_uploading_assignments
assert adapter_mock.unsoft_delete_returned_submission_types.call_args_list == [
call(SOURCE_SYSTEM)
]
def it_re_enables_submission_type_natural_key(
mocker, when_uploading_assignments
) -> None:
adapter_mock, _, _ = when_uploading_assignments
assert adapter_mock.enable_staging_natural_key_index.call_args_list == [
call(Table.ASSIGNMENT),
call(Table.ASSIGNMENT_SUBMISSION_TYPES),
]
def describe_given_empty_DataFrame() -> None:
def describe_when_uploading_assignments() -> None:
def it_should_not_do_anything() -> None:
df_to_db.upload_assignments(MagicMock(), pd.DataFrame())
# if no errors occurred then this worked
def describe_when_uploading_sections_file() -> None:
def it_should_not_do_anything() -> None:
df_to_db.upload_file(
MagicMock(),
pd.DataFrame(),
"LMSection",
MssqlLmsOperations.insert_new_records_to_production,
MssqlLmsOperations.soft_delete_from_production,
)
# if no errors occurred then this worked
def describe_when_uploading_section_associations() -> None:
@pytest.fixture
@patch(
"edfi_lms_ds_loader.df_to_db.MssqlLmsOperations.soft_delete_from_production_for_section_relation"
)
@patch(
"edfi_lms_ds_loader.df_to_db.MssqlLmsOperations.insert_new_records_to_production_for_section_and_user_relation"
)
def when_uploading_section_associations(
insert_mock,
delete_mock,
) -> Tuple[MagicMock, pd.DataFrame, MagicMock, MagicMock]:
# Arrange
adapter_mock = MagicMock()
df = pd.DataFrame([{"SourceSystem": SOURCE_SYSTEM}])
# Act
df_to_db.upload_section_associations(adapter_mock, df)
return adapter_mock, df, insert_mock, delete_mock
def it_disables_the_natural_key_index(when_uploading_section_associations) -> None:
adapter_mock, _, _, _ = when_uploading_section_associations
assert adapter_mock.disable_staging_natural_key_index.call_args_list == [
call(Table.SECTION_ASSOCIATION)
]
def it_truncates_the_staging_table(when_uploading_section_associations) -> None:
adapter_mock, _, _, _ = when_uploading_section_associations
assert adapter_mock.truncate_staging_table.call_args_list == [
call(Table.SECTION_ASSOCIATION)
]
def it_re_enables_natural_key_index(when_uploading_section_associations) -> None:
adapter_mock, _, _, _ = when_uploading_section_associations
assert adapter_mock.enable_staging_natural_key_index.call_args_list == [
call(Table.SECTION_ASSOCIATION)
]
def it_inserts_into_staging_table(when_uploading_section_associations) -> None:
adapter_mock, df, _, _ = when_uploading_section_associations
assert adapter_mock.insert_into_staging.call_args_list == [
call(df, Table.SECTION_ASSOCIATION)
]
def it_inserts_into_production_table(when_uploading_section_associations) -> None:
adapter_mock, _, insert_mock, _ = when_uploading_section_associations
assert insert_mock.call_args_list == [
call(adapter_mock, Table.SECTION_ASSOCIATION, ["SourceSystem"])
]
def it_updates_production_table(when_uploading_section_associations) -> None:
adapter_mock, _, _, _ = when_uploading_section_associations
assert adapter_mock.copy_updates_to_production.call_args_list == [
call(Table.SECTION_ASSOCIATION, ["SourceSystem"])
]
def it_soft_deletes_from_production_table(
when_uploading_section_associations,
) -> None:
adapter_mock, _, _, delete_mock = when_uploading_section_associations
assert delete_mock.call_args_list == [
call(adapter_mock, Table.SECTION_ASSOCIATION, SOURCE_SYSTEM)
]
def describe_when_uploading_assignment_submissions() -> None:
@pytest.fixture
@patch(
"edfi_lms_ds_loader.df_to_db.MssqlLmsOperations.soft_delete_from_production_for_assignment_relation"
)
@patch(
"edfi_lms_ds_loader.df_to_db.MssqlLmsOperations.insert_new_records_to_production_for_assignment_and_user_relation"
)
def when_uploading_assignment_submissions(
insert_mock,
delete_mock,
) -> Tuple[MagicMock, pd.DataFrame, MagicMock, MagicMock]:
# Arrange
adapter_mock = MagicMock()
df = pd.DataFrame([{"SourceSystem": SOURCE_SYSTEM}])
# Act
df_to_db.upload_assignment_submissions(adapter_mock, df)
return adapter_mock, df, insert_mock, delete_mock
def it_disables_the_natural_key_index(
when_uploading_assignment_submissions,
) -> None:
adapter_mock, _, _, _ = when_uploading_assignment_submissions
assert adapter_mock.disable_staging_natural_key_index.call_args_list == [
call(Table.ASSIGNMENT_SUBMISSION)
]
def it_truncates_the_staging_table(when_uploading_assignment_submissions) -> None:
adapter_mock, _, _, _ = when_uploading_assignment_submissions
assert adapter_mock.truncate_staging_table.call_args_list == [
call(Table.ASSIGNMENT_SUBMISSION)
]
def it_re_enables_natural_key_index(when_uploading_assignment_submissions) -> None:
adapter_mock, _, _, _ = when_uploading_assignment_submissions
assert adapter_mock.enable_staging_natural_key_index.call_args_list == [
call(Table.ASSIGNMENT_SUBMISSION)
]
def it_inserts_into_staging_table(when_uploading_assignment_submissions) -> None:
adapter_mock, df, _, _ = when_uploading_assignment_submissions
assert adapter_mock.insert_into_staging.call_args_list == [
call(df, Table.ASSIGNMENT_SUBMISSION)
]
def it_inserts_into_production_table(when_uploading_assignment_submissions) -> None:
adapter_mock, _, insert_mock, _ = when_uploading_assignment_submissions
assert insert_mock.call_args_list == [
call(adapter_mock, Table.ASSIGNMENT_SUBMISSION, ["SourceSystem"])
]
def it_updates_production_table(when_uploading_assignment_submissions) -> None:
adapter_mock, _, _, _ = when_uploading_assignment_submissions
assert adapter_mock.copy_updates_to_production.call_args_list == [
call(Table.ASSIGNMENT_SUBMISSION, ["SourceSystem"])
]
def it_soft_deletes_from_production_table(
when_uploading_assignment_submissions,
) -> None:
adapter_mock, _, _, delete_mock = when_uploading_assignment_submissions
assert delete_mock.call_args_list == [
call(adapter_mock, Table.ASSIGNMENT_SUBMISSION, SOURCE_SYSTEM)
]
def describe_when_uploading_section_activities() -> None:
@pytest.fixture
@patch(
"edfi_lms_ds_loader.df_to_db.MssqlLmsOperations.soft_delete_from_production_for_section_relation"
)
@patch(
"edfi_lms_ds_loader.df_to_db.MssqlLmsOperations.insert_new_records_to_production_for_section_and_user_relation"
)
def when_uploading_section_activities(
insert_mock,
delete_mock,
) -> Tuple[MagicMock, pd.DataFrame, MagicMock, MagicMock]:
# Arrange
adapter_mock = MagicMock()
df = pd.DataFrame([{"SourceSystem": SOURCE_SYSTEM}])
# Act
df_to_db.upload_section_activities(adapter_mock, df)
return adapter_mock, df, insert_mock, delete_mock
def it_disables_the_natural_key_index(when_uploading_section_activities) -> None:
adapter_mock, _, _, _ = when_uploading_section_activities
assert adapter_mock.disable_staging_natural_key_index.call_args_list == [
call(Table.SECTION_ACTIVITY)
]
def it_truncates_the_staging_table(when_uploading_section_activities) -> None:
adapter_mock, _, _, _ = when_uploading_section_activities
assert adapter_mock.truncate_staging_table.call_args_list == [
call(Table.SECTION_ACTIVITY)
]
def it_re_enables_natural_key_index(when_uploading_section_activities) -> None:
adapter_mock, _, _, _ = when_uploading_section_activities
assert adapter_mock.enable_staging_natural_key_index.call_args_list == [
call(Table.SECTION_ACTIVITY)
]
def it_inserts_into_staging_table(when_uploading_section_activities) -> None:
adapter_mock, df, _, _ = when_uploading_section_activities
assert adapter_mock.insert_into_staging.call_args_list == [
call(df, Table.SECTION_ACTIVITY)
]
def it_inserts_into_production_table(when_uploading_section_activities) -> None:
adapter_mock, _, insert_mock, _ = when_uploading_section_activities
assert insert_mock.call_args_list == [
call(adapter_mock, Table.SECTION_ACTIVITY, ["SourceSystem"])
]
def it_updates_production_table(when_uploading_section_activities) -> None:
adapter_mock, _, _, _ = when_uploading_section_activities
assert adapter_mock.copy_updates_to_production.call_args_list == [
call(Table.SECTION_ACTIVITY, ["SourceSystem"])
]
def it_soft_deletes_from_production_table(
when_uploading_section_activities,
) -> None:
adapter_mock, _, _, delete_mock = when_uploading_section_activities
assert delete_mock.call_args_list == [
call(adapter_mock, Table.SECTION_ACTIVITY, SOURCE_SYSTEM)
]
def describe_when_uploading_system_activities() -> None:
@pytest.fixture
@patch(
"edfi_lms_ds_loader.df_to_db.MssqlLmsOperations.soft_delete_from_production"
)
@patch(
"edfi_lms_ds_loader.df_to_db.MssqlLmsOperations.insert_new_records_to_production_for_user_relation"
)
def when_uploading_system_activities(
insert_mock,
delete_mock,
) -> Tuple[MagicMock, pd.DataFrame, MagicMock, MagicMock]:
# Arrange
adapter_mock = MagicMock()
df = pd.DataFrame([{"SourceSystem": SOURCE_SYSTEM}])
# Act
df_to_db.upload_system_activities(adapter_mock, df)
return adapter_mock, df, insert_mock, delete_mock
def it_disables_the_natural_key_index(when_uploading_system_activities) -> None:
adapter_mock, _, _, _ = when_uploading_system_activities
assert adapter_mock.disable_staging_natural_key_index.call_args_list == [
call(Table.SYSTEM_ACTIVITY)
]
def it_truncates_the_staging_table(when_uploading_system_activities) -> None:
adapter_mock, _, _, _ = when_uploading_system_activities
assert adapter_mock.truncate_staging_table.call_args_list == [
call(Table.SYSTEM_ACTIVITY)
]
def it_re_enables_natural_key_index(when_uploading_system_activities) -> None:
adapter_mock, _, _, _ = when_uploading_system_activities
assert adapter_mock.enable_staging_natural_key_index.call_args_list == [
call(Table.SYSTEM_ACTIVITY)
]
def it_inserts_into_staging_table(when_uploading_system_activities) -> None:
adapter_mock, df, _, _ = when_uploading_system_activities
assert adapter_mock.insert_into_staging.call_args_list == [
call(df, Table.SYSTEM_ACTIVITY)
]
def it_inserts_into_production_table(when_uploading_system_activities) -> None:
adapter_mock, _, insert_mock, _ = when_uploading_system_activities
assert insert_mock.call_args_list == [
call(adapter_mock, Table.SYSTEM_ACTIVITY, ["SourceSystem"])
]
def it_updates_production_table(when_uploading_system_activities) -> None:
adapter_mock, _, _, _ = when_uploading_system_activities
assert adapter_mock.copy_updates_to_production.call_args_list == [
call(Table.SYSTEM_ACTIVITY, ["SourceSystem"])
]
def it_soft_deletes_from_production_table(
when_uploading_system_activities,
) -> None:
adapter_mock, _, _, delete_mock = when_uploading_system_activities
assert delete_mock.call_args_list == [
call(adapter_mock, Table.SYSTEM_ACTIVITY, SOURCE_SYSTEM)
]
def describe_when_uploading_attendance_events() -> None:
@pytest.fixture
@patch(
"edfi_lms_ds_loader.df_to_db.MssqlLmsOperations.soft_delete_from_production_for_section_relation"
)
@patch(
"edfi_lms_ds_loader.df_to_db.MssqlLmsOperations.insert_new_records_to_production_for_attendance_events"
)
def when_uploading_attendance_events(
insert_mock,
delete_mock,
) -> Tuple[MagicMock, MagicMock, pd.DataFrame, MagicMock]:
# Arrange
adapter_mock = MagicMock()
attendance_df = pd.DataFrame([{"SourceSystem": SOURCE_SYSTEM}])
# Act
df_to_db.upload_attendance_events(adapter_mock, attendance_df)
return adapter_mock, insert_mock, attendance_df, delete_mock
def it_disables_natural_key_index(when_uploading_attendance_events) -> None:
adapter_mock, _, _, _ = when_uploading_attendance_events
assert adapter_mock.disable_staging_natural_key_index.call_args_list == [
call(Table.ATTENDANCE)
]
def it_truncates_staging_table(when_uploading_attendance_events) -> None:
adapter_mock, _, _, _ = when_uploading_attendance_events
assert adapter_mock.truncate_staging_table.call_args_list == [
call(Table.ATTENDANCE)
]
def it_inserts_into_staging(when_uploading_attendance_events) -> None:
adapter_mock, _, attendance_df, _ = when_uploading_attendance_events
assert adapter_mock.insert_into_staging.call_args_list == [
call(attendance_df, Table.ATTENDANCE),
]
def it_inserts_into_production_table(when_uploading_attendance_events) -> None:
adapter_mock, insert_mock, _, _ = when_uploading_attendance_events
assert insert_mock.call_args_list == [
call(adapter_mock, Table.ATTENDANCE, ["SourceSystem"])
]
def it_updates_production_table(when_uploading_attendance_events) -> None:
adapter_mock, _, _, _ = when_uploading_attendance_events
assert adapter_mock.copy_updates_to_production.call_args_list == [
call(Table.ATTENDANCE, ["SourceSystem"])
]
def it_soft_deletes_from_production_table(when_uploading_attendance_events) -> None:
adapter_mock, _, _, delete_mock = when_uploading_attendance_events
assert delete_mock.call_args_list == [
call(adapter_mock, Table.ATTENDANCE, SOURCE_SYSTEM)
]
def it_re_enables_attendance_events_natural_key(
when_uploading_attendance_events,
) -> None:
adapter_mock, _, _, _ = when_uploading_attendance_events
assert adapter_mock.enable_staging_natural_key_index.call_args_list == [
call(Table.ATTENDANCE)
]
|
# File: ErrorWindow.py
# Author: Marvin Smith
# Date: 6/18/2015
#
# Purpose: Show the user an error.
#
__author__ = 'Marvin Smith'
# LLNMS Libraries
import UI_Window_Base
# Python Libraries
import curses
# ------------------------------ #
# - Error Window - #
# ------------------------------ #
class ErrorWindow(UI_Window_Base.Base_Window_Type):
# ------------------------- #
# - Constructor - #
# ------------------------- #
def __init__(self):
# Parent
UI_Window_Base.Base_Window_Type.__init__(self)
# --------------------- #
# - Process - #
# --------------------- #
def Process( self, screen, error_message, details_message = '' ):
# Screen
screen.clear()
# Create the error box
self.Print_Error_Box(screen)
# Print window
msg_x = max(curses.COLS/2 - (len(error_message)/2), 0)
msg_y = max(curses.LINES/3, 0)
screen.addstr( msg_y, msg_x, error_message, curses.color_pair(3) )
# Print Details
msg_x = max(curses.COLS/2 - (len(details_message)/2), 0)
msg_y = max(curses.LINES * 2 / 3, 0)
screen.addstr( msg_y, msg_x, details_message, curses.color_pair(3))
# Refresh
screen.refresh()
# Get the input
c = screen.getch()
if c == ord('y') or c == ord('Y'):
return True
else:
return False
# ------------------------------- #
# - Print the Error Box - #
# ------------------------------- #
def Print_Error_Box(self, screen):
# Iterate over boundaries
for x in xrange(0,4):
screen.addstr( 4+x, 4, ' ' * (curses.COLS-8), curses.color_pair(2))
screen.addstr( curses.LINES-8+x, 4, ' ' * (curses.COLS-8), curses.color_pair(2))
|
from PyQt5 import QtGui
|
# this holds the views for the adminLTE
class Profile(object):
def __init__(self):
print "init"
def render(data):
print data
|
"""
Created on Fri Fev 13 16:26:00 2020
@author: Bruno Aristimunha
"""
import sys
import scipy.io as sio
from pandas import DataFrame
from numpy import array
from os import listdir
from os.path import isfile, join
from myMNE import makeMNE
def files_in_path(path):
return [path+"/"+f for f in listdir(path) if isfile(join(path, f))]
# Getting data from MNE strutuct
def data_from_mne(files):
return array([file.get_data().T for file in files])
def read_file(PATH_AUD, PATH_VIS):
path_file_aud = files_in_path(PATH_AUD)
path_file_vis = files_in_path(PATH_VIS)
# Reading files with the MNE library
files_aud = list(map(makeMNE, path_file_aud))
files_vis = list(map(makeMNE, path_file_vis))
# Getting data in numpy format
data_aud = data_from_mne(files_aud)
data_vis = data_from_mne(files_vis)
return data_aud,data_vis, files_aud[0].ch_names
def _bad_trials(file_name):
file = sio.loadmat(file_name,squeeze_me=True, struct_as_record=False)
badtrials = lambda df : df['ft_data_auditory'].badtrials
return badtrials(file)
def get_bad_trials(PATH_AUD, PATH_VIS):
path_file_aud = files_in_path(PATH_AUD)
path_file_vis = files_in_path(PATH_VIS)
bad_trials_aud = list(map(_bad_trials, path_file_aud))
bad_trials_vis = list(map(_bad_trials, path_file_vis))
df_bad_trials_aud = DataFrame([bad_trials_aud],index=['Aud'])
df_bad_trials_vis = DataFrame([bad_trials_vis],index=['Vis'])
return df_bad_trials_aud, df_bad_trials_vis
def get_bad_trials_comportamental(modality: str, N_TRIALS = 120, PATH_INFO = '../data/raw/info_'):
"""Read function to get the time (or the indice) when occurs S2.
Parameters
----------
modality: str
It will only work if the modality equals to 'aud' or 'vis'.
export_as_indice: bool
Control option for export type (indice or time)
Returns
-------
agg_by_person: np.array
TO-DO: text.
"""
# Concatenating with 'aud' or 'vis'
info_path = PATH_INFO+modality
# Mapping the files listed in the folder for reading function.
# Each file contains information about a single individual experiment.
delays_people = list(map(sio.loadmat, files_in_path(info_path)))
# Accumulator variable
agg_by_person = []
for delay_by_person in delays_people:
#import pdb; pdb.set_trace()
# Accessing value in struct from matlab
time_delay_by_person = delay_by_person['report']['all_trials_delay'][0][0][0]
# Values in second
time_reproduce_by_person = delay_by_person['report']['time_action'][0][0][0]
agg_by_person.append(time_reproduce_by_person/time_delay_by_person)
# Export as numpy for simplicity
bad_comport = [DataFrame(array(agg_by_person))[i].apply(lambda x: (
False if ((x >= 2.0) | (x < 0.5)) else True)) for i in range(N_TRIALS)]
df_bad_comport = DataFrame(bad_comport).stack(-1).reset_index()
df_clean_bad_comport = df_bad_comport[df_bad_comport[0] != True].reset_index(drop=True)
df_clean_bad_comport.columns = ['trial', 'people','bad_flag']
df_clean_bad_comport['bad_flag'] = ~df_clean_bad_comport['bad_flag']
return df_clean_bad_comport[['people','trial','bad_flag']]
def get_time_delay(modality: str, export_as_indice=True, PATH_INFO = '../data/raw/info_'):
"""Read function to get the time (or the indice) when occurs S2.
Parameters
----------
modality: str
It will only work if the modality equals to 'aud' or 'vis'.
export_as_indice: bool
Control option for export type (indice or time)
Returns
-------
agg_by_person: np.array
TO-DO: text.
"""
# Concatenating with 'aud' or 'vis'
info_path = PATH_INFO+modality
# Mapping the files listed in the folder for reading function.
# Each file contains information about a single individual experiment.
delays_people = list(map(sio.loadmat, files_in_path(info_path)))
# Accumulator variable
agg_by_person = []
for delay_by_person in delays_people:
# Accessing value in struct from matlab
time_delay_by_person = delay_by_person['report']['all_trials_delay'][0][0][0]
# Values in second
#import pdb; pdb.set_trace()
if(export_as_indice):
# second to milisecond, 4 from 250 Hz
agg_by_person.append((time_delay_by_person*250).astype(int))
else:
agg_by_person.append(time_delay_by_person)
# Export as numpy for simplicity
return array(agg_by_person)
|
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_retrieve_spot.ipynb (unless otherwise specified).
__all__ = ['cred', 'get_tracks', 'track_reduce', 'update']
# Cell
import requests
import base64
import json
import pandas as pd
import boto3
import math
from datetime import date, timedelta
# Cell
def cred():
secret_name = "spotify_35"
region_name = "us-east-2"
# Create a Secrets Manager client
session = boto3.session.Session()
client = session.client(
service_name='secretsmanager',
region_name=region_name
)
get_secret_value_response = client.get_secret_value(SecretId=secret_name)
client_id = json.loads(get_secret_value_response['SecretString'])['spot_clientID']
client_secret = json.loads(get_secret_value_response['SecretString'])['spot_clientSECRET']
access_token = json.loads(get_secret_value_response['SecretString'])['spot_ACC']
refresh_token = json.loads(get_secret_value_response['SecretString'])['spot_REF']
return client_id, client_secret, access_token, refresh_token
# Cell
def get_tracks(p_id, access_token, refresh_token, client_id, client_secret):
df_tracks = pd.DataFrame()
curr_len = 0
offset = 0
while len(df_tracks) % 100 == 0:
track_url = f'https://api.spotify.com/v1/playlists/{p_id}/tracks?limit=100&offset={offset}'
headers = {
'Authorization': f'Bearer {access_token}'
}
r_track = requests.get(track_url, headers=headers)
if r_track.status_code == 401:
TOKEN_URL = 'https://accounts.spotify.com/api/token'
message = client_id + ':' + client_secret
messageBytes = message.encode('ascii')
base64Bytes = base64.b64encode(messageBytes)
base64Message = base64Bytes.decode('ascii')
headers = {
'Authorization': 'Basic ' + base64Message,
'Content-Type': 'application/x-www-form-urlencoded'
}
pars_refresh = {
'grant_type': 'refresh_token',
'refresh_token': refresh_token,
'redirect_uri': 'http://localhost:8888/callback',
}
r_refresh = requests.post(TOKEN_URL, headers=headers, params=pars_refresh)
access_token = r_refresh.json()['access_token']
headers = {
'Authorization': f'Bearer {access_token}'
}
r_track = requests.get(track_url, headers=headers)
track_ids = [t['track']['id'] for t in r_track.json()['items']]
track_names = [t['track']['name'] for t in r_track.json()['items']]
track_added = [t['added_at'] for t in r_track.json()['items']]
track_artists = [t['track']['artists'][0]['name'] for t in r_track.json()['items']]
artist_id = [t['track']['artists'][0]['id'] for t in r_track.json()['items']]
df_t = pd.DataFrame({
'added at': pd.to_datetime(track_added),
'id': track_ids,
# 'uri': track_uris,
'name': track_names,
'artist': track_artists,
'artist id': artist_id,
'playlist id': p_id
},
# index=pd.to_datetime(track_added)
)
join_ids = ','.join(track_ids)
feat_url = f'https://api.spotify.com/v1/audio-features?limit=100&offset={offset}&ids={join_ids}'
r_feat = requests.get(feat_url, headers=headers)
feat_frame = pd.DataFrame(r_feat.json()['audio_features'])
df_t = pd.merge(df_t, feat_frame, on='id')
df_tracks = df_tracks.append(df_t)
if curr_len == len(df_tracks):
break
else:
curr_len = len(df_tracks)
offset += 100
df_tracks = df_tracks.drop_duplicates()
artist_list = df_tracks['artist id'].tolist()
genre_list = []
index = 0
temp_list = artist_list[index: index+50]
for i in range(math.ceil(len(artist_list)/50)):
artist_join = ','.join(temp_list)
art_url = f'https://api.spotify.com/v1/artists?ids={artist_join}'
r_art = requests.get(art_url, headers=headers)
print(r_art.status_code)
try:
g = [i['genres'] for i in r_art.json()['artists']]
except IndexError:
g = ['No Genre']
genre_list.extend(g)
index += 50
temp_list = artist_list[index: index+50]
g_ser = pd.Series(genre_list, index=df_tracks.index)
trimmed_g = g_ser.apply(lambda x: x[:3])
df_tracks['genre'] = trimmed_g
genre_bin = pd.get_dummies(df_tracks['genre'].explode())
genre_bin = genre_bin.groupby(level=0).sum()
genre_bin = genre_bin.add_prefix('genre_')
df_tracks = df_tracks.drop('genre', axis=1)
df_tracks = pd.concat([df_tracks, genre_bin], axis=1)
return df_tracks
# Cell
def track_reduce(d_tracks, include=7):
d_tracks = d_tracks.sort_values('added at')
today = date.today()
today = pd.to_datetime(today, utc=True)
d_tracks['diff'] = d_tracks['added at'].apply(lambda x: today-x)
period = timedelta(days=include)
d_tracks = d_tracks[d_tracks['diff'].apply(lambda x: x <= period)]
d_tracks = d_tracks.sort_values('diff')
return d_tracks
# Cell
def update(p_id, access_token, refresh_token, client_id, client_secret, o_tracks, n_tracks):
headers = {
'Authorization': f'Bearer {access_token}'
}
DELETE_URL = f'https://api.spotify.com/v1/playlists/{p_id}/tracks'
to_delete = o_tracks.loc[~o_tracks['id'].isin(n_tracks['id']), 'uri'].tolist()
x = len(to_delete)
y = math.ceil(x/100)
# r_delete = None
if x != 0:
for i in range(0, y*100, 100):
delete_uris = to_delete[i:(i+100)]
del_uri = []
for i in delete_uris:
del_uri.append(
{'uri': i}
)
del_dict = {'tracks': del_uri}
r_delete = requests.delete(DELETE_URL, headers=headers, data=json.dumps(del_dict))
if r_delete.status_code == 401:
TOKEN_URL = 'https://accounts.spotify.com/api/token'
message = client_id + ':' + client_secret
messageBytes = message.encode('ascii')
base64Bytes = base64.b64encode(messageBytes)
base64Message = base64Bytes.decode('ascii')
headers = {
'Authorization': 'Basic ' + base64Message,
'Content-Type': 'application/x-www-form-urlencoded'
}
pars_refresh = {
'grant_type': 'refresh_token',
'refresh_token': refresh_token,
'redirect_uri': 'http://localhost:8888/callback',
}
r_refresh = requests.post(TOKEN_URL, headers=headers, params=pars_refresh)
access_token = r_refresh.json()['access_token']
headers = {
'Authorization': f'Bearer {access_token}'
}
for i in range(0, y*100, 100):
delete_uris = to_delete[i:(i+100)]
del_uri = []
for i in delete_uris:
del_uri.append(
{'uri': i}
)
del_dict = {'tracks': del_uri}
r_delete = requests.delete(DELETE_URL, headers=headers, data=json.dumps(del_dict))
print(r_delete.status_code)
# Cell
if __name__ == '__main__':
c_id, c_secret, a_token, r_token = cred()
o_tracks = get_tracks('3ubgXaHeBn1CWLUZPXvqkj', a_token, r_token, c_id, c_secret)
n_tracks = track_reduce(o_tracks, include=7)
n_tracks.to_csv('s3://spotify-net/newer_tracks.csv')
_ = update('3ubgXaHeBn1CWLUZPXvqkj', a_token, r_token, c_id, c_secret, o_tracks, n_tracks)
print('Updated') |
from tinderbotz.helpers.storage_helper import StorageHelper
class Geomatch:
def __init__(self, name, age, work, study, home, gender, bio, distance, passions, image_urls):
self.name = name
self.age = age
self.work = work
self.study = study
self.home = home
self.gender = gender
self.passions = passions
self.bio = bio
self.distance = distance
self.image_urls = image_urls
# create a unique id for this person
self.id = "{}{}_{}".format(name, age, StorageHelper.id_generator(size=4))
self.images_by_hashes = []
def get_name(self):
return self.name
def get_age(self):
return self.age
def get_work(self):
return self.work
def get_study(self):
return self.study
def get_home(self):
return self.home
def get_gender(self):
return self.gender
def get_passions(self):
return self.passions
def get_bio(self):
return self.bio
def get_distance(self):
return self.distance
def get_image_urls(self):
return self.image_urls
def get_id(self):
return self.id
def get_dictionary(self):
data = {
"name": self.get_name(),
"age": self.get_age(),
"work": self.get_work(),
"study": self.get_study(),
"home": self.get_home(),
"gender": self.gender,
"bio": self.get_bio(),
"distance": self.get_distance(),
"passions": self.get_passions(),
"image_urls": self.image_urls,
"images_by_hashes": self.images_by_hashes,
}
return data |
# %% [markdown]
# # Metadata Organization
# ## Imports
import pandas as pd
import numpy as np
import os.path
import glob
import pathlib
import functools
import time
import re
import gc
from nilearn.input_data import NiftiMasker
import matplotlib as plt
plt.use('Agg')#needed because we don't have an X window system on the SCC
from pycaret.classification import *
# %%
# Load the df for PyCaret
df = pd.read_pickle('rawvoxelsdf.pkl')
# # %%
# # PyCaret clustering setup
# # ### import clustering module
# from pycaret.clustering import *
# # ### intialize the setup
# clf1 = setup(data=df)
# # %%
# # ### create k-means model
# kmeans = create_model('kmeans')
# # %%
# # PyCaret compare models, uncomment 'compare_models()' to run
# # NOTE: but DON'T DO IT IF LONG RUNTIME!
# # compare_models()
# %%
# PyCaret create and run SVM
from pycaret.classification import *
#df.drop('sleepdep', axis=1)
clf1 = setup(data=df, target='sleepdep', silent=True, n_jobs=-1)
lr = create_model('lr')
plot_model(lr, save=True)
# %%
logs = get_logs(save=True) |
import unittest
import asyncio
from lichess_client.clients.base_client import BaseClient
from tests.utils import async_test, get_token_from_config
class TestBaseClient(unittest.TestCase):
event_loop = None
client: 'BaseClient' = None
token = get_token_from_config(section='amasend')
@classmethod
def setUp(cls) -> None:
cls.event_loop = asyncio.get_event_loop()
@async_test
async def test_01__initialization__init_of_BaseClient_class__all_arguments_stored(self):
TestBaseClient.client = BaseClient(token=self.token, loop=self.event_loop)
self.assertEqual(self.client._token, self.token, msg="Token incorrectly stored.")
self.assertEqual(self.client.loop, self.event_loop, msg="Event loop incorrectly stored.")
@async_test
async def test_02__is_authorized__check_if_async_request_works__authorized(self):
response = await self.client.is_authorized()
self.assertTrue(response, msg="Not authorized.")
@unittest.expectedFailure
@async_test
async def test_03__is_authorized__check_if_async_request_works__not_authorized(self):
client = BaseClient(token="not_so_random_characters", loop=self.event_loop)
response = await client.is_authorized()
self.assertTrue(response, msg="Not authorized.")
if __name__ == '__main__':
unittest.main()
|
from setuptools import setup
# Get package version
import os
version = {}
with open(os.path.join('dykstra', 'version.py')) as fp:
exec(fp.read(), version)
__version__ = version['__version__']
setup(
name='Dykstra',
version=__version__,
description="An implementation of Dykstra's projection algorithm with robust stopping criteria.",
author='Matthew Hough',
author_email='matt@hough.tv',
url='https://github.com/mjhough/Dykstra/',
download_url='https://github.com/numericalalgorithmsgroup/Dykstra/archive/v0.0.0.tar.gz',
packages=['dykstra'],
license='MIT',
keywords = 'mathematics optimization projection Dykstra',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Framework :: IPython',
'Framework :: Jupyter',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
],
install_requires = ['numpy >= 1.11'],
zip_safe = True,
)
|
#!/usr/bin/env ambari-python-wrap
"""
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
"""
class HDPWIN23StackAdvisor(HDPWIN22StackAdvisor):
def getServiceConfigurationRecommenderDict(self):
parentRecommendConfDict = super(HDPWIN23StackAdvisor, self).getServiceConfigurationRecommenderDict()
childRecommendConfDict = {
"TEZ": self.recommendTezConfigurations,
"OOZIE": self.recommendOozieConfigurations
}
parentRecommendConfDict.update(childRecommendConfDict)
return parentRecommendConfDict
def recommendTezConfigurations(self, configurations, clusterData, services, hosts):
super(HDPWIN23StackAdvisor, self).recommendTezConfigurations(configurations, clusterData, services, hosts)
putTezProperty = self.putProperty(configurations, "tez-site")
# remove 2gb limit for tez.runtime.io.sort.mb
# in HDPWIN 2.3 "tez.runtime.sorter.class" is set by default to PIPELINED, in other case comment calculation code below
taskResourceMemory = clusterData['mapMemory'] if clusterData['mapMemory'] > 2048 else int(clusterData['reduceMemory'])
taskResourceMemory = min(clusterData['containers'] * clusterData['ramPerContainer'], taskResourceMemory)
putTezProperty("tez.runtime.io.sort.mb", int(taskResourceMemory * 0.4))
if "tez-site" in services["configurations"] and "tez.runtime.sorter.class" in services["configurations"]["tez-site"]["properties"]:
if services["configurations"]["tez-site"]["properties"]["tez.runtime.sorter.class"] == "LEGACY":
putTezAttribute = self.putPropertyAttribute(configurations, "tez-site")
putTezAttribute("tez.runtime.io.sort.mb", "maximum", 2047)
def recommendOozieConfigurations(self, configurations, clusterData, services, hosts):
super(HDPWIN23StackAdvisor, self).recommendOozieConfigurations(configurations, clusterData, services, hosts)
oozieSiteProperties = getSiteProperties(services['configurations'], 'oozie-site')
oozieEnvProperties = getSiteProperties(services['configurations'], 'oozie-env')
putOozieProperty = self.putProperty(configurations, "oozie-site", services)
putOozieEnvProperty = self.putProperty(configurations, "oozie-env", services)
if oozieEnvProperties and oozieSiteProperties and self.checkSiteProperties(oozieSiteProperties, 'oozie.service.JPAService.jdbc.driver') and self.checkSiteProperties(oozieEnvProperties, 'oozie_database'):
putOozieProperty('oozie.service.JPAService.jdbc.driver', self.getDBDriver(oozieEnvProperties['oozie_database']))
if oozieSiteProperties and oozieEnvProperties and self.checkSiteProperties(oozieSiteProperties, 'oozie.db.schema.name', 'oozie.service.JPAService.jdbc.url') and self.checkSiteProperties(oozieEnvProperties, 'oozie_database'):
oozieServerHost = self.getHostWithComponent('OOZIE', 'OOZIE_SERVER', services, hosts)
if oozieServerHost is not None:
dbConnection = self.getDBConnectionString(oozieEnvProperties['oozie_database']).format(oozieServerHost['Hosts']['host_name'], oozieSiteProperties['oozie.db.schema.name'])
putOozieProperty('oozie.service.JPAService.jdbc.url', dbConnection)
|
# This file contains all the UUIDs for each service to try and cut it down.
# Also contains all the descriptors
# Generic UUIDs
FIRMWARE_VERSION = "2021.04.06.1"
DEVINFO_SVC_UUID = "180A"
FIRMWARE_SVC_UUID = "0000180a-0000-1000-8000-00805f9b34fb"
MANUFACTURE_NAME_CHARACTERISTIC_UUID = "2A29"
FIRMWARE_REVISION_CHARACTERISTIC_UUID = "2A26"
SERIAL_NUMBER_CHARACTERISTIC_UUID = "2A25"
USER_DESC_DESCRIPTOR_UUID = "2901"
PRESENTATION_FORMAT_DESCRIPTOR_UUID = "2904"
# Firmware UUID
FIRMWARE_VERSION_CHARACTERISTIC_UUID = "00002a26-0000-1000-8000-00805f9b34fb"
# Software Version UUID
SOFTWARE_VERSION_CHARACTERISTIC_UUID = "c0b64050-697d-463a-a33f-70c4825731f8"
SOFTWARE_VERSION_VALUE = "Software Version"
# Onboarding Key
ONBOARDING_KEY_CHARACTERISTIC_UUID = "d083b2bd-be16-4600-b397-61512ca2f5ad"
ONBOARDING_KEY_VALUE = "Onboarding Key"
# Public Key
PUBLIC_KEY_CHARACTERISTIC_UUID = "0a852c59-50d3-4492-bfd3-22fe58a24f01"
PUBLIC_KEY_VALUE = "Public Key"
# WiFiServices
WIFI_SERVICES_CHARACTERISTIC_UUID = "d7515033-7e7b-45be-803f-c8737b171a29"
WIFI_SERVICES_VALUE = "WiFi Services"
# WiFiConfiguredServices
WIFI_CONFIGURED_SERVICES_CHARACTERISTIC_UUID = "e125bda4-6fb8-11ea-bc55-0242ac130003"
WIFI_CONFIGURED_SERVICES_VALUE = "WiFi Configured Services"
# WiFiRemove
WIFI_REMOVE_CHARACTERISTIC_UUID = "8cc6e0b3-98c5-40cc-b1d8-692940e6994b"
WIFI_REMOVE_VALUE = "WiFi Remove"
# Diagnostics
DIAGNOSTICS_CHARACTERISTIC_UUID = "b833d34f-d871-422c-bf9e-8e6ec117d57e"
DIAGNOSTICS_VALUE = "Diagnostics"
# Mac address
MAC_ADDRESS_CHARACTERISTIC_UUID = "9c4314f2-8a0c-45fd-a58d-d4a7e64c3a57"
MAC_ADDRESS_VALUE = "Mac Address"
# Lights
LIGHTS_CHARACTERISTIC_UUID = "180efdef-7579-4b4a-b2df-72733b7fa2fe"
LIGHTS_VALUE = "Lights"
# WiFiSSID
WIFI_SSID_CHARACTERISTIC_UUID = "7731de63-bc6a-4100-8ab1-89b2356b038b"
WIFI_SSID_VALUE = "WiFi SSID"
# AssertLocation
ASSERT_LOCATION_CHARACTERISTIC_UUID = "d435f5de-01a4-4e7d-84ba-dfd347f60275"
ASSERT_LOCATION_VALUE = "Assert Location"
# Add Gateway
ADD_GATEWAY_CHARACTERISTIC_UUID = "df3b16ca-c985-4da2-a6d2-9b9b9abdb858"
ADD_GATEWAY_KEY_VALUE = "Add Gateway"
# WiFiConnect
WIFI_CONNECT_CHARACTERISTIC_UUID = "398168aa-0111-4ec0-b1fa-171671270608"
WIFI_CONNECT_KEY_VALUE = "WiFi Connect"
# Ethernet Online
ETHERNET_ONLINE_CHARACTERISTIC_UUID = "e5866bd6-0288-4476-98ca-ef7da6b4d289"
ETHERNET_ONLINE_VALUE = "Ethernet Online"
# WiFi Codes
wifiStatus = {
"100":"connected", # connected
"50": "already", # Already Connecting
"60": "invalid", # Invalid Key
"30": "failed" # Connection Failed
}
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from bs4 import BeautifulSoup
import executiveorder
from executiveorder.processors import *
def main():
wikisource.run()
if __name__=="__main__":
main()
|
# Generated by Django 4.0 on 2021-12-23 21:34
from django.db import migrations, models
import users.models
class Migration(migrations.Migration):
dependencies = [
('users', '0002_customuser_bio_customuser_short_bio'),
]
operations = [
migrations.AlterField(
model_name='customuser',
name='profile_picture',
field=models.ImageField(blank=True, null=True, upload_to=users.models.get_profile_picture_filepath, verbose_name='profile picture'),
),
]
|
"""Initial experiments with the lenet network to check the trends of the time with k, batch and parallelism"""
import argparse
import time
from multiprocessing import Process
from typing import Tuple
from common.experiment import *
from common.metrics import start_api
from common.utils import *
output_folder = './tests/'
EPOCHS = 30
def run_lenet(k: int, batch: int, parallelism: int):
req = TrainRequest(
model_type='lenet',
batch_size=batch,
epochs=EPOCHS,
dataset='mnist',
lr=0.01,
function_name='lenet',
options=TrainOptions(
default_parallelism=parallelism,
static_parallelism=True,
k=k,
validate_every=1,
goal_accuracy=100
)
)
exp = KubemlExperiment(get_title(req), req)
exp.run()
# exp._fake_history()
exp.save(output_folder)
def run_resnet(k: int, batch: int, parallelism: int):
req = TrainRequest(
model_type='resnet34',
batch_size=batch,
epochs=EPOCHS,
dataset='cifar10',
lr=0.1,
function_name='resnet',
options=TrainOptions(
default_parallelism=parallelism,
static_parallelism=True,
k=k,
validate_every=1,
goal_accuracy=100
)
)
exp = KubemlExperiment(get_title(req), req)
exp.run()
# print(exp.to_dataframe())
exp.save(output_folder)
def run_api(path=None) -> Process:
"""Starts the API for setting the metrics"""
print('Starting api')
if path is not None:
p = Process(target=start_api, args=(path,))
else:
p = Process(target=start_api)
p.start()
print('Process started...')
return p
def full_parameter_grid(network: str) -> List[Tuple[int, int, int]]:
"""Generator for the full experiments"""
if network == 'lenet':
grid = lenet_grid
else:
grid = resnet_grid
exps = []
for b in grid['batch']:
for k in grid['k']:
for p in grid['parallelism']:
exps.append((b, k, p))
return exps
def resume_parameter_grid(network: str, folder: str, replications: int = 1):
# find the missing experiments from the folder
missing = check_missing_experiments(network, folder, replications)
return missing
def check_folder(path: str) -> bool:
return os.path.isdir(path)
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--network', help='Network type for the experiments from [lenet, resnet]')
parser.add_argument('--resume', dest='resume', action='store_true',
help='''Whether to check for missing experiments and just run those
(best in case of errors preventing the execution of part of the experiments)''')
parser.add_argument('--folder', help='''if resume is true, path to the folder where
all the finished experiments reside''')
parser.add_argument('--dry', dest='dry', action='store_true', help='If true, just print the experiments')
parser.add_argument('-o', help='Folder to save the experiment results to')
parser.add_argument('-m', help='folder to save the metrics to')
parser.add_argument('-r', help='Number of replications to run', default=1, type=int)
parser.set_defaults(resume=False, dry=False)
args = parser.parse_args()
net = args.network
if not net:
print("Network not set")
exit(-1)
elif net not in ('lenet', 'resnet'):
print('Network', net, 'not among accepted (lenet, resnet)')
exit(-1)
if args.o:
if not check_folder(args.o):
print('Given folder does not exist', args.o)
raise ValueError
print("Using", args.o, 'as output folder')
output_folder = args.o
if args.resume:
if not args.folder:
print("Error: Folder not specified with resume")
exit(-1)
exps = resume_parameter_grid(net, args.folder, args.r)
output_folder = args.folder
print("Using", args.folder, 'as output folder')
else:
exps = full_parameter_grid(net)
# if dry, simply print the experiments and return
if args.dry:
for e in exps:
print(e)
exit(0)
api: Process = None
try:
if args.m:
if not check_folder(args.m):
print('Given folder does not exist', args.o)
raise ValueError
api = run_api(path=args.m)
else:
# Start the API to collect the metrics
api = run_api()
time.sleep(5)
# based on the arg determine the function
func = run_resnet if net == 'resnet' else run_lenet
print('Using func', func)
replications = args.r
# if resume the experiments already come with the
# replications implicit
if args.resume:
for batch, k, parallelism in exps:
print(batch, k, parallelism)
func(k, batch, parallelism)
time.sleep(25)
else:
for i in range(1, replications + 1):
print('Starting with replication', i)
for batch, k, parallelism in exps:
print(batch, k, parallelism)
func(k, batch, parallelism)
time.sleep(25)
print('Replication', i, 'finished')
finally:
print("all experiments finished")
print(api.pid)
api.terminate()
api.join()
|
"""
1) Define two variables – one to save user's name and one to save user's age
2) Create 2 functions with each to get name and age from the command prompt
3) Create a function which prints the name and age
4) Create a function which calculates and returns the number of decades
the user already lived (e.g. 34 = 3 decades)
"""
name = ''
age = 0
def get_name():
return input('Your name: ')
def get_age():
return int(input('Your age: '))
def print_user_info(name, age):
print('Name: ' + name + '\nAge: ' + str(age))
def decades_lived(age):
return age // 10
name = get_name()
age = get_age()
decades = decades_lived(age)
print_user_info(name=name, age=age)
print('Decades Lived: ' + str(decades))
|
"""
Magnitude Pruner by weight
"""
from typing import List
import numpy as np
from lowrank.pruners import AbstractPrunerBase
class WeightMagPruner(AbstractPrunerBase):
"""
Magnitude pruners scores singular vectors based on magnitude of the vector
"""
def compute_scores(self) -> List[np.ndarray]:
scores = []
for layer in self.layers_to_prune:
scores.append(np.abs(layer.eff_weight().numpy()))
return scores
|
from bokeh.io import show
from bokeh.plotting import figure
import datetime
import argparse
from bokeh.models import NumeralTickFormatter
def line_plot(p, x, y, line_width = 2, legend=None):
p.line(x,y, line_width =line_width,legend=legend )
p.yaxis.formatter=NumeralTickFormatter(format="0,")
show(p)
|
#!/usr/bin/env python3
# clang-tidy review
# Copyright (c) 2020 Peter Hill
# SPDX-License-Identifier: MIT
# See LICENSE for more information
import argparse
import itertools
import fnmatch
import json
import os
from operator import itemgetter
import pprint
import re
import requests
import subprocess
import textwrap
import unidiff
from github import Github
BAD_CHARS_APT_PACKAGES_PATTERN = "[;&|($]"
DIFF_HEADER_LINE_LENGTH = 5
def make_file_line_lookup(diff):
"""Get a lookup table for each file in diff, to convert between source
line number to line number in the diff
"""
lookup = {}
for file in diff:
filename = file.target_file[2:]
lookup[filename] = {}
for hunk in file:
for line in hunk:
if line.diff_line_no is None:
continue
if not line.is_removed:
lookup[filename][line.target_line_no] = (
line.diff_line_no - DIFF_HEADER_LINE_LENGTH
)
return lookup
def make_review(contents, lookup):
"""Construct a Github PR review given some warnings and a lookup table"""
root = os.getcwd()
comments = []
for num, line in enumerate(contents):
if "warning" in line:
if line.startswith("warning"):
# Some warnings don't have the file path, skip them
# FIXME: Find a better way to handle this
continue
full_path, source_line, _, warning = line.split(":", maxsplit=3)
rel_path = os.path.relpath(full_path, root)
body = ""
for line2 in contents[num + 1 :]:
if "warning" in line2:
break
body += "\n" + line2.replace(full_path, rel_path)
comment_body = f"""{warning.strip().replace("'", "`")}
```cpp
{textwrap.dedent(body).strip()}
```
"""
try:
comments.append(
{
"path": rel_path,
"body": comment_body,
"position": lookup[rel_path][int(source_line)],
}
)
except KeyError:
print(
f"WARNING: Skipping comment for file '{rel_path}' not in PR changeset. Comment body is:\n{comment_body}"
)
review = {
"body": "clang-tidy made some suggestions",
"event": "COMMENT",
"comments": comments,
}
return review
def get_pr_diff(repo, pr_number, token):
"""Download the PR diff, return a list of PatchedFile"""
headers = {
"Accept": "application/vnd.github.v3.diff",
"Authorization": f"token {token}",
}
url = f"https://api.github.com/repos/{repo}/pulls/{pr_number}"
pr_diff_response = requests.get(url, headers=headers)
pr_diff_response.raise_for_status()
# PatchSet is the easiest way to construct what we want, but the
# diff_line_no property on lines is counted from the top of the
# whole PatchSet, whereas GitHub is expecting the "position"
# property to be line count within each file's diff. So we need to
# do this little bit of faff to get a list of file-diffs with
# their own diff_line_no range
diff = [
unidiff.PatchSet(str(file))[0]
for file in unidiff.PatchSet(pr_diff_response.text)
]
return diff
def get_line_ranges(diff, files):
"""Return the line ranges of added lines in diff, suitable for the
line-filter argument of clang-tidy
"""
lines_by_file = {}
for filename in diff:
if filename.target_file[2:] not in files:
continue
added_lines = []
for hunk in filename:
for line in hunk:
if line.is_added:
added_lines.append(line.target_line_no)
for _, group in itertools.groupby(
enumerate(added_lines), lambda ix: ix[0] - ix[1]
):
groups = list(map(itemgetter(1), group))
lines_by_file.setdefault(filename.target_file[2:], []).append(
[groups[0], groups[-1]]
)
line_filter_json = []
for name, lines in lines_by_file.items():
line_filter_json.append(str({"name": name, "lines": lines}))
return json.dumps(line_filter_json, separators=(",", ":"))
def get_clang_tidy_warnings(
line_filter, build_dir, clang_tidy_checks, clang_tidy_binary, files
):
"""Get the clang-tidy warnings"""
command = f"{clang_tidy_binary} -p={build_dir} -checks={clang_tidy_checks} -extra-arg=-Wno-error=unknown-warning-option -line-filter={line_filter} {files}"
print(f"Running:\n\t{command}")
try:
output = subprocess.run(
command, capture_output=True, shell=True, check=True, encoding="utf-8"
)
except subprocess.CalledProcessError as e:
print(
f"\n\nclang-tidy failed with return code {e.returncode} and error:\n{e.stderr}\nOutput was:\n{e.stdout}"
)
raise
return output.stdout.splitlines()
def post_lgtm_comment(pull_request, package_name):
"""Post a "LGTM" comment if everything's clean, making sure not to spam"""
BODY = 'clang-tidy review says "{} is clean, {} LGTM! :+1:"'.format(package_name, package_name)
comments = pull_request.get_issue_comments()
for comment in comments:
if comment.body == BODY:
print("Already posted lgtm, will post it again.")
pull_request.create_issue_comment(BODY)
def cull_comments(pull_request, review, max_comments):
"""Remove comments from review that have already been posted, and keep
only the first max_comments
"""
comments = pull_request.get_review_comments()
for comment in comments:
review["comments"] = list(
filter(
lambda review_comment: not (
review_comment["path"] == comment.path
and review_comment["position"] == comment.position
and review_comment["body"] == comment.body
),
review["comments"],
)
)
if len(review["comments"]) > max_comments:
review["body"] += (
"\n\nThere were too many comments to post at once. "
f"Showing the first {max_comments} out of {len(review['comments'])}. "
"Check the log or trigger a new build to see more."
)
review["comments"] = review["comments"][:max_comments]
return review
def main(
repo,
pr_number,
build_dir,
clang_tidy_checks,
clang_tidy_binary,
token,
include,
exclude,
max_comments,
):
diff = get_pr_diff(repo, pr_number, token)
print(f"\nDiff from GitHub PR:\n{diff}\n")
changed_files = [filename.target_file[2:] for filename in diff]
files = []
for pattern in include:
files.extend(fnmatch.filter(changed_files, pattern))
print(f"include: {pattern}, file list now: {files}")
for pattern in exclude:
files = [f for f in files if not fnmatch.fnmatch(f, pattern)]
print(f"exclude: {pattern}, file list now: {files}")
if files == []:
print("No files to check!")
return
print(f"Checking these files: {files}", flush=True)
line_ranges = get_line_ranges(diff, files)
if line_ranges == "[]":
print("No lines added in this PR!")
return
print(f"Line filter for clang-tidy:\n{line_ranges}\n")
clang_tidy_warnings = get_clang_tidy_warnings(
line_ranges, build_dir, clang_tidy_checks, clang_tidy_binary, " ".join(files)
)
print("clang-tidy had the following warnings:\n", clang_tidy_warnings, flush=True)
lookup = make_file_line_lookup(diff)
review = make_review(clang_tidy_warnings, lookup)
print("Created the following review:\n", pprint.pformat(review), flush=True)
github = Github(token)
repo = github.get_repo(f"{repo}")
pull_request = repo.get_pull(pr_number)
if review["comments"] == []:
package_name = os.path.basename(os.path.dirname(build_dir))
post_lgtm_comment(pull_request, package_name)
return
print("Removing already posted or extra comments", flush=True)
trimmed_review = cull_comments(pull_request, review, max_comments)
print(f"::set-output name=total_comments::{len(review['comments'])}")
if trimmed_review["comments"] == []:
print("Everything already posted!")
return review
print("Posting the review:\n", pprint.pformat(trimmed_review), flush=True)
pull_request.create_review(**trimmed_review)
with open('package_comment_count.txt', 'w') as f:
print("{}".format(total_comments), file=f)
if __name__ == "__main__":
parser = argparse.ArgumentParser(
description="Create a review from clang-tidy warnings"
)
parser.add_argument("--repo", help="Repo name in form 'owner/repo'")
parser.add_argument("--pr", help="PR number", type=int)
parser.add_argument(
"--clang_tidy_binary", help="clang-tidy binary", default="clang-tidy-11"
)
parser.add_argument(
"--build_dir", help="Directory with compile_commands.json", default="."
)
parser.add_argument(
"--clang_tidy_checks",
help="checks argument",
default="'-*,performance-*,readability-*,bugprone-*,clang-analyzer-*,cppcoreguidelines-*,mpi-*,misc-*'",
)
parser.add_argument(
"--include",
help="Comma-separated list of files or patterns to include",
type=str,
nargs="?",
default="*.[ch],*.[ch]xx,*.[ch]pp,*.[ch]++,*.cc,*.hh",
)
parser.add_argument(
"--exclude",
help="Comma-separated list of files or patterns to exclude",
nargs="?",
default="",
)
parser.add_argument(
"--apt-packages",
help="Comma-separated list of apt packages to install",
type=str,
default="",
)
parser.add_argument(
"--max-comments",
help="Maximum number of comments to post at once",
type=int,
default=25,
)
parser.add_argument("--token", help="github auth token")
args = parser.parse_args()
# Remove any enclosing quotes and extra whitespace
exclude = args.exclude.strip(""" "'""").split(",")
include = args.include.strip(""" "'""").split(",")
if args.apt_packages:
# Try to make sure only 'apt install' is run
apt_packages = re.split(BAD_CHARS_APT_PACKAGES_PATTERN, args.apt_packages)[
0
].split(",")
print("Installing additional packages:", apt_packages)
subprocess.run(
["apt", "install", "-y", "--no-install-recommends"] + apt_packages
)
build_compile_commands = f"{args.build_dir}/compile_commands.json"
if os.path.exists(build_compile_commands):
print(f"Found '{build_compile_commands}', updating absolute paths")
# We might need to change some absolute paths if we're inside
# a docker container
with open(build_compile_commands, "r") as f:
compile_commands = json.load(f)
# Assume program is invoked from new source directory.
# Infer old source directory from argument --build_dir (containing compile_commands.json)
# --build_dir should have been inside the source directory to enable
# patching compile_commands.json to with the new source directory location.
original_directory = compile_commands[0]["directory"]
oldBaseDir = None
if original_directory.endswith(args.build_dir):
# Argument --build_dir is child of original source directory.
# Calculate and save original source directory in 'oldBaseDir' to enable
# patching the source directory path inside compile_commands.json
build_dir_index = -(len(args.build_dir) + 1)
oldBaseDir = original_directory[:build_dir_index]
elif args.build_dir == ".":
# Argument --build_dir was not passed.
# Assume old build directory is same as root of old source directory.
# Assume first directory in compile_commands.json is old source directory
oldBaseDir = original_directory
else:
# Notify and proceed without patching compile_commands.json.
# Assumes source code is at same location in CI filesystem as original build filesystem.
# Build directory may be located outside of source directory.
# Location of source directory must match between CI filesystem and original build filesystem.
print(
f"Failed to determine original source code root from build_dir argument and compile_commands.json directory '{original_directory}'"
)
if oldBaseDir is not None:
newbasedir = os.getcwd()
print(f"Replacing '{oldBaseDir}' with '{newbasedir}'", flush=True)
modified_compile_commands = json.dumps(compile_commands).replace(
oldBaseDir, newbasedir
)
with open(build_compile_commands, "w") as f:
f.write(modified_compile_commands)
main(
repo=args.repo,
pr_number=args.pr,
build_dir=args.build_dir,
clang_tidy_checks=args.clang_tidy_checks,
clang_tidy_binary=args.clang_tidy_binary,
token=args.token,
include=include,
exclude=exclude,
max_comments=args.max_comments,
)
|
from django import template
from bc.alerts.models import Alert
register = template.Library()
@register.simple_tag
def get_alerts(page):
return Alert.get_alerts_for_page(page)
|
import glob
import json
import os
import shlex
import subprocess
import sys
import click
import yaml
__version__ = '1.2.1'
# Takes information about command and creates an argument list from it
# In addition to an argument list, a 'cleaner' string is returned to be shown to the user
# This essentially replaces 'python -m XXX' with the command parameter
def _buildCommand(module, command, options, sourceFilename, destFilename):
# Split options string into a list of options that is space-delineated
# shlex.split is used rather than str.split to follow common shell rules such as strings in quotes are considered
# one argument, even with spaces
optionsList = shlex.split(options)
# List of arguments with the first argument being the command to run
# This is the argument list that will be actually ran by using sys.executable to get the current Python executable
# running this program.
argList = [sys.executable, '-m', module] + optionsList + ['-o', destFilename, sourceFilename]
# However, for showing the user what command was ran, we will replace the 'python -m XXX' with pyuic5 or pyrcc5 to
# make it look cleaner
# Create one command string by escaping each argument and joining together with spaces
cleanArgList = [command] + argList[3:]
commandString = ' '.join([shlex.quote(arg) for arg in cleanArgList])
return argList, commandString
def _isOutdated(src, dst, isQRCFile):
outdated = (not os.path.exists(dst) or
(os.path.getmtime(src) > os.path.getmtime(dst)))
if not outdated and isQRCFile:
# For qrc files, we need to check each individual resources.
# If one of them is newer than the dst file, the qrc file must be considered as outdated.
# File paths are relative to the qrc file path
qrcParentDir = os.path.dirname(src)
with open(src, 'r') as f:
lines = f.readlines()
lines = [line for line in lines if '<file>' in line]
cwd = os.getcwd()
os.chdir(qrcParentDir)
for line in lines:
filename = line.replace('<file>', '').replace('</file>', '').strip()
filename = os.path.abspath(filename)
if os.path.getmtime(filename) > os.path.getmtime(dst):
outdated = True
break
os.chdir(cwd)
return outdated
@click.command(name='pyqt5ac')
@click.option('--rcc_options', 'rccOptions', default='',
help='Additional options to pass to resource compiler [default: none]')
@click.option('--uic_options', 'uicOptions', default='',
help='Additional options to pass to UI compiler [default: none]')
@click.option('--config', '-c', default='', type=click.Path(exists=True, file_okay=True, dir_okay=False),
help='JSON or YAML file containing the configuration parameters')
@click.option('--force', default=False, is_flag=True, help='Compile all files regardless of last modification time')
@click.option('--init-package', 'initPackage', default=True, is_flag=True,
help='Ensures that the folder containing the generated files is a Python subpackage '
'(i.e. it contains a file called __init__.py')
@click.argument('iopaths', nargs=-1, required=False)
@click.version_option(__version__)
def cli(rccOptions, uicOptions, force, config, iopaths=(), initPackage=True):
"""Compile PyQt5 UI/QRC files into Python
IOPATHS argument is a space delineated pair of glob expressions that specify the source files to compile as the
first item in the pair and the path of the output compiled file for the second item. Multiple pairs of source and
destination paths are allowed in IOPATHS.
\b
The destination path argument supports variables that are replaced based on the
target source file:
* %%FILENAME%% - Filename of the source file without the extension
* %%EXT%% - Extension excluding the period of the file (e.g. ui or qrc)
* %%DIRNAME%% - Directory of the source file
Files that match a given source path expression are compiled if and only if the file has been modified since the
last compilation unless the FORCE flag is set. If the destination file does not exist, then the file is compiled.
A JSON or YAML configuration file path can be specified using the config option. See the GitHub page for example
config files.
\b
Example:
gui
--->example.ui
resources
--->test.qrc
\b
Command:
pyqt5ac gui/*.ui generated/%%FILENAME%%_ui.py resources/*.qrc generated/%%FILENAME%%_rc.py
\b
Results in:
generated
--->example_ui.py
--->test_rc.py
Author: Addison Elliott
"""
# iopaths is a 1D list containing pairs of the source and destination file expressions
# So the list goes something like this:
# [sourceFileExpr1, destFileExpr1, sourceFileExpr2, destFileExpr2, sourceFileExpr3, destFileExpr3]
#
# When calling the main function, it requires that ioPaths be a 2D list with 1st column source file expression and
# second column the destination file expression.
ioPaths = list(zip(iopaths[::2], iopaths[1::2]))
main(rccOptions=rccOptions, uicOptions=uicOptions, force=force, config=config, ioPaths=ioPaths,
initPackage=initPackage)
def replaceVariables(variables_definition, string_with_variables):
"""
Performs variable replacements into the given string
:param variables_definition: mapping variable_name - variable value. Matching names encased into %% will be replaces
by their respective value found in the mapping (case-sensitive)
:param string_with_variables: String where to replace the variable names (enclosed into %%'s) with their respective
values found in the variables_definition
:return: the input string with its variables replaced.
"""
for variable_name, variable_value in variables_definition.items():
string_with_variables = string_with_variables.replace("%%{}%%".format(variable_name), variable_value)
return string_with_variables
def resolvePath(path: str, reference_path: str) -> str:
"""
Translates relative paths into absolute paths, using the reference path as base.
Meaningful reference values for the caller might be the configuration file path, the script's path or the current
working directory.
:param path: path to resolve.
:param reference_path: path to be used as a reference to resolve absolute paths
:return: an absolute path corresponding to the relative path passed in input if it was relative, or the unchanged
input if it was an absolute path.
:raises: ValueError if the reference path is not absolute
"""
if not os.path.isabs(path):
if not os.path.isabs(reference_path):
raise ValueError("The reference path must be absolute.")
return os.path.join(reference_path, path)
return path
def main(rccOptions='', uicOptions='', force=False, config='', ioPaths=(), variables=None, initPackage=True):
if config:
with open(config, 'r') as fh:
if config.endswith('.yml'):
# Load YAML file
configData = yaml.load(fh, Loader=yaml.FullLoader)
else:
click.secho('JSON usage is deprecated and will be removed in 2.0.0. Use YML configuration instead',
fg='yellow')
# Assume JSON file
configData = json.load(fh)
# configData variable is a dictionary where the keys are the names of the configuration
# Load the keys and use the default value if nothing is specified
rccOptions = configData.get('rcc_options', rccOptions)
uicOptions = configData.get('uic_options', uicOptions)
force = configData.get('force', force)
ioPaths = configData.get('ioPaths', ioPaths)
variables = configData.get('variables', variables)
initPackage = configData.get('init_package', initPackage)
# Validate the custom variables
if variables is None:
variables = {}
if 'FILENAME' in variables.keys() or 'EXT' in variables.keys() or 'DIRNAME' in variables.keys():
raise ValueError("Custom variables cannot be called FILENAME, EXT or DIRNAME.")
# Loop through the list of io paths
for sourceFileExpr, destFileExpr in ioPaths:
foundItem = False
# Replace instances of the variables with the actual values of the available variables
sourceFileExpr = replaceVariables(variables, sourceFileExpr)
# Retrieve the absolute path to the source files
sourceFileExpr = resolvePath(sourceFileExpr, (os.path.dirname(config) or os.getcwd()))
# Find files that match the source filename expression given
for sourceFilename in glob.glob(sourceFileExpr, recursive=True):
# If the filename does not exist, not sure why this would ever occur, but show a warning
if not os.path.exists(sourceFilename):
click.secho('Skipping target %s, file not found' % sourceFilename, fg='yellow')
continue
foundItem = True
# Split the source filename into directory and basename
# Then split the basename into filename and extension
#
# Ex: C:/Users/addis/Documents/PythonProjects/PATS/gui/mainWindow.ui
# dirname = C:/Users/addis/Documents/PythonProjects/PATS/gui
# basename = mainWindow.ui
# filename = mainWindow
# ext = .ui
dirname, basename = os.path.split(sourceFilename)
filename, ext = os.path.splitext(basename)
# Replace instances of the variables with the actual values from the source filename
variables.update({'FILENAME': filename, 'EXT': ext[1:], 'DIRNAME': dirname})
destFilename = replaceVariables(variables, destFileExpr)
# Retrieve the absolute path to the destination files
destFilename = resolvePath(destFilename, (os.path.dirname(config) or os.getcwd()))
if ext == '.ui':
isQRCFile = False
module = 'PyQt5.uic.pyuic'
command = 'pyuic5'
options = uicOptions
elif ext == '.qrc':
isQRCFile = True
module = 'PyQt5.pyrcc_main'
command = 'pyrcc5'
options = rccOptions
else:
click.secho('Unknown target %s found' % sourceFilename, fg='yellow')
continue
# Create all directories to the destination filename and do nothing if they already exist
dest_file_directory = os.path.dirname(destFilename)
os.makedirs(dest_file_directory, exist_ok=True)
# Ensure __init__.py is present and, if it's missing, generate it
if initPackage:
with open(os.path.join(dest_file_directory, "__init__.py"), 'a'):
pass
# If we are force compiling everything or the source file is outdated, then compile, otherwise skip!
if force or _isOutdated(sourceFilename, destFilename, isQRCFile):
argList, commandString = _buildCommand(module, command, options, sourceFilename, destFilename)
commandResult = subprocess.run(argList, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if commandResult.returncode == 0:
click.secho(commandString, fg='green')
else:
if commandResult.stderr:
click.secho(commandString, fg='yellow')
click.secho(commandResult.stderr.decode(), fg='red')
else:
click.secho(commandString, fg='yellow')
click.secho('Command returned with non-zero exit status %i' % commandResult.returncode,
fg='red')
else:
click.secho('Skipping %s, up to date' % filename)
if not foundItem:
click.secho('No items found in %s' % sourceFileExpr)
if __name__ == '__main__':
cli()
|
from django.conf import settings
from classification.models.classification import ClassificationImport, \
ClassificationImportAlleleSource, Classification
from library.log_utils import report_exc_info
from snpdb.clingen_allele import populate_clingen_alleles_for_variants
from snpdb.liftover import create_liftover_pipelines
from snpdb.models import GenomeBuild, ImportSource, Variant
from snpdb.variant_pk_lookup import VariantPKLookup
from upload.models import ModifiedImportedVariant, UploadStep
from upload.tasks.vcf.import_vcf_step_task import ImportVCFStepTask
from variantgrid.celery import app
class ClassificationImportProcessVariantsTask(ImportVCFStepTask):
""" This is run after the VCF import data insertion stage.
Variants will be in database, at this stage
BulkMinimalVCFProcessor will have inserted ModifiedImportedVariant if
any were normalised during import process """
def process_items(self, upload_step: UploadStep):
vc_import = upload_step.uploaded_file.uploadedclassificationimport.classification_import
genome_build = vc_import.genome_build
self.link_inserted_variants(genome_build, vc_import, upload_step)
# Make sure classification variants have ClinGen AlleleIDs
variants_qs = vc_import.get_variants_qs()
populate_clingen_alleles_for_variants(genome_build, variants_qs)
# Schedules liftover (runs as separate tasks)
liftover_classification_import(vc_import, ImportSource.API)
# bulk_update_cached_c_hgvs call below won't get liftovers as they're in a separate task.
# It will be called again in Liftover.complete()
Classification.bulk_update_cached_c_hgvs(vc_import)
return 0 # Unknown how many we have to do so was set to 0
@staticmethod
def link_inserted_variants(genome_build: GenomeBuild,
classification_import: ClassificationImport,
upload_step: UploadStep):
variant_pk_lookup = VariantPKLookup.factory(genome_build)
variant_tuples_by_hash = {}
classifications_by_hash = {}
# Create a list of variant tuples for classifications that have no variant set
no_variant_qs = classification_import.classification_set.filter(variant__isnull=True)
for classification in no_variant_qs:
variant_tuple = classification.get_variant_coordinates_from_evidence()
if variant_tuple:
variant_hash = variant_pk_lookup.add(*variant_tuple)
variant_tuples_by_hash[variant_hash] = variant_tuple
classifications_by_hash[variant_hash] = classification
else:
# note this shouldn't happen at this step - to get here get_variant_coordinates_from_evidence
# has to have previously returned a proper value
classification.set_variant(None, message="Could not derive variant coordinates", failed=True)
# Look up variant tuples - if not exists was normalised during import - lookup ModifiedImportedVariant
variant_pk_lookup.batch_check()
for variant_hash, variant_pk in variant_pk_lookup.variant_pk_by_hash.items():
classification = classifications_by_hash[variant_hash]
variant_tuple = variant_tuples_by_hash[variant_hash]
try:
validation_message = None
if variant_pk is None:
# Not inserted - was normalised during import
try:
miv = ModifiedImportedVariant.get_upload_pipeline_unnormalized_variant(upload_step.upload_pipeline, *variant_tuple)
variant_pk = miv.variant.pk
validation_message = f"{miv.old_variant} was normalized to {miv.variant}"
except ModifiedImportedVariant.DoesNotExist:
variant_str = " ".join(map(str, variant_tuple))
validation_message = f"Variant '{variant_str}' for classification {classification.pk} not inserted!"
variant = None
if variant_pk:
variant = Variant.objects.get(pk=variant_pk)
# go via the set method so signals can be called
classification.set_variant(variant, message=validation_message, failed=not variant)
except Exception as e:
report_exc_info()
classification.set_variant(None, message=f'Unexpected error during matching {str(e)}', failed=True)
def liftover_classification_import(classification_import: ClassificationImport,
import_source: ImportSource):
if settings.LIFTOVER_CLASSIFICATIONS:
allele_source = ClassificationImportAlleleSource.objects.create(classification_import=classification_import)
genome_build = classification_import.genome_build
create_liftover_pipelines(classification_import.user, allele_source, import_source, genome_build)
ClassificationImportProcessVariantsTask = app.register_task(ClassificationImportProcessVariantsTask())
|
"""
This file contains the residuals for testing GLM.
All residuals were obtained with Stata.
The residuals are column ordered as
Pearson, Deviance, Working, Anscombe, and Response Residuals
"""
import numpy as np
lbw = [-.67369007, -.86512534, -.06703079, -.93506245, -.31217507,
-.38301082, -.52323205, -.01427243, -.55879206, -.12793027,
-.68788286, -.88025592, -.07003063, -.95205459, -.32119762,
-.96932399, -1.1510657, -.12098923, -1.2626094, -.48442686,
-1.017216, -1.1919416, -.12709645, -1.3106868, -.50853393,
-.56992387, -.75002865, -.04537362, -.80685236, -.24517662,
-.38236113, -.52240243, -.01419429, -.5578939, -.12755193,
-.70541551, -.89874491, -.07371959, -.97286469, -.33226988,
-.53129095, -.70516948, -.03779124, -.75734471, -.22013309,
-.59687896, -.78068461, -.05087588, -.84082824, -.26268069,
-.72944938, -.92372831, -.07872676, -1.0010676, -.34729955,
-.48089188, -.64503581, -.02865125, -.6913447, -.18782188,
-1.7509231, -1.6748694, -.13984667, -1.9107428, -.75404181,
-1.0993874, -1.2588746, -.13558784, -1.3901949, -.54723527,
-.73406378, -.9284774, -.0796795, -1.0064397, -.35016393,
-.73406378, -.9284774, -.0796795, -1.0064397, -.35016393,
-.91970083, -1.1071944, -.11376204, -1.2113902, -.45824406,
-.58253395, -.76443611, -.04792993, -.8228052, -.25336683,
-.87010277, -1.0617464, -.10565948, -1.1587271, -.43087357,
-.55091811, -.72809506, -.04159148, -.78261562, -.23284101,
-.50228984, -.67078749, -.03241138, -.71955949, -.20146616,
-.56681231, -.74645574, -.04474827, -.80290024, -.24315597,
-.16739043, -.23509228, -.00072263, -.24969795, -.02725586,
-.53429779, -.70869969, -.03836573, -.76123202, -.22207692,
-.81310524, -1.0074762, -.09536044, -1.0963421, -.39800383,
-.24319644, -.339003, -.00294417, -.36060255, -.05584178,
-.62985338, -.81746346, -.05776093, -.88175202, -.28403447,
-.27289888, -.37902784, -.00447115, -.403468, -.06931188,
-.73980785, -.9343678, -.08086098, -1.0131078, -.35371946,
-.79896487, -.99366645, -.09266053, -1.0805507, -.3896279,
-.79896487, -.99366645, -.09266053, -1.0805507, -.3896279,
-.95715693, -1.140454, -.11930111, -1.2501848, -.47812002,
-1.2258645, -1.3545388, -.14405247, -1.5056478, -.60043853,
-.27739012, -.38504179, -.00474005, -.40991694, -.07144772,
-.65459114, -.84453257, -.06298676, -.91198968, -.29995988,
-.46709275, -.62825848, -.02633193, -.67300059, -.17910031,
-.54303849, -.71892471, -.04005189, -.77249964, -.22773411,
-.54176628, -.71743989, -.03980502, -.77086265, -.22691015,
-.25756493, -.35841857, -.00362961, -.38138453, -.06221253,
-.55956791, -.73810992, -.04330137, -.79367479, -.2384528,
-.69600671, -.88885063, -.07174285, -.96172188, -.32633864,
-.23256318, -.32457262, -.00249768, -.34516994, -.05131047,
-.64757466, -.83690034, -.06150185, -.90345369, -.2954536,
-.28195528, -.39114407, -.00502406, -.41646289, -.07364416,
-1.1570243, -1.3035317, -.14010172, -1.443813, -.57241299,
-1.1570243, -1.3035317, -.14010172, -1.443813, -.57241299,
-.30030789, -.41556527, -.00627721, -.44268348, -.08272435,
-.55114605, -.72835967, -.04163627, -.78290767, -.23298882,
-.3806923, -.52027022, -.01399469, -.5555858, -.12658158,
-1.1987876, -1.33477, -.1426768, -1.4816055, -.58967487,
-.94149929, -1.12666, -.11704805, -1.2340685, -.46989562,
-.53813037, -.71318989, -.03910216, -.76617855, -.22455631,
-.55398245, -.73164922, -.04219494, -.78653899, -.2348285,
-.6479873, -.83735019, -.06158914, -.90395657, -.29571887,
-.62689671, -.81419816, -.0571388, -.87811137, -.28212464,
-.67810985, -.86985289, -.06796584, -.94036802, -.31499013,
-1.4692211, -1.5166623, -.14786328, -1.7067836, -.68340511,
-.40499087, -.55113968, -.01705699, -.58904006, -.14090647,
-.67731506, -.86900381, -.06779774, -.93941488, -.31448425,
-.62489302, -.81198168, -.0567176, -.87564093, -.28082972,
-.62489302, -.81198168, -.0567176, -.87564093, -.28082972,
-.57609901, -.75709845, -.04662119, -.81467722, -.24918728,
-.60844593, -.79367679, -.0532758, -.85526404, -.27018297,
-.29839126, -.41302333, -.00613785, -.43995243, -.08175784,
-1.3570687, -1.4452542, -.14780947, -1.6172873, -.64808999,
-.78708367, -.98195509, -.0903525, -1.0671844, -.38252574,
-.5858308, -.76818375, -.04860366, -.82695911, -.25550797,
-.31665807, -.43716753, -.00754852, -.46591063, -.09113411,
-.82908669, -1.0229172, -.09834616, -1.1140383, -.40736693,
-.69616804, -.88902083, -.07177681, -.96191342, -.32644055,
-1.0915205, -1.2526359, -.13488154, -1.3827415, -.54367425,
-.64853308, -.837945, -.0617046, -.90462156, -.29606968,
-.94223393, -1.1273107, -.11715578, -1.2348278, -.47028421,
-.816023, -1.0103085, -.09591088, -1.0995849, -.39972155,
-.57856847, -.75991792, -.04712242, -.81779956, -.25079125,
-.32734654, -.45120803, -.00846067, -.48102477, -.09678472,
-.31077092, -.42940642, -.00707363, -.45756203, -.08807264,
-.61538501, -.80142385, -.05472422, -.86388252, -.27467837,
-1.1456594, -1.2948703, -.13930185, -1.4333765, -.5675742,
-.21863111, -.30558898, -.00198616, -.32488425, -.045619,
-.34650082, -.47620326, -.01025864, -.50796716, -.10719293,
-.22518959, -.31453605, -.00221689, -.33444271, -.04826292,
-.56093617, -.73968913, -.04357365, -.79541979, -.23934092,
-.56471813, -.74404709, -.04432868, -.80023684, -.24179618,
-.5589041, -.73734327, -.04316945, -.79282776, -.23802197,
-.98405074, -1.1637857, -.12295866, -1.2775329, -.49196179,
-.67623178, -.86784578, -.06756859, -.9381151, -.31379451,
-.34443674, -.47352019, -.01005474, -.50507281, -.10605469,
-.20538064, -.28745723, -.00157184, -.30552538, -.04047396,
-.36261354, -.49705954, -.01193509, -.53048488, -.11620849,
-.33216574, -.45751709, -.00889321, -.48782091, -.09937016,
-.52834459, -.70170398, -.03723117, -.75353006, -.21822964,
-.65107472, -.84071206, -.06224241, -.90771574, -.29770265,
-2.2838855, -1.9116213, -.11327561, -2.2332026, -.83912829,
-.57856847, -.75991792, -.04712242, -.81779956, -.25079125,
-.30573921, -.4227577, -.00668307, -.45041336, -.08548557,
-.26475363, -.36809496, -.0040096, -.39174994, -.06550308,
-.50724876, -.67670909, -.03330933, -.72605772, -.2046457,
-.50724876, -.67670909, -.03330933, -.72605772, -.2046457,
-.29708892, -.41129496, -.00604429, -.43809571, -.08110349,
-.39538836, -.53898588, -.01580695, -.57585866, -.13519643,
-.95811737, -1.141295, -.11943637, -1.2511687, -.47862055,
-.79777479, -.99249783, -.09243093, -1.0792158, -.38891913,
-.4007824, -.54582043, -.01650278, -.58326946, -.1383964,
-.59547213, -.77909775, -.05058538, -.83906658, -.26176764,
-.67961214, -.87145655, -.06828352, -.9421685, -.31594589,
-.35903387, -.49243968, -.01154966, -.52549403, -.11418612,
-.25982794, -.36146745, -.00374651, -.38464992, -.06324112,
-.63086237, -.8185763, -.0579734, -.88299313, -.28468594,
-.52587777, -.6987977, -.03676448, -.75033205,
-.21663702, -.19948442, -.27936589, -.00140862, -.29689136,
-.03827107, -.61183026, -.7974596, -.05398148, -.85947135,
-.27237604, -.50385167, -.67265442, -.03269316, -.72160779,
-.20246694, -.48499858, -.65000311, -.02935791, -.69678155,
-.19042999, -.42040434, -.57052211, -.01917023, -.61008878,
-.15019447, -.48053382, -.64460216, -.02858999, -.69087017,
-.18759474, -.37464721, -.51253189, -.01328506, -.54721232,
-.12308435, -.49531764, -.66243224, -.03116534, -.71039719,
-.19700616, -.36160926, -.49576422, -.01182621, -.52908537,
-.11564002, -.75971278, -.95459728, -.08491171, -1.0360505,
-.36595033, -.29016492,
-.40209055, -.00556233, -.42821114, -.07765727, -.40546611,
-.55173962, -.01712019, -.58969106, -.14119063, -.39648646,
-.54037876, -.01594727, -.57736865, -.13584627, -.35179057,
-.48306766, -.01079245, -.51537461, -.11012759, -.33522775,
-.46151868, -.00917494, -.49213296, -.10102472, -.33337344,
-.45909602, -.00900368, -.48952221, -.10002166, -.28349954,
-.39320584, -.00512259, -.41867509, -.07439288, -.62237174,
-.80918847, -.05618813, -.87252863, -.27919958, -.37781929,
-.51659535, -.01365481, -.55160868, -.12491598, -.26957183,
-.37456618, -.00427859, -.39868504, -.06774594, .61566918,
.80174036, .05478366, .86423481, .27486236, 2.1552118, 1.8605156,
.11994504, 2.1616254, .82285014, .6958925, .88873013, .07171881,
.96158626, .32626648, .48936001, .65526554, .03011636, .70254431,
.19320564, .94341916, 1.1283597, .11732917, 1.2360523, .47091059,
2.317558, 1.9244575, .11155378, 2.2513666, .84304062, 1.0055755,
1.1821359, .12569111, 1.2991214, .50277997, 1.1758629, 1.3177365,
.14133315, 1.4609684, .58029986, .77665994, .97159873, .08829985,
1.0553839, .37624776, .92862761, 1.1152029, .11512854, 1.2207114,
.46304378, 1.7104194, 1.6537851, .14148619, 1.8830756, .74525762,
.51347062, .68411403, .03444926, .73418924, .20864293, 1.7302647,
1.6641798, .14069739, 1.8966961, .7496129, 1.7159282, 1.656683,
.14127016, 1.886869, .74647663, 1.4097427, 1.4794559, .14814617,
1.659967, .66525789, 2.0442483, 1.8136166, .12572138, 2.0969416,
.80691071, 1.7479484, 1.6733383, .13997094, 1.9087284, .75341056,
1.7094805, 1.6532902, .14152278, 1.8824281, .74504908, 1.4965596,
1.5332827, .14752494, 1.7278315, .69132856, 1.1936562, 1.330981,
.14239054, 1.4770087, .58759741, .82652693, 1.0204559, .09787281,
1.1112146, .40587474, 2.2245013, 1.8884508, .11633994, 2.2006058,
.83188774, 1.0349547, 1.206727, .12914052, 1.3281647, .51717209,
1.3170894, 1.4184715, .14713645, 1.5840959, .63433244, 3.1267629,
2.1805419, .07637108, 2.631322, .90720675, .57215628, .7525877,
.04582366, .809684, .24662647, .86627248, 1.0581685, .10499903,
1.1545978, .42871115, .94218582, 1.1272681, .11714873, 1.2347781,
.47025877, 1.1156811, 1.2716852, .13698079, 1.405528, .55451496,
.53496988, .70948787, .03849454, .76210013, .22251157, 1.4497097,
1.5046175, .14802749, 1.6915825, .6775918, 1.2233611, 1.3527267,
.14393463, 1.5034398, .59945723, 1.545073, 1.5620618, .14664053,
1.7644793, .70477532, 2.020635, 1.803272, .12694042, 2.0827983,
.80326447, .59611095, .7798185, .05071725, .83986668, .26218226,
.85655928, 1.0490513, .1033029, 1.144086, .42319688, 1.1157473,
1.2717369, .13698625, 1.40559, .55454427, 1.5187563, 1.5465618,
.1471632, 1.7447092, .69757645, 1.2580261, 1.3775399, .14540261,
1.5337471, .61279777, 2.2387897, 1.8940894, .11559989, 2.2085158,
.83367096, 1.4987735, 1.5346157, .14749226, 1.7295233, .69195908,
.87949714, 1.0704799, .10725881, 1.1688167, .43614806, .81628943,
1.0105668, .09596102, 1.0998807, .39987821, 1.0340841, 1.2060057,
.12904294, 1.327311, .51675179, 1.7490122, 1.6738861, .13992657,
1.9094491, .75363655, 1.6803635, 1.6378022, .14262258, 1.8622063,
.73846784, 1.8051113, 1.7022925, .13748913, 1.9469661, .7651715,
1.5637979, 1.5729326, .14621078, 1.7783904, .70976331, 1.1993095,
1.3351545, .14270545, 1.4820722, .58988546, 1.3197815, 1.4202979,
.1471939, 1.5863531, .63527917, .71898726, .91290406, .07655565,
.98883657, .34077931, 1.5103554, 1.5415584, .14730892, 1.7383434,
.69523097, 3.0022063, 2.1465826, .08091665, 2.5788383, .90013225,
.64440768, .83344364, .06083212, .89959036, .29341668, 1.5019795,
1.5365427, .14744358, 1.7319699, .69286925, 1.3305489, 1.4275696,
.1474058, 1.5953487, .63903614, .90521582, 1.094089, .11148405,
1.1961638, .45037299, .6236701, .81062745, .05646071, .87413186,
.28003914, .71234937, .90599551, .07517106, .9810397, .3366244]
lbw_resids = np.array(lbw).astype(float).reshape(-1, 5)
cpunish = [.29883413, .29637762, 62.478695, .29638095, 1.7736344,
.280627, .27622019, 6.5853375, .27623151, .80342558,
4.0930531, 2.9777878, 6.1503069, 3.0157174, 4.6881034,
.16338859, .16114971, 1.1563983, .16115474, .31370176,
.63595872, .59618385, 1.9109264, .59656954, .91769973,
.9059739, .8066189, .99577089, .80822353, .9349684,
.0532905, .0529548, .14244545, .05295515, .07395759,
-.26830664, -.2766384, -1.0082872, -.27668319, -.41714051,
-.62341484, -.68349824, -1.5652763, -.68459104, -.84732188,
-1.1015655, -1.2743561, -5.3400286, -1.279951, -1.8643241,
-1.2006618, -1.4021282, -6.6206839, -1.40923, -2.1211989,
-1.2797534, -1.505173, -7.8054171, -1.5136295, -2.3382067,
-.960585, -1.0954134, -3.8587164, -1.0992211, -1.5269969,
.10846917, .10649195, .0921891, .10649783, .1027458,
.02088367, .02081086, .02023963, .0208109, .02066675,
.63647875, .56713011, .24880139, .56824372, .4653791,
-.69597083, -.77000601, -1.9377178, -.77151335, -.97909358]
cpunish_resids = np.array(cpunish).astype(float).reshape(-1, 5)
scotvote = [.04317472, .04256856, -8338.93, .04256786, 2.4956853,
-.01827077, -.01838325, 2762.4019, -.01838319, -.97334528,
.05609817, .05508221, -7252.03, .05508069, 2.8365188,
-.02280193, -.02297758, 4525.3102, -.02297747, -1.3300374,
-.02505649, -.02526888, 8767.023, -.02526873, -1.7656214,
-.1421743, -.14953291, 26174.801, -.14950069, -8.0880132,
-.01973673, -.01986809, 5888.0406, -.01986801, -1.318784,
.06763015, .06616299, -19473.553, .06616036, 4.4658962,
.0202078, .02007327, -3928.3996, .02007319, 1.1706255,
-.00841611, -.00843983, 2127.7741, -.00843983, -.53216875,
-.04429363, -.04496504, 6971.3512, -.04496419, -2.3914787,
.01158536, .01154092, -2667.3324, .01154091, .71006619,
.05538677, .05439602, -15077.849, .05439455, 3.5896364,
.09018494, .08760809, -23064.91, .087602, 5.7245313,
.06595122, .06455471, -14747.68, .06455226, 4.0030388,
.00220373, .00220212, -923.58004, .00220212, .16491647,
.09775671, .09474141, -17697.14, .09473373, 5.5300885,
-.0669005, -.06845346, 24989.253, -.06845044, -4.8180428,
.05194846, .05107522, -13846.987, .05107401, 3.3432347,
.01298505, .01292927, -1828.3796, .01292925, .67554021,
.02257874, .02241101, -5988.3279, .02241091, 1.4506691,
.01474752, .01467564, -5311.9833, .01467562, 1.0492967,
.03640993, .03597719, -3483.054, .03597677, 1.665201,
-.06613827, -.06765534, 10963.702, -.06765242, -3.633186,
-.05046726, -.05134215, 15165.308, -.05134088, -3.3803129,
-.02546479, -.02568421, 3585.6787, -.02568405, -1.3248006,
-.08159133, -.08392239, 14470.556, -.08391679, -4.5841388,
-.0330796, -.03345156, 6495.2667, -.03345121, -1.9226747,
.00327289, .00326933, -1001.1863, .00326933, .22052594,
-.02631155, -.02654593, 5824.1466, -.02654575, -1.5916286,
.01183737, .01179098, -4763.0477, .01179097, .87390689,
-.03325649, -.03363248, 11219.87, -.03363212, -2.3151557]
scotvote_resids = np.array(scotvote).astype(float).reshape(-1, 5)
star98 = [-1.3375372, -1.3342565, -3674.3805, -1.3343393, -18.732624,
.97808463, .99272841, 197.05157, .99291658, 5.7338226,
4.2825696, 4.29447, 7304.117, 4.2983582, 51.167264, .20665475,
.20689409, 283.85261, .20689456, 2.2971775, -3.4397844,
-3.7418743, -184.10712, -3.7732602, -12.963164, -8.8955127,
-8.7070478, -94493.01, -8.7156529, -195.54523, 1.3093612,
1.3040684, 6904.5348, 1.3041169, 22.790356, -2.3354095,
-2.3171211, -6891.6853, -2.3175198, -33.497868, -4.9509734,
-4.9716533, -7444.4706, -4.9782445, -56.720276, -4.3896461,
-4.3936251, -19119.121, -4.3958412, -71.687315, 2.6246727,
2.6002292, 33800.262, 2.6004266, 61.52101, 1.0381778,
1.0655404, 147.40536, 1.0658131, 5.4160865, -5.371452,
-5.4255371, -8735.5422, -5.433774, -63.167122, -7.5162302,
-7.6600055, -16610.436, -7.6793193, -97.902488, -4.3246609,
-4.217551, -1806.9456, -4.2260371, -32.330796, .71999176,
.72316703, 1710.1519, .7231808, 9.6064571, .83376421,
.83436314, 761.12734, .83440607, 8.0881266, .41765273,
.41667589, 28.903009, .41670531, 1.7147122, -.97120884,
-.97003594, -4270.4621, -.97005936, -15.911094, -.78556304,
-.78233445, -114.9327, -.78245171, -4.1393793, .4683723,
.46647357, 82.954347, .46649502, 2.6303115, -3.16957,
-3.1551738, -3676.7765, -3.1571205, -33.303456, -.38920026,
-.38921763, -264.25346, -.38922293, -3.4207576, -1.0390527,
-1.0501682, -142.6529, -1.0504701, -5.3602524, -.49574502,
-.50267378, -24.102686, -.50273464, -1.80937, -2.2481933,
-2.4896172, -69.551199, -2.5023778, -7.0576042, -1.3995564,
-1.4016203, -7695.0826, -1.4016817, -24.701957, -.76201728,
-.76276852, -248.87895, -.76283364, -5.2477435, -5.8106439,
-5.7357935, -3949.2359, -5.7521318, -51.088192, -1.820624,
-1.8167933, -25414.833, -1.816864, -43.837178, -2.7775306,
-2.8101272, -5091.1243, -2.8111605, -33.992033, -3.1071576,
-3.1348341, -28006.635, -3.1353206, -64.66399, 11.837296,
12.808605, 52779.155, 12.870791, 194.83, -3.9656907, -3.9744174,
-4008.7749, -3.9787813, -39.800004, -4.5046818, -4.5023142,
-3336.6423, -4.5100703, -40.757978, -.38346895, -.38304692,
-125.48142, -.38305507, -2.6424896, 5.6273411, 5.681476,
71231.288, 5.6838456, 131.14722, -1.5145537, -1.5377442,
-638.15567, -1.5381844, -11.35443, 2.2753821, 2.2209277,
373.39831, 2.2231916, 12.457389, -4.8882434, -4.9340401,
-177334.75, -4.9347866, -161.82036, -1.4349869, -1.4382502,
-490.99346, -1.438675, -10.03669, -.96129188, -.96925001,
-1132.2858, -.96930259, -10.152092, -.59602753, -.61535222,
-10.219633, -.61556693, -1.5369367, -1.6921098, -1.7682293,
-209.62528, -1.7697022, -8.4352944, -2.065882, -2.0983974,
-2413.6559, -2.0989602, -21.758492, 1.706241, 1.6722477,
619.3497, 1.6727942, 12.171354, -2.2661248, -2.4109784,
-229.55882, -2.4155989, -10.563809, 1.813806, 1.7981115,
2640.4014, 1.7984068, 20.556565, 2.8637417, 2.7708527,
953.89903, 2.7734059, 19.851349, -1.8653504, -1.9698798,
-174.47052, -1.9724197, -8.4673524, 3.0149566, 2.8208287,
242.43232, 2.82676, 13.013203, .45187706, .45323648,
89.545212, .45325533, 2.6344764, 2.7424901, 2.5741674,
100.25966, 2.5823554, 9.102041, .80475572, .80568002,
162.81099, .8057857, 4.7242981, -1.7931126, -1.8014064,
-550.80513, -1.8023078, -12.098672, .41003106, .4090133,
40.285464, .40903525, 1.8920269, -8.1724325, -8.1912034,
-1099.8395, -8.3432365, -41.880384, .33393717, .33561525,
16.178174, .33563459, 1.2173618, -4.2543897, -4.4474257,
-2759.1931, -4.4560182, -36.825802, -3.0294284, -3.1254693,
-2652.9286, -3.1277555, -28.983377, 2.6466251, 2.5383754,
209.60581, 2.5434964, 11.365696, -.53150465, -.53394445,
-574.22139, -.53395369, -5.4537827, -4.5786254, -4.9826244,
-850.48142, -5.0141021, -26.124321, .6145684, .61269984,
172.28365, .61273633, 4.0221801, -3.0290547, -3.4019779,
-93.787279, -3.4386297, -9.5115812, 3.4030858, 3.4990013,
870.1726, 3.5068227, 21.599833, -1.814412, -1.8483025,
-1673.4079, -1.8487382, -17.661376, -4.9709195, -5.139411,
-1528.4106, -5.1619673, -33.550925, -2.8711722, -2.8576622,
-758.19886, -2.8615509, -18.420463, -1.3502232, -1.3640438,
-478.67408, -1.3643946, -9.5561658, -4.3706639, -4.4505896,
-1448.8143, -4.4640268, -30.248407, -3.367544, -3.3462251,
-2374.7355, -3.3494443, -29.974177, -1.8700967, -1.9265107,
-533.05459, -1.9276199, -12.307408, -5.8411431, -5.7888752,
-6974.89, -5.8005435, -61.969456, -3.0671616, -3.3185696,
-465.64228, -3.3281753, -16.362208, .33866907, .33869449,
36.748824, .33870635, 1.6153433, .00332937, .0033292, .68084286,
.0033292, .01961509, -2.1948692, -2.3506102, -201.54464,
-2.3551288, -9.9021502, 1.2513472, 1.2525696, 331.50739,
1.2529014, 8.0367961, .2431842, .2423829, 57.23407, .24238525,
1.5014416, 2.3344863, 2.3363314, 519.08023, 2.3387547, 14.142919,
2.9247512, 2.9590047, 454.57521, 2.965438, 15.72514, -2.0556046,
-2.0645602, -122.36309, -2.0686323, -8.026198, -3.6416917,
-3.8107525, -127.30076, -3.8522025, -11.907277, -2.3465563,
-2.3399588, -18062.323, -2.3401837, -46.331731, 3.1328605,
3.2237462, 4682.5244, 3.2254621, 35.819599, 2.6706612, 2.6160849,
4114.3045, 2.6168714, 30.844519, 2.3338673, 2.2998076, 5737.2307,
2.300211, 31.498137, 4.7426743, 4.4878081, 2137.1449, 4.4958392,
36.36025, -2.7264016, -2.7602159, -7855.6752, -2.7609288,
-38.796069, -.25073542, -.24982419, -109.74435, -.24982577,
-1.9037263, -1.8471557, -1.8428066, -5142.1808, -1.8430239,
-25.984725, -2.15461, -2.1580564, -8379.8765, -2.1583395,
-33.883764, -3.232046, -3.2299069, -4022.416, -3.2319278,
-34.76541, 4.3258916, 4.4036403, 5374.9301, 4.4089414, 46.505897,
2.3506664, 2.3436886, 8472.7811, 2.3440641, 36.041483, -3.0103866,
-3.0330376, -2827.8239, -3.0350909, -29.48259, 3.8880208,
3.8515615, 20380.935, 3.8528134, 67.539901, .30206136,
.30102793, 111.56376, .30103128, 2.1672275, -.47552074,
-.47774865, -535.52925, -.47775487, -4.947366, -1.2969297,
-1.2873699, -448.58874, -1.2876585, -9.1038917, 5.4016685,
5.4129828, 75706.187, 5.4148884, 130.23541, -3.5207455,
-3.4746651, -5392.0206, -3.4767282, -40.582638, 6.437813,
6.0694683, 9426.0253, 6.0779522, 73.102984, 2.9362577,
3.0932929, 995.57798, 3.0975282, 20.474872, 4.2903354,
4.4294349, 8449.8125, 4.4332812, 53.778645, 5.1739607,
5.1278401, 217916.35, 5.1285599, 180.01638, .04642506,
.04642284, 27682.162, .04642284, 3.9075241, -4.2469413,
-4.4455028, -6600.8666, -4.4499328, -49.194645, 3.5858353,
3.4955032, 2596.2005, 3.4987392, 32.198796, .74407075, .74065699,
3880.9731, .74066495, 12.903961, -4.087085, -4.1499899,
-22604.866, -4.1515694, -72.278605, 4.9820244, 5.2840996,
5480.4086, 5.2940433, 51.429016, -1.4564105, -1.474377, -3103.33,
-1.4744978, -18.741249, 2.7224042, 2.6837853, 10471.442,
2.6842648, 42.655062, 11.319421, 10.709754, 60422.779,
10.731002, 197.82585, 3.265598, 3.5595753, 597.22517, 3.5699894,
18.53622, -.9650115, -.96312035, -2380.073, -.96315384,
-13.038223, 2.164339, 2.2153405, 1004.0559, 2.2165899,
16.754681, -.56780325, -.56618426, -454.15837, -.56619838,
-5.2706926, -4.3053348, -4.2507666, -30890.39, -4.252092,
-83.038422, -1.0564439, -1.0620748, -1721.3294, -1.0621333,
-12.431369, -2.7316132, -2.7880892, -10933.338, -2.7886254,
-43.370763, -1.5756134, -1.5805061, -12197.933, -1.5805756,
-31.169406, 3.4853323, 3.4765582, 18127.864, 3.4775218,
60.387216, -3.0310116, -2.9837067, -9935.8247, -2.9844447,
-45.025621, 5.4190658, 5.3833057, 3745.6544, 5.3969484,
47.913605, .836042, .83757213, 275.67062, .83765787, 5.7758454,
3.1916149, 3.3119053, 1458.2745, 3.3162779, 24.582162,
-.13107013, -.13101089, -163.9307, -.13101103, -1.4121774,
-.02167956, -.0216849, -4.2146913, -.0216849, -.12559013,
5.7062833, 5.5425845, 17395.771, 5.5473779, 82.74024,
3.9674132, 4.0510658, 5756.4774, 4.0547538, 44.914913,
1.0082364, 1.0081202, 580.6423, 1.0082229, 8.3883747,
-.1607903, -.16067812, -7.4258153, -.16068035, -.57688327,
-2.1794238, -2.168514, -892.76271, -2.1697763, -16.18601,
2.4158395, 2.3602945, 63.041821, 2.3699707, 7.1656397,
.88352525, .8834159, 284.48156, .8835178, 6.0556954,
1.4023926, 1.4004412, 1876.6768, 1.4005975, 15.454071,
-2.6481201, -2.6598485, -739.97358, -2.6629483, -17.312662,
-.04596256, -.04598842, -1.0216786, -.04598851, -.12923324,
-4.8706759, -4.9160841, -1506.657, -4.9347237, -32.940558,
-.14989449, -.15037145, -4.8188818, -.15037368, -.47662029,
-.70456375, -.70836868, -629.50443, -.70839399, -6.7859886,
-2.9238357, -3.0439268, -353.87052, -3.0525781, -14.462724,
-1.3816671, -1.416089, -245.24501, -1.4166886, -7.7648965,
-2.6389059, -2.6411431, -299.06009, -2.6466421, -12.770329,
1.6796181, 1.6292513, 50.990814, 1.6319631, 5.2396749,
-4.6907555, -4.0071153, -50.243176, -4.0598436, -10.340008,
-2.4520787, -2.4202063, -255.88275, -2.424463, -11.544362,
-.56336474, -.55902069, -125.96524, -.55905011, -3.4193484,
-1.5439833, -1.5530797, -3645.9363, -1.5532245, -20.560393,
-.35769835, -.35628075, -66.699031, -.3562898, -2.0435462,
-5.8985411, -6.0079377, -4913.6259, -6.0258256, -55.500526,
4.7314097, 4.4310616, 685.04579, 4.4478122, 24.844689,
-.83919065, -.84650215, -46.818948, -.84679291, -3.2066211,
-.03089159, -.03089176, -160.02828, -.03089177, -.53451397,
.88361004, .88295033, 130.47124, .8831211, 4.6703062, 2.3335326,
2.3548024, 2642.7267, 2.3556438, 24.323534, 4.4071647, 4.4439502,
69380.031, 4.444919, 110.45474, 3.2787794, 3.2745315, 66934.736,
3.2748563, 89.610449, 1.6362845, 1.6715687, 384.84329, 1.6724119,
10.10029, 6.3093651, 6.3182562, 32186.911, 6.3242009, 108.61343,
3.611326, 3.6092834, 40001.62, 3.6099395, 80.501442, 5.2158338,
5.266765, 49709.38, 5.2690472, 110.58476, 2.1901909, 2.1664396,
22261.835, 2.166564, 47.443309, -.52967183, -.52891298,
-6096.2169, -.5289149, -11.958904, 1.7552088, 1.7533111,
7659.1081, 1.7534507, 28.682165, 9.3002312, 9.6458876,
70515.872, 9.6628501, 182.70824, -1.6751411, -1.6596802,
-2489.8995, -1.6599057, -19.117372, .15967588, .15973638,
131.71812, .1597367, 1.4975272, -6.7038594, -6.8116189,
-2053.7136, -6.8628644, -45.192173, 3.2862183, 3.307876,
3814.1386, 3.3101871, 34.535289, -3.5011058, -3.4842254,
-2091.8209, -3.4883111, -29.487977, -5.918473, -6.0585339,
-22523.518, -6.065055, -92.402812, -5.6222517, -5.9653862,
-3338.7985, -5.9887053, -47.257447, -3.5602535, -3.6713991,
-1269.7128, -3.6786167, -25.247736, -.92430902, -.9254755,
-10749.074, -.92548614, -20.941212, -5.2384521, -5.3357226,
-29922.325, -5.3390592, -93.641227, 3.9600059, 3.9203361,
15722.094, 3.9219252, 62.704786, -6.5203802, -6.6896631,
-28737.546, -6.6976513, -106.90512, -6.2106413, -6.3132951,
-73040.278, -6.3167014, -141.2359, -.20342402, -.2036375,
-744.52393, -.20363773, -3.134929, 3.0717208, 2.997104,
1083.974, 3.0004496, 21.706716, -2.578223, -2.5895842,
-34704.883, -2.589796, -61.330595, 2.1154631, 2.0707695,
913.4727, 2.0717072, 15.989522, -4.4212059, -4.6762251,
-5267.8305, -4.6824606, -46.871022, -6.0308154, -6.1288048,
-22200.014, -6.1357161, -93.118315, 2.0010941, 2.0050502,
8179.9494, 2.0052698, 31.995965, -4.7215135, -4.7224521,
-10299.541, -4.7268107, -61.234115, -.61478931, -.61724539,
-936.8533, -.61725705, -7.0747006, -1.7242039, -1.7260096,
-31850.535, -1.7260607, -45.578987, 4.2597077, 4.2708827,
15752.019, 4.2731622, 65.871661, .13878808, .13874551,
110.47553, .13874572, 1.2862443, .06198083, .0619749,
17.679469, .06197494, .40800109, -.51497256, -.5153046,
-11904.695, -.51530576, -14.669956, -5.0832571, -5.0614461,
-115983.47, -5.0625443, -144.17615, 4.8631068, 4.9376385,
4604.7975, 4.9466392, 47.754326, .41687368, .41579762,
354.31543, .41580291, 3.9488109, 1.5740145, 1.5668996,
233.56283, 1.5678388, 8.3331091, -1.0156158, -1.0212038,
-1092.6454, -1.0212729, -10.406692, 2.7223636, 2.7077122,
1547.9597, 2.7096859, 22.553674, -1.7144195, -1.7151036,
-21079.76, -1.7151695, -39.570052, -1.1877669, -1.1941703,
-5141.3335, -1.1942127, -19.357357, -9.1433754, -9.5217086,
-84411.705, -9.5357864, -191.8103, -2.4873675, -2.4944945,
-5322.7872, -2.4951476, -32.053319, -.52446998, -.52526652,
-67.958396, -.52530591, -2.6539626, 2.3976154, 2.3905626,
12988.353, 2.3908659, 42.108622, 2.1940034, 2.1651172,
9681.0591, 2.1653379, 35.98591, -6.109209, -6.0299691,
-7699.0563, -6.0425009, -65.988636, 3.8079023, 3.7502112,
44419.258, 3.7508204, 86.360332, -1.8819326, -1.8918879,
-6906.1083, -1.8920842, -29.027781, -5.8802911, -5.9010268,
-11508.862, -5.910263, -73.554629, .3642416, .36357882,
103.13817, .36358642, 2.3918439, -.1875515, -.18754808,
-248.0582, -.18754846, -2.0587245, -3.2885067, -3.3249747,
-12471.058, -3.3260255, -51.282232, -3.4245938, -3.5766289,
-292.02275, -3.5949103, -15.073413, 1.6999336, 1.6998475,
5830.6976, 1.6999974, 25.636662, 2.7145418, 2.692024,
7781.6473, 2.6926642, 38.561584, 2.3688876, 2.4300853,
676.72969, 2.4324331, 15.601561, 8.4394979, 8.3138999,
61224.725, 8.3239664, 163.37541, 4.634536, 4.6071471,
7022.4616, 4.6122045, 53.231327, .9590249, .97735056,
38.64247, .97790484, 3.2878214, -2.041165, -2.0676384,
-416.51119, -2.0694518, -12.016951, 7.3712772, 7.5493285,
83124.524, 7.5553493, 165.29951, 1.0943632, 1.095498,
1564.5913, 1.0955701, 12.328435, 15.712534, 15.419989,
1246536, 15.432621, 675.14817, .75482542, .7538249,
6187.394, .75383208, 15.219496, 1.5411183, 1.5461771,
2717.0765, 1.5463534, 18.617639, .05192873, .05191976,
257.80525, .05191977, .88586806, 6.9659606, 6.7887171,
14554.668, 6.8007292, 89.054275, -1.3180532, -1.3173208,
-35718.803, -1.3173384, -39.59019, 3.1417625, 3.1357097,
1099.7541, 3.140007, 22.14186, -2.2540263, -2.2575945,
-4491.5963, -2.2581012, -28.364354, -3.6364072, -3.6980171,
-1193.2561, -3.7057156, -25.08185, -8.9597209, -9.0798549,
-92417.588, -9.0911537, -195.03589, 1.3128072, 1.3119967,
6846.1057, 1.3120487, 22.765744, 5.0951244, 5.2515277,
1418.9377, 5.277164, 33.272924, -6.6168923, -6.7651375,
-71965.581, -6.7695384, -146.60349, 1.4743967, 1.4749183,
3777.6522, 1.4750374, 20.175155, .88203319, .88612343,
873.71372, .88617114, 8.7925127, 10.232282, 10.227907,
24708.303, 10.269468, 137.27643, 2.4994204, 2.522306,
4996.1112, 2.52301, 31.484991, -.33601015, -.33565892,
-94.016495, -.33566501, -2.1977061, 1.2014409, 1.201799,
1306.5399, 1.2019131, 12.354993, -.1917435, -.19167108,
-12.795383, -.19167405, -.7777348, -1.1541729, -1.1510202,
-841.79482, -1.1511491, -10.389213, -3.3155305, -3.322033,
-7755.1242, -3.3234863, -44.011375, 1.638263, 1.6289084,
699.83365, 1.6294247, 12.338263, -2.3074323, -2.3163968,
-5852.6398, -2.3168634, -31.468056, -2.9464432, -2.9898088,
-4559.9816, -2.9912043, -34.081582, .64340142, .64392566,
1516.8902, .64393612, 8.5632652, 1.8216221, 1.8737544,
1093.3062, 1.8743269, 15.365716, -4.1484683, -4.1550817,
-54011.578, -4.1559855, -97.59348, -2.0098146, -2.0067011,
-6797.1668, -2.0069487, -30.168008, -3.0886434, -3.0641784,
-6766.3444, -3.0653206, -40.114053, 3.1034238, 3.0604395,
12317.888, 3.0611532, 49.136717, -4.2798863, -4.165237,
-2660.4643, -4.1713732, -36.526436, -2.7642694, -2.7673322,
-601.62921, -2.7714243, -16.627612, -4.1354083, -4.150768,
-3169.2294, -4.1567748, -37.843982, 2.085076, 2.110033,
337.53611, 2.1122867, 11.363741, 4.0312289, 4.1372091,
3906.6743, 4.1424073, 39.892756, -.2784614, -.27871515,
-124.55464, -.27871771, -2.1295931, .91847241, .91775794,
6536.0012, .91777237, 17.666402, -6.5936505, -6.4164512,
-4117.1251, -6.4394331, -56.3571, -3.7873428, -3.7775824,
-15933.885, -3.7790071, -61.140686, -3.1255338, -3.1497479,
-17261.446, -3.1504428, -55.246977, -.88895885, -.88950053,
-146.0698, -.88966377, -4.8690165, 2.8107448, 2.8179615,
2663.2443, 2.8195846, 27.606919, -3.4316528, -3.4093229,
-6258.9413, -3.4111217, -41.927843, .32348352, .32327145,
142.66038, .32327548, 2.4622713, 2.4586408, 2.4836465,
1053.3637, 2.4855562, 18.534868, -2.0863466, -2.1097879,
-3798.3528, -2.1102179, -25.475501, 1.347211, 1.3375771,
207.73027, 1.3381379, 7.2242097, 1.2748403, 1.2586908,
390.71981, 1.2589676, 8.5952597, 4.663177, 4.6237577,
10949.742, 4.6275274, 61.980617, -1.0236763, -1.0387965,
-129.94316, -1.0390997, -5.1446941, .65592571, .64964267,
88.122068, .64970828, 3.3594228, -2.8938186, -2.9083096,
-7662.4106, -2.9092097, -40.034648, -.69787881, -.70020831,
-245.99605, -.70025591, -4.929801, .91412968, .90636729,
27.986161, .90687785, 2.8596946, -.23737615, -.2370982,
-8.2266245, -.23710685, -.77392452, 9.7240867, 8.4710294,
1709.1431, 8.5511321, 54.470164, 5.1143944, 4.797313,
1780.4902, 4.8086774, 35.978469, -1.3933966, -1.4279007,
-342.37443, -1.428383, -8.7273744, -6.1643948, -6.2380461,
-53226.802, -6.2421242, -126.46502, -1.1072716, -1.133251,
-137.57627, -1.1336345, -5.5252331, 2.9131647, 2.6591858,
117.336, 2.6660231, 9.9858979, -.703409, -.69788492,
-30.466814, -.69806848, -2.4702882, -1.3796104, -1.4028155,
-502.94299, -1.4031774, -9.8554675, 3.4481209, 3.4947658,
2211.4348, 3.4988676, 29.735805, -5.1424068, -5.0932624,
-28852.779, -5.0960527, -91.377689, 1.1658373, 1.1641565,
5674.2865, 1.1641943, 19.757366, 7.2585799, 7.4634011,
40841.836, 7.4728428, 129.10296, -.29489292, -.29380271,
-90.475766, -.2938062, -1.9889338, 2.1286688, 2.1307039,
3118.6032, 2.1312262, 24.176426, 6.4743187, 6.7041785,
10245.251, 6.7206537, 75.44612, -.18655471, -.1872321,
-8.1187575, -.18723562, -.65619663, -1.7840986, -1.807568,
-1161.9624, -1.8081095, -15.464763, -3.9600761, -4.0954915,
-885.68765, -4.109497, -24.037865, -2.3068248, -2.3243811,
-3915.5288, -2.3249968, -27.517346, -7.0204058, -7.1839731,
-15774.818, -7.1997808, -91.952371, 3.1544948, 3.0861172,
655.79074, 3.091473, 18.687088]
star98_resids = np.array(star98).astype(float).reshape(-1, 5)
invgauss = [
[0.21946682, 0.19838235, -0.13116093, 0.19804544, 0.2329114],
[-0.68724239, -1.20786, 0.29727304, -1.1461406, -0.6548399],
[-0.02508381, -0.02537231, 0.00493116, -0.02537176, -0.01837619],
[0.13333854, 0.12526482, -0.06542915, 0.12518341, 0.13250661],
[-0.1828634, -0.20290189, 0.11601121, -0.20253671, -0.19796778],
[-0.18576541, -0.20700925, 0.14184774, -0.20660529, -0.21392459],
[-0.01680541, -0.01694517, 0.00684574, -0.01694497, -0.01569578],
[0.01580889, 0.01566406, -0.0337669, 0.01566384, 0.02565121],
[0.40499508, 0.3419356, -0.19304143, 0.3403085, 0.39859025],
[0.04500324, 0.04404018, -0.01918807, 0.04403675, 0.04267593],
[-0.35003226, -0.43573938, 0.19717053, -0.43227509, -0.36421909],
[-0.44886321, -0.59409509, 0.14983417, -0.58638517, -0.3923042],
[0.35983219, 0.3103634, -0.12058593, 0.30923487, 0.3149021],
[0.61634589, 0.48829837, -0.21846474, 0.48391242, 0.54956633],
[-0.19586429, -0.21798637, 0.08445516, -0.21757089, -0.18643276],
[-0.67768345, -1.0811333, 0.12589839, -1.0427999, -0.4871933],
[-0.43106322, -0.55561146, 0.10528459, -0.54969041, -0.3394889],
[0.27120489, 0.24173716, -0.08854081, 0.24120493, 0.23528243],
[-0.05090118, -0.0522168, 0.02073681, -0.05221113, -0.04754183],
[0.38145175, 0.32775094, -0.09872406, 0.32649672, 0.30627443],
[-0.06122628, -0.06313667, 0.02402832, -0.06312674, -0.05647762],
[-0.27729954, -0.32438509, 0.10631392, -0.3230591, -0.25380849],
[-0.17498754, -0.19254711, 0.083475, -0.19225397, -0.17226626],
[-0.04475333, -0.04570496, 0.01064837, -0.04570159, -0.03493987],
[2.1079261, 1.2436278, -0.36382129, 1.1877369, 1.4786871],
[-0.59050542, -0.85032246, 0.09040464, -0.83176757, -0.3980059],
[-0.27481622, -0.32238792, 0.13093539, -0.32102242, -0.27043148],
[-0.32072485, -0.38688683, 0.12794677, -0.38462801, -0.29746887],
[-0.49304951, -0.6674332, 0.11797934, -0.65734004, -0.38566096],
[0.06418319, 0.06232442, -0.01895976, 0.06231545, 0.05385613],
[-0.15233039, -0.16429293, 0.03637778, -0.16413654, -0.11907294],
[0.14306921, 0.13431256, -0.04142349, 0.1342233, 0.11924944],
[0.50771239, 0.41922154, -0.11900574, 0.41666974, 0.39440688],
[-0.33686723, -0.4055089, 0.07946929, -0.40319374, -0.26225008],
[-0.12603683, -0.13365709, 0.01972519, -0.13358036, -0.08557535],
[-0.28690375, -0.33635948, 0.09007555, -0.3349458, -0.24568],
[-0.38061163, -0.49506721, 0.36307402, -0.48940939, -0.47205916],
[-0.61802926, -0.99345317, 0.28705958, -0.95710777, -0.60303156],
[0.33500504, 0.29312132, -0.0745651, 0.29225169, 0.25579345],
[0.09993473, 0.09567799, -0.02142368, 0.09564778, 0.0753562],
[-0.77390406, -1.5092293, 0.24944552, -1.4025957, -0.66853885],
[-0.56372333, -0.81484888, 0.13961703, -0.79670113, -0.4460328],
[-0.58464894, -0.89675035, 0.25143829, -0.86997468, -0.55601168],
[-0.79699816, -1.5367111, 0.18308007, -1.4316205, -0.61498129],
[1.2612303, 0.8616029, -0.25955307, 0.84110028, 0.93817023],
[0.16274853, 0.15026277, -0.14167113, 0.15010333, 0.19578609],
[-0.43961546, -0.5730583, 0.12125264, -0.56640134, -0.36054187],
[0.11414296, 0.10838846, -0.03769438, 0.10834013, 0.09940349],
[0.234557, 0.21059654, -0.14686052, 0.21018955, 0.25281953],
[-0.58416576, -0.89122107, 0.23552975, -0.86525941, -0.5437292],
[0.25647739, 0.23192464, -0.03632729, 0.23153369, 0.1684433],
[-0.45074863, -0.58662315, 0.09520965, -0.57989069, -0.33821532],
[0.19326576, 0.17842124, -0.03625637, 0.17823145, 0.13939313],
[0.56053862, 0.45568773, -0.12652518, 0.45244681, 0.43000418],
[-0.19469865, -0.21453127, 0.03993593, -0.2141952, -0.14466825],
[-0.19716704, -0.21788899, 0.04601467, -0.21752674, -0.15294373],
[-0.43999815, -0.58606522, 0.20411479, -0.57811493, -0.42914302],
[0.01566139, 0.01554434, -0.00569429, 0.01554419, 0.01408348],
[-0.2383123, -0.26955511, 0.05428065, -0.26887452, -0.18336762],
[-0.64722983, -0.99421314, 0.113679, -0.96432537, -0.45667696],
[-0.19029977, -0.21185782, 0.10882145, -0.21145172, -0.19900944],
[0.52360533, 0.42760203, -0.17110953, 0.42469226, 0.45439907],
[0.53511334, 0.43209168, -0.26125299, 0.42881606, 0.53087744],
[0.06765918, 0.06581012, -0.00721243, 0.0658017, 0.04041926],
[-0.33830509, -0.4080903, 0.08346023, -0.40570789, -0.26732662],
[0.25358176, 0.2261832, -0.14274032, 0.2256911, 0.26379764],
[0.64897923, 0.50000076, -0.52550319, 0.49437774, 0.76211817],
[-0.40741312, -0.51148167, 0.07673901, -0.50709672, -0.2942425],
[-0.36424337, -0.45859178, 0.20539539, -0.45456159, -0.37914151],
[0.03219191, 0.03166734, -0.02244757, 0.03166592, 0.03596645],
[0.09131316, 0.08775474, -0.01880635, 0.08773163, 0.06794128],
[0.09544249, 0.09147182, -0.02468448, 0.0914443, 0.07661477],
[-0.26565384, -0.30975165, 0.12756023, -0.30853737, -0.26209526],
[-0.67698377, -1.2354946, 0.45589181, -1.1640047, -0.74762319],
[-0.5849103, -0.89192114, 0.2316015, -0.86599792, -0.54114872],
[-0.41648676, -0.52673306, 0.08059767, -0.52192252, -0.30351836],
[0.60186248, 0.4774551, -0.247836, 0.47321483, 0.56415222],
[-0.48771891, -0.68555533, 0.27302358, -0.67248587, -0.5064343],
[-0.23870823, -0.27432787, 0.13922256, -0.27344544, -0.25128012],
[-0.46352127, -0.61110291, 0.10542772, -0.60338992, -0.3564851],
[-0.15315845, -0.16768992, 0.15638745, -0.16746051, -0.19431423],
[-0.11028172, -0.11661361, 0.03746978, -0.11655305, -0.09695557],
[-0.09766739, -0.10260147, 0.03416514, -0.10255995, -0.08670367],
[-0.25865969, -0.3031103, 0.20195439, -0.30184354, -0.30008683],
[-0.29530742, -0.35636228, 0.25145118, -0.35427322, -0.3526502],
[-0.43655156, -0.59436743, 0.35324208, -0.58503774, -0.51253616],
[-0.0260924, -0.02641737, 0.00727071, -0.0264167, -0.02147229],
[-0.68007447, -1.2304932, 0.41095371, -1.1612362, -0.72440028],
[-0.55540409, -0.806563, 0.16968559, -0.78815111, -0.47130029],
[0.08496324, 0.08153547, -0.0466319, 0.08151243, 0.08764458],
[0.25291318, 0.2275826, -0.06526919, 0.22716071, 0.20287431],
[-0.3459101, -0.43509049, 0.30138239, -0.43129855, -0.41625371],
[-0.17190125, -0.1890793, 0.09316763, -0.18879372, -0.17658387],
[-0.20852324, -0.23414686, 0.09714721, -0.23362349, -0.20366813],
[0.59134795, 0.48223124, -0.06984852, 0.47890327, 0.36555927],
[-0.25589175, -0.30711218, 0.63498647, -0.30541476, -0.43648469],
[-0.03186028, -0.03232117, 0.005511, -0.03232006, -0.02236591],
[-0.25594521, -0.28948219, 0.03054559, -0.28875201, -0.158766],
[-0.51359911, -0.70176826, 0.10370339, -0.69049933, -0.37962706],
[0.19992662, 0.18358969, -0.05191884, 0.18336752, 0.16070599],
[-0.03252799, -0.03304344, 0.01041198, -0.03304208, -0.02803448],
[0.87784986, 0.65610395, -0.17025957, 0.64692494, 0.6402172],
[0.25557659, 0.22823559, -0.12059263, 0.22774936, 0.25068651],
[-0.31197284, -0.37536793, 0.1441638, -0.37323551, -0.30388314],
[-0.49409432, -0.69358795, 0.24006401, -0.68046772, -0.48939432],
[0.29230454, 0.26153551, -0.03469097, 0.26099704, 0.18098358],
[-0.43107557, -0.55170049, 0.08647818, -0.54614283, -0.31794191],
[1.1243036, 0.79861683, -0.16621181, 0.78325509, 0.74900784],
[0.94243785, 0.66779165, -0.7453546, 0.6547638, 1.098077],
[-0.00547659, -0.00548998, 0.0009586, -0.00548998, -0.00385978],
[-0.48125962, -0.64802831, 0.12750168, -0.63856528, -0.38943494],
[0.08075752, 0.07765921, -0.04328822, 0.0776394, 0.08265236],
[-0.01733649, -0.01747477, 0.003682, -0.01747458, -0.01303203],
[0.37106276, 0.31699846, -0.18163582, 0.31569208, 0.36844733],
[0.08082038, 0.0777816, -0.03548928, 0.07776256, 0.0773968],
[0.04414503, 0.04321061, -0.02021886, 0.04320732, 0.04287296],
[0.29116544, 0.25845228, -0.07178838, 0.25784145, 0.23003183],
[0.28895977, 0.2544519, -0.1475, 0.25376729, 0.29095931],
[-0.17460846, -0.18979305, 0.02755812, -0.18957327, -0.11888764],
[-0.2784603, -0.3217463, 0.05463276, -0.32062952, -0.20386214],
[-0.48120414, -0.65896058, 0.18281081, -0.64823028, -0.43910009],
[0.43919416, 0.36448122, -0.28435028, 0.3623776, 0.47870238],
[0.29138147, 0.25700789, -0.12079888, 0.25633418, 0.27374041],
[-0.62673306, -1.0166031, 0.28405348, -0.9780172, -0.6065479],
[-0.38350618, -0.48318203, 0.13895444, -0.47891006, -0.34446813],
[-0.15554825, -0.16871708, 0.05613268, -0.16853152, -0.13952714],
[-0.5004515, -0.69034345, 0.15487883, -0.67857984, -0.42649638],
[0.01693351, 0.01677943, -0.01832247, 0.0167792, 0.02190295],
[-0.2479185, -0.28563098, 0.1182882, -0.28467869, -0.24407863],
[2.2482611, 1.2402532, -1.3060192, 1.1700227, 2.3635113],
[0.20602966, 0.18306043, -1.0509977, 0.18263483, 0.44685205],
[0.58486763, 0.47239982, -0.12643067, 0.46882798, 0.44224799],
[-0.22978171, -0.26822207, 0.43025548, -0.2671554, -0.35683089],
[-0.04893299, -0.05008781, 0.01291673, -0.05008327, -0.03954838],
[-0.31992822, -0.38629891, 0.13558557, -0.38402033, -0.30277234],
[0.23281539, 0.21056172, -0.07755681, 0.21020792, 0.20334075],
[-0.40389696, -0.50231576, 0.06081306, -0.49835653, -0.27072146],
[-0.4149099, -0.53505755, 0.14485935, -0.52933329, -0.36809624],
[-0.19484302, -0.21478077, 0.04112692, -0.21444139, -0.14616452],
[-0.59354453, -0.92007961, 0.2558687, -0.89126164, -0.56491693],
[-0.22649251, -0.25446097, 0.05203575, -0.25388691, -0.17477522],
[0.11308923, 0.10712155, -0.06333083, 0.1070691, 0.11744356],
[2.1570618, 1.2739476, -0.29396154, 1.2169135, 1.3985625],
[-0.36661502, -0.45229019, 0.100595, -0.44898252, -0.30015274],
[-0.13090653, -0.14049298, 0.06964604, -0.14037609, -0.13364407],
[1.034831, 0.73728361, -0.28908361, 0.72334743, 0.85230971],
[0.01234337, 0.01225937, -0.01630469, 0.01225927, 0.01706357],
[-0.02041978, -0.02062125, 0.00657333, -0.02062092, -0.01763217],
[0.25698133, 0.23093649, -0.06508868, 0.23049756, 0.20485482],
[-0.18856169, -0.21000433, 0.12057066, -0.20959888, -0.20467251],
[-0.61349066, -0.96438489, 0.23401299, -0.93226802, -0.56056842],
[-0.13403576, -0.14335573, 0.03787054, -0.14324782, -0.11081307],
[-0.28087233, -0.32981483, 0.11523373, -0.32840075, -0.26295161],
[-0.22715035, -0.25568596, 0.0578659, -0.25509017, -0.18142335],
[-0.10101297, -0.10622081, 0.03092045, -0.10617609, -0.08577157],
[-0.54132787, -0.75073436, 0.09183236, -0.73751806, -0.37755669],
[2.2315997, 1.2410837, -1.1229495, 1.1726349, 2.236356],
[-0.25446228, -0.29017245, 0.05324106, -0.28934008, -0.19033026],
[1.3392881, 0.8691534, -0.84530931, 0.84265167, 1.447431],
[-0.14885417, -0.16179664, 0.098637, -0.16160935, -0.16350484],
[-0.181369, -0.19915316, 0.05233794, -0.19886303, -0.15100486],
[-0.31967023, -0.39613132, 0.35022326, -0.3931111, -0.41520234],
[-0.24715716, -0.28116998, 0.05816391, -0.28039245, -0.19225457],
[1.4170507, 0.91116127, -0.71593757, 0.88220543, 1.421975],
[-0.07102628, -0.07327601, 0.00833581, -0.07326414, -0.04381323],
[0.09590878, 0.09172196, -0.03769426, 0.09169151, 0.08851306],
[-0.39687496, -0.49270953, 0.06599145, -0.48888849, -0.27496348],
[0.03874853, 0.03795295, -0.04323879, 0.03795023, 0.05063739],
[-0.44362887, -0.57774381, 0.11003445, -0.57107979, -0.35118241],
[-0.37567437, -0.4721807, 0.15220406, -0.46809172, -0.3502352],
[-0.80446806, -1.7538868, 0.34012519, -1.5881386, -0.76072695],
[-0.31456215, -0.37615399, 0.10474692, -0.37415682, -0.27470173],
[1.4262995, 0.92384058, -0.54235857, 0.89542537, 1.3019051],
[-0.07533168, -0.07813108, 0.02041389, -0.07811374, -0.06141913],
[-0.25107743, -0.28541588, 0.04897872, -0.28463574, -0.18346403],
[-0.23182627, -0.25881558, 0.02763425, -0.25829316, -0.14374773],
[-0.55699071, -0.79988016, 0.13780416, -0.7826818, -0.44055089],
[-0.60340691, -0.87652356, 0.08783114, -0.85648447, -0.39991377],
[-0.59608332, -0.88509811, 0.13627737, -0.86245829, -0.45922187],
[0.16977873, 0.1570718, -0.0786399, 0.15691349, 0.16550578],
[-0.42714799, -0.58248304, 0.4346435, -0.57324717, -0.54130243],
[-0.07064828, -0.07297453, 0.01213357, -0.07296177, -0.04947745],
[-0.45992196, -0.62723585, 0.2410807, -0.61728428, -0.46721873],
[0.63399242, 0.50020189, -0.21266542, 0.49554878, 0.55500684],
[-0.5474725, -0.83875274, 0.41875875, -0.81384186, -0.63082104],
[-0.73538742, -1.3490981, 0.24474851, -1.269732, -0.6420874],
[-0.16915226, -0.18683668, 0.15054797, -0.18652915, -0.20499983],
[-0.46165077, -0.62756406, 0.21855899, -0.61781118, -0.45332389],
[-0.2516681, -0.29165745, 0.14377037, -0.29060301, -0.26309863],
[1.1349967, 0.77223199, -0.69151736, 0.75346989, 1.2122925],
[-0.07717557, -0.08009098, 0.01934847, -0.08007263, -0.06131199],
[-0.19818136, -0.22060833, 0.07801391, -0.22018631, -0.18299641],
[0.94335083, 0.66547504, -0.86786046, 0.65216005, 1.1559582],
[1.2301549, 0.84702958, -0.24236003, 0.82768642, 0.90185533],
[-0.52846413, -0.74437682, 0.14929506, -0.73001422, -0.4368867],
[0.00926399, 0.00922251, -0.00363285, 0.00922248, 0.00854328],
[-0.2320652, -0.26378555, 0.09157412, -0.26306529, -0.21445734],
[-0.61930279, -0.98844461, 0.26019757, -0.95333125, -0.58440389],
[-0.29300103, -0.34646666, 0.11354046, -0.34484973, -0.26913673],
[-0.63014989, -1.0083751, 0.23337426, -0.97216438, -0.57015144],
[0.20438505, 0.18552944, -0.15192759, 0.18524006, 0.2332679],
[0.21299143, 0.19454797, -0.0567153, 0.19428223, 0.172644],
[0.32055523, 0.28060605, -0.10244481, 0.27977921, 0.2761268],
[0.35875689, 0.30637082, -0.24389494, 0.30510224, 0.39744566],
[-0.04853752, -0.04991749, 0.06914812, -0.04991095, -0.06881057],
[-0.01334856, -0.01343572, 0.0050181, -0.01343563, -0.01213797],
[-0.14104088, -0.15198247, 0.06106202, -0.15184115, -0.13443027],
[1.2296562, 0.8493208, -0.21855297, 0.83024186, 0.87106662],
[-0.0963121, -0.10139637, 0.05513227, -0.10135166, -0.10075483],
[-0.62115306, -0.91519607, 0.08714316, -0.89268037, -0.40664945],
[0.14955772, 0.14007855, -0.04106003, 0.1399785, 0.12246791],
[0.11541852, 0.10981708, -0.02383052, 0.1097718, 0.08594847],
[-0.30922027, -0.36994709, 0.12261091, -0.36797216, -0.28621892],
[-0.22920988, -0.26126886, 0.11985453, -0.26052408, -0.23265749],
[-0.4513332, -0.58769819, 0.09554269, -0.58092621, -0.3389019],
[0.47641919, 0.39138423, -0.26324856, 0.38887407, 0.4925589],
[0.89197557, 0.65519863, -0.29946105, 0.64492007, 0.78107383],
[1.8294421, 1.1029936, -0.61660499, 1.0572978, 1.6040754],
[-0.05912358, -0.06104126, 0.04432384, -0.06103089, -0.06767002],
[0.89695457, 0.66603428, -0.18647887, 0.65629947, 0.66947368],
[-0.54183869, -0.81568954, 0.35721411, -0.79337711, -0.5941547],
[-0.51559503, -0.75180669, 0.3284956, -0.7342743, -0.55897493],
[0.80389009, 0.6029852, -0.29722955, 0.5947539, 0.72695095],
[-0.15169744, -0.16470762, 0.07603953, -0.16452191, -0.15182454],
[-0.03221923, -0.03273869, 0.01307928, -0.0327373, -0.03005717],
[0.38336443, 0.32796541, -0.12744674, 0.32663763, 0.33460117],
[-0.34412063, -0.41857653, 0.10036856, -0.41591208, -0.28752991],
[-0.42144896, -0.54963099, 0.17197579, -0.54322411, -0.39384841],
[-0.39443481, -0.5054271, 0.18219352, -0.50028514, -0.38415321],
[0.55944951, 0.45919047, -0.07643799, 0.45621914, 0.36303934],
[1.500497, 0.95328728, -0.65308846, 0.92136018, 1.4327071],
[-0.08420238, -0.08775548, 0.02464356, -0.0877305, -0.0704359],
[1.187384, 0.80804761, -0.4785498, 0.78843669, 1.1050447],
[-0.00053604, -0.00053618, 0.00021674, -0.00053618, -0.00049941],
[0.74469897, 0.5666345, -0.30080407, 0.5596433, 0.6935723],
[-0.62972476, -1.0104427, 0.24209007, -0.9737469, -0.57690306],
[-0.41289899, -0.56940561, 0.71719622, -0.55972, -0.62534336],
[-0.23785253, -0.26611685, 0.02630208, -0.26555848, -0.14383962],
[-0.25942357, -0.29728791, 0.0608765, -0.29637023, -0.20160416],
[0.77751978, 0.5882403, -0.27139008, 0.58067893, 0.68973503],
[0.50988209, 0.41425932, -0.27861761, 0.41129613, 0.52520158],
[0.47834714, 0.39842639, -0.11605974, 0.39621571, 0.37589451],
[-0.31169033, -0.36764786, 0.06178849, -0.36598262, -0.22897852],
[-0.50561712, -0.71680521, 0.23888637, -0.70245612, -0.49615987],
[0.07689107, 0.07409474, -0.03850472, 0.0740778, 0.07693051],
[-0.68130941, -1.198946, 0.32210533, -1.1374172, -0.66871166],
[-0.37679723, -0.48160687, 0.24461181, -0.47680598, -0.41106226],
[-0.05865463, -0.06050934, 0.0379785, -0.06049957, -0.06393286],
[-0.10330301, -0.10876277, 0.0317849, -0.1087147, -0.08786695],
[-0.02583652, -0.02617324, 0.01174462, -0.02617251, -0.02502912],
[-0.34649878, -0.43728814, 0.32933222, -0.43336602, -0.42922916],
[-0.04844241, -0.04961063, 0.01689242, -0.04960594, -0.04295936],
[0.47898364, 0.38890618, -0.47525159, 0.38610723, 0.60191011],
[-0.22712013, -0.2526591, 0.02497461, -0.25218155, -0.13709239],
[1.2311459, 0.82439862, -0.61134541, 0.80270725, 1.228321],
[0.55495383, 0.45373311, -0.10086472, 0.45068091, 0.39606001],
[0.0672676, 0.06540267, -0.00864428, 0.06539406, 0.04276846],
[-0.29326405, -0.34657704, 0.1098119, -0.34497071, -0.26631708],
[-0.64305896, -1.0798608, 0.33211549, -1.0329773, -0.65004023],
[0.95204054, 0.69087213, -0.28404316, 0.67917358, 0.80150901],
[-0.01583657, -0.01596697, 0.01008165, -0.01596679, -0.01716437],
[-0.17308181, -0.19085442, 0.10896987, -0.19055084, -0.18690163],
[0.23851663, 0.21641591, -0.04621634, 0.21607525, 0.17389522],
[-0.24236265, -0.27736187, 0.09702571, -0.27652257, -0.22505193],
[-0.32758453, -0.39962436, 0.16585724, -0.39700471, -0.32895543],
[-0.10080331, -0.1064483, 0.06253581, -0.10639565, -0.10831853],
[-0.57352885, -0.8450014, 0.16488262, -0.82421587, -0.47691224],
[-0.39773343, -0.49071245, 0.05253993, -0.48712159, -0.25521208],
[0.91120002, 0.66483476, -0.32773333, 0.65395074, 0.81644327],
[1.7449753, 1.0830833, -0.39014084, 1.0430876, 1.3343712],
[-0.45729182, -0.60007962, 0.10469619, -0.59275748, -0.35246493],
[-0.29580673, -0.35005361, 0.10891897, -0.34840495, -0.26712624],
[-0.31002337, -0.37474369, 0.18190652, -0.37250797, -0.32700599],
[0.18654161, 0.16983522, -0.23194817, 0.1695863, 0.25273038],
[0.91688764, 0.68605732, -0.11477754, 0.67653306, 0.57788273],
[-0.01737575, -0.01751493, 0.00375574, -0.01751474, -0.01313825],
[-0.33514683, -0.40624829, 0.1086914, -0.40375278, -0.29011163],
[0.05586841, 0.05451575, -0.01074254, 0.05451029, 0.04062779],
[-0.30097629, -0.37288715, 0.56313912, -0.37004973, -0.46727236],
[-0.06435532, -0.06635487, 0.01555102, -0.06634452, -0.05050324],
[1.683168, 1.047478, -0.48188034, 1.0092125, 1.397681],
[-0.51668519, -0.69861335, 0.07909412, -0.68812903, -0.3482374],
[-0.3657535, -0.45711543, 0.15771009, -0.45334944, -0.34814125],
[-0.48537817, -0.62511791, 0.03986077, -0.61849789, -0.26581452],
[0.00862779, 0.0085919, -0.00329303, 0.00859188, 0.00788512],
[-0.09503767, -0.09982766, 0.04167813, -0.09978744, -0.09097246],
[0.34723869, 0.2989993, -0.18031461, 0.29788735, 0.35164602],
[-0.46695991, -0.61665162, 0.10343267, -0.60877636, -0.35597184],
[-0.6871968, -1.1533617, 0.19424251, -1.1033873, -0.56821432],
[-0.46411708, -0.65869919, 0.4833767, -0.64543078, -0.59273004],
[0.70606231, 0.53756757, -0.4486713, 0.53096464, 0.76480042],
[-0.1556854, -0.16978277, 0.09499918, -0.16957033, -0.16637263],
[-0.66226392, -1.106026, 0.24847245, -1.0589874, -0.60180641],
[-0.23801501, -0.2678183, 0.03885581, -0.26719805, -0.16389469],
[0.04557001, 0.04440477, -0.09133413, 0.04439981, 0.07238921],
[-0.13911314, -0.15088159, 0.13631851, -0.15071588, -0.17408996],
[1.4387663, 0.91624473, -0.85058109, 0.88587159, 1.5213953],
[-0.43092071, -0.57464196, 0.247748, -0.56678388, -0.45145205],
[0.5834262, 0.47102589, -0.13195491, 0.46744966, 0.4478602],
[-0.8064445, -1.732115, 0.31001814, -1.5742397, -0.73879173],
[-0.05975525, -0.06163017, 0.03062133, -0.06162037, -0.060247],
[0.71311673, 0.54503254, -0.35108538, 0.53852405, 0.70944924],
[-0.28330589, -0.33648226, 0.18082704, -0.33482854, -0.30732757],
[2.9488587, 1.4905628, -1.324286, 1.3809095, 2.8451592],
[0.34215535, 0.29829967, -0.08280641, 0.29736632, 0.2686459],
[-0.71592919, -1.2115151, 0.15170411, -1.1573919, -0.53776083],
[0.26341899, 0.23734718, -0.04160406, 0.23691803, 0.17939897],
[-0.05988568, -0.06166873, 0.01917075, -0.06165989, -0.0516145],
[0.16575998, 0.15401103, -0.05504816, 0.15387239, 0.14462523],
[-0.2465342, -0.28298038, 0.10048665, -0.28208579, -0.23030193],
[0.12586652, 0.1184744, -0.07679535, 0.11840209, 0.13450191],
[0.43413164, 0.3614944, -0.25643955, 0.35948236, 0.45893653],
[-0.52625753, -0.75904535, 0.23348343, -0.74233574, -0.50570149],
[-0.14582805, -0.15667334, 0.0332696, -0.15653905, -0.11226729],
[-0.22907482, -0.26222842, 0.15482408, -0.26143162, -0.25328399],
[1.7668508, 1.06039, -0.92693076, 1.0156843, 1.7953909],
[-0.38041178, -0.48183652, 0.17407242, -0.47737956, -0.36933683],
[0.34341296, 0.29508741, -0.22770138, 0.29395921, 0.37729091],
[-0.61407417, -1.0983528, 0.84764951, -1.0388203, -0.8614485],
[-0.2614967, -0.30345824, 0.1135654, -0.30234096, -0.24949939],
[0.34180776, 0.30303645, -0.02205434, 0.3023056, 0.17272796],
[-0.21350013, -0.23815688, 0.05022845, -0.23768342, -0.16605757],
[-0.59242453, -0.9486729, 0.38552786, -0.91450675, -0.64682074],
[0.00673239, 0.00671055, -0.00252798, 0.00671053, 0.00611947],
[-0.18127834, -0.20054203, 0.09815037, -0.20020155, -0.18615353],
[-0.34896946, -0.42871336, 0.12887359, -0.42570187, -0.31544448],
[0.08732154, 0.08409452, -0.01621272, 0.08407465, 0.06276385],
[0.6832916, 0.53295434, -0.19975321, 0.52750902, 0.57136282],
[0.9849395, 0.70606212, -0.34240244, 0.6931893, 0.87256004],
[0.30984234, 0.27086184, -0.14914363, 0.27004744, 0.30594175],
[-0.48199152, -0.65029366, 0.1315505, -0.64067268, -0.39391311],
[-0.02940279, -0.0297881, 0.00438273, -0.02978726, -0.01964191],
[1.2810312, 0.87739896, -0.20992257, 0.85679861, 0.88322127],
[0.40334006, 0.33972436, -0.23154519, 0.3380619, 0.42234708],
[0.33373729, 0.29244946, -0.06847789, 0.29160111, 0.24800662],
[0.85773527, 0.62214992, -0.66591624, 0.61158506, 0.99323507],
[-0.27468661, -0.32545858, 0.20809911, -0.32390347, -0.31549446],
[1.098823, 0.76927863, -0.33563801, 0.75321846, 0.93236407],
[-0.12836792, -0.13758065, 0.06917673, -0.13747056, -0.13161367],
[-0.58997764, -0.87334667, 0.14130656, -0.85134695, -0.46162339],
[-0.25807961, -0.29852855, 0.10648919, -0.29747642, -0.24207372],
[-0.07161748, -0.07431661, 0.03448991, -0.07429966, -0.07072724],
[-0.68686562, -1.1449784, 0.18213472, -1.0966257, -0.55597521],
[1.0381346, 0.73468237, -0.35969612, 0.7202469, 0.91866611],
[-0.35002969, -0.43067728, 0.13277318, -0.42760686, -0.31923956],
[-0.09843121, -0.10336873, 0.03025306, -0.10332747, -0.08369284],
[-0.2136089, -0.24242867, 0.16133335, -0.24178269, -0.24509302],
[-0.14422786, -0.15540111, 0.05049805, -0.15525701, -0.12807596],
[-0.23448965, -0.26958699, 0.16418619, -0.26871486, -0.26234412],
[-0.43457455, -0.57663471, 0.20609226, -0.56901747, -0.42697923],
[0.08298978, 0.07996368, -0.02144022, 0.0799453, 0.06659416],
[-0.39977868, -0.50144619, 0.08679864, -0.49718097, -0.30273367],
[-0.13581469, -0.14577451, 0.05247304, -0.1456529, -0.12462922],
[-0.64910803, -1.1625603, 0.54974883, -1.0992702, -0.77376561],
[-0.62123103, -1.0200733, 0.34793076, -0.97942937, -0.64517327],
[-0.29854263, -0.3501201, 0.06657682, -0.34864249, -0.22809823],
[-0.47160741, -0.64448325, 0.20578781, -0.6341249, -0.45068208],
[0.20952869, 0.1925899, -0.03197042, 0.192362, 0.14106582],
[-0.23112507, -0.27006012, 0.43147481, -0.26897224, -0.35855836],
[0.20444175, 0.18740119, -0.05319557, 0.18716482, 0.16444281],
[-0.20074735, -0.22195347, 0.04144814, -0.22158087, -0.14948981],
[-0.24836117, -0.2923441, 0.3454659, -0.2910528, -0.34930183],
[0.60977539, 0.48693719, -0.16141134, 0.4828544, 0.49328882],
[0.03950956, 0.03876269, -0.01720066, 0.03876034, 0.03772766],
[1.0726371, 0.75963628, -0.26993955, 0.74477062, 0.85323247],
[-0.32400804, -0.39286452, 0.14409017, -0.39044371, -0.31159607],
[0.00748171, 0.00745607, -0.00178383, 0.00745605, 0.00584514],
[-0.22912932, -0.26145243, 0.12801995, -0.26069511, -0.2377696],
[-0.24334288, -0.27329276, 0.02858448, -0.27268006, -0.15015249],
[0.98857169, 0.70159971, -0.47998489, 0.68803709, 0.97894426],
[-0.256986, -0.29198901, 0.0394474, -0.29119699, -0.17336275],
[1.1512684, 0.79469328, -0.37803586, 0.77678348, 1.0007034],
[1.3369505, 0.9007234, -0.258813, 0.87772621, 0.9744261],
[-0.03528889, -0.03584243, 0.00496118, -0.03584098, -0.02311871],
[-0.51846139, -0.75303337, 0.29505226, -0.73582911, -0.54131982],
[-0.36417282, -0.44940308, 0.10714898, -0.44610779, -0.30517178],
[0.43107619, 0.36539202, -0.09131403, 0.36373302, 0.32376149],
[-0.66455363, -1.036643, 0.11220702, -1.0032585, -0.46277515],
[-0.43139516, -0.56290179, 0.14466203, -0.55631411, -0.37761134],
[-0.0166183, -0.01675004, 0.00489267, -0.01674987, -0.01392888],
[-0.20746924, -0.23084471, 0.05229881, -0.23040676, -0.16512383],
[0.17001751, 0.15829983, -0.03393058, 0.15816537, 0.12518036],
[-0.40028781, -0.48875604, 0.03449272, -0.48552314, -0.22275837],
[-0.28769553, -0.33586097, 0.07163674, -0.33452343, -0.22803981],
[0.01172257, 0.01166066, -0.00246261, 0.01166061, 0.00877992],
[-0.16326594, -0.17786135, 0.05868567, -0.1776442, -0.14625737],
[-0.13097163, -0.14039217, 0.05998306, -0.14027934, -0.12719529],
[-0.05808555, -0.0596823, 0.01229087, -0.05967498, -0.04360968],
[-0.37410184, -0.47392831, 0.20004904, -0.46953796, -0.38257394],
[-0.34349912, -0.42429369, 0.17668618, -0.4211545, -0.34675916],
[-0.01492567, -0.01503391, 0.00523041, -0.01503377, -0.01325799],
[0.29068996, 0.25753057, -0.08563828, 0.25690199, 0.24369839],
[-0.332227, -0.40395491, 0.13108667, -0.40139353, -0.30701019],
[-0.40595735, -0.51559944, 0.11220129, -0.51072004, -0.33316769],
[-0.61518924, -0.9272341, 0.13160628, -0.90172302, -0.46356221],
[0.14075706, 0.13276657, -0.0224764, 0.13269102, 0.09621269],
[-0.48528515, -0.67101151, 0.20765385, -0.65941019, -0.46073866],
[-0.05503443, -0.05643122, 0.00948432, -0.05642531, -0.03858647],
[1.750071, 1.0774354, -0.48320668, 1.0363146, 1.4357917],
[1.4174127, 0.91338448, -0.6681414, 0.88463772, 1.3898364],
[-0.38540542, -0.48559742, 0.13375997, -0.48130239, -0.34124314],
[-0.56868899, -0.78925933, 0.06278987, -0.77530311, -0.34373446],
[0.34710641, 0.29833116, -0.20567282, 0.29719408, 0.36731956],
[0.07638697, 0.07404525, -0.00804917, 0.07403329, 0.04545761],
[-0.56149623, -0.87177074, 0.40701726, -0.84427383, -0.63549505],
[-0.24999416, -0.28689392, 0.08886123, -0.2859896, -0.22311769],
[-0.23430048, -0.26493238, 0.06090427, -0.26426693, -0.18839731],
[0.78760525, 0.61138863, -0.07971736, 0.60490119, 0.46245203],
[-0.29943973, -0.35798383, 0.1537833, -0.35608827, -0.30212454],
[1.5718706, 0.99354646, -0.52506383, 0.95953593, 1.3741218],
[-0.10596756, -0.11224654, 0.06689919, -0.11218458, -0.11453342],
[-0.54909035, -0.76884924, 0.09845905, -0.75451782, -0.39011359],
[-0.32609736, -0.39539043, 0.1367698, -0.39295453, -0.30754235],
[-0.15012378, -0.1619647, 0.04234255, -0.16180922, -0.12404197],
[-0.39565971, -0.50809383, 0.18877217, -0.50283487, -0.38952668],
[-0.57553404, -0.86613075, 0.21942925, -0.84247579, -0.52580193],
[0.12683929, 0.1198912, -0.03643842, 0.11982781, 0.10544655],
[0.02270402, 0.022484, -0.00311723, 0.02248365, 0.01475712],
[-0.24123189, -0.27379475, 0.0612082, -0.2730645, -0.19241386],
[0.21800662, 0.19905626, -0.04898011, 0.19878217, 0.16697946],
[-0.60306868, -0.92619133, 0.19955451, -0.89837386, -0.52554314],
[0.41430026, 0.35401909, -0.07404215, 0.35256447, 0.29402199],
[-0.13443697, -0.14357866, 0.03083635, -0.14347514, -0.10368362],
[0.14783533, 0.13784002, -0.08570558, 0.1377275, 0.15530968],
[-0.29406624, -0.35009529, 0.14884304, -0.34832685, -0.29526793],
[-0.57288525, -0.86310269, 0.23129864, -0.83940462, -0.53347342],
[0.50213207, 0.4154233, -0.11637213, 0.41294565, 0.38860194],
[0.63428636, 0.49900067, -0.24276877, 0.49424647, 0.58022689],
[0.08921615, 0.085661, -0.02803146, 0.08563739, 0.07641657],
[-0.58928721, -0.91068237, 0.26052254, -0.8825479, -0.56560049],
[0.04359302, 0.04262897, -0.03360468, 0.04262541, 0.05036025],
[-0.19631908, -0.21918695, 0.10491377, -0.21874408, -0.2007224],
[0.2626382, 0.23384393, -0.12598651, 0.23331921, 0.25903391],
[-0.03942293, -0.04011796, 0.00570469, -0.04011591, -0.02607673],
[0.02482358, 0.02453316, -0.00854861, 0.02453259, 0.02192224],
[0.25193872, 0.22580348, -0.09755285, 0.2253527, 0.23135911],
[-0.48866528, -0.68518697, 0.25676136, -0.67231132, -0.49681444],
[-0.37802814, -0.47936239, 0.18933894, -0.4748858, -0.3782446],
[-0.34102701, -0.4160608, 0.12063284, -0.41333092, -0.30387224],
[1.7724731, 1.034292, -1.968235, 0.98591764, 2.3125373],
[-0.36586314, -0.44618456, 0.06774468, -0.44326864, -0.26273273],
[0.12187065, 0.11574187, -0.02178408, 0.11569052, 0.08649463],
[-0.31911072, -0.37837669, 0.0648449, -0.37655279, -0.23637209],
[-0.27682526, -0.3188125, 0.04792746, -0.31775533, -0.19439061],
[-0.64054568, -1.0224526, 0.1989004, -0.98611584, -0.54649805],
[0.03933659, 0.03869117, -0.00481294, 0.0386894, 0.02460431],
[-0.33307454, -0.40186308, 0.09530847, -0.39951192, -0.27653373],
[0.09703165, 0.0931105, -0.01637223, 0.0930841, 0.06755459],
[0.8318686, 0.61155395, -0.50656838, 0.602011, 0.88836719],
[-0.21584148, -0.24218836, 0.07010333, -0.24165377, -0.18693021],
[-0.4291746, -0.58532861, 0.4197218, -0.57603933, -0.53672668],
[0.69636682, 0.54924672, -0.10184715, 0.54412435, 0.4622586],
[-0.001548, -0.00154914, 0.00048186, -0.00154914, -0.00132179],
[-0.08304844, -0.08639793, 0.01876542, -0.08637542, -0.06373095],
[-0.35078789, -0.43258938, 0.14120095, -0.42943789, -0.32632644],
[0.06817824, 0.06586494, -0.05215659, 0.06585186, 0.07856159],
[-0.13281122, -0.14139016, 0.02233949, -0.14129787, -0.09236858],
[-0.63619981, -1.0325971, 0.25367231, -0.99330654, -0.58997015],
[-0.42647757, -0.55722192, 0.16400666, -0.55063623, -0.39074607],
[-0.51893985, -0.73844766, 0.2072769, -0.72335158, -0.48150963],
[-0.16373659, -0.17750708, 0.03532237, -0.17731432, -0.12372489],
[0.54251637, 0.43383208, -0.38354983, 0.43023926, 0.60891849],
[-0.50161375, -0.7221246, 0.33194245, -0.70639005, -0.55073654],
[-0.15861102, -0.17244583, 0.06087459, -0.17224499, -0.14522596],
[-0.16836261, -0.18502635, 0.10210102, -0.18475196, -0.17954933],
[1.4866833, 0.95698828, -0.47154365, 0.92672422, 1.2774079],
[1.2911355, 0.88861684, -0.16713676, 0.86827564, 0.82290279],
[-0.09839541, -0.10358873, 0.04638835, -0.10354307, -0.09648568],
[-0.09096955, -0.09470469, 0.01053519, -0.09467913, -0.05586694],
[-0.49810824, -0.67926422, 0.12716917, -0.66849219, -0.39812529],
[1.6610055, 1.0605991, -0.24860647, 1.0258457, 1.1111214],
[-0.16366309, -0.17883711, 0.07673274, -0.178603, -0.16019073],
[0.6569265, 0.51131516, -0.30129419, 0.5060029, 0.63829009],
[1.0982562, 0.76135435, -0.47545138, 0.74458407, 1.0467617],
[-0.51409591, -0.71837177, 0.16042185, -0.7051421, -0.43933312],
[-0.1187299, -0.12597206, 0.03420609, -0.12589849, -0.09879869],
[0.45654377, 0.38446577, -0.08691705, 0.38258035, 0.33090242],
[-0.28488554, -0.33901862, 0.18828181, -0.33731459, -0.31265093],
[0.21830474, 0.19756622, -0.1216919, 0.19723853, 0.22636329],
[0.33133138, 0.28878174, -0.10937445, 0.28787446, 0.28850743],
[0.08039078, 0.07735885, -0.03813546, 0.07733979, 0.07899334],
[-0.02966155, -0.03009056, 0.00975126, -0.03008952, -0.02579246],
[-0.32653548, -0.39441319, 0.11670383, -0.39207824, -0.2919613],
[-0.33337953, -0.4151742, 0.29501499, -0.41186149, -0.40325892],
[-0.49720072, -0.70191556, 0.25332848, -0.68819645, -0.50033302],
[-0.09483072, -0.09969709, 0.04929172, -0.09965549, -0.09606548],
[-0.2383112, -0.26735905, 0.03140062, -0.2667705, -0.15278675],
[0.17384791, 0.16100567, -0.0570078, 0.16084775, 0.15104317],
[-0.29885783, -0.34988492, 0.06073773, -0.34844004, -0.22138046],
[-0.48540272, -0.66641093, 0.17968785, -0.65538423, -0.43912117],
[-0.19823386, -0.21968728, 0.05525572, -0.21930114, -0.16315021],
[-0.30018563, -0.35623518, 0.10974338, -0.35450114, -0.27043488],
[-0.56089125, -0.85613782, 0.32826685, -0.83114068, -0.59111428],
[-0.42403669, -0.58488574, 0.58203682, -0.57492417, -0.59373927],
[-0.2883768, -0.34128525, 0.13392627, -0.33967655, -0.28136633],
[-0.51613294, -0.7059601, 0.10185868, -0.69454947, -0.37860272],
[0.65757961, 0.50757101, -0.43543632, 0.50194344, 0.72213286],
[1.1870079, 0.82628202, -0.22119967, 0.80848295, 0.8542282],
[0.27860199, 0.24704089, -0.11164627, 0.24644671, 0.25879004],
[-0.24053122, -0.27385251, 0.07592384, -0.27308575, -0.20634013],
[-0.16078607, -0.17692895, 0.16496248, -0.17665932, -0.20431677],
[-0.32128487, -0.38526072, 0.09923591, -0.38315146, -0.27362754],
[-0.2883748, -0.33796112, 0.08496367, -0.33654718, -0.24176455],
[0.64638334, 0.50812646, -0.216429, 0.50325443, 0.56551212],
[-0.19898496, -0.22156649, 0.07717696, -0.22114037, -0.18283221],
[0.15496505, 0.14454288, -0.05577738, 0.14442617, 0.13888389],
[0.00633671, 0.0063181, -0.00166539, 0.00631809, 0.00511397],
[-0.4739938, -0.66681795, 0.34836642, -0.65404427, -0.53893601],
[0.36246502, 0.31161843, -0.14269332, 0.31043506, 0.33469966],
[-0.22925888, -0.26072451, 0.10405145, -0.26000712, -0.22197811],
[0.4886355, 0.39530087, -0.49041548, 0.3923561, 0.61638879],
[0.2447423, 0.22157177, -0.04705109, 0.22120688, 0.17796691],
[0.45818104, 0.37993539, -0.21221618, 0.37772388, 0.44664338],
[-0.32099268, -0.38539684, 0.10526541, -0.3832575, -0.27889153],
[-0.12972388, -0.1380267, 0.02500792, -0.1379382, -0.09441677],
[-0.31683287, -0.37357803, 0.05330802, -0.37189334, -0.22037433],
[1.4682062, 0.96749296, -0.25056919, 0.94000071, 1.0260706],
[-0.07950166, -0.08302061, 0.05841841, -0.08299466, -0.09038799],
[-0.06855711, -0.07085819, 0.01818478, -0.07084532, -0.05549847],
[-0.21092744, -0.23694868, 0.09130626, -0.2364151, -0.20103217],
[-0.61472947, -0.96513955, 0.22680609, -0.93316874, -0.55550025],
[0.4952139, 0.40151315, -0.39233881, 0.39858411, 0.57733201],
[0.05935325, 0.05752996, -0.06177101, 0.05752063, 0.07578232],
[0.28816721, 0.25615663, -0.06903522, 0.25556563, 0.22549138],
[-0.06973866, -0.07231299, 0.03575098, -0.07229716, -0.07032154],
[0.76735159, 0.58759668, -0.17989453, 0.58067771, 0.59613632],
[0.0214232, 0.02120572, -0.00758547, 0.02120535, 0.01909533],
[-0.59843416, -0.92357982, 0.22634383, -0.89521849, -0.54526857],
[0.38819962, 0.32571873, -0.39803505, 0.32405296, 0.49319709],
[-0.19707937, -0.21731471, 0.03854351, -0.21696909, -0.14413006],
[-0.40534384, -0.51980512, 0.14965248, -0.51448429, -0.36637038],
[0.75387704, 0.56679094, -0.45130491, 0.55917749, 0.8005105],
[-0.50903893, -0.73255746, 0.29339799, -0.71662576, -0.53373995],
[-0.4447331, -0.59350981, 0.19587434, -0.58535142, -0.42631978],
[-0.56118785, -0.82137873, 0.1770618, -0.80184537, -0.48134573],
[0.05405625, 0.05269526, -0.02015385, 0.05268955, 0.04901849],
[0.5064457, 0.41581461, -0.16660501, 0.41313237, 0.44048178],
[-0.41284779, -0.55286364, 0.38436762, -0.54508282, -0.50790861],
[-0.29817206, -0.34948804, 0.06544106, -0.34802351, -0.226606],
[0.29133822, 0.25698419, -0.12039233, 0.25631115, 0.27340592],
[0.11252154, 0.10660969, -0.06318201, 0.10655795, 0.11695845],
[-0.13277124, -0.14234073, 0.05467631, -0.14222589, -0.12445501],
[-0.55454265, -0.79811435, 0.14813201, -0.78074838, -0.44996936],
[1.3072545, 0.89034916, -0.21571659, 0.86883081, 0.90339553],
[1.0007486, 0.71681392, -0.31062265, 0.70368218, 0.8536982],
[-0.16159869, -0.17579135, 0.0553703, -0.17558389, -0.14247134],
[-0.07081385, -0.07343344, 0.03221049, -0.07341729, -0.06861535],
[-0.16043381, -0.1744756, 0.05708551, -0.17427105, -0.14323503],
[-0.51880592, -0.72619974, 0.15403705, -0.71269002, -0.4360688],
[-0.38869728, -0.48193385, 0.07466007, -0.47824067, -0.28256202],
[0.0204857, 0.02029921, -0.00401082, 0.02029892, 0.01498723],
[-0.67349836, -1.0435125, 0.0925214, -1.0108993, -0.43783966],
[1.1593064, 0.803795, -0.30685635, 0.78610388, 0.93782224],
[0.39465662, 0.33338519, -0.22956766, 0.33180876, 0.41507492],
[-0.35065788, -0.42865261, 0.10374909, -0.42578449, -0.29439279],
[-0.11717109, -0.12449126, 0.04628912, -0.1244151, -0.10832199],
[-0.08785581, -0.09195866, 0.04124202, -0.09192674, -0.08602743],
[-0.58266706, -0.93449817, 0.44822709, -0.90062578, -0.67265083],
[0.02376894, 0.02349106, -0.01201546, 0.02349052, 0.02385595],
[-0.67355988, -1.0792605, 0.13905122, -1.0402924, -0.50155559],
[0.71359203, 0.53745127, -0.6508134, 0.53032017, 0.87189093],
[-0.43603228, -0.5650238, 0.11086531, -0.55874855, -0.34803344],
[0.20930669, 0.19143418, -0.05646736, 0.19118023, 0.17039803],
[-0.35727676, -0.44590583, 0.18199924, -0.44227724, -0.35950343],
[1.6753869, 1.0630095, -0.2812032, 1.0272074, 1.1643767],
[0.4908936, 0.40681268, -0.12660653, 0.4044293, 0.3936893],
[-0.14652734, -0.15811187, 0.05238908, -0.1579594, -0.13102959],
[0.31785778, 0.27544281, -0.23317764, 0.27450336, 0.36118319],
[-0.27537691, -0.32558569, 0.18544645, -0.32406848, -0.30411267],
[-0.48698873, -0.6811047, 0.25166251, -0.66849482, -0.49237438],
[0.29298545, 0.25481961, -0.34254518, 0.25399422, 0.38887795],
[0.00874662, 0.0087142, -0.00103607, 0.00871418, 0.00541211],
[0.78880147, 0.57458812, -1.1066426, 0.56508469, 1.1125621],
[-0.2651808, -0.31172182, 0.19198616, -0.31036754, -0.30000467],
[-0.07367286, -0.07638552, 0.02255351, -0.07636888, -0.06255851],
[-0.68976582, -1.1810856, 0.2285198, -1.1260085, -0.60133857],
[-0.44284919, -0.59496177, 0.23586881, -0.58640379, -0.45227655],
[1.1574275, 0.80210806, -0.31606556, 0.78440858, 0.94608814],
[-0.45541674, -0.59502664, 0.09697116, -0.58799469, -0.34263378],
[-0.09223334, -0.09669847, 0.03780678, -0.09666246, -0.08632273],
[-0.0124833, -0.01256213, 0.00636916, -0.01256204, -0.01256773],
[1.4158797, 0.92342387, -0.46411344, 0.89589567, 1.229992],
[0.97228034, 0.70692751, -0.2229686, 0.69509957, 0.74981174],
[-0.34006705, -0.42291708, 0.24050992, -0.41958476, -0.3817368],
[-0.26819996, -0.30448753, 0.02667655, -0.30367188, -0.15656416],
[-0.26398234, -0.30512656, 0.08536277, -0.30406224, -0.22828782],
[-0.55825751, -0.82607513, 0.21860396, -0.80530605, -0.51457939],
[-0.16766537, -0.18511605, 0.15606077, -0.18481393, -0.20625453],
[-0.01272429, -0.01280849, 0.00828946, -0.0128084, -0.01389764],
[0.3518566, 0.29863266, -0.42628281, 0.29729802, 0.47259205],
[0.5556532, 0.45481888, -0.09389467, 0.45179348, 0.38704327],
[-0.37533789, -0.47597869, 0.20081775, -0.47153154, -0.38390665],
[-0.2823153, -0.33137866, 0.10855139, -0.32996482, -0.25864936],
[-0.44365506, -0.59286463, 0.20595612, -0.58464003, -0.43281123],
[-0.19042374, -0.21159373, 0.09372189, -0.21120235, -0.18942519],
[-0.46299754, -0.59724988, 0.06074254, -0.59084525, -0.29641041],
[-0.34330638, -0.42155001, 0.14437466, -0.41860282, -0.3240621],
[-0.36794163, -0.45993492, 0.15125125, -0.45613947, -0.34469021],
[-0.25669541, -0.29799002, 0.13410812, -0.29688775, -0.26047963],
[0.15008009, 0.14024978, -0.05537051, 0.14014256, 0.13561828],
[-0.30648333, -0.37209994, 0.23626267, -0.36977611, -0.35406223],
[-0.05142546, -0.05292612, 0.0545165, -0.05291883, -0.066065],
[-0.03417275, -0.03472592, 0.00845988, -0.03472443, -0.02703449],
[-0.11575649, -0.1223337, 0.02332548, -0.12227146, -0.08550347],
[0.60106468, 0.48320686, -0.12932211, 0.4793917, 0.45378319],
[-0.4304812, -0.55710014, 0.1186265, -0.55097481, -0.35294473],
[-0.08322226, -0.08720463, 0.07806581, -0.08717289, -0.10264157],
[-0.23064543, -0.26357348, 0.13260161, -0.26279277, -0.24163296],
[0.21330742, 0.19475851, -0.05853626, 0.19449012, 0.17464479],
[-0.57475093, -0.93020323, 0.55395287, -0.89521359, -0.71529863],
[0.87328648, 0.66049213, -0.10854342, 0.65198361, 0.5490969],
[-0.22979168, -0.26014119, 0.07675841, -0.25947518, -0.20088223],
[0.28003539, 0.24793189, -0.12181976, 0.24732031, 0.26733625],
[-0.55613717, -0.87231013, 0.49950373, -0.8435344, -0.67604799],
[-0.29221015, -0.34113387, 0.06326927, -0.3397752, -0.22107407],
[-0.23656182, -0.27398163, 0.22836836, -0.27299935, -0.29456767],
[-0.19604252, -0.21782828, 0.07403688, -0.21742568, -0.17853618],
[-0.60083484, -0.94430253, 0.27580695, -0.91288147, -0.58395826],
[-0.00547621, -0.00549046, 0.00166924, -0.00549045, -0.0046434],
[-0.0213368, -0.02153555, 0.00277666, -0.02153524, -0.01362293],
[0.12983826, 0.12254873, -0.03846697, 0.12248057, 0.10905388],
[0.31152157, 0.27198549, -0.15725302, 0.27115229, 0.31251323],
[-0.24926324, -0.28712409, 0.11206531, -0.28616946, -0.24058722],
[-0.44366991, -0.58611229, 0.15714355, -0.57860731, -0.39550214],
[-0.27923967, -0.3282771, 0.12752518, -0.32684934, -0.27093185],
[0.29608578, 0.26082062, -0.11793087, 0.26012283, 0.27447168],
[0.23601646, 0.21220039, -0.1228077, 0.21180075, 0.23917368],
[-0.08213268, -0.08616873, 0.10838062, -0.08613569, -0.11350227],
[0.00044752, 0.00044743, -0.0001309, 0.00044743, 0.00037429],
[1.4203149, 0.94835746, -0.21382878, 0.92305453, 0.95196682],
[-0.09720393, -0.10232543, 0.05039981, -0.10228048, -0.09838801],
[0.06584662, 0.06388567, -0.0200944, 0.06387594, 0.0558544],
[0.41548604, 0.34920225, -0.20852496, 0.34745044, 0.41600668],
[1.0305757, 0.73735664, -0.25589049, 0.72375941, 0.81610862],
[0.00590486, 0.00588968, -0.00088055, 0.00588967, 0.00394519],
[-0.46055261, -0.63089786, 0.26150477, -0.62060224, -0.48049555],
[0.10013784, 0.09518753, -0.0887687, 0.09514677, 0.12119799],
[0.93052524, 0.68548374, -0.19069824, 0.67492748, 0.69121158],
[0.02028512, 0.02010138, -0.00414368, 0.02010111, 0.01505187],
[1.8098205, 1.0718835, -1.1072545, 1.0243916, 1.9357509],
[0.8189776, 0.59083974, -1.1819009, 0.58047062, 1.1660532],
[-0.46953787, -0.63012622, 0.14410389, -0.62112897, -0.39903928],
[-0.21602006, -0.24713774, 0.23918854, -0.24639336, -0.28156986],
[-0.03863364, -0.0393815, 0.01520532, -0.03937909, -0.0356713],
[-0.04683537, -0.04784446, 0.00830017, -0.04784083, -0.03314527],
[1.3220231, 0.88728977, -0.32077514, 0.8642057, 1.0388901],
[-0.24859345, -0.28562577, 0.09940402, -0.28470988, -0.23074791],
[-0.29160799, -0.34358073, 0.10003715, -0.34204517, -0.25719551],
[-0.25501821, -0.29229893, 0.07063503, -0.29139397, -0.20944219],
[-0.29785083, -0.35675225, 0.17350525, -0.3548235, -0.31341041],
[-0.0198085, -0.02000469, 0.0086732, -0.02000437, -0.01895123],
[0.09321496, 0.08888984, -0.08523493, 0.08885641, 0.11399162],
[-0.20218426, -0.22416563, 0.04888082, -0.22376818, -0.15869176],
[-0.73340024, -1.2432168, 0.12718219, -1.1873251, -0.51528337],
[-0.05938582, -0.06107651, 0.0139319, -0.06106849, -0.04614614],
[-0.27714991, -0.32583833, 0.13577607, -0.32442021, -0.27527128],
[1.819109, 1.1065563, -0.50113102, 1.0622646, 1.4913042],
[0.13080335, 0.1234575, -0.03635812, 0.12338879, 0.10755313],
[-0.24344208, -0.28111843, 0.15508732, -0.28015061, -0.26391609],
[-0.02966079, -0.03009801, 0.01152855, -0.03009694, -0.0272724],
[-0.06254188, -0.06450144, 0.02100664, -0.06449121, -0.05477421],
[-0.43209991, -0.55131104, 0.07773608, -0.54589413, -0.30733144],
[0.40490703, 0.34078423, -0.23531005, 0.33910179, 0.42572292],
[-0.41954719, -0.53913051, 0.1203157, -0.53352059, -0.34858175],
[-0.3628394, -0.45381439, 0.17222083, -0.4500505, -0.35660015],
[-0.38457428, -0.49468597, 0.24817228, -0.4894975, -0.4187112],
[0.03240107, 0.03191414, -0.01011152, 0.03191292, 0.02768992],
[-0.41006257, -0.52671335, 0.1427386, -0.52125149, -0.36343262],
[-0.67063163, -1.041895, 0.09911552, -1.0089364, -0.4467315],
[-0.12851451, -0.13757402, 0.05927542, -0.13746768, -0.12510356],
[-0.3719938, -0.45990369, 0.09630487, -0.45647218, -0.29871009],
[-0.40347027, -0.50311655, 0.0668771, -0.49905461, -0.27923949],
[-0.19335674, -0.21772217, 0.21485219, -0.21721188, -0.25232647],
[0.07437463, 0.07189301, -0.02219004, 0.07187921, 0.06261512],
[-0.03557874, -0.03622088, 0.01592149, -0.03621895, -0.03428716],
[0.20918056, 0.19145159, -0.05255341, 0.19120155, 0.16629959],
[0.27805743, 0.2480225, -0.06810202, 0.2474832, 0.21918947],
[0.18468983, 0.16511164, -1.4715482, 0.16476661, 0.4647615],
[-0.2575353, -0.29550811, 0.06952078, -0.29457847, -0.20970368],
[0.01467121, 0.01457715, -0.00238058, 0.01457705, 0.01008204],
[-0.41285416, -0.51797618, 0.06762362, -0.5135607, -0.28460373],
[0.35563681, 0.3062542, -0.14814418, 0.30511644, 0.33463858],
[-0.25857056, -0.2980628, 0.08700149, -0.29706156, -0.22658871],
[2.3143122, 1.2965813, -0.6925129, 1.2267849, 1.9502962],
[1.2885501, 0.83343651, -1.2770734, 0.8076381, 1.6186371],
[-0.12692213, -0.13723212, 0.20535844, -0.13709271, -0.18773233],
[0.26923237, 0.23674265, -0.29097175, 0.23609135, 0.34810623],
[-0.1644801, -0.17959486, 0.06874828, -0.17936372, -0.15494332],
[-0.12573299, -0.13397529, 0.03906078, -0.13388531, -0.10728931],
[0.32052335, 0.27885662, -0.1631772, 0.27795737, 0.32245536],
[1.2204833, 0.84285618, -0.23326903, 0.82390706, 0.88576173],
[-0.24900477, -0.28478904, 0.07541898, -0.28393504, -0.21068907],
[-0.40704517, -0.51038658, 0.07434913, -0.50605829, -0.29098037],
[0.21943066, 0.20003196, -0.05533431, 0.19974663, 0.17466519],
[-0.45510119, -0.58233022, 0.05571458, -0.57647363, -0.28471145],
[-0.81117623, -1.520445, 0.13085642, -1.4248404, -0.55635477],
[-0.77218206, -1.5102336, 0.25867285, -1.4026493, -0.67567847],
[-0.5463344, -0.74681291, 0.06381628, -0.73478848, -0.33648021],
[-0.01488634, -0.01499325, 0.0049014, -0.01499312, -0.01295115],
[-0.39951562, -0.5232236, 0.29350692, -0.51693138, -0.45419111],
[-0.59765957, -0.94833892, 0.32290001, -0.9154673, -0.61329384],
[-0.31116488, -0.36913016, 0.08102167, -0.36734095, -0.25034415],
[-0.55419425, -0.77405012, 0.08721173, -0.7598334, -0.37697248],
[0.06660237, 0.0644445, -0.04062329, 0.06443285, 0.07116418],
[0.37840857, 0.32086525, -0.25307749, 0.31941476, 0.41693513],
[-0.01836144, -0.01852658, 0.00675922, -0.01852633, -0.01657983],
[0.8405879, 0.62836978, -0.23908668, 0.61958976, 0.69649374],
[-0.09265738, -0.09706769, 0.03161807, -0.09703272, -0.08157839],
[-0.20843404, -0.23371337, 0.08828977, -0.23320372, -0.19722376],
[-0.22152769, -0.24561922, 0.02358758, -0.24518348, -0.13228881],
[-0.00989398, -0.0099387, 0.00206509, -0.00993866, -0.00739441],
[0.34746868, 0.29703509, -0.29418024, 0.29582103, 0.41415058],
[-0.48286069, -0.64976738, 0.12240594, -0.6403194, -0.38502778],
[-0.06895623, -0.07133693, 0.02209925, -0.07132323, -0.05945452],
[0.16298072, 0.14999578, -0.20560011, 0.1498236, 0.22187512],
[0.24080838, 0.22023406, -0.01850433, 0.21994155, 0.12898786],
[-0.51551132, -0.72856997, 0.19351423, -0.71423974, -0.46853256],
[0.21480614, 0.19587928, -0.06340083, 0.19560181, 0.18019364],
[0.08752845, 0.08406782, -0.03029766, 0.08404503, 0.07743058],
[0.30806368, 0.27219212, -0.06720695, 0.27149809, 0.23365499],
[0.94688487, 0.68427465, -0.34730971, 0.67238853, 0.85397881],
[-0.43233564, -0.569952, 0.18376994, -0.56276164, -0.4095581],
[-0.53267009, -0.7582047, 0.16905304, -0.7426797, -0.4577797],
[0.04102751, 0.0401968, -0.02405138, 0.040194, 0.04326202],
[-0.56663295, -0.80273476, 0.09480533, -0.78673008, -0.39338893],
[-0.37045646, -0.48178134, 0.44890056, -0.47628198, -0.49760511],
[-0.10084367, -0.10569215, 0.01747511, -0.10565331, -0.07083518],
[0.04704931, 0.04606637, -0.0107544, 0.04606295, 0.0362444],
[0.32137416, 0.27952841, -0.16267221, 0.27862382, 0.32269216],
[-0.31983522, -0.38614446, 0.13531918, -0.38386942, -0.30251528],
[0.17817824, 0.16448048, -0.07009303, 0.1643052, 0.16448945],
[-0.1103941, -0.11668311, 0.03483861, -0.11662343, -0.0946951],
[-0.00013749, -0.0001375, 7.475e-05, -0.0001375, -0.00014138],
[-0.13713359, -0.14713003, 0.04626945, -0.1470087, -0.12028293],
[-0.47766001, -0.68544176, 0.46513064, -0.67076398, -0.5965052],
[-0.40203327, -0.50607888, 0.09272902, -0.50163829, -0.3106394],
[-0.28636274, -0.33857538, 0.13562985, -0.33699759, -0.2812372],
[0.18113612, 0.16722005, -0.06103794, 0.16704209, 0.15881079],
[0.43928596, 0.36876772, -0.14358666, 0.36689253, 0.38125269],
[-0.49480076, -0.68495104, 0.18182103, -0.67302608, -0.44652414],
[-0.34704893, -0.41596757, 0.05255445, -0.41370144, -0.23306316],
[-0.21356853, -0.24021161, 0.0899185, -0.23965917, -0.20167459],
[-0.03935419, -0.04006861, 0.00747542, -0.04006645, -0.02850247],
[0.92015694, 0.68409902, -0.14473168, 0.6741813, 0.62580515],
[0.51444621, 0.42340162, -0.12858296, 0.42073645, 0.40828597],
[-0.25471088, -0.29339574, 0.09420566, -0.29242042, -0.2303566],
[-0.13162226, -0.14058773, 0.03703192, -0.14048603, -0.10866465],
[1.5256867, 0.97351753, -0.50109969, 0.941521, 1.3262588],
[-0.25711545, -0.29990523, 0.16870733, -0.29872397, -0.28149678],
[-0.57010669, -0.84199052, 0.17948291, -0.82102463, -0.48863937],
[-0.2481663, -0.27941, 0.02898028, -0.27875625, -0.15282911],
[-0.39585463, -0.49543135, 0.08761031, -0.49129838, -0.30168396],
[0.26396598, 0.23625542, -0.07620485, 0.23577178, 0.2198043],
[0.20345859, 0.18405327, -0.22285928, 0.18374541, 0.26424347],
[-0.63319563, -1.0172999, 0.23504772, -0.98016198, -0.57335106],
[0.09770997, 0.09358417, -0.02358854, 0.09355515, 0.07665425],
[0.97657256, 0.70907665, -0.22678578, 0.69711179, 0.75628407],
[0.62465015, 0.49899984, -0.13068314, 0.49482956, 0.46720529],
[0.90636958, 0.66285383, -0.31254602, 0.65216034, 0.80078919],
[0.4695421, 0.39186196, -0.11990305, 0.38973403, 0.37532121],
[0.40342544, 0.34071291, -0.19540737, 0.33909737, 0.3991773],
[0.13367782, 0.12613466, -0.03201812, 0.12606377, 0.10459594],
[-0.40380903, -0.51029971, 0.10080706, -0.50567009, -0.32034971],
[-0.0388306, -0.0395016, 0.00540108, -0.03949967, -0.02534854],
[-0.66782547, -1.0553002, 0.12645645, -1.019358, -0.48316891],
[0.31847072, 0.27670872, -0.18917586, 0.27579959, 0.3372963],
[0.07277888, 0.07021524, -0.04413034, 0.07020019, 0.07761149],
[0.46503517, 0.38825082, -0.1265806, 0.38615148, 0.37971368],
[-0.42325907, -0.5547309, 0.18842624, -0.54802331, -0.40718769],
[0.26700903, 0.23807593, -0.09743584, 0.23755477, 0.24039949],
[-0.51371982, -0.70883681, 0.12629997, -0.69673812, -0.40547302],
[-0.11243706, -0.11977953, 0.09256012, -0.11969968, -0.13276725],
[-0.28640328, -0.33759131, 0.11782752, -0.33607475, -0.26837635],
[0.27297517, 0.24431756, -0.05828916, 0.24381737, 0.20556761],
[-0.82425343, -1.4558008, 0.07241172, -1.3801574, -0.46165774],
[0.23197297, 0.21044408, -0.05870715, 0.2101117, 0.18486949],
[0.98806998, 0.70637739, -0.36917964, 0.6932897, 0.89663231],
[0.23381589, 0.21149227, -0.07404639, 0.21113776, 0.20079858],
[-0.33833613, -0.40485254, 0.06012981, -0.40268701, -0.2396655],
[0.68204589, 0.52634513, -0.3281514, 0.52049998, 0.67335458],
[1.5731096, 1.0056366, -0.37080283, 0.97284989, 1.2243258],
[-0.45257303, -0.60588142, 0.18307374, -0.59737163, -0.42170731],
[0.01959294, 0.01939979, -0.0118505, 0.01939947, 0.02087638],
[0.67430133, 0.52815406, -0.18288737, 0.52293729, 0.5499298],
[-0.49980304, -0.70102851, 0.21568603, -0.68783051, -0.47586445],
[-0.03464258, -0.035257, 0.01690984, -0.03525518, -0.03436608],
[0.80105849, 0.59930949, -0.3399519, 0.59098201, 0.75844712],
[-0.10945449, -0.11524755, 0.02024744, -0.11519648, -0.07857585],
[0.19586527, 0.18014534, -0.05092761, 0.17993536, 0.15750683],
[-0.59356161, -0.84972679, 0.07853711, -0.83176759, -0.38107651],
[-0.26176648, -0.30059589, 0.06376126, -0.29963959, -0.20597048],
[-0.52670437, -0.7444074, 0.16303326, -0.72976361, -0.44889698],
[-0.25229583, -0.28607887, 0.04027129, -0.28532731, -0.17243096],
[-0.54254012, -0.79819515, 0.2514942, -0.77870402, -0.5290222],
[-0.54033162, -0.76807782, 0.14728081, -0.75246839, -0.44139998],
[-0.56976056, -0.84612526, 0.1959766, -0.824468, -0.50296719],
[0.17571897, 0.1618744, -0.10052461, 0.16169285, 0.18378634],
[-0.01966618, -0.01984563, 0.0044382, -0.01984536, -0.01508547],
[-0.46794437, -0.64572302, 0.2668698, -0.63469658, -0.48892167],
[0.90744845, 0.66879756, -0.22886194, 0.65852951, 0.72235247],
[-0.19712819, -0.22030293, 0.10889611, -0.21984998, -0.20378863],
[1.3898858, 0.91141256, -0.45367215, 0.88491521, 1.2057116],
[0.27466983, 0.24204683, -0.20858318, 0.24140311, 0.31572604],
[-0.66945557, -1.0585014, 0.12489742, -1.0223593, -0.48195777],
[-0.0883628, -0.09218563, 0.02068614, -0.09215807, -0.06861454],
[0.25378339, 0.22880327, -0.05290206, 0.22839435, 0.18958748],
[-0.33129648, -0.39813119, 0.08484429, -0.39589913, -0.26507092],
[-0.6846758, -1.1753391, 0.24822923, -1.1200304, -0.61510741],
[0.51773831, 0.42045386, -0.25244933, 0.41743344, 0.51342255],
[-0.36495, -0.44294497, 0.05775645, -0.44018761, -0.24871334],
[-0.27098725, -0.31689904, 0.12582319, -0.31560895, -0.26438053],
[0.2238209, 0.20271648, -0.09220094, 0.20238547, 0.20982418],
[-0.3300101, -0.39369167, 0.06458042, -0.39165629, -0.24139509],
[0.23984243, 0.21485965, -0.1510369, 0.21442699, 0.25901308],
[-0.58287734, -0.86283572, 0.15567784, -0.84110082, -0.47293745],
[0.61384652, 0.48385407, -0.28790581, 0.47931763, 0.60089696],
[-0.48279673, -0.65891216, 0.1660104, -0.6484094, -0.42615211],
[-0.29051501, -0.34520187, 0.15087778, -0.34349632, -0.29421455],
[-0.35458256, -0.45526794, 0.45161194, -0.45056198, -0.4842579],
[-0.40514188, -0.52326343, 0.18270347, -0.51759809, -0.39143863],
[0.28227816, 0.25174487, -0.0612721, 0.25119586, 0.21373835],
[-0.0049285, -0.0049399, 0.00134475, -0.00493989, -0.00402749],
[-0.41690016, -0.54134562, 0.16759997, -0.53523816, -0.38766449],
[0.16950891, 0.15707999, -0.06473905, 0.15692828, 0.15495078],
[-0.01036676, -0.01041726, 0.0027779, -0.01041722, -0.00842062],
[-0.30324818, -0.36382787, 0.16105665, -0.3618242, -0.30941048],
[0.15392032, 0.14362663, -0.05565588, 0.14351201, 0.13815851],
[-0.29522033, -0.37007469, 0.96310443, -0.36694351, -0.55165213],
[0.05217972, 0.05099639, -0.010079, 0.05099192, 0.03800293],
[-0.55561286, -0.79246508, 0.12499179, -0.77605455, -0.42574742],
[0.0664843, 0.06432465, -0.04222881, 0.06431296, 0.0720044],
[-0.46157157, -0.62567311, 0.20595031, -0.61612713, -0.4443824],
[-0.01948926, -0.01968341, 0.0103965, -0.01968309, -0.01991449],
[0.04701158, 0.04605471, -0.0084959, 0.04605146, 0.03348752],
[-0.33983184, -0.42133979, 0.21858269, -0.41811148, -0.36959376],
[-0.42373944, -0.55543162, 0.18732468, -0.54870924, -0.40670008],
[-0.26879735, -0.31220996, 0.0954347, -0.31104661, -0.23980712],
[-0.16985211, -0.18538364, 0.0511324, -0.1851473, -0.14342428],
[-0.76538156, -1.4801955, 0.25816143, -1.3780855, -0.6712626],
[-0.20615384, -0.23331385, 0.17956462, -0.2327193, -0.24805304],
[-0.66010257, -1.0703162, 0.18677226, -1.0297548, -0.54599468],
[-0.46155485, -0.6202997, 0.17067579, -0.61135728, -0.41739719],
[-0.34629564, -0.4234232, 0.11569795, -0.42058323, -0.30274936],
[1.9389514, 1.1104311, -1.5930197, 1.0549485, 2.2880297],
[-0.21333669, -0.242139, 0.16379957, -0.24149298, -0.24612626],
[-0.10510642, -0.11071165, 0.02982542, -0.11066186, -0.08702119],
[-0.6117049, -0.89174243, 0.08338052, -0.87097166, -0.39663666],
[0.31011561, 0.27181763, -0.120844, 0.27103209, 0.28538695],
[-0.36212946, -0.46228943, 0.32447926, -0.45772692, -0.43986042],
[0.15267489, 0.14266294, -0.04883894, 0.14255362, 0.13155594],
[-0.71536372, -1.2602705, 0.22012304, -1.1953498, -0.60848485],
[-0.69349745, -1.2647863, 0.37401124, -1.1917575, -0.71121591],
[-0.20114185, -0.22287933, 0.048648, -0.22248863, -0.15789437],
[0.00818593, 0.00815596, -0.00158002, 0.00815594, 0.00596041],
[-0.27911439, -0.31827421, 0.02536087, -0.31736167, -0.15809551],
[-0.06383529, -0.06626514, 0.09420362, -0.06624972, -0.09156716],
[0.29710195, 0.26185165, -0.11004677, 0.26115681, 0.26882693],
[0.06272224, 0.06087881, -0.02618575, 0.06086978, 0.05906263],
[0.28103164, 0.25195927, -0.03951707, 0.25145921, 0.18412315],
[0.32293377, 0.28161776, -0.12886881, 0.28074006, 0.29954926],
[-0.04032292, -0.04122905, 0.03967449, -0.04122566, -0.0505299],
[0.55452718, 0.45644487, -0.07007543, 0.45357528, 0.35060153],
[-0.57105625, -0.87833166, 0.31484532, -0.85177237, -0.58996784],
[-0.47576149, -0.66833331, 0.32920971, -0.65563788, -0.53018455],
[-0.31204797, -0.37164481, 0.09411346, -0.36975933, -0.26365832],
[-0.71218064, -1.169247, 0.11644927, -1.1226855, -0.49066193],
[-0.47393724, -0.63823842, 0.14448975, -0.62891155, -0.40188602],
[0.85134458, 0.61467274, -0.84160252, 0.60393653, 1.0685198],
[0.2930939, 0.25736519, -0.16470283, 0.25664173, 0.30472976],
[-0.28096243, -0.32780374, 0.08403295, -0.32650837, -0.23673295],
[0.17636294, 0.16247957, -0.09677612, 0.16229766, 0.18191602],
[-0.55304167, -0.79089422, 0.13581671, -0.77427408, -0.43634798],
[0.29560585, 0.2614625, -0.0856697, 0.2608072, 0.24646831],
[0.71711943, 0.55042914, -0.27892472, 0.544061, 0.65952814],
[0.45420572, 0.37979882, -0.13932181, 0.37778024, 0.3859385],
[-0.21270616, -0.23893976, 0.08520051, -0.23840197, -0.19755018],
[-0.32082581, -0.38921207, 0.15911656, -0.38680062, -0.31995924],
[0.14448218, 0.13517863, -0.06333295, 0.13507888, 0.13828107],
[-0.54260781, -0.83635851, 0.48731543, -0.81082247, -0.65958496],
[-0.38975271, -0.48967674, 0.11197595, -0.4854512, -0.32402437],
[0.37023932, 0.3182899, -0.12073292, 0.31708058, 0.32107532],
[-0.18500597, -0.20527146, 0.1053769, -0.20490228, -0.19321861],
[-0.55421986, -0.81212618, 0.19929405, -0.79269647, -0.49654983],
[-0.67388566, -1.107452, 0.18308313, -1.0631829, -0.54989982],
[-0.55371898, -0.78864307, 0.12530861, -0.77244018, -0.42513798],
[-0.79523549, -1.5748272, 0.22103194, -1.4586535, -0.65387116],
[-0.03865596, -0.03944844, 0.02498407, -0.03944573, -0.04210904],
[0.47907012, 0.39687889, -0.15691782, 0.39454529, 0.4160704],
[0.27169184, 0.24131765, -0.11841986, 0.24075329, 0.25953898],
[0.95433089, 0.67386839, -0.76430692, 0.66045863, 1.1166025],
[-0.16884494, -0.18472779, 0.06701134, -0.18447918, -0.15633329],
[-0.58048226, -0.90027987, 0.30768568, -0.87201929, -0.59188645],
[0.09702386, 0.09255906, -0.05712252, 0.09252484, 0.1024546],
[-0.09443758, -0.09917476, 0.04213729, -0.09913517, -0.09092056],
[0.1002742, 0.0954982, -0.06121954, 0.0954603, 0.10717648],
[0.46457249, 0.38602337, -0.16876349, 0.383825, 0.41764295],
[-0.52327451, -0.73053254, 0.1368673, -0.71715104, -0.42162817],
[-0.17938365, -0.19985912, 0.18494243, -0.1994705, -0.22832007],
[0.0704082, 0.06802469, -0.03945309, 0.06801125, 0.07313397],
[0.46637499, 0.39102241, -0.09593579, 0.38900583, 0.34686492],
[2.2831696, 1.2679097, -0.97165757, 1.1976462, 2.1637472],
[0.16763493, 0.15594166, -0.04285017, 0.15580586, 0.13404085],
[0.38504135, 0.33230165, -0.06731415, 0.33110289, 0.27125872],
[-0.03192792, -0.03249649, 0.03365936, -0.03249481, -0.04094105],
[0.40354763, 0.34531342, -0.08321158, 0.34391962, 0.30037777],
[-0.25298261, -0.29074769, 0.08774405, -0.28981173, -0.22394584],
[-0.29640711, -0.35472974, 0.17429654, -0.35282939, -0.31287102],
[-0.25858823, -0.29943226, 0.11084943, -0.29836165, -0.24565579],
[1.6440042, 1.0388676, -0.36960944, 1.0032659, 1.2594849],
[0.01411087, 0.01401799, -0.00412915, 0.01401789, 0.01180319],
[-0.29628554, -0.35629179, 0.21293068, -0.35428001, -0.33437185],
[-0.44348277, -0.58416217, 0.14689832, -0.57683638, -0.38660438],
[-0.49725279, -0.69591546, 0.21562404, -0.68298171, -0.4741989],
[0.40373151, 0.34334675, -0.12464552, 0.34184937, 0.34379322],
[-0.32419631, -0.39015905, 0.10692326, -0.38793747, -0.28221024],
[-0.2352134, -0.26889074, 0.11577911, -0.26808997, -0.23398864],
[0.22479707, 0.2035298, -0.09219838, 0.20319513, 0.21043188],
[-0.37924183, -0.46888179, 0.0826318, -0.46538209, -0.28752121],
[0.04450384, 0.04354595, -0.0221385, 0.04354251, 0.0444281],
[-0.26490466, -0.30975349, 0.15010926, -0.30849416, -0.27618848],
[-0.24704163, -0.28358762, 0.09933805, -0.28268997, -0.22973578],
[0.0313423, 0.03087196, -0.01301685, 0.03087078, 0.02946225],
[0.16039389, 0.14846934, -0.11584567, 0.14832176, 0.1813128],
[0.39469993, 0.34213706, -0.04033536, 0.34097517, 0.23249663],
[0.00097178, 0.00097136, -0.00017334, 0.00097136, 0.00068922],
[-0.73712058, -1.3740473, 0.27048396, -1.2890906, -0.66488959],
[0.04697925, 0.04595206, -0.01661782, 0.04594831, 0.0418606],
[1.0069131, 0.70432784, -0.69585313, 0.68955374, 1.1216151],
[-0.19507028, -0.2158063, 0.05472894, -0.21543967, -0.1608952],
[-0.5307784, -0.74514525, 0.1355714, -0.73104293, -0.42430177],
[-0.38706565, -0.4910044, 0.15845866, -0.48640487, -0.36210824],
[0.50030571, 0.40543876, -0.37112231, 0.40246703, 0.57060993],
[0.45510098, 0.37989814, -0.15183835, 0.37784045, 0.39768787],
[0.18191051, 0.1664679, -0.16334546, 0.16624975, 0.22111467],
[0.43450774, 0.36581801, -0.13111312, 0.36401887, 0.36718962],
[-0.43012689, -0.58741161, 0.42400243, -0.57800973, -0.5393415],
[0.41487081, 0.35305325, -0.09603176, 0.35152603, 0.32093978],
[-0.48219771, -0.63422421, 0.07253155, -0.62635458, -0.32309909],
[-0.2116386, -0.23718223, 0.07532369, -0.23666973, -0.18896605],
[-0.20662098, -0.23126894, 0.08351743, -0.23078014, -0.19247987],
[0.10914574, 0.10398608, -0.02889256, 0.10394545, 0.08829644],
[-0.79287517, -1.4584816, 0.13679515, -1.3719497, -0.55612204],
[-0.38544108, -0.5007257, 0.31775297, -0.4950568, -0.45534986],
[0.85446108, 0.62898569, -0.38836301, 0.61925316, 0.82772132],
[-0.23429899, -0.26513387, 0.0639893, -0.26445959, -0.19152526],
[-0.61137671, -0.92184413, 0.13907551, -0.89643443, -0.47021825],
[-0.44567629, -0.61384907, 0.37975934, -0.60348654, -0.53234418],
[-0.33107748, -0.40075158, 0.11352917, -0.39832555, -0.29196598],
[-0.05769032, -0.05933543, 0.01781526, -0.05932762, -0.04912954],
[0.48038593, 0.3914733, -0.38220613, 0.38875341, 0.56083624],
[1.5607517, 0.97473808, -0.79440657, 0.93964577, 1.57005],
[-0.46211161, -0.61760459, 0.14906972, -0.60902956, -0.39930467],
[-0.16693896, -0.18823996, 0.7643983, -0.18778827, -0.34926498],
[-0.02861234, -0.02902708, 0.01326052, -0.02902608, -0.02789754],
[-0.44776451, -0.56447321, 0.04096984, -0.55945726, -0.25421307],
[0.71796375, 0.54719255, -0.37553979, 0.54052169, 0.72883686],
[-0.3381459, -0.41177679, 0.12047936, -0.40912526, -0.30203015],
[0.28135613, 0.24837388, -0.14928807, 0.24773149, 0.28698285],
[-0.07450749, -0.0774421, 0.03656232, -0.07742284, -0.07404366],
[0.22981909, 0.20861652, -0.05946391, 0.20829112, 0.18450943],
[0.21651875, 0.19623524, -0.11233909, 0.19591916, 0.2192051],
[0.35450331, 0.30766748, -0.08719146, 0.30664031, 0.27984325],
[-0.28768706, -0.33654921, 0.07936459, -0.33517283, -0.23595679],
[-0.21308212, -0.24374959, 0.26516187, -0.24301661, -0.28876532],
[-0.22045538, -0.25038035, 0.13113803, -0.24970553, -0.23359669],
[-0.35033088, -0.42664505, 0.09100318, -0.42389582, -0.28163144],
[0.40066749, 0.33973627, -0.16029453, 0.3382003, 0.37196804],
[-0.53478631, -0.750588, 0.12707463, -0.73640291, -0.41733339],
[1.5182092, 0.98331944, -0.32964134, 0.95306749, 1.1496835],
[0.12071306, 0.11451876, -0.0286122, 0.11446581, 0.09412318],
[-0.5278798, -0.72723082, 0.0984675, -0.71493766, -0.38001231],
[-0.15113552, -0.1647059, 0.11267369, -0.16450312, -0.17266138],
[0.43814029, 0.3651026, -0.22810829, 0.36308682, 0.44408471],
[0.22195374, 0.20053065, -0.12584989, 0.20018673, 0.23145643],
[-0.08587505, -0.09002097, 0.06542431, -0.08998762, -0.09881762],
[-0.4150392, -0.52973121, 0.1083907, -0.52451128, -0.3342464],
[-0.18745209, -0.21157255, 0.32214316, -0.21105678, -0.28289145],
[0.3139836, 0.27330586, -0.18531653, 0.27243091, 0.33183284],
[-0.55439278, -0.78393005, 0.10918544, -0.76846502, -0.40639025],
[-0.17200928, -0.1904243, 0.15818232, -0.1900964, -0.21074821],
[0.1193529, 0.11320535, -0.03249434, 0.11315261, 0.09746183],
[0.8489274, 0.63186865, -0.26325452, 0.62277833, 0.72396179],
[-0.7463687, -1.4410382, 0.31228717, -1.3421037, -0.70333731],
[0.16040263, 0.1498098, -0.03528531, 0.14969332, 0.12199695],
[-0.13309942, -0.14242628, 0.04265966, -0.14231745, -0.11476247],
[-0.33564918, -0.41114434, 0.15851291, -0.40833741, -0.3293229],
[-0.57516097, -0.82379133, 0.10189629, -0.80633307, -0.40699498],
[1.9283559, 1.0953586, -2.0707035, 1.0390683, 2.487945],
[-0.50510217, -0.72836955, 0.32299386, -0.71235445, -0.5482697],
[-0.07564846, -0.07868182, 0.03768843, -0.07866156, -0.07555782],
[-0.45992691, -0.63164958, 0.27849917, -0.62117591, -0.490242],
[-0.08926896, -0.09371519, 0.06229344, -0.0936783, -0.0997603],
[0.40149657, 0.33357001, -0.54631879, 0.33166777, 0.5605486],
[0.31817766, 0.28187554, -0.0416558, 0.28118725, 0.20355493],
[0.0714031, 0.0690895, -0.02329649, 0.06907701, 0.06193244],
[0.01487609, 0.0147739, -0.00399054, 0.01477378, 0.01208778],
[-0.64250012, -0.99031771, 0.12607992, -0.96008254, -0.47040737],
[-0.44938868, -0.61231852, 0.28473992, -0.60265935, -0.48630366],
[-0.02857917, -0.02899295, 0.01324853, -0.02899195, -0.02786756],
[-0.32723235, -0.38792416, 0.05253607, -0.38605889, -0.22407841],
[-0.23049008, -0.26139683, 0.08387148, -0.2607083, -0.20732401],
[0.02034739, 0.02014464, -0.00965928, 0.02014431, 0.0199985],
[0.16228071, 0.15160581, -0.03091546, 0.15148889, 0.11764672],
[-0.44013133, -0.57620864, 0.1340597, -0.56929752, -0.37310489],
[-0.67392705, -1.1627933, 0.29520191, -1.1070738, -0.64484942],
[0.12211996, 0.11635374, -0.01163097, 0.11630838, 0.07026512],
[0.73267565, 0.57461918, -0.08861483, 0.56900298, 0.45651317],
[0.20424855, 0.18696722, -0.06249721, 0.18672391, 0.17340816],
[-0.47129773, -0.62648378, 0.11234339, -0.61810387, -0.36817651],
[-0.29860653, -0.35164583, 0.08079693, -0.35008403, -0.24333682],
[-0.21556065, -0.24278656, 0.09161459, -0.24221506, -0.20419473],
[-0.51458917, -0.73255356, 0.22330137, -0.71754403, -0.4908486],
[-0.10226342, -0.10752412, 0.02751104, -0.10747904, -0.08317495],
[-0.40297264, -0.51423312, 0.13650671, -0.5091737, -0.35392538],
[0.14037235, 0.12878312, -0.97673804, 0.12862389, 0.33764248],
[0.25369103, 0.22958608, -0.03666321, 0.22920511, 0.16773495],
[-0.18176296, -0.1998888, 0.05867076, -0.19958808, -0.15709203],
[2.6324636, 1.4174223, -0.68768306, 1.330773, 2.1202205],
[0.58834522, 0.47112941, -0.18710233, 0.46727544, 0.50596975],
[0.03624121, 0.03565592, -0.00801153, 0.03565435, 0.02760898],
[-0.41267811, -0.56402326, 0.60021257, -0.55495088, -0.58909587],
[0.19496184, 0.17785134, -0.13216935, 0.17760148, 0.21578438],
[-0.41292923, -0.5134589, 0.05065796, -0.50941832, -0.25850939],
[-0.14911381, -0.16095503, 0.04718856, -0.16079849, -0.12802678],
[-0.65109408, -1.0373099, 0.17069642, -1.0007378, -0.52502579],
[-0.3148101, -0.37004318, 0.04855218, -0.3684365, -0.21270548],
[-0.47336597, -0.7393653, 1.7208247, -0.71541858, -0.91703708],
[-0.67644548, -1.0496617, 0.09109062, -1.0166348, -0.43684069],
[-0.08417269, -0.08763556, 0.01993774, -0.08761182, -0.06561696],
[0.53337724, 0.44236198, -0.06233408, 0.43979156, 0.32855507],
[-0.22685081, -0.2545495, 0.04718868, -0.25398732, -0.16934907],
[-0.44340949, -0.56335271, 0.05592508, -0.55800675, -0.28016606],
[-0.05488186, -0.05637341, 0.0175327, -0.05636666, -0.04726926],
[2.4118393, 1.3067879, -1.1813467, 1.2284419, 2.3953447],
[-0.27912404, -0.32391867, 0.06743894, -0.32272583, -0.21903411],
[-0.16399678, -0.1790167, 0.06855064, -0.17878778, -0.15449131],
[0.3684578, 0.31069431, -0.44509544, 0.30919378, 0.49440883],
[-0.20177726, -0.22252927, 0.0323358, -0.22217424, -0.13808697],
[-0.24144046, -0.27291117, 0.04683885, -0.27222954, -0.17609706],
[0.08488658, 0.08138022, -0.05886781, 0.08135609, 0.09466628],
[-0.41163198, -0.53121895, 0.1574401, -0.52550326, -0.37646203],
[-0.27044505, -0.31588476, 0.12050904, -0.31461843, -0.26025708],
[0.54361565, 0.44949553, -0.06363569, 0.44679912, 0.33504634],
[-0.07609006, -0.07890912, 0.01836399, -0.07889172, -0.05968762],
[-0.42941341, -0.55344993, 0.10837757, -0.54755483, -0.34190612],
[-0.29898625, -0.36363006, 0.30759952, -0.36131838, -0.38028223],
[-0.5437877, -0.77611569, 0.15019369, -0.75998426, -0.44618347],
[0.29246074, 0.25673817, -0.17125863, 0.25601341, 0.30827564],
[-0.44169266, -0.6107842, 0.44160929, -0.60021904, -0.55646287],
[-0.31832995, -0.38001544, 0.08867623, -0.37803567, -0.26193733],
[-0.42639324, -0.55165045, 0.12705299, -0.54559852, -0.35882153],
[-0.22168002, -0.24825043, 0.04932021, -0.24772101, -0.16923986],
[-0.6888711, -1.191829, 0.25390767, -1.1341642, -0.62229157],
[-0.25067882, -0.29078606, 0.15589837, -0.28972126, -0.26958907],
[3.265403, 1.5807553, -1.6408632, 1.4501572, 3.2708351],
[0.56486373, 0.45419056, -0.21051909, 0.45061071, 0.51215681],
[-0.37352746, -0.47202432, 0.18797241, -0.46774257, -0.37433152],
[-0.27755529, -0.32002637, 0.05003166, -0.31894761, -0.19754133],
[-0.49857145, -0.67428638, 0.10578841, -0.66415091, -0.37466314],
[0.28115665, 0.24908246, -0.11190598, 0.24847442, 0.26057136],
[0.1589048, 0.14792772, -0.05963129, 0.14780147, 0.14440849],
[-0.47405353, -0.64409933, 0.17490553, -0.63412198, -0.42838024],
[-0.13721991, -0.14771917, 0.06807197, -0.14758543, -0.13686031],
[0.6298221, 0.49558253, -0.25459055, 0.4908683, 0.58672693],
[0.71120398, 0.53979997, -0.48343931, 0.53301877, 0.78786796],
[0.34151436, 0.29531036, -0.15310071, 0.29427292, 0.32931262],
[-0.05270446, -0.05400628, 0.01059308, -0.05400092, -0.03889696],
[-0.40095972, -0.51656558, 0.18547566, -0.51108099, -0.39069645],
[-0.4825293, -0.64925046, 0.12278168, -0.63981687, -0.38524497],
[-0.40415788, -0.51307116, 0.11465483, -0.50823475, -0.3345863],
[-0.51995196, -0.73782877, 0.19427069, -0.72297937, -0.47183255],
[-0.2727901, -0.31298492, 0.04365442, -0.31200154, -0.18659721],
[-0.61114354, -0.93441405, 0.16903524, -0.90691829, -0.50168514],
[-0.05718684, -0.05888843, 0.02756893, -0.05887999, -0.05649552],
[0.19846387, 0.18235099, -0.05154158, 0.18213327, 0.15953289],
[0.27316878, 0.24263868, -0.11302719, 0.24207159, 0.25646318],
[0.79524934, 0.61537976, -0.08505513, 0.60868768, 0.47560424],
[-0.64619972, -1.1533024, 0.5537232, -1.0912406, -0.77330725],
[-0.06110944, -0.06323229, 0.06123938, -0.06322, -0.0770476],
[-0.25456872, -0.29095935, 0.06078663, -0.29009543, -0.19898304],
[0.80642094, 0.60885258, -0.22094136, 0.60091152, 0.65989809],
[-0.07770532, -0.08078349, 0.02742688, -0.08076317, -0.06918882],
[-0.39200663, -0.50803439, 0.26059399, -0.50238694, -0.43104943],
[-0.41608515, -0.54343058, 0.19780547, -0.53702654, -0.4091453],
[0.01959221, 0.01939402, -0.01500015, 0.01939369, 0.02258209],
[-0.4843194, -0.70996538, 0.58947512, -0.69294681, -0.65150797],
[0.27704727, 0.24549705, -0.12354784, 0.24489998, 0.26668032],
[-0.18512321, -0.20297368, 0.03896519, -0.2026873, -0.1387425],
[-0.58340675, -0.95305195, 0.54431923, -0.91584025, -0.71824982],
[-0.05064422, -0.0519641, 0.02320251, -0.05195837, -0.04918978],
[-0.10498592, -0.11048641, 0.02597161, -0.1104384, -0.08303547],
[0.03076093, 0.03037519, -0.0029039, 0.03037439, 0.01764697],
[-0.27453419, -0.320173, 0.09908578, -0.31891446, -0.24626994],
[-0.6515159, -1.0879259, 0.28282864, -1.0416812, -0.62153817],
[1.1185769, 0.77445081, -0.42916624, 0.75727466, 1.0240687],
[-0.29643247, -0.34584272, 0.05465022, -0.34447659, -0.2125647],
[-0.43005446, -0.56105373, 0.14764261, -0.55449628, -0.37939902],
[1.3035537, 0.86413849, -0.53615763, 0.84026778, 1.2214062],
[-0.00727818, -0.00730541, 0.00444327, -0.0073054, -0.00777904],
[0.50568017, 0.42080919, -0.07849208, 0.41845109, 0.34240169],
[0.13657359, 0.12810776, -0.06811048, 0.12802037, 0.13645594],
[0.27213105, 0.24419565, -0.04711691, 0.24371883, 0.1910972],
[-0.14401073, -0.15511006, 0.04904375, -0.15496764, -0.12670714],
[-0.37686308, -0.47572429, 0.16942939, -0.47144855, -0.36374355],
[0.49380072, 0.4177612, -0.03477605, 0.41582054, 0.25692392],
[-0.28516746, -0.33369409, 0.08630964, -0.33232458, -0.24122913],
[0.97391875, 0.69658602, -0.40726979, 0.6837152, 0.91759819],
[-0.21114652, -0.23343958, 0.02756059, -0.23304809, -0.13494666],
[-0.29165038, -0.34397952, 0.10471634, -0.34242316, -0.26116993],
[-0.58799905, -0.82637479, 0.06098265, -0.81063597, -0.34806726],
[-0.35016862, -0.43149749, 0.13948816, -0.4283766, -0.32461899],
[-0.24855748, -0.28638194, 0.11620649, -0.28542645, -0.24305507],
[-0.200873, -0.22581347, 0.1416515, -0.22529878, -0.22526727],
[-0.34760689, -0.43057069, 0.17667238, -0.42730057, -0.34950909],
[0.27784106, 0.24623086, -0.11950815, 0.24563322, 0.26424501],
[-0.46968014, -0.63421204, 0.16478695, -0.62477722, -0.41736792],
[-0.42899731, -0.5617414, 0.16536614, -0.55499416, -0.39336457],
[1.4741272, 0.92062396, -1.2549725, 0.88747771, 1.7602649],
[-0.71867437, -1.3147704, 0.28797293, -1.238103, -0.66754723],
[-0.23630516, -0.26771612, 0.06438934, -0.26702239, -0.19301755],
[-0.69865357, -1.095912, 0.08057587, -1.0597512, -0.42846917],
[-0.20400243, -0.22783466, 0.07890274, -0.22737177, -0.18726829],
[-0.43507294, -0.57736139, 0.2047588, -0.5697285, -0.42638205],
[0.15163145, 0.14294262, -0.01358769, 0.1428597, 0.08549054],
[-0.18178759, -0.20127684, 0.10274721, -0.20092933, -0.18936927],
[-0.03970462, -0.04048841, 0.01449916, -0.04048583, -0.03575622],
[0.82309233, 0.62042315, -0.20085387, 0.61223751, 0.64804093],
[-0.08206623, -0.08566274, 0.04166731, -0.08563648, -0.08248687],
[0.23351298, 0.2094973, -0.16347416, 0.20908661, 0.26123642],
[0.15860602, 0.14748292, -0.07042477, 0.14735304, 0.15245146],
[1.6272688, 1.0189635, -0.52624399, 0.98267852, 1.4072738],
[-0.22717082, -0.25504722, 0.04845067, -0.25447862, -0.17100611],
[0.28653685, 0.25667722, -0.036564, 0.25615987, 0.18175299],
[-0.06460075, -0.06706285, 0.08656299, -0.06704721, -0.08973168],
[-0.62309338, -0.94821141, 0.13582043, -0.92091239, -0.47246227],
[0.80073602, 0.61230895, -0.13591818, 0.60502432, 0.55859291],
[0.54252045, 0.43717936, -0.26000679, 0.43380193, 0.53491195],
[0.10315753, 0.09825575, -0.04769827, 0.09821694, 0.10050281],
[0.24287792, 0.21804105, -0.11237509, 0.21761873, 0.23667845],
[-0.60679496, -1.017633, 0.52159417, -0.97366697, -0.72691264],
[-0.51011918, -0.72644897, 0.24094299, -0.71153491, -0.50052894],
[-0.43564899, -0.5752175, 0.17956829, -0.56787922, -0.40848649],
[0.92055114, 0.68129428, -0.17295236, 0.67111579, 0.66427938],
[-0.25796805, -0.29608321, 0.06963428, -0.29514817, -0.21005272],
[-0.25954779, -0.30800237, 0.3510023, -0.30650352, -0.3616248],
[-0.59309259, -0.91584086, 0.24492653, -0.88764721, -0.55646383],
[-0.32028489, -0.39380116, 0.26357164, -0.39101263, -0.37815269],
[-0.40280123, -0.51869574, 0.17653327, -0.51320867, -0.38548964],
[0.84240279, 0.63857918, -0.1315783, 0.63048471, 0.57159],
[-0.28482944, -0.33538536, 0.11730721, -0.33389774, -0.26699809],
[-0.26469685, -0.29909258, 0.02193167, -0.29834988, -0.14538951],
[-0.16829622, -0.18504933, 0.10711601, -0.18477188, -0.18239421],
[-0.68122663, -1.181775, 0.28440964, -1.124054, -0.64148403],
[-0.04533664, -0.04639939, 0.02243329, -0.04639524, -0.04517941],
[0.29240118, 0.25983222, -0.06324136, 0.25922929, 0.22113788],
[0.46460339, 0.386555, -0.15627043, 0.3843845, 0.40709007],
[-0.03342123, -0.03395251, 0.00861708, -0.0339511, -0.02680063],
[-0.58233764, -0.97883278, 0.74133018, -0.93618291, -0.79517698],
[-0.3064705, -0.37392751, 0.28431409, -0.37147234, -0.37658982],
[-0.04459337, -0.04551063, 0.0082021, -0.04550749, -0.03195203],
[-0.36942726, -0.4525769, 0.07394099, -0.44948329, -0.27226451],
[0.48085019, 0.38595972, -0.834553, 0.38286876, 0.72806111],
[-0.54557937, -0.75687435, 0.0868044, -0.74352401, -0.37247392],
[0.48304522, 0.39320996, -0.38772464, 0.39044886, 0.56560034],
[-0.24937674, -0.28868329, 0.14594659, -0.28765513, -0.26281205],
[-0.18936532, -0.21054859, 0.10276849, -0.21015454, -0.19460932],
[-0.39239613, -0.49923999, 0.15489548, -0.49444712, -0.36266534],
[0.64937485, 0.51498667, -0.13699943, 0.51040089, 0.48705713],
[-0.4322005, -0.56615195, 0.15731694, -0.55933261, -0.38879918],
[-0.20355937, -0.22802606, 0.09965492, -0.2275372, -0.20213289],
[-0.21615618, -0.24310274, 0.08121952, -0.24254441, -0.19652082],
[0.07510881, 0.07273854, -0.01211125, 0.07272608, 0.05150708],
[-0.71129699, -1.2136775, 0.17291108, -1.1577944, -0.55930871],
[0.6737645, 0.53227367, -0.12282293, 0.52737612, 0.48132885],
[-0.29373897, -0.34934204, 0.14356277, -0.34759832, -0.29151774],
[-0.42744692, -0.5608199, 0.1788832, -0.55398534, -0.40282955],
[-0.39712056, -0.52312548, 0.35588397, -0.51656221, -0.48238566],
[-0.23751271, -0.27111622, 0.09811775, -0.27032661, -0.22286939],
[-0.03277917, -0.03329781, 0.00965973, -0.03329644, -0.02748297],
[0.26410406, 0.23514991, -0.12046309, 0.23462228, 0.25614038],
[-0.03434575, -0.03491003, 0.00925617, -0.03490848, -0.02795133],
[0.13494873, 0.12713604, -0.0381914, 0.12706071, 0.11162918],
[0.13203413, 0.124881, -0.02372015, 0.12481645, 0.09386563],
[-0.04551417, -0.04654707, 0.0164027, -0.04654316, -0.04080809],
[-0.05219991, -0.05359129, 0.02212956, -0.05358511, -0.04940612],
[-0.30252488, -0.36302665, 0.16540026, -0.36102338, -0.3116708],
[-0.51426378, -0.75157197, 0.34771465, -0.73383667, -0.56868916],
[-0.29887443, -0.35190646, 0.0796393, -0.35034647, -0.24231389],
[-0.09053879, -0.09499873, 0.05072437, -0.09496213, -0.09403843],
[-0.0300005, -0.03044045, 0.01005493, -0.03043937, -0.02625561],
[1.6115429, 1.0243185, -0.36370126, 0.99008196, 1.2361927],
[-0.156591, -0.16938555, 0.0400831, -0.16921153, -0.12526843],
[1.811829, 1.0941374, -0.63649492, 1.0490886, 1.610719],
[-0.49368734, -0.6757864, 0.14772967, -0.66480961, -0.41603886],
[-0.02370091, -0.02395868, 0.00473214, -0.02395822, -0.0174531],
[0.04561786, 0.04461905, -0.02129833, 0.0446154, 0.04458771],
[-0.26417627, -0.30595708, 0.09429969, -0.30486051, -0.23610723],
[-0.0931778, -0.09753532, 0.02606962, -0.09750137, -0.07678267],
[0.28507257, 0.25241947, -0.1046605, 0.25179795, 0.25718239],
[0.28034666, 0.24551492, -0.28948403, 0.24479617, 0.35701116],
[0.53782825, 0.44234603, -0.09356962, 0.4395423, 0.37828346],
[-0.61897765, -0.97253054, 0.21661137, -0.94021132, -0.54956668],
[0.78421678, 0.60406353, -0.11669902, 0.5972591, 0.52358816],
[-0.03882953, -0.03957842, 0.01413856, -0.03957601, -0.03493439],
[-0.06523687, -0.06717864, 0.00964069, -0.06716901, -0.04345517],
[-0.21282534, -0.23992597, 0.1078811, -0.23935247, -0.21379982],
[0.90192707, 0.66502038, -0.23618664, 0.65483939, 0.72701392],
[0.38244456, 0.3281245, -0.1068623, 0.32684464, 0.31501446],
[0.18015634, 0.16623594, -0.06756239, 0.1660569, 0.16368593],
[-0.36356599, -0.4638294, 0.30871312, -0.45927525, -0.43376103],
[-0.09210566, -0.09668124, 0.04745514, -0.09664337, -0.0930312],
[0.17131159, 0.15900884, -0.04825369, 0.15886175, 0.1414853],
[0.49760355, 0.41055199, -0.14611893, 0.40803251, 0.41671053],
[-0.26615826, -0.30743391, 0.07708907, -0.3063715, -0.22187118],
[-0.3927741, -0.49119506, 0.09098666, -0.48712552, -0.30392363],
[-0.09436583, -0.09907181, 0.04037083, -0.09903271, -0.08958647],
[-0.46225941, -0.62276812, 0.17801784, -0.61364244, -0.42372915],
[-0.68894344, -1.1023655, 0.11421352, -1.0627932, -0.47683876],
[0.54551863, 0.44161588, -0.1962092, 0.43834684, 0.4887906],
[-0.45635762, -0.61845001, 0.2243287, -0.60902965, -0.45377631],
[0.51392807, 0.42380904, -0.11608231, 0.42119474, 0.39433643],
[-0.49514556, -0.65991554, 0.08047553, -0.6509263, -0.3404499],
[-0.4747132, -0.64891854, 0.19645604, -0.63846945, -0.4457103],
[-0.26195285, -0.29994651, 0.05379271, -0.29903144, -0.19471522],
[-0.6243963, -0.99875786, 0.24995553, -0.96295355, -0.57979055],
[-0.40910507, -0.53396084, 0.22267832, -0.52769928, -0.4208486],
[-0.2342998, -0.26726459, 0.10501295, -0.26649427, -0.22591179],
[2.4407724, 1.317305, -1.1861326, 1.237361, 2.4177196],
[0.48137182, 0.39179562, -0.40147968, 0.38904091, 0.57088894],
[0.88347144, 0.63016669, -0.98224625, 0.61833459, 1.1531305],
[-0.37748634, -0.47241194, 0.12786077, -0.46847326, -0.33153033],
[0.6029886, 0.47870953, -0.23536225, 0.4744856, 0.55521561],
[0.25692875, 0.2299286, -0.09565444, 0.22945687, 0.23287356],
[-0.02006736, -0.02023643, 0.00185917, -0.02023619, -0.01144046],
[-0.10153493, -0.10651411, 0.01952647, -0.10647343, -0.07384054],
[1.0620669, 0.75307903, -0.27944874, 0.73844545, 0.85745625],
[0.30155225, 0.26708188, -0.06531001, 0.2664271, 0.22816287],
[0.17414172, 0.16255392, -0.01972152, 0.16242552, 0.10615131],
[0.04052029, 0.03973302, -0.01811988, 0.03973047, 0.03904003],
[0.0995454, 0.09467985, -0.08338736, 0.09464023, 0.11822905],
[-0.1098009, -0.11547485, 0.01617159, -0.11542601, -0.0730575],
[-0.44427463, -0.6062158, 0.32152264, -0.59656536, -0.50255261],
[-0.33979962, -0.40986904, 0.08038145, -0.40747774, -0.26477513],
[-0.6619722, -0.98266748, 0.05866829, -0.95756575, -0.37185274],
[0.04999817, 0.04877268, -0.02928264, 0.04876768, 0.05270472],
[-0.1508781, -0.16430411, 0.10638183, -0.16410528, -0.16919335],
[0.43989814, 0.37692724, -0.0381013, 0.37543202, 0.24522121],
[0.33284499, 0.28780745, -0.18836734, 0.28679605, 0.34687517],
[0.19602769, 0.18000773, -0.06084173, 0.17978985, 0.16722023],
[-0.4337603, -0.57396928, 0.19590909, -0.56653304, -0.41930309],
[0.00823044, 0.00819827, -0.00273524, 0.00819824, 0.00718275],
[0.89286471, 0.65491122, -0.31419723, 0.64454243, 0.79420855],
[-0.485029, -0.66434467, 0.17236992, -0.6535117, -0.43285486],
[-0.19591362, -0.22008743, 0.16508003, -0.21959164, -0.23314061],
[0.29846968, 0.2648503, -0.06051499, 0.26422096, 0.22091802],
[-0.51177164, -0.7090097, 0.14101934, -0.69660593, -0.4195854],
[-0.08107079, -0.08478746, 0.06715827, -0.08475907, -0.09592963],
[-0.51330833, -0.7044032, 0.11384153, -0.6927808, -0.39146756],
[-0.28434784, -0.34314381, 0.3405642, -0.34113181, -0.38046054],
[-0.22041142, -0.25004037, 0.12217904, -0.24937866, -0.22812084],
[-0.28288225, -0.33456338, 0.15166649, -0.33299857, -0.28954118],
[-0.38045734, -0.48755831, 0.24374344, -0.48259472, -0.41322979],
[0.02184406, 0.02163048, -0.00460415, 0.02163014, 0.0163788],
[0.55876591, 0.45226093, -0.16342586, 0.44890758, 0.46730833],
[-0.08268958, -0.08625577, 0.03425598, -0.08623014, -0.07766451],
[-0.24595302, -0.28107306, 0.07941274, -0.28024022, -0.21258935],
[-0.20771709, -0.23236015, 0.07678811, -0.23187411, -0.18782618],
[0.07956144, 0.07648132, -0.05316748, 0.07646146, 0.08763827],
[-0.11617647, -0.12358576, 0.05869661, -0.12350707, -0.11658064],
[0.69686488, 0.5196206, -1.1872426, 0.51223505, 1.0486298],
[-0.58188967, -0.86594781, 0.17081948, -0.84355226, -0.48724743],
[2.0124807, 1.144415, -1.4286583, 1.0858262, 2.2619028],
[0.59690036, 0.47855196, -0.15696886, 0.47467906, 0.4818173],
[0.36272796, 0.31308576, -0.1075188, 0.31195833, 0.30471383],
[0.03595038, 0.03534871, -0.01187403, 0.03534703, 0.03130966],
[-0.22580188, -0.25143769, 0.02816139, -0.25095373, -0.14213895],
[-0.38006128, -0.47956806, 0.15642695, -0.47527259, -0.356191],
[1.1166041, 0.76410384, -0.64917324, 0.74608095, 1.1741665],
[0.20199822, 0.18591811, -0.03661377, 0.18570506, 0.14403118],
[-0.32867868, -0.4062999, 0.25813875, -0.40327202, -0.38206925],
[0.05677936, 0.0553442, -0.01411033, 0.05533815, 0.04497619],
[-0.36806787, -0.454488, 0.1005, -0.45113609, -0.30085043],
[-0.53506292, -0.79438171, 0.32265847, -0.77407627, -0.56954441],
[0.19071785, 0.17381953, -0.17391407, 0.17357042, 0.23301424],
[-0.51589241, -0.74151215, 0.25824814, -0.72549233, -0.51609362],
[-0.03413597, -0.03468197, 0.00768145, -0.03468051, -0.02615969],
[0.08910428, 0.08519312, -0.07159331, 0.08516452, 0.1043678],
[0.35987379, 0.30913411, -0.16000503, 0.30794728, 0.34606262],
[0.18489821, 0.17040005, -0.06371003, 0.17021083, 0.16331813],
[1.3405019, 0.88402, -0.50635538, 0.8589904, 1.2208813],
[-0.46237474, -0.60429991, 0.08655541, -0.59714239, -0.3332505],
[0.4514692, 0.38508298, -0.04198612, 0.38346423, 0.25770965],
[0.41235874, 0.34998624, -0.11971637, 0.34842228, 0.34401548],
[-0.30686678, -0.36928716, 0.16563904, -0.36718543, -0.31479717],
[1.0163954, 0.70515236, -0.86009015, 0.68968476, 1.2112481],
[-0.24796447, -0.28380914, 0.0814219, -0.28294869, -0.21553446],
[0.24538016, 0.22206756, -0.04780098, 0.22169915, 0.17921812],
[-0.4291345, -0.58654611, 0.43946985, -0.57710826, -0.54498178],
[-0.39186361, -0.51057574, 0.30062526, -0.5046651, -0.45196879],
[0.79404903, 0.60254896, -0.2020656, 0.59496774, 0.6339753],
[-0.36717171, -0.44859111, 0.07036081, -0.44560604, -0.26670618],
[-0.62796841, -0.97958516, 0.17653188, -0.94803646, -0.51829408],
[-0.40685157, -0.52591145, 0.18066974, -0.52018042, -0.39107718],
[0.31378064, 0.2751345, -0.1068019, 0.27434394, 0.27602839],
[-0.5145653, -0.72052957, 0.16563167, -0.70709631, -0.44430867],
[-0.44366138, -0.57130426, 0.08146556, -0.56526133, -0.31771357],
[-0.09743412, -0.10210125, 0.02230239, -0.102064, -0.0750933],
[-0.67463913, -1.1652336, 0.2955002, -1.1091912, -0.64552085],
[-0.0532977, -0.05477754, 0.02666406, -0.0547707, -0.05330784],
[0.01125144, 0.0111872, -0.0069488, 0.01118714, 0.01207217],
[1.0424593, 0.7658664, -0.08546767, 0.75386482, 0.57058019],
[-0.23966601, -0.27400878, 0.10024656, -0.27319153, -0.22582436],
[-0.15102731, -0.16293533, 0.04024455, -0.16277902, -0.12244734],
[0.10883711, 0.10360373, -0.03484788, 0.10356181, 0.09381093],
[-0.63749651, -1.0657947, 0.34067459, -1.0202847, -0.65179114],
[0.21462438, 0.19252866, -0.32449832, 0.19215043, 0.31036079],
[0.28543484, 0.25359926, -0.07780585, 0.25300912, 0.23317684],
[0.60037273, 0.47535329, -0.27759935, 0.47106133, 0.58492043],
[-0.64629577, -1.0650438, 0.26333326, -1.0220094, -0.6036698],
[-0.24043518, -0.272045, 0.05163505, -0.27135449, -0.18140818],
[-0.43766527, -0.5607036, 0.07881634, -0.55500896, -0.31139393],
[-0.10886067, -0.1144656, 0.01680504, -0.11441753, -0.07357617],
[-0.21659505, -0.24163923, 0.04517702, -0.24115776, -0.16183839],
[0.24558099, 0.21864978, -0.21619087, 0.21815888, 0.29654159],
[0.87538756, 0.6420736, -0.36843874, 0.63190621, 0.82654279],
[0.03268513, 0.03214741, -0.02171152, 0.03214594, 0.03593136],
[-0.33085539, -0.39571874, 0.07053734, -0.39361288, -0.24902435],
[-0.54252751, -0.80913275, 0.30893409, -0.78798062, -0.56656071],
[-0.29883582, -0.34835188, 0.04910994, -0.34699085, -0.20623145],
[0.82533579, 0.60997673, -0.43779671, 0.60078017, 0.84175935],
[-0.08115594, -0.08467064, 0.04121902, -0.08464528, -0.08158108],
[-0.30067698, -0.35725161, 0.11424508, -0.35548796, -0.27438221],
[0.06741546, 0.06518607, -0.04474214, 0.06517379, 0.07408926],
[1.003046, 0.72197825, -0.25434616, 0.70913157, 0.79989373],
[-0.58070163, -0.84229962, 0.11654776, -0.82319219, -0.42836436],
[0.75923582, 0.58481682, -0.15124806, 0.5782288, 0.55867306],
[0.0059764, 0.0059584, -0.00334034, 0.00595839, 0.0062025],
[-0.53090015, -0.75600972, 0.17492552, -0.74049255, -0.46199395],
[-0.22335222, -0.25544049, 0.17958825, -0.25467492, -0.26167535],
[-0.22948451, -0.25824195, 0.05233589, -0.25764301, -0.17664938],
[0.30963181, 0.27345875, -0.06687207, 0.27275659, 0.23405719],
[1.0611246, 0.74180213, -0.46722051, 0.72619033, 1.0170951],
[-0.29408863, -0.34962585, 0.13988706, -0.34788828, -0.28923754],
[-0.25860882, -0.30081882, 0.14020602, -0.29967581, -0.26568138],
[-0.22592201, -0.25446235, 0.06302462, -0.25386314, -0.18598836],
[-0.3826994, -0.47233224, 0.07239276, -0.4688642, -0.27678777],
[0.01947673, 0.01928047, -0.01518198, 0.01928014, 0.02258379],
[-0.38497259, -0.48883332, 0.17038615, -0.48421616, -0.36963631],
[-0.08148694, -0.08518986, 0.05985012, -0.08516183, -0.09263114],
[-0.04295891, -0.04403539, 0.06160084, -0.0440309, -0.06103436],
[-0.01471251, -0.0148122, 0.00320525, -0.01481209, -0.01115378],
[0.71449982, 0.53710627, -0.69745866, 0.52988413, 0.89299886],
[0.08013108, 0.07729919, -0.02108105, 0.07728251, 0.06469063],
[0.5593455, 0.44200533, -0.53719308, 0.43794786, 0.69530214],
[-0.29161723, -0.34587494, 0.13500442, -0.34420219, -0.28422882],
[-0.3444663, -0.41820437, 0.09269602, -0.41559328, -0.28019574],
[0.81332359, 0.62275131, -0.11332632, 0.61541416, 0.53124621],
[-0.23053501, -0.26431372, 0.16104974, -0.2634919, -0.25772384],
[-0.61349953, -0.9545587, 0.20593769, -0.92416238, -0.53719435],
[0.9104401, 0.6520594, -0.66452249, 0.64010651, 1.032795],
[-0.05516897, -0.05661534, 0.01231837, -0.05660902, -0.04216878],
[-0.56883995, -0.87662871, 0.33321132, -0.84988566, -0.59966676],
[-0.36478423, -0.45367681, 0.13740888, -0.45010064, -0.33192424],
[-0.1586423, -0.17112781, 0.02675512, -0.17096423, -0.11043115],
[-0.38205142, -0.4887402, 0.22432994, -0.48383445, -0.40307602],
[0.49535731, 0.41246085, -0.08944291, 0.41016421, 0.35275325],
[-0.06313745, -0.06522226, 0.03054947, -0.06521079, -0.0624505],
[0.34982979, 0.30320269, -0.10692491, 0.30217114, 0.29689815],
[-0.67251333, -1.1316017, 0.2367678, -1.0821006, -0.59829882],
[-0.59172716, -0.97634716, 0.54039043, -0.93670332, -0.72331402],
[1.8266434, 1.0903129, -0.82764403, 1.0433883, 1.7676396],
[-0.24588016, -0.28664541, 0.23477248, -0.28552426, -0.3050526],
[-0.5845798, -0.88896881, 0.22408002, -0.86346038, -0.53502439],
[0.13148771, 0.12328602, -0.09816614, 0.12320082, 0.15028675],
[2.4346548, 1.3699725, -0.41157278, 1.2972916, 1.6960962],
[0.36246503, 0.31062852, -0.17737731, 0.30939885, 0.35987645],
[1.3994869, 0.91006275, -0.55827647, 0.88256762, 1.2979929],
[-0.45624974, -0.60016264, 0.1132157, -0.59270962, -0.36122736],
[-0.25496413, -0.29439606, 0.10658785, -0.29338385, -0.24019574],
[-0.05767819, -0.05933659, 0.01916141, -0.05932864, -0.05032999],
[-0.80431809, -1.602386, 0.2093638, -1.4822075, -0.64703695],
[1.5617118, 1.0233385, -0.18272086, 0.99348606, 0.96236533],
[-0.70968552, -1.3600232, 0.44467442, -1.2686575, -0.76512902],
[0.64399969, 0.50980783, -0.15969945, 0.50519804, 0.50976292],
[-0.42577082, -0.56001156, 0.19633848, -0.55306239, -0.4144407],
[0.19852298, 0.18141046, -0.09500672, 0.18116502, 0.19564494],
[-0.01755235, -0.01770992, 0.00953801, -0.01770969, -0.01804622],
[0.71490024, 0.54777169, -0.30852084, 0.54135133, 0.68066767],
[0.25055792, 0.22421576, -0.11747822, 0.22375532, 0.24524559],
[0.7455487, 0.56404977, -0.37980282, 0.55679912, 0.7502052],
[-0.46599585, -0.64242384, 0.27075063, -0.63151757, -0.48991551],
[1.2948213, 0.83888233, -1.1669167, 0.81310832, 1.5757834],
[0.37068888, 0.31372161, -0.33695531, 0.31227059, 0.45241863],
[-0.40780079, -0.51476393, 0.09005722, -0.51013837, -0.31056193],
[0.04838708, 0.04727737, -0.02046467, 0.04727313, 0.04576124],
[-0.65958483, -1.0877235, 0.22545378, -1.04365, -0.5810448],
[-0.41448109, -0.51966116, 0.06413362, -0.51525789, -0.28035506],
[-0.53221661, -0.77934505, 0.27260226, -0.76076586, -0.53651117],
[0.37895608, 0.32426337, -0.13780978, 0.32295415, 0.34079714],
[-0.35423027, -0.44100622, 0.17977977, -0.4374971, -0.35599786],
[0.43251987, 0.36024553, -0.26019905, 0.35824609, 0.46002624],
[-0.1780144, -0.19759107, 0.14782681, -0.19723303, -0.21081321],
[-0.00010377, -0.00010378, 2.836e-05, -0.00010378, -8.485e-05],
[-0.15775022, -0.17083021, 0.04249013, -0.17064969, -0.12835694],
[-0.05827104, -0.06000977, 0.02430356, -0.06000112, -0.05485318],
[1.1849863, 0.83572134, -0.14128063, 0.818976, 0.73481794],
[-0.59052793, -0.96984829, 0.52299476, -0.93117582, -0.71450083],
[0.9399917, 0.68377155, -0.28694805, 0.67236428, 0.7974322],
[-0.44002698, -0.57087568, 0.10634001, -0.56447783, -0.34532533],
[-0.21863606, -0.24528179, 0.0624941, -0.24474199, -0.1814558],
[0.56326566, 0.46109889, -0.08372362, 0.45803496, 0.37592526],
[-0.07591432, -0.07896422, 0.03725001, -0.0789438, -0.07543992],
[-0.77818641, -1.6795659, 0.42244103, -1.5246549, -0.79981177],
[-0.04399159, -0.04503607, 0.03189906, -0.04503194, -0.04979462],
[-0.1002894, -0.10618355, 0.09715338, -0.10612585, -0.12502571],
[-0.46154278, -0.65298739, 0.47775225, -0.64006615, -0.58823684],
[0.19297036, 0.17688747, -0.08435038, 0.17666441, 0.18451545],
[1.2567799, 0.84235571, -0.50274465, 0.82029379, 1.1667164],
[0.23807226, 0.21413629, -0.110251, 0.2137361, 0.23206521],
[-0.63972256, -0.9226105, 0.04888754, -0.90231089, -0.34203496],
[-0.65083021, -1.0839922, 0.27791095, -1.0383617, -0.61748113],
[0.01714389, 0.01700946, -0.00427506, 0.01700929, 0.01359556],
[-0.1753322, -0.19645065, 0.33425428, -0.1960278, -0.2739114],
[1.1513607, 0.79169637, -0.43119065, 0.77348673, 1.0456204],
[-0.48785477, -0.68179512, 0.24456376, -0.66922912, -0.48827865],
[0.21072881, 0.19254487, -0.05959303, 0.19228378, 0.17427073],
[0.35612601, 0.30303134, -0.3278876, 0.30171888, 0.43650323],
[-0.27023169, -0.3144702, 0.10075437, -0.31326871, -0.24505043],
[0.61318693, 0.48210992, -0.3274334, 0.47749362, 0.62677681],
[0.41111143, 0.33301644, -1.8253585, 0.33056576, 0.85133226],
[-0.19481353, -0.21503613, 0.04602194, -0.21468694, -0.15173218],
[-0.03987817, -0.04063046, 0.0094143, -0.04062809, -0.03105247],
[-0.10009869, -0.10514249, 0.027462, -0.10510015, -0.08194824],
[-0.11716349, -0.12448007, 0.04615095, -0.12440397, -0.10820942],
[-0.17640093, -0.1928184, 0.04341165, -0.19256414, -0.13927698],
[-0.73754475, -1.344323, 0.22748136, -1.2668483, -0.62784271],
[-0.06202451, -0.06398783, 0.02451098, -0.06397748, -0.05734634],
[-0.21830102, -0.24652744, 0.09873847, -0.24592095, -0.21112644],
[-0.42028158, -0.55096001, 0.20057009, -0.54428635, -0.41380172],
[0.27692872, 0.24786499, -0.05178603, 0.24735786, 0.19952295],
[-0.16056965, -0.17558293, 0.09551896, -0.17534935, -0.17014355],
[-0.06538395, -0.06758339, 0.02707714, -0.06757106, -0.0614033],
[0.40472269, 0.34596206, -0.08711496, 0.34454716, 0.30559479],
[-0.01948248, -0.01970221, 0.0312953, -0.01970179, -0.02874744],
[-0.74044391, -1.4313084, 0.33547729, -1.332702, -0.71651588],
[-0.00959026, -0.00963341, 0.00254421, -0.00963338, -0.00776392],
[0.58290382, 0.46866275, -0.16430017, 0.46496644, 0.48152696],
[0.78990971, 0.5990838, -0.21558183, 0.59151686, 0.64555366],
[-0.60878353, -0.904121, 0.11544082, -0.88097363, -0.44066146],
[-0.19234382, -0.2135101, 0.07997263, -0.21312274, -0.18087392],
[0.09349877, 0.08945988, -0.04175847, 0.08943082, 0.09004552],
[-0.56760591, -0.82023065, 0.13154508, -0.80199044, -0.43927128],
[-0.18688935, -0.20644692, 0.06830505, -0.20610648, -0.16835162],
[0.13621984, 0.12805562, -0.04984456, 0.12797412, 0.12275603],
[1.0490177, 0.72713028, -0.68918444, 0.71110319, 1.1489744],
[-0.45100013, -0.59470485, 0.13184149, -0.58718889, -0.37711905],
[0.13526372, 0.12645504, -0.12005451, 0.12635952, 0.16377856],
[-0.28818669, -0.33167944, 0.03350251, -0.33058978, -0.17720872],
[-0.13060375, -0.1398183, 0.0524589, -0.13971005, -0.12140973],
[0.9378045, 0.67753716, -0.3788192, 0.66574952, 0.87343154],
[0.27098326, 0.24004014, -0.15183279, 0.23945297, 0.28146658],
[-0.33485349, -0.3970462, 0.04412781, -0.39513215, -0.21469273],
[0.6194375, 0.49775346, -0.10398783, 0.49380734, 0.43052909],
[-0.14296602, -0.15368801, 0.04171745, -0.15355413, -0.11947338],
[0.43258663, 0.35935961, -0.30280431, 0.35730782, 0.48392651],
[0.37175276, 0.31861271, -0.14411522, 0.31735271, 0.34151995],
[-0.32665016, -0.38884006, 0.06387642, -0.38687864, -0.23887944],
[-0.42561232, -0.55795914, 0.18142126, -0.55119973, -0.40356688],
[-0.35105423, -0.42195308, 0.05378071, -0.41958271, -0.23666551],
[-0.02320392, -0.02345492, 0.00534224, -0.02345447, -0.01791811],
[-0.33682582, -0.40497783, 0.0758356, -0.4026951, -0.25816932],
[-0.12414077, -0.13332723, 0.11586673, -0.13321404, -0.1528525],
[2.3019877, 1.257505, -1.3917948, 1.1840291, 2.4524702],
[-0.17247345, -0.18734391, 0.02840135, -0.18713052, -0.11910715],
[0.08731105, 0.08419405, -0.01168084, 0.08417551, 0.05626188],
[-0.26263879, -0.30489683, 0.11180706, -0.30376866, -0.24892718],
[-0.2910695, -0.35171965, 0.29755042, -0.34962839, -0.36942645],
[-0.72868997, -1.3252187, 0.2462431, -1.2493896, -0.63947939],
[-0.12607099, -0.13517712, 0.08419329, -0.13506761, -0.13883936],
[-0.303988, -0.36124323, 0.1053936, -0.35945659, -0.269062],
[-0.4509924, -0.60030839, 0.16495918, -0.59220241, -0.40636377],
[0.34727781, 0.30690118, -0.02535243, 0.30612116, 0.18286666],
[-0.64879747, -0.98327508, 0.09287628, -0.95550747, -0.42761313],
[0.06005547, 0.05833297, -0.02946512, 0.05832474, 0.05967803],
[0.11741206, 0.11047067, -0.14296951, 0.11040233, 0.15796697],
[-0.08041936, -0.08379401, 0.03396093, -0.08377041, -0.07601692],
[1.7225341, 1.03418, -1.1239065, 0.99064126, 1.8823424],
[-0.10868496, -0.11435385, 0.01896727, -0.11430459, -0.07652287],
[-0.31637263, -0.37839743, 0.10091835, -0.37638371, -0.2723533],
[-0.20938853, -0.23213658, 0.0367331, -0.23172556, -0.14768321],
[-0.28102192, -0.32840365, 0.09088428, -0.32707863, -0.24303364],
[-0.13782043, -0.14790602, 0.04587562, -0.14778313, -0.12034084],
[0.10434784, 0.09932503, -0.04931338, 0.09928476, 0.10240486],
[0.45772778, 0.38254781, -0.13504668, 0.380503, 0.38392184],
[-0.11546231, -0.12233721, 0.03505027, -0.12226903, -0.09776887],
[-0.44973591, -0.58508369, 0.09599035, -0.57838802, -0.33862907],
[0.16888733, 0.15759416, -0.02645707, 0.15746842, 0.11470666],
[0.32593828, 0.28649726, -0.06498227, 0.28570446, 0.2399009],
[0.27186575, 0.24233951, -0.08641709, 0.24180647, 0.23376503],
[0.12746131, 0.1202375, -0.04891426, 0.12016931, 0.11670087],
[-0.5525436, -0.79779884, 0.16088526, -0.78013652, -0.4614165],
[-0.33745452, -0.41627007, 0.19449844, -0.41322893, -0.353828],
[-0.38523263, -0.47686709, 0.07595916, -0.47326717, -0.2825002],
[-0.29919216, -0.35416709, 0.10080245, -0.35249308, -0.26230134],
[-0.32859982, -0.39187088, 0.06583404, -0.38985297, -0.24225443],
[1.2230258, 0.85610896, -0.14322376, 0.83822182, 0.7538856],
[-0.59484282, -0.91957581, 0.24273238, -0.89112381, -0.55588811],
[0.22316516, 0.20054443, -0.20153153, 0.20016315, 0.27177443],
[-0.34353237, -0.42417631, 0.17430392, -0.42104902, -0.34521593],
[1.0013204, 0.70813496, -0.49237704, 0.69416568, 0.99576753],
[1.286023, 0.85588024, -0.52633007, 0.83267972, 1.2029896],
[-0.14232183, -0.15297857, 0.0427016, -0.15284572, -0.12004362],
[-0.11923524, -0.12690099, 0.05092533, -0.12681891, -0.11313345],
[0.07967895, 0.07688418, -0.02053429, 0.07686785, 0.06388501],
[-0.5240686, -0.76737404, 0.30816235, -0.74908509, -0.55317424],
[-0.57784358, -0.86110674, 0.1843253, -0.83868528, -0.49744512],
[-0.32958216, -0.40011504, 0.13174724, -0.39761812, -0.30589072],
[0.41448584, 0.34574843, -0.33455967, 0.343861, 0.48622915],
[-0.32944976, -0.41067335, 0.33465253, -0.40736804, -0.41725431],
[-0.09503026, -0.09919597, 0.012917, -0.09916555, -0.06156092],
[-0.42105309, -0.55299201, 0.20696821, -0.54620281, -0.41866737],
[-0.07923867, -0.08247432, 0.03034594, -0.08245231, -0.07249949],
[-0.16577435, -0.17985874, 0.03469311, -0.17965957, -0.12400407],
[0.19949934, 0.1827653, -0.06902931, 0.18253172, 0.17646103],
[-0.43920686, -0.57872277, 0.16003694, -0.57144777, -0.39524175],
[-0.56513879, -0.84885229, 0.24699657, -0.82588278, -0.54035235],
[-0.06286303, -0.06491442, 0.02858863, -0.06490327, -0.06090758],
[0.92549746, 0.67323857, -0.32473992, 0.6620081, 0.82244219],
[-0.38988726, -0.47979843, 0.05636151, -0.47637231, -0.2578083],
[0.09979014, 0.09573364, -0.01384403, 0.09570617, 0.06508626],
[0.09280064, 0.0889795, -0.0279896, 0.08895329, 0.07841086],
[-0.46107866, -0.59994216, 0.07899674, -0.59306763, -0.32264856],
[0.83347527, 0.60020541, -1.0995866, 0.58955563, 1.1517236],
[0.27905983, 0.24569371, -0.19753739, 0.24503095, 0.31334636],
[-0.63810006, -1.0087097, 0.18285623, -0.97429886, -0.5300365],
[-0.17291354, -0.18879898, 0.04598416, -0.18855612, -0.14009805],
[-0.51416831, -0.73501209, 0.24166843, -0.71959983, -0.50367861],
[-0.11603496, -0.12331911, 0.05205844, -0.12324295, -0.11191791],
[0.25114639, 0.22198601, -0.33394605, 0.22142343, 0.34795258],
[-0.35430121, -0.44161092, 0.18647538, -0.43805958, -0.36041173],
[-0.4297934, -0.56245513, 0.16054818, -0.55572832, -0.38998834],
[-0.24832551, -0.28509038, 0.09585265, -0.28418665, -0.22780274],
[-0.5430595, -0.8236341, 0.38944718, -0.80029361, -0.61243189],
[0.14951981, 0.14066735, -0.02096909, 0.14058006, 0.09787438],
[-0.26030761, -0.30529244, 0.19969441, -0.30400333, -0.3002317],
[-0.41187027, -0.5222738, 0.09534316, -0.51739668, -0.31862522],
[0.40355256, 0.33678618, -0.40298382, 0.33495712, 0.5082054],
[-0.75255175, -1.3894944, 0.21360879, -1.3060837, -0.62312324],
[-0.35507276, -0.43263695, 0.08326328, -0.42983496, -0.27587102],
[-0.72634868, -1.3135867, 0.24178343, -1.2397681, -0.63423315],
[1.1376892, 0.77830075, -0.56460273, 0.75991464, 1.1348542],
[0.0124268, 0.01235574, -0.00318039, 0.01235567, 0.00994053],
[-0.17977795, -0.19706609, 0.04822297, -0.19678947, -0.14607826],
[0.13164445, 0.12436625, -0.02962392, 0.12429923, 0.10088484],
[1.6590308, 1.0177654, -0.82102101, 0.97836656, 1.6533484],
[0.35423886, 0.30348345, -0.21771826, 0.30227719, 0.37946561],
[-0.39745053, -0.50183363, 0.1115254, -0.49731392, -0.327836],
[0.16236895, 0.15037561, -0.09838355, 0.15022813, 0.17310893],
[0.6958186, 0.53635626, -0.29431717, 0.53034734, 0.6580808],
[-0.46773645, -0.6351434, 0.19230175, -0.62534201, -0.43819951],
[0.10162678, 0.09719379, -0.0235417, 0.09716157, 0.0786372],
[1.2254236, 0.83616209, -0.33996754, 0.81614444, 1.0069625],
[-0.44736095, -0.58481213, 0.11337566, -0.57787362, -0.35668813],
[-0.53040638, -0.77530138, 0.27230976, -0.75698926, -0.53510239],
[-0.20596997, -0.22932212, 0.05814066, -0.22888187, -0.17023123],
[0.52440326, 0.4238883, -0.29085357, 0.42070618, 0.54284818],
[-0.27039535, -0.31848645, 0.18037432, -0.31706852, -0.29766953],
[-0.18413097, -0.20127687, 0.03093094, -0.20101119, -0.12800461],
[0.2078039, 0.18889883, -0.11508173, 0.1886127, 0.21500469],
[-0.55328036, -0.78200973, 0.11006953, -0.76662156, -0.4069389],
[-0.31123454, -0.37880878, 0.22941672, -0.37638232, -0.3542231],
[-0.65927093, -0.99075659, 0.0725532, -0.96387989, -0.39805047],
[0.07618853, 0.07372323, -0.01368779, 0.07370993, 0.05416444],
[-0.32168303, -0.39510162, 0.24521041, -0.39233234, -0.37023295],
[-0.52044113, -0.72706987, 0.1447913, -0.71369831, -0.42806058],
[-0.19292174, -0.21699692, 0.20331068, -0.21649757, -0.24735319],
[-0.37437819, -0.47321524, 0.1859494, -0.46891375, -0.37354989],
[0.58338252, 0.47340146, -0.10114556, 0.46997579, 0.40985278],
[-0.31178488, -0.3671897, 0.05737334, -0.36555753, -0.22343443],
[-0.44979931, -0.62005397, 0.35883752, -0.60953178, -0.52559974],
[0.29013402, 0.25421375, -0.21161293, 0.25347515, 0.32904591],
[-0.0471581, -0.04825397, 0.01517686, -0.04824973, -0.04071692],
[-0.39545673, -0.49608618, 0.09505087, -0.49186199, -0.30978568],
[0.54435985, 0.45148952, -0.05282739, 0.44886723, 0.31517645],
[0.13502896, 0.12765483, -0.02143779, 0.12758775, 0.09212014],
[-0.3240423, -0.3860241, 0.07033396, -0.38406021, -0.24535759],
[0.0219324, 0.02171037, -0.00612701, 0.02170999, 0.01806413],
[-0.13135208, -0.1397574, 0.02259516, -0.13966782, -0.09203926],
[0.35984601, 0.3131645, -0.06318754, 0.31215909, 0.25388182],
[-0.53692255, -0.78844182, 0.26544966, -0.76937333, -0.53490725],
[0.99283801, 0.71110543, -0.33171189, 0.69807369, 0.86799243],
[-0.30811339, -0.36535786, 0.08606506, -0.36359554, -0.25376166],
[0.35941228, 0.30921429, -0.14533974, 0.30805106, 0.33486267],
[0.46119255, 0.38419514, -0.15408706, 0.38206689, 0.40319974],
[0.25617752, 0.22887855, -0.11355209, 0.22839493, 0.24609477],
[0.3881024, 0.33229798, -0.10916489, 0.33096708, 0.32038232],
[-0.01142538, -0.01148719, 0.00325243, -0.01148713, -0.00946949],
[-0.0663644, -0.06831127, 0.00741754, -0.06830176, -0.04027665],
[-0.31479598, -0.3845116, 0.23897448, -0.38195885, -0.36180949],
[0.13188749, 0.12507852, -0.01495072, 0.12501997, 0.08042043],
[0.05560787, 0.05414142, -0.02479536, 0.05413498, 0.05352512],
[0.030057, 0.02968142, -0.00338286, 0.02968064, 0.01828388],
[-0.60764607, -0.92798542, 0.17422059, -0.90082532, -0.50482821],
[-0.49611384, -0.65425635, 0.06163571, -0.64598206, -0.31189496],
[0.19595611, 0.17969821, -0.07121758, 0.17947373, 0.17618879],
[-0.53300603, -0.79124424, 0.33222942, -0.77102963, -0.57364618],
[0.21233509, 0.19291969, -0.10206777, 0.19262435, 0.20956595],
[-0.12690115, -0.1343304, 0.01431673, -0.13425796, -0.07725649],
[-0.32844644, -0.40427048, 0.22379228, -0.40137809, -0.36413974],
[-0.14290203, -0.15448587, 0.07820742, -0.15432956, -0.14727134],
[0.79360616, 0.58955236, -0.48783917, 0.58096063, 0.8501696],
[-0.02949369, -0.02992309, 0.01081226, -0.02992205, -0.0265951],
[0.27831796, 0.24559747, -0.16801173, 0.24495834, 0.29635848],
[1.0478477, 0.76214648, -0.12083589, 0.7494232, 0.64260005],
[0.06339373, 0.06158523, -0.0181729, 0.06157663, 0.05266421],
[-0.5938279, -0.89957497, 0.18744172, -0.87422318, -0.50941588],
[0.03644298, 0.03580721, -0.01562572, 0.03580536, 0.0346231],
[-0.49944896, -0.6882761, 0.15428926, -0.67661922, -0.42538546],
[-0.68855705, -1.1334562, 0.15684956, -1.0878507, -0.52982329],
[-0.08804256, -0.09199457, 0.02906246, -0.09196501, -0.07666242],
[1.9829382, 1.1470288, -1.0173005, 1.0916852, 2.0000117],
[0.16729735, 0.15551127, -0.04810313, 0.15537303, 0.13912136],
[-0.6912127, -1.1040963, 0.10905673, -1.0647441, -0.47058199],
[-0.65126541, -1.1420625, 0.44827384, -1.0841523, -0.72448568],
[-0.18475545, -0.20375577, 0.06541737, -0.20343072, -0.16467937],
[-0.07713194, -0.07963294, 0.00526849, -0.07961942, -0.03972479],
[0.01740949, 0.01725609, -0.0109489, 0.01725586, 0.01879278],
[1.2196292, 0.85291889, -0.15144619, 0.83500453, 0.7666221],
[-0.22496394, -0.25705245, 0.16083384, -0.25629232, -0.25344151],
[-0.36823714, -0.46294364, 0.17993716, -0.45892631, -0.36542816],
[1.2520815, 0.81943768, -1.1127505, 0.7953967, 1.5166929],
[0.5370179, 0.42882249, -0.44677811, 0.42522593, 0.63635551],
[-0.45893868, -0.62841097, 0.26653623, -0.6181842, -0.48242728],
[2.0020663, 1.154226, -1.0311665, 1.0978758, 2.021957],
[-0.66655028, -1.1886375, 0.42913662, -1.1248503, -0.72515437],
[-0.5154665, -0.75240451, 0.33467992, -0.73476249, -0.56236746],
[0.11044802, 0.10446565, -0.09872336, 0.10441168, 0.13404643],
[2.1970641, 1.2481317, -0.72708268, 1.1840148, 1.9146957],
[-0.25675981, -0.2990706, 0.15898926, -0.29791395, -0.27572996],
[-0.25669536, -0.29556425, 0.08661654, -0.29458722, -0.22515881],
[0.52513525, 0.4277973, -0.19081609, 0.42481538, 0.47213092],
[0.15974061, 0.14921456, -0.03568551, 0.14909907, 0.12211926],
[-0.52570614, -0.79242904, 0.4633627, -0.77061806, -0.63505653],
[0.80623824, 0.58389749, -1.1584851, 0.57388804, 1.1462581],
[0.03130321, 0.03083991, -0.01157539, 0.03083876, 0.02830834],
[-0.10999839, -0.11631162, 0.03812945, -0.11625126, -0.09735414],
[-0.46938615, -0.62540527, 0.12257532, -0.61690292, -0.37800528],
[-0.45977529, -0.62819148, 0.25115588, -0.61810743, -0.47353804],
[-0.24400514, -0.29017483, 0.63139896, -0.28872754, -0.42206299],
[-0.22238072, -0.25076942, 0.07736622, -0.25016715, -0.197057],
[0.41225613, 0.35139209, -0.09092106, 0.34990208, 0.31381684],
[0.90104234, 0.65879176, -0.33084962, 0.64814686, 0.81292475],
[1.4268219, 0.9417433, -0.29915977, 0.91518567, 1.0679664],
[-0.01131892, -0.01138296, 0.0052341, -0.0113829, -0.01102793],
[-0.26064096, -0.29777716, 0.04913562, -0.29689842, -0.18829434],
[-0.35225204, -0.43891739, 0.19332433, -0.43539782, -0.3633634],
[0.27755578, 0.24944605, -0.03488256, 0.24897266, 0.17516458],
[-0.05249628, -0.05408881, 0.06457515, -0.05408076, -0.07086811],
[0.15270366, 0.14295055, -0.03751237, 0.14284682, 0.12049466],
[1.6640434, 1.0233537, -0.74645815, 0.98412553, 1.6049257],
[0.40173966, 0.34399464, -0.08248412, 0.34261792, 0.29860467],
[-0.2012955, -0.22591292, 0.12425093, -0.22541249, -0.21593975],
[-0.55241944, -0.81052705, 0.20869867, -0.79100738, -0.50314813],
[1.2167787, 0.81596409, -0.64037158, 0.79464724, 1.2377371],
[0.31859384, 0.2793104, -0.0957355, 0.2785059, 0.26885983],
[0.33521642, 0.29137558, -0.12189482, 0.29042371, 0.30145462],
[0.35923737, 0.31063323, -0.10219573, 0.30954184, 0.29767469],
[0.49244921, 0.3958823, -0.63755836, 0.39275613, 0.67622457],
[1.0662749, 0.74466625, -0.46536687, 0.72890881, 1.0190323],
[0.23051376, 0.20778465, -0.11628489, 0.20741193, 0.23119707],
[-0.05407944, -0.05548359, 0.01328741, -0.05547751, -0.04267546],
[-0.62813954, -0.98581439, 0.18994331, -0.95321309, -0.53119677],
[-0.18373719, -0.2011591, 0.03627741, -0.20088423, -0.13479904],
[0.18184522, 0.16675393, -0.12985588, 0.1665455, 0.20478515],
[-0.31872585, -0.37518492, 0.04704902, -0.37352689, -0.21222916],
[0.84887233, 0.62383422, -0.43685389, 0.61407755, 0.85707136],
[-0.05261579, -0.05387151, 0.00796703, -0.05386652, -0.03533347],
[-0.50035039, -0.71049219, 0.26736812, -0.69613862, -0.51155936],
[-0.46632367, -0.61629176, 0.1065549, -0.60837729, -0.35919155],
[-0.41396762, -0.52929026, 0.11631992, -0.52400002, -0.34161659],
[0.56533161, 0.45487973, -0.20191777, 0.45131692, 0.50536329],
[-0.25961398, -0.30166258, 0.12862217, -0.30053261, -0.25882168],
[0.14486225, 0.13424498, -0.22657748, 0.13411544, 0.21186167],
[-0.56682674, -0.86925212, 0.32130125, -0.84331965, -0.59103657],
[0.5047258, 0.41021238, -0.29671218, 0.40728788, 0.53271157],
[-0.43155757, -0.55417099, 0.09413043, -0.5484369, -0.32729987],
[0.34146008, 0.29564578, -0.1397251, 0.29462552, 0.31939499],
[0.59808647, 0.48391487, -0.09662502, 0.48031482, 0.41040803],
[0.2006377, 0.183359, -0.08645239, 0.18311139, 0.1909314],
[0.44366264, 0.36673917, -0.32881307, 0.36453234, 0.50585757],
[-0.35790142, -0.43681098, 0.08310658, -0.43393424, -0.27716013],
[-0.49074253, -0.68009252, 0.1985023, -0.66817166, -0.45726466],
[0.20408678, 0.18766665, -0.03758255, 0.18744678, 0.14629023],
[0.92820989, 0.65798031, -0.82939554, 0.64517405, 1.1264053],
[-0.14206865, -0.15283617, 0.047763, -0.15270031, -0.12446275],
[-0.17969653, -0.19767623, 0.06598571, -0.19737695, -0.16212616],
[-0.47137633, -0.61977806, 0.0862388, -0.61210679, -0.33714968],
[-0.28911174, -0.34384457, 0.16312479, -0.34212796, -0.30099582],
[-0.00763281, -0.00766442, 0.00752714, -0.0076644, -0.00957215],
[0.34143269, 0.29614602, -0.12301585, 0.29514894, 0.30610265],
[2.0719664, 1.2126712, -0.52023762, 1.1565606, 1.6468943],
[-0.11800533, -0.12555996, 0.05344356, -0.12547942, -0.11417636],
[-0.66888109, -1.1786054, 0.37739535, -1.1178522, -0.69637225],
[0.00530837, 0.0052956, -0.00113352, 0.00529559, 0.00399755],
[0.15362842, 0.1433758, -0.05533638, 0.14326187, 0.13771924],
[0.42707403, 0.35920849, -0.15986646, 0.35742182, 0.38779115],
[-0.46487744, -0.65646177, 0.43587838, -0.64361114, -0.57326763],
[-0.01626688, -0.01640278, 0.00924814, -0.01640259, -0.01697843],
[-0.027476, -0.02784189, 0.00868304, -0.02784108, -0.0235796],
[0.19189844, 0.17681613, -0.04846485, 0.17661883, 0.15282694],
[0.22330594, 0.20058569, -0.20863098, 0.2002013, 0.27504459],
[0.11559231, 0.10934324, -0.06731977, 0.10928697, 0.12162145],
[-0.47747168, -0.62350706, 0.06552056, -0.61616792, -0.31028988],
[0.8575602, 0.61127476, -1.2773277, 0.5997524, 1.2339205],
[-0.24769378, -0.28838884, 0.20749059, -0.28727965, -0.29418433],
[-0.16802838, -0.18300456, 0.04553388, -0.18278242, -0.13699666],
[0.15586551, 0.14451023, -0.11872882, 0.14437251, 0.17934753],
[-0.39223346, -0.50201694, 0.1843519, -0.49695755, -0.38422796],
[0.80113557, 0.59491977, -0.45929526, 0.58622787, 0.83851595],
[-0.24191424, -0.27667143, 0.09486526, -0.27584213, -0.22309338],
[0.18432121, 0.16997179, -0.0607232, 0.16978585, 0.16039042],
[-0.40278614, -0.52507026, 0.24440944, -0.51896897, -0.42963435],
[0.19255907, 0.17757771, -0.04252925, 0.17738371, 0.14664994],
[-0.0972408, -0.10219865, 0.03820438, -0.10215654, -0.08973187],
[-0.30184289, -0.35995233, 0.12973145, -0.35809935, -0.28699813],
[-0.80655346, -1.6474722, 0.23707035, -1.5153139, -0.67565426],
[-0.36549402, -0.45446948, 0.13440814, -0.45089353, -0.32991751],
[-0.35756411, -0.45140667, 0.25876731, -0.44734612, -0.40446637],
[0.47443587, 0.39805103, -0.0802688, 0.39601394, 0.33060589],
[-0.64139492, -1.0346158, 0.22190249, -0.99622053, -0.56730211],
[-0.35327017, -0.4485241, 0.33766234, -0.4442919, -0.43843867],
[0.38580316, 0.32347057, -0.43729991, 0.32180248, 0.50681211],
[-0.45169795, -0.60091255, 0.1608026, -0.5928297, -0.40334168],
[0.99548762, 0.72054504, -0.2191243, 0.7081499, 0.75729325],
[1.8464371, 1.1114614, -0.59910169, 1.0651319, 1.5985756],
[0.39118858, 0.33428279, -0.1169012, 0.33290991, 0.32951392],
[-0.26737891, -0.31403027, 0.17241748, -0.31268067, -0.29104169],
[-0.35472347, -0.43250975, 0.08609581, -0.42968906, -0.2787815],
[0.20292213, 0.18425357, -0.15632118, 0.18396786, 0.2343701],
[0.38315112, 0.3261751, -0.17731209, 0.3247703, 0.37339587],
[-0.4203798, -0.53885631, 0.11049479, -0.5333593, -0.33927498],
[-0.39280184, -0.50479736, 0.20418445, -0.49954177, -0.39792378],
[0.01409337, 0.01399707, -0.00585487, 0.01399697, 0.01324928],
[-0.6652952, -1.0134974, 0.08156506, -0.98417555, -0.41640983],
[0.34348687, 0.29084513, -0.60061687, 0.28950793, 0.52137387],
[0.09977508, 0.09541015, -0.02804863, 0.09537833, 0.08234969],
[0.32918421, 0.28875075, -0.07066353, 0.28792585, 0.24833301],
[-0.49353903, -0.6871202, 0.20734724, -0.67473867, -0.46571878],
[0.77392484, 0.60155546, -0.08642675, 0.59523764, 0.46956088],
[0.11597648, 0.10966911, -0.06949822, 0.10961197, 0.12319163],
[-0.22418407, -0.24900933, 0.02464014, -0.24855216, -0.13529889],
[0.0048323, 0.00481904, -0.00792244, 0.00481903, 0.00717903],
[1.5612954, 1.0050419, -0.31845894, 0.97326169, 1.157936],
[-0.04439821, -0.04534558, 0.0116988, -0.04534221, -0.03586197],
[-0.18287636, -0.20228267, 0.09051079, -0.20194015, -0.182256],
[0.79991917, 0.59627529, -0.39894571, 0.58778217, 0.79924268],
[0.00045295, 0.00045286, -0.00012532, 0.00045286, 0.00037187],
[-0.35045702, -0.43580879, 0.18862591, -0.43237702, -0.3591702],
[0.48168833, 0.40506154, -0.06181568, 0.40304207, 0.30611667],
[1.2102909, 0.82323981, -0.41739621, 0.803211, 1.0693487],
[-0.59017082, -0.91634263, 0.27345193, -0.88743255, -0.57538096],
[-0.37675981, -0.47045792, 0.12095176, -0.46661229, -0.32503025],
[0.06803516, 0.06595983, -0.01939384, 0.06594928, 0.056414],
[-0.06959904, -0.07232338, 0.05983358, -0.07230561, -0.08337973],
[0.21772388, 0.1987227, -0.05156152, 0.19844678, 0.16971593],
[1.6833678, 1.0531665, -0.41182571, 1.0155263, 1.3264794],
[-0.34527398, -0.42174351, 0.11413824, -0.4189433, -0.30078969],
[-0.62314999, -0.96597584, 0.1733497, -0.93571986, -0.51252229],
[0.6459985, 0.5037073, -0.31753546, 0.49854781, 0.64233524],
[0.81444581, 0.60869635, -0.31055794, 0.60017873, 0.74410178],
[-0.4908851, -0.63379759, 0.03898724, -0.62695296, -0.26585044],
[0.62883787, 0.49981679, -0.15887697, 0.49545104, 0.5008674],
[-0.47123649, -0.64525963, 0.2157823, -0.63475768, -0.45762303],
[-0.43045432, -0.56726321, 0.18859397, -0.56012565, -0.41191156],
[-0.27800518, -0.32605338, 0.11807445, -0.32467635, -0.2632877],
[0.02531747, 0.02500971, -0.01037265, 0.02500908, 0.02369118],
[0.8807169, 0.65205874, -0.24272019, 0.64234114, 0.72210916],
[-0.47195945, -0.64065297, 0.1776242, -0.63078898, -0.42931939],
[0.49944805, 0.41097781, -0.16469959, 0.40838569, 0.43474479],
[1.5756966, 0.961067, -1.4644167, 0.92300166, 1.9373732],
[-0.62905627, -1.0322172, 0.31250029, -0.99119942, -0.62770146],
[-0.43233827, -0.55683313, 0.10072474, -0.55093416, -0.33517466],
[1.2574772, 0.8430771, -0.49561225, 0.82102893, 1.1616022],
[-0.48191348, -0.65985959, 0.18026216, -0.64912206, -0.43747936],
[0.96451145, 0.70037123, -0.24978434, 0.68855868, 0.77458662],
[0.10390185, 0.09900718, -0.04141969, 0.09896877, 0.0963447],
[0.17782342, 0.1633702, -0.12549832, 0.16317469, 0.199472],
[0.90103943, 0.64142578, -0.9021328, 0.62924252, 1.1356975],
[-0.31685644, -0.37539119, 0.06613533, -0.37359927, -0.23680791],
[-0.36576202, -0.45473746, 0.13299164, -0.45116409, -0.32891512],
[0.3946375, 0.33626288, -0.13179614, 0.33483111, 0.34496614],
[-0.05564079, -0.05737795, 0.05191923, -0.05736891, -0.06850384],
[0.07746079, 0.07480482, -0.0207498, 0.07478964, 0.06291235],
[-0.62763543, -0.9961985, 0.21906113, -0.96162467, -0.55676262],
[-0.67538326, -1.2113217, 0.40482453, -1.1450707, -0.71746238],
[-0.19995235, -0.22180501, 0.05561306, -0.22140782, -0.16444472],
[0.03704984, 0.03639979, -0.01443181, 0.03639789, 0.03409112],
[-0.51650857, -0.76312406, 0.39772971, -0.74408523, -0.59647333],
[0.98171505, 0.70792313, -0.2820108, 0.6954651, 0.81612286],
[-0.2277101, -0.25742923, 0.07554275, -0.25678472, -0.19860757],
[-0.6677642, -1.1054215, 0.21255838, -1.0599649, -0.57444902],
[0.82422176, 0.61613989, -0.27973166, 0.60753116, 0.724358],
[0.25536475, 0.22807412, -0.12009092, 0.22758927, 0.25020003],
[0.13012242, 0.12202695, -0.10400311, 0.12194308, 0.15214588],
[0.09729097, 0.0929002, -0.04630879, 0.09286719, 0.09570754],
[0.05400697, 0.05259462, -0.0289588, 0.05258847, 0.05528026],
[0.02411581, 0.02383889, -0.00908, 0.02383836, 0.02194016],
[-0.49513117, -0.69291152, 0.22291771, -0.68003738, -0.4781216],
[-0.46304413, -0.61997017, 0.15285491, -0.61125577, -0.40319771],
[-0.18833279, -0.20618262, 0.02966943, -0.20590112, -0.12815347],
[-0.5643813, -0.85531534, 0.28315697, -0.83116451, -0.56502478],
[-0.08363191, -0.08715286, 0.02552147, -0.08712817, -0.07094034],
[-0.47398851, -0.65328525, 0.23517562, -0.64221102, -0.47277297],
[-0.26479649, -0.30521694, 0.07162969, -0.30419273, -0.21576575],
[-0.19257033, -0.21268103, 0.05290569, -0.21233169, -0.15772616],
[-0.42206694, -0.53104639, 0.06193518, -0.52640571, -0.28048524],
[0.27418477, 0.24533224, -0.05768892, 0.24482746, 0.20546428],
[-0.32017836, -0.38448403, 0.10816775, -0.38234583, -0.28095531],
[-0.11235979, -0.11823478, 0.01483804, -0.11818361, -0.07209018],
[0.0987543, 0.09404778, -0.06959045, 0.09401042, 0.11072114],
[-0.01475371, -0.0148639, 0.00745724, -0.01486376, -0.01480711],
[-0.31418685, -0.38182471, 0.20098822, -0.37941624, -0.34108205],
[0.11799586, 0.11146733, -0.07163686, 0.11140716, 0.12588289],
[-0.30637716, -0.3637908, 0.09558214, -0.36200816, -0.26180213],
[-0.10448745, -0.11077222, 0.0847169, -0.11070926, -0.12275602],
[1.2126604, 0.82725729, -0.37262864, 0.8074287, 1.0310068],
[-0.39751424, -0.50920053, 0.1695837, -0.50403422, -0.37702762],
[0.41730243, 0.35889083, -0.04510874, 0.35753432, 0.25045566],
[-0.73638278, -1.3570324, 0.25051513, -1.2760582, -0.6476749],
[0.55540527, 0.45719388, -0.06897275, 0.45432127, 0.3491209],
[-0.30721199, -0.36229287, 0.0687354, -0.36065586, -0.23497893],
[0.10505872, 0.10057482, -0.01463721, 0.10054293, 0.06862002],
[-0.45382873, -0.60844735, 0.18506012, -0.5998169, -0.42400951],
[0.39661504, 0.33831796, -0.11781938, 0.336897, 0.33342259],
[-0.69147439, -1.1808634, 0.21853097, -1.1263227, -0.59342395],
[-0.24741436, -0.28045005, 0.04610236, -0.27971718, -0.17804686],
[-0.36931264, -0.45432927, 0.08596562, -0.45109528, -0.28622949],
[1.3455919, 0.89213672, -0.41397432, 0.86750981, 1.1444848],
[-0.47951866, -0.66313969, 0.22918427, -0.65166375, -0.47236235],
[0.71520118, 0.54505314, -0.38833921, 0.53840534, 0.73513296],
[-0.25160521, -0.28897301, 0.0883052, -0.28805159, -0.22360689],
[-0.21586978, -0.24025429, 0.03882649, -0.23979626, -0.15352553],
[1.9366852, 1.1229873, -1.1507855, 1.0692654, 2.0513864],
[-0.54191503, -0.81867924, 0.37498983, -0.79590578, -0.60390778],
[-0.60797965, -0.93124681, 0.18049629, -0.90361689, -0.51100536],
[0.35254522, 0.30358918, -0.15896092, 0.30246118, 0.34060421],
[-0.24892482, -0.28657929, 0.10995939, -0.28563373, -0.23885421],
[-0.73517526, -1.2292916, 0.10907361, -1.176769, -0.49035486],
[-0.09636889, -0.10089282, 0.0205596, -0.10085744, -0.07255035],
[-0.38028061, -0.49216014, 0.32033143, -0.4867466, -0.45249381],
[-0.18871952, -0.20901105, 0.07789747, -0.20864818, -0.1770363],
[-0.06614495, -0.06841276, 0.02905101, -0.0683998, -0.06334732],
[-0.62411409, -0.97774934, 0.19561035, -0.94566456, -0.53413365],
[0.27120071, 0.24281427, -0.05949607, 0.24232028, 0.20607879],
[0.85585921, 0.61733359, -0.8366515, 0.60648742, 1.0701872],
[-0.16357957, -0.17802555, 0.05246843, -0.17781323, -0.1410789],
[-0.17076048, -0.18878456, 0.15029066, -0.18846812, -0.20617955],
[0.52263905, 0.42910139, -0.12966468, 0.42633288, 0.41376314],
[0.08575312, 0.08269529, -0.01334224, 0.08267713, 0.05811026],
[-0.14597352, -0.15759015, 0.05691445, -0.15743625, -0.13435904],
[-0.12458284, -0.13295752, 0.05161702, -0.13286377, -0.11701632],
[0.11494773, 0.10876673, -0.06680556, 0.10871137, 0.1208596],
[-0.04256321, -0.04346356, 0.01520077, -0.04346039, -0.03804709],
[-0.45536737, -0.58326447, 0.0570685, -0.57735027, -0.28711117],
[0.47626078, 0.39404241, -0.17708947, 0.39169372, 0.43149006],
[-0.24311822, -0.27871269, 0.10466917, -0.27784737, -0.23129235],
[1.3476211, 0.87277805, -0.85701703, 0.8459194, 1.4601082],
[-0.37467502, -0.46905263, 0.13720983, -0.4651302, -0.33773409],
[-0.07708257, -0.08018609, 0.03357444, -0.08016527, -0.07361794],
[-0.01385604, -0.01394893, 0.00470857, -0.01394883, -0.01218239],
[-0.72719396, -1.3517217, 0.29532086, -1.2688687, -0.67848703],
[0.44571038, 0.37514843, -0.10875349, 0.37329763, 0.3509077],
[-0.57534299, -0.86862449, 0.23022732, -0.84453497, -0.53417083],
[-0.0754074, -0.07835789, 0.03140045, -0.07833865, -0.07094655],
[0.75644486, 0.57398438, -0.29853542, 0.5667599, 0.69907988],
[-0.6168851, -0.94901454, 0.17024164, -0.92029119, -0.50602051],
[-0.46962782, -0.64565932, 0.24080845, -0.63488224, -0.47359064],
[0.72610874, 0.56301499, -0.16076249, 0.55698784, 0.55344273],
[-0.10814219, -0.11418864, 0.03518046, -0.11413233, -0.09370741],
[0.46426286, 0.38453431, -0.20407356, 0.38226845, 0.44474889],
[-0.31314903, -0.38903031, 0.44926615, -0.38599444, -0.44498491],
[-0.16918239, -0.18372589, 0.03236222, -0.1835178, -0.1228173],
[0.01922199, 0.0190669, -0.00221987, 0.01906669, 0.01179374],
[0.69393246, 0.54025406, -0.19213669, 0.5346523, 0.56984696],
[-0.47386179, -0.65599758, 0.2572133, -0.64457328, -0.48701491],
[0.1456625, 0.13616929, -0.06689435, 0.13606627, 0.14159187],
[-0.70347527, -1.3807153, 0.55747473, -1.2813738, -0.82019595],
[0.00383646, 0.00382933, -0.00148007, 0.00382933, 0.00351878],
[-0.1768471, -0.19414626, 0.06286135, -0.19386472, -0.15783495],
[-0.13496417, -0.14390135, 0.02406649, -0.1438028, -0.09571057],
[0.37122856, 0.32016044, -0.09463934, 0.31899469, 0.29657063],
[0.60928212, 0.48199407, -0.25714196, 0.47761034, 0.57581097],
[-0.41880282, -0.56645291, 0.42755189, -0.55793354, -0.53130757],
[-0.42053034, -0.55369854, 0.22244575, -0.54677554, -0.42849879],
[-0.15715324, -0.17157183, 0.09775847, -0.17135169, -0.16902218],
[-0.09228049, -0.09672915, 0.03634801, -0.09669343, -0.08522692],
[-0.08995605, -0.09397528, 0.02353244, -0.09394536, -0.07248574],
[-0.44885439, -0.58736729, 0.11330178, -0.58034539, -0.35740385],
[-0.30551624, -0.37255546, 0.28556142, -0.37012293, -0.37635647],
[-0.03486108, -0.03547902, 0.01599897, -0.03547719, -0.03387931],
[-0.2946841, -0.35200734, 0.16882458, -0.35016057, -0.30836118],
[0.13931681, 0.13093625, -0.043177, 0.1308523, 0.11878543],
[-0.19643866, -0.21786169, 0.06304702, -0.21747313, -0.16945309],
[0.97520508, 0.69987126, -0.35556831, 0.68719635, 0.87777185],
[-0.17457684, -0.19174755, 0.07274891, -0.19146657, -0.16428954],
[-0.20695989, -0.23150806, 0.07894116, -0.23102399, -0.18910454],
[0.09175883, 0.0878384, -0.0436685, 0.08781049, 0.09026055],
[-0.6726609, -1.1472366, 0.26916505, -1.0944988, -0.62452094],
[-0.62009308, -0.98610435, 0.24679913, -0.95160491, -0.57468403],
[0.9143014, 0.67645561, -0.18494444, 0.66632846, 0.67621274],
[-0.40823923, -0.51398966, 0.0825203, -0.50947217, -0.30186082],
[0.49533274, 0.39542199, -0.86503165, 0.39209712, 0.75153986],
[-0.41646708, -0.57351884, 0.65089757, -0.56384747, -0.60893088],
[-0.24832842, -0.28228688, 0.05344114, -0.28151545, -0.18749348],
[-0.4291716, -0.56977636, 0.23074298, -0.56222093, -0.43968348],
[-0.52430276, -0.75504356, 0.23433078, -0.73856158, -0.50505795],
[-0.35502192, -0.43176704, 0.07773553, -0.42902312, -0.26960004],
[0.73259343, 0.57037824, -0.12427138, 0.56446619, 0.51094683],
[-0.17483804, -0.19012333, 0.02844008, -0.18990093, -0.12024792],
[-0.47873773, -0.65338446, 0.17767818, -0.6429686, -0.4334641],
[-0.42915684, -0.55172088, 0.10159999, -0.54596001, -0.33449162],
[0.07254078, 0.07037383, -0.00953335, 0.07036304, 0.04646722],
[0.13886356, 0.1304756, -0.04616793, 0.13039122, 0.12120364],
[1.9186054, 1.103383, -1.5492848, 1.049048, 2.2510105],
[0.81907795, 0.58317424, -1.9232965, 0.57210785, 1.3716466],
[-0.44373902, -0.58942003, 0.17882664, -0.58157592, -0.41295794],
[0.132741, 0.12487617, -0.05473605, 0.12479856, 0.12448142],
[0.16258569, 0.15136781, -0.04905618, 0.15123894, 0.13739243],
[0.33106334, 0.28830953, -0.11710154, 0.28739283, 0.29498839],
[0.12174071, 0.11518179, -0.04300579, 0.11512293, 0.10842836],
[0.18150841, 0.16802615, -0.04268629, 0.16785944, 0.1411575],
[-0.55181879, -0.78094168, 0.11503991, -0.76546234, -0.41224668],
[0.31092362, 0.27182326, -0.14438697, 0.2710067, 0.30335779],
[0.4898463, 0.40123648, -0.24767545, 0.39858616, 0.49167434],
[0.04020691, 0.03953763, -0.00461499, 0.03953577, 0.02461883],
[0.69779258, 0.53039763, -0.52893557, 0.52380457, 0.80160759],
[-0.41938765, -0.528942, 0.07014561, -0.52422331, -0.2911302],
[1.5500093, 0.99414196, -0.37744285, 0.96219521, 1.2195041],
[-0.23120537, -0.26211582, 0.08002466, -0.26142923, -0.20452665],
[-0.5337862, -0.75033499, 0.13270693, -0.73602772, -0.42288223],
[-0.34890203, -0.42568049, 0.10060014, -0.42288671, -0.29041019],
[0.09510716, 0.09097446, -0.03856102, 0.09094454, 0.0886887],
[-0.42043796, -0.53892978, 0.11036636, -0.5334321, -0.33917476],
[-0.12595244, -0.13532881, 0.10828799, -0.13521259, -0.15089487],
[-0.31032226, -0.37071943, 0.11203737, -0.36877261, -0.27840237],
[0.16780569, 0.15577563, -0.05594822, 0.15563205, 0.14660312],
[-0.31007558, -0.3713279, 0.12483464, -0.36932432, -0.28846962],
[0.78557461, 0.5899677, -0.33984865, 0.58198177, 0.74856607],
[1.0796956, 0.75859235, -0.34035392, 0.74306646, 0.92580842],
[0.27211903, 0.24110835, -0.14370344, 0.24052108, 0.27712242],
[-0.52540352, -0.73146819, 0.1256489, -0.71828911, -0.41088935],
[-0.60747742, -0.97426243, 0.32098258, -0.9389528, -0.61876239],
[-0.43523416, -0.56928385, 0.14331067, -0.56250104, -0.3786618],
[-0.66214695, -1.0529658, 0.14597953, -1.0161294, -0.50397645],
[-0.37668723, -0.47345942, 0.14901598, -0.46935893, -0.34839737],
[0.27174319, 0.24340092, -0.05638588, 0.24290944, 0.20269322],
[0.0586777, 0.05722555, -0.00890276, 0.05721956, 0.03943062],
[0.27677671, 0.24694797, -0.06897282, 0.24641357, 0.21944331],
[0.0637317, 0.06189966, -0.01870783, 0.06189089, 0.05336478],
[1.0814839, 0.75717338, -0.38058322, 0.74136982, 0.96199595],
[-0.65943831, -1.0712433, 0.19220718, -1.0303401, -0.55087024],
[-0.18011189, -0.19751596, 0.0493431, -0.19723615, -0.14738289],
[0.46231409, 0.37982102, -0.33361411, 0.3773866, 0.5224558],
[-0.56942431, -0.85763161, 0.24175842, -0.83411749, -0.53921405],
[-0.35493969, -0.44571691, 0.2330656, -0.44188734, -0.38869215],
[-0.37534646, -0.48492178, 0.33926643, -0.47965973, -0.45724101],
[-0.41212714, -0.53947528, 0.22608188, -0.53301102, -0.42506244],
[-0.89109482, -1.8088793, 0.10306442, -1.6661471, -0.54701034],
[0.84612011, 0.63633926, -0.17695167, 0.62780994, 0.63277537],
[-0.12382645, -0.13164325, 0.03240452, -0.13156107, -0.0997901],
[1.1076252, 0.76777951, -0.44561598, 0.75085943, 1.0302093],
[0.3311406, 0.2893973, -0.08957051, 0.28852346, 0.26981948],
[0.02920011, 0.02877719, -0.01654502, 0.02877617, 0.03044309],
[0.07314809, 0.0706297, -0.03411092, 0.07061526, 0.0714677],
[-0.35913427, -0.43718768, 0.07348821, -0.43438211, -0.26663703],
[-0.18609667, -0.20641976, 0.09821248, -0.20605065, -0.18947764],
[0.50919209, 0.4142026, -0.26402946, 0.41127427, 0.51540492],
[-0.26690924, -0.30841311, 0.07685443, -0.30734196, -0.22206257],
[0.02042216, 0.02021503, -0.01102855, 0.02021468, 0.02095321],
[0.7002997, 0.53833717, -0.31546173, 0.53217977, 0.67636561],
[1.2941374, 0.88132159, -0.23467786, 0.86000984, 0.92289924],
[0.00143183, 0.00143077, -0.00093378, 0.00143077, 0.00156442],
[0.80324755, 0.60017028, -0.3506458, 0.59175704, 0.76771346],
[-0.34282415, -0.4202402, 0.13739525, -0.41735056, -0.31845507],
[0.17602685, 0.16229011, -0.08993897, 0.16211168, 0.17730129],
[-0.18038496, -0.19597926, 0.02026541, -0.19575488, -0.10966347],
[-0.30741981, -0.36447461, 0.08698474, -0.36271998, -0.25428003],
[-0.07797062, -0.08103614, 0.02503701, -0.08101606, -0.06727053],
[0.80370036, 0.60024571, -0.3553498, 0.59180636, 0.77142102],
[0.49751879, 0.41508697, -0.07680567, 0.41282555, 0.3362643],
[-0.12394241, -0.13270282, 0.08092548, -0.13259972, -0.13547268],
[0.0907716, 0.087107, -0.0276548, 0.08708235, 0.07695441],
[-0.58551063, -0.89305963, 0.23048889, -0.8670732, -0.54065039],
[-0.4436628, -0.58751169, 0.16649328, -0.57985969, -0.40319108],
[-0.01064029, -0.01069679, 0.00486865, -0.01069674, -0.01033035],
[-0.76349743, -1.3671158, 0.14976747, -1.2927466, -0.55892588],
[-0.41942955, -0.54623956, 0.17243998, -0.53993799, -0.3929422],
[0.07188648, 0.06969326, -0.0125059, 0.06968211, 0.05056071],
[-0.45634065, -0.62180242, 0.25193005, -0.6119925, -0.47166041],
[0.66568185, 0.5216652, -0.19801412, 0.51653357, 0.55986914],
[-0.04302486, -0.04399902, 0.02521296, -0.04399534, -0.04536256],
[-0.59939806, -0.92172055, 0.2130805, -0.89387717, -0.5349766],
[-0.46198986, -0.61219946, 0.12241772, -0.60418739, -0.37386349],
[-0.44136021, -0.58987474, 0.21532139, -0.58168434, -0.43775843],
[0.15531067, 0.14510439, -0.04349201, 0.14499271, 0.12802084],
[-0.1605713, -0.17470648, 0.05934997, -0.17449939, -0.14518735],
[0.45124764, 0.38064244, -0.08599328, 0.37881183, 0.327171],
[-0.28769159, -0.33737083, 0.08922817, -0.33594827, -0.2453553],
[-0.30543375, -0.35768158, 0.05171439, -0.35619939, -0.21289158],
[-0.00282118, -0.00282495, 0.0008457, -0.00282495, -0.00237886],
[0.04404652, 0.04315387, -0.01374418, 0.04315085, 0.03764067],
[-0.66277922, -1.0501904, 0.13883223, -1.0140043, -0.49592883],
[0.94359123, 0.67929441, -0.41216658, 0.66721909, 0.90203527],
[-0.60937317, -0.98748869, 0.35184524, -0.95015357, -0.63931679],
[-0.35004111, -0.42969838, 0.12236166, -0.42670244, -0.31067369],
[-0.17253268, -0.18766663, 0.03247046, -0.18744569, -0.12457199],
[0.56866536, 0.4582866, -0.17765109, 0.45474887, 0.48615021],
[-0.64104987, -0.98195742, 0.11824463, -0.95281519, -0.45976054],
[0.13859401, 0.13062588, -0.0288178, 0.13054959, 0.10344907],
[0.13036798, 0.12305608, -0.0368677, 0.12298778, 0.10781338],
[-0.22676671, -0.25854605, 0.13248042, -0.25780633, -0.2388435],
[0.371507, 0.32034478, -0.09523099, 0.31917562, 0.29733596],
[1.2071602, 0.81655811, -0.51291364, 0.7961247, 1.1434083],
[0.89070081, 0.66413745, -0.16685752, 0.65469612, 0.64211551],
[-0.60394234, -0.96084765, 0.30641235, -0.92716896, -0.60688873],
[-0.26604872, -0.30950626, 0.11235654, -0.30832857, -0.25148779],
[0.65899032, 0.52076457, -0.14448362, 0.51598551, 0.50065155],
[-0.17951486, -0.19802609, 0.08409235, -0.19770856, -0.17565578],
[0.68945354, 0.53699955, -0.19838414, 0.53145064, 0.57347653],
[0.01497978, 0.01488627, -0.00158129, 0.01488618, 0.00891971],
[-0.65161336, -1.0159802, 0.13055012, -0.98332859, -0.48039198],
[0.3362121, 0.29120925, -0.15401533, 0.29020943, 0.32654287],
[-0.37880467, -0.48944216, 0.31617826, -0.48412663, -0.44936325],
[0.63868806, 0.51567573, -0.06375307, 0.51176294, 0.37328131],
[0.06884034, 0.06676215, -0.01600538, 0.06675169, 0.05333276],
[-0.17402133, -0.19051874, 0.05593966, -0.1902585, -0.15019366],
[-0.1912367, -0.21227567, 0.08358483, -0.21189074, -0.18285212],
[-0.43253467, -0.55538081, 0.09223564, -0.54963788, -0.32557936],
[0.1682158, 0.15649153, -0.04134298, 0.15635548, 0.13275629],
[-0.6224555, -1.0180922, 0.32847661, -0.97814722, -0.63374862],
[-0.53997585, -0.76271418, 0.13218644, -0.7477607, -0.42558717],
[-0.63427137, -1.0088441, 0.2064307, -0.97352075, -0.54969042],
[0.13276369, 0.12501016, -0.04742027, 0.12493475, 0.11868182],
[-0.42174769, -0.54921003, 0.16462506, -0.5428784, -0.38833851],
[-0.24126988, -0.27460897, 0.07270986, -0.27384373, -0.20380265],
[0.17335348, 0.16131178, -0.03141992, 0.16117251, 0.12360425],
[0.4376146, 0.36594902, -0.18691447, 0.36400544, 0.41522693],
[-0.59768424, -0.90289008, 0.17116733, -0.87777946, -0.49636158],
[-0.40429612, -0.53254623, 0.30793577, -0.52586762, -0.46518935],
[0.43090041, 0.36636087, -0.07523678, 0.36475822, 0.30343896],
[0.62725403, 0.48691579, -0.4924925, 0.48174928, 0.72907496],
[-0.40588037, -0.52052606, 0.14833886, -0.51519516, -0.36561753],
[-0.03740417, -0.03810963, 0.01568498, -0.03810741, -0.03527373],
[0.27306715, 0.24349892, -0.08080338, 0.2429667, 0.22926239],
[-0.49496985, -0.67615602, 0.13869254, -0.6653144, -0.40808146],
[-0.79113899, -1.4054818, 0.10558115, -1.3310049, -0.50937855],
[-0.43097213, -0.55555191, 0.10576207, -0.54962668, -0.33995344],
[-0.4032534, -0.5112142, 0.11204773, -0.50645073, -0.33153525],
[-0.33314549, -0.40137054, 0.08986394, -0.39905799, -0.27120297],
[0.2407433, 0.2169849, -0.08291416, 0.21659496, 0.21261262],
[0.24101098, 0.21640297, -0.11760103, 0.21598518, 0.23905891],
[0.20000383, 0.1830665, -0.07461323, 0.18282781, 0.18140148],
[-0.22538443, -0.25428686, 0.07188698, -0.25367093, -0.1940183],
[-0.32149179, -0.39624663, 0.27840685, -0.39337475, -0.38608527],
[0.87040729, 0.62890561, -0.68543035, 0.6179705, 1.0126968],
[-0.09850354, -0.10349707, 0.03284711, -0.1034549, -0.08606177],
[-0.13904173, -0.15016113, 0.08736364, -0.1500131, -0.15004344],
[1.8567607, 1.0760962, -1.6345595, 1.0245247, 2.2420615],
[0.25420233, 0.22854457, -0.06799885, 0.22811392, 0.20636223],
[-0.42601637, -0.55519167, 0.15490018, -0.54875438, -0.38309942],
[-0.42006046, -0.54070736, 0.12484348, -0.53500515, -0.35318845],
[-0.34038517, -0.41888298, 0.1670363, -0.4158917, -0.33826784],
[0.10732772, 0.10202788, -0.0504268, 0.10198429, 0.10512477],
[2.4165453, 1.2773864, -2.1690413, 1.1947914, 2.9369456],
[0.58770343, 0.45938875, -0.60368314, 0.45477576, 0.74711106],
[0.22404849, 0.20314341, -0.08197069, 0.20281894, 0.20189438],
[0.06774159, 0.06578282, -0.01213391, 0.06577339, 0.04811131],
[-0.05276523, -0.05416643, 0.01965723, -0.05416023, -0.04783539],
[-0.05982267, -0.06179001, 0.04541919, -0.06177923, -0.06875965],
[-0.09655933, -0.10173287, 0.06111632, -0.1016867, -0.10445403],
[0.29990152, 0.26387987, -0.11665314, 0.26316113, 0.27582137],
[-0.28520689, -0.33843405, 0.16472851, -0.33678811, -0.29925374],
[-0.22646097, -0.25959206, 0.18367603, -0.25878722, -0.26608664],
[-0.43394393, -0.55488155, 0.0799881, -0.54933148, -0.31115316],
[-0.13630458, -0.14645735, 0.05782735, -0.14633144, -0.1290411],
[-0.61471548, -0.98815853, 0.29978608, -0.95200201, -0.60962568],
[0.27042842, 0.2433076, -0.03873781, 0.24285529, 0.17827477],
[-0.3037132, -0.3548468, 0.04833258, -0.35341891, -0.20736356],
[1.3275166, 0.89183862, -0.30062782, 0.86874653, 1.0194823],
[-0.12083708, -0.12842762, 0.03783723, -0.12834821, -0.10338319],
[0.17329023, 0.16132223, -0.02974094, 0.16118461, 0.12133264],
[-0.55179382, -0.87702595, 0.62383453, -0.8464111, -0.72424308],
[-0.66512486, -1.1011503, 0.21960267, -1.0558538, -0.5791948],
[-0.30685317, -0.36060847, 0.05895314, -0.35904713, -0.22308278],
[-0.33302732, -0.39716754, 0.05925522, -0.39512139, -0.23599644],
[0.23219186, 0.20987025, -0.08413126, 0.20951333, 0.20855813],
[-0.35602639, -0.43601762, 0.09821201, -0.43304672, -0.29200234],
[-0.14141661, -0.15399593, 0.17806271, -0.1538097, -0.19239832],
[-0.09296937, -0.09735512, 0.02855205, -0.09732065, -0.07902825],
[-0.4456744, -0.58277989, 0.11773478, -0.57585032, -0.36029374],
[3.1329873, 1.621228, -0.46042711, 1.5096314, 2.0830645],
[-0.2042655, -0.22627432, 0.04202093, -0.22587992, -0.15192477],
[-0.06201938, -0.06392066, 0.01862458, -0.06391094, -0.05232675],
[0.34632572, 0.29817015, -0.18601059, 0.29705915, 0.35468737],
[0.21401773, 0.19464961, -0.08608469, 0.194358, 0.19904524],
[0.45136307, 0.37960871, -0.1031863, 0.3777189, 0.34772402],
[0.37285458, 0.31822787, -0.18611474, 0.31690065, 0.3726461],
[-0.49299048, -0.66634587, 0.11428475, -0.65636839, -0.381562],
[-0.41513381, -0.520888, 0.06491106, -0.51644384, -0.2817788],
[-0.37195651, -0.46926504, 0.18495104, -0.46506769, -0.37127044],
[-0.18813731, -0.20902544, 0.10218763, -0.20863978, -0.1934013],
[-0.42736786, -0.58745043, 0.51011007, -0.57765619, -0.57117064],
[-0.49915342, -0.6604927, 0.06368884, -0.65193616, -0.31660698],
[1.3670951, 0.91160504, -0.30307787, 0.88712478, 1.0424628],
[-0.49474038, -0.7113154, 0.36275486, -0.6959238, -0.56208153],
[0.7613852, 0.58098624, -0.22289997, 0.57396562, 0.63696605],
[-0.17319968, -0.19279796, 0.22909499, -0.1924292, -0.23954103],
[0.45265479, 0.378838, -0.13576636, 0.37684438, 0.38175565],
[0.93930293, 0.68862464, -0.21360169, 0.67768683, 0.72235166],
[0.22161701, 0.20016359, -0.13135934, 0.19981818, 0.23454835],
[0.15032335, 0.14023016, -0.06996913, 0.14011732, 0.14677873],
[0.3406974, 0.29533657, -0.13054502, 0.29433411, 0.31177597],
[-0.16307222, -0.17810303, 0.07541958, -0.17787248, -0.1588881],
[-0.54862673, -0.79377698, 0.17620597, -0.77600914, -0.47337085],
[-0.32634377, -0.3857118, 0.04692816, -0.38392179, -0.21541274],
[-0.15373157, -0.16730443, 0.08605123, -0.16710499, -0.15962629],
[0.9011882, 0.66456837, -0.23643424, 0.65440352, 0.72687063],
[-0.34509771, -0.42555341, 0.16069105, -0.42245448, -0.33700417],
[-0.16367701, -0.17758625, 0.03848037, -0.17738952, -0.12727649],
[-0.56470257, -0.89463205, 0.4988797, -0.86382843, -0.68268724],
[0.20397399, 0.18495038, -0.1729023, 0.18465524, 0.24321673],
[-0.3193625, -0.38720281, 0.16127484, -0.38481872, -0.32042138],
[-0.56406387, -0.92260115, 0.72246827, -0.88640048, -0.77179468],
[0.58923877, 0.46784371, -0.28158811, 0.46371946, 0.58041993],
[-0.59126872, -0.86740855, 0.12090897, -0.84653375, -0.43888707],
[-0.21570205, -0.24209371, 0.07172638, -0.24155697, -0.18828071],
[-0.52204454, -0.74049644, 0.18677028, -0.72562754, -0.46692912],
[-0.28620727, -0.34438183, 0.28781731, -0.3424245, -0.36127347],
[-0.24656188, -0.2814314, 0.07253135, -0.28061238, -0.20660264],
[-0.67681799, -1.1496091, 0.24645424, -1.0975441, -0.60893372],
[-0.26112484, -0.3008458, 0.07808969, -0.2998428, -0.22000879],
[-0.27114812, -0.31363221, 0.07156776, -0.31252748, -0.21913926],
[0.54582258, 0.45257873, -0.05252811, 0.44994244, 0.31514343],
[0.48766246, 0.4031505, -0.15344342, 0.40072711, 0.41789994],
[-0.24193248, -0.280044, 0.18522885, -0.27904766, -0.27885322],
[-0.21380309, -0.24358292, 0.20279659, -0.24289395, -0.26467091],
[0.59744826, 0.49250182, -0.03553001, 0.48945219, 0.29381592],
[-0.05153952, -0.05300573, 0.04300642, -0.05299877, -0.06113379],
[-0.43004264, -0.59907074, 0.6310609, -0.5882379, -0.61570796],
[-0.26585761, -0.31380878, 0.22782518, -0.31237523, -0.31815833],
[0.28391941, 0.25156111, -0.10242141, 0.25094826, 0.25464607],
[-0.00320243, -0.00320713, 0.00070621, -0.00320713, -0.00243766],
[-0.63603531, -1.0387713, 0.27203655, -0.99825208, -0.60377237],
[0.25766098, 0.23140991, -0.06735573, 0.23096518, 0.20757129],
[-0.45820457, -0.59541584, 0.08024045, -0.58866089, -0.3229838],
[-0.18203541, -0.19956372, 0.04409411, -0.19928289, -0.14296864],
[-0.02065128, -0.02085557, 0.00614934, -0.02085524, -0.0173747],
[0.01775183, 0.01759911, -0.00752808, 0.0175989, 0.01680352],
[-0.30643849, -0.36765483, 0.1481102, -0.36563012, -0.30299389],
[-0.081806, -0.08524442, 0.03003035, -0.08522034, -0.07379953],
[-0.35109893, -0.44246114, 0.28372612, -0.43854089, -0.41203057],
[0.29228106, 0.25830425, -0.10052206, 0.25764797, 0.25800666],
[-0.12973689, -0.13987802, 0.12660355, -0.13974606, -0.16213158],
[-0.35944159, -0.44852369, 0.17236722, -0.44487993, -0.35447078],
[-0.19235849, -0.21056665, 0.02480166, -0.21027986, -0.12243657],
[0.3134934, 0.27464565, -0.11503931, 0.27384613, 0.28277718],
[0.24534764, 0.22013787, -0.1090143, 0.21970717, 0.2358807],
[0.06643198, 0.06432928, -0.03325946, 0.06431819, 0.06646095],
[0.67429179, 0.50146604, -1.718607, 0.4942113, 1.1604705],
[-0.56591225, -0.83989574, 0.20500954, -0.81846328, -0.50827735],
[-0.56831985, -0.85025465, 0.22302449, -0.82768488, -0.52423105],
[-0.53897792, -0.75946483, 0.12838518, -0.74478013, -0.42094848],
[-0.37473684, -0.46835206, 0.12996716, -0.46449282, -0.33172037],
[-0.30393718, -0.36528954, 0.1697736, -0.36323935, -0.31537162],
[-0.72871779, -1.1633648, 0.07100675, -1.121995, -0.42248969],
[0.73993752, 0.56423112, -0.28858573, 0.55737846, 0.68113257],
[-0.63001589, -0.92832045, 0.07789064, -0.90547362, -0.39543286],
[-0.49481042, -0.70976714, 0.34837384, -0.69460179, -0.55460579],
[-0.12128416, -0.12906781, 0.04379504, -0.12898462, -0.10881473],
[-0.23925667, -0.26926298, 0.03771911, -0.26863752, -0.16284453],
[-0.28141339, -0.33034739, 0.11180667, -0.3289365, -0.26065281],
[-0.58607202, -0.8867257, 0.20466395, -0.86188206, -0.51998535],
[0.61486753, 0.49307432, -0.12233617, 0.48909245, 0.45225426],
[0.03891069, 0.03825868, -0.00637663, 0.03825686, 0.02682788],
[-0.07801938, -0.08098829, 0.01887476, -0.08096947, -0.06124991],
[-0.26574199, -0.30695533, 0.07809122, -0.30589447, -0.22259609],
[0.55197529, 0.44772379, -0.16106236, 0.44447072, 0.46126918],
[0.08014856, 0.0772757, -0.02407156, 0.07725855, 0.0676252],
[0.53949228, 0.43100368, -0.42056321, 0.42740402, 0.62557192],
[0.31646791, 0.27733569, -0.10418963, 0.27653203, 0.27532012],
[-0.38349065, -0.49156583, 0.23031385, -0.48655163, -0.40764914],
[-0.11154803, -0.11815096, 0.04400122, -0.11808586, -0.10307172],
[-0.33397972, -0.40069318, 0.07436371, -0.39848681, -0.25504124],
[-0.34494433, -0.41725684, 0.07966411, -0.41474851, -0.26664303],
[-0.04882811, -0.05004658, 0.02132962, -0.05004152, -0.04667858],
[-0.66432154, -1.0115412, 0.08200189, -0.98233962, -0.41674478],
[0.52050265, 0.43235813, -0.06925066, 0.42988738, 0.33478546],
[-0.74032013, -1.3684431, 0.24557522, -1.2860082, -0.64568081],
[1.2339346, 0.82646407, -0.59570105, 0.80474385, 1.219591],
[0.19545939, 0.18091742, -0.02399317, 0.18073731, 0.12238933],
[0.24345009, 0.2190794, -0.08809054, 0.21867369, 0.21857126],
[-0.30556093, -0.3698442, 0.21518371, -0.36760659, -0.34251401],
[0.87359409, 0.6485596, -0.23214682, 0.63906773, 0.70762641],
[-0.24616913, -0.27982425, 0.05720681, -0.2790599, -0.19068431],
[0.56084516, 0.4533764, -0.16931747, 0.44997509, 0.47403009],
[1.4051818, 0.92171756, -0.41174286, 0.89495768, 1.175909],
[-0.37948801, -0.48217879, 0.19474988, -0.47760011, -0.38279633],
[-0.19345345, -0.21595798, 0.11683694, -0.21552271, -0.20602553],
[-0.13327704, -0.14214321, 0.02763418, -0.14204499, -0.09938688],
[-0.19513424, -0.2178728, 0.1104413, -0.21743226, -0.20336498],
[-0.45336283, -0.61008216, 0.20274556, -0.60121035, -0.43680847],
[0.19905702, 0.18149646, -0.1180615, 0.18123871, 0.21071612],
[0.31701275, 0.27459232, -0.24571319, 0.27365014, 0.36689121],
[0.21517695, 0.19551065, -0.09133669, 0.19521163, 0.20374592],
[-0.31500546, -0.37694124, 0.10656824, -0.37492464, -0.27654426],
[-0.23886428, -0.27613613, 0.1915309, -0.27517089, -0.27959136],
[-0.11233747, -0.119213, 0.05476638, -0.11914292, -0.11139468],
[-0.65407609, -1.0550305, 0.18964903, -1.0158838, -0.54543842],
[0.23118901, 0.20950059, -0.06747548, 0.20916214, 0.1932132],
[-0.1629926, -0.1762519, 0.02808787, -0.17607234, -0.11427771],
[0.79802628, 0.60927836, -0.14947944, 0.60194532, 0.57528354],
[0.07555839, 0.07326083, -0.00813483, 0.07324919, 0.04528782],
[-0.29706245, -0.35368369, 0.13760561, -0.35189589, -0.28959244],
[-0.72628919, -1.1778543, 0.08714156, -1.1331839, -0.45132718],
[-0.59367952, -0.92112343, 0.25838665, -0.89215596, -0.56684989],
[-0.20404943, -0.22927129, 0.1208015, -0.2287531, -0.21586937],
[-0.52120876, -0.75620574, 0.27790989, -0.73902735, -0.53249942],
[0.05033043, 0.04909361, -0.02844995, 0.04908854, 0.05243134],
[-0.29237643, -0.35807637, 0.47522164, -0.35563591, -0.43311541],
[0.33116746, 0.28590579, -0.21937196, 0.28487922, 0.36372136],
[-0.41170629, -0.5238152, 0.1055138, -0.51878584, -0.32948685],
[-0.63828799, -0.99745234, 0.15843317, -0.965077, -0.50540145],
[-0.10852217, -0.1145968, 0.0345321, -0.11454016, -0.0933462],
[-0.62646586, -1.0304966, 0.33150961, -0.98915117, -0.63842073],
[0.29006217, 0.2571871, -0.08128721, 0.2565679, 0.23915427],
[-0.20755921, -0.23202555, 0.07356903, -0.23154608, -0.18507013],
[-0.45843701, -0.61452581, 0.17006626, -0.6058187, -0.41502013],
[-0.57597609, -0.85161759, 0.16821868, -0.83029147, -0.481472],
[0.04791798, 0.04670435, -0.05588205, 0.04669922, 0.06354769],
[1.1140451, 0.77362432, -0.39965379, 0.75674035, 0.99733217],
[0.35442451, 0.30496469, -0.16100425, 0.30381952, 0.34327192],
[-0.30706359, -0.3659546, 0.11018847, -0.36408372, -0.2749208],
[0.01808864, 0.0179398, -0.00431744, 0.0179396, 0.01413696],
[-0.60604805, -0.9519488, 0.25558281, -0.92035188, -0.57260955],
[-0.47452351, -0.65396514, 0.23265321, -0.64288539, -0.47143104],
[0.03411148, 0.03356251, -0.01259434, 0.03356103, 0.03083204],
[-0.07142736, -0.07441505, 0.08533555, -0.07439423, -0.09549114],
[-0.13154852, -0.14018265, 0.02747933, -0.14008828, -0.09834132],
[-0.62578576, -0.88953038, 0.04548333, -0.87145497, -0.32903684],
[-0.54757952, -0.84248913, 0.44234536, -0.81697698, -0.64253278],
[0.1637329, 0.15304981, -0.02654703, 0.15293374, 0.11248793],
[-0.4752366, -0.63874586, 0.13538532, -0.62953183, -0.39397964],
[0.01884909, 0.01868321, -0.00573015, 0.01868297, 0.01596831],
[-0.1200169, -0.12775865, 0.04966883, -0.12767549, -0.11268504],
[-0.55066135, -0.76724507, 0.087634, -0.75335539, -0.37597354],
[-0.23388905, -0.26350406, 0.04859864, -0.26288086, -0.17453852],
[0.16733075, 0.15538363, -0.05492886, 0.15524162, 0.14543224],
[-0.24782997, -0.28972217, 0.2529601, -0.28854769, -0.31438602],
[-0.26174758, -0.3045396, 0.12880019, -0.30337895, -0.26035781],
[-0.71588996, -1.2542213, 0.20860676, -1.1908268, -0.59797584],
[1.1727991, 0.80654265, -0.37037706, 0.7880042, 1.0062528],
[-0.33457229, -0.4067131, 0.12284605, -0.40414026, -0.30184945],
[-0.00193528, -0.00193703, 0.00053265, -0.00193703, -0.00158606],
[-0.12463975, -0.13330898, 0.06790085, -0.13320858, -0.12825455],
[-0.22502702, -0.25179013, 0.04124696, -0.25126096, -0.16105112],
[-0.43691789, -0.58198797, 0.21613564, -0.57409059, -0.4353635],
[-0.32437967, -0.38294517, 0.04671202, -0.38119255, -0.21421767],
[0.0610175, 0.05930711, -0.02091476, 0.05929912, 0.05380185],
[-0.52215097, -0.72854958, 0.13774574, -0.71524927, -0.42192324],
[-0.18028465, -0.19698008, 0.03506657, -0.1967228, -0.13160738],
[-0.56020464, -0.81533228, 0.16414995, -0.79650289, -0.46880049],
[0.07701309, 0.07456865, -0.01046854, 0.07455572, 0.04989019],
[-0.4750142, -0.65555976, 0.23728386, -0.64435686, -0.47486533],
[-0.37174818, -0.46250316, 0.11951458, -0.45884551, -0.32086045],
[-0.14379597, -0.15490357, 0.05053412, -0.15476073, -0.12785058],
[-0.33433065, -0.40662203, 0.12589755, -0.40403667, -0.3041818],
[0.43777177, 0.36727412, -0.15315095, 0.36539361, 0.3886408],
[-0.42384435, -0.54687488, 0.12396355, -0.54099947, -0.35446955],
[2.3286877, 1.266299, -1.4264423, 1.1912351, 2.4917372],
[-0.10755589, -0.116195, 0.70570879, -0.11607948, -0.2536927],
[-0.32505471, -0.38866237, 0.08022933, -0.38660108, -0.2568968],
[0.6430193, 0.50937731, -0.15644778, 0.50479796, 0.50576542],
[-0.02916294, -0.02958909, 0.01222266, -0.02958805, -0.02749705],
[-0.14202469, -0.15306323, 0.0586341, -0.1529204, -0.13324042],
[-0.49993967, -0.67956219, 0.11535547, -0.66900637, -0.38633833],
[0.50595567, 0.41368356, -0.21097591, 0.41090154, 0.47624373],
[-0.44157422, -0.57764708, 0.12804833, -0.57075842, -0.36824522],
[0.1977206, 0.18065707, -0.09933826, 0.18041203, 0.19803873],
[-0.56356418, -0.83113681, 0.19258517, -0.81059027, -0.49641687],
[1.0006511, 0.69854209, -0.78505558, 0.68372653, 1.1627828],
[1.2057068, 0.82210315, -0.39678269, 0.80234749, 1.0487904],
[0.24652153, 0.22211218, -0.07101267, 0.22171024, 0.20512811],
[-0.04790089, -0.04915003, 0.03641648, -0.0491446, -0.05508141],
[0.15522884, 0.14495182, -0.04703418, 0.14483852, 0.13135989],
[0.07175052, 0.06957892, -0.01177297, 0.06956797, 0.04949052],
[0.54797755, 0.4387557, -0.33223197, 0.43516301, 0.58434004],
[-0.30887057, -0.3727549, 0.17603496, -0.37056818, -0.32264677],
[-0.45451581, -0.60069191, 0.13085035, -0.59297729, -0.37812404],
[0.77121364, 0.57993385, -0.373342, 0.57215398, 0.76294884],
[-0.31715249, -0.37584449, 0.06644612, -0.37404464, -0.23732598],
[-0.02251018, -0.02274116, 0.00426729, -0.02274076, -0.01629222],
[0.86506483, 0.64873029, -0.166787, 0.63986126, 0.62964607],
[0.27920442, 0.24757064, -0.1098991, 0.24697501, 0.25780395],
[-0.16780749, -0.18289662, 0.04934262, -0.18267082, -0.14059125],
[-0.42845453, -0.55207963, 0.10960382, -0.54621033, -0.3426797],
[0.02776211, 0.02740527, -0.00827402, 0.0274045, 0.02336417],
[0.14395688, 0.13526741, -0.03436767, 0.13518006, 0.11251617],
[0.3819375, 0.32415477, -0.22152545, 0.32270561, 0.40130947],
[-0.20414445, -0.23017274, 0.1519752, -0.22962123, -0.23310914],
[-0.42852011, -0.57253543, 0.27074448, -0.56460271, -0.46328049],
[-0.28122228, -0.32706559, 0.07105758, -0.32582573, -0.22399928],
[0.77587467, 0.58943555, -0.23157891, 0.58208049, 0.65328705],
[-0.21408721, -0.24228755, 0.1325768, -0.24167033, -0.22991095],
[-0.42270633, -0.5491531, 0.15197741, -0.54293455, -0.37870018],
[-0.32252737, -0.39730027, 0.26610493, -0.3944361, -0.38112902],
[0.14527998, 0.13575976, -0.07214054, 0.13565588, 0.14494625],
[-0.30306188, -0.35596113, 0.06347804, -0.35443015, -0.22676292],
[0.78586715, 0.59766323, -0.19976323, 0.59026271, 0.62721236],
[-0.40255526, -0.51028533, 0.11332277, -0.50553393, -0.33240387],
[-0.15995616, -0.17365697, 0.04924995, -0.17346164, -0.13608573],
[0.02366448, 0.02340901, -0.00600155, 0.02340855, 0.01887248],
[-0.55138361, -0.81593512, 0.24152275, -0.79541699, -0.52759246],
[0.26282695, 0.23557989, -0.06906473, 0.23511023, 0.21210067],
[-0.46382619, -0.63459868, 0.24090026, -0.62432279, -0.46974187],
[-0.27765198, -0.32380274, 0.09043777, -0.32253025, -0.24069134],
[-0.25639371, -0.2954045, 0.09055007, -0.2944192, -0.22833781],
[-0.7448588, -1.3224353, 0.17011573, -1.252506, -0.57364181],
[-0.64967696, -1.0348946, 0.17338872, -0.99843094, -0.52700563],
[-0.56631178, -0.92534445, 0.69228997, -0.88918071, -0.76291545],
[1.1090896, 0.74963186, -1.0368868, 0.73079915, 1.3663591],
[1.0910584, 0.74952844, -0.68464578, 0.73220369, 1.1768758],
[-0.42938471, -0.55158796, 0.09903492, -0.54586356, -0.33177004],
[-0.61135726, -0.92674886, 0.14990638, -0.90054882, -0.48211068],
[-0.46009899, -0.6280147, 0.24467719, -0.61799632, -0.4696511],
[0.30668884, 0.2693635, -0.11258485, 0.26860894, 0.27667418],
[0.0195704, 0.01937981, -0.01069719, 0.0193795, 0.02016042],
[-0.10546512, -0.11103137, 0.02661959, -0.11098243, -0.08397494],
[0.81530195, 0.60637084, -0.37528177, 0.59760197, 0.7931247],
[-0.189364, -0.20871692, 0.05116993, -0.2083879, -0.15424575],
[0.77752047, 0.58711835, -0.2940486, 0.57946865, 0.70842019],
[0.43963306, 0.37255515, -0.07923969, 0.37085871, 0.31288481],
[1.1103624, 0.76321561, -0.58380289, 0.74562605, 1.1291247],
[-0.10208709, -0.10731007, 0.0266489, -0.10726556, -0.08220224],
[-0.29090748, -0.33895313, 0.05949824, -0.33763678, -0.21594739],
[-0.45835551, -0.60551112, 0.1210955, -0.59775789, -0.37055639],
[-0.34599044, -0.42026402, 0.09118512, -0.41762664, -0.27948643],
[-0.0164071, -0.01657064, 0.04143263, -0.01657037, -0.02815002],
[0.26081024, 0.23418477, -0.06243106, 0.23373279, 0.20402967],
[-0.60770311, -0.96990944, 0.30261078, -0.93545769, -0.6068748],
[-0.55443466, -0.79473823, 0.13854266, -0.77782203, -0.43998522],
[0.37219421, 0.32009456, -0.11269455, 0.31888459, 0.31488892],
[-0.17241024, -0.190336, 0.12382657, -0.19002598, -0.19453152],
[-0.12420242, -0.13145783, 0.01669931, -0.13138724, -0.08016712],
[-0.26109642, -0.31959136, 1.1518632, -0.31742495, -0.53952417],
[-0.24023407, -0.27136395, 0.04665643, -0.27069363, -0.17528182],
[-0.35782071, -0.43620289, 0.07974605, -0.43336357, -0.27333173],
[-0.26774043, -0.31200026, 0.11632177, -0.31078653, -0.25548945],
[-0.04456046, -0.04549267, 0.00956196, -0.04548942, -0.03361182],
[0.49812955, 0.41154842, -0.13410754, 0.40905847, 0.40524961],
[-0.3289724, -0.39793901, 0.11643419, -0.39554666, -0.29318594],
[-0.0815082, -0.08483096, 0.02386864, -0.08480839, -0.06819513],
[-0.51891927, -0.73602425, 0.19577587, -0.72124959, -0.47242142],
[-0.21719685, -0.24376479, 0.06774354, -0.24322459, -0.18558163],
[0.76571451, 0.58865994, -0.15398813, 0.58193013, 0.56521932],
[0.4376258, 0.37165203, -0.0715995, 0.37000322, 0.3015657],
[-0.25937774, -0.292798, 0.02421402, -0.29208242, -0.14824752],
[0.0352206, 0.0346677, -0.00775126, 0.03466626, 0.02679159],
[-0.16637039, -0.18048157, 0.03326114, -0.18028235, -0.12256687],
[-0.59109533, -0.89118856, 0.18194713, -0.86663372, -0.50284031],
[-0.18898344, -0.20749119, 0.03729979, -0.20718963, -0.1386313],
[0.02497347, 0.02466619, -0.01292686, 0.02466556, 0.0252635],
[-0.38914559, -0.49490244, 0.16359863, -0.49016719, -0.36729185],
[-0.46840968, -0.62844631, 0.14603499, -0.61948898, -0.40017155],
[0.4877303, 0.39793513, -0.31740591, 0.39520248, 0.53251865],
[0.29130866, 0.25850627, -0.07324233, 0.25789241, 0.23165036],
[0.22166568, 0.20114086, -0.08244524, 0.20082472, 0.20084645],
[2.9151703, 1.4835375, -1.2322409, 1.3764449, 2.7564566],
[-0.70920357, -1.2739795, 0.27735089, -1.2039408, -0.6534321],
[-0.32750475, -0.39863738, 0.15298162, -0.39608222, -0.3201608],
[-0.14402642, -0.15481446, 0.03892847, -0.15467992, -0.1173259],
[0.38918005, 0.33111505, -0.16254333, 0.32967869, 0.36652204],
[-0.21949453, -0.24508302, 0.04323825, -0.24458705, -0.16090956],
[0.41702782, 0.35051293, -0.20191108, 0.3487554, 0.41257864],
[-0.43528291, -0.57853342, 0.21153592, -0.57080205, -0.43117389],
[0.36872555, 0.31084288, -0.44941036, 0.30933727, 0.49624161],
[0.27868132, 0.24719459, -0.10826872, 0.24660338, 0.25620223],
[-0.4355134, -0.55827797, 0.08336106, -0.55258096, -0.31622686],
[0.26096066, 0.23215072, -0.14285506, 0.23162207, 0.2689626],
[-0.62632795, -0.99641748, 0.22888971, -0.96149863, -0.56418295],
[-0.33556505, -0.40664182, 0.10646655, -0.4041511, -0.28835813],
[0.30085296, 0.26298602, -0.18970776, 0.26219454, 0.3250433],
[-0.54939152, -0.84099645, 0.40271441, -0.81611374, -0.62411367],
[0.38021192, 0.32812647, -0.07458243, 0.32694241, 0.2783381],
[1.7252034, 1.0676948, -0.46538082, 1.0277966, 1.4044503],
[-0.19943526, -0.22237773, 0.08409164, -0.2219389, -0.18842082],
[-0.23917223, -0.27312948, 0.09523011, -0.27232878, -0.22168787],
[-0.05133649, -0.05276053, 0.03569616, -0.05275394, -0.05730176],
[-0.44571787, -0.625897, 0.55096848, -0.61403325, -0.60268764],
[0.07902772, 0.07631622, -0.01778952, 0.07630072, 0.06056909],
[-0.48695547, -0.66943809, 0.17997538, -0.65826864, -0.44029173],
[-0.5015471, -0.69896654, 0.18581227, -0.68629642, -0.4538468],
[-0.36894206, -0.46120792, 0.14823186, -0.45740031, -0.34300145],
[1.1919129, 0.80877467, -0.51160041, 0.78885357, 1.1327915],
[-0.1832353, -0.2018709, 0.06410404, -0.20155561, -0.16267141],
[0.17691426, 0.16462548, -0.02669745, 0.16448336, 0.11867024],
[-0.35743235, -0.45470307, 0.32569601, -0.45034197, -0.43659295],
[-0.60044702, -0.94377322, 0.27752394, -0.91235823, -0.5849157],
[-0.16844988, -0.185647, 0.12942661, -0.18535495, -0.194386],
[-0.51190636, -0.69445151, 0.09151857, -0.68380167, -0.3633346],
[-0.3966205, -0.49924595, 0.10322674, -0.49486679, -0.31904909],
[-0.16643226, -0.1838773, 0.17485578, -0.18357315, -0.2131711],
[-0.42483516, -0.54021187, 0.08073315, -0.53504938, -0.30773314],
[0.27024082, 0.2429945, -0.04119511, 0.24253769, 0.18188317],
[-0.02732081, -0.02770222, 0.01377701, -0.02770133, -0.02739832],
[-0.64574301, -1.0066211, 0.139991, -0.97429942, -0.48874596],
[-0.15692684, -0.17371656, 0.3280044, -0.17341778, -0.25279474],
[-0.3044152, -0.36912754, 0.23781199, -0.36685174, -0.35323642],
[-0.34371398, -0.42078217, 0.12841466, -0.41792556, -0.3118983],
[1.6382384, 1.0091422, -0.80651337, 0.97071305, 1.629791],
[0.32333333, 0.28196211, -0.12773934, 0.28108315, 0.29891787],
[-0.6486216, -1.1799054, 0.62609594, -1.1123358, -0.80764015],
[-0.05268509, -0.05407984, 0.01937159, -0.05407369, -0.04755435],
[-0.65649156, -1.0278427, 0.12953118, -0.99420396, -0.48152725],
[-0.49644253, -0.67568219, 0.12540798, -0.66509895, -0.39539488],
[-0.42369386, -0.56064885, 0.23639241, -0.5533852, -0.43946331],
[-0.31568126, -0.37433512, 0.07090762, -0.3725293, -0.24177246],
[-0.03604488, -0.0367347, 0.0239648, -0.0367325, -0.03963665],
[1.7779317, 1.0780795, -0.6589181, 1.0343903, 1.609029],
[-0.22416269, -0.25456814, 0.11412351, -0.25388299, -0.22551595],
[-0.29931665, -0.34529826, 0.02814393, -0.34412575, -0.17148474],
[-0.4639905, -0.62394085, 0.16580432, -0.61491038, -0.41484068],
[1.0202515, 0.74670774, -0.1177282, 0.73471942, 0.6258088],
[0.31428151, 0.27060095, -0.40244129, 0.26959364, 0.42998839],
[0.43546456, 0.36427333, -0.19055585, 0.36234588, 0.41653609],
[0.0530618, 0.05177225, -0.01680511, 0.05176703, 0.04556994],
[0.37512674, 0.32097724, -0.14977056, 0.31968081, 0.34801997],
[-0.33165414, -0.40802138, 0.2035771, -0.40511567, -0.35512119],
[-0.27099835, -0.31105942, 0.04712533, -0.31007614, -0.19057792],
[0.84549607, 0.63445801, -0.19512218, 0.62582196, 0.65341125],
[0.52953109, 0.42744625, -0.28889301, 0.42419612, 0.5451508],
[-0.35787252, -0.44242206, 0.13101812, -0.43912261, -0.32255666],
[1.565082, 0.99618567, -0.44049465, 0.96309072, 1.2922551],
[0.01590784, 0.01579678, -0.002703, 0.01579666, 0.0111011],
[-0.19789672, -0.22062798, 0.08844495, -0.22019384, -0.19063095],
[-0.49807721, -0.66188378, 0.07169645, -0.65304871, -0.32888218],
[-0.51127417, -0.70449968, 0.12768509, -0.69257559, -0.4056573],
[0.23609158, 0.21258804, -0.10623156, 0.21219892, 0.22793701],
[-0.62344177, -0.92780618, 0.09841196, -0.903808, -0.42451192],
[-0.00219294, -0.00219531, 0.00092301, -0.00219531, -0.00207061],
[-0.30067078, -0.35935201, 0.14702875, -0.35745532, -0.29844999],
[0.8594222, 0.64902826, -0.13141685, 0.64057786, 0.579026],
[0.12380921, 0.11709195, -0.0402474, 0.11703125, 0.10725674],
[-0.10546415, -0.11144036, 0.04804157, -0.11138395, -0.10223955],
[0.18980596, 0.17448034, -0.06963094, 0.17427439, 0.1711922],
[0.33915942, 0.29019959, -0.33561519, 0.28902735, 0.42582039],
[-0.47809611, -0.63421765, 0.0954486, -0.62585506, -0.35205457],
[0.46050232, 0.37626187, -0.46494908, 0.37371435, 0.58205811],
[-0.19188464, -0.21328153, 0.09022851, -0.21288476, -0.18799721],
[-0.14004254, -0.15082998, 0.06105184, -0.15069164, -0.13378772],
[-0.63847208, -0.94753507, 0.07803487, -0.92336221, -0.39920948],
[0.95378281, 0.66766463, -1.0455829, 0.65371749, 1.2390699],
[-0.20426911, -0.22687891, 0.05168475, -0.22646273, -0.16277933],
[-0.31442982, -0.37939876, 0.15159173, -0.37717711, -0.31063543],
[0.54623381, 0.44410214, -0.1547877, 0.4409466, 0.45203757],
[-0.21514947, -0.24273071, 0.10401452, -0.24214313, -0.21274932],
[-0.35426764, -0.44264986, 0.20194656, -0.43901117, -0.37009209],
[0.82616424, 0.61806297, -0.26609819, 0.60947213, 0.71351247],
[-0.22787564, -0.25728937, 0.06914327, -0.25665846, -0.19292651],
[-0.44612431, -0.58219534, 0.1109507, -0.57537538, -0.35347384],
[-0.50342186, -0.68985899, 0.12921207, -0.67857699, -0.40308726],
[-0.40225981, -0.52014785, 0.19960342, -0.51446514, -0.40123957],
[0.3748698, 0.32022487, -0.16829833, 0.31890384, 0.36165147],
[-0.03682105, -0.03745628, 0.0081431, -0.03745445, -0.02805459],
[-0.11224373, -0.11921681, 0.06233209, -0.11914466, -0.11623992],
[0.48933125, 0.40309301, -0.1825126, 0.4005789, 0.44378871],
[0.50617895, 0.41662813, -0.14577638, 0.41400756, 0.42115482],
[-0.68286009, -1.1935643, 0.29826066, -1.1337193, -0.65277444],
[0.26372656, 0.23429089, -0.14764108, 0.23374485, 0.27385141],
[-0.30292479, -0.35960796, 0.10358983, -0.35785057, -0.26689407],
[-0.47864969, -0.70247932, 0.65971775, -0.6855383, -0.67113194],
[-0.8591855, -1.828234, 0.17816862, -1.6653902, -0.64073487],
[0.63037315, 0.4976202, -0.21686082, 0.49301243, 0.5565047],
[0.31491042, 0.27564262, -0.11882244, 0.27482942, 0.28670427],
[-0.05953758, -0.0612827, 0.0175488, -0.06127418, -0.04992138],
[-0.02611477, -0.02646331, 0.01329718, -0.02646253, -0.02627367],
[-0.03845548, -0.03924331, 0.02589129, -0.03924062, -0.04246522],
[-0.54115058, -0.88743131, 1.0351439, -0.85225139, -0.84636104],
[0.43871747, 0.36637039, -0.19874796, 0.36439484, 0.42452263],
[-0.32518622, -0.39204624, 0.1120159, -0.38977106, -0.28720455],
[0.08669957, 0.08301252, -0.0657326, 0.08298639, 0.0996051],
[-0.52946363, -0.7424546, 0.13539611, -0.72849602, -0.42341816],
[-0.35463884, -0.44294099, 0.197771, -0.43931257, -0.36778025],
[0.05956428, 0.05767069, -0.08298128, 0.05766066, 0.08381607],
[0.27637345, 0.24603888, -0.08481906, 0.24548546, 0.23487602],
[0.10126586, 0.0965923, -0.04171717, 0.09655637, 0.09493441],
[-0.20165523, -0.22350769, 0.04867788, -0.22311385, -0.15819529],
[-0.59301261, -0.9032179, 0.20418431, -0.87710891, -0.52367286],
[1.0002739, 0.70795258, -0.48261024, 0.69404949, 0.9884502],
[0.68971676, 0.53373595, -0.26524847, 0.52793335, 0.6319385],
[0.26733013, 0.2406546, -0.04028707, 0.24021194, 0.17923817],
[-0.09247594, -0.09661992, 0.01933908, -0.09658899, -0.0691578],
[3.1534746, 1.6498702, -0.33316187, 1.5398841, 1.8782554],
[-0.03687639, -0.03759705, 0.02397922, -0.03759471, -0.04025198],
[0.16865744, 0.15532297, -0.14458957, 0.15514749, 0.20186421],
[-0.0629505, -0.06490254, 0.01824187, -0.06489246, -0.05248469],
[-0.04566691, -0.04670114, 0.01568647, -0.04669724, -0.04029515],
[-0.30024899, -0.35187102, 0.06147214, -0.35039921, -0.22295839],
[0.44713673, 0.37417976, -0.15072949, 0.37220829, 0.39207545],
[-0.38964399, -0.48801251, 0.10174088, -0.48391521, -0.31377655],
[-0.20806832, -0.23193291, 0.05856947, -0.23147779, -0.17180576],
[-0.80197519, -1.728815, 0.33003233, -1.5698303, -0.75157003],
[-0.22493557, -0.25485809, 0.09607418, -0.25419673, -0.2134278],
[0.61567023, 0.48534926, -0.27956948, 0.48080332, 0.59621837],
[0.67565472, 0.53953802, -0.07108595, 0.53501365, 0.40187205],
[-0.22402695, -0.2529698, 0.07977056, -0.25234843, -0.20005883],
[-0.58713112, -0.87147522, 0.15294644, -0.84922579, -0.47243985],
[-0.2097378, -0.2336, 0.05164782, -0.23314857, -0.16563235],
[0.19383372, 0.17561329, -0.28216284, 0.17532839, 0.27677668],
[-0.30775953, -0.37072754, 0.16836223, -0.36859513, -0.31712652],
[-0.55845233, -0.82821557, 0.22547442, -0.80715832, -0.5200357],
[-0.48173993, -0.65274949, 0.14501692, -0.64281641, -0.4067785],
[-0.20631742, -0.23034376, 0.07037134, -0.22987856, -0.18162092],
[0.01722956, 0.01709981, -0.00284339, 0.01709964, 0.01190706],
[-0.50259861, -0.71746511, 0.28297405, -0.70253704, -0.52288525],
[-0.43860781, -0.58692132, 0.23285178, -0.57870299, -0.44745987],
[-0.49294772, -0.75400097, 0.94856672, -0.73177275, -0.77250246],
[-0.2956642, -0.34372594, 0.04664959, -0.34242972, -0.20129134],
[0.75824791, 0.56477418, -0.63159017, 0.55668761, 0.89886803],
[-0.16455147, -0.17953845, 0.06385487, -0.1793113, -0.15121999],
[-0.06715729, -0.06937811, 0.01888228, -0.06936587, -0.05543154],
[-0.25611633, -0.29248375, 0.05512596, -0.29162611, -0.19338386],
[-0.4484982, -0.6017206, 0.20663079, -0.59314527, -0.43643088],
[0.49001226, 0.40718898, -0.10974037, 0.40487174, 0.37491841],
[0.26582446, 0.23732234, -0.09021163, 0.23681431, 0.23361146],
[0.06417361, 0.06214931, -0.0424689, 0.06213867, 0.07045924],
[-0.7154646, -1.2402209, 0.19080603, -1.1798076, -0.58022904],
[1.0394541, 0.74139814, -0.26787516, 0.7274744, 0.83340808],
[-0.39417377, -0.51589875, 0.32166883, -0.50972365, -0.46409278],
[-0.61776147, -0.89675706, 0.0719622, -0.8763298, -0.38012405],
[-0.43892263, -0.58650386, 0.22408423, -0.57837098, -0.44198318],
[-0.54239803, -0.80619127, 0.29432686, -0.78546692, -0.55739795],
[-0.27040424, -0.30848465, 0.03359927, -0.30759395, -0.17000523],
[0.57419404, 0.46268639, -0.16543964, 0.45911074, 0.47781778],
[-0.68581634, -1.135315, 0.17172741, -1.0886275, -0.54462188],
[-0.34139566, -0.42360091, 0.21612927, -0.42033238, -0.36933448],
[0.0853953, 0.0824384, -0.01043778, 0.08242134, 0.05339517],
[-0.21619342, -0.2416878, 0.05326242, -0.24118797, -0.17075703],
[-0.44157444, -0.56401782, 0.06743461, -0.5584264, -0.29737668],
[-0.54566286, -0.76580672, 0.10804706, -0.75133917, -0.40071037],
[-0.04885488, -0.05010196, 0.0258448, -0.05009666, -0.04978208],
[-0.52937813, -0.72281265, 0.08020824, -0.71125816, -0.35557154],
[-0.15359523, -0.16708456, 0.0831097, -0.16688739, -0.15769299],
[0.281392, 0.25203696, -0.04275163, 0.25152781, 0.18917717],
[0.32510889, 0.28270529, -0.15110887, 0.28178711, 0.31729206],
[0.20049988, 0.1832802, -0.08451732, 0.18303411, 0.18940931],
[-0.36695035, -0.45313792, 0.10320753, -0.44979389, -0.30291352],
[0.24205785, 0.21883404, -0.0590665, 0.21846343, 0.19057672],
[-0.09088204, -0.09561142, 0.07783583, -0.09557042, -0.10873981],
[-0.25150964, -0.28558731, 0.045075, -0.28482024, -0.17865904],
[-0.00952394, -0.00956779, 0.00330535, -0.00956775, -0.00843258],
[0.67717919, 0.51789168, -0.51667663, 0.511736, 0.77962425],
[0.17864499, 0.16455835, -0.08882114, 0.16437347, 0.17831013],
[-0.51061737, -0.70687969, 0.14149135, -0.69456938, -0.41942118],
[-0.28657751, -0.34044444, 0.1665885, -0.33876688, -0.30133743],
[-0.28221276, -0.33334084, 0.14577777, -0.33180557, -0.28529328],
[-0.42132649, -0.54541981, 0.14204046, -0.53940876, -0.36945356],
[0.44669922, 0.37958304, -0.05846924, 0.37791122, 0.28575638],
[-0.51843687, -0.7084093, 0.09629695, -0.69703059, -0.37268744],
[0.45617133, 0.38087787, -0.14702021, 0.37882003, 0.39405273],
[0.07299621, 0.07070188, -0.0146483, 0.07068986, 0.05384424],
[0.58596406, 0.47540614, -0.09861585, 0.47195975, 0.40760506],
[0.16315184, 0.15127378, -0.08181999, 0.15112982, 0.16331439],
[-0.46449785, -0.61387484, 0.10993518, -0.60599177, -0.36200233],
[0.19590249, 0.18100889, -0.02932253, 0.18082041, 0.13105002],
[0.2810031, 0.24973033, -0.08613577, 0.24915188, 0.23871438],
[-0.32960657, -0.3937932, 0.06943555, -0.39172308, -0.24709722],
[-0.10210757, -0.10728008, 0.02449268, -0.10723643, -0.07993324],
[1.2668389, 0.83885135, -0.6987135, 0.81555408, 1.3089527],
[-0.6118378, -0.89520819, 0.0882217, -0.87395637, -0.40422764],
[0.28569954, 0.24990732, -0.2725118, 0.24916265, 0.35433289],
[-0.23296601, -0.2679531, 0.1772762, -0.26708079, -0.26797145],
[-0.49168361, -0.67846887, 0.17956065, -0.66688454, -0.44279652],
[-0.43464789, -0.57365231, 0.18103311, -0.56635612, -0.40896648],
[-0.49266584, -0.69301951, 0.25528938, -0.67975126, -0.49856588],
[-0.24159749, -0.27477112, 0.06863202, -0.27401445, -0.20010005],
[0.57495002, 0.46345077, -0.16091507, 0.45988025, 0.473837],
[-0.18558717, -0.20350099, 0.03850485, -0.20321329, -0.13842476],
[-0.28784884, -0.34272358, 0.17726758, -0.34099062, -0.30855275],
[-0.42518782, -0.57472746, 0.37366669, -0.56611923, -0.51312755],
[0.71594311, 0.55700096, -0.15451504, 0.55119351, 0.54106893],
[-0.53498212, -0.78679833, 0.27983439, -0.76761996, -0.54308759],
[1.2211648, 0.81159155, -0.83263031, 0.78944466, 1.3541816],
[-0.39157239, -0.50049687, 0.1798729, -0.49550727, -0.38066237],
[-0.25771982, -0.29547854, 0.06597874, -0.29455997, -0.20617842],
[0.08135206, 0.07857934, -0.01324417, 0.07856359, 0.05596682],
[0.33362239, 0.29226352, -0.07023612, 0.29141197, 0.2500539],
[-0.13737328, -0.14905414, 0.15702344, -0.14888882, -0.18096712],
[-0.54291883, -0.8808448, 0.8979184, -0.84738204, -0.80893239],
[-0.01555449, -0.0156845, 0.01329394, -0.01568431, -0.01859795],
[-0.38549884, -0.49459904, 0.22669162, -0.48951636, -0.40691516],
[-0.04629879, -0.04735416, 0.01486959, -0.04735015, -0.03994748],
[0.47226516, 0.3981615, -0.06173938, 0.3962348, 0.30198684],
[0.87022528, 0.64867769, -0.20340832, 0.63943767, 0.67538907],
[-0.21432724, -0.23950269, 0.05541127, -0.23901104, -0.17202608],
[-0.64035317, -0.9763625, 0.11206724, -0.94799889, -0.45128331],
[0.76228245, 0.56808727, -0.59220036, 0.55998289, 0.88289726],
[-0.09002458, -0.09426775, 0.03667102, -0.09423443, -0.08407981],
[0.25452787, 0.22714058, -0.13257364, 0.22665071, 0.25801956],
[0.17830097, 0.16453833, -0.07262131, 0.16436151, 0.16652029],
[-0.2825473, -0.33145422, 0.10482735, -0.33005048, -0.25579711],
[-0.06221518, -0.06415457, 0.02096438, -0.0641445, -0.05454667],
[-0.56131494, -0.82533879, 0.1898616, -0.80524424, -0.49275017],
[-0.48135059, -0.6330343, 0.07334239, -0.62518623, -0.32391871],
[0.09367239, 0.08847607, -0.46591083, 0.08842806, 0.20145838],
[0.10862107, 0.10318687, -0.05201347, 0.10314159, 0.10706758],
[0.33147718, 0.28637689, -0.20703543, 0.28535854, 0.35699378],
[-0.30722738, -0.36423445, 0.08729372, -0.36248165, -0.2544745],
[-0.4464405, -0.58938251, 0.14713627, -0.58187114, -0.38853097],
[-0.3595744, -0.43830994, 0.0764879, -0.43545891, -0.2704374],
[-0.47142656, -0.64148963, 0.18875409, -0.63145648, -0.43777553],
[0.24541312, 0.2193413, -0.15494364, 0.21888083, 0.26525674],
[-0.58105231, -0.8517778, 0.13736909, -0.83135845, -0.45267151],
[0.30260782, 0.26488207, -0.16305991, 0.26410097, 0.31025051],
[0.0110551, 0.01100583, -0.00084519, 0.01100579, 0.00591159],
[0.55766006, 0.44579524, -0.31282394, 0.44209253, 0.5794594],
[1.9648421, 1.1338703, -1.1671211, 1.078703, 2.080976],
[0.63151996, 0.49431858, -0.31861049, 0.48940976, 0.63341461],
[-0.00529967, -0.00531398, 0.00302975, -0.00531397, -0.00554172],
[1.5962708, 1.0010143, -0.58776838, 0.9655851, 1.441506],
[0.26608829, 0.23716281, -0.10363647, 0.23664013, 0.24483004],
[-0.48514944, -0.66757355, 0.18890618, -0.65637103, -0.44635021],
[-0.6358893, -0.99466112, 0.16524883, -0.96224017, -0.51126234],
[-0.2331373, -0.26443297, 0.07716899, -0.26373501, -0.20318834],
[-0.14935425, -0.15984336, 0.01727818, -0.1597207, -0.0916898],
[0.54322304, 0.43989854, -0.19956951, 0.43665203, 0.49018519],
[-0.0810468, -0.08489645, 0.09067803, -0.08486599, -0.10600702],
[-0.12204413, -0.1296683, 0.03339678, -0.12958898, -0.09982886],
[-0.67868636, -1.0744986, 0.11370098, -1.0376058, -0.47138687],
[0.19493357, 0.1792266, -0.05507847, 0.17901596, 0.16116165],
[-0.51870631, -0.74207038, 0.22827026, -0.72644398, -0.49709661],
[-0.23973607, -0.27482379, 0.11680039, -0.27397107, -0.23767328],
[-0.09872373, -0.1036863, 0.03006509, -0.10364474, -0.08368453],
[0.02495051, 0.02466855, -0.00597504, 0.02466801, 0.01952135],
[0.42384999, 0.36061221, -0.08212641, 0.3590479, 0.30901465],
[-0.15758965, -0.17049964, 0.03890342, -0.17032359, -0.12455402],
[0.59322598, 0.4858421, -0.05397439, 0.48262808, 0.33616516],
[-0.2563769, -0.2964207, 0.10952121, -0.29538267, -0.2432738],
[-0.4295476, -0.54556631, 0.07142896, -0.5404029, -0.29760643],
[-0.21958413, -0.24341005, 0.02487112, -0.24298009, -0.1338574],
[-0.04369004, -0.04461727, 0.01269149, -0.04461399, -0.03645602],
[-0.41874456, -0.53823887, 0.12305241, -0.5326267, -0.35075685],
[0.08686166, 0.08333116, -0.04195716, 0.08330726, 0.08586789],
[-0.36585313, -0.44874397, 0.0834805, -0.44563985, -0.28167148],
[0.11738607, 0.11131056, -0.03890136, 0.11125819, 0.1023472],
[0.35560178, 0.30706947, -0.12216902, 0.30597027, 0.3137904],
[-0.5001129, -0.68949032, 0.15398961, -0.67778162, -0.42548656],
[-0.10989825, -0.11711279, 0.11600216, -0.11703392, -0.14098055],
[0.4155222, 0.35125894, -0.14542226, 0.3496118, 0.36893494],
[0.40291287, 0.34473955, -0.08477213, 0.34334647, 0.30192688],
[0.50625566, 0.40947481, -0.3731945, 0.40641881, 0.57619348],
[1.0466268, 0.73464619, -0.45180424, 0.71952893, 0.99660106],
[0.26278628, 0.23239288, -0.2228496, 0.23180878, 0.31338803],
[1.7372719, 1.0744682, -0.44852277, 1.0342114, 1.3937451],
[0.16804624, 0.15619421, -0.04693619, 0.15605505, 0.13839863],
[-0.53752217, -0.76754263, 0.1661654, -0.75154682, -0.45791808],
[0.26624036, 0.23623799, -0.15168422, 0.23567611, 0.27808191],
[-0.41351894, -0.5389088, 0.19659927, -0.53265997, -0.40663139],
[0.34152217, 0.29540574, -0.1498275, 0.29437223, 0.32695384],
[-0.21282338, -0.2392076, 0.08820191, -0.23866394, -0.19991662],
[-0.31649299, -0.38506154, 0.19778463, -0.38260458, -0.34091824],
[-0.31911672, -0.37587714, 0.04794976, -0.37420349, -0.21374953],
[-0.63312167, -0.96191132, 0.11690475, -0.93442706, -0.45423316],
[0.43790732, 0.36528248, -0.21563707, 0.36328821, 0.435685],
[-0.52274944, -0.78805245, 0.48544747, -0.76635138, -0.64256904],
[0.43509123, 0.36497234, -0.16228704, 0.36310054, 0.39460098],
[-0.18794604, -0.20805059, 0.0773634, -0.20769289, -0.17614783],
[-0.23528413, -0.26922367, 0.12199881, -0.26841067, -0.23815349],
[-0.06893757, -0.0714488, 0.03501924, -0.07143356, -0.06930261],
[0.63560786, 0.49760006, -0.30028077, 0.49266523, 0.62370422],
[-0.62637435, -1.0223308, 0.30532748, -0.98255517, -0.6210901],
[-0.30282195, -0.36667935, 0.23495172, -0.36445139, -0.3505859],
[0.50248074, 0.41563777, -0.11690826, 0.41315421, 0.38937794],
[-0.28604093, -0.33368086, 0.07229241, -0.33236472, -0.22785559],
[-0.22829199, -0.25807182, 0.07373359, -0.25742632, -0.19734475],
[-0.34891329, -0.43526124, 0.21662708, -0.43173433, -0.37502417],
[-0.22221942, -0.24911494, 0.05207149, -0.24857382, -0.17260949],
[0.30981925, 0.26856423, -0.27955636, 0.26765239, 0.37720032],
[-0.49456353, -0.73670042, 0.63630577, -0.71755689, -0.67771434],
[-0.26229629, -0.30278254, 0.08375827, -0.30174529, -0.2258815],
[-0.71632293, -1.2291807, 0.17229669, -1.1714199, -0.56127394],
[0.34154982, 0.30050952, -0.04139624, 0.29969031, 0.2129608],
[0.40727218, 0.34399589, -0.17999362, 0.3423667, 0.39085788],
[0.29875967, 0.26253723, -0.13319591, 0.26180772, 0.28755545],
[-0.45451117, -0.60090033, 0.13199155, -0.59316343, -0.37921754],
[-0.15765517, -0.17200332, 0.08940932, -0.17178602, -0.16441562],
[-0.18737951, -0.20661345, 0.05759028, -0.20628502, -0.15932153],
[-0.54151616, -0.75482553, 0.10101945, -0.74112589, -0.38983959],
[0.6651935, 0.49731305, -1.5474206, 0.49036965, 1.1104818],
[-0.17299421, -0.18933473, 0.05700241, -0.18907791, -0.15054353],
[0.16132823, 0.15041734, -0.04274356, 0.15029447, 0.13054908],
[0.05094474, 0.04957028, -0.06186615, 0.0495641, 0.0684795],
[1.1153546, 0.77050647, -0.47416692, 0.75321395, 1.0566449],
[0.53865389, 0.44629203, -0.06102288, 0.44367111, 0.32838308],
[0.62185488, 0.50062682, -0.0916739, 0.49672481, 0.41388969],
[1.9581085, 1.1624729, -0.55199188, 1.11142, 1.6176283],
[-0.58435992, -0.85176758, 0.11996326, -0.83194145, -0.4343232],
[-0.49004157, -0.69481161, 0.30752332, -0.68089287, -0.52859692],
[-0.51441607, -0.68946586, 0.06744246, -0.67970639, -0.32925382],
[-0.38732235, -0.49348365, 0.17910101, -0.4886905, -0.37736161],
[0.14886954, 0.13826206, -0.13712314, 0.13813622, 0.18249494],
[0.09452706, 0.0902796, -0.055915, 0.09024781, 0.09997472],
[-0.15180546, -0.16290956, 0.02109803, -0.16277432, -0.09907153],
[-0.33392116, -0.4061755, 0.12774464, -0.40358964, -0.30541254],
[0.05084907, 0.04963439, -0.02011871, 0.04962956, 0.04703257],
[0.61427892, 0.47335157, -0.8091448, 0.46803555, 0.84839055],
[0.24274327, 0.21785063, -0.11626167, 0.21742618, 0.23928767],
[0.34508271, 0.29991148, -0.09760403, 0.29892987, 0.28539611],
[-0.50345497, -0.68080084, 0.09757147, -0.67057633, -0.36707773],
[0.39094818, 0.33256386, -0.15846872, 0.33111825, 0.36453338],
[-0.47564646, -0.65682294, 0.23756413, -0.64555746, -0.47547366],
[-0.43167621, -0.55455928, 0.09503768, -0.54880177, -0.32840821],
[-0.25949473, -0.29454994, 0.03433652, -0.2937632, -0.16660235],
[-0.42367156, -0.54572744, 0.11877438, -0.5399414, -0.34935781],
[2.0599325, 1.2169396, -0.42155479, 1.1625164, 1.5294314],
[0.54481395, 0.43884998, -0.2566489, 0.435447, 0.53409923],
[0.10119038, 0.09684596, -0.02091624, 0.09681488, 0.07538137],
[-0.1659091, -0.18089615, 0.05603981, -0.18067085, -0.14557575],
[-0.30496663, -0.35659426, 0.04862747, -0.35514469, -0.20835572],
[0.0622492, 0.0606153, -0.00962284, 0.06060815, 0.04209207],
[-0.41547887, -0.54296427, 0.20320623, -0.53653718, -0.41243448],
[-0.51611985, -0.72804946, 0.18522928, -0.71388374, -0.46211165],
[-0.06014845, -0.06200558, 0.02530336, -0.06199603, -0.05678308],
[-0.34475253, -0.42606263, 0.17467911, -0.42289495, -0.34628097],
[-0.64888003, -1.1024683, 0.34623735, -1.0524864, -0.66309778],
[-0.32206743, -0.37928227, 0.04416306, -0.37759727, -0.20924781],
[1.3792933, 0.9000614, -0.56238908, 0.87329777, 1.2886254],
[-0.56508561, -0.80608492, 0.10943776, -0.78937982, -0.41191591],
[-0.31537858, -0.39182458, 0.4253564, -0.38876515, -0.43901813],
[0.65138603, 0.51238252, -0.19751333, 0.50749525, 0.55135895],
[-0.21618638, -0.24094113, 0.04258046, -0.24046981, -0.15847678],
[-0.37262516, -0.45418704, 0.0573607, -0.4512348, -0.25161098],
[0.36262864, 0.31224063, -0.12775718, 0.31107892, 0.32268579],
[0.57799027, 0.46468136, -0.17640708, 0.46101422, 0.49030052],
[-0.5556686, -0.82697831, 0.24725136, -0.80558398, -0.53448247],
[-0.16644817, -0.18401825, 0.18451181, -0.18370976, -0.21703881],
[-0.54039333, -0.76743451, 0.14469157, -0.75192128, -0.43883144],
[0.44948898, 0.3741224, -0.19910448, 0.37203039, 0.43170099],
[-0.14057355, -0.15093678, 0.04156937, -0.15080958, -0.11799679],
[-0.58037643, -0.87051895, 0.19566406, -0.84712209, -0.5089247],
[-0.6227822, -0.95735035, 0.15617349, -0.92847585, -0.49480783],
[-0.57804723, -0.82733256, 0.09670195, -0.80986804, -0.40129519],
[0.78448866, 0.58944179, -0.33672365, 0.58149008, 0.74557668],
[1.054146, 0.74435402, -0.34479284, 0.72954213, 0.91508885],
[-0.34208617, -0.40985682, 0.05801577, -0.40763371, -0.23856992],
[0.25856674, 0.23084893, -0.11230974, 0.23035499, 0.24671615],
[-0.68810825, -1.1657844, 0.21064479, -1.113482, -0.58429398],
[0.62564676, 0.50140734, -0.10983529, 0.49733552, 0.44137741],
[-0.42905605, -0.57230462, 0.25804445, -0.56446446, -0.45630041],
[-0.02524752, -0.02554976, 0.00666823, -0.02554916, -0.0204092],
[-0.51515661, -0.7777138, 0.55681303, -0.75615134, -0.66609982],
[0.37998884, 0.32840472, -0.067694, 0.32724257, 0.26938533],
[-0.03708866, -0.03776797, 0.01298699, -0.0377659, -0.03293621],
[0.15859075, 0.14863505, -0.0233522, 0.14853098, 0.10551264],
[0.15149813, 0.14148303, -0.05629751, 0.14137279, 0.13722859],
[-0.2374756, -0.27021291, 0.08110957, -0.26946325, -0.20914461],
[-0.16377675, -0.17747129, 0.03366691, -0.17728068, -0.12178092],
[-0.40330466, -0.50351353, 0.06974952, -0.49940434, -0.28310393],
[-0.47998837, -0.65494177, 0.17318064, -0.64451623, -0.43052356],
[-0.5687609, -0.80815922, 0.09701883, -0.79177286, -0.39741888],
[-0.5474604, -0.80926025, 0.25159329, -0.78901937, -0.53228573],
[0.36179061, 0.311102, -0.14281246, 0.30992376, 0.33437738],
[0.07301298, 0.07053646, -0.03005509, 0.07052247, 0.06843045],
[-0.54009147, -0.75365861, 0.10532974, -0.73989159, -0.39461345],
[-0.07667632, -0.07981353, 0.0401393, -0.07979214, -0.07785875],
[-0.52343237, -0.73890811, 0.16773808, -0.7244704, -0.45129543],
[-0.40856945, -0.52653791, 0.16097394, -0.52093341, -0.37737441],
[0.52423996, 0.42917274, -0.14830522, 0.42632233, 0.43359296],
[-0.36437603, -0.45830694, 0.19866664, -0.45431343, -0.37504627],
[0.06421078, 0.06229403, -0.02512568, 0.0622845, 0.05917268],
[-0.17963938, -0.19752144, 0.06356216, -0.19722529, -0.16008252],
[0.01168468, 0.01162184, -0.00298217, 0.01162178, 0.00933825],
[0.01270297, 0.01262402, -0.00567896, 0.01262394, 0.01223779],
[0.12822104, 0.12126438, -0.03041667, 0.12120151, 0.10000462],
[0.34992171, 0.30594363, -0.05573344, 0.30502576, 0.23898054],
[-0.18220258, -0.2012022, 0.08142686, -0.20087264, -0.17551015],
[-0.51643924, -0.73663542, 0.22456911, -0.72137604, -0.49295373],
[-0.13668587, -0.14635447, 0.03722035, -0.14624059, -0.1116227],
[-0.08592909, -0.08959026, 0.02273354, -0.08956428, -0.06950123],
[-0.29890749, -0.35627346, 0.13731366, -0.3544498, -0.2905845],
[-0.14127667, -0.15344908, 0.1393806, -0.15327452, -0.17719756],
[-0.08596702, -0.08951136, 0.01715288, -0.08948702, -0.06329124],
[-0.17241445, -0.19288784, 0.34314038, -0.19248367, -0.27324342],
[-0.10304256, -0.10825622, 0.02254455, -0.10821227, -0.07822909],
[0.23801067, 0.21452616, -0.09067178, 0.21414079, 0.21738605],
[0.00781653, 0.00778987, -0.00120038, 0.00778985, 0.00527383],
[0.45498075, 0.37550619, -0.29374233, 0.37320943, 0.49544356],
[-0.30898377, -0.36656602, 0.08595257, -0.36478792, -0.25412852],
[1.3919557, 0.93074907, -0.23987551, 0.90608786, 0.97593806],
[0.90259427, 0.66739667, -0.20993602, 0.65736604, 0.69935986],
[0.86892751, 0.65294884, -0.14804341, 0.64414622, 0.60691619],
[-0.27612326, -0.32454883, 0.1382021, -0.32314074, -0.27621687],
[-0.6634974, -1.1259087, 0.2863091, -1.0750947, -0.63170531],
[-0.13891881, -0.14945591, 0.05751103, -0.14932285, -0.1304471],
[0.56019835, 0.45185643, -0.19152775, 0.4483963, 0.49353177],
[-0.64258415, -1.1112944, 0.44130738, -1.0576033, -0.71429411],
[-0.49223171, -0.69701834, 0.28999517, -0.68315682, -0.51990019],
[-0.06630194, -0.06856965, 0.02792265, -0.06855672, -0.06261519],
[0.95455463, 0.69116295, -0.30250445, 0.67929908, 0.81995077],
[-0.44260523, -0.57963155, 0.12921138, -0.5726631, -0.36993147],
[-0.57961396, -0.8695938, 0.19844934, -0.84619337, -0.51088024],
[0.39122666, 0.33156949, -0.20012735, 0.3300616, 0.39421315],
[0.08841621, 0.08509843, -0.01697395, 0.08507768, 0.06426269],
[-0.26051347, -0.3008352, 0.09023165, -0.29979934, -0.23050645],
[-0.18984637, -0.21023619, 0.07363499, -0.20987196, -0.1744374],
[-0.1977214, -0.22011883, 0.08009159, -0.21969695, -0.18432097],
[-0.59209368, -0.86580004, 0.11361261, -0.84531004, -0.43027468],
[1.0007412, 0.72745756, -0.17853491, 0.71526918, 0.70979383],
[-0.19851116, -0.22191649, 0.10527669, -0.2214577, -0.20244669],
[-0.2998424, -0.34861962, 0.04191862, -0.34730313, -0.19606843],
[-0.23239053, -0.26236909, 0.05883541, -0.26172644, -0.18522597],
[1.3247754, 0.90085441, -0.20449846, 0.8789053, 0.8953679],
[-0.07615355, -0.07884554, 0.01222015, -0.07882968, -0.05213895],
[-0.35850781, -0.43313761, 0.05580867, -0.43056679, -0.24298324],
[-0.16909033, -0.18442839, 0.04974666, -0.18419685, -0.14169151],
[0.25692835, 0.23019802, -0.08599227, 0.22973564, 0.22475248],
[-0.48906897, -0.65652377, 0.1046771, -0.64713167, -0.36858752],
[-0.10909284, -0.11484912, 0.02026746, -0.11479852, -0.0784285],
[0.0486299, 0.04746228, -0.03015713, 0.04745761, 0.05224872],
[-0.52512392, -0.76920343, 0.30500905, -0.75083593, -0.5520208],
[-0.02634513, -0.02675419, 0.04700672, -0.02675313, -0.04025906],
[-0.37580779, -0.48457198, 0.31869806, -0.47939288, -0.44817435],
[0.45408324, 0.38201788, -0.09643806, 0.38012303, 0.34133682],
[0.16371874, 0.15235593, -0.04922592, 0.15222463, 0.13818902],
[0.01009116, 0.01004427, -0.00255849, 0.01004423, 0.00804696],
[0.74603482, 0.56862893, -0.27543584, 0.56170049, 0.67430474],
[-0.22530933, -0.25282642, 0.04992479, -0.2522678, -0.17177826],
[-0.54387407, -0.77710046, 0.15291264, -0.76084916, -0.44890733],
[0.5275074, 0.43433477, -0.10276098, 0.43161257, 0.38527584],
[-0.05335427, -0.05465682, 0.00867738, -0.05465152, -0.0366932],
[-0.39039911, -0.4915102, 0.11784698, -0.48719165, -0.32995549],
[-0.18714887, -0.20426998, 0.02362404, -0.20400933, -0.11828223],
[0.3187253, 0.27982556, -0.08532863, 0.27903696, 0.25881291],
[0.12342615, 0.11646371, -0.06042813, 0.1163983, 0.1225635],
[-0.57222779, -0.84842244, 0.18480835, -0.82687967, -0.49464827],
[0.93255535, 0.67231233, -0.42919888, 0.66046383, 0.90715035],
[0.45855083, 0.37478395, -0.47297595, 0.37225421, 0.58373358],
[0.3395952, 0.29600141, -0.0894222, 0.29507223, 0.27424127],
[0.13959118, 0.13104366, -0.05065634, 0.13095649, 0.1254469],
[0.03360636, 0.03312423, -0.0049253, 0.03312307, 0.02232383],
[0.00180669, 0.00180514, -0.00057417, 0.00180514, 0.00155338],
[-0.32231295, -0.38924918, 0.12868142, -0.38694878, -0.29902015],
[-0.63662885, -1.04481, 0.28445515, -1.0032658, -0.6132047],
[-0.31414915, -0.38190875, 0.20377712, -0.37949137, -0.34262502],
[0.20454735, 0.18679783, -0.08010264, 0.18654155, 0.18854782],
[-0.3243895, -0.38470337, 0.05731274, -0.38284517, -0.22933565],
[-0.23104776, -0.26402797, 0.13061165, -0.26324615, -0.24069763],
[0.10205012, 0.09755886, -0.02480805, 0.09752593, 0.08024474],
[-0.07631875, -0.07914865, 0.01805655, -0.07913117, -0.05947152],
[0.27159428, 0.24281548, -0.06699882, 0.24230851, 0.21460811],
[-0.26951922, -0.31386735, 0.1067351, -0.31265676, -0.24936696],
[-0.01261613, -0.01268603, 0.00182045, -0.01268596, -0.0083372],
[-0.57893745, -0.86150815, 0.17777217, -0.83923332, -0.49209885],
[0.24501166, 0.21950425, -0.12662078, 0.21906274, 0.2477248],
[0.45667656, 0.37687392, -0.28649241, 0.37456678, 0.49255363],
[-0.07951973, -0.08237394, 0.00984906, -0.08235687, -0.04994111],
[0.06942818, 0.06716607, -0.03072466, 0.06715379, 0.06665962],
[0.79464256, 0.59417293, -0.37102405, 0.58588489, 0.77670941],
[-0.07309122, -0.07630684, 0.10873895, -0.07628327, -0.10512722],
[-0.27563222, -0.31881566, 0.06273292, -0.31769282, -0.21202895],
[0.17641173, 0.1643809, -0.02272453, 0.1642443, 0.11225178],
[-0.29277417, -0.35056993, 0.19670598, -0.34868067, -0.32307575],
[0.69660075, 0.53600357, -0.31559827, 0.52991679, 0.67407905],
[1.0327953, 0.74571352, -0.17910779, 0.73269197, 0.72564519],
[-0.39980428, -0.49586405, 0.06023685, -0.49205284, -0.26803759],
[-0.59287685, -0.91220485, 0.2342961, -0.88457847, -0.54816084],
[0.27674917, 0.24756534, -0.0547607, 0.2470537, 0.20318449],
[-0.17734954, -0.19375534, 0.03964697, -0.1935028, -0.1356126],
[0.0558028, 0.05430399, -0.02862857, 0.05429728, 0.05628343],
[-0.11720558, -0.12416229, 0.03029124, -0.12409352, -0.09406207],
[0.51045502, 0.41547288, -0.25090773, 0.4125521, 0.50755877],
[0.0747963, 0.07216217, -0.03538748, 0.07214671, 0.07343109],
[-0.42009588, -0.56549866, 0.37571022, -0.5572574, -0.50994885],
[-0.57154547, -0.8812774, 0.32309047, -0.85432632, -0.59541335],
[-0.26265359, -0.30331547, 0.08464909, -0.30227065, -0.22688528],
[1.8542891, 1.1343047, -0.36603667, 1.0898937, 1.3603056],
[0.17316308, 0.16018471, -0.06810967, 0.16002279, 0.15985141],
[-0.57386658, -0.85162255, 0.1830963, -0.82990081, -0.4940571],
[-0.27591827, -0.31915467, 0.06229918, -0.31803025, -0.21168549],
[-0.52559745, -0.7623008, 0.25837044, -0.74501665, -0.52262852],
[-0.13829099, -0.14848161, 0.04722347, -0.14835658, -0.12178446],
[0.0830565, 0.07987642, -0.03392164, 0.07985613, 0.07763985],
[1.2875637, 0.85976724, -0.46793907, 0.83683432, 1.1576721],
[-0.69746722, -1.1603542, 0.15792818, -1.1117194, -0.53560639],
[-0.20963124, -0.23636886, 0.12325868, -0.23580212, -0.22126862],
[-0.16887024, -0.18536799, 0.0900327, -0.18509983, -0.1725224],
[0.02403166, 0.02376895, -0.00595373, 0.02376847, 0.01901643],
[-0.48195017, -0.63325837, 0.07103345, -0.62545807, -0.32074931],
[0.31232972, 0.27525572, -0.07414351, 0.2745246, 0.24365571],
[0.1673552, 0.155558, -0.04825875, 0.15541955, 0.13930333],
[-0.62837383, -1.0043814, 0.23556385, -0.96848532, -0.57085385],
[0.2660056, 0.23771925, -0.08215224, 0.23721919, 0.22653935],
[-0.67000496, -1.1240995, 0.23703154, -1.0754592, -0.5970317],
[0.61591255, 0.48971449, -0.18441502, 0.48544991, 0.51914435],
[0.03259064, 0.03199139, -0.06210725, 0.03198955, 0.050908],
[-0.50043132, -0.72604011, 0.38463098, -0.70954942, -0.57754754],
[0.18283235, 0.16856457, -0.06639599, 0.16837925, 0.16434606],
[-0.15025921, -0.16169425, 0.03152725, -0.16154937, -0.11249488],
[-0.31241386, -0.3780408, 0.1783969, -0.37575979, -0.32655723],
[1.303822, 0.86084416, -0.60888903, 0.83660576, 1.2744855],
[0.69195681, 0.52797272, -0.48035167, 0.5215896, 0.77193801],
[1.261634, 0.84300644, -0.53901197, 0.82059233, 1.1971955],
[-0.35212988, -0.43131017, 0.10782961, -0.42836703, -0.29903677],
[-0.27241679, -0.32385492, 0.25784259, -0.3222458, -0.33699035],
[0.16284675, 0.15181856, -0.04018553, 0.15169421, 0.12869232],
[-0.43131531, -0.57213497, 0.21730541, -0.56459337, -0.43241102],
[0.5068062, 0.41628461, -0.16187428, 0.41361066, 0.43647954],
[-0.41792042, -0.55391493, 0.27432955, -0.54665519, -0.45761114],
[-0.33688825, -0.41594368, 0.20329602, -0.41287909, -0.35868251],
[-0.59286939, -0.87463123, 0.12900077, -0.85297499, -0.44927624],
[-0.26509378, -0.30409919, 0.05431984, -0.30314626, -0.19690761],
[0.110943, 0.10576846, -0.02226059, 0.10572826, 0.08183181],
[-0.40357001, -0.52012977, 0.17796044, -0.51459058, -0.38701733],
[0.55572376, 0.45209093, -0.130598, 0.44889726, 0.43207733],
[0.22159764, 0.20188713, -0.0544899, 0.20159543, 0.17491435],
[0.51081102, 0.40964654, -0.53803045, 0.40633965, 0.65481576],
[-0.20711017, -0.23205584, 0.08816765, -0.23155637, -0.19629717],
[0.07329426, 0.07115667, -0.00700367, 0.07114629, 0.04221809],
[0.1190697, 0.11262297, -0.05389371, 0.11256483, 0.11518348],
[-0.02651643, -0.02685975, 0.00900583, -0.02685901, -0.02330923],
[0.46224268, 0.38664271, -0.11878693, 0.38459507, 0.37026522],
[-0.30832079, -0.36700403, 0.10118452, -0.36515374, -0.26794762],
[0.59328448, 0.46800323, -0.36463604, 0.4636433, 0.6355336],
[-0.65286707, -1.0805997, 0.25421176, -1.0361892, -0.60065494],
[0.150074, 0.1397441, -0.09089028, 0.13962572, 0.15997525],
[-0.12434117, -0.13281068, 0.0583834, -0.13271461, -0.12176331],
[1.1347334, 0.78499853, -0.39354633, 0.76751259, 1.004472],
[0.06335567, 0.06159726, -0.01410533, 0.06158913, 0.04837951],
[0.04946144, 0.04837481, -0.01150543, 0.04837083, 0.03832558],
[-0.50081414, -0.73378689, 0.44749073, -0.7162414, -0.60774641],
[-0.06709695, -0.06921612, 0.01282192, -0.06920497, -0.04869258],
[-0.08395361, -0.08776157, 0.04641813, -0.0877328, -0.08681581],
[0.00709072, 0.00706405, -0.00633969, 0.00706404, 0.00860649],
[-0.01384978, -0.01393683, 0.00266246, -0.01393674, -0.01007085],
[-0.31333024, -0.37345682, 0.09410699, -0.37154563, -0.26437405],
[0.3459756, 0.30014247, -0.10917801, 0.29913459, 0.29676912],
[0.05033621, 0.04904892, -0.04126522, 0.04904343, 0.05935515],
[0.27297642, 0.23839854, -0.44293958, 0.23767122, 0.40414907],
[-0.22933082, -0.27152466, 0.85380151, -0.27023816, -0.44782045],
[-0.35040168, -0.41739729, 0.03751391, -0.41527542, -0.20962909],
[0.28805578, 0.25385397, -0.14204666, 0.25317931, 0.28672886],
[-0.65490533, -1.0599143, 0.19490193, -1.0200478, -0.5508936],
[-0.47018372, -0.61418078, 0.07468916, -0.60693471, -0.32082947],
[-0.47721825, -0.63924909, 0.12138493, -0.63023495, -0.38095729],
[1.3476126, 0.88016734, -0.65872221, 0.85410151, 1.3374805],
[-0.40137402, -0.50502353, 0.09267038, -0.50060927, -0.3102343],
[-0.11566665, -0.12280419, 0.04637906, -0.12273083, -0.10746228],
[-0.64272384, -1.0352977, 0.21481796, -0.99709771, -0.56197432],
[1.1198415, 0.78055866, -0.33657388, 0.76386521, 0.94509292],
[-0.37840693, -0.47789095, 0.16625793, -0.47357901, -0.36244616],
[0.35985366, 0.31101251, -0.10441355, 0.30991237, 0.30015546],
[-0.51498973, -0.74001592, 0.26070601, -0.72405173, -0.51712166],
[-0.4990457, -0.68787284, 0.15597986, -0.67620687, -0.42670368],
[-0.36024144, -0.4345239, 0.05036177, -0.4319889, -0.23556248],
[0.10090429, 0.09583676, -0.09734933, 0.09579437, 0.12562056],
[0.10500037, 0.1005026, -0.01522613, 0.1004705, 0.06950249],
[-0.55590106, -0.80661548, 0.16621952, -0.78828286, -0.46834836],
[0.97445552, 0.71012257, -0.20075028, 0.69840821, 0.72510918],
[0.07514112, 0.07271582, -0.01493122, 0.07270277, 0.05524507],
[-0.47107749, -0.65198934, 0.26838357, -0.64065111, -0.49202844],
[0.4069781, 0.35245994, -0.03370757, 0.35124777, 0.22351148],
[-0.49908369, -0.72063411, 0.36333215, -0.70467725, -0.56566615],
[0.79057675, 0.59611118, -0.27347639, 0.58826455, 0.69921805],
[0.08300378, 0.07991925, -0.02564544, 0.07990015, 0.07069879],
[1.3209475, 0.88013486, -0.40927206, 0.85640889, 1.1261711],
[1.1385706, 0.77137101, -0.77741171, 0.75222023, 1.2631851],
[-0.14866611, -0.16067507, 0.05542297, -0.16051359, -0.13480767],
[-0.44572032, -0.58061113, 0.1066508, -0.5739016, -0.34863661],
[1.2907402, 0.84279895, -0.93782602, 0.81780937, 1.4619863],
[1.0002664, 0.6747233, -2.5314396, 0.65760149, 1.7174192],
[0.16224712, 0.1507751, -0.06376113, 0.15064005, 0.14973155],
[-0.58306357, -0.88826504, 0.23450017, -0.86256129, -0.54225262],
[-0.60546947, -0.94470352, 0.2370439, -0.91424776, -0.55806026],
[-0.04588784, -0.04702499, 0.03300025, -0.04702029, -0.05179813],
[-0.12428197, -0.13234103, 0.03921224, -0.132254, -0.1065997],
[-0.25465265, -0.29114693, 0.06175708, -0.29027839, -0.20008032],
[-0.22189215, -0.24960362, 0.06676593, -0.24902841, -0.18733672],
[-0.04215724, -0.04303719, 0.01460919, -0.04303412, -0.03730784],
[-0.46370116, -0.61126413, 0.10478294, -0.60355598, -0.35584892],
[-0.1524219, -0.16487794, 0.04980965, -0.1647085, -0.1322755],
[1.0631753, 0.75853504, -0.22129347, 0.74431333, 0.79384572],
[0.55206403, 0.44506498, -0.22111313, 0.44164051, 0.51271318],
[-0.11179798, -0.11844282, 0.04470382, -0.11837704, -0.10377215],
[-0.28236901, -0.3243892, 0.03560427, -0.32335101, -0.17839748],
[-0.62694557, -1.1149174, 0.68460729, -1.0556368, -0.81341166],
[0.01335705, 0.0132603, -0.01529862, 0.01326018, 0.01760764],
[0.04115702, 0.04034471, -0.01850457, 0.04034204, 0.03972516],
[0.01838351, 0.01821034, -0.01302698, 0.01821006, 0.02064953],
[0.26479015, 0.23667301, -0.08394001, 0.23617666, 0.22747529],
[0.48889433, 0.4011329, -0.22931042, 0.39852767, 0.4785874],
[0.5222803, 0.43058076, -0.10359255, 0.4279173, 0.38375608],
[-0.30676865, -0.3580404, 0.04235269, -0.35661899, -0.19976113],
[-0.34268654, -0.41891825, 0.12481144, -0.41611461, -0.30833737],
[-0.07302125, -0.0755844, 0.01610214, -0.07556941, -0.05558241],
[-0.53696253, -0.74382336, 0.0957976, -0.73081965, -0.38085313],
[-0.42031073, -0.54401294, 0.14415932, -0.53802518, -0.37068461],
[-0.01591942, -0.01604737, 0.00779645, -0.0160472, -0.01580983],
[-0.0188094, -0.01896496, 0.0026473, -0.01896475, -0.0123271],
[0.70188734, 0.54645815, -0.17523172, 0.54079296, 0.55683413],
[-0.3441711, -0.41329873, 0.06069805, -0.41100009, -0.2431744],
[-0.04686378, -0.0479702, 0.01831092, -0.04796584, -0.04316565],
[-0.56945387, -0.80345967, 0.08467915, -0.78780703, -0.38010874],
[0.82247946, 0.62664704, -0.128373, 0.61898959, 0.55793629],
[0.10768572, 0.10302446, -0.01375552, 0.10299085, 0.06832942],
[-0.19258597, -0.21414592, 0.09032336, -0.21374456, -0.18852102],
[-0.32378256, -0.40978659, 0.61736445, -0.4060211, -0.50585515],
[0.46677348, 0.39278085, -0.07630821, 0.39083757, 0.3215668],
[0.05401344, 0.05258224, -0.03271933, 0.05257593, 0.05758102],
[-0.22367683, -0.25427639, 0.12370828, -0.253581, -0.23132554],
[-0.44651825, -0.61106296, 0.32816171, -0.6011534, -0.5076902],
[-0.48923259, -0.68118483, 0.22278358, -0.66890378, -0.47422158],
[-0.39463212, -0.51350542, 0.2746272, -0.50761948, -0.44060843],
[0.65042399, 0.51832042, -0.10674184, 0.51389442, 0.44866197],
[-0.48063527, -0.6859908, 0.40332796, -0.67173158, -0.57118028],
[0.21558589, 0.1973213, -0.04111851, 0.19706381, 0.15635173],
[1.2116469, 0.8244019, -0.40966174, 0.80437457, 1.063496],
[-0.29438491, -0.36331022, 0.58922179, -0.36064427, -0.46742646],
[-0.20520111, -0.22818804, 0.05463765, -0.22775983, -0.16632613],
[0.35596893, 0.30277928, -0.33753765, 0.30146157, 0.44061452],
[0.08897616, 0.08515727, -0.05836642, 0.08512997, 0.09740475],
[1.4483664, 0.95547149, -0.26974832, 0.92846127, 1.0421139],
[0.04825085, 0.04712187, -0.02522913, 0.04711747, 0.04897571],
[-0.20903291, -0.23002077, 0.02022173, -0.2296702, -0.12089988],
[-0.5890277, -0.89836948, 0.21952511, -0.87223592, -0.53406635],
[-0.29072761, -0.34975442, 0.25196987, -0.34777063, -0.34923443],
[0.31366216, 0.27510212, -0.10497666, 0.27431477, 0.27437782],
[-0.49735208, -0.65677986, 0.06244199, -0.64839273, -0.31377009],
[-0.00493755, -0.00495056, 0.00428246, -0.00495055, -0.00593265],
[-0.14535234, -0.15625504, 0.03659025, -0.15611888, -0.11563247],
[-0.5964309, -0.90336615, 0.18057337, -0.87792773, -0.50458537],
[-0.00992831, -0.00998084, 0.00820446, -0.00998079, -0.01173843],
[-0.05324062, -0.05451998, 0.00769293, -0.05451486, -0.03519946],
[0.74723262, 0.58871995, -0.06104652, 0.58317891, 0.40850826],
[0.92386917, 0.66813996, -0.41115462, 0.65658666, 0.88869357],
[0.4894384, 0.40733204, -0.10135246, 0.40505181, 0.36482685],
[0.59609854, 0.48339414, -0.08819533, 0.47987366, 0.3972256],
[-0.23882443, -0.26915205, 0.04202611, -0.26851201, -0.16861733],
[0.40116282, 0.33785748, -0.24326036, 0.33620229, 0.42780668],
[0.0479421, 0.04685654, -0.01956438, 0.04685244, 0.0448033],
[0.53941314, 0.43976727, -0.14773511, 0.43672479, 0.44135249],
[3.8526804, 1.8217191, -0.75647537, 1.6619172, 2.8213064],
[-0.12455221, -0.13244019, 0.03175268, -0.132357, -0.09950336],
[-0.52318843, -0.72541264, 0.12008382, -0.71265968, -0.40359296],
[0.13619695, 0.12835979, -0.03341989, 0.12828468, 0.10742943],
[-0.09062037, -0.09500845, 0.04362382, -0.09497306, -0.08948189],
[-0.22329489, -0.25168974, 0.0727166, -0.25108967, -0.19355618],
[0.67370954, 0.53136698, -0.13281006, 0.52641064, 0.49400967],
[-0.20243394, -0.22276238, 0.02616932, -0.22242277, -0.12896238],
[-0.27365042, -0.32240267, 0.16586027, -0.32096284, -0.29177956],
[-0.05991093, -0.06182501, 0.03502458, -0.06181482, -0.06311584],
[0.07493902, 0.07205309, -0.08161657, 0.07203458, 0.09714224],
[-0.57627448, -0.84764461, 0.15470794, -0.82696848, -0.46838228],
[0.09873071, 0.09432918, -0.03659185, 0.09429649, 0.08935242],
[0.27590214, 0.24526493, -0.09739294, 0.24469949, 0.24567212],
[-0.38698872, -0.49057608, 0.15557606, -0.4860064, -0.35985134],
[-0.06259506, -0.06461343, 0.02669906, -0.06460259, -0.05936567],
[-0.06550517, -0.06768315, 0.02414352, -0.06767108, -0.05917349],
[-0.55225301, -0.80145349, 0.17567744, -0.7832224, -0.47497861],
[-0.00714523, -0.00717403, 0.01000028, -0.00717401, -0.0100699],
[1.2602841, 0.82671822, -0.98172356, 0.80272251, 1.4610061],
[1.043912, 0.73341473, -0.44646877, 0.71840001, 0.99094516],
[-0.43132456, -0.5662489, 0.16893532, -0.55931775, -0.39760601],
[0.39438992, 0.33470387, -0.17201905, 0.33320649, 0.37683629],
[-0.50414255, -0.67732771, 0.0836691, -0.66758313, -0.34906041],
[1.8470935, 1.1320365, -0.35763665, 1.0880446, 1.3463251],
[0.6694033, 0.51885462, -0.3132809, 0.51328419, 0.65480684],
[-0.2755584, -0.31846568, 0.06013792, -0.31735681, -0.20902677],
[-0.53109785, -0.70632029, 0.04370179, -0.69684025, -0.29104452],
[-0.38016339, -0.48416495, 0.20549193, -0.47947802, -0.39017112],
[-0.21644843, -0.24806102, 0.26047917, -0.24729436, -0.29007076],
[0.22464717, 0.204938, -0.04238525, 0.20465029, 0.16233627],
[0.18255798, 0.16745986, -0.12147509, 0.16725206, 0.20080427],
[0.18834064, 0.17271266, -0.09791501, 0.17249686, 0.19080473],
[-0.35425951, -0.4428542, 0.20514244, -0.43919807, -0.37202848],
[0.21969688, 0.1999514, -0.0650006, 0.19965615, 0.18444422],
[0.122713, 0.11616948, -0.03648803, 0.11611136, 0.10319386],
[-0.42723475, -0.55833711, 0.1626259, -0.5517272, -0.39010748],
[-0.02451718, -0.02479725, 0.00557298, -0.02479671, -0.0188518],
[-0.04687689, -0.04802464, 0.02506269, -0.04801996, -0.04793563],
[0.05305057, 0.05167392, -0.03107604, 0.05166797, 0.05592577],
[-0.31050077, -0.37292577, 0.13922555, -0.37084803, -0.29942733],
[0.20887052, 0.1890275, -0.17334826, 0.18871394, 0.24730596],
[0.12160078, 0.11432671, -0.12128972, 0.11425424, 0.15307663],
[-0.4786629, -0.6404824, 0.11557347, -0.63151775, -0.37553397],
[0.69538074, 0.5308133, -0.45327777, 0.52441604, 0.75964948],
[0.07554328, 0.07283333, -0.03894072, 0.07281713, 0.07631476],
[-0.16002451, -0.17249543, 0.02306356, -0.17233363, -0.10570847],
[0.28745241, 0.25362713, -0.13105163, 0.25296582, 0.27874138],
[-0.31900993, -0.38422716, 0.12564022, -0.38202034, -0.29461557],
[0.15846756, 0.14444768, -0.75377929, 0.14424131, 0.33577754],
[0.67802328, 0.53342129, -0.14224838, 0.52834012, 0.50760066],
[0.32227808, 0.27988621, -0.17800649, 0.27896053, 0.33315203],
[-0.689705, -1.2063613, 0.27705579, -1.1457302, -0.64117216],
[0.50862172, 0.41457705, -0.23910062, 0.41170299, 0.4982724],
[-0.55756118, -0.81008919, 0.16580611, -0.79154937, -0.46889096],
[0.6659468, 0.51830268, -0.27094785, 0.51291508, 0.6217249],
[0.54504791, 0.4418793, -0.18302942, 0.43865311, 0.47731683],
[-0.23168171, -0.26098984, 0.05206213, -0.26037367, -0.17746463],
[1.5564676, 0.98481622, -0.55095472, 0.95125094, 1.3872094],
[-0.21817516, -0.24439497, 0.05716511, -0.24387114, -0.1758965],
[-0.11225338, -0.1190164, 0.04839388, -0.11894854, -0.10684144],
[0.79514812, 0.59562841, -0.34278122, 0.58742223, 0.75679984],
[-0.21647274, -0.24183736, 0.0502126, -0.24134324, -0.16757776],
[-0.35997872, -0.44684088, 0.14337273, -0.44338005, -0.33369529],
[0.40854687, 0.34382458, -0.21996117, 0.34212582, 0.4187485],
[-0.1530492, -0.16604881, 0.06557914, -0.16586503, -0.14537374],
[-0.14413865, -0.15581035, 0.07238166, -0.15565302, -0.14434657],
[-0.09408929, -0.09840609, 0.02053462, -0.09837309, -0.07137273],
[-0.39301475, -0.48727188, 0.06827468, -0.48353887, -0.27629252],
[-0.24605572, -0.28276665, 0.10912952, -0.28185731, -0.23641755],
[-0.74467796, -1.2573597, 0.10835057, -1.2016485, -0.49347603],
[-0.4022203, -0.52233619, 0.22385208, -0.5164387, -0.4168435],
[0.06682166, 0.06472335, -0.02944639, 0.06471237, 0.06406668],
[0.57766322, 0.46671261, -0.13758116, 0.46319305, 0.45114152],
[-0.01968855, -0.01987486, 0.00607468, -0.01987457, -0.01676204],
[-0.72534761, -1.3803908, 0.35614986, -1.2895402, -0.72097197],
[-0.39755281, -0.50932555, 0.17015997, -0.50415182, -0.37747861],
[0.05541468, 0.0540372, -0.01466541, 0.05403149, 0.04482545],
[-0.33090587, -0.40446483, 0.16434529, -0.40176137, -0.33016579],
[-0.0854305, -0.08925077, 0.03581858, -0.08922231, -0.08056037],
[-0.20923584, -0.23549068, 0.11068174, -0.23494313, -0.2132027],
[-0.38497634, -0.48980343, 0.18049086, -0.48510088, -0.37680596],
[-0.55067069, -0.77949325, 0.11744861, -0.76402275, -0.41452806],
[0.3514565, 0.30426126, -0.11196786, 0.30320938, 0.30242813],
[-0.36442407, -0.45596798, 0.1683269, -0.45217357, -0.35492169],
[0.55862248, 0.45711991, -0.09137459, 0.45407064, 0.38491433],
[0.98757975, 0.71248778, -0.26417743, 0.69998509, 0.80172117],
[-0.17833263, -0.19639535, 0.07713576, -0.196091, -0.16992181],
[-0.01980995, -0.02000314, 0.0075547, -0.02000282, -0.01809969],
[0.01791458, 0.01776767, -0.00452259, 0.01776747, 0.01426517],
[0.12051318, 0.11439804, -0.02599857, 0.11434635, 0.09106458],
[-0.57040743, -0.83976402, 0.17023686, -0.81918687, -0.48026911],
[-0.48418655, -0.65617892, 0.13978045, -0.64618233, -0.40318153],
[-0.41376686, -0.53658243, 0.17206738, -0.53058805, -0.3891168],
[-0.39736418, -0.52230491, 0.33561927, -0.51585445, -0.47324363],
[0.789415, 0.61140354, -0.08671464, 0.60479997, 0.47633342],
[-0.45273112, -0.61077915, 0.21682458, -0.6017464, -0.44627895],
[0.04048982, 0.0397188, -0.01513165, 0.03971635, 0.03674537],
[-0.63470698, -0.9674859, 0.11984384, -0.93941626, -0.45877254],
[0.2618683, 0.2330883, -0.13239143, 0.23256256, 0.26283624],
[0.19377173, 0.17770167, -0.07757214, 0.17747988, 0.17993081],
[0.58723259, 0.47367768, -0.13114675, 0.47005153, 0.44888588],
[0.69307845, 0.53813346, -0.219424, 0.53243351, 0.59514982],
[-0.57764781, -0.86068256, 0.18440667, -0.83828911, -0.49740593],
[-0.26782449, -0.31198634, 0.1139541, -0.31077833, -0.2537972],
[-0.70868634, -1.1711819, 0.1297819, -1.1233345, -0.50704995],
[0.4606641, 0.38328251, -0.16715777, 0.38113069, 0.41397594],
[-0.19014589, -0.20787589, 0.02417353, -0.20760079, -0.12046142],
[-0.37788839, -0.4836057, 0.24762906, -0.478736, -0.41354195],
[-0.17801827, -0.19425086, 0.03434979, -0.19400454, -0.12960679],
[-0.48308859, -0.65038326, 0.12323755, -0.64089631, -0.38601917],
[0.25848821, 0.23234614, -0.06074086, 0.23190649, 0.2009698],
[0.11192558, 0.10615829, -0.05454158, 0.10610878, 0.11096997],
[2.2103467, 1.2399104, -0.96744817, 1.1734462, 2.1144277],
[0.54133925, 0.44631372, -0.07756959, 0.44355424, 0.35690572],
[-0.32947276, -0.39838731, 0.11327762, -0.39600213, -0.29080668],
[-0.06956448, -0.07214855, 0.03847715, -0.07213256, -0.07194534],
[0.34574032, 0.29872866, -0.1467757, 0.2976678, 0.32738698],
[-0.36442537, -0.44325897, 0.06336404, -0.44043841, -0.25626936],
[-0.52417636, -0.76654556, 0.30147977, -0.7483973, -0.54922168],
[-0.10294317, -0.1082127, 0.02503518, -0.10816776, -0.08095778],
[-0.44853287, -0.60675929, 0.24784799, -0.59762437, -0.46373298],
[0.54811133, 0.43721149, -0.40008915, 0.43350971, 0.62178672],
[-0.77339733, -1.4128057, 0.15830115, -1.3308055, -0.57425723],
[0.00311698, 0.00311258, -0.00065575, 0.00311257, 0.00233568],
[0.16546273, 0.15367022, -0.05901408, 0.1535303, 0.14784115],
[1.0782845, 0.74165035, -0.72184466, 0.72461628, 1.1884479],
[-0.14325199, -0.15333407, 0.02454582, -0.15321592, -0.10024659],
[-0.54106483, -0.74855613, 0.0879214, -0.7355701, -0.37199839],
[-0.01554362, -0.01565892, 0.00462261, -0.01565877, -0.01307195],
[0.23435681, 0.21389756, -0.02870592, 0.21360038, 0.14663992],
[-0.21589488, -0.24409962, 0.11654564, -0.24348735, -0.22148122],
[-0.40602043, -0.51951841, 0.13874424, -0.51429434, -0.35764068],
[0.01460532, 0.0145034, -0.0053337, 0.01450328, 0.01315306],
[0.47378981, 0.39536301, -0.11230566, 0.39321344, 0.36943187],
[0.17730636, 0.1633511, -0.09257247, 0.16316828, 0.17988164],
[0.58137418, 0.47440216, -0.07731488, 0.4711487, 0.37388226],
[-0.43695412, -0.55995752, 0.0805111, -0.55425701, -0.31327025],
[0.62747558, 0.50448334, -0.09127002, 0.50050337, 0.41576756],
[-0.37398313, -0.47031284, 0.16050385, -0.46622059, -0.35541833],
[-0.38488016, -0.48811777, 0.16465811, -0.48355422, -0.36538837],
[0.16882954, 0.15590683, -0.10322184, 0.15574218, 0.18053697],
[-0.05819763, -0.05994739, 0.02620706, -0.05993863, -0.05620215],
[-0.00378748, -0.00379413, 0.00093389, -0.00379412, -0.00299233],
[-0.45740353, -0.60989175, 0.15335998, -0.60155781, -0.40035663],
[0.96274755, 0.69683538, -0.28652439, 0.68484684, 0.80985166],
[0.05958472, 0.05779674, -0.04800426, 0.0577878, 0.0698543],
[-0.61316876, -0.97866302, 0.28179435, -0.94389586, -0.59617547],
[-0.21870465, -0.24783391, 0.12138522, -0.24718931, -0.22644911],
[1.2191264, 0.82944004, -0.39078432, 0.80928401, 1.0512069],
[0.19790549, 0.18076257, -0.1024348, 0.18051548, 0.20020015],
[-0.3915342, -0.49898009, 0.16549726, -0.49412317, -0.37021448],
[-0.05989271, -0.06170904, 0.02243475, -0.06169987, -0.05439592],
[-0.60835317, -0.9374616, 0.19454908, -0.90887105, -0.52415159],
[0.93726962, 0.66527905, -0.73159374, 0.65242844, 1.0872841],
[-0.77961717, -1.3707204, 0.10873488, -1.3005904, -0.50939407],
[0.51118936, 0.41853336, -0.180392, 0.41575656, 0.45513157],
[0.10664256, 0.10189676, -0.01941382, 0.10186158, 0.07614956],
[0.54394214, 0.44253993, -0.15439524, 0.43941602, 0.45039107],
[-0.04468064, -0.04568047, 0.01682746, -0.04567674, -0.04065329],
[0.42232032, 0.35761426, -0.11465577, 0.35597103, 0.3445376],
[-0.11373807, -0.12003518, 0.0216566, -0.1199771, -0.08244114],
[-0.24970214, -0.28577578, 0.07665105, -0.28491036, -0.21222549],
[0.14967316, 0.13887169, -0.14929294, 0.13874192, 0.18841655],
[-0.04416694, -0.04517034, 0.02105742, -0.04516655, -0.04347203],
[0.09550975, 0.09136204, -0.03706601, 0.09133203, 0.08777425],
[-0.60345573, -0.90964065, 0.15374561, -0.88460156, -0.4819935],
[-0.39335361, -0.4858555, 0.05967075, -0.48226216, -0.26431345],
[0.91188654, 0.67179381, -0.22367346, 0.66145241, 0.71918731],
[0.0893321, 0.08542113, -0.06841059, 0.08539261, 0.10297287],
[1.0542231, 0.74207457, -0.38557647, 0.72704413, 0.94987954],
[-0.80140281, -1.4468496, 0.10861552, -1.3659914, -0.51865018],
[-0.65661096, -1.0909152, 0.25248002, -1.045425, -0.60157682],
[0.77179132, 0.59281922, -0.15014697, 0.58599761, 0.56344143],
[-0.07764923, -0.08065276, 0.02253154, -0.08063341, -0.06476868],
[-0.06175517, -0.06377033, 0.03294705, -0.06375937, -0.06310509],
[0.50650259, 0.41570612, -0.16991997, 0.41301447, 0.44341725],
[-0.40926117, -0.52588389, 0.14652362, -0.52041418, -0.36613921],
[-0.45927482, -0.61604101, 0.17002452, -0.60727483, -0.41549163],
[1.0567886, 0.74734019, -0.3202118, 0.73259505, 0.89429581],
[-0.11140128, -0.11790377, 0.03960864, -0.11784055, -0.09943366],
[-0.30337178, -0.36215487, 0.13026612, -0.36026837, -0.2883615],
[-0.42253305, -0.55498618, 0.20169408, -0.54816798, -0.41605253],
[-0.25977024, -0.30503888, 0.21535438, -0.30373086, -0.3074592],
[0.32950947, 0.28807868, -0.09057868, 0.28721359, 0.26993794],
[-0.18003178, -0.19723229, 0.04531631, -0.19695886, -0.14321691],
[0.09805314, 0.09330175, -0.08653726, 0.09326339, 0.1185001],
[-0.49089533, -0.70725054, 0.399791, -0.69177447, -0.57758194],
[1.1664585, 0.8161681, -0.21232685, 0.79907572, 0.83289675],
[-0.4644781, -0.64735139, 0.34389256, -0.63561204, -0.52941278],
[-0.41856481, -0.55305757, 0.25163428, -0.54596576, -0.44508375],
[1.1278749, 0.7967161, -0.19805737, 0.78089615, 0.79575792],
[0.34566979, 0.29986766, -0.1102072, 0.29886025, 0.29752327],
[-0.37267293, -0.46647729, 0.14254855, -0.4625815, -0.34083917],
[0.24961853, 0.22378361, -0.10251373, 0.22333903, 0.23376988],
[0.53624914, 0.43791335, -0.14162413, 0.43493246, 0.43347777],
[0.02897433, 0.02856922, -0.01272993, 0.02856828, 0.027752],
[0.08015478, 0.07737286, -0.01771104, 0.07735678, 0.06105356],
[-0.50476571, -0.70753251, 0.19691235, -0.69426216, -0.46468738],
[-0.40522231, -0.52445365, 0.19283833, -0.51868373, -0.39859944],
[-0.30219412, -0.35872948, 0.10546732, -0.35697701, -0.26806492],
[-0.35942658, -0.45131409, 0.21023945, -0.44743922, -0.37872287],
[0.26996379, 0.24234186, -0.04851345, 0.24187193, 0.19194099],
[0.4646472, 0.38552663, -0.18330676, 0.38329676, 0.42935683],
[-0.3275455, -0.38444346, 0.03295657, -0.38280459, -0.19194278],
[-0.55860279, -0.78929956, 0.10141245, -0.77379405, -0.39851299],
[-0.05774895, -0.05942333, 0.02039347, -0.05941524, -0.05142841],
[-0.08416668, -0.08876627, 0.21614889, -0.0887244, -0.14521823],
[-0.51076446, -0.69909851, 0.11233086, -0.6877496, -0.38843958],
[-0.50295582, -0.68588962, 0.11774145, -0.67501102, -0.39054674],
[-0.15478959, -0.16820163, 0.07018808, -0.16800822, -0.14982776],
[0.23271758, 0.20738762, -0.3068774, 0.20692933, 0.32152723],
[-0.37941033, -0.46960824, 0.08548247, -0.46606675, -0.29087638],
[-0.25435962, -0.29035462, 0.05680228, -0.28950863, -0.19443034],
[0.06588453, 0.06368361, -0.05917427, 0.06367135, 0.08008969],
[0.01837002, 0.01819873, -0.01193611, 0.01819846, 0.02004645],
[-0.40509825, -0.51115711, 0.09388126, -0.50657893, -0.3135041],
[0.39800708, 0.33995085, -0.1050213, 0.33854642, 0.32163477],
[-0.07725479, -0.08029924, 0.02749215, -0.08027925, -0.06897576],
[-0.20637628, -0.22811815, 0.0325346, -0.22773717, -0.14046399],
[0.08154315, 0.07840933, -0.04072179, 0.07838927, 0.08150995],
[1.1910859, 0.80960517, -0.48571352, 0.78983713, 1.1128384],
[0.26456618, 0.23553114, -0.12012076, 0.23500149, 0.25619594],
[0.23971249, 0.21576538, -0.09755645, 0.21536754, 0.22381495],
[0.12466272, 0.11807848, -0.02929845, 0.11802056, 0.09692801],
[-0.04478352, -0.04579575, 0.01802714, -0.04579193, -0.04166114],
[0.08461206, 0.08145068, -0.02316046, 0.081431, 0.06921718],
[-0.11222889, -0.11827756, 0.01927437, -0.11822326, -0.0785971],
[0.66826592, 0.5290729, -0.11819708, 0.52429317, 0.47261967],
[-0.02497361, -0.02526647, 0.00606328, -0.0252659, -0.01962908],
[-0.18560142, -0.20481407, 0.06635467, -0.20448324, -0.16596685],
[-0.42062705, -0.55511035, 0.23495048, -0.54805336, -0.43644907],
[0.37335652, 0.32316837, -0.06983945, 0.32204863, 0.26902507],
[0.44395122, 0.37075775, -0.18027585, 0.36875953, 0.41420248],
[-0.10149399, -0.10627658, 0.01402168, -0.10623904, -0.06610539],
[1.6776906, 1.0774226, -0.19261374, 1.0429959, 1.0273387],
[-0.03187361, -0.03248491, 0.06531512, -0.03248296, -0.05100766],
[0.06182835, 0.06003111, -0.02647815, 0.0600224, 0.05871706],
[-0.48307609, -0.64353785, 0.09701343, -0.63479909, -0.35642185],
[-0.81096394, -1.6544539, 0.22537601, -1.5221645, -0.66677645],
[-0.4026664, -0.51871387, 0.17880383, -0.51321067, -0.38704892],
[-0.06926005, -0.07178871, 0.03438955, -0.07177333, -0.06909936],
[-0.66360562, -1.0288145, 0.10497055, -0.9965726, -0.45217429],
[-0.33803354, -0.41156213, 0.11995102, -0.40891704, -0.30152119],
[0.22568917, 0.19695072, -2.1495738, 0.19634307, 0.60274637],
[-0.10028386, -0.10594532, 0.06968719, -0.10589208, -0.1119133],
[-0.33326482, -0.40322095, 0.10587404, -0.4007912, -0.2865054],
[0.01988369, 0.0196859, -0.01143858, 0.01968557, 0.02083525],
[-0.17025897, -0.1869918, 0.08834197, -0.1867182, -0.17237424],
[0.23507155, 0.21421042, -0.03318566, 0.2139024, 0.15421509],
[-0.28474643, -0.33233788, 0.07686481, -0.33101849, -0.2318594],
[-0.58720124, -0.87273312, 0.15584735, -0.85030475, -0.47544591],
[-0.61495582, -0.98260761, 0.27888785, -0.9475382, -0.59527248],
[-0.56243197, -0.80025237, 0.10867358, -0.78390244, -0.40966732],
[-0.14077564, -0.15085131, 0.03234317, -0.15073124, -0.10863152],
[-0.18260914, -0.20079369, 0.05591265, -0.20049242, -0.15507021],
[-0.24439112, -0.29069365, 0.62906119, -0.28924033, -0.42198587],
[-0.73811111, -1.2279392, 0.10035927, -1.176477, -0.47820082],
[-0.50644645, -0.72439785, 0.27553577, -0.70915905, -0.52090479],
[-0.17399597, -0.19079487, 0.06462178, -0.19052501, -0.15757806],
[-0.44498495, -0.60721357, 0.31775135, -0.59754437, -0.5011134],
[0.07172271, 0.06957196, -0.01082252, 0.06956122, 0.04810873],
[0.21509852, 0.19535678, -0.09567971, 0.19505536, 0.20687511],
[0.02863796, 0.02827191, -0.00613238, 0.02827113, 0.02158645],
[0.25546167, 0.22796332, -0.12927557, 0.22747127, 0.25648737],
[-0.34061627, -0.41792931, 0.14965998, -0.4150289, -0.32625373],
[0.77469004, 0.57754495, -0.51279666, 0.56932591, 0.85063591],
[0.39144017, 0.32691917, -0.49215888, 0.32515813, 0.53229866],
[0.59615035, 0.45419211, -1.6874646, 0.4486407, 1.0624914],
[-0.17837085, -0.19626745, 0.07154096, -0.19596873, -0.16573371],
[-0.1003708, -0.10577087, 0.04640926, -0.10572247, -0.09778746],
[-0.09795612, -0.1029221, 0.03435635, -0.10288016, -0.08703623],
[0.09295039, 0.08865096, -0.08461053, 0.08861783, 0.11349732],
[-0.4072643, -0.54113581, 0.3577372, -0.53391891, -0.49141559],
[0.65382402, 0.50566575, -0.41751741, 0.5001435, 0.70937429],
[-0.5575895, -0.85145524, 0.34610208, -0.82654647, -0.59926805],
[-0.10217966, -0.10730779, 0.02252941, -0.10726492, -0.07777433],
[-0.06366886, -0.06577556, 0.02907765, -0.06576394, -0.06177525],
[-0.43525928, -0.57286957, 0.16729571, -0.56572687, -0.39872208],
[-0.49811105, -0.67619761, 0.11554628, -0.6657818, -0.38560806],
[0.50090974, 0.40769452, -0.29216005, 0.4048278, 0.52729857],
[0.86268364, 0.61965343, -0.9182124, 0.60848892, 1.1097507],
[-0.62052198, -0.92951709, 0.11244186, -0.90469252, -0.44240917],
[-0.06257593, -0.06445174, 0.01429789, -0.06444237, -0.04819909],
[-0.34703233, -0.42965766, 0.176219, -0.42640866, -0.34882494],
[-0.05892985, -0.06083489, 0.04422308, -0.06082463, -0.0674709],
[-0.24691258, -0.28168847, 0.06957238, -0.28087497, -0.20394721],
[-0.36903059, -0.45514355, 0.09453386, -0.45182378, -0.29528907],
[-0.18309023, -0.20412071, 0.16476016, -0.20371905, -0.22270887],
[-0.44482225, -0.61975687, 0.4830332, -0.60853947, -0.57604975],
[-0.08058226, -0.08362613, 0.01368654, -0.08360697, -0.05622561],
[0.20211563, 0.18364076, -0.15093069, 0.18335982, 0.23103039],
[-0.26383763, -0.30228513, 0.05257534, -0.30135479, -0.19416094],
[0.50169006, 0.41084605, -0.20709964, 0.4081262, 0.47064499],
[0.85690669, 0.62910114, -0.42150416, 0.619198, 0.85224863],
[-0.67448662, -1.1321169, 0.2257037, -1.0830488, -0.58998158],
[-0.24488697, -0.28097606, 0.10361773, -0.28009299, -0.23163195],
[-0.39807196, -0.49524433, 0.06909688, -0.4913284, -0.27977175],
[-0.33216003, -0.39639229, 0.06221035, -0.39433499, -0.2394395],
[-0.38177713, -0.48617498, 0.19811154, -0.48147219, -0.38653296],
[-0.08027696, -0.08357483, 0.02877727, -0.08355226, -0.07184896],
[-0.36011292, -0.4494137, 0.1704529, -0.4457589, -0.35359322],
[0.22393373, 0.20272089, -0.09636476, 0.20238664, 0.21300792],
[0.01812136, 0.01797578, -0.00342167, 0.01797558, 0.01309834],
[1.0445171, 0.75843336, -0.13225875, 0.74563807, 0.66083825],
[-0.22269522, -0.25013243, 0.05856105, -0.24957055, -0.17975744],
[-0.60386461, -0.91304686, 0.15964353, -0.88754515, -0.48830011],
[0.10351565, 0.09820456, -0.09771299, 0.09815917, 0.12793758],
[0.18780321, 0.17260011, -0.07782076, 0.17239528, 0.17640484],
[0.39839468, 0.33369914, -0.35895544, 0.3319591, 0.48480363],
[-0.56902707, -0.872537, 0.31107061, -0.84651874, -0.58620782],
[0.52082414, 0.42577496, -0.16874438, 0.42290727, 0.45069269],
[-0.27582253, -0.32232201, 0.10543888, -0.32102181, -0.25221065],
[0.13055037, 0.12300944, -0.04868599, 0.12293689, 0.1183941],
[-0.70347537, -1.2040031, 0.1943892, -1.1479507, -0.57729789],
[0.31150776, 0.27687318, -0.03738351, 0.27623316, 0.19358986],
[-0.26786344, -0.30662368, 0.04423454, -0.30569231, -0.18515671],
[-0.10166485, -0.10788655, 0.12161541, -0.10782314, -0.13597323],
[-0.28141867, -0.32648367, 0.06218693, -0.32528622, -0.2143606],
[0.12675404, 0.11969532, -0.04304958, 0.11962985, 0.11142283],
[0.00564854, 0.00563403, -0.00124235, 0.00563403, 0.00429585],
[0.70315729, 0.55232744, -0.11447213, 0.54699757, 0.48373952],
[-0.57315138, -0.83876186, 0.14921006, -0.81883073, -0.46109342],
[-0.32012522, -0.38622687, 0.13072175, -0.38396798, -0.29923051],
[0.19846144, 0.18343456, -0.02536435, 0.18324517, 0.12595111],
[0.40129512, 0.33990812, -0.16938496, 0.33835163, 0.37926625],
[-0.22856924, -0.25983375, 0.10393876, -0.25912335, -0.22145273],
[-0.01674834, -0.01690274, 0.01757409, -0.0169025, -0.02144283],
[0.451725, 0.37640179, -0.17925774, 0.37432235, 0.41823341],
[-0.5069588, -0.73016766, 0.30740562, -0.7142168, -0.54062448],
[0.14639697, 0.13762086, -0.02806901, 0.13753324, 0.10635889],
[0.54156343, 0.43020691, -0.53963023, 0.42643087, 0.68151431],
[-0.00369693, -0.00370369, 0.00164843, -0.00370369, -0.00355845],
[-0.00518422, -0.0051979, 0.00293264, -0.0051979, -0.00540197],
[0.52562602, 0.42180305, -0.41413477, 0.41841804, 0.61165772],
[-0.34805066, -0.41861733, 0.0591539, -0.41624897, -0.24290294],
[0.19213086, 0.17635487, -0.07498533, 0.17613929, 0.17690231],
[0.59949237, 0.46575827, -0.68085713, 0.4608489, 0.78804516],
[-0.269149, -0.31443131, 0.12642314, -0.31316769, -0.26360119],
[-0.08055403, -0.08380109, 0.02383641, -0.08377928, -0.06763141],
[-0.52710152, -0.74389095, 0.15786241, -0.72937786, -0.44432329],
[0.23318428, 0.21130044, -0.06324005, 0.21095881, 0.19016923],
[-0.347374, -0.41668089, 0.05385617, -0.41439143, -0.23511844],
[0.73367753, 0.56669864, -0.17585896, 0.56044855, 0.57420678],
[0.17500619, 0.16226928, -0.04652948, 0.16211496, 0.14178219],
[0.94605452, 0.68612388, -0.30550686, 0.67446351, 0.81776358],
[0.50546688, 0.41903062, -0.09826981, 0.4165844, 0.36893103],
[-0.18998405, -0.20998685, 0.06278385, -0.20963655, -0.16548961],
[0.37311908, 0.31743209, -0.22857165, 0.31605411, 0.39925383],
[-0.01912069, -0.01932781, 0.02543713, -0.01932743, -0.02649527],
[0.31556855, 0.27535671, -0.14827811, 0.27450587, 0.30909939],
[0.39197774, 0.33229297, -0.19381106, 0.33078654, 0.39052046],
[-0.6211055, -0.94356796, 0.13609918, -0.91661946, -0.47177916],
[-0.39929942, -0.51206168, 0.16883709, -0.50681948, -0.37759979],
[-0.50640822, -0.68089631, 0.08212162, -0.6710497, -0.34793357],
[-0.05687068, -0.05829852, 0.00664011, -0.05829255, -0.03502091],
[-0.14211899, -0.15451163, 0.14617386, -0.15433177, -0.1807457],
[-0.20880173, -0.23566553, 0.13577928, -0.23509118, -0.22791726],
[-0.12352715, -0.13063606, 0.01541625, -0.13056792, -0.07777581],
[-0.43868933, -0.59652185, 0.33072572, -0.58723422, -0.50304176],
[-0.29153569, -0.3398282, 0.05973137, -0.33850118, -0.21654026],
[0.13964675, 0.13118796, -0.04536704, 0.13110264, 0.12095134],
[-0.03966402, -0.04042777, 0.01176078, -0.04042532, -0.0333237],
[0.75850883, 0.58647238, -0.12878309, 0.58005447, 0.52917993],
[0.15005071, 0.14060256, -0.03747029, 0.14050349, 0.11905046],
[-0.68233406, -1.0671377, 0.09382966, -1.0323789, -0.44373267],
[-0.27654892, -0.3235601, 0.10951834, -0.32223473, -0.25587052],
[-0.28516153, -0.33071434, 0.05497475, -0.32950686, -0.2075511],
[-0.26369445, -0.30841731, 0.15767347, -0.30715932, -0.27989612],
[0.3169408, 0.27673987, -0.13613017, 0.27589314, 0.30128688],
[1.0952246, 0.78043927, -0.18254339, 0.76570135, 0.75939459],
[0.13669411, 0.12921327, -0.01984136, 0.12914508, 0.0905108],
[0.330727, 0.28661029, -0.16907958, 0.28563349, 0.33318605],
[-0.63230002, -0.9027777, 0.04523618, -0.88397517, -0.33071515],
[-0.52766834, -0.77382029, 0.29878069, -0.75523288, -0.55000698],
[-0.05007151, -0.05137913, 0.02586399, -0.05137344, -0.05061769],
[-0.42531462, -0.5499931, 0.12801344, -0.54398146, -0.35911653],
[-0.1297289, -0.13839983, 0.03563857, -0.13830332, -0.10625301],
[-0.21443397, -0.24183356, 0.10423078, -0.24125174, -0.2124244],
[0.46625586, 0.38202951, -0.3615271, 0.3795137, 0.53968434],
[1.2041013, 0.79553721, -1.1263728, 0.7732085, 1.4836999],
[-0.26296011, -0.30456318, 0.09809341, -0.30347089, -0.23849715],
[-0.31697151, -0.37666494, 0.07536004, -0.37480244, -0.24740237],
[-0.22314465, -0.2540796, 0.13911348, -0.25336724, -0.24017293],
[-0.31576921, -0.38059817, 0.14030666, -0.37839529, -0.30358662],
[-0.35073082, -0.4215313, 0.05400701, -0.4191653, -0.23685142],
[-0.09403073, -0.09858561, 0.03256135, -0.09854885, -0.08319374],
[-0.27935476, -0.32542194, 0.08138768, -0.3241617, -0.23332805],
[-0.62213469, -0.92903391, 0.1052494, -0.90459631, -0.43351702],
[-0.14938662, -0.16149883, 0.05493428, -0.16133536, -0.1348442],
[-0.20664992, -0.23418287, 0.19152947, -0.23357339, -0.25385089],
[-0.26586532, -0.30991069, 0.12496911, -0.30870023, -0.26044659],
[-0.25807377, -0.29778868, 0.09331687, -0.29677423, -0.23164662],
[-0.30314598, -0.36319764, 0.15247232, -0.36122789, -0.30374435],
[0.24775518, 0.22381456, -0.05283603, 0.22342979, 0.18649558],
[-0.24843365, -0.28577432, 0.1066353, -0.28484257, -0.23611157],
[-0.70001612, -1.1721137, 0.16366661, -1.1217738, -0.5433363],
[-0.16368619, -0.1785629, 0.06550496, -0.1783379, -0.15197638],
[-0.22438792, -0.25222303, 0.0580311, -0.25164911, -0.18012055],
[1.4120916, 0.91321611, -0.61659021, 0.88493049, 1.3497421],
[-0.08394263, -0.08770191, 0.04174102, -0.08767387, -0.08378882],
[0.11246524, 0.10698612, -0.0304348, 0.10694165, 0.09165279],
[0.73968257, 0.56947986, -0.19038664, 0.56304099, 0.59281486],
[1.4090884, 0.91290803, -0.5933184, 0.88485893, 1.3306528],
[-0.2440235, -0.28366336, 0.21559238, -0.28259501, -0.29501374],
[-0.24924191, -0.28846526, 0.14492164, -0.28744088, -0.26210086],
[-0.24698227, -0.28058286, 0.05372172, -0.27982347, -0.18714167],
[-0.45857664, -0.62671937, 0.25786659, -0.61664209, -0.47688791],
[-0.61800719, -1.0276645, 0.41359248, -0.98467025, -0.68107755],
[-0.39285108, -0.49992802, 0.15444424, -0.4951199, -0.36259282],
[-0.40121812, -0.53012827, 0.35290152, -0.52333129, -0.48433762],
[-0.54848998, -0.78129082, 0.13547929, -0.76522807, -0.43359084],
[-0.42025715, -0.56786194, 0.4070682, -0.55937626, -0.52389284],
[0.34029902, 0.29960747, -0.04043193, 0.29879914, 0.21077801],
[-0.80333773, -1.5357323, 0.16225583, -1.433301, -0.59384834],
[0.35708367, 0.31125712, -0.05966209, 0.31028061, 0.24779325],
[-0.5847827, -0.85951985, 0.13601524, -0.83863343, -0.45310849],
[-0.40549831, -0.53574142, 0.32356278, -0.52887632, -0.473866],
[-0.40787468, -0.51196956, 0.0756231, -0.50758728, -0.29303038],
[0.0808268, 0.07791694, -0.02345714, 0.07789948, 0.06742257],
[0.11103542, 0.10540773, -0.04950461, 0.10536021, 0.10687257],
[-0.15895282, -0.17356782, 0.09076858, -0.1733442, -0.16615013],
[-0.48207555, -0.64863346, 0.1236818, -0.63920946, -0.38594196],
[-0.41828669, -0.54416709, 0.17141096, -0.53793991, -0.39144633],
[-0.25512486, -0.2982931, 0.20198933, -0.29708165, -0.29736372],
[-0.37029916, -0.46148307, 0.13034527, -0.45777687, -0.32941516],
[0.47744139, 0.39992459, -0.08417699, 0.39784011, 0.33730376],
[-0.00934437, -0.00938289, 0.00143207, -0.00938286, -0.00630035],
[-0.02772804, -0.02810658, 0.0100532, -0.02810572, -0.02491098],
[-0.10725828, -0.11332995, 0.04162304, -0.1132727, -0.09856933],
[-0.59832789, -0.92792556, 0.24138858, -0.89880156, -0.55702549],
[-0.57759115, -0.85775157, 0.17569523, -0.83579705, -0.4894147],
[-0.33794661, -0.40552683, 0.06817076, -0.40328937, -0.24971317],
[-0.62978867, -1.0370275, 0.32123178, -0.99525298, -0.6339856],
[-0.68597933, -1.1991312, 0.28782311, -1.1389871, -0.64703221],
[-0.49037436, -0.67011574, 0.15054169, -0.65934682, -0.41678694],
[0.55890967, 0.45229089, -0.16472336, 0.44893128, 0.46862216],
[0.32741952, 0.28625396, -0.09524658, 0.28539446, 0.27333558],
[-0.35087844, -0.43207793, 0.13403453, -0.42897309, -0.32076479],
[1.5813168, 0.97846186, -0.93921735, 0.94187025, 1.6747293],
[-0.44018906, -0.55989131, 0.06126661, -0.55452844, -0.28741589],
[0.06129037, 0.05954432, -0.02349401, 0.05953603, 0.05609497],
[-0.46163541, -0.60840753, 0.10801341, -0.60074747, -0.35840053],
[-0.29875723, -0.36047311, 0.2278336, -0.3583632, -0.34389686],
[1.4552584, 0.95668254, -0.2900742, 0.92919281, 1.0710419],
[0.53780487, 0.43727525, -0.17474037, 0.43416999, 0.46582655],
[0.41170242, 0.34757772, -0.16990823, 0.34592261, 0.38619243],
[-0.12477915, -0.13336909, 0.06188318, -0.13327062, -0.12444064],
[-0.35026659, -0.42755531, 0.09928534, -0.42473541, -0.28989286],
[-0.49730549, -0.6883825, 0.17444435, -0.67640159, -0.44188691],
[-0.20168938, -0.22264205, 0.03508153, -0.22227998, -0.14184854],
[-0.3716121, -0.4675208, 0.17101449, -0.46343851, -0.36147717],
[0.10483886, 0.09985598, -0.04200895, 0.09981653, 0.09738053],
[-0.31658804, -0.37002846, 0.03532148, -0.36853229, -0.19202272],
[-0.47864818, -0.68117839, 0.39635932, -0.66724558, -0.5663053],
[-0.62571462, -1.0136703, 0.28378283, -0.97539099, -0.60569814],
[-0.43625711, -0.56745388, 0.1219175, -0.56096812, -0.35935776],
[-0.3768037, -0.50466399, 0.80072945, -0.49755497, -0.61035434],
[1.0621417, 0.75963392, -0.20403967, 0.74559242, 0.77215265],
[0.0328903, 0.03226835, -0.07481728, 0.03226639, 0.05449908],
[-0.17185771, -0.18674733, 0.03037659, -0.18653262, -0.12151663],
[0.0236511, 0.02340173, -0.00486029, 0.02340129, 0.01758457],
[-0.43862113, -0.57065469, 0.11743041, -0.56412149, -0.35617482],
[0.46269548, 0.38383737, -0.19158832, 0.38161295, 0.43450674],
[0.18951731, 0.17559938, -0.02694152, 0.17542923, 0.12461872],
[-0.32747899, -0.41462936, 0.5704933, -0.41080661, -0.49645796],
[0.25758844, 0.23049773, -0.09449579, 0.23002404, 0.23232632],
[0.31758568, 0.27759082, -0.12377705, 0.2767544, 0.2922788],
[-0.34218485, -0.42648063, 0.24580193, -0.423053, -0.38611109],
[-0.4088183, -0.51638855, 0.09005913, -0.51172227, -0.3110805],
[-0.80521678, -1.4050351, 0.07860527, -1.335001, -0.46712786],
[-0.8546913, -2.0223329, 0.29883109, -1.7923761, -0.75862086],
[0.69311103, 0.53298743, -0.33765129, 0.52690642, 0.6871233],
[1.1947123, 0.81219341, -0.47164122, 0.7923775, 1.1042214],
[-0.40009891, -0.49501237, 0.0551297, -0.49129354, -0.26036552],
[-0.4081933, -0.521855, 0.12978439, -0.5166433, -0.35101693],
[-0.45795604, -0.64026731, 0.40870837, -0.62843877, -0.55551659],
[0.08164061, 0.07866174, -0.02459797, 0.07864363, 0.06895735],
[-0.04035683, -0.04125175, 0.03510488, -0.04124844, -0.04853747],
[0.14532344, 0.13313101, -0.87268265, 0.13296079, 0.33280197],
[-0.50026008, -0.68636627, 0.13933804, -0.67505498, -0.41162063],
[0.57392939, 0.47021874, -0.06886095, 0.46711995, 0.35664815],
[-0.73827282, -1.4743277, 0.4215619, -1.3630265, -0.77168792],
[-0.58281782, -0.84274163, 0.1075697, -0.82393788, -0.41808238],
[-0.00065633, -0.00065654, 0.00029299, -0.00065654, -0.00063199],
[0.75288704, 0.57253124, -0.28254898, 0.56543741, 0.68421794],
[-0.29174285, -0.34598048, 0.13379398, -0.34430968, -0.28345819],
[-0.01213181, -0.01219526, 0.00148818, -0.0121952, -0.00759473],
[1.1875734, 0.80992775, -0.44442331, 0.79048795, 1.0782412],
[-0.59310681, -0.94491404, 0.35995501, -0.91160125, -0.63267598],
[-0.49983984, -0.69911699, 0.2045385, -0.68616942, -0.46754376],
[-0.43655652, -0.55970174, 0.08213568, -0.55398313, -0.31517198],
[0.06577544, 0.06384116, -0.01799947, 0.06383169, 0.0538029],
[0.65614772, 0.51896186, -0.14355175, 0.51423367, 0.49813522],
[-0.73470229, -1.2324181, 0.11317359, -1.1791277, -0.4962105],
[-0.45860398, -0.61939807, 0.20045514, -0.61016967, -0.43850473],
[-0.35747689, -0.4564202, 0.36142831, -0.45190998, -0.45204607],
[0.56119242, 0.44767566, -0.33020406, 0.4438875, 0.59248679],
[0.63886023, 0.49972097, -0.29988187, 0.49473085, 0.6255528],
[0.22006193, 0.19891531, -0.12866661, 0.19857732, 0.23184367],
[-0.70226265, -1.2038878, 0.20010291, -1.1475115, -0.58222946],
[0.31365132, 0.27515623, -0.10312727, 0.27437149, 0.27275073],
[-0.25744216, -0.29712234, 0.09625626, -0.29610719, -0.23367169],
[0.2909643, 0.25914074, -0.05412012, 0.25856219, 0.20926152],
[1.448869, 0.96127786, -0.22405255, 0.93483027, 0.97981942],
[-0.63537241, -0.98650244, 0.1514761, -0.95538216, -0.49637542],
[0.06547446, 0.06338746, -0.03991762, 0.06337638, 0.06994868],
[-0.45136775, -0.59744329, 0.14350211, -0.58968686, -0.38813527],
[-0.18090053, -0.19645099, 0.01893559, -0.1962285, -0.10741448],
[-0.01422981, -0.01433352, 0.00801671, -0.0143334, -0.01480726],
[-0.28676242, -0.33361277, 0.06176315, -0.33234288, -0.2165715],
[-0.03810031, -0.0389361, 0.05062011, -0.03893305, -0.05277198],
[-0.45690859, -0.60877016, 0.15199966, -0.60049491, -0.39888137],
[0.49643102, 0.41044933, -0.13213891, 0.4079852, 0.40233967],
[-0.52586306, -0.76036553, 0.24477965, -0.74340229, -0.51347213],
[-0.5924395, -0.87061468, 0.12222478, -0.8494784, -0.44105467],
[0.28472938, 0.25311973, -0.07550306, 0.25253648, 0.23047281],
[-0.80915386, -1.5112437, 0.13010558, -1.4172483, -0.5543653],
[-0.34930171, -0.42981181, 0.13533621, -0.42674549, -0.32083505],
[0.27165529, 0.24119811, -0.1222478, 0.24063059, 0.26228239],
[-0.591751, -0.94386109, 0.3716657, -0.91042169, -0.63848911],
[0.48929003, 0.40475457, -0.1440689, 0.40233778, 0.41012004],
[-0.3686661, -0.47023772, 0.27450567, -0.46562852, -0.42100046],
[0.0078351, 0.00780773, -0.00146312, 0.00780771, 0.00564243],
[1.2654177, 0.83530349, -0.77888165, 0.8117597, 1.356198],
[0.39521216, 0.3377571, -0.10694825, 0.33637183, 0.32207333],
[-0.49057537, -0.67009995, 0.14870434, -0.65936082, -0.4151978],
[-0.19877268, -0.22288743, 0.12935537, -0.22240111, -0.21702475],
[-0.58216871, -0.87924513, 0.21055823, -0.85481939, -0.52259668],
[-0.2297186, -0.25718772, 0.03643411, -0.25664167, -0.15666675],
[-0.31661211, -0.37751449, 0.08802402, -0.37557404, -0.26035269],
[-0.27206636, -0.32236391, 0.22499123, -0.32082303, -0.32174744],
[0.16440459, 0.15357079, -0.02835786, 0.15345192, 0.11530384],
[0.00103929, 0.0010388, -0.00021298, 0.0010388, 0.00077199],
[-0.33083111, -0.39558536, 0.06980408, -0.39348639, -0.24814632],
[-0.12046646, -0.12864033, 0.07287372, -0.12854797, -0.12836435],
[-0.43725155, -0.55670313, 0.06651499, -0.55132732, -0.29408356],
[-0.3054157, -0.35349905, 0.02859342, -0.35224275, -0.17472684],
[1.1598261, 0.80217503, -0.33297464, 0.78428477, 0.96399688],
[-0.59378871, -0.8659557, 0.10641497, -0.84574523, -0.42179251],
[0.05247017, 0.05130234, -0.00809786, 0.051298, 0.03546024],
[0.70684525, 0.55549519, -0.1072906, 0.55015624, 0.47505816],
[0.31151861, 0.27466035, -0.07308972, 0.27393582, 0.24207582],
[-0.6991559, -1.3535436, 0.53619384, -1.2598869, -0.80630612],
[0.03458053, 0.0339866, -0.0205769, 0.0339849, 0.03664582],
[0.82682948, 0.60682106, -0.56819092, 0.59724861, 0.919289],
[-0.10284804, -0.10861681, 0.0539691, -0.10856291, -0.10451752],
[-0.3197203, -0.38921434, 0.18637731, -0.38671619, -0.33650213],
[0.97145615, 0.70037602, -0.30919677, 0.68803492, 0.83567443],
[0.0025278, 0.00252482, -0.0006883, 0.00252482, 0.00206426],
[0.05788055, 0.05636685, -0.01664403, 0.05636025, 0.04813392],
[-0.52883627, -0.73940217, 0.1293742, -0.7257381, -0.41671588],
[-0.39248162, -0.48165016, 0.04845533, -0.47830192, -0.24622761],
[-0.3925012, -0.51354987, 0.33019403, -0.50741698, -0.46683176],
[-0.56031347, -0.81448204, 0.16065483, -0.79579414, -0.46550959],
[0.22330768, 0.2037657, -0.04331321, 0.20348115, 0.1628618],
[1.2671633, 0.85776025, -0.33976017, 0.83637302, 1.029491],
[-0.43456787, -0.5717868, 0.1681824, -0.56467313, -0.39900217],
[-0.24206258, -0.28093407, 0.21175835, -0.27989831, -0.29168132],
[-0.42873818, -0.5629535, 0.1780476, -0.55605376, -0.40301091],
[-0.49242361, -0.6598997, 0.09536759, -0.65056734, -0.35895184],
[0.13989783, 0.13073676, -0.09689245, 0.13063687, 0.1559483],
[0.7407564, 0.55949554, -0.42875698, 0.55221846, 0.77779296],
[-0.18645751, -0.20665062, 0.09067891, -0.2062869, -0.18474187],
[-0.55840691, -0.85765763, 0.36963806, -0.8318906, -0.61315379],
[0.31715448, 0.27514663, -0.21852665, 0.27422302, 0.35293281],
[-0.7165565, -1.2868527, 0.25484644, -1.2161667, -0.63964128],
[0.974585, 0.69060403, -0.56893569, 0.67713489, 1.0262288],
[-0.32192358, -0.38577559, 0.09508929, -0.38367856, -0.27011937],
[-0.5998119, -0.89087792, 0.13017601, -0.86805931, -0.45414761],
[0.43858688, 0.3659991, -0.20787794, 0.3640099, 0.43084054],
[-0.15953623, -0.17482537, 0.12207043, -0.17458157, -0.18384551],
[-0.25385373, -0.2911425, 0.07588293, -0.29023302, -0.21385221],
[-0.39446492, -0.49894205, 0.12492114, -0.49438067, -0.33876165],
[0.0306346, 0.03018139, -0.01370242, 0.03018027, 0.02951779],
[1.4738252, 0.93933028, -0.68459262, 0.90830075, 1.4380855],
[-0.29050831, -0.34106826, 0.08722709, -0.33960921, -0.24509409],
[0.59850856, 0.47340936, -0.29846146, 0.46909894, 0.59797954],
[2.4104501, 1.2709452, -2.3575449, 1.1881433, 3.0145935],
[-0.67469976, -1.0052526, 0.05320747, -0.97910221, -0.36453668],
[-0.46940231, -0.66813162, 0.46465258, -0.65445295, -0.58940833],
[-0.27271976, -0.32287399, 0.2127947, -0.32134546, -0.3163307],
[-0.35825387, -0.45985633, 0.41275096, -0.45511323, -0.47318753],
[0.18800499, 0.17256188, -0.08955579, 0.17235077, 0.18499251],
[0.15566192, 0.1440027, -0.15870237, 0.14385733, 0.19739041],
[-0.39539076, -0.49323855, 0.07964831, -0.48924201, -0.29202489],
[0.59827041, 0.48136068, -0.12866286, 0.47758885, 0.4516057],
[0.00012764, 0.00012763, -5.284e-05, 0.00012763, 0.00011986],
[-0.60613341, -0.91044242, 0.14108794, -0.88580433, -0.46977018],
[0.14661279, 0.13790178, -0.02540357, 0.13781558, 0.10298078],
[1.1334289, 0.79676324, -0.22650754, 0.78050387, 0.83489861],
[-0.2907386, -0.33234446, 0.02116708, -0.33135568, -0.15295562],
[0.37710646, 0.3241227, -0.1058066, 0.32288766, 0.31104524],
[-0.02883914, -0.02924234, 0.0090557, -0.0292414, -0.0246967],
[-0.02005801, -0.02024287, 0.00414231, -0.02024259, -0.01493767],
[0.23177615, 0.21016051, -0.06218017, 0.20982518, 0.1883388],
[0.76446302, 0.58331524, -0.21613315, 0.57626475, 0.6321519],
[-0.48101958, -0.66892298, 0.24911215, -0.65695167, -0.48668744],
[-0.04201194, -0.04284543, 0.00963797, -0.04284267, -0.03240313],
[0.18774025, 0.17117493, -0.18893547, 0.17093174, 0.23703879],
[0.74734106, 0.56677162, -0.33648461, 0.55961035, 0.72167938],
[-0.6591305, -1.0723949, 0.19621188, -1.0311942, -0.55449721],
[-0.22167818, -0.24704873, 0.03470137, -0.24656593, -0.15052461],
[0.04388406, 0.04306384, -0.00668581, 0.04306129, 0.02953016],
[-0.22977463, -0.26124438, 0.1006082, -0.2605284, -0.21983112],
[-0.51127357, -0.75846885, 0.45884498, -0.73915675, -0.62134702],
[-0.19452091, -0.21545657, 0.06160036, -0.21508181, -0.16705082],
[0.58082574, 0.4560683, -0.53736887, 0.45165396, 0.71306875],
[0.28466945, 0.2499898, -0.2065418, 0.24928803, 0.32228485],
[0.14022023, 0.13136471, -0.06636631, 0.13127158, 0.13767857],
[-0.39441849, -0.54777294, 1.1885606, -0.53804669, -0.71777547],
[-0.2854344, -0.33754261, 0.14041345, -0.33596604, -0.28389023],
[-0.10232612, -0.10792736, 0.04591567, -0.10787629, -0.09870094],
[-0.22298031, -0.24819432, 0.03019943, -0.24772022, -0.14427373],
[-0.49189513, -0.65191499, 0.07435375, -0.64337513, -0.33013581],
[0.54129734, 0.44473221, -0.09421088, 0.44188313, 0.38077428],
[-0.3141839, -0.38136968, 0.19219353, -0.37899305, -0.33603064],
[0.52910353, 0.42971918, -0.21126421, 0.42663465, 0.49088423],
[-0.62464995, -0.97954638, 0.19663399, -0.94726566, -0.53536996],
[0.75256547, 0.56658394, -0.4322483, 0.55904583, 0.78816526],
[-0.55772974, -0.84573248, 0.31387839, -0.82178593, -0.58015808],
[0.15164157, 0.14298332, -0.01310932, 0.14290099, 0.08447903],
[0.0153214, 0.01520807, -0.00617892, 0.01520793, 0.01426198],
[0.47089409, 0.38773578, -0.25429813, 0.38530659, 0.48314024],
[-0.05675135, -0.0582369, 0.00969293, -0.05823042, -0.03967155],
[0.11061595, 0.10520062, -0.03643206, 0.10515646, 0.09624609],
[0.01416898, 0.01406766, -0.00848756, 0.01406754, 0.01504862],
[-0.24161691, -0.27095853, 0.02734499, -0.27036622, -0.1472496],
[0.01455121, 0.0144392, -0.0134194, 0.01443906, 0.01784516],
[0.46859083, 0.3934604, -0.08443875, 0.39146497, 0.33346719],
[-0.22719214, -0.25977519, 0.15469994, -0.25899916, -0.25182697],
[0.15358846, 0.14319541, -0.06368345, 0.14307831, 0.1442972],
[0.3556438, 0.31156832, -0.04197952, 0.31066111, 0.21980252],
[0.17859891, 0.16500587, -0.0621345, 0.16483366, 0.15826084],
[-0.37956082, -0.48827711, 0.27626347, -0.48315254, -0.43016864],
[0.3731618, 0.31932929, -0.15510458, 0.31804123, 0.35087276],
[-0.18786051, -0.208419, 0.0925445, -0.20804484, -0.18693209],
[0.81327041, 0.60721746, -0.32707028, 0.59866332, 0.75633409],
[-0.16706276, -0.18441847, 0.15832612, -0.18411855, -0.20675084],
[0.94132863, 0.70605769, -0.08417635, 0.69641767, 0.53035606],
[-0.33784023, -0.41811617, 0.21561216, -0.41496577, -0.366473],
[-0.13640498, -0.14617173, 0.04176048, -0.14605529, -0.11582935],
[1.6127625, 1.014966, -0.48695071, 0.97957604, 1.3631761],
[-0.53208943, -0.78188964, 0.28847348, -0.76291209, -0.54664039],
[1.6146371, 1.0290688, -0.32997947, 0.99507393, 1.1982725],
[-0.77581268, -1.3487554, 0.10245997, -1.2823816, -0.49777452],
[-0.49310456, -0.7287983, 0.57941269, -0.71058407, -0.65558954],
[0.1963589, 0.18089863, -0.0410606, 0.18069602, 0.14684262],
[-0.69517518, -1.2632614, 0.3566579, -1.1911621, -0.7011702],
[-0.03665689, -0.03735259, 0.01946688, -0.03735039, -0.03740066],
[-0.09244805, -0.09707926, 0.04940959, -0.09704061, -0.09452476],
[-0.31164636, -0.3733888, 0.12230389, -0.37136336, -0.28747371],
[-0.1985375, -0.22173589, 0.09819529, -0.22128522, -0.19781926],
[-0.26318965, -0.31195439, 0.29793548, -0.31045717, -0.34559168],
[-0.34121537, -0.41643027, 0.12159344, -0.41368879, -0.30478887],
[-0.30756931, -0.37637527, 0.30765907, -0.37383066, -0.38755074],
[-0.19443444, -0.21632326, 0.08733718, -0.21591349, -0.18761109],
[-0.54927006, -0.77451596, 0.11179131, -0.75947913, -0.40707082],
[-0.13259001, -0.14222483, 0.05905857, -0.14210826, -0.1275787],
[0.13708588, 0.12851652, -0.07184424, 0.12842731, 0.13925233],
[-0.12015573, -0.12784866, 0.04628493, -0.12776663, -0.11015043],
[-0.36949224, -0.44524532, 0.0395459, -0.44267477, -0.22102804],
[0.70993199, 0.54609802, -0.27478998, 0.53988256, 0.6518607],
[0.77662021, 0.58105767, -0.43460627, 0.5729868, 0.80633304],
[-0.54946963, -0.91417902, 1.0649076, -0.87585537, -0.86313045],
[0.02407643, 0.02380893, -0.0068007, 0.02380844, 0.01990318],
[0.29569801, 0.25968919, -0.1517248, 0.25896081, 0.29825962],
[-0.368871, -0.46224996, 0.16047575, -0.45835003, -0.35215145],
[0.52276536, 0.42167726, -0.33247035, 0.41844923, 0.56641164],
[-0.44749152, -0.63940798, 0.72845226, -0.62603375, -0.66323419],
[-0.65579296, -1.0719928, 0.2150347, -1.0300301, -0.56975833],
[-0.6022482, -0.93903725, 0.24527004, -0.90885475, -0.56243868],
[0.4680247, 0.38561959, -0.25765354, 0.38321946, 0.48328267],
[0.16268144, 0.15218796, -0.02493842, 0.15207525, 0.10969622],
[0.19373071, 0.17705278, -0.11399762, 0.17681387, 0.20453811],
[0.19253084, 0.17717772, -0.05471559, 0.17697395, 0.15948282],
[-0.47507919, -0.64150947, 0.15042388, -0.63196539, -0.40796816],
[0.30893445, 0.26958626, -0.17485314, 0.26875407, 0.3219675],
[0.95742478, 0.68410067, -0.48450958, 0.67138558, 0.96127408],
[-0.00020088, -0.0002009, 4.746e-05, -0.0002009, -0.00015646],
[-0.41655101, -0.53772901, 0.14433722, -0.5319297, -0.36862227],
[0.69049373, 0.5340279, -0.26978312, 0.52819607, 0.63599653],
[-0.19829589, -0.2207681, 0.07851276, -0.22034462, -0.18345627],
[-0.34670537, -0.41593531, 0.05499794, -0.41364655, -0.23646445],
[-0.37843404, -0.47587802, 0.14570374, -0.47173978, -0.34686491],
[-0.08398264, -0.08753776, 0.02584999, -0.08751269, -0.07144248],
[0.76964305, 0.57764319, -0.41079793, 0.56979036, 0.78658498],
[0.03622165, 0.03556509, -0.02337097, 0.03556311, 0.03943493],
[-0.26755896, -0.31635395, 0.23388636, -0.31487911, -0.322323],
[-0.01255189, -0.0126362, 0.01056077, -0.01263611, -0.01492959],
[-0.30845422, -0.36666675, 0.09509106, -0.36484664, -0.26253288],
[1.338161, 0.87983412, -0.56482266, 0.85457017, 1.2646964],
[-0.33926235, -0.41223079, 0.10806819, -0.40963487, -0.29192172],
[-0.15645295, -0.16877968, 0.03016566, -0.16861799, -0.1138772],
[-0.20904858, -0.23396862, 0.0756621, -0.23347476, -0.18770144],
[-0.44183262, -0.59607991, 0.26353094, -0.58726416, -0.46858932],
[0.19758775, 0.18025388, -0.11825369, 0.18000086, 0.20979167],
[-0.36086085, -0.44873655, 0.14915824, -0.44520369, -0.33867691],
[-0.02459151, -0.02489064, 0.00947921, -0.02489003, -0.02254884],
[-0.70225898, -1.1268567, 0.10123357, -1.0859291, -0.46392707],
[0.16521037, 0.15188618, -0.2088498, 0.15170734, 0.22506755],
[1.1967308, 0.81044147, -0.5290354, 0.79027901, 1.1486011],
[0.14631725, 0.13723089, -0.03995947, 0.13713693, 0.11960433],
[-0.07734385, -0.08035544, 0.02459876, -0.0803359, -0.06651684],
[-0.64371163, -1.0402404, 0.22002504, -1.0013503, -0.56705903],
[1.5524088, 0.97495273, -0.70290097, 0.94065939, 1.5019153],
[-0.28060654, -0.32433074, 0.05227474, -0.32319997, -0.20191681],
[-0.40252318, -0.52402258, 0.23730785, -0.51799455, -0.42524703],
[0.19208406, 0.17463573, -0.21253742, 0.17437205, 0.25031258],
[-0.44132255, -0.56914823, 0.0885403, -0.56305679, -0.32550755],
[0.84461867, 0.6380791, -0.14874639, 0.62979241, 0.59648464],
[0.43705352, 0.37012395, -0.08664179, 0.36842511, 0.32107677],
[-0.41079452, -0.52282583, 0.10842605, -0.51779244, -0.33199966],
[-0.09970087, -0.10475503, 0.02981724, -0.10471235, -0.08400371],
[-0.30064167, -0.3554778, 0.09212965, -0.35382014, -0.25537356],
[-0.85525691, -1.8855153, 0.219699, -1.7025483, -0.68498925],
[1.1113579, 0.77408623, -0.36683635, 0.7574659, 0.96769112],
[-0.44689844, -0.59398737, 0.17145775, -0.58604801, -0.40913654],
[0.20610637, 0.18756321, -0.10950147, 0.18728566, 0.21031856],
[0.55131358, 0.44116271, -0.32611823, 0.43753094, 0.58308807],
[-0.17439685, -0.19111203, 0.05991796, -0.19084547, -0.15389391],
[-0.013729, -0.0138198, 0.00449467, -0.0138197, -0.01192162],
[-0.63042134, -0.99667387, 0.20170184, -0.96265864, -0.54325102],
[-0.62553683, -0.9774335, 0.18596994, -0.9457211, -0.52600859],
[-0.28148494, -0.3432292, 0.54867406, -0.34098958, -0.44301481],
[0.17822118, 0.16438191, -0.07745754, 0.16420303, 0.17008687],
[-0.36264389, -0.44273912, 0.075674, -0.43981411, -0.27100615],
[-0.08051297, -0.08340306, 0.00892393, -0.08338577, -0.04872733],
[-0.45501394, -0.63376352, 0.40062633, -0.6223134, -0.54946449],
[-0.18714207, -0.20608581, 0.05220646, -0.20576681, -0.15406324],
[0.43589437, 0.36399211, -0.20999187, 0.36202815, 0.43052495],
[-0.21860384, -0.24612779, 0.07998934, -0.24555183, -0.19699683],
[0.63163106, 0.47671587, -1.5831303, 0.47048265, 1.0809971],
[0.27460516, 0.2445488, -0.08665917, 0.24400198, 0.23555228],
[0.01103839, 0.01098239, -0.00276905, 0.01098235, 0.00877117],
[-0.46884904, -0.63417799, 0.17350826, -0.6246366, -0.42410371],
[-0.60840711, -0.91799413, 0.1460026, -0.89260785, -0.47635023],
[0.27226217, 0.24193171, -0.11211278, 0.24137013, 0.25520347],
[0.56206722, 0.45804978, -0.10865281, 0.45486822, 0.40946409],
[2.2574775, 1.2763903, -0.66359112, 1.2097591, 1.8911493],
[0.45320571, 0.37170034, -0.42998167, 0.36927644, 0.56107841],
[0.42725895, 0.36167879, -0.10665048, 0.36001042, 0.33894174],
[0.00697976, 0.00695695, -0.00202444, 0.00695693, 0.00582111],
[-0.70044707, -1.2553482, 0.30065116, -1.1868559, -0.66570401],
[-0.48982143, -0.67466904, 0.17847675, -0.66327803, -0.4407873],
[0.15351535, 0.14273853, -0.09234347, 0.14261257, 0.16327258],
[-0.43391792, -0.57738764, 0.22288376, -0.56960922, -0.43783237],
[-0.54102287, -0.75076049, 0.0933284, -0.73749592, -0.37945332],
[-0.63054991, -0.95239523, 0.11130689, -0.92592675, -0.44565317],
[-0.04260425, -0.04347693, 0.01139051, -0.04347395, -0.0345801],
[0.26530286, 0.23776463, -0.06493007, 0.23728936, 0.20908357],
[-0.51412507, -0.72472348, 0.18861556, -0.71067954, -0.46371203],
[0.34446129, 0.29870085, -0.11665038, 0.29769178, 0.30250484],
[-0.29797033, -0.34568092, 0.03933844, -0.3444133, -0.19116032],
[-0.60360127, -0.9037539, 0.139343, -0.87967138, -0.46652166],
[0.40768739, 0.34950269, -0.06766524, 0.34812523, 0.28228213],
[-0.37466846, -0.4792952, 0.26222624, -0.47448427, -0.41911526],
[-0.46921854, -0.64741377, 0.26058549, -0.63636552, -0.48593351],
[-0.56433279, -0.85554398, 0.2847436, -0.83134645, -0.56604572],
[-0.08634594, -0.09071815, 0.09333165, -0.09068127, -0.11164714],
[-0.02003637, -0.02024106, 0.01041608, -0.02024071, -0.0202982],
[0.59132009, 0.47419447, -0.16713741, 0.47036531, 0.48893333],
[-0.46173172, -0.5978794, 0.06874143, -0.59127716, -0.30832542],
[-0.58402034, -0.85039333, 0.11854149, -0.83070586, -0.43243294],
[-0.55914576, -0.8353297, 0.24877737, -0.8133109, -0.53781178],
[0.44547946, 0.36764891, -0.34860404, 0.36539922, 0.51721676],
[-0.26127152, -0.30681979, 0.20622582, -0.30550317, -0.30421857],
[-0.61504732, -0.97835053, 0.26432744, -0.9440826, -0.58478528],
[0.08355641, 0.08052772, -0.01918686, 0.08050943, 0.06446606],
[-0.40578931, -0.53826007, 0.35378452, -0.53116637, -0.48841614],
[-0.35961484, -0.43178716, 0.04249367, -0.42938916, -0.22233602],
[-0.38258441, -0.47359501, 0.08030352, -0.47001936, -0.28646597],
[0.89314566, 0.66428211, -0.18076181, 0.65467732, 0.66068395],
[0.27105607, 0.24028062, -0.14248256, 0.23969994, 0.2756153],
[-0.40391258, -0.50923, 0.09366305, -0.504702, -0.31264946],
[-0.23916345, -0.27116805, 0.06147544, -0.27045649, -0.1915904],
[-0.33892144, -0.41893695, 0.20154034, -0.41581661, -0.35908452],
[0.15639155, 0.1463535, -0.03254967, 0.14624621, 0.11677084],
[0.29300078, 0.25715597, -0.17167031, 0.2564276, 0.30890214],
[-0.05759414, -0.05909465, 0.0082698, -0.05908813, -0.03799799],
[0.4806042, 0.39766338, -0.16403827, 0.39529483, 0.42317185],
[0.81670299, 0.60790134, -0.3583561, 0.59915753, 0.78191167],
[0.30851868, 0.27094305, -0.10821653, 0.27018287, 0.27413354],
[0.57166398, 0.45582386, -0.29121752, 0.45195147, 0.57523202],
[-0.4046238, -0.53201139, 0.29259045, -0.52542633, -0.45757715],
[-0.24679736, -0.2798083, 0.0476481, -0.2790747, -0.1797155],
[0.79474976, 0.59957038, -0.25654982, 0.59170708, 0.68689049],
[-0.20744948, -0.23045703, 0.04637853, -0.23003268, -0.15863191],
[0.21771334, 0.19694262, -0.13002563, 0.19661302, 0.23099877],
[0.78607735, 0.60277702, -0.13957481, 0.59575277, 0.55665896],
[-0.61240994, -0.96393736, 0.24113132, -0.9316551, -0.56553049],
[-0.34004814, -0.42724245, 0.33384104, -0.42355466, -0.42581097],
[-0.18712246, -0.20885844, 0.15076754, -0.20843865, -0.21937976],
[0.15013306, 0.14052878, -0.04365754, 0.14042647, 0.12531815],
[-0.06555559, -0.06780034, 0.03087027, -0.06778753, -0.06425841],
[-0.45532588, -0.6032533, 0.13688155, -0.59536894, -0.38430249],
[-0.47866281, -0.62154923, 0.05551102, -0.61453651, -0.29409627],
[0.10379618, 0.0992905, -0.01897395, 0.09925791, 0.0742193],
[0.27525161, 0.24445907, -0.10746921, 0.24388656, 0.25346885],
[0.44000184, 0.36911396, -0.14780521, 0.36722222, 0.38536853],
[-0.08764775, -0.09186995, 0.05454247, -0.09183606, -0.0942791],
[0.39856408, 0.34084917, -0.09559651, 0.33946304, 0.3120011],
[-0.28915418, -0.34830523, 0.27694204, -0.34630242, -0.35910872],
[-0.54668736, -0.81965483, 0.31385788, -0.79766835, -0.57246249],
[-0.13214671, -0.14110555, 0.03451977, -0.14100441, -0.10643151],
[-0.05303343, -0.0543188, 0.00855113, -0.05431361, -0.03636785],
[0.37518581, 0.32519639, -0.06085479, 0.32409083, 0.25779383],
[-0.20416909, -0.2255121, 0.0333895, -0.22514098, -0.14067167],
[-0.73453935, -1.3261482, 0.21807897, -1.252033, -0.6173877],
[-0.51285193, -0.69944573, 0.1009299, -0.68834599, -0.37584716],
[-0.34356943, -0.41990334, 0.12127341, -0.41709935, -0.30592024],
[-0.61185903, -1.0170268, 0.4461753, -0.97454363, -0.69387209],
[-0.74680096, -1.3323688, 0.17349841, -1.2607571, -0.57842236],
[0.70162212, 0.55215776, -0.10661961, 0.54691156, 0.47172752],
[0.52578771, 0.42595277, -0.25362418, 0.42282123, 0.51953384],
[0.05380708, 0.05250817, -0.01411749, 0.05250294, 0.04339991],
[0.60789505, 0.48050614, -0.27229875, 0.47610578, 0.586018],
[-0.03696114, -0.03765362, 0.01627638, -0.03765146, -0.03542905],
[0.06786725, 0.06552571, -0.06338565, 0.06551225, 0.08358221],
[-0.24636214, -0.28486146, 0.15119768, -0.28386295, -0.26377949],
[1.5507848, 0.96230871, -1.010033, 0.9267362, 1.6936469],
[-0.64427637, -1.112392, 0.42573289, -1.0589588, -0.70702896],
[0.40112431, 0.33692308, -0.28696759, 0.33522086, 0.45200191],
[0.22752738, 0.20598175, -0.08452806, 0.20564237, 0.20607853],
[-0.41029188, -0.51805874, 0.08653263, -0.51339204, -0.30770313],
[-0.3352269, -0.40292353, 0.07774257, -0.4006604, -0.25949094],
[-0.09823975, -0.10297479, 0.021997, -0.10293677, -0.07516044],
[-0.45906155, -0.6389501, 0.36820685, -0.62745478, -0.53738792],
[0.54875732, 0.4442739, -0.18633969, 0.44098771, 0.48235339],
[-0.46390271, -0.61090183, 0.10182795, -0.60325493, -0.352574],
[-0.13586222, -0.14521798, 0.03140487, -0.1451107, -0.10505292],
[1.5325827, 0.95475011, -0.98943472, 0.92001987, 1.6688667],
[-0.0180165, -0.01817654, 0.00704904, -0.01817631, -0.01660225],
[0.1074245, 0.10219496, -0.04359798, 0.10215255, 0.10020768],
[0.91324351, 0.66341484, -0.38068255, 0.65225386, 0.85951881],
[-0.13804802, -0.14753983, 0.02729999, -0.14743116, -0.10133302],
[0.09347746, 0.08949071, -0.03700553, 0.08946238, 0.08647757],
[-0.50931142, -0.72863446, 0.26424161, -0.71329046, -0.51562347],
[-0.53793659, -0.76080839, 0.13943669, -0.74578287, -0.43213862],
[-0.25884982, -0.29723551, 0.06959389, -0.2962904, -0.21049039],
[0.86831329, 0.63220778, -0.52265542, 0.62172045, 0.92370391],
[-0.65285423, -1.0173435, 0.12767231, -0.98472881, -0.47744101],
[-0.45934698, -0.6418679, 0.39489684, -0.63004719, -0.55029867],
[-0.23191228, -0.26444189, 0.11144756, -0.26368404, -0.22886674],
[0.09519918, 0.09137385, -0.01806198, 0.09134824, 0.06892137],
[1.6758455, 1.0134619, -1.1410758, 0.97196346, 1.8575371],
[-0.21193295, -0.23870482, 0.10506008, -0.23814276, -0.21132695],
[0.16828151, 0.15522648, -0.1214123, 0.1550579, 0.19016117],
[0.49347086, 0.40570005, -0.19050999, 0.40311803, 0.45271365],
[-0.31551801, -0.38082435, 0.14918844, -0.37858735, -0.30969759],
[-0.30187324, -0.37396933, 0.54845442, -0.37112573, -0.46409468],
[-0.46016208, -0.61586466, 0.15922752, -0.60723147, -0.40702703],
[-0.08661744, -0.09036911, 0.02450479, -0.09034204, -0.07164137],
[-0.25151268, -0.28898407, 0.09061437, -0.28805721, -0.22548394],
[-0.04191402, -0.04290011, 0.04338401, -0.04289625, -0.05341863],
[0.08469815, 0.08157622, -0.02018716, 0.08155704, 0.06616338],
[-0.31034085, -0.37216383, 0.1313238, -0.37012469, -0.29355114],
[-0.45803461, -0.62017743, 0.21375366, -0.61078472, -0.44762402],
[0.49980632, 0.4166992, -0.07721613, 0.41441121, 0.33789402],
[-0.56384813, -0.81737021, 0.1460957, -0.79888631, -0.4528947],
[-0.48061948, -0.6559582, 0.17221889, -0.64550075, -0.43010171],
[0.14620871, 0.13680497, -0.05692722, 0.13670426, 0.13451338],
[0.26422407, 0.23781698, -0.04497363, 0.23737809, 0.18449201],
[-0.43463765, -0.59962418, 0.47955395, -0.58939942, -0.56585791],
[-0.07744555, -0.08062791, 0.03843585, -0.08060612, -0.07725379],
[0.54920956, 0.44158076, -0.26428657, 0.43809866, 0.54224275],
[-0.58678218, -0.89783355, 0.23639882, -0.87132354, -0.54602146],
[-0.27075858, -0.31760637, 0.14700409, -0.31626226, -0.27829664],
[-0.62999685, -1.0615455, 0.40474533, -1.0148667, -0.68490373],
[-0.45134316, -0.59439733, 0.12701407, -0.58695388, -0.37264776],
[0.05554217, 0.05405862, -0.02821365, 0.05405202, 0.05583566],
[-0.58017052, -0.89710684, 0.29732825, -0.86932041, -0.58495954],
[-0.08213309, -0.0853622, 0.0165121, -0.08534104, -0.06062097],
[-0.17602733, -0.19292472, 0.05629284, -0.19265484, -0.15166351],
[1.8124182, 1.1240987, -0.29446015, 1.0824607, 1.2460184],
[-0.46757378, -0.61606444, 0.09686109, -0.60832329, -0.34857258],
[-0.70077091, -1.2435629, 0.27604516, -1.1779104, -0.64722321],
[-0.1823987, -0.20009761, 0.04608985, -0.19981187, -0.14528683],
[0.15408466, 0.14388699, -0.0497265, 0.14377461, 0.13316156],
[-0.51644298, -0.7288862, 0.18606273, -0.71466167, -0.46299686],
[-0.14773155, -0.15945679, 0.05062292, -0.15930187, -0.13024906],
[0.08229583, 0.07941547, -0.01553589, 0.07939868, 0.05948041],
[0.69703697, 0.52883327, -0.57770487, 0.5221705, 0.8249277],
[-0.04851095, -0.04963147, 0.01148373, -0.04962715, -0.0378092],
[0.24278042, 0.21941664, -0.05953089, 0.21904267, 0.19145493],
[0.671777, 0.52784301, -0.16253492, 0.52276247, 0.52740266],
[-0.15617841, -0.17052382, 0.10367119, -0.17030455, -0.17164982],
[1.5544976, 0.96906503, -0.8655973, 0.93391329, 1.611296],
[-0.28513785, -0.3342719, 0.09440154, -0.33286791, -0.24852664],
[-0.46089739, -0.60530758, 0.10034894, -0.59787735, -0.34934169],
[1.3867149, 0.93965444, -0.1596063, 0.91634674, 0.84986798],
[0.99046183, 0.70838601, -0.35652627, 0.69529365, 0.88769888],
[-0.08002395, -0.08323765, 0.02434802, -0.08321615, -0.06781273],
[-0.40573327, -0.51545943, 0.11362931, -0.51056997, -0.33445206],
[-0.40648123, -0.52178853, 0.15049556, -0.5164044, -0.3677434],
[0.66919291, 0.51936908, -0.29608372, 0.51384969, 0.64246439],
[0.39119646, 0.33692167, -0.06846835, 0.33567223, 0.27569987],
[-0.44122326, -0.59962437, 0.3120213, -0.59032278, -0.49527189],
[-0.13558433, -0.1446097, 0.02421351, -0.14450965, -0.09619864],
[0.0099352, 0.00988846, -0.00324443, 0.00988842, 0.00862],
[-0.42082174, -0.53340542, 0.07930414, -0.52844146, -0.30397701],
[0.96329528, 0.67781139, -0.80426813, 0.66405317, 1.1428342],
[-0.0708706, -0.07339878, 0.02347869, -0.07338375, -0.06178438],
[-0.32322952, -0.4044075, 0.4388475, -0.40104347, -0.45094324],
[-0.05908515, -0.06087455, 0.02471536, -0.06086552, -0.05567385],
[-0.06013292, -0.0621644, 0.05487635, -0.06215297, -0.07348747],
[0.47440157, 0.39775455, -0.083663, 0.3957034, 0.3351855],
[-0.47880308, -0.63947157, 0.11047014, -0.63063467, -0.36999534],
[-0.39057774, -0.49590363, 0.15135669, -0.49122338, -0.35876951],
[0.11513068, 0.10932827, -0.03507222, 0.10927956, 0.09760194],
[-0.02055911, -0.02077991, 0.01319937, -0.02077952, -0.02234587],
[0.27033978, 0.24057006, -0.10481223, 0.24002518, 0.24836322],
[-0.43174396, -0.5558757, 0.10088222, -0.55000281, -0.33504185],
[-0.28981713, -0.34109702, 0.09986907, -0.33959278, -0.25599788],
[0.49827704, 0.41348828, -0.10395794, 0.41110027, 0.37234295],
[-0.66452107, -1.0741235, 0.17103461, -1.033928, -0.53257058],
[0.86372263, 0.64400865, -0.21357962, 0.63485223, 0.68303999],
[-0.57246645, -0.81588755, 0.09712925, -0.79906265, -0.39929453],
[-0.25150833, -0.28811492, 0.07642183, -0.28723019, -0.21303488],
[1.1257878, 0.77787497, -0.43700417, 0.76043632, 1.0346883],
[0.08991045, 0.08629892, -0.02843603, 0.08627475, 0.0771803],
[-0.49263698, -0.68520543, 0.20655261, -0.67292912, -0.46455617],
[-0.09048578, -0.09431884, 0.01431767, -0.09429178, -0.06166248],
[0.15430815, 0.14356173, -0.08180471, 0.14343712, 0.15734829],
[0.97131033, 0.70646202, -0.22186017, 0.69466674, 0.74806921],
[0.18003708, 0.16590468, -0.07972372, 0.16572004, 0.17289422],
[-0.29781107, -0.3528204, 0.10849739, -0.35113661, -0.2679849],
[-0.21547121, -0.24222419, 0.08081257, -0.24167209, -0.19577736],
[-0.42192978, -0.54243744, 0.11643098, -0.53677288, -0.34609312],
[0.33540017, 0.29160407, -0.11927025, 0.29065466, 0.29938467],
[-0.44351758, -0.57901057, 0.11739654, -0.57220895, -0.35878614],
[0.16268658, 0.15236957, -0.02106035, 0.15226062, 0.10368907],
[0.28590306, 0.25449007, -0.06539078, 0.25391638, 0.22028996],
[0.23972163, 0.21592341, -0.09129711, 0.21553052, 0.21892759],
[-0.06197495, -0.06390928, 0.02185816, -0.06389922, -0.05516861],
[-0.6571649, -1.0257757, 0.12369826, -0.99264783, -0.47451226],
[-0.07585836, -0.07859974, 0.0152187, -0.07858323, -0.05595061],
[-0.53839137, -0.73995489, 0.08017422, -0.727629, -0.35954532],
[-0.39484051, -0.49202145, 0.07777106, -0.48807333, -0.2894435],
[0.12160171, 0.11546501, -0.02293981, 0.11541343, 0.08786847],
[-0.33319858, -0.42175107, 0.49249551, -0.41787197, -0.47820362],
[0.12191667, 0.11533611, -0.04328711, 0.11527694, 0.10876894],
[-0.26129947, -0.30723369, 0.21850026, -0.30589492, -0.3101604],
[0.08817333, 0.08467038, -0.0299148, 0.0846472, 0.07748129],
[0.81469793, 0.60845971, -0.31873043, 0.59990492, 0.75072737],
[0.40253592, 0.34314298, -0.10928505, 0.34168986, 0.32839763],
[-0.47822963, -0.66079171, 0.23024887, -0.64941592, -0.47224441],
[-0.48937212, -0.65862684, 0.11032834, -0.6490406, -0.37525963],
[0.04390026, 0.04301507, -0.01346779, 0.04301209, 0.03730384],
[-0.51180504, -0.71021291, 0.14550164, -0.69766505, -0.42400306],
[0.69894703, 0.54186216, -0.21977156, 0.53605376, 0.59882051],
[-0.60590729, -0.95447584, 0.26523247, -0.92239875, -0.57963733],
[-0.28623331, -0.33707983, 0.11342964, -0.33558246, -0.26489004],
[-0.43329208, -0.55524493, 0.08603306, -0.549594, -0.31848254],
[-0.34106626, -0.41442309, 0.10358315, -0.41181335, -0.28884546],
[-0.34568306, -0.42566848, 0.15087844, -0.4226105, -0.33037293],
[-0.42486998, -0.56263495, 0.23547429, -0.5553061, -0.43970547],
[-0.75007176, -1.3815232, 0.21532873, -1.2992251, -0.6234178],
[-0.48305465, -0.67351797, 0.25326371, -0.6612743, -0.49075548],
[-0.4925107, -0.6685222, 0.12619137, -0.65823188, -0.39412169],
[0.03483665, 0.03426099, -0.0135819, 0.0342594, 0.03206425],
[-0.19559532, -0.21772783, 0.08660362, -0.21731139, -0.18782828],
[-0.35443248, -0.43511509, 0.11098173, -0.43207961, -0.30323745],
[-0.38942924, -0.47511672, 0.0417335, -0.4719991, -0.2330544],
[-0.3169427, -0.3911817, 0.32732977, -0.38830899, -0.40363827],
[0.87763202, 0.63066908, -0.78726522, 0.61933602, 1.0664127],
[-0.17403822, -0.1918899, 0.10340688, -0.1915853, -0.18434141],
[-0.6464664, -1.0192215, 0.15955964, -0.9848451, -0.51091461],
[-0.65026946, -1.094346, 0.31035396, -1.0464465, -0.6402624],
[-0.60132335, -0.96744638, 0.36099189, -0.93192504, -0.63911821],
[-0.2453341, -0.27893539, 0.05957132, -0.2781709, -0.19283876],
[-0.00191244, -0.00191422, 0.00075416, -0.00191422, -0.00176694],
[0.36734483, 0.31925054, -0.05931416, 0.31820521, 0.25202603],
[0.22426428, 0.20539334, -0.02796272, 0.20512909, 0.14115942],
[-0.17674076, -0.19368182, 0.05387904, -0.19341163, -0.1498676],
[-0.13031518, -0.13912861, 0.03784719, -0.13902935, -0.10873045],
[-0.44782118, -0.60051686, 0.20683888, -0.59198702, -0.43613788],
[-0.00159905, -0.00160024, 0.00040897, -0.00160024, -0.00127884],
[0.41485687, 0.3471336, -0.2760776, 0.34530268, 0.45633724],
[-0.18260258, -0.20092326, 0.05929216, -0.20061747, -0.15812979],
[-0.11701754, -0.1239598, 0.03056328, -0.1238912, -0.09424189],
[0.1495302, 0.13983215, -0.05168332, 0.13972741, 0.13221459],
[0.20380671, 0.18589445, -0.09405106, 0.18563252, 0.19843132],
[-0.13218807, -0.14162562, 0.0524459, -0.14151343, -0.1223795],
[0.41633297, 0.35056555, -0.18295125, 0.34884422, 0.39879435],
[-0.40341564, -0.51561001, 0.14153119, -0.51047173, -0.35847803],
[-0.01089955, -0.01096055, 0.00642133, -0.0109605, -0.01151218],
[-0.27456939, -0.31871107, 0.07790851, -0.31753356, -0.22732108],
[-0.23174712, -0.2617172, 0.06128696, -0.26107315, -0.18741697],
[0.71778654, 0.56038029, -0.12906297, 0.55469721, 0.51043536],
[0.09040699, 0.08684762, -0.02246169, 0.08682428, 0.07160755],
[-0.42823472, -0.57659012, 0.32392831, -0.56817405, -0.49160265],
[-0.73344797, -1.2893331, 0.17694924, -1.2234043, -0.57527094],
[0.19918849, 0.18194076, -0.09690683, 0.18169226, 0.19738052],
[-0.31398027, -0.38360774, 0.24614757, -0.38105488, -0.36476242],
[-0.43606549, -0.55891246, 0.08221844, -0.55321494, -0.31504135],
[-0.07099877, -0.07359873, 0.02893663, -0.07358286, -0.06632234],
[-0.00646293, -0.00648357, 0.00279196, -0.00648356, -0.00615553],
[-0.51680267, -0.73973336, 0.23720371, -0.72411136, -0.50226586],
[-0.51801861, -0.73542479, 0.20179385, -0.72058524, -0.47666092],
[-0.31510981, -0.37479678, 0.08222015, -0.3729238, -0.25369429],
[-0.29745244, -0.35137603, 0.09614113, -0.34975579, -0.25719239],
[-0.7350391, -1.336973, 0.23001115, -1.2604332, -0.62873348],
[0.45611517, 0.38510575, -0.07446771, 0.38327377, 0.31408632],
[0.50450701, 0.41745884, -0.11098301, 0.41497349, 0.3837134],
[-0.54620251, -0.77488586, 0.13042447, -0.75931257, -0.42693866],
[0.1362107, 0.12821241, -0.04075766, 0.12813419, 0.11478555],
[-0.30235082, -0.35349385, 0.05179581, -0.35205906, -0.21156751],
[-0.3467653, -0.43121179, 0.20520569, -0.42781666, -0.36680075],
[-0.09358901, -0.09788313, 0.02144084, -0.0978503, -0.07215069],
[-0.5109863, -0.71815973, 0.1875663, -0.70447986, -0.46096481],
[0.23676848, 0.21228508, -0.15500948, 0.21186412, 0.25902718],
[0.20057903, 0.18446754, -0.04245899, 0.18425215, 0.15061107],
[-0.29042894, -0.33880521, 0.06405475, -0.33746858, -0.22108216],
[-0.61377622, -0.96433791, 0.23168023, -0.93229385, -0.55887287],
[1.9333925, 1.1448055, -0.65698359, 1.0940393, 1.6998406],
[0.62427481, 0.48959503, -0.31924866, 0.4848092, 0.62898009],
[-0.2687731, -0.31553849, 0.16220444, -0.31418928, -0.28616825],
[0.1688125, 0.15653835, -0.06146817, 0.15638978, 0.15187857],
[1.5577789, 1.0099456, -0.2602146, 0.97901267, 1.0809139],
[0.34211411, 0.29468124, -0.19859652, 0.29359004, 0.35956814],
[-0.37676295, -0.46575044, 0.08665975, -0.46227877, -0.29084477],
[-0.04356825, -0.04456409, 0.02476282, -0.0445603, -0.04546984],
[0.54015646, 0.43791248, -0.1967464, 0.43471516, 0.48602505],
[-0.22783589, -0.25506306, 0.03873162, -0.25452215, -0.15901814],
[1.6325194, 1.0312477, -0.39506806, 0.99585434, 1.2817585],
[-0.3395014, -0.41625668, 0.14967692, -0.41338841, -0.32555372],
[-0.5985588, -0.92194884, 0.22020632, -0.8938893, -0.54036989],
[0.78260351, 0.58753605, -0.35527209, 0.57956426, 0.75780632],
[0.40960714, 0.34094308, -0.41757968, 0.33903753, 0.51939942],
[-0.30710287, -0.36661182, 0.11817014, -0.36470194, -0.28142877],
[-0.17108852, -0.18604524, 0.03381223, -0.18582762, -0.12555919],
[0.11350844, 0.10731254, -0.08557291, 0.10725621, 0.130159],
[1.2408357, 0.7831263, -3.6426137, 0.75614678, 2.2385007],
[-0.21783895, -0.24568367, 0.09213761, -0.24509219, -0.20602156],
[0.35676019, 0.30760557, -0.13237542, 0.30648176, 0.32299567],
[-0.47339603, -0.65544184, 0.25993722, -0.6440178, -0.48840777],
[0.99117112, 0.71254419, -0.29305528, 0.6997705, 0.83194052],
[-0.26696039, -0.30860822, 0.07857154, -0.30752986, -0.2237328],
[-0.51142055, -0.74194832, 0.32302645, -0.72510054, -0.55285106],
[-0.1879375, -0.20968483, 0.14143173, -0.20926642, -0.21537795],
[-0.33121455, -0.40057121, 0.10942298, -0.39816807, -0.28848226],
[-0.05952037, -0.06115745, 0.0101589, -0.06114995, -0.0415977],
[0.2214726, 0.20056696, -0.10145905, 0.20023871, 0.21510654],
[0.82994407, 0.61060408, -0.50085881, 0.60112256, 0.88365144],
[0.65665325, 0.50334461, -0.59829855, 0.49746269, 0.80205973],
[0.39092314, 0.33477803, -0.10168134, 0.33344053, 0.31440155],
[0.04051729, 0.03977174, -0.01095703, 0.03976946, 0.0330117],
[0.43090563, 0.35541749, -0.46982053, 0.3532297, 0.55878161],
[0.54113558, 0.44306617, -0.11419461, 0.44012757, 0.40590954],
[0.32541581, 0.28493424, -0.0890398, 0.28409788, 0.26617289],
[0.16749253, 0.15455772, -0.12037301, 0.15439145, 0.18902388],
[-0.4913407, -0.6389941, 0.04688347, -0.63170005, -0.28288185],
[-0.17514395, -0.19160083, 0.04955168, -0.19134353, -0.1448637],
[0.36564359, 0.31353362, -0.15904747, 0.31230171, 0.34905261],
[-0.62117094, -0.96637706, 0.18616163, -0.93562098, -0.52373806],
[-0.08114134, -0.08447644, 0.02653013, -0.0844536, -0.07042895],
[0.18348311, 0.1698388, -0.03959452, 0.1696699, 0.13866039],
[-0.1807133, -0.19767585, 0.03826057, -0.19741091, -0.13570231],
[1.6634134, 1.0265519, -0.67645138, 0.98775055, 1.5527051],
[-0.07647688, -0.07923264, 0.01391425, -0.07921609, -0.05459884],
[0.11829654, 0.11159352, -0.08867616, 0.11153026, 0.1353922],
[1.2923946, 0.8523698, -0.67641718, 0.82824634, 1.312235],
[-0.24728027, -0.28598105, 0.1483619, -0.28497583, -0.2627708],
[-0.21988658, -0.25062573, 0.16645027, -0.24991198, -0.252486],
[-0.2755918, -0.31879509, 0.06308192, -0.31767107, -0.21240064],
[-0.41555938, -0.5461046, 0.23334534, -0.53937065, -0.4319483],
[-0.46232233, -0.63073909, 0.23301535, -0.62070869, -0.46355517],
[1.0525976, 0.74403674, -0.33602878, 0.72931862, 0.90638017],
[-0.27406865, -0.32789422, 0.32204228, -0.32614366, -0.36437944],
[0.24627717, 0.22025092, -0.14244988, 0.21979366, 0.2585315],
[-0.49882646, -0.67117749, 0.09412654, -0.66142541, -0.36047932],
[-0.757155, -1.2849575, 0.09964465, -1.2269459, -0.48523396],
[0.01601422, 0.01588458, -0.00985738, 0.01588441, 0.01716331],
[-0.04840384, -0.04964864, 0.02969185, -0.04964331, -0.0518174],
[0.7899999, 0.60188253, -0.17742938, 0.59452606, 0.60502019],
[0.05872464, 0.05722597, -0.01179111, 0.05721959, 0.04332533],
[0.26990213, 0.23861572, -0.18437104, 0.23801312, 0.29948732],
[-0.21574816, -0.24002871, 0.03790984, -0.23957432, -0.1522505],
[0.08911037, 0.08538963, -0.04426576, 0.08536375, 0.088917],
[-0.17054948, -0.18884314, 0.17185955, -0.18851678, -0.21542767],
[-0.42724009, -0.5588158, 0.16613186, -0.55215875, -0.39289422],
[-0.53907287, -0.73960392, 0.07661012, -0.72741674, -0.35443535],
[-0.12371115, -0.13191876, 0.04904969, -0.13182807, -0.11450593],
[0.26584066, 0.23718158, -0.09554028, 0.23666799, 0.2381331],
[-0.07193602, -0.07471814, 0.04147278, -0.07470021, -0.0754331],
[-0.16794376, -0.18242318, 0.03513074, -0.1822154, -0.12560733],
[0.51446722, 0.4240492, -0.11827354, 0.42142039, 0.39707968],
[0.18001221, 0.16650009, -0.05070766, 0.16633125, 0.14867427],
[-0.1651066, -0.18166399, 0.13222778, -0.18138776, -0.19317927],
[-0.4040671, -0.50783038, 0.08478384, -0.50343544, -0.30251716],
[-0.35656546, -0.43438462, 0.08002697, -0.43157594, -0.27301194],
[-0.46168852, -0.60815213, 0.10651153, -0.60052466, -0.35675899],
[0.75767365, 0.57522385, -0.28807777, 0.56801151, 0.6915677],
[0.03096169, 0.03049283, -0.01560224, 0.03049165, 0.03104241],
[-0.60133479, -0.99043463, 0.46627864, -0.95049615, -0.69604298],
[-0.70618049, -1.2061333, 0.18489381, -1.1503995, -0.56919525],
[0.24609655, 0.22195569, -0.06527636, 0.22156185, 0.19921972],
[-0.52063409, -0.77721393, 0.43550804, -0.75680191, -0.61805974],
[-0.58453743, -0.85844221, 0.13471332, -0.8376708, -0.45153186],
[0.12094395, 0.11458282, -0.03583559, 0.11452709, 0.10158688],
[0.02002306, 0.01982647, -0.00959622, 0.01982615, 0.01974227],
[0.91966288, 0.6663239, -0.39775707, 0.654931, 0.87626421],
[-0.38085913, -0.4691169, 0.070183, -0.46573763, -0.27306344],
[0.05913795, 0.05757364, -0.0155936, 0.05756674, 0.04777892],
[0.25105429, 0.22456662, -0.12004839, 0.22410201, 0.24734732],
[0.19938372, 0.18269231, -0.06796318, 0.18245978, 0.17548003],
[0.18622686, 0.17193903, -0.04823291, 0.17175657, 0.14956135],
[-0.41397735, -0.53665434, 0.16968061, -0.53067629, -0.3874406],
[0.04709547, 0.0461403, -0.00810289, 0.04613707, 0.03300218],
[-0.19518562, -0.21806268, 0.11519254, -0.21761688, -0.20627662],
[0.29378722, 0.25870416, -0.12913736, 0.25800816, 0.28143789],
[0.01902191, 0.0188538, -0.00554078, 0.01885355, 0.0158868],
[-0.40164753, -0.51436671, 0.15502383, -0.50915843, -0.36844518],
[0.64695473, 0.52158013, -0.06206705, 0.51756806, 0.37314672],
[0.12682621, 0.12003312, -0.02927752, 0.11997251, 0.09802287],
[-0.19410383, -0.21635595, 0.101727, -0.21593179, -0.19717181],
[-0.67811503, -1.0999621, 0.15124977, -1.0582101, -0.51813606],
[-0.46257479, -0.60401555, 0.08429428, -0.59690919, -0.33041823],
[-0.3608694, -0.46488093, 0.42992296, -0.45994804, -0.48199247],
[-0.65122871, -1.0610844, 0.21954844, -1.0200803, -0.5710522],
[-0.67258585, -1.1766601, 0.33936915, -1.1174798, -0.67463044],
[-0.08720266, -0.09116938, 0.0350974, -0.09113932, -0.08111879],
[-0.00509289, -0.00510486, 0.00119871, -0.00510485, -0.00396178],
[0.45291532, 0.38054444, -0.1065549, 0.37862873, 0.35227283],
[-0.08207081, -0.08518451, 0.01227092, -0.08516483, -0.05488179],
[-0.24891045, -0.29268088, 0.32299783, -0.29140477, -0.34206236],
[-0.20663337, -0.23348496, 0.1590604, -0.23290514, -0.23859664],
[0.57358388, 0.45987294, -0.21555813, 0.45615226, 0.52151015],
[0.45636142, 0.37899664, -0.20081928, 0.37682578, 0.43733853],
[-0.20636515, -0.22662807, 0.01883135, -0.22629705, -0.11705629],
[1.1532973, 0.79180972, -0.44832937, 0.77345009, 1.0604819],
[-0.54038446, -0.75598549, 0.110033, -0.74196735, -0.40054645],
[0.34928336, 0.29803513, -0.31908381, 0.2967882, 0.42700227],
[-0.40210016, -0.5032936, 0.07752103, -0.49909166, -0.29266627],
[-0.25093777, -0.30070727, 0.69736222, -0.29907283, -0.44450176],
[-0.30426825, -0.35877733, 0.07382058, -0.35715861, -0.2390967],
[-0.14970123, -0.16509879, 0.35249769, -0.16483534, -0.25092601],
[0.02307411, 0.02283149, -0.00577354, 0.02283107, 0.01831923],
[-0.41932088, -0.54145072, 0.13788425, -0.53559902, -0.36465252],
[-0.34474458, -0.42026974, 0.10748187, -0.41753365, -0.29452356],
[-0.55799517, -0.82395329, 0.21253264, -0.80345531, -0.50961105],
[0.12961953, 0.12247884, -0.03238179, 0.12241332, 0.10285465],
[-0.33018576, -0.39064385, 0.04471248, -0.38880923, -0.21362815],
[0.73731356, 0.54577692, -1.0140553, 0.53763244, 1.0330754],
[-0.18154748, -0.20014871, 0.07311945, -0.19983167, -0.16892001],
[-0.42498663, -0.55452806, 0.16297509, -0.54803939, -0.38901581],
[-0.00600484, -0.0060217, 0.00158229, -0.00602169, -0.00485035],
[0.61450549, 0.49157276, -0.13907971, 0.48751452, 0.47182589],
[-0.04702735, -0.04815478, 0.02034566, -0.04815028, -0.04481268],
[-0.16008101, -0.17544448, 0.12013535, -0.17519914, -0.18328495],
[-0.51264618, -0.67570017, 0.04680861, -0.66718712, -0.29084644],
[-0.22284727, -0.24995451, 0.05288025, -0.2494064, -0.17382519],
[0.1777406, 0.16335742, -0.12044423, 0.16316371, 0.19669641],
[-0.1437142, -0.15404958, 0.02850149, -0.15392582, -0.10559232],
[-0.24474757, -0.28229458, 0.13943231, -0.28133846, -0.25562897],
[-0.78642972, -1.4467791, 0.14614317, -1.3609128, -0.56542644],
[-0.19407858, -0.21476424, 0.05819234, -0.21439754, -0.16366294],
[-0.64387251, -1.048366, 0.23861404, -1.0079661, -0.58269584],
[0.29829784, 0.26117414, -0.17942885, 0.26040684, 0.31725428],
[1.4900327, 0.92632316, -1.3171175, 0.89233917, 1.8016982],
[0.45972549, 0.37377608, -0.61421176, 0.37112074, 0.63794284],
[-0.2861039, -0.33632444, 0.1046803, -0.33486287, -0.25781855],
[0.14937027, 0.13895727, -0.10718929, 0.13883641, 0.16848836],
[0.19463101, 0.17693388, -0.19324726, 0.17666618, 0.24463719],
[0.79355468, 0.60572762, -0.15788247, 0.59842521, 0.58367695],
[0.31042585, 0.27243172, -0.1086875, 0.27165932, 0.27566087],
[0.04135138, 0.04049242, -0.02863879, 0.04048945, 0.04609512],
[-0.32145068, -0.38395426, 0.08396824, -0.38194144, -0.25889554],
[-0.73562767, -1.4450777, 0.39204252, -1.3408506, -0.75143789],
[-0.36532791, -0.44937262, 0.09336057, -0.44617764, -0.29209205],
[-0.39892618, -0.50704603, 0.1318741, -0.50221789, -0.34752938],
[-0.32060474, -0.38784896, 0.14354275, -0.38551527, -0.30901795],
[-0.1765428, -0.19355136, 0.05657903, -0.19327871, -0.15221654],
[2.3394378, 1.3473676, -0.30483287, 1.2813555, 1.4943016],
[-0.31096282, -0.37087833, 0.10283438, -0.36896617, -0.27093291],
[1.0859783, 0.75577531, -0.45440743, 0.739474, 1.0233855],
[0.19720267, 0.18057479, -0.07989068, 0.18034148, 0.18384447],
[-0.3246465, -0.38443762, 0.0533124, -0.38261275, -0.22398893],
[-0.35286254, -0.44059746, 0.20400798, -0.43699738, -0.37036456],
[-0.11130243, -0.11825382, 0.06964829, -0.11818152, -0.1199453],
[-0.06994831, -0.07243064, 0.02493993, -0.07241596, -0.06249231],
[-0.07509116, -0.0781089, 0.04074936, -0.0780887, -0.07716899],
[1.166492, 0.82525978, -0.14316975, 0.80901539, 0.730379],
[-0.58856584, -0.87216233, 0.14631541, -0.850078, -0.46626919],
[-0.15170571, -0.16421673, 0.05562899, -0.16404499, -0.13680806],
[-0.23642523, -0.26953091, 0.09431982, -0.26876095, -0.21928396],
[1.2246902, 0.82709598, -0.48183993, 0.80623267, 1.1306506],
[-0.31617484, -0.37923159, 0.11402568, -0.37714942, -0.28354963],
[0.61648186, 0.48125335, -0.43749454, 0.47636965, 0.69281042],
[-0.64138809, -1.0544577, 0.27300116, -1.0122425, -0.60787193],
[0.00472718, 0.00471616, -0.00215465, 0.00471616, 0.00458357],
[-0.61747777, -0.97556422, 0.23622717, -0.94236336, -0.56476464],
[-0.31496282, -0.3808278, 0.16217289, -0.37854867, -0.31805992],
[-0.37219955, -0.47069992, 0.1978299, -0.46640289, -0.37986085],
[-0.71138226, -1.2460676, 0.21902671, -1.1831298, -0.6052169],
[1.0772525, 0.76792309, -0.20551361, 0.75345346, 0.78133124],
[-0.1475719, -0.15801087, 0.02016759, -0.15788791, -0.0957702],
[-0.0727345, -0.07519354, 0.01205448, -0.07517969, -0.0503369],
[-0.08809982, -0.09235631, 0.05365101, -0.09232205, -0.09408477],
[-0.18005295, -0.19752633, 0.05116633, -0.19724419, -0.1491437],
[-0.38072892, -0.48875079, 0.25433663, -0.48370594, -0.41933091],
[-0.36413263, -0.46052622, 0.23616567, -0.45631989, -0.39712021],
[-0.68556971, -1.1161577, 0.14429661, -1.0731609, -0.51380279],
[-0.71979819, -1.214295, 0.14099908, -1.1606648, -0.52669103],
[0.13541721, 0.12781347, -0.02750881, 0.12774236, 0.1002959],
[-0.19155512, -0.21398675, 0.13296114, -0.21355002, -0.21368831],
[-0.02946115, -0.02991134, 0.0167019, -0.0299102, -0.03072075],
[0.07547686, 0.07294779, -0.02053261, 0.07293367, 0.06161701],
[-0.18542571, -0.20554424, 0.09615491, -0.2051812, -0.18769258],
[-0.180983, -0.19856682, 0.04954349, -0.19828258, -0.1480576],
[0.20548708, 0.18394425, -0.55711593, 0.18356875, 0.36100638],
[0.30564407, 0.27130693, -0.04864899, 0.27066583, 0.20869495],
[-0.4335402, -0.55447739, 0.08104884, -0.5489223, -0.31232867],
[0.00480665, 0.00479632, -0.00090624, 0.00479632, 0.00347259],
[-0.47371878, -0.64231774, 0.16830858, -0.63250006, -0.42272619],
[0.78206513, 0.5938595, -0.22169969, 0.58642411, 0.64728216],
[-0.24252746, -0.29054001, 0.90449951, -0.28896615, -0.47386365],
[0.33614965, 0.29324886, -0.09098586, 0.29233972, 0.27396164],
[-0.02459471, -0.02489137, 0.00878931, -0.02489077, -0.02198988],
[-0.32686367, -0.40010855, 0.19120171, -0.3973953, -0.34441735],
[0.45452702, 0.38874174, -0.03322338, 0.38716258, 0.23944057],
[-0.61526369, -0.92187408, 0.12080582, -0.89722331, -0.45055396],
[-0.32979795, -0.40438668, 0.18921242, -0.40159837, -0.34526974],
[0.01276038, 0.01267508, -0.01062279, 0.01267499, 0.01512395],
[0.67025524, 0.53061827, -0.11573048, 0.5258223, 0.47023982],
[0.01231046, 0.0122366, -0.00530102, 0.01223653, 0.0117124],
[-0.53343753, -0.76247714, 0.17972208, -0.74649829, -0.46766284],
[0.79134069, 0.60363712, -0.16613213, 0.59632443, 0.59256619],
[0.1153121, 0.10893029, -0.08634822, 0.10887146, 0.13193025],
[-0.16037794, -0.17487406, 0.07385238, -0.17465601, -0.15603712],
[0.9654928, 0.69826557, -0.28863239, 0.68619382, 0.81337542],
[-0.06134382, -0.06330359, 0.02897981, -0.06329316, -0.06019435],
[0.00244078, 0.00243787, -0.00102986, 0.00243787, 0.00230651],
[1.5691233, 0.98842673, -0.5897572, 0.95409789, 1.4267213],
[0.04228714, 0.0414951, -0.00917155, 0.04149263, 0.0320108],
[1.3228095, 0.90357051, -0.17791923, 0.88205697, 0.85391732],
[-0.01503735, -0.01515156, 0.00743688, -0.01515142, -0.01498262],
[0.5965217, 0.48228649, -0.1026045, 0.4786732, 0.41797436],
[0.06534403, 0.06314579, -0.06755126, 0.06313346, 0.08324506],
[-0.49513241, -0.70830816, 0.33087258, -0.693397, -0.54539501],
[-0.4677422, -0.65885271, 0.39645944, -0.64613953, -0.55771709],
[-0.20531295, -0.22935246, 0.07626127, -0.22888449, -0.18594688],
[0.33563435, 0.29252514, -0.09882365, 0.29160579, 0.28132472],
[0.31064422, 0.27186077, -0.1343201, 0.27105662, 0.29595966],
[-0.55097263, -0.7914575, 0.15102473, -0.77441451, -0.45093372],
[-0.55340313, -0.78297871, 0.11190365, -0.76748207, -0.40924731],
[-0.29572207, -0.35195959, 0.14044925, -0.35018791, -0.29069594],
[1.0988318, 0.77682481, -0.23706795, 0.76147012, 0.83033837],
[-0.28297883, -0.33497381, 0.15739575, -0.33339057, -0.29320878],
[-0.35137446, -0.43606491, 0.17272374, -0.43269435, -0.34938759],
[0.12066639, 0.11377046, -0.08228424, 0.11370482, 0.1338155],
[-0.44701492, -0.58502391, 0.11740855, -0.57802441, -0.36068209],
[-0.30824166, -0.36985169, 0.14184369, -0.36781286, -0.29982941],
[1.2625632, 0.85442377, -0.35283047, 0.83309177, 1.0400019],
[-0.61868489, -0.94808588, 0.15795341, -0.9198961, -0.49449967],
[0.29443171, 0.26202895, -0.05259633, 0.26143623, 0.20892234],
[-0.27616623, -0.32253796, 0.10147059, -0.32124646, -0.24921286],
[-0.40471255, -0.5251753, 0.20886682, -0.51927976, -0.40900718],
[0.33381072, 0.28756209, -0.23980506, 0.28649889, 0.37667168],
[-0.09207871, -0.09583497, 0.0090507, -0.09580943, -0.05353982],
[0.56006342, 0.45844305, -0.08799057, 0.45539449, 0.38075608],
[-0.58850091, -0.85505713, 0.10766838, -0.83548634, -0.42092444],
[-0.18128359, -0.19814108, 0.03465984, -0.19788023, -0.13158039],
[-0.31121101, -0.37485349, 0.15347266, -0.3726993, -0.30978256],
[-0.45361014, -0.59288488, 0.10104785, -0.58585906, -0.34645023],
[-0.01900502, -0.0191797, 0.00622152, -0.01917943, -0.01650268],
[0.52994269, 0.43020798, -0.21359841, 0.42710669, 0.49320629],
[-0.21196157, -0.24338567, 0.34360046, -0.24261218, -0.3137131],
[-0.25544256, -0.29826036, 0.18707452, -0.29706989, -0.29009732],
[-0.48657066, -0.68175257, 0.26214621, -0.66899595, -0.49883296],
[-0.42367461, -0.53713506, 0.07560392, -0.53212753, -0.30052439],
[0.98389218, 0.71258108, -0.23523613, 0.70036802, 0.76938376],
[0.47483615, 0.39254505, -0.18996527, 0.39018529, 0.44082267],
[-0.1376024, -0.14743101, 0.03818127, -0.14731411, -0.11307783],
[0.21915281, 0.19975787, -0.05652117, 0.19947229, 0.17575664],
[-0.34172702, -0.41941311, 0.14731614, -0.41649423, -0.32524677],
[-0.49610192, -0.67810347, 0.13786304, -0.66718982, -0.40788702],
[-0.16061155, -0.17489035, 0.0640399, -0.17467908, -0.14894002],
[-0.035485, -0.03613234, 0.01785704, -0.03613037, -0.03556119],
[-0.10011507, -0.10571042, 0.0649818, -0.10565833, -0.1092128],
[-0.04909337, -0.05051213, 0.07267563, -0.0505053, -0.07049444],
[-0.54435295, -0.76508557, 0.11316441, -0.7505084, -0.4062877],
[-0.11677946, -0.12383066, 0.03591921, -0.12375975, -0.09931844],
[-0.65726608, -1.0940232, 0.25523702, -1.0480806, -0.60416009],
[-0.29905577, -0.35263585, 0.08481753, -0.35104457, -0.24755593],
[-0.19437406, -0.21352226, 0.03118789, -0.21320842, -0.13307532],
[-0.27081395, -0.31241964, 0.06270018, -0.31135865, -0.20951427],
[0.15849984, 0.14778562, -0.04899389, 0.14766503, 0.13502366],
[-0.26566333, -0.30965233, 0.12526537, -0.30844405, -0.26052021],
[-0.68532103, -1.1922166, 0.27796429, -1.1334119, -0.63914938],
[-0.10471729, -0.11043262, 0.03724848, -0.11038066, -0.09348138],
[0.00803161, 0.00800338, -0.00126996, 0.00800336, 0.00547195],
[-0.07886452, -0.08222875, 0.04562021, -0.08220484, -0.08279108],
[-0.67807343, -1.1186664, 0.18148905, -1.0732677, -0.55056841],
[-0.17595583, -0.19625729, 0.2342868, -0.19586783, -0.24389059],
[-0.18978248, -0.21062799, 0.08775934, -0.21024721, -0.18490353],
[-0.23427545, -0.27119856, 0.24041235, -0.27023282, -0.29772373],
[0.08337657, 0.07982728, -0.09072793, 0.07980211, 0.10804874],
[-0.61638855, -0.95161513, 0.17947302, -0.92234774, -0.51472994],
[0.20711321, 0.18931154, -0.06572243, 0.18905694, 0.17798623],
[-0.3158705, -0.38265762, 0.17068702, -0.3803213, -0.32415263],
[-0.13189491, -0.140452, 0.0244726, -0.14035955, -0.09478117],
[-0.16764576, -0.18354498, 0.07563673, -0.18329408, -0.16200035],
[-0.74333211, -1.3062087, 0.15845589, -1.2395043, -0.55945873],
[-0.04221584, -0.04305493, 0.009424, -0.04305215, -0.03226552],
[-0.72568875, -1.1692499, 0.08157792, -1.1260602, -0.44126669],
[1.77338, 1.061003, -0.98213706, 1.0157412, 1.8348557],
[0.36294902, 0.31489956, -0.07387521, 0.31384364, 0.26899239],
[-0.16160544, -0.17445902, 0.02511073, -0.17428883, -0.10946294],
[-0.70185702, -1.1708789, 0.15445141, -1.1212862, -0.53387517],
[0.52140835, 0.42384374, -0.22667406, 0.42082704, 0.49765602],
[-0.59259514, -0.90874925, 0.2250736, -0.88164116, -0.54070067],
[-0.40948553, -0.52396608, 0.12972269, -0.51869615, -0.35170161],
[0.20816448, 0.18841311, -0.17581014, 0.18810139, 0.24791095],
[0.20215826, 0.18342302, -0.17387828, 0.18313418, 0.24222526],
[0.11115793, 0.10565635, -0.03894939, 0.10561099, 0.09873486],
[-0.04123664, -0.04213836, 0.02615007, -0.04213508, -0.04463647],
[-0.50670895, -0.6690676, 0.05365911, -0.66052978, -0.30203936],
[0.15720202, 0.14634125, -0.0650782, 0.14621632, 0.14761391],
[-0.1834838, -0.20188296, 0.05681243, -0.20157602, -0.15639502],
[0.44790692, 0.37157338, -0.24828478, 0.36942029, 0.46357344],
[-0.49986366, -0.69590579, 0.18716349, -0.68336807, -0.45392568],
[0.03891738, 0.03824744, -0.00816765, 0.03824552, 0.02913878],
[-0.55877496, -0.7915482, 0.10588122, -0.77577269, -0.40436565],
[-0.39515345, -0.48937289, 0.06294872, -0.48566269, -0.26988753],
[0.90903762, 0.66431873, -0.31404331, 0.65355199, 0.80363915],
[0.23699414, 0.21462184, -0.05905524, 0.21427054, 0.1878976],
[-0.22644866, -0.25608388, 0.08060168, -0.25543944, -0.20219537],
[-0.51409536, -0.72513605, 0.19086976, -0.71103345, -0.4655341],
[-0.09390425, -0.09808598, 0.01622865, -0.09805496, -0.06590135],
[-0.18293775, -0.20044297, 0.04035424, -0.20016426, -0.13926499],
[0.30686752, 0.26943475, -0.11489929, 0.26867629, 0.2786654],
[0.25941202, 0.23225778, -0.08495427, 0.2317852, 0.22528476],
[-0.29289941, -0.33915755, 0.04087848, -0.33794516, -0.19141997],
[-0.55640335, -0.82344801, 0.22498141, -0.80273028, -0.51838453],
[-0.23501333, -0.26804386, 0.10169991, -0.2672728, -0.22396416],
[0.80660885, 0.61166026, -0.18348059, 0.60392645, 0.62036702],
[0.63597057, 0.50273699, -0.1890479, 0.49813604, 0.53475965],
[-0.17831489, -0.19376152, 0.02258637, -0.19353881, -0.11282809],
[0.15788542, 0.14683688, -0.07146351, 0.14670816, 0.15273297],
[0.31437664, 0.27629039, -0.08785822, 0.27552393, 0.25896295],
[-0.02119928, -0.02142054, 0.00801789, -0.02142015, -0.01931572],
[-0.213974, -0.24075384, 0.0907402, -0.24019679, -0.20254301],
[0.57300032, 0.4618039, -0.16673832, 0.45824071, 0.4784006],
[-0.69990914, -1.2024454, 0.20969585, -1.1456999, -0.59006663],
[-0.43663688, -0.57937163, 0.19843595, -0.5717182, -0.42295782],
[-0.6999281, -1.1796357, 0.17473638, -1.1277224, -0.55527322],
[-0.33628019, -0.40642213, 0.0943844, -0.40400116, -0.27740286],
[0.09676137, 0.09286071, -0.01635389, 0.09283451, 0.0674039],
[1.8018275, 1.1002365, -0.48487958, 1.0568529, 1.4656494],
[-0.1943912, -0.21310284, 0.02600456, -0.21280316, -0.12525957],
[-0.17430367, -0.19142964, 0.07306846, -0.19114968, -0.16435806],
[0.26648034, 0.23882517, -0.0625431, 0.23834798, 0.20709992],
[-0.08958401, -0.0935379, 0.02193978, -0.09350883, -0.07061675],
[-0.39875508, -0.51947359, 0.26043558, -0.513467, -0.43589403],
[0.51016929, 0.41311266, -0.33056636, 0.4100625, 0.55621038],
[-0.16540808, -0.18191671, 0.12555404, -0.1816426, -0.19010405],
[0.50464921, 0.40235926, -0.79250121, 0.39893887, 0.739043],
[-0.32848361, -0.39668106, 0.11034615, -0.394338, -0.28769889],
[0.21190257, 0.19356919, -0.05856727, 0.19330527, 0.17390783],
[0.61856884, 0.48325688, -0.4108685, 0.47838328, 0.6799907],
[-0.12318035, -0.13091587, 0.03237189, -0.13083497, -0.09940929],
[-0.16718999, -0.18387022, 0.11490442, -0.18359337, -0.18589274],
[-0.00552738, -0.00554152, 0.00133074, -0.00554152, -0.00433233],
[-0.34750055, -0.42763568, 0.14151549, -0.42458214, -0.32452513],
[-0.34545728, -0.4196014, 0.09219207, -0.41696914, -0.2802232],
[-0.49934896, -0.69915736, 0.21022035, -0.68612969, -0.47152459],
[1.0062373, 0.71246557, -0.45343421, 0.6985066, 0.97195996],
[-0.40626462, -0.5176477, 0.12244208, -0.51261747, -0.34318337],
[-0.42870959, -0.56598503, 0.20357239, -0.55877089, -0.42139731],
[1.1220376, 0.80928424, -0.09607301, 0.79506088, 0.62308708],
[-0.57000283, -0.84169848, 0.17929395, -0.82075725, -0.48840851],
[-0.57962635, -0.9324093, 0.48360729, -0.8981939, -0.68750051],
[-0.34757552, -0.43013201, 0.17133745, -0.42689337, -0.34593424],
[-0.40116626, -0.51722287, 0.18855829, -0.5116987, -0.39298395],
[-0.1318524, -0.14315117, 0.23189101, -0.14299002, -0.2005226],
[0.34696024, 0.30208288, -0.08187864, 0.30111914, 0.27013862],
[0.68635505, 0.53431463, -0.21049749, 0.52877116, 0.5831651],
[0.53415328, 0.43106998, -0.272978, 0.4277847, 0.53805889],
[-0.55241711, -0.80281608, 0.17929285, -0.78441849, -0.47830957],
[-0.15357511, -0.16710791, 0.08543382, -0.16690944, -0.15913553],
[-0.37272554, -0.46913947, 0.16937978, -0.46502656, -0.36104108],
[-0.11396473, -0.12090322, 0.04674349, -0.12083286, -0.10668353],
[-0.16232168, -0.17592145, 0.03673375, -0.1757318, -0.12462814],
[0.3351197, 0.29115699, -0.12639674, 0.29019958, 0.30506233],
[-0.68757701, -1.1034464, 0.12006062, -1.0633468, -0.4841996],
[0.28062883, 0.24683379, -0.20418777, 0.24615772, 0.31801048],
[-0.63868948, -1.0709972, 0.34581798, -1.0247459, -0.65587191],
[-0.58877059, -0.91706114, 0.29009841, -0.88772079, -0.58589868],
[0.81611024, 0.61280088, -0.25217023, 0.60449659, 0.69514247],
[-0.05579265, -0.05736679, 0.02123494, -0.05735938, -0.05094228],
[0.13043956, 0.12285477, -0.05233093, 0.12278132, 0.12120923],
[-0.20919899, -0.2352261, 0.10393811, -0.2346879, -0.20875714],
[-0.56744871, -0.81155064, 0.11068618, -0.79449026, -0.41462824],
[-0.1940966, -0.21434157, 0.04919301, -0.21399033, -0.15475917],
[0.44182534, 0.36408877, -0.40500544, 0.36182622, 0.54075104],
[-0.01865539, -0.01882854, 0.00787443, -0.01882827, -0.01763137],
[-0.08065021, -0.08465838, 0.13779541, -0.08462519, -0.1214764],
[0.43433084, 0.36925957, -0.07083523, 0.36764328, 0.29897868],
[-0.33521405, -0.41214582, 0.18289228, -0.40922816, -0.34510925],
[-0.12262503, -0.13071836, 0.05044404, -0.1306294, -0.11490335],
[0.23473909, 0.21374147, -0.0364345, 0.21342897, 0.15894171],
[-0.33774469, -0.41738767, 0.20562881, -0.41428549, -0.3606592],
[-0.36903476, -0.46565002, 0.19791216, -0.46147956, -0.37775684],
[0.06340986, 0.06144898, -0.03875127, 0.06143887, 0.0677969],
[0.33058378, 0.28722357, -0.14068763, 0.28627944, 0.31329226],
[-0.26984463, -0.31387478, 0.09954822, -0.31268285, -0.24383555],
[0.18696495, 0.17099738, -0.13956152, 0.17077045, 0.21368401],
[-0.52960263, -0.7515304, 0.16771962, -0.73640445, -0.45481842],
[-0.28316653, -0.334515, 0.14281789, -0.33297169, -0.28398724],
[0.36771133, 0.31898127, -0.06732474, 0.3179093, 0.26307095],
[-0.02603472, -0.02636435, 0.00855866, -0.02636365, -0.02263848],
[0.12908829, 0.12155656, -0.05880958, 0.12148337, 0.12514608],
[-0.24843362, -0.28399314, 0.07459121, -0.28314787, -0.2095943],
[0.29605613, 0.25933735, -0.18357246, 0.25858099, 0.31807427],
[0.53914806, 0.43730331, -0.19476862, 0.43412486, 0.48378792],
[-0.40364205, -0.51834327, 0.16088398, -0.51297832, -0.37426441],
[-0.21349457, -0.24323462, 0.20531619, -0.2425465, -0.26550678],
[0.51045144, 0.41854975, -0.16824595, 0.41581371, 0.44425039],
[0.0641572, 0.06226, -0.02314806, 0.06225065, 0.05754555],
[1.0415381, 0.76123549, -0.10527893, 0.74890682, 0.61128058],
[0.49465947, 0.41079497, -0.1055044, 0.40844152, 0.37236691],
[0.39576095, 0.33863294, -0.09758524, 0.3372652, 0.31267513],
[-0.30237268, -0.37541857, 0.58287022, -0.37250493, -0.47412805],
[0.31545764, 0.27616088, -0.11590711, 0.27534789, 0.28466936],
[-0.61214837, -1.0049153, 0.39043097, -0.96491339, -0.66388963],
[-0.34251752, -0.43626109, 0.4745376, -0.43203465, -0.48108528],
[0.4715008, 0.38702078, -0.29953, 0.3845176, 0.51067555],
[0.46184264, 0.38043816, -0.290303, 0.37806466, 0.49845183],
[0.25935317, 0.23285363, -0.06588961, 0.23240341, 0.20695537],
[-0.35230193, -0.43826698, 0.18310789, -0.43480406, -0.35688013],
[-0.32328653, -0.38029361, 0.04067316, -0.37862702, -0.20409752],
[-0.13313177, -0.14309375, 0.07244864, -0.14296964, -0.13694343],
[0.33611667, 0.29069772, -0.17158709, 0.28967912, 0.3384529],
[-0.30067393, -0.35833911, 0.13036976, -0.35650718, -0.28672538],
[-0.09645221, -0.10094237, 0.01903377, -0.10090755, -0.07074999],
[0.06671792, 0.06454695, -0.04173267, 0.06453518, 0.07188921],
[0.6182557, 0.49486798, -0.12857452, 0.49080423, 0.46150214],
[0.17507007, 0.16115999, -0.11280864, 0.16097604, 0.19051627],
[-0.15839997, -0.17079417, 0.02584927, -0.17063272, -0.10905933],
[-0.25464138, -0.30430441, 0.5528601, -0.30270031, -0.41543308],
[0.8334476, 0.61380438, -0.46533053, 0.60433542, 0.86466799],
[-0.57173845, -0.81511966, 0.0986911, -0.79827964, -0.401083],
[0.20398599, 0.18794113, -0.02996711, 0.18773108, 0.13561004],
[-0.47896225, -0.63114888, 0.08014446, -0.62321102, -0.33253347],
[-0.08587928, -0.09012595, 0.07993469, -0.09009097, -0.10564462],
[-0.11145971, -0.1181655, 0.05063144, -0.1180983, -0.1079515],
[-0.05762836, -0.0593631, 0.02864716, -0.0593544, -0.0575168],
[-0.39564628, -0.50560667, 0.16467577, -0.50057398, -0.37218422],
[-0.8186431, -1.5612468, 0.13726219, -1.4578464, -0.56875258],
[-0.4298262, -0.56849767, 0.20837131, -0.56115667, -0.42541999],
[-0.29717354, -0.34824523, 0.06655057, -0.34678971, -0.22737045],
[-0.2663489, -0.30960182, 0.10678396, -0.30843645, -0.24744534],
[0.62238915, 0.4899456, -0.27428963, 0.48530168, 0.59674365],
[-0.46663198, -0.60878868, 0.07689304, -0.60167196, -0.32232106],
[1.08491, 0.75534841, -0.45134348, 0.73909341, 1.0204104],
[0.26931269, 0.24231221, -0.03990889, 0.24186205, 0.17955787],
[0.47043431, 0.39382938, -0.09807516, 0.39176342, 0.35144902],
[-0.00905558, -0.0090941, 0.00243494, -0.00909407, -0.00736406],
[0.20377738, 0.18745498, -0.0363535, 0.18723738, 0.14453157],
[0.62720037, 0.50051111, -0.133264, 0.49628922, 0.47153994],
[0.41297257, 0.34729489, -0.2110996, 0.34556443, 0.41602549],
[-0.58715294, -0.89322081, 0.21747192, -0.86754487, -0.53126584],
[-0.50533386, -0.71893342, 0.25540897, -0.70425374, -0.50715531],
[-0.14009154, -0.1512005, 0.07686636, -0.15105385, -0.14449851],
[-0.59694963, -0.94176184, 0.30421971, -0.90990987, -0.60075525],
[-0.39574995, -0.49862122, 0.10815252, -0.49421175, -0.3235709],
[-0.02203916, -0.0222661, 0.00521286, -0.02226571, -0.01717245],
[-0.5643388, -0.84952657, 0.25781957, -0.82629313, -0.54761487],
[-0.46143087, -0.59850049, 0.0722647, -0.59180533, -0.31336933],
[0.06867264, 0.06640179, -0.03857597, 0.06638928, 0.07139012],
[1.4069938, 0.91911624, -0.46391089, 0.89191944, 1.2246622],
[0.01437706, 0.01427343, -0.00812206, 0.01427331, 0.01497427],
[-0.24825838, -0.28976038, 0.23058706, -0.28860956, -0.30518107],
[-0.45187503, -0.58313209, 0.07457827, -0.57685962, -0.31229114],
[0.25773194, 0.23150697, -0.06631236, 0.23106325, 0.20653183],
[-0.52978301, -0.73966925, 0.12414029, -0.72611493, -0.41150925],
[-0.58921908, -0.91838301, 0.29081526, -0.8889123, -0.58667862],
[0.25824659, 0.23058882, -0.11231133, 0.2300964, 0.24651362],
[0.40403531, 0.34235158, -0.15679228, 0.34079063, 0.37130526],
[0.27361868, 0.24458212, -0.06414271, 0.24406985, 0.21256394],
[-0.10496889, -0.11072481, 0.03798771, -0.11067224, -0.0942464],
[0.09818183, 0.09312006, -0.15636528, 0.09307659, 0.14445886],
[-0.52659025, -0.77067499, 0.29419098, -0.75235543, -0.54643058],
[-0.17248065, -0.19014623, 0.10983932, -0.18984525, -0.18696323],
[0.65251306, 0.50119818, -0.57530002, 0.49543065, 0.78831708],
[-0.23637986, -0.27195111, 0.16012657, -0.27106246, -0.26156007],
[-0.22305026, -0.25038868, 0.05559303, -0.24983171, -0.17685551],
[0.4107871, 0.34630393, -0.18930093, 0.34462669, 0.39976562],
[0.2216956, 0.20296372, -0.03198751, 0.20270035, 0.14650132],
[-0.54044385, -0.77070257, 0.15552789, -0.75475731, -0.44955187],
[0.15455827, 0.14435313, -0.04740392, 0.14424093, 0.13132364],
[-0.2975832, -0.34559306, 0.04196399, -0.34430789, -0.19515268],
[-0.30919006, -0.36357347, 0.05707774, -0.36198757, -0.22181076],
[0.1470479, 0.13773376, -0.04671594, 0.13763552, 0.12641664],
[-0.27668337, -0.32180148, 0.08112549, -0.32058084, -0.23158894],
[-0.34043974, -0.42537637, 0.27778143, -0.42187937, -0.4008094],
[0.98571709, 0.72132124, -0.15599688, 0.70972918, 0.67176416],
[-0.53744887, -0.77628212, 0.20199067, -0.75906314, -0.48866572],
[0.76475491, 0.58244415, -0.23356688, 0.57530701, 0.64887633],
[0.4292717, 0.36394447, -0.09307895, 0.36229654, 0.32492415],
[-0.20931072, -0.23535541, 0.10360539, -0.23481677, -0.20860839],
[-0.55941465, -0.8232608, 0.19772633, -0.8031278, -0.49833424],
[-0.78218099, -1.4146044, 0.13373406, -1.3351006, -0.54696833],
[-0.39557156, -0.50125184, 0.12896442, -0.49659865, -0.34301782],
[0.55608386, 0.4539049, -0.10853815, 0.45080137, 0.40640995],
[0.00168945, 0.00168803, -0.0008074, 0.00168803, 0.00166419],
[-0.63501826, -1.036189, 0.27290696, -0.99591278, -0.60377113],
[0.74239142, 0.54687025, -1.1635979, 0.53844638, 1.086508],
[-0.20609582, -0.23159291, 0.11227057, -0.23106861, -0.21206944],
[0.38679794, 0.32601357, -0.31028056, 0.32443082, 0.45281168],
[-0.15855635, -0.17295887, 0.08414102, -0.17274116, -0.16173413],
[-0.27333304, -0.32138804, 0.1525336, -0.3199873, -0.28352624],
[-0.44275803, -0.58484206, 0.15931926, -0.57735932, -0.39677447],
[-0.02067804, -0.02090629, 0.016071, -0.02090587, -0.02395321],
[-0.12558298, -0.13447685, 0.07401916, -0.13437197, -0.1326616],
[0.16734546, 0.15439342, -0.12396971, 0.15422656, 0.19077633],
[-0.21300708, -0.23931334, 0.08510621, -0.23877333, -0.19766348],
[-0.58182647, -0.85676257, 0.14576395, -0.83574557, -0.46212099],
[-0.18692859, -0.20567212, 0.04893615, -0.20535946, -0.15066201],
[-0.4993853, -0.67374138, 0.09900201, -0.66377543, -0.36687251],
[-0.58389203, -0.90928901, 0.30932041, -0.88022178, -0.59525249],
[-0.18699099, -0.20657095, 0.06832535, -0.20622992, -0.16842934],
[-0.50695147, -0.71397244, 0.20763442, -0.70020786, -0.4743374],
[-0.04559305, -0.04668013, 0.02485613, -0.04667581, -0.04692672],
[0.21231924, 0.19457061, -0.04049855, 0.19432371, 0.15398652],
[-0.36578368, -0.46398373, 0.24873611, -0.45963919, -0.40526506],
[0.33809673, 0.29409674, -0.10778097, 0.29314608, 0.29099443],
[0.57700922, 0.45883265, -0.309139, 0.4548408, 0.59044996],
[0.00642141, 0.00640259, -0.0014665, 0.00640258, 0.00494528],
[-0.69472872, -1.2290276, 0.28823549, -1.1648157, -0.65283383],
[-0.70671288, -1.2777091, 0.30036925, -1.2059735, -0.66945876],
[0.21664136, 0.19702405, -0.07857647, 0.19672851, 0.19465628],
[0.02260057, 0.02233772, -0.01714393, 0.02233721, 0.02596927],
[-0.4978844, -0.6832303, 0.14528112, -0.67195796, -0.41606904],
[0.9373839, 0.69029883, -0.18226697, 0.67964474, 0.68421247],
[-0.15536107, -0.1676527, 0.03298504, -0.16749081, -0.11677337],
[0.0753751, 0.07282344, -0.02287026, 0.07280904, 0.06381444],
[-0.48360754, -0.66005986, 0.16400979, -0.64953463, -0.42490838],
[0.17651917, 0.1645224, -0.02184892, 0.16438664, 0.1108361],
[0.14902537, 0.13901636, -0.07521762, 0.13890443, 0.14949385],
[-0.11372673, -0.12063143, 0.04645204, -0.12056161, -0.10631306],
[0.38962092, 0.32846824, -0.28859996, 0.32687783, 0.44415743],
[-0.13831529, -0.14874468, 0.05677358, -0.14861375, -0.12951068],
[0.45014415, 0.37964011, -0.08873034, 0.3778103, 0.33006676],
[-0.59932926, -0.88869049, 0.12781384, -0.8661144, -0.45114168],
[-0.07285928, -0.07618779, 0.15321854, -0.07616245, -0.11760804],
[0.76961802, 0.57911231, -0.36943314, 0.57137871, 0.7592278],
[0.66658241, 0.5152085, -0.36793387, 0.50955464, 0.68892057],
[-0.62358675, -0.97685879, 0.19677698, -0.94481243, -0.53489189],
[-0.58088849, -0.90231318, 0.31211268, -0.87379199, -0.59498906],
[0.10412954, 0.09960377, -0.01871541, 0.099571, 0.07403875],
[-0.23137148, -0.26715256, 0.2316752, -0.26623412, -0.29163729],
[-0.0382953, -0.03912356, 0.04295741, -0.03912058, -0.05013254],
[-0.54583794, -0.7822518, 0.15643182, -0.76562044, -0.45341322],
[-0.62053932, -0.92182829, 0.09946152, -0.89819597, -0.42469248],
[-0.64636966, -0.9678868, 0.08069936, -0.94208274, -0.40702462],
[-0.24688153, -0.28801846, 0.2355242, -0.28688146, -0.30620639],
[-0.27727563, -0.32345202, 0.09267822, -0.32217641, -0.2424434],
[0.23571931, 0.21441825, -0.03915749, 0.21409801, 0.16325947],
[0.02579881, 0.02546094, -0.01766667, 0.0254602, 0.02865022],
[0.01018719, 0.01013478, -0.00596942, 0.01013474, 0.01074048],
[-0.23096241, -0.26423235, 0.14006962, -0.26343648, -0.24631197],
[-0.71367779, -1.1606493, 0.10338586, -1.1161336, -0.47224261],
[0.31282919, 0.27725536, -0.04603387, 0.27658309, 0.20808495],
[-0.05945849, -0.06112264, 0.0119089, -0.06111488, -0.04383051],
[0.51297607, 0.4271129, -0.06779652, 0.42473358, 0.32921317],
[0.00025261, 0.00025258, -0.00020794, 0.00025258, 0.00029828],
[-0.3127226, -0.37298985, 0.09843749, -0.37106606, -0.26802154],
[-0.00170261, -0.00170402, 0.00066826, -0.00170402, -0.00157061],
[1.1611366, 0.79812769, -0.40803169, 0.77973498, 1.0323577],
[-0.59119608, -0.88733313, 0.1703966, -0.8634081, -0.49202217],
[-0.02362601, -0.023929, 0.02083461, -0.02392835, -0.02854514],
[0.05530985, 0.05393895, -0.01449093, 0.05393329, 0.04459064],
[0.47259754, 0.38931982, -0.24069738, 0.38689234, 0.47551194],
[-0.33479564, -0.41306924, 0.20857697, -0.41004602, -0.36026216],
[-0.21943083, -0.24744835, 0.08621337, -0.24685385, -0.20248832],
[0.57101126, 0.46007865, -0.17379503, 0.45652008, 0.48393337],
[-0.0316426, -0.03215089, 0.01463176, -0.03214953, -0.03082882],
[-0.2881194, -0.33455702, 0.05396576, -0.33331514, -0.20769742],
[1.2161216, 0.816381, -0.62139287, 0.79516325, 1.2249455],
[0.18269367, 0.16919124, -0.03852079, 0.16902511, 0.1370011],
[0.14266762, 0.1341986, -0.03132067, 0.13411488, 0.10843529],
[-0.00524903, -0.00526237, 0.00190546, -0.00526237, -0.00471768],
[0.75192761, 0.57366542, -0.24827375, 0.56672404, 0.6547934],
[-0.20089528, -0.22412975, 0.0826315, -0.22368296, -0.18823702],
[0.34601415, 0.29494433, -0.36799881, 0.29369444, 0.44499457],
[-0.10867453, -0.11453236, 0.02495986, -0.11447976, -0.08385119],
[0.28694097, 0.25478952, -0.07838203, 0.25419079, 0.23457256],
[0.427035, 0.3673767, -0.03670304, 0.36599389, 0.23743951],
[-0.62148672, -0.9681708, 0.1885892, -0.93717387, -0.52618303],
[-0.00869881, -0.00873551, 0.00312224, -0.00873548, -0.00778883],
[0.07610759, 0.07323409, -0.05970733, 0.07321602, 0.08843778],
[-0.00509814, -0.00511164, 0.00345547, -0.00511163, -0.00564227],
[0.28586233, 0.2547403, -0.05935707, 0.25417708, 0.21327443],
[1.6615841, 1.0644756, -0.22420563, 1.0300949, 1.0737596],
[-0.11622361, -0.12359196, 0.05572119, -0.12351416, -0.11460749],
[-0.47749766, -0.67181146, 0.32901169, -0.65893501, -0.53136703],
[-0.19254828, -0.2121792, 0.04394746, -0.21184626, -0.14825671],
[-0.04649595, -0.04755493, 0.01426885, -0.04755091, -0.03951388],
[-0.07931842, -0.08260539, 0.03410218, -0.08258269, -0.07542583],
[-0.26884138, -0.31519171, 0.15172867, -0.31386657, -0.27991744],
[-0.24944187, -0.2824923, 0.0407766, -0.28176471, -0.17184092],
[-0.40601813, -0.52475388, 0.18290599, -0.51904222, -0.39214763],
[0.45282614, 0.37853673, -0.14522169, 0.37651843, 0.39051838],
[0.01715587, 0.01697844, -0.05316215, 0.01697813, 0.03151273],
[0.34733492, 0.30333315, -0.06454921, 0.3024075, 0.24973108],
[0.02556932, 0.02523941, -0.01655107, 0.0252387, 0.0278675],
[-0.1494024, -0.16187134, 0.06915062, -0.16169812, -0.14560638],
[-0.26773939, -0.31135008, 0.10467388, -0.31017154, -0.24665937],
[-0.35702969, -0.44172636, 0.13711975, -0.43840783, -0.32697375],
[-0.01508935, -0.01520375, 0.00711999, -0.01520361, -0.01480074],
[-0.27394964, -0.31595297, 0.05636073, -0.31488397, -0.20375863],
[-0.10874203, -0.11488613, 0.03671461, -0.11482831, -0.09540136],
[0.76481258, 0.58966962, -0.13679373, 0.58307459, 0.54291946],
[-0.3530344, -0.43827726, 0.16826872, -0.43487874, -0.34744746],
[-0.64654178, -1.0535779, 0.23292136, -1.0128438, -0.57962107],
[-0.13580059, -0.14604153, 0.06581002, -0.14591295, -0.13439253],
[0.35804975, 0.31001552, -0.09546595, 0.30894596, 0.29034994],
[-0.18155178, -0.19938011, 0.05251883, -0.19908883, -0.15128017],
[-0.45439126, -0.62707997, 0.33824226, -0.61636569, -0.51884695],
[0.15608272, 0.14581403, -0.04227721, 0.14570154, 0.12723755],
[-0.46485105, -0.63744583, 0.24797994, -0.62697558, -0.47499757],
[-0.45553411, -0.5845954, 0.06002834, -0.57857639, -0.29206267],
[-0.54320935, -0.79196175, 0.21592063, -0.77350635, -0.50321418],
[-0.48736189, -0.67165321, 0.18788473, -0.66027432, -0.44689779],
[-0.56800422, -0.82241252, 0.13509182, -0.80393212, -0.44339153],
[-0.11162201, -0.11845271, 0.05756639, -0.11838309, -0.11278021],
[-0.04907169, -0.05018343, 0.00885214, -0.05017923, -0.03493387],
[-0.10962828, -0.11590109, 0.03819445, -0.11584131, -0.0971908],
[-0.45160058, -0.58885072, 0.0985034, -0.58199558, -0.34250223],
[-0.1994024, -0.22374977, 0.13241529, -0.22325561, -0.21918439],
[-0.22905152, -0.26273431, 0.17412391, -0.26191188, -0.26338129],
[-0.10781419, -0.11381191, 0.03456585, -0.11375634, -0.09297004],
[-0.30423076, -0.36129752, 0.10179414, -0.35952395, -0.26610498],
[-0.1425758, -0.15224961, 0.0189258, -0.15214031, -0.09163442],
[1.9216935, 1.1866063, -0.20976514, 1.1418559, 1.1571168],
[-0.13575323, -0.14470404, 0.02217588, -0.14460576, -0.0934983],
[1.1687913, 0.81092704, -0.28073579, 0.79314467, 0.91537822],
[0.38176342, 0.32608969, -0.14618068, 0.32474321, 0.34927664],
[-0.2598243, -0.29725508, 0.05464092, -0.2963596, -0.19467156],
[-0.5464075, -0.77583871, 0.13201835, -0.76017113, -0.42877804],
[-0.61671174, -1.0006056, 0.32406862, -0.96258745, -0.62701386],
[-0.42496381, -0.56190555, 0.22665969, -0.5546644, -0.4342129],
[-0.00255548, -0.00255854, 0.00071623, -0.00255854, -0.00210705],
[0.34223009, 0.29781075, -0.09495459, 0.29685356, 0.28122944],
[-0.45673818, -0.58402781, 0.05310595, -0.57818627, -0.28086822],
[0.12762718, 0.12045632, -0.04446452, 0.12038922, 0.11314707],
[-0.32207242, -0.39951794, 0.34140655, -0.39644283, -0.41374838],
[0.44372967, 0.37334388, -0.1152856, 0.37149414, 0.35673632],
[0.19218058, 0.17660794, -0.06536837, 0.17639793, 0.16902031],
[-0.14463536, -0.15745123, 0.14423191, -0.15726224, -0.18205954],
[-0.35681123, -0.43234864, 0.06492199, -0.42970297, -0.25474144],
[-0.78585143, -1.3684292, 0.09378862, -1.3007048, -0.4874765],
[-0.43056416, -0.5679701, 0.19280781, -0.56077272, -0.41502742],
[-0.1194873, -0.12628985, 0.0183943, -0.12622535, -0.08068366],
[1.1504472, 0.78712309, -0.51432053, 0.76854013, 1.1083215],
[0.66994874, 0.51588221, -0.41716434, 0.51005709, 0.72078672],
[-0.50174162, -0.74091841, 0.49762731, -0.72248226, -0.63042219],
[0.0980341, 0.09337897, -0.0712195, 0.09334215, 0.11103531],
[-0.30095346, -0.36594052, 0.28942734, -0.36361946, -0.37427379],
[-0.28916199, -0.34238757, 0.13404999, -0.340764, -0.28196361],
[-0.31635819, -0.39324606, 0.42212845, -0.39016088, -0.43881109],
[0.01227257, 0.01219951, -0.00506124, 0.01219944, 0.0115094],
[2.3768308, 1.3307905, -0.56859495, 1.2590067, 1.8589876],
[-0.21238201, -0.24031481, 0.13972587, -0.23970439, -0.23272734],
[-0.0683085, -0.07075601, 0.032727, -0.0707414, -0.06734343],
[-0.67175986, -1.0412262, 0.09493018, -1.0086275, -0.44084658],
[0.04463719, 0.04369266, -0.01844834, 0.04368933, 0.04189161],
[-0.28367342, -0.33030346, 0.0703631, -0.32903186, -0.22456259],
[0.20751412, 0.18880873, -0.10576337, 0.18852821, 0.20884313],
[-0.39639779, -0.53145541, 0.5463898, -0.5239165, -0.55581681],
[-0.53396651, -0.76610369, 0.19014519, -0.74971475, -0.47684928],
[-0.41388794, -0.52473636, 0.0911924, -0.51984373, -0.3149571],
[-0.0474799, -0.04858814, 0.0149372, -0.04858383, -0.0406855],
[0.01555976, 0.01544743, -0.00437587, 0.0154473, 0.01284399],
[-0.54760283, -0.84791733, 0.48049955, -0.82149155, -0.6605182],
[-0.20115182, -0.22518278, 0.10467438, -0.22470551, -0.20384783],
[-0.63784704, -0.95934541, 0.09561186, -0.93321814, -0.42689881],
[0.90776996, 0.66918714, -0.22617176, 0.6589283, 0.71968093],
[-0.06315845, -0.06515324, 0.0208039, -0.06514274, -0.05495567],
[-0.23762773, -0.27339367, 0.15373728, -0.27249999, -0.25894119],
[-0.50295249, -0.69954311, 0.17494849, -0.68701101, -0.44565424],
[0.01552274, 0.01541147, -0.00418046, 0.01541134, 0.01262981],
[2.1068331, 1.1889219, -1.2133041, 1.1264521, 2.2084453],
[0.47868198, 0.39622289, -0.16575858, 0.39387229, 0.42351298],
[-0.02986399, -0.03032427, 0.01615749, -0.03032309, -0.0306596],
[-0.20453409, -0.22636955, 0.03872599, -0.22598184, -0.14797487],
[-0.14510921, -0.15728345, 0.09104008, -0.15711344, -0.15651316],
[0.70931453, 0.54673599, -0.25286811, 0.54060879, 0.63367599],
[-0.53000475, -0.74513956, 0.14089154, -0.73091807, -0.42936319],
[-0.21910342, -0.24687749, 0.0826378, -0.24629237, -0.19945076],
[-0.41493285, -0.52361045, 0.07768675, -0.51891737, -0.29907322],
[2.6560511, 1.3993556, -1.105995, 1.3079768, 2.498918],
[-0.41589553, -0.54146745, 0.18302736, -0.53523562, -0.39857021],
[-0.5526323, -0.80926377, 0.20181019, -0.78996847, -0.49767811],
[-0.13207272, -0.14097686, 0.03313644, -0.14087689, -0.10495118],
[0.14448753, 0.13515265, -0.06544272, 0.13505222, 0.13980328],
[-0.85325759, -1.7623394, 0.16079813, -1.6167939, -0.61634485],
[0.76115922, 0.57533086, -0.33446264, 0.56788681, 0.72908173],
[-0.4445706, -0.6065932, 0.31952327, -0.59693944, -0.50173145],
[0.05289442, 0.05153665, -0.02874207, 0.05153084, 0.0543821],
[-0.17820591, -0.19853626, 0.19416859, -0.1981506, -0.23103852],
[-0.4801718, -0.67039242, 0.27251422, -0.65810878, -0.50088438],
[0.7304052, 0.55833536, -0.28785848, 0.55167589, 0.67470239],
[-0.16887215, -0.18469715, 0.06495133, -0.18445039, -0.15473125],
[0.35410875, 0.30570854, -0.12846339, 0.30461071, 0.31819564],
[0.19684382, 0.18046651, -0.07068492, 0.18023976, 0.17627881],
[-0.20643774, -0.23348809, 0.17055485, -0.23289913, -0.24405671],
[1.22551, 0.8353436, -0.35199394, 0.81523741, 1.0187469],
[0.17923756, 0.16578231, -0.0525377, 0.16561417, 0.15000982],
[0.01548457, 0.01536218, -0.01038154, 0.01536202, 0.0170751],
[-0.19320256, -0.2148948, 0.0900355, -0.21448979, -0.18872228],
[0.32956715, 0.28787909, -0.09663489, 0.28700342, 0.27585694],
[-0.45938766, -0.62492575, 0.23072715, -0.61516994, -0.46007551],
[-0.02945698, -0.02988319, 0.01034191, -0.02988217, -0.02618197],
[-0.67370006, -1.1813745, 0.34180682, -1.121476, -0.67698851],
[-0.02907156, -0.02947386, 0.00775848, -0.02947293, -0.02358203],
[-0.38428138, -0.47793117, 0.09063364, -0.47416337, -0.29913877],
[-0.23046223, -0.26119584, 0.08058798, -0.26051489, -0.20456591],
[-0.12846248, -0.13685096, 0.03186268, -0.13675974, -0.10169236],
[-0.30992245, -0.36335987, 0.04867032, -0.36183198, -0.21066874],
[0.22387009, 0.20364682, -0.05894499, 0.20334289, 0.18078249],
[-0.17917948, -0.19985379, 0.20268227, -0.19945716, -0.23521992],
[-0.21841171, -0.24833161, 0.15119244, -0.24765074, -0.24342806],
[0.4118637, 0.34607627, -0.22690728, 0.34433546, 0.42539771],
[0.20921569, 0.19135775, -0.05644292, 0.1911041, 0.17032406],
[-0.04141178, -0.04225313, 0.01331006, -0.04225028, -0.03573984],
[-0.08967166, -0.09381787, 0.032207, -0.09378593, -0.08030888],
[-0.43040966, -0.57519442, 0.26278401, -0.56721212, -0.46004218],
[-0.35010686, -0.43150226, 0.14059672, -0.42837577, -0.32543841],
[-0.45224038, -0.61066644, 0.22306877, -0.60158155, -0.45019687],
[-0.15280789, -0.16560823, 0.05946739, -0.16542975, -0.14056163],
[0.22920489, 0.20747095, -0.08083996, 0.20712815, 0.20403341],
[-0.02695281, -0.02729756, 0.00709777, -0.02729683, -0.02176641],
[-0.48806489, -0.66592024, 0.15134011, -0.6553242, -0.41621053],
[-0.07485465, -0.07759823, 0.01909723, -0.07758147, -0.05981535],
[-0.55354816, -0.81424305, 0.21356234, -0.79437836, -0.50771714],
[-0.52719084, -0.76911913, 0.2772692, -0.75113379, -0.53615346],
[0.05684705, 0.05526936, -0.03355884, 0.05526206, 0.06008291],
[1.7973129, 1.1092567, -0.36345079, 1.06734, 1.329151],
[-0.29913733, -0.36026582, 0.2095762, -0.35819823, -0.33473752],
[0.84441039, 0.63750804, -0.15314645, 0.62919077, 0.60221008],
[1.5300133, 0.9606923, -0.79434177, 0.92687173, 1.5493253],
[-0.35610485, -0.467774, 0.79408433, -0.46202371, -0.58616174],
[0.82406803, 0.61953257, -0.22184624, 0.61120781, 0.67040318],
[-0.33473208, -0.42123435, 0.39786289, -0.41754776, -0.4467378],
[-0.59704681, -0.89013644, 0.1428792, -0.86690615, -0.46702334],
[-0.27033676, -0.31698804, 0.1460948, -0.31565307, -0.27743313],
[1.0258857, 0.7403491, -0.19262469, 0.72738144, 0.74013901],
[1.1604516, 0.81467254, -0.19669616, 0.79792351, 0.80914553],
[0.71885488, 0.54399465, -0.50294544, 0.5370146, 0.80404022],
[0.05144662, 0.0500942, -0.04484664, 0.05008827, 0.06191909],
[0.47392482, 0.39353593, -0.1494817, 0.39127892, 0.40645485],
[0.22266008, 0.20231271, -0.06938075, 0.20200337, 0.19018864],
[0.25539674, 0.2288861, -0.08805858, 0.22842855, 0.22563724],
[-0.19568251, -0.2165339, 0.05437877, -0.21616435, -0.16088707],
[0.86800737, 0.63454643, -0.44857999, 0.6242839, 0.8776181],
[-0.44093685, -0.57926714, 0.14407138, -0.572141, -0.38263688],
[-0.38796266, -0.48874054, 0.12624104, -0.48442371, -0.33620446],
[0.54666874, 0.44328732, -0.17675284, 0.44005735, 0.47273195],
[2.0300788, 1.1682836, -0.96824133, 1.1108888, 1.998388],
[0.20015608, 0.18332403, -0.06902249, 0.18308848, 0.17684227],
[0.6704618, 0.53159956, -0.10716473, 0.52685744, 0.45843382],
[-0.44458745, -0.58919121, 0.16678779, -0.58147544, -0.40398901],
[0.54446718, 0.43989513, -0.22082431, 0.436578, 0.50777747],
[0.33144135, 0.28713208, -0.17030141, 0.28614888, 0.33446746],
[0.39694643, 0.34039606, -0.08209858, 0.33905965, 0.29576253],
[-0.42074543, -0.5470025, 0.16075656, -0.54077417, -0.3846619],
[-0.34132884, -0.41326123, 0.08979717, -0.41075309, -0.2755579],
[0.27126712, 0.24182145, -0.08746021, 0.24129014, 0.23435718],
[0.44037707, 0.37447891, -0.06255576, 0.37284401, 0.28950022],
[-0.14644983, -0.15791575, 0.04864516, -0.1577663, -0.12778576],
[0.83887112, 0.62380912, -0.30053485, 0.61477927, 0.75065164],
[-0.58971609, -0.84195736, 0.07898515, -0.82442391, -0.38014896],
[-0.14693144, -0.15819566, 0.04001161, -0.15805189, -0.11999096],
[-0.35444119, -0.4312898, 0.08034526, -0.42853408, -0.27228656],
[0.0737336, 0.07125403, -0.02561239, 0.07124013, 0.06530358],
[-0.14687879, -0.15771931, 0.02953682, -0.1575861, -0.10841864],
[-0.14879663, -0.16058595, 0.04713587, -0.16043045, -0.12779756],
[0.255008, 0.22848792, -0.09093051, 0.22802936, 0.22783254],
[0.52932208, 0.43116877, -0.17994595, 0.42816069, 0.46544749],
[-0.57678802, -0.83528755, 0.11985366, -0.81649906, -0.43043204],
[-0.43909753, -0.55885675, 0.06365748, -0.55347575, -0.29062556],
[0.59572477, 0.47490671, -0.21164208, 0.47086457, 0.53158712],
[1.3566666, 0.89996404, -0.38104577, 0.8751849, 1.1193978],
[0.23076888, 0.20661165, -0.21673278, 0.20619121, 0.28473205],
[-0.34028239, -0.4117036, 0.08954949, -0.40922324, -0.27474134],
[-0.37062089, -0.45756657, 0.09456789, -0.4541971, -0.29617234],
[0.38295285, 0.32751843, -0.13106841, 0.32618755, 0.3374993],
[-0.37335462, -0.47661172, 0.25405495, -0.47190847, -0.41374577],
[-0.15304894, -0.16668687, 0.09593084, -0.16648462, -0.16502496],
[0.1042071, 0.09911783, -0.05736882, 0.09907642, 0.10760526],
[-0.46824434, -0.62851306, 0.14796752, -0.61952704, -0.40183444],
[0.5037424, 0.41082186, -0.25088311, 0.4079888, 0.50308281],
[0.84808535, 0.63314877, -0.23483142, 0.62422333, 0.6964476],
[1.0502609, 0.7772032, -0.06052008, 0.76558315, 0.51110244],
[-0.53151373, -0.76676609, 0.21629309, -0.74987, -0.49625002],
[0.02620452, 0.02584242, -0.02552688, 0.02584158, 0.03272855],
[0.2398854, 0.21542703, -0.12027352, 0.21501237, 0.24010574],
[-0.22643811, -0.25247045, 0.03030234, -0.25197283, -0.1459268],
[0.1166085, 0.11048453, -0.04729675, 0.11043096, 0.10875283],
[1.3431452, 0.89781391, -0.32261633, 0.87398692, 1.0519314],
[-0.00187006, -0.00187161, 0.000327, -0.00187161, -0.00131753],
[-0.15164755, -0.16445306, 0.06738007, -0.16427307, -0.14579549],
[0.08269046, 0.07945194, -0.04361586, 0.0794308, 0.08417732],
[0.08617637, 0.08305152, -0.0150427, 0.08303264, 0.06067978],
[0.2798524, 0.25006393, -0.05532456, 0.24953681, 0.20540075],
[-0.30467726, -0.36042436, 0.08464232, -0.3587339, -0.25047586],
[0.30195525, 0.26443918, -0.15980555, 0.26366505, 0.30772941],
[1.340299, 0.89487285, -0.34074742, 0.87098951, 1.0697657],
[-0.26049778, -0.3020933, 0.1130195, -0.30099117, -0.24846419],
[0.0397316, 0.03898097, -0.01635773, 0.03897861, 0.03723989],
[-0.34632342, -0.41654823, 0.06160529, -0.41419106, -0.24539775],
[-0.37410872, -0.45578874, 0.0546393, -0.45283957, -0.2482239],
[-0.04034842, -0.04111172, 0.0087849, -0.04110931, -0.03058252],
[-0.12428565, -0.13264089, 0.05264014, -0.13254735, -0.11759703],
[-0.72785825, -1.2666293, 0.17219649, -1.2040833, -0.56717355],
[1.8408131, 1.1261187, -0.38746129, 1.0820371, 1.3796192],
[-0.18881786, -0.20840084, 0.05869633, -0.20806299, -0.16115447],
[0.06242098, 0.06068176, -0.0164772, 0.06067368, 0.05044965],
[0.41261605, 0.34419064, -0.34676838, 0.34231182, 0.49059213],
[0.60428656, 0.48029853, -0.21858193, 0.47610295, 0.54247123],
[-0.30322308, -0.36506293, 0.18549386, -0.36297539, -0.32431075],
[0.1572132, 0.1467182, -0.04614981, 0.14660154, 0.13164144],
[-0.39806354, -0.51019956, 0.1704672, -0.50499905, -0.37802908],
[-0.2302522, -0.26219035, 0.10869935, -0.26145448, -0.22588541],
[-0.05024085, -0.05158971, 0.03198843, -0.05158368, -0.05445599],
[-0.55766118, -0.84608885, 0.31656254, -0.82207079, -0.58175945],
[-0.24070252, -0.2759872, 0.11441098, -0.27512835, -0.23667533],
[-0.16040658, -0.17378822, 0.03903075, -0.1736024, -0.12617125],
[-0.06634171, -0.06855248, 0.02223805, -0.06854021, -0.05806307],
[1.3592493, 0.8944937, -0.48455987, 0.86891532, 1.2142979],
[-0.28906615, -0.34194426, 0.12870891, -0.34034118, -0.27810643],
[-0.50352365, -0.69691907, 0.15762218, -0.68479707, -0.43075371],
[-0.69471901, -1.0704718, 0.06720278, -1.0378355, -0.40180178],
[0.21847797, 0.19887323, -0.06684954, 0.19858055, 0.18548747],
[-0.5428572, -0.75471105, 0.0941741, -0.74122646, -0.3814558],
[0.03577835, 0.03513084, -0.02541775, 0.03512889, 0.04022251],
[0.21380327, 0.19363341, -0.13368382, 0.1933169, 0.23034521],
[-0.32240633, -0.39064823, 0.14593547, -0.3882585, -0.31188847],
[0.66465513, 0.52295291, -0.16608129, 0.5179753, 0.52744981],
[-0.32430575, -0.39326332, 0.14356266, -0.39083764, -0.31140597],
[0.05393036, 0.05264785, -0.01205061, 0.05264277, 0.04123207],
[-0.0028317, -0.00283571, 0.00140141, -0.00283571, -0.00282204],
[-0.02135293, -0.02156446, 0.00476595, -0.02156411, -0.01631917],
[0.10786111, 0.10313359, -0.01531064, 0.10309907, 0.07088991],
[-0.47964118, -0.64280246, 0.11783585, -0.63370878, -0.37848336],
[-0.39842251, -0.51601229, 0.22492566, -0.51030478, -0.41487657],
[-0.09905477, -0.10351316, 0.01158226, -0.10347973, -0.06102737],
[-0.24547459, -0.27872479, 0.0546228, -0.27797657, -0.18741558],
[0.10888075, 0.10361494, -0.03673675, 0.10357251, 0.09550168],
[-0.66853058, -1.0972597, 0.19254359, -1.0536153, -0.55624639],
[-0.26737067, -0.31576114, 0.22301942, -0.31430952, -0.3171028],
[1.0645332, 0.73086408, -0.85099415, 0.71391715, 1.2447773],
[0.22606207, 0.20453712, -0.09427344, 0.20419621, 0.21279345],
[-0.43314942, -0.58895264, 0.36564343, -0.57978648, -0.51576802],
[-0.23247676, -0.25948378, 0.02658345, -0.25896213, -0.14216744],
[0.48348128, 0.39798279, -0.20933574, 0.39548186, 0.4608337],
[0.17081161, 0.15847915, -0.05211926, 0.15833091, 0.14488419],
[-0.51725932, -0.74111587, 0.2395372, -0.72537996, -0.50420429],
[1.1637011, 0.7996095, -0.40572604, 0.78114865, 1.0319261],
[0.517248, 0.42450814, -0.14397092, 0.42175838, 0.42550122],
[0.20377275, 0.18713122, -0.04431389, 0.18690503, 0.15439055],
[0.37960426, 0.31476553, -0.95803217, 0.31293262, 0.65116455],
[0.26374504, 0.23715653, -0.04998972, 0.2367108, 0.19087972],
[0.16509569, 0.15369065, -0.04393403, 0.15355947, 0.13379324],
[-0.14878344, -0.16056319, 0.04689619, -0.16040793, -0.12757304],
[0.03112964, 0.03070085, -0.0062502, 0.03069987, 0.02296628],
[-0.45146616, -0.6190492, 0.3128399, -0.60888544, -0.50334703],
[0.01026683, 0.01021352, -0.00610921, 0.01021347, 0.01088001],
[-0.03831364, -0.0390543, 0.01605932, -0.03905191, -0.03612612],
[0.24916831, 0.2203365, -0.34282994, 0.21978215, 0.3491656],
[0.20605202, 0.18741517, -0.11593127, 0.18713473, 0.21431939],
[0.26738299, 0.23812242, -0.10704603, 0.23759018, 0.24828817],
[-0.07107709, -0.07356866, 0.0197543, -0.0735541, -0.05844091],
[0.23730441, 0.21182058, -0.22739701, 0.21136564, 0.29476469],
[-0.27485574, -0.31636297, 0.04916292, -0.31532239, -0.1951158],
[-0.19505071, -0.21275145, 0.01592398, -0.21248413, -0.10660859],
[0.70056918, 0.54467763, -0.18947516, 0.53896875, 0.57081421],
[1.6429994, 1.0053109, -0.95644829, 0.96598995, 1.7284445],
[-0.46441552, -0.63262118, 0.21761309, -0.62265912, -0.45447446],
[0.14443729, 0.13599906, -0.02424701, 0.13591696, 0.10038811],
[-0.52960941, -0.79336663, 0.39957719, -0.77217395, -0.60745488],
[-0.33390194, -0.4038831, 0.10318464, -0.4014562, -0.28442056],
[-0.2285471, -0.25905302, 0.0867362, -0.25837651, -0.20847818],
[1.2125627, 0.7984311, -1.1857801, 0.77566244, 1.5164014],
[-0.32860078, -0.40410853, 0.21625493, -0.40124137, -0.36011765],
[-0.21919949, -0.24554758, 0.05514477, -0.24502109, -0.17434298],
[0.39846564, 0.33805359, -0.16176033, 0.33653529, 0.37173027],
[0.14472573, 0.13684479, -0.01196691, 0.13677331, 0.07943914],
[-0.62022414, -0.92676789, 0.10887495, -0.90231422, -0.43754068],
[-0.14261973, -0.1536374, 0.05400271, -0.1534957, -0.12999748],
[-0.01461438, -0.01471576, 0.0041704, -0.01471564, -0.01212242],
[0.99225736, 0.70501776, -0.44703681, 0.69147821, 0.95838641],
[-0.48755881, -0.66838696, 0.16829922, -0.65742882, -0.43091212],
[-0.3777599, -0.48123749, 0.2179296, -0.47656828, -0.3962105],
[0.20800236, 0.18925086, -0.10391383, 0.18896962, 0.20794411],
[-0.19079329, -0.213611, 0.16107615, -0.21315735, -0.22719345],
[0.31904245, 0.27589917, -0.26252013, 0.2749309, 0.37667186],
[0.04010878, 0.0393186, -0.02236594, 0.039316, 0.04159413],
[-0.02494808, -0.02525158, 0.00845639, -0.02525096, -0.02191609],
[0.8212072, 0.60966564, -0.38077433, 0.60074282, 0.80081903],
[-0.24368044, -0.27772481, 0.07283286, -0.2769348, -0.2052735],
[0.66968971, 0.52729017, -0.15116308, 0.5223009, 0.51373718],
[-0.22175179, -0.25047303, 0.08820703, -0.24985487, -0.2054735],
[-0.38644071, -0.47499015, 0.05802841, -0.47163706, -0.25878879],
[0.01919507, 0.01902635, -0.00490186, 0.01902611, 0.01534347],
[-0.3713334, -0.4571303, 0.08430312, -0.45385478, -0.28540871],
[0.14357274, 0.13569087, -0.01381273, 0.13561879, 0.08288664],
[-0.13841049, -0.1481505, 0.03228135, -0.14803637, -0.10734288],
[0.87551684, 0.66655617, -0.08041144, 0.65836644, 0.49769004],
[0.91127172, 0.66035816, -0.42523081, 0.64907921, 0.89053331],
[-0.30803484, -0.37574199, 0.27045591, -0.3732811, -0.37162825],
[-0.00678639, -0.00681114, 0.00619686, -0.00681113, -0.00829519],
[-0.27461572, -0.32156385, 0.12059118, -0.32023279, -0.26298568],
[-0.27504152, -0.31881524, 0.07147225, -0.31765917, -0.22113356],
[0.73670468, 0.57617649, -0.09651916, 0.57041651, 0.47142231],
[-0.47160338, -0.6449074, 0.20866342, -0.63449845, -0.45276903],
[0.01841131, 0.01823494, -0.0149963, 0.01823466, 0.02166346],
[-0.5864559, -0.87238967, 0.15950373, -0.84987263, -0.47872986],
[-0.23419911, -0.26584045, 0.07806246, -0.26513025, -0.20458835],
[-0.06042102, -0.06234982, 0.03249908, -0.06233956, -0.06190976],
[-0.56688868, -0.98333402, 1.2357693, -0.93532088, -0.92609242],
[-0.64334619, -0.99313137, 0.12726082, -0.96260133, -0.47228562],
[-0.37870995, -0.50850668, 0.81436117, -0.50121973, -0.61586685],
[-0.72441698, -1.1832351, 0.09617001, -1.1370623, -0.46560286],
[-0.22634773, -0.25477515, 0.0594121, -0.25418177, -0.18259368],
[0.42793116, 0.35498325, -0.35874136, 0.35292514, 0.50837762],
[0.47199579, 0.39193388, -0.15444486, 0.38968604, 0.40978862],
[1.1985705, 0.83253909, -0.22061912, 0.81439502, 0.85901372],
[0.23502298, 0.2116479, -0.10906943, 0.21126127, 0.22925451],
[-0.39761407, -0.50587964, 0.1393689, -0.50102296, -0.35321552],
[-0.30317936, -0.36865385, 0.27304678, -0.36631514, -0.36888312],
[0.52891415, 0.4286696, -0.23649281, 0.42553087, 0.50957264],
[0.09077196, 0.08692412, -0.04414515, 0.08689695, 0.08993709],
[-0.14416059, -0.1568803, 0.14318278, -0.15669352, -0.18121937],
[0.73647886, 0.57278216, -0.12516194, 0.56679404, 0.51397376],
[-0.30020097, -0.35901216, 0.15278503, -0.35710415, -0.3019801],
[-0.30970783, -0.36488812, 0.0616491, -0.36325833, -0.22783496],
[-0.13090644, -0.14142637, 0.14714733, -0.14128564, -0.17148842],
[1.7228459, 1.0583109, -0.58431917, 1.0175577, 1.5137622],
[-0.22877864, -0.25919887, 0.08362009, -0.25852681, -0.20609013],
[-0.82510806, -1.6126582, 0.1515493, -1.4979969, -0.59092886],
[-0.64003893, -1.0073362, 0.1692274, -0.97361338, -0.51757245],
[-0.13130595, -0.14057566, 0.05050397, -0.1404667, -0.12031177],
[-0.18244628, -0.19973106, 0.03812658, -0.19945858, -0.13640887],
[0.02164936, 0.0214168, -0.01169166, 0.02141638, 0.02221257],
[0.50690309, 0.41969105, -0.10328319, 0.41720801, 0.37581131],
[1.0020303, 0.7351515, -0.12375838, 0.72352927, 0.62871736]]
invgauss_resids = np.asarray(invgauss).astype(float).reshape(-1, 5)
wfs_resids = [-1.168096, -1.274198, -22.17336, -1.276003, -3.11599,
1.11769, 1.074522, 93.39722, 1.074787, 4.886437,
.7295976, .715076, 143.1204, .7151231, 4.239254,
.6471395, .6355711, 124.1729, .6356048, 3.732567,
.5949094, .5789607, 24.55698, .5790298, 2.056012,
-.8578523, -.8829973, -123.7017, -.8831246, -4.498492,
.9996619, .9733517, 207.696, .9734635, 5.92077, -.3647809,
-.3685094, -82.85051, -.3685159, -2.225631, -.5218114,
-.5276356, -268.2977, -.5276466, -4.180369, -.9659918,
-.9815653, -1084.813, -.981608, -10.04078, .3903325,
.3878348, 390.8879, .3878375, 3.905176, -.1136672,
-.1140306, -24.22441, -.1140308, -.6789552, 1.404348,
1.344308, 166.2025, 1.344715, 6.894916, .6979978, .6888638,
444.2878, .6888834, 6.004232, -.4536614, -.4585339, -171.4895,
-.4585427, -3.280201, -.1426753, -.1432245, -34.60201,
-.1432249, -.8897463, 4.041986, 3.678221, 839.28, 3.683146,
23.93493, -.4076838, -.4104721, -420.7155, -.4104753,
-4.119822, 1.037925, 1.021274, 1152.838, 1.021318, 10.74897,
1.002495, .9780589, 268.3886, .9781554, 6.461147, -1.810334,
-1.851575, -4981.573, -1.851736, -25.3685, -1.028229,
-1.038076, -6328.413, -1.038092, -18.84335, -.3727405,
-.3743742, -1096.784, -.3743754, -5.341272, .5779432,
.5697695, 164.1083, .5697884, 3.798688, 1.083387, 1.055122,
294.6827, 1.055241, 7.019516, .2389214, .2379634, 227.0207,
.237964, 2.348868, -.6575496, -.6669395, -330.597, -.6669623,
-5.228599, -1.223007, -1.27265, -208.9083, -1.273003, -6.785854,
.5404838, .534834, 319.6869, .5348437, 4.536944, -2.227986,
-2.295954, -5036.329, -2.296313, -29.24016, .2379562,
.2370335, 247.2598, .2370341, 2.410178, 1.05744, 1.030792,
298.8007, 1.030901, 6.939011, .3025656, .3017648, 2051.827,
.3017652, 5.726993, -.1662367, -.1664337, -2143.633,
-.1664338, -3.898237, .9615754, .9505365, 2399.173,
.9505573, 13.04196, .6036977, .5925143, 84.08839, .5925481,
3.12938, -.4469533, -.4512659, -221.0249, -.451273,
-3.534449, .9504169, .9381722, 1602.909, .9381981, 11.31303,
-1.58407, -1.647805, -602.1467, -1.648254, -11.47494,
-.5808498, -.5975259, -27.5484, -.5976085, -2.102526,
-.6490194, -.6557381, -799.9641, -.6557499, -6.958708,
.6957488, .6903502, 2190.347, .6903571, 10.19701, .1750624,
.174529, 150.309, .1745293, 1.663886, .1572418, .1562937,
12.33672, .1562946, .6731502, -.6408126, -.6436554,
-9244.279, -.6436575, -15.59954, 1.101677, 1.092417,
10778.35, 1.09243, 23.56244, -.4992968, -.5028596,
-835.3172, -.5028639, -5.927292, -.9280973, -1.02178,
-6.907707, -1.023576, -1.812064, .6339129, .6277187,
744.4614, .6277287, 6.688065, -.6707486,
-.6785607, -647.0199, -.6785761, -6.627439, -1.38237,
-1.427934, -602.4287, -1.428195, -10.48056, -1.459774,
-1.554047, -125.0777, -1.555148, -6.435521, -1.093153,
-1.111322, -1629.418, -1.111374, -12.48719, -.3837357,
-.3857544, -717.1755, -.3857562, -4.726757, -.5606073,
-.5670648, -326.075, -.5670773, -4.679632, .8169871, .7887753,
38.50973, .7889313, 2.951211, 1.275712, 1.265811, 24735.07,
1.265823, 34.27201, .0862263, .0861666, 766.7436, .0861666,
1.786392, .3344287, .3328024, 485.5152, .3328038, 3.786779,
-1.345582, -1.471176, -36.61779, -1.473379, -4.047349,
.4774571, .4752944, 2502.141, .475296, 8.29329, .349272,
.3477617, 824.9081, .3477628, 4.651336, -.5002936,
-.5066125, -158.1673, -.506626, -3.408177, -1.247884,
-1.411017, -12.7456, -1.415246, -2.707506, -1.673559,
-1.700277, -10051.77, -1.70035, -30.4211, .3986639,
.3972206, 2398.038, .3972214, 7.250311, 1.482003, 1.444616,
1148.828, 1.444769, 13.61396, .0587717, .0587566, 3267.75,
.0587566, 2.243168, .4706421, .4689196, 4507.782, .4689206,
9.994969, -1.157463, -1.186371, -642.0396, -1.186495, -9.510254]
wfs_resids = np.asarray(wfs_resids).astype(float).reshape(-1, 5)
|
class Calculator:
def add(self, op1, op2):
if (op1 < 0 or op2 < 0):
raise ArithmeticError("No se permiten valores negativos")
return op1 + op2
def minus(self, op1, op2):
if (op1 < 0 or op2 < 0):
raise ArithmeticError("No se permiten valores negativos")
return op1 - op2
def multiple(self, op1, op2):
if (op1 < 0 or op2 < 0):
raise ArithmeticError("No se permiten valores negativos")
result = 0
for i in range(op2):
result = self.add(result,op1)
return result
def divide(self, n, d):
if (d <= 0 or n < 0):
raise ArithmeticError("No se permiten valores negativos")
quotient = 0
residue = n
while residue >= d:
quotient = self.add(quotient, 1)
residue = self.minus(residue, d)
return (quotient, residue)
def sqrt(self, op):
a = self.multiple(5, op)
b = 5
while b < 10000000:
if (a >= b):
a = self.minus(a,b)
b = self.add(b, 10)
else:
a = self.multiple(a, 100)
b = self.multiple(b, 10)
b = self.minus(b, 45)
b = self.minus(b, 5)
return self.divide(b, 10000000)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
(c) 2018 Brant Faircloth || http://faircloth-lab.org/
All rights reserved.
This code is distributed under a 3-clause BSD license. Please see
LICENSE.txt for more information.
Created on 14 April 2018 16:12 CDT (-0500)
"""
import os
import re
import glob
import ConfigParser
class Read():
"""Fastq reads"""
def __init__(self, dir, file):
self.dir = dir
self.file = file
if dir is not None and file is not None:
self.pth = os.path.join(dir, file)
else:
self.pth = None
def __str__(self):
return "{} fastq read".format(self.file)
def __repr__(self):
return "<{}.{} instance at {}>".format(self.file, self.__class__.__name__, hex(id(self)))
class Fastqs():
"""Container for fastq data"""
def __init__(self):
self.r1 = None
self.r2 = None
self.singleton = None
self.type = None
self.gzip = False
self.type = 'fastq'
self.reads = ()
def __str__(self):
return "Fastq container of R1, R2, Singletons"
def set_read(self, read, dir, file):
if read == 'r1':
self.r1 = Read(dir, file)
self.reads += ((self.r1),)
elif read == 'r2':
self.r2 = Read(dir, file)
self.reads += ((self.r2),)
elif read == 'singleton':
self.singleton = Read(dir, file)
self.reads += ((self.singleton),)
class Fastas(Fastqs):
"""Container for fasta data"""
def __init__(self):
Fastqs.__init__(self)
self.type = 'fasta'
def check_for_fastq(dir, subfolder):
types = ("*.fastq.gz", "*.fastq.gzip", "*.fq.gz", "*fq.gzip", "*.fq", "*.fastq")
files = []
for type in types:
files.extend(glob.glob(os.path.join(dir, subfolder, type)))
return files
def check_for_fasta(dir, subfolder):
types = ("*.fasta.gz", "*.fasta.gzip", "*.fa.gz", "*fa.gzip", "*.fa", "*.fasta")
files = []
for type in types:
files.extend(glob.glob(os.path.join(dir, subfolder, type)))
return files
def get_input_files(dir, subfolder, log):
log.info("Finding fastq/fasta files")
fastq_files = check_for_fastq(dir, subfolder)
fasta_files = check_for_fasta(dir, subfolder)
if fastq_files and fasta_files:
raise IOError("There are both fasta and fastq files in {}".format(dir))
if not fastq_files and not fasta_files:
raise IOError("There are not appropriate files in {}".format(dir))
if fastq_files:
log.info("File type is fastq")
fq = Fastqs()
files = fastq_files
elif fasta_files:
log.info("File type is fasta")
fq = Fastas()
files = fasta_files
# get dirname of first file
dir = os.path.dirname(files[0])
ext = set()
for f in files:
# get file extension
ext.add(os.path.splitext(f)[-1])
# get file name
fname = os.path.basename(f)
# find which reach this is
match = re.search("(?:.*)[_-](?:READ|Read|R)(\d)*[_-]*(singleton|unpaired)*(?:.*)", fname)
try:
if match.groups()[0] == '1':
assert fq.r1 is None
fq.set_read('r1', dir, fname)
elif match.groups()[0] == '2':
assert fq.r2 is None
fq.set_read('r2', dir, fname)
elif match.groups()[1] == 'singleton'or match.groups()[1] == 'unpaired':
assert fq.singleton is None
fq.set_read('singleton', dir, fname)
except:
raise IOError("The appear to be multiple files for R1/R2/Singleton reads")
if len(ext) != 1:
raise IOError("Files are of different types (e.g. gzip and fastq)")
if '.gzip' in ext or '.gz' in ext:
fq.gzip = True
return fq |
from web import SPACES
from lang import trn
_langs = 'EN', 'CZ'
def page(web):
yield web.heading( 2, trn['Choose Language'])
yield web.table_head((trn['Language'], ''), 'frame="hsides"', 'style="text-align:left"')
for l in _langs:
yield web.table_row((l, web.button(trn['Use'], 'lnguse', (('l', l), ))), SPACES)
yield web.table_tail()
|
"""More comprehensive traceback formatting for Python scripts.
Original version know as cgitb written By Ka-Ping Yee <ping@lfw.org>
Modified for Webware by Ian Bicking <ianb@colorstudy.com>
"""
import inspect
import keyword
import linecache
import os
import pydoc
import sys
import tokenize
from types import MethodType
pyhtml = pydoc.html
escape = pyhtml.escape
DefaultOptions = {
'table': 'background-color:#F0F0F0',
'default': 'color:#000000',
'row.location': 'color:#000099',
'row.code': 'color:#990000',
'header': 'color:#FFFFFF;background-color:#999999',
'subheader': 'color:#000000;background-color:#F0F0F0;font-size:10pt',
'code.accent': 'background-color:#FFFFCC',
'code.unaccent': 'color:#999999;font-size:10pt',
}
def breaker():
return ('<body style="background-color:#F0F0FF">' +
'<span style="color:#F0F0FF;font-size:small"> > </span> ' +
'</table>' * 5)
def html(context=5, options=None):
if options:
opt = DefaultOptions.copy()
opt.update(options)
else:
opt = DefaultOptions
etype, evalue = sys.exc_info()[:2]
if not isinstance(etype, basestring):
etype = etype.__name__
inspect_trace = inspect.trace(context)
pyver = 'Python ' + sys.version.split(None, 1)[0] + '<br>' + sys.executable
javascript = """
<script type="text/javascript" language="JavaScript"><!--
function tag(s) { return '<'+s+'>'; }
function popup_repr(title, value) {
w = window.open('', '_blank',
'directories=no,height=240,width=480,location=no,menubar=yes,'
+'resizable=yes,scrollbars=yes,status=no,toolbar=no');
if (!w) return true;
w.document.open();
w.document.write(tag('html')+tag('head')
+tag('title')+title+tag('/title')+tag('/head')
+tag('body style="background-color:#ffffff"')
+tag('h3')+title+':'+tag('/h3')
+tag('p')+tag('code')+value+tag('/code')+tag('/p')+tag('form')+
tag('input type="button" onClick="window.close()" value="Close"')
+tag('/form')+tag('/body')+tag('/html'));
w.document.close();
return false;
}
// -->
</script>
"""
traceback_summary = []
for frame, file, lnum, func, lines, index in reversed(inspect_trace):
if file:
file = os.path.abspath(file)
else:
file = 'not found'
traceback_summary.append('<a href="#%s:%d" style="%s">%s</a>:'
'<code style="font-family:Courier,sans-serif">%s</code>'
% (file.replace('/', '-').replace('\\', '-'), lnum,
opt['header'], os.path.splitext(os.path.basename(file))[0],
("%5i" % lnum).replace(' ', ' ')))
head = ('<table style="width:100%%;%s">'
'<tr><td style="text-align:left;vertical-align:top">'
'<strong style="font-size:x-large">%s</strong>: %s</td>'
'<td rowspan="2" style="text-align:right;vertical-align:top">%s</td></tr>'
'<tr><td style="vertical-align:top;background-color:#ffffff">\n'
'<p style="%s">A problem occurred while running a Python script.</p>'
'<p style="%s">Here is the sequence of function calls leading up to'
' the error, with the most recent (innermost) call first.</p>\n'
'</td></tr></table>\n'
% (opt['header'], etype, escape(str(evalue)),
'<br>\n'.join(traceback_summary), opt['default'], opt['default']))
indent = '<code><small>%s</small> </code>' % (' ' * 5)
traceback = []
for frame, file, lnum, func, lines, index in reversed(inspect_trace):
if file:
file = os.path.abspath(file)
else:
file = 'not found'
try:
file_list = file.split('/')
display_file = '/'.join(
file_list[file_list.index('Webware') + 1:])
except ValueError:
display_file = file
if display_file[-3:] == '.py':
display_file = display_file[:-3]
link = '<a id="%s:%d"></a><a href="file:%s">%s</a>' % (
file.replace('/', '-').replace('\\', '-'),
lnum, file.replace('\\', '/'), escape(display_file))
args, varargs, varkw, locals = inspect.getargvalues(frame)
if func == '?':
call = ''
else:
call = 'in <strong>%s</strong>' % func + inspect.formatargvalues(
args, varargs, varkw, locals,
formatvalue=lambda value: '=' + html_repr(value))
names = []
dotted = [0, []]
def tokeneater(type, token, start, end, line, names=names, dotted=dotted):
if type == tokenize.OP and token == '.':
dotted[0] = 1
if type == tokenize.NAME and token not in keyword.kwlist:
if dotted[0]:
dotted[0] = 0
dotted[1].append(token)
if token not in names:
names.append(dotted[1][:])
elif token not in names:
if token != 'self':
names.append(token)
dotted[1] = [token]
if type == tokenize.NEWLINE:
raise IndexError
def linereader(file=file, lnum=[lnum]):
line = linecache.getline(file, lnum[0])
lnum[0] += 1
return line
try:
tokenize.tokenize(linereader, tokeneater)
except IndexError:
pass
lvals = []
for name in names:
if isinstance(name, list):
if name[0] in locals or name[0] in frame.f_globals:
name_list, name = name, name[0]
if name_list[0] in locals:
value = locals[name_list[0]]
else:
value = frame.f_globals[name_list[0]]
name = '<em>global</em> %s' % name
for subname in name_list[1:]:
if hasattr(value, subname):
value = getattr(value, subname)
name += '.' + subname
else:
name += '.(unknown: %s)' % subname
break
name = '<strong>%s</strong>' % name
if isinstance(value, MethodType):
value = None
else:
value = html_repr(value)
elif name in frame.f_code.co_varnames:
if name in locals:
value = html_repr(locals[name])
else:
value = '<em>undefined</em>'
name = '<strong>%s</strong>' % name
else:
if name in frame.f_globals:
value = html_repr(frame.f_globals[name])
else:
value = '<em>undefined</em>'
name = '<em>global</em> <strong>%s</strong>' % name
if value is not None:
lvals.append('%s = %s' % (name, value))
if lvals:
lvals = ', '.join(lvals)
lvals = indent + '<span style="%s">%s</span><br>\n' % (
opt['code.unaccent'], lvals)
else:
lvals = ''
level = ('<br><table style="width:100%%;%s">'
'<tr><td>%s %s</td></tr></table>'
% (opt['subheader'], link, call))
excerpt = []
try:
i = lnum - index
except TypeError:
i = lnum
lines = lines or ['file not found']
for line in lines:
number = ' ' * (5-len(str(i))) + str(i)
number = '<span style="%s">%s</span>' % (
opt['code.unaccent'], number)
line = '<code>%s %s</code>' % (
number, pyhtml.preformat(line))
if i == lnum:
line = ('<table style="width:100%%;%s">'
'<tr><td>%s</td></tr></table>'
% (opt['code.accent'], line))
excerpt.append('\n' + line)
if i == lnum:
excerpt.append(lvals)
i += 1
traceback.append(level + '\n'.join(excerpt))
exception = '<p><strong>%s</strong>: %s\n' % (etype, escape(str(evalue)))
attribs = []
if evalue is not None:
for name in dir(evalue):
if name.startswith('__'):
continue
value = html_repr(getattr(evalue, name))
attribs.append('<br>%s%s = %s\n' % (indent, name, value))
return (javascript + head + ''.join(traceback)
+ exception + ''.join(attribs) + '</p>\n')
def handler():
print breaker()
print html()
def html_repr(value):
html_repr_instance = pyhtml._repr_instance
enc_value = pyhtml.repr(value)
if len(enc_value) > html_repr_instance.maxstring:
plain_value = escape(repr(value))
return ('%s <a href="#" onClick="return popup_repr('
"'Full representation','%s')"
'" title="Full representation">(complete)</a>' % (enc_value,
escape(plain_value).replace("'", "\\'").replace('"', '"')))
else:
return enc_value
|
import random as rnd
import numpy as np
from imblearn.over_sampling import SMOTE
from sklearn.linear_model import SGDClassifier
from ..utils import augmented_rvalue, DataChecker, generate_features
class MOS(DataChecker):
"""
Performs Minimizing Overlapping Selection under SMOTE (MOSS) or under No-Sampling (MOSNS) algorithm.
Parameters
----------
model : constructor
The constructor of the model that will be used. Currently only SGDClassifier should be passed,
other models would not work.
loss : str, 'log' or 'hinge'
Loss function to use in the algorithm. 'log' gives a logistic regression, while 'hinge'
gives a support vector machine.
seed : int
Seed for python random.
Notes
-----
For more details see `this paper <https://www.sciencedirect.com/science/article/pii/S0169743919306070/>`_.
Examples
--------
>>> from ITMO_FS.embedded import MOS
>>> import numpy as np
>>> from sklearn.datasets import make_classification
>>> from sklearn.linear_model import LogisticRegression
>>> dataset = make_classification(n_samples=100, n_features=20)
>>> data, target = np.array(dataset[0]), np.array(dataset[1])
>>> for i in range(50): # create imbalance between classes
... target[i] = 0
>>> m=MOS()
>>> m.fit(data, target)
>>> m.transform(data).shape[0]
100
"""
def __init__(self, model=SGDClassifier, loss='log',
seed=42): # TODO Add wrapper function which will take weights from module
if loss not in ['hinge', 'log']:
raise KeyError("Loss should be 'hinge' or 'log', %r was passed" % loss)
self.model = model
self.loss = loss
rnd.seed = seed
self.selected_features = None
def fit(self, X, y, l1_ratio=0.5, threshold=10e-4, epochs=1000, alphas=np.arange(0.0002, 0.02, 0.0002),
sampling=True, feature_names=None):
"""
Runs the MOS algorithm on the specified dataset.
Parameters
----------
X : array-like, shape (n_samples,n_features)
The input samples.
y : array-like, shape (n_samples)
The classes for the samples.
l1_ratio : float, optional
The value used to balance the L1 and L2 penalties in elastic-net.
threshold : float, optional
The threshold value for feature dropout. Instead of comparing them to zero, they are normalized
and values with absolute value lower than the threshold are dropped out.
epochs : int, optional
The number of epochs to perform in the algorithm.
alphas : array-like, shape (n_alphas), optional
The range of lambdas that should form the regularization path.
sampling : bool, optional
Bool value that control whether MOSS (True) or MOSNS (False) should be executed.
feature_names : list of strings, optional
In case you want to define feature names
Returns
------
None
"""
features = generate_features(X)
X, y, feature_names = self._check_input(X, y, feature_names)
self.feature_names = dict(zip(features, feature_names))
if sampling:
X, y = SMOTE(random_state=rnd.seed).fit_resample(X, y)
min_rvalue = 1
min_b = []
for a in alphas: # TODO: do a little more research on the range of lambdas
model = self.model(loss=self.loss, random_state=rnd.seed, penalty='elasticnet',
alpha=a, l1_ratio=l1_ratio, max_iter=epochs) # TODO Change that to more abstract type
model.fit(X, y)
b = model.coef_[0]
rvalue = augmented_rvalue(X[:, [i for i in range(X.shape[1]) if np.abs(b[i]) > threshold]], y)
if min_rvalue > rvalue:
min_rvalue = rvalue
min_b = b
self.selected_features = features[[i for i in range(X.shape[1]) if np.abs(min_b[i]) > threshold]]
def transform(self, X):
"""
Transform given data by slicing it with selected features.
Parameters
----------
X : array-like, shape (n_samples, n_features)
The training input samples.
Returns
------
Transformed 2D numpy array
"""
if type(X) is np.ndarray:
return X[:, self.selected_features.astype(int)]
else:
return X[self.selected_features]
def fit_transform(self, X, y, l1_ratio=0.5, threshold=10e-4, epochs=1000, alphas=np.arange(0.0002, 0.02, 0.0002),
sampling=True, feature_names=None):
"""
Fits the algorithm and transforms given dataset X.
Parameters
----------
X : array-like, shape (n_features, n_samples)
The training input samples.
y : array-like, shape (n_samples, )
The target values.
l1_ratio : float, optional
The value used to balance the L1 and L2 penalties in elastic-net.
threshold : float, optional
The threshold value for feature dropout. Instead of comparing them to zero, they are normalized
and values with absolute value lower than the threshold are dropped out.
epochs : int, optional
The number of epochs to perform in gradient descent.
alphas : array-like, shape (n_alphas), optional
The range of lambdas that should form the regularization path.
sampling : bool, optional
Bool value that control whether MOSS (True) or MOSNS (False) should be executed.
feature_names : list of strings, optional
In case you want to define feature names
Returns
-------
X dataset sliced with features selected by the algorithm
"""
self.fit(X, y, feature_names=feature_names)
return self.transform(X)
|
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2021-04-30 06:16
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('mooringlicensing', '0107_auto_20210430_1340'),
]
operations = [
migrations.AlterField(
model_name='dcvpermit',
name='dcv_vessel',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dcv_permits', to='mooringlicensing.DcvVessel'),
),
migrations.AlterField(
model_name='dcvpermit',
name='fee_season',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dcv_permits', to='mooringlicensing.FeeSeason'),
),
migrations.AlterField(
model_name='dcvpermit',
name='submitter',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dcv_permits', to=settings.AUTH_USER_MODEL),
),
]
|
"""
In this solution, the caller function passes the set of values to the callee
function. Then, the callee function retrieves the callee's last executed line
of code and uses a regular expression to guess the identifiers that were used.
> As I said, I don't recommend using that, nor would I ever use such a hack.
> Using inspect is IMO always a sign that something is going horrible, horrible
> wrong. I just wanted to show that it's possible... but as we all know, you
> shouldn't do something JUST because it's possible.
> - Ivo Wetzel May 1 '10 at 12:59
> https://stackoverflow.com/questions/2749796/how-to-get-the-original-variable-name-of-variable-passed-to-a-function/2749857#comment2780046_2749857
"""
import inspect
import traceback
import re
def make_dict(*args):
function_name = inspect.getframeinfo(inspect.currentframe()).function
code = traceback.extract_stack()[-2][3] # get line that called me
regex = re.escape(function_name) + r'\((.*?)\).*$'
var_names = re.compile(regex).search(code).groups()[0].split(',')
return dict(zip(var_names, [v for v in args]))
def my_func():
a,b,c,d=1,2,3,4
print make_dict(a,b,c,d)
my_func() |
# Programa 4.6 - Categoria x preço
'''Tabela 4.1 - Categoria de produtos e preço
Categoria Preço
1 10,00
2 18,00
3 23,00
4 26,00
5 31,00 '''
categoria = int(input("Digite a categoria do produto: "))
if categoria == 1:
preço = 10
else:
if categoria == 2:
preço = 18
else:
if categoria == 3:
preço = 23
else:
if categoria == 4:
preço = 26
else:
if categoria == 5:
preço = 31
else:
print("Categoria inválida, digite um valor entre 1 e 5!")
preço = 0
print(f"O preço do produto do produto é: R${preço:6.2f}") |
class Consumer:
def __init__(self, w):
"Initialize consumer with w dollars of wealth"
self.wealth = w
def earn(self, y):
"The consumer earns y dollars"
self.wealth += y
def spend(self, x):
"The consumer spends x dollars if feasible"
new_wealth = self.wealth - x
if new_wealth < 0:
print("Insufficent funds")
else:
self.wealth = new_wealth
|
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import argparse
import errno
import os
def make_directories(path):
try:
os.makedirs(path)
except OSError as exc:
if exc.errno == errno.EEXIST and os.path.isdir(path):
pass
else:
raise
# Dump the bytes of file into a C translation unit.
# This can be used to embed the file contents into a binary.
def main():
parser = argparse.ArgumentParser()
parser.add_argument(
'--symbol-name',
type=str,
required=True,
help='The name of the symbol referencing the data.'
)
parser.add_argument(
'--output-header',
type=str,
required=True,
help='The header file containing the symbol reference.'
)
parser.add_argument(
'--output-source',
type=str,
required=True,
help='The source file containing the file bytes.'
)
parser.add_argument(
'--source',
type=str,
required=True,
help='The source file whose contents to embed in the output source file.'
)
args = parser.parse_args()
assert os.path.exists(args.source)
output_header = os.path.abspath(args.output_header)
output_source = os.path.abspath(args.output_source)
output_header_basename = output_header[output_header.rfind('/') + 1:]
make_directories(os.path.dirname(output_header))
make_directories(os.path.dirname(output_source))
with open(args.source, 'rb') as source, open(output_source, 'w') as output:
data_len = 0
output.write(f'#include "{output_header_basename}"\n')
output.write(f'const unsigned char impeller_{args.symbol_name}_data[] =\n')
output.write('{\n')
while True:
byte = source.read(1)
if not byte:
break
data_len += 1
output.write(f'{ord(byte)},')
output.write('};\n')
output.write(
f'const unsigned long impeller_{args.symbol_name}_length = {data_len};\n'
)
with open(output_header, 'w') as output:
output.write('#pragma once\n')
output.write('#ifdef __cplusplus\n')
output.write('extern "C" {\n')
output.write('#endif\n\n')
output.write(
f'extern const unsigned char impeller_{args.symbol_name}_data[];\n'
)
output.write(
f'extern const unsigned long impeller_{args.symbol_name}_length;\n\n'
)
output.write('#ifdef __cplusplus\n')
output.write('}\n')
output.write('#endif\n')
if __name__ == '__main__':
main()
|
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
# AWS X-ray support
from aws_xray_sdk.core import xray_recorder
from aws_xray_sdk.ext.flask.middleware import XRayMiddleware
from aws_xray_sdk.core import patch_all
patch_all()
xray_recorder.begin_segment("Videos-init")
import logging
import json
import os
import pathlib
import pprint
import subprocess
import threading
import time
import boto3
import srt
from flask import Flask, jsonify, Response
from flask_cors import CORS
# -- Environment variables - defined by CloudFormation when deployed
VIDEO_BUCKET = os.environ.get('RESOURCE_BUCKET')
SSM_VIDEO_CHANNEL_MAP_PARAM = os.environ.get('PARAMETER_IVS_VIDEO_CHANNEL_MAP', 'retaildemostore-ivs-video-channel-map')
USE_DEFAULT_IVS_STREAMS = os.environ.get('USE_DEFAULT_IVS_STREAMS') == 'true'
DEFAULT_THUMB_FNAME = 'default_thumb.png'
STATIC_FOLDER = '/app/static'
STATIC_URL_PATH = '/static'
SUBTITLE_FORMAT = 'srt'
LOCAL_VIDEO_DIR = '/app/video-files/'
DEFAULT_STREAMS_CONFIG_S3_PATH = 'videos/default_streams/default_streams.json'
# -- Parameterised ffmpeg commands
FFMPEG_STREAM_CMD = """ffmpeg -loglevel panic -hide_banner -re -stream_loop -1 -i \"{video_filepath}\" \
-r 30 -c:v copy -f flv rtmps://{ingest_endpoint}:443/app/{stream_key} -map 0:s -f {subtitle_format} -"""
FFMPEG_SUBS_COMMAND = "ffmpeg -i \"{video_filepath}\" \"{subtitle_path}\""
# Globally accessed variable to store stream metadata (URLs & associated product IDs). Returned via `stream_details`
# endpoint
stream_details = {}
ivs_client = boto3.client('ivs')
ssm_client = boto3.client('ssm')
s3_client = boto3.client('s3')
# -- Load default streams config
def load_default_streams_config():
app.logger.info(f"Downloading default streams config from from bucket {VIDEO_BUCKET} with key {DEFAULT_STREAMS_CONFIG_S3_PATH}.")
config_response = s3_client.get_object(Bucket=VIDEO_BUCKET, Key=DEFAULT_STREAMS_CONFIG_S3_PATH)
config = json.loads(config_response['Body'].read().decode('utf-8'))
for (key, entry) in config.items():
app.logger.info(f"{key}, {entry}")
config[key] = {**entry, 'thumb_url': STATIC_URL_PATH + '/' + entry['thumb_fname']}
config[key].pop('thumb_fname', None)
app.logger.info("Pulled config:")
app.logger.info(config)
return config
# -- Video streaming
def download_video_file(s3_key):
"""
Downloads a video file and associated thumbnail from S3. Thumbnails are identified by a .png file with the same
name and in the same location as the video.
"""
local_path = LOCAL_VIDEO_DIR + s3_key.split('/')[-1]
app.logger.info(f"Downloading file {s3_key} from bucket {VIDEO_BUCKET} to {local_path}.")
s3_client.download_file(Bucket=VIDEO_BUCKET, Key=s3_key, Filename=local_path)
app.logger.info(f"File {s3_key} downloaded from bucket {VIDEO_BUCKET} to {local_path}.")
thumbnail_path = None
thumbnail_key = '.'.join(s3_key.split('.')[:-1]) + '.png'
try:
local_thumbnail_fname = thumbnail_key.split('/')[-1]
local_thumbnail_path = app.static_folder + '/' + local_thumbnail_fname
s3_client.download_file(Bucket=VIDEO_BUCKET, Key=thumbnail_key, Filename=local_thumbnail_path)
app.logger.info(f"File {thumbnail_key} downloaded from bucket {VIDEO_BUCKET} to {local_thumbnail_path}.")
thumbnail_path = app.static_url_path + '/' + local_thumbnail_fname
except Exception as e:
app.logger.warning(f'No thumbnail available for {VIDEO_BUCKET}/{s3_key} as {VIDEO_BUCKET}/{thumbnail_key} - '
f'exception: {e}')
return local_path, thumbnail_path
def get_ffmpeg_stream_cmd(video_filepath, ingest_endpoint, stream_key, subtitle_format):
"""
Returns the command to start streaming a video using ffmpeg.
"""
return FFMPEG_STREAM_CMD.format(**locals())
def get_ffmpeg_subs_cmd(video_filepath, subtitle_path):
"""
Returns the ffmpeg command to rip subtitles (ie. metadata) from a video file.
"""
return FFMPEG_SUBS_COMMAND.format(**locals())
def get_featured_products(video_filepath, channel_id):
"""
Extracts a list of product IDs from the metadata attached to a video file. The values are saved in the global
`stream_details` dict.
"""
subtitle_path = pathlib.Path(video_filepath).with_suffix('.srt')
get_subs_command = get_ffmpeg_subs_cmd(video_filepath, subtitle_path)
process = subprocess.run(
get_subs_command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True, shell=True)
with open(subtitle_path) as f:
subtitle_content = srt.parse(f)
for line in subtitle_content:
product_id = json.loads(line.content)['productId']
if 'products' not in stream_details[channel_id]:
stream_details[channel_id]['products'] = [product_id]
else:
if product_id not in stream_details[channel_id]['products']:
stream_details[channel_id]['products'].append(product_id)
def is_ssm_parameter_set(parameter_name):
"""
Returns whether an SSM parameter with a given name has been set (ie. value is not 'NONE')
"""
try:
response = ssm_client.get_parameter(Name=parameter_name)
return response['Parameter']['Value'] != 'NONE'
except ssm_client.exceptions.ParameterNotFound:
return False
def put_ivs_metadata(channel_arn, line):
"""
Sends metadata to a given IVS stream. Metadata can be any string, but the AWS Retail Demo Store UI expects
metadata of the format {"productId":"<product-id>"}
"""
try:
app.logger.info(f'Sending metadata to stream: {line}')
ivs_client.put_metadata(
channelArn=channel_arn,
metadata=line
)
except ivs_client.exceptions.ChannelNotBroadcasting:
app.logger.warning(f'Channel not broadcasting. Waiting for 5 seconds.')
app.logger.info('Running ffmpeg processes:')
app.logger.info(os.system("ps aux|grep 'PID\|ffmpeg'"))
time.sleep(5)
def get_stream_state(channel_arn):
"""
Returns the state of a stream given it's ARN. One of 'LIVE', 'OFFLINE' (from API response)
or 'NOT_BROADCASTING' (inferred).
"""
try:
stream_response = ivs_client.get_stream(channelArn=channel_arn)['stream']
stream_state = stream_response['state']
except ivs_client.exceptions.ChannelNotBroadcasting:
stream_state = "NOT_BROADCASTING"
return stream_state
def start_streams():
"""
Initiates all IVS streams based on environment variables. If the SSM_VIDEO_CHANNEL_MAP_PARAM (map of videos in
S3 to IVS channels) is set and the user has not requested to use the default IVS streams
(USE_DEFAULT_IVS_STREAMS, defined by CloudFormation input) then one stream will be started per video described
in the video to IVS channel map. Each stream runs in a separate thread.
If streams are not started, then `stream_details` will be set to the details of a collection of existing streams
"""
if is_ssm_parameter_set(SSM_VIDEO_CHANNEL_MAP_PARAM) and not USE_DEFAULT_IVS_STREAMS:
video_channel_param_value = ssm_client.get_parameter(Name=SSM_VIDEO_CHANNEL_MAP_PARAM)['Parameter']['Value']
app.logger.info(f"Found IVS channel map: {video_channel_param_value}")
video_channel_map = json.loads(video_channel_param_value)
for idx, (s3_video_key, ivs_channel_arn) in enumerate(video_channel_map.items()):
threading.Thread(target=stream, args=(s3_video_key, ivs_channel_arn, idx)).start()
else:
global stream_details
stream_details = load_default_streams_config()
def stream(s3_video_key, ivs_channel_arn, channel_id):
"""
Starts the stream for a given video file and IVS channel. The video file is streamed on a loop using ffmpeg, and
any attached metadata (from the subtitles embedded in the video file) is sent to the channel's `put_metadata`
endpoint.
"""
video_filepath, thumb_url = download_video_file(s3_video_key)
if thumb_url is None:
thumb_url = app.static_url_path + '/' + DEFAULT_THUMB_FNAME
channel_response = ivs_client.get_channel(arn=ivs_channel_arn)['channel']
ingest_endpoint = channel_response['ingestEndpoint']
playback_endpoint = channel_response['playbackUrl']
stream_details[channel_id] = {'playback_url': playback_endpoint,
'thumb_url': thumb_url}
get_featured_products(video_filepath, channel_id)
stream_state = get_stream_state(ivs_channel_arn)
stream_arn = ivs_client.list_stream_keys(channelArn=ivs_channel_arn)['streamKeys'][0]['arn']
stream_key = ivs_client.get_stream_key(arn=stream_arn)['streamKey']['value']
app.logger.info(f"Stream details:\nIngest endpoint: {ingest_endpoint}\nStream state: {stream_state}")
if SUBTITLE_FORMAT == 'srt':
while True:
if stream_state != "NOT_BROADCASTING":
app.logger.info(f"Stream {stream_arn} is currently in state {stream_state}. Waiting for state NOT_BROADCASTING")
sleep_time = 20
app.logger.info(f"Waiting for {sleep_time} seconds")
time.sleep(sleep_time)
stream_state = get_stream_state(ivs_channel_arn)
continue
app.logger.info('Starting video stream')
ffmpeg_stream_cmd = get_ffmpeg_stream_cmd(video_filepath, ingest_endpoint, stream_key, SUBTITLE_FORMAT)
app.logger.info(f'ffmpeg command: {ffmpeg_stream_cmd}')
process = subprocess.Popen(
ffmpeg_stream_cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True, shell=True)
app.logger.info('Running ffmpeg processes:')
app.logger.info(os.system("ps aux|grep 'PID\|ffmpeg'"))
lines = iter(process.stdout)
app.logger.info('Starting event stream')
while True:
try:
int(next(lines).strip())
time_range = next(lines).strip()
if not '-->' in time_range:
raise ValueError(f'Expected a time range instead of {time_range}')
send_text = ''
while True:
text = next(lines).strip()
if len(text) == 0: break
if len(send_text)>0: send_text+='\n'
send_text += text
put_ivs_metadata(ivs_channel_arn, send_text)
except StopIteration:
app.logger.warning('Video iteration has stopped unexpectedly. Attempting restart in 10 seconds.')
time.sleep(10)
break
else:
raise NotImplementedError(f'{SUBTITLE_FORMAT} is not currently supported by this demo.')
# -- End Video streaming
# -- Logging
class LoggingMiddleware(object):
def __init__(self, app):
self._app = app
def __call__(self, environ, resp):
errorlog = environ['wsgi.errors']
pprint.pprint(('REQUEST', environ), stream=errorlog)
def log_response(status, headers, *args):
pprint.pprint(('RESPONSE', status, headers), stream=errorlog)
return resp(status, headers, *args)
return self._app(environ, log_response)
# -- End Logging
# -- Exceptions
class BadRequest(Exception):
status_code = 400
def __init__(self, message, status_code=None, payload=None):
Exception.__init__(self)
self.message = message
if status_code is not None:
self.status_code = status_code
self.payload = payload
def to_dict(self):
rv = dict(self.payload or ())
rv['message'] = self.message
return rv
# -- Handlers
app = Flask(__name__,
static_folder=STATIC_FOLDER,
static_url_path=STATIC_URL_PATH)
corps = CORS(app)
xray_recorder.configure(service='Videos Service')
XRayMiddleware(app, xray_recorder)
@app.errorhandler(BadRequest)
def handle_bad_request(error):
response = jsonify(error.to_dict())
response.status_code = error.status_code
return response
@app.route('/')
def index():
return 'Videos Service'
@app.route('/stream_details')
def streams():
response_data = []
for value in stream_details.values():
response_data.append(value)
response = {
"streams": response_data
}
return Response(json.dumps(response), content_type = 'application/json')
@app.route('/health')
def health():
return 'OK'
if __name__ == '__main__':
app.wsgi_app = LoggingMiddleware(app.wsgi_app)
app.logger.setLevel(level=logging.INFO)
app.logger.info(f"VIDEO_BUCKET: {VIDEO_BUCKET}")
app.logger.info(f"SSM_VIDEO_CHANNEL_MAP_PARAM: {SSM_VIDEO_CHANNEL_MAP_PARAM}")
app.logger.info(f"USE_DEFAULT_IVS_STREAMS: {USE_DEFAULT_IVS_STREAMS}")
app.logger.info("Starting video streams")
start_streams()
app.logger.info("Starting API")
app.run(debug=False, host='0.0.0.0', port=80)
|
import pandas as pd
# pd.options.mode.chained_assignment = None
import numpy as np
import lightgbm as lgb
from sklearn import preprocessing
from sklearn.model_selection import train_test_split,cross_val_score,cross_val_predict
from sklearn.ensemble import RandomTreesEmbedding, RandomForestClassifier, GradientBoostingClassifier
# criteria
from sklearn.metrics import accuracy_score, roc_auc_score, f1_score,recall_score, precision_score, roc_curve
# 加载数据
data = pd.read_csv('./data/train_data_modified.csv', encoding='utf-8')
data = data.sample(frac=1, random_state=42)
data_x = data.iloc[:,[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42]]
# data_x = data.iloc[:,[1,2,3,4,5,6,7,36]]
lbl = preprocessing.LabelEncoder()
# data_x['M'] = lbl.fit_transform(data_x['M'].astype(str))#将含有字符的类别特征这一列进行转换
# data_x['EMERGENCY'] = lbl.fit_transform(data_x['EMERGENCY'].astype(str))#将含有字符的类别特征这一列进行转换
data_y = data.iloc[:,[0]]
# 准备一个train/test来构建模型。
x_train, x_test, y_train, y_test = train_test_split(data_x,
data_y,
test_size=0.2,
random_state=52,
)
print(x_train.shape, x_test.shape, y_train.shape, y_test.shape)
from xgboost.sklearn import XGBClassifier
xgb = XGBClassifier(
n_estimators=100,
learning_rate =0.09,
max_depth=4,
min_child_weight=1,
gamma=0.3,
subsample=0.8,
colsample_bytree=0.8,
objective= 'binary:logistic',
nthread=12,
scale_pos_weight=1,
reg_lambda=1,
seed=27)
# xgb = HistGradientBoostingClassifier(learning_rate=0.09)
xgb.fit(x_train, y_train)
y_pred_xgb = xgb.predict(x_test)
y_pred_xgb_pr = xgb.predict_proba(x_test)[:,1]
fpr_xgb,tpr_xgb,thresholds = roc_curve(y_test,y_pred_xgb_pr)
# y_pred_xgb = y_pred_xgb_pr > 0.5
# print(lr.coef_) #W
# print(lr.intercept_) #b
# 评价指标
print("auc面积:",roc_auc_score(y_test, y_pred_xgb_pr))
print("精确率:",precision_score(y_test, y_pred_xgb))
print("召回率:",recall_score(y_test, y_pred_xgb))
print("正确率:",accuracy_score(y_test, y_pred_xgb))
print("F1值:",f1_score(y_test, y_pred_xgb)) |
import json
import numpy as np
import math
from bokeh.plotting import figure, output_file, show, gridplot,save
from bokeh.models import ColumnDataSource, LabelSet, HoverTool, Div, Label, CustomJS, Span
from bokeh.models.widgets import Panel, Tabs
from datetime import date
import re
def missing_plot(source,missing_vals,values):
missing_val = source.data[missing_vals][0]
val_sum = sum(source.data[values])
missing_percent = round(missing_val / (val_sum + missing_val) * 100, 1)
u = figure(plot_height=50, plot_width=600, toolbar_location=None,x_range=(0,val_sum + missing_val))
if missing_percent < 0.1:
text = 'There is no missing data in this variable'
else:
text = str(missing_percent) + ' % of data for this variable is missing'
u.patch(x=[0, 0, val_sum, val_sum], y=[0, 2, 2, 0], color='#eec344', line_color='#c5c5c5', line_width=5)
u.patch(x=[val_sum, val_sum, val_sum + missing_val, val_sum + missing_val], y=[0, 2, 2, 0], color='#c5c5c5',line_width =5)
citation = Label(x=5, y=5, x_units='screen', y_units='screen',
text=text, render_mode='canvas',
border_line_alpha=0,
background_fill_alpha=0,
text_font = 'helvetica',
text_color = '#1f1f1f', text_font_size = '19pt'
)
u.add_layout(citation)
u.yaxis.major_label_text_font_size = '0pt'
u.yaxis.major_tick_line_color = None # turn off y-axis major ticks
u.yaxis.minor_tick_line_color = None
u.yaxis.axis_line_color = None
u.xaxis.major_label_text_font_size = '0pt'
u.xaxis.major_tick_line_color = None
u.xaxis.minor_tick_line_color = None
u.xaxis.axis_line_color = None
u.xgrid.grid_line_color = None
u.ygrid.grid_line_color = None
u.outline_line_width = 0
return(u)
def plot_age(source,name,reletivise = False,out = False):
def age_plot(source, addition, name, reletivise=reletivise):
if reletivise:
values = addition + 'reletive'
rel_text = addition + 'abs text'
else:
values = addition + 'values'
ref_std = addition + 'reference standardised'
missing_vals = addition + 'missing'
percent = addition + 'percent'
if reletivise:
legend_name = addition + 'reletive_representative_or_not'
else:
legend_name = name + ' percent'
p = figure(
x_range=list(source.data['Age']),
title='Age',
y_range=(0, max(source.data[values]) * 1.3),
toolbar_location=None
)
if reletivise:
p.vbar(
x='Age',
top=values,
width=0.9,
color=addition + 'reletive_colours',
legend_group=legend_name,
line_alpha=0,
source=source
)
# You can't add legends to spans so this is the hacky way - create a line with the same settings as the lines, but with no data
p.line([], [], legend_label='Representative', line_color='black', line_width=1, line_alpha=0.8, line_dash='dashed')
# Add horizontal line at 100 with label
hline = Span(location=95, dimension='width', line_color='black', line_width=1, line_alpha=0.8, line_dash='dashed')
hline2 = Span(location=105, dimension='width', line_color='black', line_width=1, line_alpha=0.8, line_dash='dashed')
p.renderers.extend([hline, hline2])
citation = Label(x=30, y=90, x_units='screen', y_units='data',
text='95%', render_mode='css')
p.add_layout(citation)
citation = Label(x=30, y=105, x_units='screen', y_units='data',
text='105%', render_mode='css')
p.add_layout(citation)
hover2 = HoverTool(tooltips=[
('Age range', '@Age'),
(' ', "@{" + rel_text + "}"),
],
mode='mouse', name='data plot')
else:
p.vbar(
x='Age',
top=values,
width=0.9,
color='#003667',
legend_label=legend_name,
line_alpha=0,
source=source
)
p.vbar(
x='Age',
top=ref_std,
width=0.8,
fill_alpha=0,
line_color='#a0a0a0',
line_width=4,
line_alpha=1,
legend_label='UK Population percent',
source=source
)
hover2 = HoverTool(tooltips=[
('Age range', '@Age'),
('Number of people', "@{" + values + "}"),
('Dataset Percent/%', "@{" + percent + "}{0.0}"),
('UK population percent/%', '@{ref percent}{0.0}')
],
mode='mouse', name='data plot')
p.yaxis.major_label_text_font_size = '0pt'
p.yaxis.major_tick_line_color = None # turn off y-axis major ticks
p.yaxis.minor_tick_line_color = None
p.yaxis.axis_line_color = None
p.xaxis.axis_line_color = None
p.xaxis.major_label_orientation = math.pi / 2
p.xaxis.major_tick_line_color = 'grey'
p.xgrid.grid_line_color = None
p.ygrid.grid_line_color = None
p.outline_line_width = 0
p.background_fill_color = '#f2f6fe'
p.background_fill_alpha = 1
p.legend.location = 'top_left'
p.title.text_color = '#5C5C5C'
p.title.text_font_size = '24pt'
p.title.text_font = "helvetica"
p.legend.label_text_font = "helvetica"
p.legend.label_text_color = "#a0a0a0"
p.legend.border_line_color = '#555555'
p.legend.border_line_width = 2
p.add_tools(hover2)
a = missing_plot(source, missing_vals, addition + 'values')
text = Div(
text=source.data['description text'][0],
style={'font': 'helvetica', 'color': '#555555', 'font-size': '14pt'}
)
final_plot = gridplot([[p], [a], [text]], toolbar_options={'autohide': True})
return final_plot
if 'values' in source.data.keys():
age_p = age_plot(source, '', name, reletivise=reletivise)
else:
var_list = [re.sub('values', '', i) for i in source.data.keys() if 'values' in i]
tab_list = [Panel(child=age_plot(source, i, name,reletivise=reletivise), title=re.sub(' ', '', i)) for i in var_list]
age_p = Tabs(tabs=tab_list)
if out:
file_name = str(date.today()) + 'age_plot.html'
output_file(file_name)
save(age_p)
return age_p
def plot_ethnicity(source, name,reletivise = False,out = False):
def ethnicity_plot(source, name,addition,reletivise):
missing = addition + 'missing'
if reletivise:
values = addition + 'reletive'
rel_text = addition + 'abs text'
x_vals = addition + 'x_rel'
y_vals = addition + 'y_rel'
x_lines = addition + 'rel_x_lines'
y_lines = addition + 'rel_y_lines'
labs_x_cords = addition + 'rel_labs_x_cords'
labs_y_cords = addition + 'rel_labs_y_cords'
x_rep_low_thresh = addition + 'x_l_rep'
y_rep_low_thresh = addition + 'y_l_rep'
x_rep_up_thresh = addition + 'x_u_rep'
y_rep_up_thresh = addition + 'y_u_rep'
else:
values = addition + 'values'
percent = addition + 'percent'
x_vals = addition + 'x_vals'
y_vals = addition + 'y_vals'
x_lines = addition + 'x_lines'
y_lines = addition + 'y_lines'
labs_x_cords = addition + 'labs_x_cords'
labs_y_cords = addition + 'labs_y_cords'
x_ref = addition + 'x_ref'
y_ref = addition + 'y_ref'
tips = addition + 'tips'
if reletivise:
legend_name = name + '%/Uk Population%'
else:
legend_name = name + ' percent'
q = figure(title='Ethnicity',
x_range=(min(source.data[labs_x_cords]) - 0.1, max(source.data[labs_x_cords]) + 0.1),
y_range=(min(source.data[labs_y_cords]) * 0.9, max(source.data[labs_y_cords]) * 1.1))
labels = LabelSet(
x=labs_x_cords,
y=labs_y_cords,
text='Ethnicity',
text_align='center',
text_font='helvetica',
text_color='#A65D25',
source=source,
render_mode='canvas'
)
if reletivise:
q.patch(
x= x_vals,
y=y_vals,
line_alpha=0,
color='#003667',
source=source
)
q.circle(
x= x_vals,
y= y_vals,
source=source,
color=addition + 'reletive_colours',
size = 6,
legend_group = addition + 'reletive_representative_or_not')
q.patch(
x= x_rep_low_thresh,
y= y_rep_low_thresh,
fill_alpha=0,
line_color='black',
line_width=1,
line_alpha=0.8,
line_dash='dashed',
source=source
)
q.patch(
x= x_rep_up_thresh,
y= y_rep_up_thresh,
fill_alpha=0,
line_color='black',
line_width=1,
line_alpha=0.8,
line_dash='dashed',
source=source,
legend_label='Representative.'
)
hover = HoverTool(tooltips=[
('Ethnicity', '@Ethnicity'),
(' ', "@{"+rel_text+"}"),
],
mode='mouse', name='data plot')
else:
q.patch(
x= x_vals,
y=y_vals,
line_alpha=0,
color='#003667',
source=source,
legend_label=legend_name
)
hover = HoverTool(tooltips=[
("Ethnicity", "@Ethnicity"),
('Number of people', "@{"+values+"}"),
('',"@{"+tips+"}"),
('Dataset percent/%', "@{"+percent+"}{0.0}"),
('UK population percent/%', '@{ref percent}{0.0}')
])
q.patch(
x=x_ref,
y=y_ref,
color='#a0a0a0',
line_width=0,
alpha=0.35,
source=source,
legend_label='UK Population Percent')
q.multi_line(
x_lines,
y_lines,
source=source,
color="#a0a0a0",
line_width=1
)
q.yaxis.major_label_text_font_size = '0pt'
q.xaxis.major_label_text_font_size = '0pt'
q.yaxis.axis_line_color = None
q.xaxis.axis_line_color = None
q.xaxis.major_tick_line_color = None # turn off x-axis major ticks
q.xaxis.minor_tick_line_color = None
q.yaxis.major_tick_line_color = None # turn off y-axis major ticks
q.yaxis.minor_tick_line_color = None
q.xgrid.grid_line_color = None
q.ygrid.grid_line_color = None
q.outline_line_width = 0
q.background_fill_color = '#f2f6fe'
q.background_fill_alpha = 1
q.legend.location = 'top_left'
q.title.text_color = '#5C5C5C'
q.title.text_font_size = '24pt'
q.title.text_font = "helvetica"
q.legend.label_text_font = "helvetica"
q.legend.label_text_color = "#a0a0a0"
q.legend.border_line_color = '#555555'
q.legend.border_line_width = 2
q.add_layout(labels)
q.add_tools(hover)
q.toolbar_location = None
b = missing_plot(source, missing, addition +'values')
text = Div(
text=source.data['description text'][0],
style={'font': 'helvetica', 'color': '#555555', 'font-size': '14pt'}
)
final_plot = gridplot([[q], [b], [text]], toolbar_options={'autohide': True})
return final_plot
if 'values' in source.data.keys():
eth_p = ethnicity_plot(source, name,'', reletivise=reletivise)
else:
var_list = [re.sub('values', '', i) for i in source.data.keys() if 'values' in i]
tab_list = [Panel(child=ethnicity_plot(source, name, i,reletivise), title=re.sub(' ', '', i)) for i in var_list]
eth_p = Tabs(tabs=tab_list)
if out:
file_name = str(date.today()) + 'eth_plot.html'
output_file(file_name)
save(eth_p)
return eth_p
def plot_ethnicity2(source,name,out=False):
def eth_plot2(source, addition, name):
y_coords = addition + 'y_coords'
values = addition + 'values'
percent = addition + 'percent'
tips = addition + 'tips'
missing = addition + 'missing'
q = figure(title='Ethnicity - Cumulative percent', x_range=(-10, 110))
q.patches(xs='x_coords', ys=y_coords, color='colours', line_color = 'white',line_width =1.5,legend_field='Ethnicity', source=source)
perc_lab_cords = np.array([i[0] for i in source.data[y_coords]] + [100])
perc_x_lab_cords = np.array([0] * len(perc_lab_cords))
y_labels = [str(i) + '%' for i in perc_lab_cords]
perc_lab_cords = perc_lab_cords - 0.5
ref_p_lab_cords = np.array([i[3] for i in source.data[y_coords]] + [100])
ref_p_x_lab_cords = np.array([100] * len(perc_lab_cords))
ref_y_labels = [str(i) + '%' for i in ref_p_lab_cords]
ref_p_lab_cords = ref_p_lab_cords - 0.5
hover4 = HoverTool(tooltips=[
('Ethnicity', '@Ethnicity'),
('Number of people', "@{"+values+"}"),
('',"@{"+tips+"}"),
('Percent/%', "@{"+percent+"}{0.0}"),
('UK population percent/%', '@{ref percent}{0.0}')
],
mode='mouse', name='data plot')
for i in range(len(perc_lab_cords)):
label = Label(x=perc_x_lab_cords[i], y=perc_lab_cords[i], text=y_labels[i], render_mode='canvas',
text_align='right',
border_line_alpha=0, background_fill_alpha=0, text_font='helvetica', text_color='#a0a0a0',
text_font_size='10pt')
label2 = Label(
x=ref_p_x_lab_cords[i],
y=ref_p_lab_cords[i],
text=ref_y_labels[i],
render_mode='canvas',
text_align='left',
border_line_alpha=0,
background_fill_alpha=0,
text_font='helvetica',
text_color='#a0a0a0',
text_font_size='10pt')
q.add_layout(label)
q.add_layout(label2)
dataset_lab = Label(x=20, y=100, text=name, render_mode='canvas', text_align='right',
border_line_alpha=0, background_fill_alpha=0, text_font='helvetica', text_color='#a0a0a0')
ref_lab = Label(x=100, y=100, text='UK Population', render_mode='canvas', text_align='right',
border_line_alpha=0, background_fill_alpha=0, text_font='helvetica', text_color='#a0a0a0')
q.yaxis.major_label_text_font_size = '0pt'
q.yaxis.major_tick_line_color = None
q.yaxis.minor_tick_line_color = None
q.xaxis.major_tick_line_color = None # turn off y-axis major ticks
q.xaxis.minor_tick_line_color = None
q.yaxis.axis_line_color = None
q.xaxis.axis_line_color = None
q.xaxis.major_label_text_font_size = '0pt'
q.xaxis.major_tick_line_color = None
q.xgrid.grid_line_color = None
q.ygrid.grid_line_color = None
q.outline_line_width = 0
q.background_fill_color = '#f2f6fe'
q.background_fill_alpha = 1
q.title.text_color = '#5C5C5C'
q.title.text_font_size = '24pt'
q.title.text_font = "helvetica"
q.legend.location = (46, 24)
q.legend.label_text_font = "helvetica"
q.legend.label_text_color = "#a0a0a0"
q.legend.background_fill_alpha = 0.2
q.add_layout(dataset_lab)
q.add_layout(ref_lab)
q.add_tools(hover4)
a = missing_plot(source, missing, values)
text = Div(
text=source.data['description text'][0],
style={'font': 'helvetica', 'color': '#555555', 'font-size': '14pt'}
)
final_plot = gridplot([[q], [a], [text]], toolbar_options={'autohide': True})
return final_plot
if 'values' in source.data.keys():
eht2_p = eth_plot2(source, '', name)
else:
var_list = [re.sub('values', '', i) for i in source.data.keys() if 'values' in i]
tab_list = [Panel(child=eth_plot2(source, i, name), title=re.sub(' ', '', i)) for i in var_list]
eht2_p = Tabs(tabs=tab_list)
if out:
file_name = str(date.today()) + 'ethnicity_plot.html'
output_file(file_name)
save(eht2_p)
return eht2_p
def plot_gender(source,name, reletivise = False,out = False):
def gender_plot(source, addition, name, reletivise=reletivise):
if reletivise:
values = addition + 'reletive'
rel_text = addition + 'abs text'
else:
values = addition + 'values'
ref_std = addition + 'reference standardised'
missing_vals = addition + 'missing'
percent = addition + 'percent'
if reletivise:
legend_name = addition + 'reletive_representative_or_not'
else:
legend_name = name + ' percent'
r = figure(
x_range=list(source.data['Gender']),
title='Gender',
y_range=(0, max(source.data[values]) * 1.3),
toolbar_location=None
)
if reletivise:
r.vbar(
x='Gender',
top=values,
width=0.8,
color=addition + 'reletive_colours',
legend_group=legend_name,
line_alpha=0,
source=source
)
# You can't add legends to spans so this is the hacky way - create a line with the same settings as the lines, but with no data
r.line([], [], legend_label='Representative', line_color='black', line_width=1, line_alpha=0.8, line_dash='dashed')
# Add horizontal line at 100 with label
hline = Span(location=95, dimension='width', line_color='black', line_width=1, line_alpha=0.8, line_dash='dashed')
hline2 = Span(location=105, dimension='width', line_color='black', line_width=1, line_alpha=0.8, line_dash='dashed')
r.renderers.extend([hline, hline2])
citation = Label(x=30, y=90, x_units='screen', y_units='data',
text='95%', render_mode='css')
r.add_layout(citation)
citation = Label(x=30, y=105, x_units='screen', y_units='data',
text='105%', render_mode='css')
r.add_layout(citation)
hover2 = HoverTool(tooltips=[
('Gender', '@Gender'),
(' ', "@{" + rel_text + "}"),
],
mode='mouse', name='data plot')
else:
r.vbar(
x='Gender',
top=values,
width=0.8,
color='#003667',
legend_label=legend_name,
line_alpha=0,
source=source
)
r.vbar(
x='Gender',
top=ref_std,
width=0.8,
fill_alpha=0,
line_color='#a0a0a0',
line_width=4,
line_alpha=1,
legend_label='UK Population Percent',
source=source
)
hover2 = HoverTool(tooltips=[
('Gender', '@Gender'),
('Number of people', "@{" + values + "}"),
('Dataset percent/%', "@{" + percent + "}{0.0}"),
('UK population percent/%', '@{ref percent}{0.0}')
],
mode='mouse', name='data plot')
r.yaxis.major_label_text_font_size = '0pt'
r.yaxis.major_tick_line_color = None # turn off y-axis major ticks
r.yaxis.minor_tick_line_color = None
r.yaxis.axis_line_color = None
r.xaxis.axis_line_color = None
r.xaxis.major_tick_line_color = 'grey'
r.xgrid.grid_line_color = None
r.ygrid.grid_line_color = None
r.outline_line_width = 0
r.background_fill_color = '#f2f6fe'
r.background_fill_alpha = 1
r.legend.location = 'top_left'
r.title.text_color = '#5C5C5C'
r.title.text_font_size = '24pt'
r.title.text_font = "helvetica"
r.legend.label_text_font = "helvetica"
r.legend.label_text_color = "#a0a0a0"
r.legend.border_line_color = '#555555'
r.legend.border_line_width = 2
r.add_tools(hover2)
r.toolbar_location = None
a = missing_plot(source, missing_vals, addition + 'values')
text = Div(
text=source.data['description text'][0],
style={'font': 'helvetica', 'color': '#555555', 'font-size': '14pt'}
)
final_plot = gridplot([[r], [a], [text]], toolbar_options={'autohide': True})
return (final_plot)
if 'values' in source.data.keys():
gender_p = gender_plot(source, '', name, reletivise=reletivise)
else:
var_list = [re.sub('values', '', i) for i in source.data.keys() if 'values' in i]
tab_list = [Panel(child=gender_plot(source, i, name,reletivise=reletivise), title=re.sub(' ', '', i)) for i in var_list]
gender_p = Tabs(tabs=tab_list)
if out:
file_name = str(date.today()) + 'gender_plot.html'
output_file(file_name)
save(gender_p)
return gender_p
def plot_ses(source, name,reletivise = False,out = False):
def ses_plot(source, name,addition,reletivise):
missing = addition + 'missing'
if reletivise:
values = addition + 'reletive'
rel_text = addition + 'abs text'
x_vals = addition + 'x_rel'
y_vals = addition + 'y_rel'
x_lines = addition + 'rel_x_lines'
y_lines = addition + 'rel_y_lines'
labs_x_cords = addition + 'rel_labs_x_cords'
labs_y_cords = addition + 'rel_labs_y_cords'
x_rep_low_thresh = addition + 'x_l_rep'
y_rep_low_thresh = addition + 'y_l_rep'
x_rep_up_thresh = addition + 'x_u_rep'
y_rep_up_thresh = addition + 'y_u_rep'
else:
values = addition + 'values'
percent = addition + 'percent'
x_vals = addition + 'x_vals'
y_vals = addition + 'y_vals'
x_lines = addition + 'x_lines'
y_lines = addition + 'y_lines'
labs_x_cords = addition + 'labs_x_cords'
labs_y_cords = addition + 'labs_y_cords'
x_ref = addition + 'x_ref'
y_ref = addition + 'y_ref'
if reletivise:
legend_name = name + '%/Uk Population%'
else:
legend_name = name + ' percent'
q = figure(title='Socioeconomic status', x_range=(min(source.data[labs_x_cords]) - 0.1, max(source.data[labs_x_cords]) + 0.1),
y_range=(min(source.data[labs_y_cords]) * 0.9, max(source.data[labs_y_cords]) * 1.1))
labels = LabelSet(
x=labs_x_cords,
y=labs_y_cords,
text='Socioeconomic Status',
text_align='center',
text_font='helvetica',
text_color='#A65D25',
source=source,
render_mode='canvas'
)
if reletivise:
q.patch(
x= x_vals,
y=y_vals,
line_alpha=0,
color='#003667',
source=source
)
q.circle(
x= x_vals,
y= y_vals,
source=source,
color=addition + 'reletive_colours',
size = 6,
legend_group = addition + 'reletive_representative_or_not')
q.patch(
x= x_rep_low_thresh,
y= y_rep_low_thresh,
fill_alpha=0,
line_color='black',
line_width=1,
line_alpha=0.8,
line_dash='dashed',
source=source
)
q.patch(
x= x_rep_up_thresh,
y= y_rep_up_thresh,
fill_alpha=0,
line_color='black',
line_width=1,
line_alpha=0.8,
line_dash='dashed',
source=source,
legend_label='Representative.'
)
hover = HoverTool(tooltips=[
('Socioeconomic Status', '@{Socioeconomic Status}'),
(' ', "@{"+rel_text+"}"),
],
mode='mouse', name='data plot')
else:
q.patch(
x= x_vals,
y=y_vals,
line_alpha=0,
color='#003667',
source=source,
legend_label=legend_name
)
hover = HoverTool(tooltips=[
('Socioeconomic Status', '@{Socioeconomic Status}'),
('Number of people', "@{"+values+"}"),
('Dataset percent/%', "@{"+percent+"}{0.0}"),
('UK population percent/%', '@{ref percent}{0.0}')
])
q.patch(
x=x_ref,
y=y_ref,
color='#a0a0a0',
line_width=0,
alpha=0.35,
source=source,
legend_label='UK Population Percent')
q.multi_line(
x_lines,
y_lines,
source=source,
color="#a0a0a0",
line_width=1
)
q.yaxis.major_label_text_font_size = '0pt'
q.xaxis.major_label_text_font_size = '0pt'
q.yaxis.axis_line_color = None
q.xaxis.axis_line_color = None
q.xaxis.major_tick_line_color = None # turn off x-axis major ticks
q.xaxis.minor_tick_line_color = None
q.yaxis.major_tick_line_color = None # turn off y-axis major ticks
q.yaxis.minor_tick_line_color = None
q.xgrid.grid_line_color = None
q.ygrid.grid_line_color = None
q.outline_line_width = 0
q.background_fill_color = '#f2f6fe'
q.background_fill_alpha = 1
q.legend.location = 'top_left'
q.title.text_color = '#a0a0a0'
q.title.text_font_size = '24pt'
q.title.text_font = "helvetica"
q.legend.label_text_font = "helvetica"
q.legend.label_text_color = "#a0a0a0"
q.legend.border_line_color = '#555555'
q.legend.border_line_width = 2
q.add_layout(labels)
q.add_tools(hover)
q.toolbar_location = None
b = missing_plot(source, missing, addition +'values')
text = Div(
text=source.data['description text'][0],
style={'font': 'helvetica', 'color': '#555555', 'font-size': '14pt'}
)
final_plot = gridplot([[q], [b], [text]], toolbar_options={'autohide': True})
return final_plot
if 'values' in source.data.keys():
ses_p = ses_plot(source, name,'', reletivise=reletivise)
else:
var_list = [re.sub('values', '', i) for i in source.data.keys() if 'values' in i]
tab_list = [Panel(child=ses_plot(source, name, i, reletivise=reletivise),
title=re.sub(' ', '', i)) for i in var_list]
ses_p = Tabs(tabs=tab_list)
if out:
file_name = str(date.today()) + 'ses_plot.html'
output_file(file_name)
save(ses_p)
return ses_p
def full_plot_ethnicity(data_dict,name,reletivise = False, out = False):
def ethnicity_plot(data_dict, addition, name, reletivise):
imp_keys = ['Ethnicity', 'ref percent', 'description text'] + [k for k in data_dict.keys() if addition in k]
test_spider = {re.sub(addition, '', k): v for k, v in data_dict.items() if k in imp_keys}
num_vars = len(test_spider['values'])
theta = np.linspace(0, 2 * np.pi, num_vars, endpoint=False)
# rotate theta such that the first axis is at the top
theta += np.pi / 2
def unit_poly_verts(theta):
"""Return vertices of polygon for subplot axes.
This polygon is circumscribed by a unit circle centered at (0.5, 0.5)
"""
x0, y0, r = [0.5] * 3
verts = [(r * np.cos(t) + x0, r * np.sin(t) + y0) for t in theta]
return verts
def radar_patch(r, theta):
yt = (r + 0.01) * np.sin(theta) + 0.5
xt = (r + 0.01) * np.cos(theta) + 0.5
return xt, yt
verts = unit_poly_verts(theta)
x = [i[0] for i in verts]
y = [i[1] for i in verts]
if reletivise:
values = np.array(test_spider['reletive'])
else:
values = np.array(test_spider['values'])
ref_std = np.array(test_spider['reference standardised'])
values = values / (sum(values) * 2)
ref_std = ref_std / (sum(ref_std) * 2)
x_val, y_val = radar_patch(values, theta)
x_ref, y_ref = radar_patch(ref_std, theta)
label_eth = test_spider['Ethnicity']
new_line_max = np.array([max(np.concatenate([values, ref_std]))] * len(values))
new_x, new_y = radar_patch(new_line_max, theta)
new_x_lines = [[0.5, i] for i in new_x]
new_y_lines = [[0.5, i] for i in new_y]
title_eth = 'Ethnicity'
source = ColumnDataSource(data=dict(x_vals=x_val,
y_vals=y_val,
x_ref=x_ref,
y_ref=y_ref,
x_lines=new_x_lines,
y_lines=new_y_lines,
label_eth=label_eth,
labs_x_cords=new_x,
labs_y_cords=new_y,
values=test_spider['values'],
percent=test_spider['percent'],
ref_perc=test_spider['ref percent'],
missing=test_spider['missing'],
desc_text=test_spider['description text'],
rel_text=test_spider['reletive text']
))
q = figure(title=title_eth, x_range=(min(new_x) - 0.1, max(new_x) + 0.1),
y_range=(min(new_y) * 0.9, max(new_y) * 1.1))
labels = LabelSet(
x='labs_x_cords',
y='labs_y_cords',
text='label_eth',
text_align='center',
text_font='helvetica',
text_color='#a0a0a0',
source=source,
render_mode='canvas'
)
q.patch(
x='x_vals',
y='y_vals',
line_alpha=0,
color='#003667',
source=source,
legend_label=name
)
q.multi_line(
'x_lines',
'y_lines',
source=source,
color="#a0a0a0",
line_width=1
)
if reletivise:
hover = HoverTool(tooltips=[
('Ethnicity', '@label_eth'),
(' ', "@rel_text"),
],
mode='mouse', name='data plot')
else:
hover = HoverTool(tooltips=[
("Ethnicity", "@label_eth"),
('Raw values', '@values'),
('Percent/%', "@percent{0.0}"),
('UK population percent/%', '@{ref_perc}{0.0}')
])
q.patch(
x='x_ref',
y='y_ref',
color='#a0a0a0',
line_width=0,
alpha=0.35,
source=source,
legend_label='UK Population Ratio')
q.yaxis.major_label_text_font_size = '0pt'
q.xaxis.major_label_text_font_size = '0pt'
q.yaxis.axis_line_color = None
q.xaxis.axis_line_color = None
q.xaxis.major_tick_line_color = None # turn off x-axis major ticks
q.xaxis.minor_tick_line_color = None
q.yaxis.major_tick_line_color = None # turn off y-axis major ticks
q.yaxis.minor_tick_line_color = None
q.xgrid.grid_line_color = None
q.ygrid.grid_line_color = None
q.outline_line_width = 0
q.background_fill_color = '#f5f5f5'
q.background_fill_alpha = 0.9
q.legend.location = 'top_left'
q.title.text_color = '#5C5C5C'
q.title.text_font_size = '24pt'
q.title.text_font = "helvetica"
q.legend.label_text_font = "helvetica"
q.legend.label_text_color = "#a0a0a0"
q.add_layout(labels)
q.add_tools(hover)
q.toolbar_location = None
b = missing_plot(source, 'missing', 'values')
text = Div(
text=source.data['desc_text'][0],
style={'font': 'helvetica', 'color': '#555555', 'font-size': '14pt'}
)
final_plot = gridplot([[q], [b], [text]], toolbar_options={'autohide': True})
return (final_plot)
if 'values' in data_dict.keys():
eth_p = ethnicity_plot(data_dict, '', name, reletivise=reletivise)
else:
var_list = [re.sub('values', '', i) for i in data_dict if 'values' in i]
tab_list = [Panel(child=ethnicity_plot(data_dict, i, name,reletivise=reletivise), title=re.sub(' ', '', i)) for i in var_list]
eth_p = Tabs(tabs=tab_list)
if out:
file_name = str(date.today()) + 'ethnicity_plot.html'
output_file(file_name)
save(eth_p)
return eth_p
def full_ses_plot(data_dict,name,reletivise = False, out = False):
def ses_plot(data_dict, addition, name, reletivise):
imp_keys = ['Socioeconomic Status', 'ref percent', 'description text'] + [k for k in data_dict.keys() if
addition in k]
test_spider = {re.sub(addition, '', k): v for k, v in data_dict.items() if k in imp_keys}
num_vars = len(test_spider['values'])
theta = np.linspace(0, 2 * np.pi, num_vars, endpoint=False)
# rotate theta such that the first axis is at the top
theta += np.pi / 2
if reletivise:
legend_name = name + '%/Uk Population%'
else:
legend_name = name + ' percent'
def unit_poly_verts(theta):
"""Return vertices of polygon for subplot axes.
This polygon is circumscribed by a unit circle centered at (0.5, 0.5)
"""
x0, y0, r = [0.5] * 3
verts = [(r * np.cos(t) + x0, r * np.sin(t) + y0) for t in theta]
return verts
def radar_patch(r, theta):
yt = (r + 0.01) * np.sin(theta) + 0.5
xt = (r + 0.01) * np.cos(theta) + 0.5
return xt, yt
verts = unit_poly_verts(theta)
x = [i[0] for i in verts]
y = [i[1] for i in verts]
if reletivise:
values = np.array(test_spider['reletive'])
else:
values = np.array(test_spider['values'])
ref_std = np.array(test_spider['reference standardised'])
missing_ses = test_spider['missing']
missing_ses = missing_ses[0] / sum(values)
values = values / (sum(values) * 2)
ref_std = ref_std / (sum(ref_std) * 2)
x_val, y_val = radar_patch(values, theta)
x_ref, y_ref = radar_patch(ref_std, theta)
label_ses = test_spider['Socioeconomic Status']
x_lines = [[0.5, i] for i in x]
y_lines = [[0.5, i] for i in y]
new_line_max = np.array([max(np.concatenate([values, ref_std]))] * len(values))
new_x, new_y = radar_patch(new_line_max, theta)
new_x_lines = [[0.5, i] for i in new_x]
new_y_lines = [[0.5, i] for i in new_y]
s = figure(title='Socioeconomic Status', x_range=(min(new_x) - 0.05, max(new_x) + 0.05),
y_range=(min(new_y) * 0.9, max(new_y) * 1.1))
source = ColumnDataSource(data=dict(x_vals=x_val,
y_vals=y_val,
x_ref=x_ref,
y_ref=y_ref,
x_lines=new_x_lines,
y_lines=new_y_lines,
label_ses=label_ses,
labs_x_cords=new_x,
labs_y_cords=new_y,
values=test_spider['values'],
percent=test_spider['percent'],
ref_perc=test_spider['ref percent'],
missing=test_spider['missing'],
desc_text=test_spider['description text'],
rel_text=test_spider['reletive text']
))
labels = LabelSet(
x='labs_x_cords',
y='labs_y_cords',
text='label_ses',
text_font='helvetica',
text_color='#a0a0a0',
source=source,
render_mode='canvas',
text_align='center'
)
s.patch(
x='x_vals',
y='y_vals',
alpha=1,
line_alpha=0,
color='#003667',
source=source,
legend_label=legend_name
)
if reletivise:
hover = HoverTool(tooltips=[
('Socioeconomic Status', '@label_ses'),
(' ', "@rel_text"),
],
mode='mouse', name='data plot')
else:
s.patch(
x='x_ref',
y='y_ref',
color='#a0a0a0',
alpha=0.35,
line_alpha=0,
source=source,
legend_label='UK Population Percent')
hover = HoverTool(tooltips=[
("Socioeconomic", "@label_ses"),
('Raw values', '@values'),
('Percent/%', "@percent{0.0}"),
('UK population percent/%', '@{ref_perc}{0.0}')
])
s.multi_line(
'x_lines',
'y_lines',
source=source,
color="#a0a0a0",
line_width=1
)
s.yaxis.major_label_text_font_size = '0pt'
s.xaxis.major_label_text_font_size = '0pt'
s.yaxis.axis_line_color = None
s.xaxis.axis_line_color = None
s.xaxis.major_tick_line_color = None # turn off x-axis major ticks
s.xaxis.minor_tick_line_color = None
s.yaxis.major_tick_line_color = None # turn off y-axis major ticks
s.yaxis.minor_tick_line_color = None
s.xgrid.grid_line_color = None
s.ygrid.grid_line_color = None
s.outline_line_width = 0
s.background_fill_color = '#f5f5f5'
s.background_fill_alpha = 0.9
s.legend.location = 'top_left'
s.title.text_color = '#a0a0a0'
s.title.text_font_size = '24pt'
s.title.text_font = "helvetica"
s.legend.label_text_font = "helvetica"
s.legend.label_text_color = "#a0a0a0"
s.add_layout(labels)
s.add_tools(hover)
s.toolbar_location = None
b = missing_plot(source, 'missing', 'values')
text = Div(
text=source.data['desc_text'][0],
style={'font': 'helvetica', 'color': '#555555', 'font-size': '14pt'}
)
final_plot = gridplot([[s], [b], [text]], toolbar_options={'autohide': True})
return (final_plot)
if 'values' in data_dict.keys():
ses_p = ses_plot(data_dict, '', name, reletivise=reletivise)
else:
var_list = [re.sub('values', '', i) for i in data_dict.keys() if 'values' in i]
tab_list = [Panel(child=ses_plot(data_dict, i, name,reletivise=reletivise), title=re.sub(' ', '', i)) for i in var_list]
ses_p = Tabs(tabs=tab_list)
if out:
file_name = str(date.today()) + 'socio_plot.html'
output_file(file_name)
save(ses_p)
return(ses_p)
def full_plot(age_source,eth_source,gender_source,ses_source, name,reletivise,out):
age_p = plot_age(age_source,name = name,reletivise=reletivise)
if reletivise:
eth_p = plot_ethnicity(eth_source, name=name, reletivise=reletivise)
else:
eth_p = plot_ethnicity2(eth_source,name = name)
gender_p = plot_gender(gender_source, name=name, reletivise=reletivise)
ses_p = plot_ses(ses_source, name=name, reletivise=reletivise)
# compar_text = Div(text = """<b>'Dataset and UK Population Ratio':</b> tab shows how each demographic group is represented in comaprison to the makeup of the UK. This is calculated by taking the percent of a group in a data set and dividing it by the percent of that group in the UK population. For example: If women make up 10% of a dataset, and women comprise 50% of the population at large, that means this dataset has 20% of the number of women required to be truly representative in this metric (this doesnt include missing data)""",
# style={'font-size': '14pt', 'color': '#555555', 'font': 'helvetica'})
final_plot = gridplot([[age_p,eth_p],[gender_p,ses_p]],toolbar_options={'autohide': True})
if out:
if reletivise:
rel = 'rel'
else:
rel = 'no_rel'
file_name = 'representation_labels/web_page/'+ name + '_' + rel + '_' + 'full_plot.html'
output_file(file_name)
save(final_plot)
return final_plot
def rel_plots(plot_dict,name,data_desc_dict,out):
age_source = ColumnDataSource(data=plot_dict[name]['Age'])
eth_source = ColumnDataSource(data=plot_dict[name]['Ethnicity'])
gender_source = ColumnDataSource(data=plot_dict[name]['Gender'])
ses_source = ColumnDataSource(data=plot_dict[name]['Socioeconomic Status'])
non_reletive = full_plot(age_source,eth_source,gender_source,ses_source,name,reletivise = False,out = False)
reletive = full_plot(age_source,eth_source,gender_source,ses_source,name,reletivise = True,out = False)
pal_nr = Panel(child = non_reletive,title = 'Populations')
pal_r = Panel(child=reletive, title='Dataset and UK Population Ratio')
tabs = Tabs(tabs = [pal_nr,pal_r])
text = data_desc_dict[name]
data_desc = Div(
text=text,
style={'font-size': '14pt', 'color': '#555555', 'font': 'helvetica'}
)
out_plot = gridplot([[data_desc],[tabs]],toolbar_options={'autohide': True})
if out:
file_name = str(date.today()) + 'tabs_plot.html'
output_file(file_name)
save(out_plot)
return(out_plot)
def all_datasets(plot_dict,data_desc_dict,out):
panal_list = [Panel(child = rel_plots(plot_dict,i,data_desc_dict,out= False),title = i) for i in plot_dict.keys()]
tabs = Tabs(tabs = panal_list)
title = Div(text="""Data Representation Labels""",
style={'font-size': '28pt', 'color': '#a0a0a0', 'font': 'helvetica'}
)
created_by = Div(
text="""<i>Created by Wellcome’s Data for Science and Health Priority Area </i>""",
style={'font-size': '7pt', 'color': '#555555', 'font': 'helvetica'}
)
description = Div(
text="""This is a tool for researchers to examine the demographics of commonly used datasets and how they compare to the UK population. The datasets we are highlighting are: """,
style={'font-size': '14pt', 'color': '#555555', 'font': 'helvetica'}
)
dataset_list = Div(
text="""<ul><li>UK Biobank</li>
<li>ALSPAC</li>
<li>CPRD</li>
<li>National Child Development Study</li>
<li>Whitehall study II</li>
<li>Hospital Episode Statistics (HES)</li></ul> """,
style={'font-size': '10pt', 'color': '#555555', 'font': 'helvetica'})
creation = Div(
text="""It was created by the Wellcome Trust with the intention of comparing how the UK population is represented in these datasets, and highlighting where there are disparities.<br>
<b>How we chose the datasets and accessed the number going into the graph:</b> The datasets represented by these labels are some of the most commonly used and cited datasets in the UK today. The data displayed here was collated using a combination of metadata available in published papers and online platforms (such as Closer Discovery and the datasets own webpages). No raw data was accessed for the purpose of this project.<br>
<b>Known limitations:</b> We know that the groupings of sub-populations used in the datasets, e.g. ethnicity groupings, are subjective and potentially inaccurate at times.<br>
Please don’t hesitate to contact us with any questions, feedback or suggestions at <u>b.knowles@wellcome.org</ul> """,
style={'font-size': '14pt', 'color': '#555555', 'font': 'helvetica'}
)
last_updated = Div(
text="""<i>Date last updated: 9th Nov 2020</i> """,
style={'font-size': '7pt', 'color': '#555555', 'font': 'helvetica'}
)
final = gridplot([[title],[created_by],[description], [dataset_list],[creation],[last_updated] ,[tabs]],
toolbar_options={'autohide': True})
if out:
file_name = str(date.today()) + 'representation_labels.html'
output_file(file_name)
save(final)
return(final)
def export_plots_as_html(plot_dict,reletivise):
for k in graph_dict2.keys():
age_source = ColumnDataSource(data=plot_dict[k]['Age'])
eth_source = ColumnDataSource(data=plot_dict[k]['Ethnicity'])
gender_source = ColumnDataSource(data=plot_dict[k]['Gender'])
ses_source = ColumnDataSource(data=plot_dict[k]['Socioeconomic Status'])
full_plot(age_source, eth_source, gender_source, ses_source, k, reletivise=reletivise,out = True)
if __name__ == '__main__':
import representation_labels.useful_functions as uf
with open('representation_labels/data/cohort_demographics_test_data.json', 'r') as fb:
cohorts_dic = json.load(fb)
with open('representation_labels/data/Reference_population.json', 'r') as fb:
reference_dict = json.load(fb)
ref_dict, graph_dict = uf.clean_data(cohorts_dic, reference_dict)
graph_dict2 = uf.update_graph_dict(graph_dict)
graph_dict2['UK Biobank']['Text'] = 'The UK Biobank is a prospective cohort study that recruited adults aged between 40-69 years in the UK in 2006-2010. People were invited to participate by mailed invitations to the general public living within 25 miles of one of the 22 assessment centres in England, Scotland and Wales (there was a response rate of 5.5%). '
graph_dict2['ALSPAC']['Text'] = 'The Avon Longitudinal Study of Children and Parents (ALSPAC) is a prospective cohort study which recruited pregnant women living in the South West of England during 1990-1992. It aims to understand how genetic and environmental factors influence health and development in parents and children by collecting information on demographics, lifestyle behaviours, physical and mental health. The parents and children have been followed up since recruitment through questionnaires, and a subset completed additional assessments (e.g. ‘Focus on Mothers’) which collected anthropometric measurements and biological samples.'
graph_dict2['ALSPAC']['Age']['description text'] =['At recruitment, the mother was asked to describe her age and that of her partner. The children were obviously all born shortly after their mothers were invited to join the study, so their age at recruitment is 0 years. Overtime, subsequent data was collected at different time points, providing a longitudinal perspective on key health and lifestyle characteristics. So, whilst these labels reflect the baseline characteristics, it does not capture any changes during the participants’ life course (for example when the children are grown-up, their socioeconomic status may be different).'] * len(graph_dict2['ALSPAC']['Age']['Age'])
graph_dict2['ALSPAC']['Ethnicity']['description text'] = ['The mother was asked to describe the ethnic origin of herself, her partner and her parents in a questionnaire. There were 9 possible ethnicity categories: white, Black/Caribbean, Black/African, Black/other, Indian, Pakistani, Bangladeshi, Chinese, Other. Most research using this data derived the childs ethnic background as ‘white’ (if both parents were described as white) or ‘non-white’ (if either parent was described as any ethnicity other than white). The 9 categories for ethnicity offer a greater level of granularity than many other cohort studies. However, there are far more ethnic groups represented in the UK, and often people do not identify with one ethnicity. These groups also get aggregated into just 2 categories (white or non-white) for the child’s ethnicity, meaning that it may be difficult to understand any nuances or differences in health and well-being related to ethnic background. Often larger but fewer categories are used for analysis to ensure the sample size is large enough for statistical signifacince.'] * len(graph_dict2['ALSPAC']['Ethnicity']['Ethnicity'])
for dataset in graph_dict2.keys():
graph_dict2[dataset]['Age']['description text'] = ['Data shown here reflects the age of participants when they were recruited into a study (for ALSPAC, UK Biobank, Whitehall II and 1958), or their age at the time of hospital or GP episode (HES, CPRD).'] * len(graph_dict2[dataset]['Age']['Age'])
graph_dict2[dataset]['Ethnicity']['description text'] = ['The 5 ethnicities are the groups which all datasets have in common. Some datasets did collect more granular data (up to 16 categories) but to compare the representativeness between datasets, the data has been grouped to these higher-level categories.']* len(graph_dict2[dataset]['Ethnicity']['Ethnicity'])
graph_dict2[dataset]['Gender']['description text'] = ['All datasets categorised participants into the sex participants were assigned at birth, either male or female. '] * len(graph_dict2[dataset]['Gender']['Gender'])
graph_dict2[dataset]['Socioeconomic Status']['description text'] = ['Social class based on Occupation (formerly the UK Registrar General’s occupational coding) has been used across datasets as an indicator of socioeconomic status. The categories are<br><ul><li>V (unskilled)</li><li>IV (semi-skilled manual)</li><li>III (skilled manual)</li><li>III (non-manual)</li><li>II (managerial and technical)</li><li>I (professional)</li></ul>'] * len(graph_dict2[dataset]['Socioeconomic Status']['Socioeconomic Status'])
if 'values' in graph_dict2[dataset]['Ethnicity'].keys():
var_list = ['']
else:
var_list = [re.sub('values', '', i) for i in graph_dict2[dataset]['Ethnicity'].keys() if 'values' in i]
boxy_y = {i + 'y_coords': uf.boxy_sanky(graph_dict2[dataset]['Ethnicity'], i) for i in var_list}
graph_dict2[dataset]['Ethnicity'].update(boxy_y)
graph_dict2[dataset]['Ethnicity']['x_coords'] = [[0, 0, 100, 100] for i in
range(len(graph_dict2[dataset]['Ethnicity']['Ethnicity']))]
graph_dict2[dataset]['Ethnicity']['colours'] = ["#dbeaff","#9dd8e7","#006272","#ffe699","#fec200"]
for dataset,variables in cohorts_dic.items():
if dataset in ['UK Biobank','National Child Development Study', 'Whitehall II study', 'HES']:
graph_dict2[dataset]['Ethnicity']['tips'] = uf.ethnicity_tips(variables['Ethnicity'])
else:
tips = {str(k) + ' tips':uf.ethnicity_tips(v) for k,v in variables['Ethnicity'].items()}
graph_dict2[dataset]['Ethnicity'].update(tips)
data_desc_dict = {
'UK Biobank': 'The UK Biobank is a prospective cohort study that recruited 500,000 adults aged between 40-69 years in the UK in 2006-2010, aiming to improve the prevention, diagnosis and treatment of a wide range of illnesses.',
'ALSPAC': 'The Avon Longitudinal Study of Children and Parents (ALSPAC) is a prospective cohort study which recruited 14,541 pregnant women living in the South West of England during 1990-1992, aiming to understand how genetic and environmental factors influence health and development in parents and children by collecting information on demographics, lifestyle behaviours, physical and mental health',
'CPRD':'The Clinical Practice Research Datalink (CPRD, formerly the General Practice Research Database) is a primary care research database which collates de-identified patient data from general practices across the UK, covering 50 million patients, including 16 million currently registered patients.',
'National Child Development Study':'The 1958 National Child Development Study (NCDS) is a prospective cohort study of 17,415 people born in England, Scotland and Wales in a single week of 1958. It has been used to understand topics such as the effects of socioeconomic circumstances, and child adversities on health, and social mobility.',
'Whitehall II study':'The Whitehall II Study (also know as the Stress and Health Study) is a prospective cohort of 10,308 participants aged 35-55, of whom 3,413 were women and 6,895 men, was recruited from the British Civil Service in 1985.',
'HES':'Hospital Episode Statistics (HES) is a database containing details of all admissions, A&E attendances and outpatient appointments at NHS hospitals in England. It contains over 200 million records with a wide range of information about an individual patient admitted to an NHS hospital such as diagnoses, operations, demographics, and administrative information. It is often used by linking to other datasets such as the UK Biobank.'
}
# all_datasets(graph_dict2,data_desc_dict, out=True)
export_plots_as_html(graph_dict2,reletivise=True)
export_plots_as_html(graph_dict2, reletivise=False)
|
#!/usr/bin/env python3
def parse(fname):
rules, messages = dict(), []
for ll in map(str.rstrip, open(fname).readlines()):
if ': ' in ll:
left, right = ll.replace('"', '').split(': ')
if len(right) == 1:
rules[left] = right
else:
rules[left] = [alt.split() for alt in right.split('|')]
elif ll:
messages.append(ll)
return rules, messages
def consume_sequence(rules, sequence, message):
""" Consume prefixes of message matching rules in sequence"""
if not sequence:
# no rules left to match, return whatever's left of message
yield message
else:
s, *sequence = sequence
# Consume prefixes matching first rule in sequence...
for message in consume(rules, s, message):
# ... and try to match what's left to the rest of the sequence
yield from consume_sequence(rules, sequence, message)
def consume(rules, r, message):
""" Consume any prefix of string S matching rule R """
if isinstance(rules[r], list):
for rr in rules[r]:
yield from consume_sequence(rules, rr, message)
elif message and rules[r] == message[0]:
yield message[1:]
def match(rules, message):
""" Try matching message by removing valid prefixes. The
whole message is valid if nothing is left after applying
all the rules"""
return any(m == '' for m in consume(rules, '0', message))
def solve_part_1(rules, messages):
return sum(match(rules, m) for m in messages)
def solve_part_2(rules, messages):
rules['8'] = [['42'], ['42', '8']]
rules['11'] = [['42', '31'], ['42', '11', '31']]
return sum(match(rules, m) for m in messages)
if __name__ == "__main__":
rules, messages = parse('input.txt')
print(f'{solve_part_1(rules, messages)}, {solve_part_2(rules, messages)}')
|
from src.data import Problem, Case, Matter
from src.operator.solver.common.color import only_color
class AutoAddColor:
def __init__(self):
pass
@classmethod
def matter(cls, m: Matter, op: str, const: int, color_add: int) -> Matter:
assert m.a is not None
if op == "<=":
if m.a <= const:
return m.paste_color(color_add)
else:
return m
elif op == "==":
if m.a == const:
return m.paste_color(color_add)
else:
return m
elif op == ">=":
if m.a >= const:
return m.paste_color(color_add)
else:
return m
else:
raise NotImplementedError
@classmethod
def case(cls, c: Case, op: str, const: int) -> Case:
assert c.color_add is not None
new_case: Case = c.copy()
m: Matter
new_case.matter_list = [cls.matter(m, op, const, c.color_add) for m in c.matter_list]
return new_case
@classmethod
def problem(cls, p: Problem) -> Problem:
assert only_color(p)
# assert non_background coincide
q: Problem = p.copy()
for op in ["<=", "==", ">="]:
for const in range(1, 10):
q.train_x_list = [cls.case(c, op, const) for c in p.train_x_list]
q.test_x_list = [cls.case(c, op, const) for c in p.test_x_list]
ac, n_train = q.judge()
if ac == n_train:
return q
raise AssertionError
|
from .gradient_ascent import *
|
#!/usr/bin/env python
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Michael A.G. Aivazis
# California Institute of Technology
# (C) 1998-2003 All Rights Reserved
#
# <LicenseText>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
import weaver.content
class LoginPage:
def form(self):
return self._form
def render(self):
self._weaver.weave()
return
def __init__(self, message=""):
body = self._newBody()
if message:
msg = self._newMessage(message)
body.add(msg)
form = self._newForm()
body.add(form)
weaver = self._newWeaver()
weaver.body(body)
self._form = form
self._weaver = weaver
return
def _newWeaver(self):
w = weaver.content.weaver()
p = w.properties()
p.title = "Testing user authorization"
p.stylesheet = "/weaver/test-style.html"
return w
def _newBody(self):
body = weaver.content.body()
p = body.properties()
p.style = "test"
return body
def _newMessage(self, text):
msg = weaver.content.textBlock(text)
return msg
def _newForm(self):
from LoginForm import LoginForm
form = LoginForm()
p = form.properties()
p.project = "test"
p.mailto = "aivazis@caltech.edu"
return form
# version
__id__ = "$Id$"
# End of file
|
# -*- coding: utf-8 -*-
# example/simple/views.py
from django.http import HttpResponse
from authomatic import Authomatic
from authomatic.adapters import DjangoAdapter
from config import CONFIG
authomatic = Authomatic(CONFIG, 'a super secret random string')
def home(request):
# Create links and OpenID form to the Login handler.
return HttpResponse('''
Login with <a href="login/fb">Facebook</a>.<br />
Login with <a href="login/tw">Twitter</a>.<br />
<form action="login/oi">
<input type="text" name="id" value="me.yahoo.com" />
<input type="submit" value="Authenticate With OpenID">
</form>
''')
def login(request, provider_name):
# We we need the response object for the adapter.
response = HttpResponse()
# Start the login procedure.
result = authomatic.login(DjangoAdapter(request, response), provider_name)
# If there is no result, the login procedure is still pending.
# Don't write anything to the response if there is no result!
if result:
# If there is result, the login procedure is over and we can write to
# response.
response.write('<a href="..">Home</a>')
if result.error:
# Login procedure finished with an error.
response.write(
'<h2>Damn that error: {0}</h2>'.format(result.error.message))
elif result.user:
# Hooray, we have the user!
# OAuth 2.0 and OAuth 1.0a provide only limited user data on login,
# We need to update the user to get more info.
if not (result.user.name and result.user.id):
result.user.update()
# Welcome the user.
response.write(u'<h1>Hi {0}</h1>'.format(result.user.name))
response.write(u'<h2>Your id is: {0}</h2>'.format(result.user.id))
response.write(
u'<h2>Your email is: {0}</h2>'.format(result.user.email))
# Seems like we're done, but there's more we can do...
# If there are credentials (only by AuthorizationProvider),
# we can _access user's protected resources.
if result.user.credentials:
# Each provider has it's specific API.
if result.provider.name == 'fb':
response.write('Your are logged in with Facebook.<br />')
# We will access the user's 5 most recent statuses.
url = 'https://graph.facebook.com/{0}?fields=feed.limit(5)'
url = url.format(result.user.id)
# Access user's protected resource.
access_response = result.provider.access(url)
if access_response.status == 200:
# Parse response.
statuses = access_response.data.get('feed').get('data')
error = access_response.data.get('error')
if error:
response.write(
u'Damn that error: {0}!'.format(error))
elif statuses:
response.write(
'Your 5 most recent statuses:<br />')
for message in statuses:
text = message.get('message')
date = message.get('created_time')
response.write(u'<h3>{0}</h3>'.format(text))
response.write(u'Posted on: {0}'.format(date))
else:
response.write('Damn that unknown error!<br />')
response.write(u'Status: {0}'.format(response.status))
if result.provider.name == 'tw':
response.write('Your are logged in with Twitter.<br />')
# We will get the user's 5 most recent tweets.
url = 'https://api.twitter.com/1.1/statuses/user_timeline.json'
# You can pass a dictionary of querystring parameters.
access_response = result.provider.access(url, {'count': 5})
# Parse response.
if access_response.status == 200:
if isinstance(access_response.data, list):
# Twitter returns the tweets as a JSON list.
response.write('Your 5 most recent tweets:')
for tweet in access_response.data:
text = tweet.get('text')
date = tweet.get('created_at')
response.write(u'<h3>{0}</h3>'.format(text))
response.write(u'Tweeted on: {0}'.format(date))
elif response.data.get('errors'):
response.write(u'Damn that error: {0}!'.
format(response.data.get('errors')))
else:
response.write('Damn that unknown error!<br />')
response.write(u'Status: {0}'.format(response.status))
return response
|
import torch
import torch.nn as nn
import torch.nn.functional as F
a1 = torch.randn(10,11,requires_grad=True)
x = a1.chunk(10,0)
a,b = x[0],x[1]
b1 = a+b
c = b1*2
c.backward()
a.grad
b.grad
a1.grad
a3 = a1+a2
a3
c = a3*2
c.backward()
a2.grad
a1.grad |
import _sqlite3
mydb = _sqlite3.connect(database = 'namelist')
with mydb:
cur = mydb.cursor()
selectquery = 'SELECT * FROM users'
cur.execute(selectquery)
results = cur.fetchall()
print('Original data: ')
for row in results:
print(row)
cur = mydb.cursor()
updatequery = 'UPDATE users SET first_name = "update_name" WHERE first_name = "Cj"'
cur.execute(updatequery)
cur = mydb.cursor()
selectquery = 'SELECT * FROM users'
cur.execute(selectquery)
results = cur.fetchall()
print()
print('After updating data: ')
for row in results:
print(row)
cur = mydb.cursor()
user_change = 'update_name_placeholder'
origin_name = 'update_name'
cur.execute('UPDATE users SET first_name = ? WHERE First_name = ? ', (user_change, origin_name))
cur = mydb.cursor()
selectquery_2 = 'SELECT * FROM users'
cur.execute(selectquery_2)
results = cur.fetchall()
print()
print('After updating data: ')
for row in results:
print(row)
mydb.close()
|
import csv
import os
from golem.core import utils
def save_test_data(root_path, project, full_test_case_name, test_data):
if test_data[0]:
tc_name, parents = utils.separate_file_from_parents(full_test_case_name)
data_directory_path = os.path.join(root_path, 'projects', project, 'data',
os.sep.join(parents))
data_file_path = os.path.join(data_directory_path, '{}.csv'.format(tc_name))
# if the data file does not exist, create it
if not os.path.exists(data_directory_path):
os.makedirs(data_directory_path)
if not os.path.isfile(data_file_path):
new_file = open(data_file_path, 'w+').close()
with open(data_file_path, 'w') as f:
writer = csv.DictWriter(f, fieldnames=test_data[0].keys(), lineterminator='\n')
writer.writeheader()
for row in test_data:
writer.writerow(row)
def is_data_variable(root_path, project, parents, test_case_name, parameter_name):
full_path = parents + [test_case_name]
test_data = utils.get_test_data_dict_list(root_path, project, '.'.join(full_path))
print('TEST DATA IN IS DATA VARIABLE', test_data)
if test_data:
if parameter_name in test_data[0].keys():
return True
return False
|
import numpy as np
from skimage.filters import gabor_kernel
import cv2
class KernelParams:
def __init__(self, wavelength, orientation):
self.wavelength = wavelength
self.orientation = orientation
def __hash__(self):
return hash((self.wavelength, self.orientation))
def __eq__(self, other):
return (self.wavelength, self.orientation) == \
(other.wavelength, other.orientation)
def __ne__(self, other):
return not(self == other)
class GaborBank:
def __init__(self, w = [4, 7, 10, 13],
o = [i for i in np.arange(0, np.pi, np.pi / 8)]):
self._wavelengths = w
self._orientations = o
self._kernels = {}
for wavelength in self._wavelengths:
for orientation in self._orientations:
frequency = 1 / wavelength
kernel = gabor_kernel(frequency, orientation)
par = KernelParams(wavelength, orientation)
self._kernels[par] = kernel
def filter(self, image):
image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
responses = []
for wavelength in self._wavelengths:
for orientation in self._orientations:
frequency = 1 / wavelength
par = KernelParams(wavelength, orientation)
kernel = self._kernels[par]
real = cv2.filter2D(image, cv2.CV_32F, kernel.real)
imag = cv2.filter2D(image, cv2.CV_32F, kernel.imag)
mag = cv2.magnitude(real, imag)
cv2.normalize(mag, mag, -1, 1, cv2.NORM_MINMAX)
responses.append(mag)
return np.array(responses) |
#!/usr/bin/python
import os, sys
from wallaby import *
import constants as c
import motors as m
def wait_4_button():
print("waiting for button")
ao()
while right_button() == 0:
pass
print("pressed")
def line_follow(speed, time): #Cheet for the curved line
while analog(c.ET) < 2000:
sec = seconds()
while seconds() - sec < time:
if analog(c.top_hat) < 2600:
m.drive_timed(speed, speed/2, 1)
else:
m.drive_timed(speed/2, speed, 1)
m.drive_timed(speed/4, speed, 2800)
while True:
if analog(c.top_hat) < 2600:
m.drive_timed(speed, speed/4, 1)
else:
m.drive_timed(speed/4, speed, 1)
def line_follow_can(speed): #works only for the straight line
while analog(c.ET) < 2000:
if analog(c.top_hat) < 3000:
m.drive_timed(speed, speed/2, 1)
else:
m.drive_timed(speed/2, speed, 1)
def line_follow_ugly(speed): #looks bad but works for all lines
while analog(c.ET) < 2000:
if analog(c.top_hat) < 2500:
motor(c.LEFT_MOTOR, speed)
motor(c.RIGHT_MOTOR, 0)
else:
motor(c.RIGHT_MOTOR, speed)
motor(c.LEFT_MOTOR, 0)
# Nice idea. Here's a thought for you (don't necessarily program this)
# Can you re-write this function so that instead of an if/else cascade, you have a mathematical
# function to adjust the motor's speed using an equation? - LMB
def line_follow_amazing(): #make sure this works for a straight line and the curved line
while analog(c.ET) < 2000:
if analog(c.top_hat) < 400:
motor(c.LEFT_MOTOR, 100)
motor(c.RIGHT_MOTOR, 15)
elif analog(c.top_hat) < 600:
motor(c.LEFT_MOTOR, 80)
motor(c.RIGHT_MOTOR, 60)
elif analog(c.top_hat) < 800:
motor(c.LEFT_MOTOR, 80)
motor(c.RIGHT_MOTOR, 80)
elif analog(c.top_hat) < 1100:
motor(c.LEFT_MOTOR, 60)
motor(c.RIGHT_MOTOR, 80)
else:
motor(c.LEFT_MOTOR, 15)
motor(c.RIGHT_MOTOR, 100)
def move_servo(servo_port, end_position, speed): # controls speed of servo movement
print ("moving servo")
pos = get_servo_position(servo_port)
i = speed
while end_position != pos and abs(i) + abs(pos) < end_position:
if pos < end_position:
set_servo_position(servo_port, pos)
msleep(10)
pos = pos + i
else:
set_servo_position(servo_port, pos)
msleep(10)
pos = pos - i
set_servo_position(servo_port, end_position)
def find_edge():
m.drive_timed(-50, 50, 3000)
while digital(c.button) != 1:
m.drive_timed(50, 50, 1)
move_servo(c.servo_arm, c.arm_up, 10)
msleep(500)
m.drive_timed(20, 20, 1300)
move_servo(c.servo_claw, c.claw_open, 10)
def on_black():
return analog(c.top_hat) > 2500
def on_white():
return analog(c.top_hat) < 1500
|
# Copyright 2014 Cloudera Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import sqlalchemy as sa
import toolz
from ibis.sql.alchemy import unary, varargs, fixed_arity, _variance_reduction
import ibis.sql.alchemy as alch
import ibis.expr.datatypes as dt
import ibis.expr.operations as ops
import ibis.expr.types as ir
import ibis.common as com
_operation_registry = alch._operation_registry.copy()
def _cast(t, expr):
# It's not all fun and games with SQLite
op = expr.op()
arg, target_type = op.args
sa_arg = t.translate(arg)
sa_type = t.get_sqla_type(target_type)
if isinstance(target_type, dt.Timestamp):
if isinstance(arg, ir.IntegerValue):
return sa.func.datetime(sa_arg, 'unixepoch')
elif isinstance(arg, ir.StringValue):
return sa.func.strftime('%Y-%m-%d %H:%M:%f', sa_arg)
raise com.UnsupportedOperationError(type(arg))
if isinstance(target_type, dt.Date):
if isinstance(arg, ir.IntegerValue):
return sa.func.date(sa.func.datetime(sa_arg, 'unixepoch'))
elif isinstance(arg, ir.StringValue):
return sa.func.date(sa_arg)
raise com.UnsupportedOperationError(type(arg))
if isinstance(arg, ir.CategoryValue) and target_type == 'int32':
return sa_arg
else:
return sa.cast(sa_arg, sa_type)
def _substr(t, expr):
f = sa.func.substr
arg, start, length = expr.op().args
sa_arg = t.translate(arg)
sa_start = t.translate(start)
if length is None:
return f(sa_arg, sa_start + 1)
else:
sa_length = t.translate(length)
return f(sa_arg, sa_start + 1, sa_length)
def _string_right(t, expr):
f = sa.func.substr
arg, length = expr.op().args
sa_arg = t.translate(arg)
sa_length = t.translate(length)
return f(sa_arg, -sa_length, sa_length)
def _string_find(t, expr):
arg, substr, start, _ = expr.op().args
if start is not None:
raise NotImplementedError
sa_arg = t.translate(arg)
sa_substr = t.translate(substr)
f = sa.func.instr
return f(sa_arg, sa_substr) - 1
def _infix_op(infix_sym):
def formatter(t, expr):
op = expr.op()
left, right = op.args
left_arg = t.translate(left)
right_arg = t.translate(right)
return left_arg.op(infix_sym)(right_arg)
return formatter
def _strftime(t, expr):
arg, format = expr.op().args
sa_arg = t.translate(arg)
sa_format = t.translate(format)
return sa.func.strftime(sa_format, sa_arg)
def _strftime_int(fmt):
def translator(t, expr):
arg, = expr.op().args
sa_arg = t.translate(arg)
return sa.cast(sa.func.strftime(fmt, sa_arg), sa.INTEGER)
return translator
_truncate_modifiers = {
'Y': 'start of year',
'M': 'start of month',
'D': 'start of day',
'W': 'weekday 1',
}
def _truncate(func):
def translator(t, expr):
arg, unit = expr.op().args
sa_arg = t.translate(arg)
try:
modifier = _truncate_modifiers[unit]
except KeyError:
raise com.UnsupportedOperationError(
'Unsupported truncate unit {!r}'.format(unit)
)
return func(sa_arg, modifier)
return translator
def _now(t, expr):
return sa.func.datetime('now')
def _millisecond(t, expr):
arg, = expr.op().args
sa_arg = t.translate(arg)
fractional_second = sa.func.strftime('%f', sa_arg)
return (fractional_second * 1000) % 1000
def _identical_to(t, expr):
left, right = args = expr.op().args
if left.equals(right):
return True
else:
left, right = map(t.translate, args)
return sa.func.coalesce(
(left.is_(None) & right.is_(None)) | (left == right),
False
)
def _log(t, expr):
arg, base = expr.op().args
sa_arg = t.translate(arg)
if base is None:
return sa.func._ibis_sqlite_ln(sa_arg)
return sa.func._ibis_sqlite_log(sa_arg, t.translate(base))
def _repeat(t, expr):
arg, times = map(t.translate, expr.op().args)
f = sa.func
return f.replace(
f.substr(
f.quote(
f.zeroblob((times + 1) / 2)
),
3,
times
),
'0',
arg
)
def _generic_pad(arg, length, pad):
f = sa.func
arg_length = f.length(arg)
pad_length = f.length(pad)
number_of_zero_bytes = (
(length - arg_length - 1 + pad_length) / pad_length + 1) / 2
return f.substr(
f.replace(
f.replace(
f.substr(f.quote(f.zeroblob(number_of_zero_bytes)), 3),
"'",
''
),
'0',
pad
),
1,
length - f.length(arg)
)
def _lpad(t, expr):
arg, length, pad = map(t.translate, expr.op().args)
return _generic_pad(arg, length, pad) + arg
def _rpad(t, expr):
arg, length, pad = map(t.translate, expr.op().args)
return arg + _generic_pad(arg, length, pad)
_operation_registry.update({
ops.Cast: _cast,
ops.Substring: _substr,
ops.StrRight: _string_right,
ops.StringFind: _string_find,
ops.Least: varargs(sa.func.min),
ops.Greatest: varargs(sa.func.max),
ops.IfNull: fixed_arity(sa.func.ifnull, 2),
ops.DateTruncate: _truncate(sa.func.date),
ops.TimestampTruncate: _truncate(sa.func.datetime),
ops.Strftime: _strftime,
ops.ExtractYear: _strftime_int('%Y'),
ops.ExtractMonth: _strftime_int('%m'),
ops.ExtractDay: _strftime_int('%d'),
ops.ExtractHour: _strftime_int('%H'),
ops.ExtractMinute: _strftime_int('%M'),
ops.ExtractSecond: _strftime_int('%S'),
ops.ExtractMillisecond: _millisecond,
ops.TimestampNow: _now,
ops.IdenticalTo: _identical_to,
ops.RegexSearch: fixed_arity(sa.func._ibis_sqlite_regex_search, 2),
ops.RegexReplace: fixed_arity(sa.func._ibis_sqlite_regex_replace, 3),
ops.RegexExtract: fixed_arity(sa.func._ibis_sqlite_regex_extract, 3),
ops.LPad: _lpad,
ops.RPad: _rpad,
ops.Repeat: _repeat,
ops.Reverse: unary(sa.func._ibis_sqlite_reverse),
ops.StringAscii: unary(sa.func._ibis_sqlite_string_ascii),
ops.Capitalize: unary(sa.func._ibis_sqlite_capitalize),
ops.Translate: fixed_arity(sa.func._ibis_sqlite_translate, 3),
ops.Sqrt: unary(sa.func._ibis_sqlite_sqrt),
ops.Power: fixed_arity(sa.func._ibis_sqlite_power, 2),
ops.Exp: unary(sa.func._ibis_sqlite_exp),
ops.Ln: unary(sa.func._ibis_sqlite_ln),
ops.Log: _log,
ops.Log10: unary(sa.func._ibis_sqlite_log10),
ops.Log2: unary(sa.func._ibis_sqlite_log2),
ops.Floor: unary(sa.func._ibis_sqlite_floor),
ops.Ceil: unary(sa.func._ibis_sqlite_ceil),
ops.Sign: unary(sa.func._ibis_sqlite_sign),
ops.FloorDivide: fixed_arity(sa.func._ibis_sqlite_floordiv, 2),
ops.Variance: _variance_reduction('_ibis_sqlite_var'),
ops.StandardDev: toolz.compose(
sa.func._ibis_sqlite_sqrt,
_variance_reduction('_ibis_sqlite_var')
),
})
def add_operation(op, translation_func):
_operation_registry[op] = translation_func
class SQLiteExprTranslator(alch.AlchemyExprTranslator):
_registry = _operation_registry
_rewrites = alch.AlchemyExprTranslator._rewrites.copy()
_type_map = alch.AlchemyExprTranslator._type_map.copy()
_type_map.update({
dt.Double: sa.types.REAL,
dt.Float: sa.types.REAL
})
rewrites = SQLiteExprTranslator.rewrites
compiles = SQLiteExprTranslator.compiles
class SQLiteDialect(alch.AlchemyDialect):
translator = SQLiteExprTranslator
dialect = SQLiteDialect
|
#!/usr/bin/python
import json
import os
import sys
import time
import xmlrpclib
if len(sys.argv) != 7:
print("Must provide 6 arguments.{} {} {} {} {} {} {}".format(sys.argv[0],
"job_name","LAVA_KEY", "kernel_image","kernel_modules_archive", "lttng_modules_archive", "tools_commit"))
sys.exit()
job_name=sys.argv[1]
token=sys.argv[2]
kernel=sys.argv[3]
linux_modules=sys.argv[4]
lttng_modules=sys.argv[5]
tools_commit=sys.argv[6]
job ="""{
"health_check": false,
"job_name": "performance-tracker-benchmark-syscalls",
"device_type": "x86",
"tags": [ "dev-sda1" ],
"timeout": 18000,
"actions": [
{
"command": "boot_image"
},
{
"command": "lava_command_run",
"parameters": {
"commands": [
"ifup eth0",
"route -n",
"cat /etc/resolv.conf",
"echo nameserver 172.18.0.12 > /etc/resolv.conf",
"mount /dev/sda1 /tmp",
"rm -rf /tmp/*",
"depmod -a"
]
}
},
{
"command": "lava_command_run",
"parameters": {
"commands": [
"locale-gen en_US.UTF-8",
"apt-get update",
"apt-get install -y bsdtar psmisc wget python3 python3-pip libglib2.0-dev libffi-dev elfutils",
"apt-get install -y libelf-dev libmount-dev libxml2 python3-pandas python3-numpy babeltrace"
]
}
},
{
"command": "lava_test_shell",
"parameters": {
"testdef_repos": [
{
"git-repo": "https://github.com/frdeso/syscall-bench-it.git",
"revision": "master",
"testdef": "lava/testcases/failing-close.yml",
"parameters": {}
},
{
"git-repo": "https://github.com/frdeso/syscall-bench-it.git",
"revision": "master",
"testdef": "lava/testcases/failing-open-efault.yml"
},
{
"git-repo": "https://github.com/frdeso/syscall-bench-it.git",
"revision": "master",
"testdef": "lava/testcases/failing-open-enoent.yml"
}
],
"timeout": 18000
}
},
{
"command": "submit_results",
"parameters": {
"server": "http://lava-master.internal.efficios.com/RPC2/",
"stream": "/anonymous/benchmark-kernel/"
}
}
]
}"""
# We use the kernel image and modules archive received as argument
deploy_action={"command": "deploy_kernel",
"metadata": {
"jenkins_jobname": job_name,
"nb_iterations": "2000000000"
},
"parameters": {
"overlays": [
"scp://jenkins-lava@storage.internal.efficios.com"+linux_modules,
"scp://jenkins-lava@storage.internal.efficios.com"+lttng_modules
],
"kernel":
"scp://jenkins-lava@storage.internal.efficios.com"+kernel,
"nfsrootfs": "scp://jenkins-lava@storage.internal.efficios.com/storage/jenkins-lava/rootfs/rootfs_amd64_trusty_2016-02-23-1134.tar.gz",
"target_type": "ubuntu"
}
}
# We checkout the commit id for tools
setup_action = {
"command": "lava_command_run",
"parameters": {
"commands": [
"git clone https://github.com/frdeso/syscall-bench-it.git bm",
"pip3 install vlttng",
"vlttng --jobs=16 --profile urcu-master \
--profile lttng-tools-master -o \
projects.lttng-tools.checkout="+tools_commit+ \
" /tmp/virtenv"
]
}
}
job_dict= json.loads(job)
for t in [i for i in job_dict['actions'] if i['command'] == 'lava_test_shell']:
for a in t['parameters']['testdef_repos']:
a['parameters'] = {}
a['parameters']['JENKINS_JOBNAME'] = job_name
job_dict['job_name']=job_name
job_dict['actions'].insert(0, deploy_action)
job_dict['actions'].insert(4, setup_action)
username = 'frdeso'
hostname = 'lava-master.internal.efficios.com'
server = xmlrpclib.ServerProxy('http://%s:%s@%s/RPC2' % (username, token, hostname))
jobid = server.scheduler.submit_job(json.dumps(job_dict))
jobstatus = server.scheduler.job_status(jobid)['job_status']
while jobstatus in 'Submitted' or jobstatus in 'Running':
time.sleep(30)
jobstatus = server.scheduler.job_status(jobid)['job_status']
if jobstatus not in 'Complete':
print(jobstatus)
sys.exit(-1)
else:
sys.exit(0)
|
__all__ = ['VERSION', 'version_info']
VERSION = '1.4a1'
def version_info() -> str:
import platform
import sys
from importlib import import_module
from pathlib import Path
from .main import compiled
optional_deps = []
for p in ('typing-extensions', 'email-validator', 'devtools'):
try:
import_module(p.replace('-', '_'))
except ImportError:
continue
optional_deps.append(p)
info = {
'pydantic version': VERSION,
'pydantic compiled': compiled,
'install path': Path(__file__).resolve().parent,
'python version': sys.version,
'platform': platform.platform(),
'optional deps. installed': optional_deps,
}
return '\n'.join('{:>30} {}'.format(k + ':', str(v).replace('\n', ' ')) for k, v in info.items())
|
# -*- coding: utf-8 -*
# @Time : 2020/11/10 15:00
import json
from fastapi import APIRouter, Depends, Query
from sqlalchemy.orm import Session
from starlette.requests import Request
from app.api.utils.responseCode import resp_200
from app.common.deps import get_db
from app.config.development_config import settings
from app.logger import logger
from app.models.spider import Project, Tasks
router = APIRouter()
# 所有任务
def task_search_list(
*, request: Request,
project: str = Query(None, title="项目", description="项目"),
status: str = Query(None, title="状态", description="状态"),
page: int = 1,
limit: int = 10,
db: Session = Depends(get_db)
):
if all([project, status]):
taskList = db.query(Tasks).filter(Tasks.project_id == project, Tasks.task_status == status).limit(limit).offset(
(page - 1) * limit)
elif project:
taskList = db.query(Tasks).filter(Tasks.project_id == project).limit(limit).offset((page - 1) * limit)
elif status:
taskList = db.query(Tasks).filter(Tasks.task_status == status).limit(limit).offset((page - 1) * limit)
else:
taskList = db.query(Tasks).limit(limit).offset((page - 1) * limit)
resultList = taskList.all()
total = taskList.count()
result_list = [{
'project_id': task.project_id,
'task_id': task.task_id,
'task_name': task.task_name,
'task_desc': task.task_desc,
'task_level': task.task_level,
'task_status': task.task_status,
'last_run_status': task.last_run_status,
'local_path': task.local_path,
'last_run_time': str(task.last_run_time),
'create_time': str(task.create_time),
} for task in resultList]
return resp_200(data={"data": result_list, "total": total})
# 任务详情
def task_detail(*, request: Request,
taskId: str,
db: Session = Depends(get_db)
):
# try:
print(taskId)
taskInfo = db.query(Tasks).filter(Tasks.task_id == taskId).first()
data = {
'project_id': taskInfo.project_id,
'task_id': taskInfo.task_id,
'task_name': taskInfo.task_name,
'task_desc': taskInfo.task_desc,
'task_level': taskInfo.task_level,
'task_status': taskInfo.task_status,
'last_run_status': taskInfo.last_run_status,
'task_path': settings.REMOTE_DIR,
'deployed_host': json.loads(taskInfo.deployed_hosts) if taskInfo.deployed_hosts else [],
'last_run_time': str(taskInfo.last_run_time),
'create_time': str(taskInfo.create_time),
}
return resp_200(data=data, message='获取成功')
# except:
# db.rollback()
# return resp_400(message='获取失败')
def run_task(
*, request: Request,
dict_params: dict,
db: Session = Depends(get_db)
):
# try:
# start_spider_status(dict_params.get("taskId"))
print(f"jId: {dict_params.get('jId')}")
# Mafeng().run()
# 更新任务状态
# end_spider_status(dict_params.get("taskId"))
return resp_200(data={'taskName': '马蜂窝'}, message='成功')
# except:
# db.rollback()
# return resp_400(message='操作失败')
# ------------------------------- 路由添加 --------------------------------
router.add_api_route(methods=['GET'], path="/tasks",
endpoint=task_search_list, summary="返回所有任务")
router.add_api_route(
methods=['GET'], path="/task/detail", endpoint=task_detail, summary="任务详情")
router.add_api_route(methods=['POST'], path="/task/run",
endpoint=run_task, summary="任务开启")
|
import six
import math
if six.PY3:
ZERO_LONG = 0
else:
ZERO_LONG = long(0) # noqa
class EWMA(object):
"""
Exponentially-weighted moving avergage. Based on the
implementation in Coda Hale's metrics library:
https://github.com/codahale/metrics/blob/development/metrics-core/src/main/java/com/yammer/metrics/stats/EWMA.java
"""
M1_ALPHA = 1 - math.exp(-5.0 / 60.0)
M5_ALPHA = 1 - math.exp(-5.0 / 60.0 / 5.0)
M15_ALPHA = 1 - math.exp(-5.0 / 60.0 / 15.0)
@staticmethod
def oneMinuteEWMA():
return EWMA(EWMA.M1_ALPHA, 5.0)
@staticmethod
def fiveMinuteEWMA():
return EWMA(EWMA.M5_ALPHA, 5.0)
@staticmethod
def fifteenMinuteEWMA():
return EWMA(EWMA.M15_ALPHA, 5.0)
def __init__(self, alpha, interval):
self.alpha = alpha
self.interval = interval
self.curr_rate = None
self.uncounted = ZERO_LONG
def update(self, val):
self.uncounted += val
def rate(self):
return self.curr_rate
def tick(self):
count = self.uncounted
self.uncounted = ZERO_LONG
instant_rate = count / self.interval
if self.initialized:
self.curr_rate += (self.alpha * (instant_rate - self.curr_rate))
else:
self.curr_rate = instant_rate
|
#!/usr/bin/env python
"""
Simple web server for WSGI applications
using only Python standard libraries
"""
import sys
from wsgiref import simple_server
from optparse import OptionParser
usage = """python wsgirunner.py [options] arg
where arg is the name of a Python module arg.py
which contains a WSGI-compliant web application.
For example:
python wsgirunner.py -p 8080 wsgidemo
If wsgirunner.py is in a directory that is on the
execution path, this can be shortened to
wsgirunner.py -p 8080 wsgidemo
"""
parser = OptionParser(usage=usage)
def parse_args():
parser.add_option('-p', '--port', type='int', default=8000,
help='Port where server listens, default 8000')
return parser.parse_args()
def print_help():
parser.print_help() # must have at least one arg, not optional
def main():
(options, args) = parse_args()
if not args:
print_help()
exit()
app_module = args[0]
app = __import__(app_module)
application = app.application
print "Running %s at http://localhost:%s/" \
% (app_module, options.port)
httpd = simple_server.WSGIServer(('', options.port),
simple_server.WSGIRequestHandler)
httpd.set_app(application)
httpd.serve_forever()
if __name__ == '__main__':
main()
|
'''
Gauged - https://github.com/chriso/gauged
Copyright 2014 (c) Chris O'Hara <cohara87@gmail.com>
'''
from gauged.drivers import parse_dsn, SQLiteDriver
from .test_case import TestCase
class TestDSN(TestCase):
'''Test the driver functions'''
def test_stripping_dialect_from_schema(self):
driver = parse_dsn('sqlite+foobar://')[0]
self.assertIs(driver, SQLiteDriver)
def test_unknown_driver(self):
with self.assertRaises(ValueError):
parse_dsn('foobar://')
def test_user_and_password(self):
kwargs = parse_dsn('mysql://root:foo@localhost')[2]
self.assertEqual(kwargs['user'], 'root')
self.assertEqual(kwargs['passwd'], 'foo')
kwargs = parse_dsn('postgresql://root:foo@localhost')[2]
self.assertEqual(kwargs['user'], 'root')
self.assertEqual(kwargs['password'], 'foo')
def test_user_without_password(self):
kwargs = parse_dsn('mysql://root@localhost')[2]
self.assertEqual(kwargs['user'], 'root')
self.assertNotIn('passwd', kwargs)
kwargs = parse_dsn('postgresql://root@localhost')[2]
self.assertEqual(kwargs['user'], 'root')
self.assertNotIn('password', kwargs)
def test_default_users(self):
kwargs = parse_dsn('mysql://localhost')[2]
self.assertEqual(kwargs['user'], 'root')
kwargs = parse_dsn('postgresql://localhost')[2]
self.assertEqual(kwargs['user'], 'postgres')
def test_unix_socket(self):
kwargs = parse_dsn('mysql:///?unix_socket=/tmp/mysql.sock')[2]
self.assertEqual(kwargs['unix_socket'], '/tmp/mysql.sock')
kwargs = parse_dsn('postgresql:///?unix_socket=/tmp/mysql.sock')[2]
self.assertNotIn('unix_socket', kwargs)
self.assertEqual(kwargs['host'], '/tmp/mysql.sock')
def test_no_host_or_port(self):
kwargs = parse_dsn('mysql://')[2]
self.assertNotIn('host', kwargs)
self.assertNotIn('port', kwargs)
kwargs = parse_dsn('postgresql://')[2]
self.assertNotIn('host', kwargs)
self.assertNotIn('port', kwargs)
def test_hort_without_port(self):
kwargs = parse_dsn('mysql://localhost')[2]
self.assertEqual(kwargs['host'], 'localhost')
self.assertNotIn('port', kwargs)
kwargs = parse_dsn('postgresql://localhost')[2]
self.assertEqual(kwargs['host'], 'localhost')
self.assertNotIn('port', kwargs)
def test_hort_with_port(self):
kwargs = parse_dsn('mysql://localhost:123')[2]
self.assertEqual(kwargs['host'], 'localhost')
self.assertEqual(kwargs['port'], 123)
kwargs = parse_dsn('postgresql://localhost:123')[2]
self.assertEqual(kwargs['host'], 'localhost')
self.assertEqual(kwargs['port'], 123)
def test_passing_kwargs(self):
kwargs = parse_dsn('mysql://localhost?foo=bar')[2]
self.assertEqual(kwargs['foo'], 'bar')
kwargs = parse_dsn('postgresql://localhost?foo=bar')[2]
self.assertEqual(kwargs['foo'], 'bar')
|
"""Auto-generated file, do not edit by hand. BR metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_BR = PhoneMetadata(id='BR', country_code=55, international_prefix='00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)',
general_desc=PhoneNumberDesc(national_number_pattern='[1-46-9]\\d{7,10}|5(?:[0-4]\\d{7,9}|5(?:[2-8]\\d{7}|9\\d{7,8}))', possible_number_pattern='\\d{8,11}', possible_length=(8, 9, 10, 11), possible_length_local_only=(8,)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}', example_number='1123456789', possible_length=(10,), possible_length_local_only=(8,)),
mobile=PhoneNumberDesc(national_number_pattern='1[1-9](?:7|9\\d)\\d{7}|(?:2[12478]|3[1-578]|[4689][1-9]|5[13-5]|7[13-579])(?:[6-8]|9\\d?)\\d{7}', example_number='11961234567', possible_length=(10, 11), possible_length_local_only=(8,)),
toll_free=PhoneNumberDesc(national_number_pattern='800\\d{6,7}', possible_number_pattern='\\d{8,11}', example_number='800123456', possible_length=(9, 10)),
premium_rate=PhoneNumberDesc(national_number_pattern='(?:300|[59]00\\d?)\\d{6}', possible_number_pattern='\\d{8,11}', example_number='300123456', possible_length=(9, 10)),
shared_cost=PhoneNumberDesc(national_number_pattern='(?:300\\d(?:\\d{2})?|40(?:0\\d|20))\\d{4}', possible_number_pattern='\\d{8,10}', example_number='40041234', possible_length=(8, 10)),
personal_number=PhoneNumberDesc(),
voip=PhoneNumberDesc(),
pager=PhoneNumberDesc(),
uan=PhoneNumberDesc(),
voicemail=PhoneNumberDesc(),
no_international_dialling=PhoneNumberDesc(national_number_pattern='(?:300\\d|40(?:0\\d|20))\\d{4}', possible_number_pattern='\\d{8}', example_number='40041234', possible_length=(8,)),
national_prefix='0',
national_prefix_for_parsing='0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?',
national_prefix_transform_rule='\\2',
number_format=[NumberFormat(pattern='(\\d{4})(\\d{4})', format='\\1-\\2', leading_digits_pattern=['[2-9](?:[1-9]|0[1-9])'], national_prefix_formatting_rule='\\1'),
NumberFormat(pattern='(\\d{5})(\\d{4})', format='\\1-\\2', leading_digits_pattern=['9(?:[1-9]|0[1-9])'], national_prefix_formatting_rule='\\1'),
NumberFormat(pattern='(\\d{3,5})', format='\\1', leading_digits_pattern=['1[125689]'], national_prefix_formatting_rule='\\1'),
NumberFormat(pattern='(\\d{2})(\\d{4})(\\d{4})', format='\\1 \\2-\\3', leading_digits_pattern=['[1-9][1-9]'], national_prefix_formatting_rule='(\\1)', domestic_carrier_code_formatting_rule='0 $CC (\\1)'),
NumberFormat(pattern='(\\d{2})(\\d{5})(\\d{4})', format='\\1 \\2-\\3', leading_digits_pattern=['(?:[14689][1-9]|2[12478]|3[1-578]|5[1-5]|7[13-579])9'], national_prefix_formatting_rule='(\\1)', domestic_carrier_code_formatting_rule='0 $CC (\\1)'),
NumberFormat(pattern='(\\d{4})(\\d{4})', format='\\1-\\2', leading_digits_pattern=['(?:300|40(?:0|20))']),
NumberFormat(pattern='([3589]00)(\\d{2,3})(\\d{4})', format='\\1 \\2 \\3', leading_digits_pattern=['[3589]00'], national_prefix_formatting_rule='0\\1')],
intl_number_format=[NumberFormat(pattern='(\\d{4})(\\d{4})', format='NA', leading_digits_pattern=['[2-9](?:[1-9]|0[1-9])']),
NumberFormat(pattern='(\\d{5})(\\d{4})', format='NA', leading_digits_pattern=['9(?:[1-9]|0[1-9])']),
NumberFormat(pattern='(\\d{3,5})', format='NA', leading_digits_pattern=['1[125689]']),
NumberFormat(pattern='(\\d{2})(\\d{4})(\\d{4})', format='\\1 \\2-\\3', leading_digits_pattern=['[1-9][1-9]']),
NumberFormat(pattern='(\\d{2})(\\d{5})(\\d{4})', format='\\1 \\2-\\3', leading_digits_pattern=['(?:[14689][1-9]|2[12478]|3[1-578]|5[1-5]|7[13-579])9']),
NumberFormat(pattern='(\\d{4})(\\d{4})', format='\\1-\\2', leading_digits_pattern=['(?:300|40(?:0|20))']),
NumberFormat(pattern='([3589]00)(\\d{2,3})(\\d{4})', format='\\1 \\2 \\3', leading_digits_pattern=['[3589]00'])],
mobile_number_portable_region=True)
|
#!/usr/bin/env python3
import os.path
from os import path
import json
import base64
import bibtexparser
import markovify
from PIL import Image
import numpy as np
from wordcloud import WordCloud, STOPWORDS
researchAreas = ['economics','biology','computerscience','math','astronomy','chemistry','psychology','medicine','physics']
def getArea(area):
area = area.lower()
if 'biology' in area or 'biochemistry' in area or 'genetics' in area:
return 'biology'
if 'computer' in area:
return 'computerscience'
if 'astronomy' in area or 'physics' in area:
return 'physics'
if 'math' in area or 'probability' in area:
return 'math'
if 'chemistry' in area:
return 'chemistry'
if 'economics' in area or 'business' in area:
return 'economics'
if 'psychology' in area or 'sociology' in area:
return "psychology"
if 'health' in area or 'pediatric' in area or 'oncology' in area or 'virology' in area or 'psychiatry' in area or 'medicine' in area or 'virology' in area:
return 'medicine'
else:
return 'other'
def loadBibtexAndWriteTitles():
print("Loading bibtex...")
with open('top.bib') as f:
b = bibtexparser.load(f)
print("Writing files...")
for entry in b.entries:
try:
area = getArea(entry['web-of-science-categories'])
except:
continue
title = entry['title'].strip().replace('\n',' ').title() + ". "
with open(area+"_titles.txt","a") as f:
f.write(title)
try:
abstract = entry['abstract'].strip().replace('\n',' ') + " "
with open(area+"_abstracts.txt","a") as f:
f.write(abstract)
except:
pass
def generateMarkovSentences():
for area in researchAreas:
print("Reading titles for %s..." % area)
try:
text = open(area+"_titles.txt","r").read()
except:
continue
print("Generating Markov chain for titles from %s..." % area)
text_model = markovify.Text(text)
print("Generating Markov sentences...")
markov = []
for i in range(1767): # want to ensure 50% probability of seeing two names randomly after 50 attempts, so X = ((1/2 - 50)^2 - 1/4)/(2*ln(2)). See Birthday Paradox
try:
markov.append(text_model.make_sentence()[:-1])
except:
pass
with open(area+"_title_markov.json","w") as f:
f.write(json.dumps(markov,indent=2))
print("Reading abstracts for %s..." % area)
text = open(area+"_abstracts.txt","r").read()
print("Generating Markov chain for abstracts from %s..." % area)
text_model = markovify.Text(text)
print("Generating Markov sentences...")
markov = []
for i in range(1767): # want to ensure 50% probability of seeing two names randomly after 50 attempts, so X = ((1/2 - 50)^2 - 1/4)/(2*ln(2)). See Birthday Paradox
try:
paragraph = " "
for i in range(5):
paragraph += text_model.make_sentence().strip()+" "
markov.append(paragraph.strip())
except:
pass
with open(area+"_abstract_markov.json","w") as f:
f.write(json.dumps(markov,indent=2))
def makeWordCloud():
print("Generating word cloud...")
# Load in the titles
d = path.dirname(__file__)
text = open(path.join(d, 'titles.txt')).read()
# read the mask image
mask = np.array(Image.open(path.join(d, "flask_mask.png")))
stopwords = set(STOPWORDS)
stopwords.add("said")
wc = WordCloud(width=800, height=400, background_color="white", max_words=2000, mask=mask,
stopwords=stopwords)
# generate word cloud
wc.generate(text)
# store to file
os.mkdir('img')
wc.to_file(path.join(d, 'img',"flask_words.png"))
if __name__ == "__main__":
loadBibtexAndWriteTitles()
generateMarkovSentences()
# makeWordCloud()
# print("Now run \n\npython3 -m http.server \n\nand open your browser to http://127.0.0.1:8000")
|
#
# PySNMP MIB module WHISP-APS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WHISP-APS-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:36:25 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueSizeConstraint, ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection")
ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup")
ModuleIdentity, Counter64, ObjectIdentity, Integer32, Gauge32, Bits, Unsigned32, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, NotificationType, IpAddress, MibIdentifier, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "Counter64", "ObjectIdentity", "Integer32", "Gauge32", "Bits", "Unsigned32", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "NotificationType", "IpAddress", "MibIdentifier", "TimeTicks")
DisplayString, MacAddress, PhysAddress, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "MacAddress", "PhysAddress", "TextualConvention")
whispBoxEsn, whispBoxRFPhysicalRadioEntry = mibBuilder.importSymbols("WHISP-BOX-MIBV2-MIB", "whispBoxEsn", "whispBoxRFPhysicalRadioEntry")
whispBox, whispModules, whispAps = mibBuilder.importSymbols("WHISP-GLOBAL-REG-MIB", "whispBox", "whispModules", "whispAps")
WhispLUID, EventString, WhispMACAddress = mibBuilder.importSymbols("WHISP-TCV2-MIB", "WhispLUID", "EventString", "WhispMACAddress")
whispApsMibModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 161, 19, 1, 1, 12))
if mibBuilder.loadTexts: whispApsMibModule.setLastUpdated('200304150000Z')
if mibBuilder.loadTexts: whispApsMibModule.setOrganization('Cambium Networks')
if mibBuilder.loadTexts: whispApsMibModule.setContactInfo('Canopy Technical Support email: technical-support@canopywireless.com')
if mibBuilder.loadTexts: whispApsMibModule.setDescription('This module contains MIB definitions for APs.')
whispApsConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1))
whispApsLink = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2))
whispApsLinkTestConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 1))
whispApsLinkTestResult = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2))
whispApsGPS = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3))
whispApsEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5))
whispApsRegEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 1))
whispGPSEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 2))
whispApsDfsEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 3))
whispApRegulatoryEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 4))
whispApRFOverloadEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 5))
whispApsGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 6))
whispApsStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7))
whispApsDNS = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9))
whispApsControls = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 11))
whispApsRFConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 10))
gpsInput = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("generateSyncSignal", 0), ("syncToReceivedSignalTimingPort", 1), ("syncToReceivedSignalPowerPort", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: gpsInput.setStatus('obsolete')
if mibBuilder.loadTexts: gpsInput.setDescription('The variable is deprecated. See gpsInput in whispBoxConfig.')
rfFreqCarrier = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0))).clone(namedValues=NamedValues(("wired", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfFreqCarrier.setStatus('deprecated')
if mibBuilder.loadTexts: rfFreqCarrier.setDescription('The variable is deprecated. Please see radioFreqCarrier.')
apLinkSpeed = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 3), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: apLinkSpeed.setStatus('obsolete')
if mibBuilder.loadTexts: apLinkSpeed.setDescription('The variable is deprecated.')
dwnLnkData = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setUnits('%').setMaxAccess("readwrite")
if mibBuilder.loadTexts: dwnLnkData.setStatus('deprecated')
if mibBuilder.loadTexts: dwnLnkData.setDescription('This attribute is deprecated. Please see radioDownlinkPercent.')
highPriorityUpLnkPct = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 99))).setUnits('%').setMaxAccess("readwrite")
if mibBuilder.loadTexts: highPriorityUpLnkPct.setStatus('obsolete')
if mibBuilder.loadTexts: highPriorityUpLnkPct.setDescription('Percentage of uplink slots for high priority data.')
numUAckSlots = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: numUAckSlots.setStatus('obsolete')
if mibBuilder.loadTexts: numUAckSlots.setDescription('Total number of upstream ack slots.')
uAcksReservHigh = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 7), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: uAcksReservHigh.setStatus('obsolete')
if mibBuilder.loadTexts: uAcksReservHigh.setDescription('Total number of upstream high priority ack slots')
numDAckSlots = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 8), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: numDAckSlots.setStatus('obsolete')
if mibBuilder.loadTexts: numDAckSlots.setDescription('Total number of downstream ack slots.')
dAcksReservHigh = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 9), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dAcksReservHigh.setStatus('obsolete')
if mibBuilder.loadTexts: dAcksReservHigh.setDescription('Total number of high priority downstream ack slots.')
numCtlSlots = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 10), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: numCtlSlots.setStatus('obsolete')
if mibBuilder.loadTexts: numCtlSlots.setDescription('This OID is deprecated, please use numCtlSlotsHW.')
numCtlSlotsReserveHigh = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 11), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: numCtlSlotsReserveHigh.setStatus('obsolete')
if mibBuilder.loadTexts: numCtlSlotsReserveHigh.setDescription('Total number of High priority upstream control (contention) slots.')
upLnkDataRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 12), Integer32()).setUnits('Kilobits/sec').setMaxAccess("readwrite")
if mibBuilder.loadTexts: upLnkDataRate.setStatus('current')
if mibBuilder.loadTexts: upLnkDataRate.setDescription('Sustained uplink bandwidth cap.')
upLnkLimit = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 13), Integer32()).setUnits('Kilobits/sec').setMaxAccess("readwrite")
if mibBuilder.loadTexts: upLnkLimit.setStatus('current')
if mibBuilder.loadTexts: upLnkLimit.setDescription('Burst uplink bandwidth cap.')
dwnLnkDataRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 14), Integer32()).setUnits('Kilobits/sec').setMaxAccess("readwrite")
if mibBuilder.loadTexts: dwnLnkDataRate.setStatus('current')
if mibBuilder.loadTexts: dwnLnkDataRate.setDescription('Sustained downlink bandwidth cap.')
dwnLnkLimit = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 15), Integer32()).setUnits('Kilobits/sec').setMaxAccess("readwrite")
if mibBuilder.loadTexts: dwnLnkLimit.setStatus('current')
if mibBuilder.loadTexts: dwnLnkLimit.setDescription('Burst downlink bandwidth cap.')
sectorID = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sectorID.setStatus('current')
if mibBuilder.loadTexts: sectorID.setDescription('Advertise sector number for an AP. Not supported for PMP450.')
maxRange = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 17), Integer32()).setUnits('miles').setMaxAccess("readwrite")
if mibBuilder.loadTexts: maxRange.setStatus('deprecated')
if mibBuilder.loadTexts: maxRange.setDescription('This attribute is deprecated. Please see radioMaxRange.')
airLinkSecurity = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("standard", 0), ("desEnhanced", 1), ("desEnhancedAndAuthentication", 2), ("authenticationIfAvailable", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: airLinkSecurity.setStatus('obsolete')
if mibBuilder.loadTexts: airLinkSecurity.setDescription('Air Link Security. desEnhancedAndAuthentication(2) and authenticationIfAvailable(3) are only for APAS.')
berMode = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("berStream", 0), ("noBerStream", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: berMode.setStatus('obsolete')
if mibBuilder.loadTexts: berMode.setDescription('AP backgroup BER mode.')
asIP1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 20), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: asIP1.setStatus('obsolete')
if mibBuilder.loadTexts: asIP1.setDescription('Obsoleted. Configure with whispApsDNS.authServer1.')
asIP2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 21), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: asIP2.setStatus('obsolete')
if mibBuilder.loadTexts: asIP2.setDescription('Obsoleted. Configure with whispApsDNS.authServer2.')
asIP3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 22), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: asIP3.setStatus('obsolete')
if mibBuilder.loadTexts: asIP3.setDescription('Obsoleted. Configure with whispApsDNS.authServer3.')
lanIpAp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 23), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanIpAp.setStatus('current')
if mibBuilder.loadTexts: lanIpAp.setDescription('LAN IP.')
lanMaskAp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 24), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lanMaskAp.setStatus('current')
if mibBuilder.loadTexts: lanMaskAp.setDescription('LAN subnet mask.')
defaultGwAp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 25), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: defaultGwAp.setStatus('current')
if mibBuilder.loadTexts: defaultGwAp.setDescription('Default gateway')
privateIp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 26), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: privateIp.setStatus('current')
if mibBuilder.loadTexts: privateIp.setDescription('Private IP.')
gpsTrap = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("gpsTrapDisabled", 0), ("gpsTrapEnabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: gpsTrap.setStatus('current')
if mibBuilder.loadTexts: gpsTrap.setDescription('Variable to enable/disable GPS sync/out-sync traps.')
regTrap = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("regTrapDisabled", 0), ("regTrapEnabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: regTrap.setStatus('current')
if mibBuilder.loadTexts: regTrap.setDescription('Variable to enable/disable registration complete/lost traps.')
txSpreading = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("txSpreadingDisabled", 0), ("txSpreadingEnabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: txSpreading.setStatus('current')
if mibBuilder.loadTexts: txSpreading.setDescription('Variable to enable/disable Transmit Frame Spreading. This option is for FSK only.')
apBeaconInfo = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enableApBeaconInfo", 0), ("disableApBeaconInfo", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: apBeaconInfo.setStatus('current')
if mibBuilder.loadTexts: apBeaconInfo.setDescription('Variable to enable/disable displaying AP beacon info through AP eval.')
authMode = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 3, 4))).clone(namedValues=NamedValues(("authenticationDisabled", 0), ("authenticationRequiredBam", 1), ("authenticationRequiredAP", 3), ("authenticationRequiredAAA", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authMode.setStatus('current')
if mibBuilder.loadTexts: authMode.setDescription('Variable to enable/disable authentication. The authentication optional mode is for APs only. This variable can only be set when authentication feature is enabled. Setting it to 1 will use a BAM server for authentication of SMs. Setting it to 2 will make use of the Authentication Key on the AP for authenticating SMs. The keys must match on SM and AP in order for the SM to be authenticated in this mode.')
authKeyAp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 32), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authKeyAp.setStatus('current')
if mibBuilder.loadTexts: authKeyAp.setDescription('Authentication key. It should be 32 character long. Can be used on MultiPoint AP if AP Authentication mode is selected. Otherwise, it is used on Backhauls.')
encryptionMode = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("encryptionDisabled", 0), ("encryptionEnabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: encryptionMode.setStatus('current')
if mibBuilder.loadTexts: encryptionMode.setDescription('Variable to enable/disable encryption.')
ntpServerIp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 34), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpServerIp.setStatus('obsolete')
if mibBuilder.loadTexts: ntpServerIp.setDescription('Obsoleted. Configure with whispApsDNS.ntpServer1, whispApsDNS.ntpServer2, and whispApsDNS.ntpServer3.')
broadcastRetryCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 35), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: broadcastRetryCount.setStatus('current')
if mibBuilder.loadTexts: broadcastRetryCount.setDescription('Broadcast Repeat Count : Range 0 -- 2. For APs.')
encryptDwBroadcast = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: encryptDwBroadcast.setStatus('current')
if mibBuilder.loadTexts: encryptDwBroadcast.setDescription('To enable or disable Encrypted Downlink Broadcast. For FSK APs.')
updateAppAddress = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 37), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: updateAppAddress.setStatus('current')
if mibBuilder.loadTexts: updateAppAddress.setDescription('Update Application Address.')
dfsConfig = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dfsConfig.setStatus('obsolete')
if mibBuilder.loadTexts: dfsConfig.setDescription('To configure proper regions for Dynamic Frequency Shifting. For 5.2/5.4/5.7 GHz radios.')
vlanEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vlanEnable.setStatus('current')
if mibBuilder.loadTexts: vlanEnable.setDescription('To enable or disable VLAN.')
configSource = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("bam", 0), ("sm", 1), ("bamsm", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: configSource.setStatus('current')
if mibBuilder.loadTexts: configSource.setDescription('To configure CIR, MIR and VLAN through SM or BAM.')
apRateAdapt = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 41), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("onex", 0), ("onextwox", 1), ("onextwoxthreex", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: apRateAdapt.setStatus('obsolete')
if mibBuilder.loadTexts: apRateAdapt.setDescription('To enable or disable double rate.')
numCtlSlotsHW = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 42), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: numCtlSlotsHW.setStatus('deprecated')
if mibBuilder.loadTexts: numCtlSlotsHW.setDescription('This attribute is deprecated. Please see radioControlSlots.')
displayAPEval = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 43), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: displayAPEval.setStatus('current')
if mibBuilder.loadTexts: displayAPEval.setDescription('If enable, it allows display of AP Eval Data at the SM.')
smIsolation = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("smIsolationDisable", 0), ("smIsolationDrop", 1), ("smIsolationFwd", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: smIsolation.setStatus('current')
if mibBuilder.loadTexts: smIsolation.setDescription('(0) -- Disable SM Isolation. (1) -- Enable SM Isolation by blocking SM destined packets. (2) -- Enable SM Isolation by forwarding SM packets upstream.')
ipAccessFilterEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipAccessFilterEnable.setStatus('current')
if mibBuilder.loadTexts: ipAccessFilterEnable.setDescription('To enable or disable IP access filtering to Management functions. (0) - IP access will be allowed from all addresses. (1) - IP access will be controlled using allowedIPAccess1-3 entries.')
allowedIPAccess1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 46), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: allowedIPAccess1.setStatus('current')
if mibBuilder.loadTexts: allowedIPAccess1.setDescription('Allow access to AP Management from this IP. 0 is default setting to allow from all IPs.')
allowedIPAccess2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 47), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: allowedIPAccess2.setStatus('current')
if mibBuilder.loadTexts: allowedIPAccess2.setDescription('Allow access to AP Management from this IP. 0 is default setting to allow from all IPs.')
allowedIPAccess3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 48), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: allowedIPAccess3.setStatus('current')
if mibBuilder.loadTexts: allowedIPAccess3.setDescription('Allow access to AP Management from this IP. 0 is default setting to allow from all IPs.')
tslBridging = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: tslBridging.setStatus('current')
if mibBuilder.loadTexts: tslBridging.setDescription('1 = We are performing Translation Bridging 0 = We are not.')
untranslatedArp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: untranslatedArp.setStatus('current')
if mibBuilder.loadTexts: untranslatedArp.setDescription('1 = We are sending untranslated ARP response. 0 = We are not.')
limitFreqBand900 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: limitFreqBand900.setStatus('current')
if mibBuilder.loadTexts: limitFreqBand900.setDescription('1 = We are limiting the freq band of 900 radios. 0 = We are not.')
txPwrLevel = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 52), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: txPwrLevel.setStatus('obsolete')
if mibBuilder.loadTexts: txPwrLevel.setDescription("Deprecated, use 'transmitterOP' instead.")
rfFreqCaralt1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0))).clone(namedValues=NamedValues(("none", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfFreqCaralt1.setStatus('current')
if mibBuilder.loadTexts: rfFreqCaralt1.setDescription('First DFS Alternate RF Frequency. (Only available for DFS radios) Used as a backup frequency when Radar is detected on DFS enabled Radios. The frequencies are: 5.4 radios:(5475,5485,5490 OFDM only),5495,5500,5505,5510,5515,5520,5525, 5530,5535,5540,5545,5550,5555,5560,5565,5570,5575,5580,5585,5590,5595, 5600,5605,5610,5615,5620,5625,5630,5635,5640,5645,5650,5655,5660,5665, 5670,5675,5680,5685,5690,5695,5700,5705,(5710,5715 OFDM Only). (5.7 Platform 10 (SAL) radios with non-connectorized antennas do not support DFS) 5.7 radios:5745,5750,5755,5760,5765,5770,5775,5780,5785,5790,5795,5800,5805. 5.7 radios with ISM enabled :5735,5740,5745,5750,5755,5760,5765,5770,5775, 5780,5785,5790,5795,5800,5805,5810,5815,5820,5825,5830,5835,5840. 0: None.')
rfFreqCaralt2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 54), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0))).clone(namedValues=NamedValues(("none", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfFreqCaralt2.setStatus('current')
if mibBuilder.loadTexts: rfFreqCaralt2.setDescription('Second DFS Alternate RF Frequency. (Only available for DFS radios) Used as a backup frequency when Radar is detected on DFS enabled Radios. The frequencies are: 5.4 radios:(5475,5485,5490 OFDM only),5495,5500,5505,5510,5515,5520,5525, 5530,5535,5540,5545,5550,5555,5560,5565,5570,5575,5580,5585,5590,5595, 5600,5605,5610,5615,5620,5625,5630,5635,5640,5645,5650,5655,5660,5665, 5670,5675,5680,5685,5690,5695,5700,5705,(5710,5715 OFDM Only). (5.7 Platform 10 (SAL) radios with non-connectorized antennas do not support DFS) 5.7 radios:5745,5750,5755,5760,5765,5770,5775,5780,5785,5790,5795,5800,5805. 5.7 radios with ISM enabled :5735,5740,5745,5750,5755,5760,5765,5770,5775, 5780,5785,5790,5795,5800,5805,5810,5815,5820,5825,5830,5835,5840. 0: None.')
scheduleWhitening = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 55), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: scheduleWhitening.setStatus('current')
if mibBuilder.loadTexts: scheduleWhitening.setDescription('1 = Schedule Whitening allowed. 0 = Schedule Whitening not allowed. This option is for FSK only')
remoteSpectrumAnalysisDuration = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 56), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 1000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: remoteSpectrumAnalysisDuration.setStatus('current')
if mibBuilder.loadTexts: remoteSpectrumAnalysisDuration.setDescription('Value in seconds for a remote spectrum analysis on an SM. Range is 10-1000 seconds.')
remoteSpectrumAnalyzerLUID = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 57), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: remoteSpectrumAnalyzerLUID.setStatus('current')
if mibBuilder.loadTexts: remoteSpectrumAnalyzerLUID.setDescription('Get will return always return 0. Set will start Remote Spectrum Analyzer on specified LUID. *Warning* This will cause the SM to disconnect from the AP! You will lose the session for the specified duration! If general error was returned then the LUID does not have an active session, or the SM does not support Remote Spectrum Analysis.')
bhReReg = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bhReReg.setStatus('current')
if mibBuilder.loadTexts: bhReReg.setDescription('Allows BHS re-registration every 24 hours. Enable allows re-registration and Disable does not. 24 Hour Encryption Refresh.')
dlnkBcastCIR = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 59), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dlnkBcastCIR.setStatus('current')
if mibBuilder.loadTexts: dlnkBcastCIR.setDescription('Downlink Broadcast CIR (kbps)')
verifyGPSChecksum = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 60), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("doNotVerifyGPSMessageChecksum", 0), ("verifyGPSMessageChecksum", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: verifyGPSChecksum.setStatus('current')
if mibBuilder.loadTexts: verifyGPSChecksum.setDescription('Enable/Disable verification of GPS message checksums.')
apVlanOverride = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 61), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: apVlanOverride.setStatus('current')
if mibBuilder.loadTexts: apVlanOverride.setDescription("Setting this option will cause an AP to retain its VLAN settings when turning it into an SM. It will be mostly helpful for running spectrum analysis on the AP. Since doing that requires the AP to be turned into an SM, enabling this option will allow you to keep the AP's VLAN configuration in place while the AP is running as an SM.")
dhcpRelayAgentEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 62), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("fullRelay", 1), ("option82Only", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dhcpRelayAgentEnable.setStatus('current')
if mibBuilder.loadTexts: dhcpRelayAgentEnable.setDescription("Enable or Disable MultiPoint AP acting as DHCP Relay Agent for all SMs and Clients underneath it. (0) - Relay Agent disabled - SM/CPE devices will perform DHCP normally (1) - Relay Agent enabled - AP will intercept DHCP DISCOVER message from SM and CPE, insert Option 82 containing SM's MAC address, and forward request to specified DHCP server.")
dhcpRelayAgentSrvrIP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 63), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dhcpRelayAgentSrvrIP.setStatus('obsolete')
if mibBuilder.loadTexts: dhcpRelayAgentSrvrIP.setDescription('Obsoleted. Configure with whispApsDNS.dhcprServer.')
colorCodeRescanTimer = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 64), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 43200))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: colorCodeRescanTimer.setStatus('current')
if mibBuilder.loadTexts: colorCodeRescanTimer.setDescription('Time in minutes for the subscriber to begin the idle timer. This timer will begin as soon as a session is started. This only fires if the device is in session with a non-primary color code. A value of zero (0) disables this timer (MultiPoint system Only)')
colorCodeRescanIdleTimer = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 65), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 60))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: colorCodeRescanIdleTimer.setStatus('current')
if mibBuilder.loadTexts: colorCodeRescanIdleTimer.setDescription('Time in minutes for the subscriber to check for an idle state. If an period has pass where no unicast RF traffic has occured (idle), then the subscriber will begin to rescan. This timer will wait until the timer set in colorCodeRescanTimer has expired before beginning. This timer only fires if the device is in session with a non-primary color code. A value of zero (0) mean to rescan without waiting for idle. (MultiPoint system Only)')
authKeyOptionAP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 66), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("useDefault", 0), ("useKeySet", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authKeyOptionAP.setStatus('current')
if mibBuilder.loadTexts: authKeyOptionAP.setDescription('This option is for Multipoint APs only. This option will only be used if Authentication Mode is set to AP Pre-Shared Key. 0 - Use default key. 1 - Use set key.')
asIP4 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 67), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: asIP4.setStatus('obsolete')
if mibBuilder.loadTexts: asIP4.setDescription('Obsoleted. Configure with whispApsDNS.authServer4.')
asIP5 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 68), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: asIP5.setStatus('obsolete')
if mibBuilder.loadTexts: asIP5.setDescription('Obsoleted. Configure with whispApsDNS.authServer5.')
onlyAllowVer95OrAbove = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 69), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("onlyAllowVer95OrAboveDisabled", 0), ("onlyAllowVer95OrAboveEnabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: onlyAllowVer95OrAbove.setStatus('current')
if mibBuilder.loadTexts: onlyAllowVer95OrAbove.setDescription('Only allow subscribers that are running version 9.5 or above. Any radio that has a version below 9.5 will not be allowed to register.')
apRxDelay = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 70), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: apRxDelay.setStatus('current')
if mibBuilder.loadTexts: apRxDelay.setDescription('This is used for engineering debug and needs to be removed or moved to eng MIB before releasing the MIB.')
qinqEthType = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 71), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("x88a8", 0), ("x8100", 1), ("x9100", 2), ("x9200", 3), ("x9300", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: qinqEthType.setStatus('current')
if mibBuilder.loadTexts: qinqEthType.setDescription('EtherType for QinQ (802.1ad) outer tag (S-Tag). 0x88a8 by default.')
fskSMTxPwrCntl = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 72), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: fskSMTxPwrCntl.setStatus('current')
if mibBuilder.loadTexts: fskSMTxPwrCntl.setDescription('Enable/Disable AP control of SM TX power. For FSK AP radios capable of Transmit Power Control.')
fskSMRcvTargetLvl = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 73), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-80, -40))).setUnits('dBm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: fskSMRcvTargetLvl.setStatus('current')
if mibBuilder.loadTexts: fskSMRcvTargetLvl.setDescription('Desired SM Receive Level at AP (dBm, Range -40dBm to -80 dBm).')
authSharedSecret1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 74), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authSharedSecret1.setStatus('current')
if mibBuilder.loadTexts: authSharedSecret1.setDescription('Authentication Server 1 Shared Secret.')
authSharedSecret2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 75), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authSharedSecret2.setStatus('current')
if mibBuilder.loadTexts: authSharedSecret2.setDescription('Authentication Server 2 Shared Secret.')
authSharedSecret3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 76), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authSharedSecret3.setStatus('current')
if mibBuilder.loadTexts: authSharedSecret3.setDescription('Authentication Server 3 Shared Secret.')
whispUsrAuthSharedSecret1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 79), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: whispUsrAuthSharedSecret1.setStatus('obsolete')
if mibBuilder.loadTexts: whispUsrAuthSharedSecret1.setDescription('Obsoleted. Use whispApsConfig.authSharedSecret1.')
whispUsrAuthSharedSecret2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 80), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: whispUsrAuthSharedSecret2.setStatus('obsolete')
if mibBuilder.loadTexts: whispUsrAuthSharedSecret2.setDescription('Obsoleted. Use whispApsConfig.authSharedSecret2.')
whispUsrAuthSharedSecret3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 81), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: whispUsrAuthSharedSecret3.setStatus('obsolete')
if mibBuilder.loadTexts: whispUsrAuthSharedSecret3.setDescription('Obsoleted. Use whispApsConfig.authSharedSecret3.')
whispUsrAcctSvr1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 82), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: whispUsrAcctSvr1.setStatus('obsolete')
if mibBuilder.loadTexts: whispUsrAcctSvr1.setDescription('Obsoleted. Use whispApsDNS.authServer1.')
whispUsrAcctSvr2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 83), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: whispUsrAcctSvr2.setStatus('obsolete')
if mibBuilder.loadTexts: whispUsrAcctSvr2.setDescription('Obsoleted. Use whispApsDNS.authServer2.')
whispUsrAcctSvr3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 84), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: whispUsrAcctSvr3.setStatus('obsolete')
if mibBuilder.loadTexts: whispUsrAcctSvr3.setDescription('Obsoleted. Use whispApsDNS.authServer3.')
whispUsrAuthPhase1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 85), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0))).clone(namedValues=NamedValues(("md5", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: whispUsrAuthPhase1.setStatus('current')
if mibBuilder.loadTexts: whispUsrAuthPhase1.setDescription('Select method for User Authentication')
whispWebUseAuthServer = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 86), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("useRADIUSAccountingSvr", 0), ("useRADIUSAuthenticationSvr", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: whispWebUseAuthServer.setStatus('obsolete')
if mibBuilder.loadTexts: whispWebUseAuthServer.setDescription('Obsoleted. Use whispApsDNS.authServer[1-3].')
dropSession = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 87), MacAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dropSession.setStatus('current')
if mibBuilder.loadTexts: dropSession.setDescription('SM/BHS MAC Address to drop session from the AP/BHM.')
uGPSPower = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 88), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: uGPSPower.setStatus('current')
if mibBuilder.loadTexts: uGPSPower.setDescription('Enable or Disable power supply to Universal GPS module (UGPS capable APs only, when GPS_output_enable is NOT set).')
timeZone = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 89), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 124))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: timeZone.setStatus('current')
if mibBuilder.loadTexts: timeZone.setDescription('Set the timezone offset for the radio. This change takes affect dynamically. The available timezones are: 0 : (UTC) UTC - Coordinated Universal Time 1 : (UTC) GMT - Greenwich Mean Time 2 : (UTC) WET - Western European Time 3 : (UTC-12) BIT - Baker Island Time 4 : (UTC-11) SST - Samoa Standard Time 5 : (UTC-10) CKT - Cook Island Time 6 : (UTC-10) HAST - Hawaii-Aleutian Standard Time 7 : (UTC-10) HST - Hawaii Standard Time 8 : (UTC-10) TAHT - Tahiti Time 9 : (UTC-09:30) MIT - Marquesas Islands Time 10 : (UTC-09) AKST - Alaska Standard Time 11 : (UTC-09) GIT - Gambier Island Time 12 : (UTC-09) HADT - Hawaii-Aleutian Daylight Time 13 : (UTC-08) AKDT - Alaska Daylight Time 14 : (UTC-08) CIST - Clipperton Island Standard Time 15 : (UTC-08) PST - Pacific Standard Time (North America) 16 : (UTC-07) MST - Mountain Standard Time (North America) 17 : (UTC-07) PDT - Pacific Daylight Time (North America) 18 : (UTC-06) CST - Central Standard Time (North America) 19 : (UTC-06) EAST - Easter Island Standard Time 20 : (UTC-06) GALT - Galapagos Time 21 : (UTC-06) MDT - Mountain Daylight Time (North America) 22 : (UTC-05) CDT - Central Daylight Time (North America) 23 : (UTC-05) COT - Colombia Time 24 : (UTC-05) ECT - Ecuador Time 25 : (UTC-05) EST - Eastern Standard Time (North America) 26 : (UTC-04:30) VET - Venezuelan Standard Time 27 : (UTC-04) AST - Atlantic Standard Time 28 : (UTC-04) BOT - Bolivia Time 29 : (UTC-04) CLT - Chile Standard Time 30 : (UTC-04) COST - Colombia Summer Time 31 : (UTC-04) ECT - Eastern Caribbean Time (does not recognise DST) 32 : (UTC-04) EDT - Eastern Daylight Time (North America) 33 : (UTC-04) FKT - Falkland Islands Time 34 : (UTC-04) GYT - Guyana Time 35 : (UTC-03:30) NST - Newfoundland Standard Time 36 : (UTC-03:30) NT - Newfoundland Time 37 : (UTC-03) ADT - Atlantic Daylight Time 38 : (UTC-03) ART - Argentina Time 39 : (UTC-03) BRT - Brasilia Time 40 : (UTC-03) CLST - Chile Summer Time 41 : (UTC-03) FKST - Falkland Islands Summer Time 42 : (UTC-03) GFT - French Guiana Time 43 : (UTC-03) UYT - Uruguay Standard Time 44 : (UTC-02:30) NDT - Newfoundland Daylight Time 45 : (UTC-02) GST - South Georgia and the South Sandwich Islands 46 : (UTC-02) UYST - Uruguay Summer Time 47 : (UTC-01) AZOST - Azores Standard Time 48 : (UTC-01) CVT - Cape Verde Time 49 : (UTC+01) BST - British Summer Time (British Standard Time from Feb 1968 to Oct 1971) 50 : (UTC+01) CET - Central European Time 51 : (UTC+01) DFT - AIX specific equivalent of Central European Time 52 : (UTC+01) IST - Irish Summer Time 53 : (UTC+01) WAT - West Africa Time 54 : (UTC+01) WEDT - Western European Daylight Time 55 : (UTC+01) WEST - Western European Summer Time 56 : (UTC+02) CAT - Central Africa Time 57 : (UTC+02) CEDT - Central European Daylight Time 58 : (UTC+02) CEST - Central European Summer Time 59 : (UTC+02) EET - Eastern European Time 60 : (UTC+02) IST - Israel Standard Time 61 : (UTC+02) SAST - South African Standard Time 62 : (UTC+03) AST - Arab Standard Time (Kuwait, Riyadh) 63 : (UTC+03) AST - Arabic Standard Time (Baghdad) 64 : (UTC+03) EAT - East Africa Time 65 : (UTC+03) EEDT - Eastern European Daylight Time 66 : (UTC+03) EEST - Eastern European Summer Time 67 : (UTC+03) MSK - Moscow Standard Time 68 : (UTC+03:30) IRST - Iran Standard Time 69 : (UTC+04) AMT - Armenia Time 70 : (UTC+04) AST - Arabian Standard Time (Abu Dhabi, Muscat) 71 : (UTC+04) AZT - Azerbaijan Time 72 : (UTC+04) GET - Georgia Standard Time 73 : (UTC+04) MSD - Moscow Summer Time 74 : (UTC+04) MUT - Mauritius Time 75 : (UTC+04) RET - Reunion Time 76 : (UTC+04) SAMT - Samara Time 77 : (UTC+04) SCT - Seychelles Time 78 : (UTC+04:30) AFT - Afghanistan Time 79 : (UTC+05) AMST - Armenia Summer Time 80 : (UTC+05) HMT - Heard and McDonald Islands Time 81 : (UTC+05) PKT - Pakistan Standard Time 82 : (UTC+05) YEKT - Yekaterinburg Time 83 : (UTC+05:30) IST - Indian Standard Time 84 : (UTC+05:30) SLT - Sri Lanka Time 85 : (UTC+05:45) NPT - Nepal Time 86 : (UTC+06) BIOT - British Indian Ocean Time 87 : (UTC+06) BST - Bangladesh Standard Time 88 : (UTC+06) BTT - Bhutan Time 89 : (UTC+06) OMST - Omsk Time 90 : (UTC+06:30) CCT - Cocos Islands Time 91 : (UTC+06:30) MST - Myanmar Standard Time 92 : (UTC+07) CXT - Christmas Island Time 93 : (UTC+07) ICT - Indochina Time 94 : (UTC+07) KRAT - Krasnoyarsk Time 95 : (UTC+07) THA - Thailand Standard Time 96 : (UTC+08) ACT - ASEAN Common Time 97 : (UTC+08) AWST - Australian Western Standard Time 98 : (UTC+08) BDT - Brunei Time 99 : (UTC+08) CST - China Standard Time 100 : (UTC+08) HKT - Hong Kong Time 101 : (UTC+08) IRKT - Irkutsk Time 102 : (UTC+08) MST - Malaysian Standard Time 103 : (UTC+08) PST - Philippine Standard Time 104 : (UTC+08) SST - Singapore Standard Time 105 : (UTC+09) AWDT - Australian Western Daylight Time 106 : (UTC+09) JST - Japan Standard Time 107 : (UTC+09) KST - Korea Standard Time 108 : (UTC+09) YAKT - Yakutsk Time 109 : (UTC+09:30) ACST - Australian Central Standard Time 110 : (UTC+10) AEST - Australian Eastern Standard Time 111 : (UTC+10) ChST - Chamorro Standard Time 112 : (UTC+10) VLAT - Vladivostok Time 113 : (UTC+10:30) ACDT - Australian Central Daylight Time 114 : (UTC+10:30) LHST - Lord Howe Standard Time 115 : (UTC+11) AEDT - Australian Eastern Daylight Time 116 : (UTC+11) MAGT - Magadan Time 117 : (UTC+11) SBT - Solomon Islands Time 118 : (UTC+11:30) NFT - Norfolk Time[1] 119 : (UTC+12) FJT - Fiji Time 120 : (UTC+12) GILT - Gilbert Island Time 121 : (UTC+12) PETT - Kamchatka Time 122 : (UTC+12:45) CHAST - Chatham Standard Time 123 : (UTC+13) PHOT - Phoenix Island Time 124 : (UTC+14) LINT - Line Islands Time')
ofdmSMRcvTargetLvl = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 90), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-80, -40))).setUnits('dBm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: ofdmSMRcvTargetLvl.setStatus('current')
if mibBuilder.loadTexts: ofdmSMRcvTargetLvl.setDescription('Desired SM Receive Level at AP (dBm, Range -40dBm to -80 dBm). As of release 12.1, on MIMO systems this is a combined power level value.')
radiusPort = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 91), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusPort.setStatus('current')
if mibBuilder.loadTexts: radiusPort.setDescription('Port used to connect to the RADIUS server. Default is 1812.')
radiusAcctPort = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 92), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctPort.setStatus('current')
if mibBuilder.loadTexts: radiusAcctPort.setDescription('Port used to for RADIUS Accounting. Default is 1813.')
lastSesStatsReset = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 93), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lastSesStatsReset.setStatus('current')
if mibBuilder.loadTexts: lastSesStatsReset.setDescription('Displays the timestamp of last reset of session stats or None otherwise.')
resetSesStats = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 94), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("noReset", 0), ("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: resetSesStats.setStatus('current')
if mibBuilder.loadTexts: resetSesStats.setDescription('Resets the session stats if true.')
rfOLTrap = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 95), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("enable", 1), ("disable", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfOLTrap.setStatus('current')
if mibBuilder.loadTexts: rfOLTrap.setDescription('Enable/Disable SNMP Trap for when RF Overload exceeds configured Threshold level.')
rfOLThreshold = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 96), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setUnits('%').setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfOLThreshold.setStatus('current')
if mibBuilder.loadTexts: rfOLThreshold.setDescription('Percent of packet overload in the RF Downlink where SNMP is generated and sent to Network Manager.')
rfOLEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 97), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("enable", 1), ("disable", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfOLEnable.setStatus('current')
if mibBuilder.loadTexts: rfOLEnable.setDescription('Enable/Disable Throughput RF Overload Monitoring monitoring.')
actionListFilename = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 98), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: actionListFilename.setStatus('current')
if mibBuilder.loadTexts: actionListFilename.setDescription('Name of the file that contains the Action List for Auto update commands from CNUT')
enableAutoupdate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 99), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: enableAutoupdate.setStatus('current')
if mibBuilder.loadTexts: enableAutoupdate.setDescription("Enables/Disables auto-update of the SM's under an AP")
accountingSmReAuthInterval = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 100), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: accountingSmReAuthInterval.setStatus('current')
if mibBuilder.loadTexts: accountingSmReAuthInterval.setDescription('Select Interval for Reauthentication of SM')
syslogDomainNameAppend = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 101), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disableDomain", 0), ("appendDomain", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogDomainNameAppend.setStatus('deprecated')
if mibBuilder.loadTexts: syslogDomainNameAppend.setDescription('This attribute is deprecated. Use syslogDomainNameAppend in whispBoxAttributesGroup')
syslogServerAddr = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 102), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogServerAddr.setStatus('deprecated')
if mibBuilder.loadTexts: syslogServerAddr.setDescription('This attribute is deprecated. Use syslogServerAddr in whispBoxAttributesGroup')
syslogServerPort = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 103), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogServerPort.setStatus('current')
if mibBuilder.loadTexts: syslogServerPort.setDescription('This attribute is deprecated. Use syslogServerPort in whispBoxAttributesGroup')
syslogXmitAP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 104), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogXmitAP.setStatus('current')
if mibBuilder.loadTexts: syslogXmitAP.setDescription('Enables/Disables transmission of Syslogs from AP/BHM')
syslogXmitSMs = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 105), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogXmitSMs.setStatus('current')
if mibBuilder.loadTexts: syslogXmitSMs.setDescription('Enables/Disables transmission of Syslogs from connected SMs/BHS. This can be over-ridden by the setting on individual SMs/ the BHS.')
accountingInterimUpdateInterval = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 106), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: accountingInterimUpdateInterval.setStatus('current')
if mibBuilder.loadTexts: accountingInterimUpdateInterval.setDescription('Select Interval for Interim Updates')
gpsOutputEn = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 107), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: gpsOutputEn.setStatus('current')
if mibBuilder.loadTexts: gpsOutputEn.setDescription('Enable or Disable GPS sync output enable.')
radioMode = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 206), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("combo", 0), ("comboDualChan", 1), ("mimoOnly", 2), ("fskOnly", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radioMode.setStatus('obsolete')
if mibBuilder.loadTexts: radioMode.setDescription('This OID is obsolete.')
rfTelnetAccess = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 207), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfTelnetAccess.setStatus('current')
if mibBuilder.loadTexts: rfTelnetAccess.setDescription('Allows/prohibits uplink Telnet access (SM->AP).')
upLnkMaxBurstDataRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 208), Integer32()).setUnits('Kilobits/sec').setMaxAccess("readwrite")
if mibBuilder.loadTexts: upLnkMaxBurstDataRate.setStatus('current')
if mibBuilder.loadTexts: upLnkMaxBurstDataRate.setDescription('Maximum burst uplink rate.')
dwnLnkMaxBurstDataRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 209), Integer32()).setUnits('Kilobits/sec').setMaxAccess("readwrite")
if mibBuilder.loadTexts: dwnLnkMaxBurstDataRate.setStatus('current')
if mibBuilder.loadTexts: dwnLnkMaxBurstDataRate.setDescription('Maximum burst downlink rate.')
rfPPPoEPADIForwarding = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 210), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfPPPoEPADIForwarding.setStatus('current')
if mibBuilder.loadTexts: rfPPPoEPADIForwarding.setDescription('Enables/disables forwarding of PPPoE PADI packets from AP to SM.')
allowedIPAccessNMLength1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 211), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: allowedIPAccessNMLength1.setStatus('current')
if mibBuilder.loadTexts: allowedIPAccessNMLength1.setDescription('Length of the network mask to apply to the AllowedIPAddress when assessing if access is allowed')
allowedIPAccessNMLength2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 212), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: allowedIPAccessNMLength2.setStatus('current')
if mibBuilder.loadTexts: allowedIPAccessNMLength2.setDescription('Length of the network mask to apply to the AllowedIPAddress when assessing if access is allowed')
allowedIPAccessNMLength3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 213), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: allowedIPAccessNMLength3.setStatus('current')
if mibBuilder.loadTexts: allowedIPAccessNMLength3.setDescription('Length of the network mask to apply to the AllowedIPAddress when assessing if access is allowed')
bridgeFloodUnknownsEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 214), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bridgeFloodUnknownsEnable.setStatus('current')
if mibBuilder.loadTexts: bridgeFloodUnknownsEnable.setDescription('To enable or disable bridge flooding unknown unicast packets. (0) - Bridge will not forward unknown unicast packets. (1) - Bridge will flood unknown unicast packets.')
berModSelect = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 215), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("qpsk", 0), ("qam-16", 1), ("qam-64", 2), ("qam-256", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: berModSelect.setStatus('current')
if mibBuilder.loadTexts: berModSelect.setDescription('The modulation the AP generates BER at. 0 for QPSK, 1 for 16-QAM, 2 for 64-QAM, and 3 for 256-QAM.')
remoteSpectrumAnalyzerScanBandwidth = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 216), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("bandwidth5MHz", 0), ("bandwidth10MHz", 1), ("bandwidth20MHz", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: remoteSpectrumAnalyzerScanBandwidth.setStatus('current')
if mibBuilder.loadTexts: remoteSpectrumAnalyzerScanBandwidth.setDescription('Scanning Bandwidth used for the Remote Spectrum Analyzer. Only available on PMP 450.')
multicastVCDataRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 217), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 5, 7, 8, 9))).clone(namedValues=NamedValues(("disable", 0), ("rate1X", 4), ("rate2X", 5), ("rate4X", 7), ("rate6X", 8), ("rate8X", 9)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: multicastVCDataRate.setStatus('current')
if mibBuilder.loadTexts: multicastVCDataRate.setDescription('The data rate that is used for the Multicast VC. 8X is for engineering only.')
dlnkMcastCIR = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 218), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dlnkMcastCIR.setStatus('current')
if mibBuilder.loadTexts: dlnkMcastCIR.setDescription('Downlink Multicast CIR (kbps)')
multicastRetryCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 219), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: multicastRetryCount.setStatus('current')
if mibBuilder.loadTexts: multicastRetryCount.setDescription('Multicast Repeat Count : Range 0 - 2. For APs.')
apConfigAdjacentChanSupport = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 1, 220), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: apConfigAdjacentChanSupport.setStatus('current')
if mibBuilder.loadTexts: apConfigAdjacentChanSupport.setDescription('Used to enable or disable adjacent channel support.')
whispRegStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: whispRegStatus.setStatus('obsolete')
if mibBuilder.loadTexts: whispRegStatus.setDescription('This shows the registration status of a link.')
linkTestLUID = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 1, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: linkTestLUID.setStatus('current')
if mibBuilder.loadTexts: linkTestLUID.setDescription('LUID selection for Link Test. Valid range: 2-255')
linkTestDuration = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 1, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: linkTestDuration.setStatus('current')
if mibBuilder.loadTexts: linkTestDuration.setDescription('Duration for the Link Test. Valid range: 2-10 seconds')
linkTestAction = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("stopped", 0), ("start", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: linkTestAction.setStatus('current')
if mibBuilder.loadTexts: linkTestAction.setDescription("Setting value 1 will initiate link test. Note that trying to set 0 will not stop the test. In fact it will return an error message. The value of 0 just indicates the idle state meaning no test is running or the current test is done. That's why the word stopped is used and not the action verb stop.")
linkTestPktLength = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: linkTestPktLength.setStatus('current')
if mibBuilder.loadTexts: linkTestPktLength.setDescription('Packet length for Link Test. Valid range: 64-1714 bytes')
linkTestMode = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("rflinktest", 0), ("linktestwithbridging", 1), ("linktestwithbridgingandmir", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: linkTestMode.setStatus('current')
if mibBuilder.loadTexts: linkTestMode.setDescription("Link Test Mode 0 = RF Link Test (traffic doesn't go through bridge, highest throughput) 1 = Link Test with Bridging 2 = Link Test with Bridging and MIR")
linkTestSNRCalculation = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("enable", 1), ("disable", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: linkTestSNRCalculation.setStatus('current')
if mibBuilder.loadTexts: linkTestSNRCalculation.setDescription('Enable or disable Signal to Noise Ratio (SNR) calculations during a Link Test. Enabling(1) will calulate SNR on all receiving packets. Due to load on CPU, will slightly degrade packet per second capabilities. Only applicable to GenII OFDM products and up.')
linkTestWithDualPath = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("lowpriorityvconly", 0), ("highandlowpriorityvcs", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: linkTestWithDualPath.setStatus('current')
if mibBuilder.loadTexts: linkTestWithDualPath.setDescription('Link Test with: 0 = Low Priority VC only 1 = High and Low Priority VCs')
linkTestNumPkt = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 1, 8), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: linkTestNumPkt.setStatus('current')
if mibBuilder.loadTexts: linkTestNumPkt.setDescription('Number of packets to send. Valid range: 0-64 where 0 will flood the link for the duration of the test.')
testLUID = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: testLUID.setStatus('current')
if mibBuilder.loadTexts: testLUID.setDescription('LUID number of selected unit.')
linkTestStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkTestStatus.setStatus('current')
if mibBuilder.loadTexts: linkTestStatus.setDescription('Status for Link Test.')
linkTestError = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkTestError.setStatus('current')
if mibBuilder.loadTexts: linkTestError.setDescription('Error status of Link Test: (1) Failed to recieve handshake from remote device (2) No session is currently active. Please try again after session established. (3) Received a bad transaction ID. Please try again. (4) We werent able to send the test request to the remote device. (5) We didnt receive any results from the remote device.')
testDuration = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: testDuration.setStatus('current')
if mibBuilder.loadTexts: testDuration.setDescription('Duration of link test.')
downLinkRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 5), Integer32()).setUnits('bps').setMaxAccess("readonly")
if mibBuilder.loadTexts: downLinkRate.setStatus('current')
if mibBuilder.loadTexts: downLinkRate.setDescription('Down Link Rate.')
upLinkRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 6), Integer32()).setUnits('bps').setMaxAccess("readonly")
if mibBuilder.loadTexts: upLinkRate.setStatus('current')
if mibBuilder.loadTexts: upLinkRate.setDescription('Up Link Rate.')
downLinkEff = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 7), Integer32()).setUnits('%').setMaxAccess("readonly")
if mibBuilder.loadTexts: downLinkEff.setStatus('current')
if mibBuilder.loadTexts: downLinkEff.setDescription('Down Link Efficiency.')
maxDwnLinkIndex = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: maxDwnLinkIndex.setStatus('current')
if mibBuilder.loadTexts: maxDwnLinkIndex.setDescription('For link test results, the maximum possible downlink efficiency percentage (always 100%).')
actDwnLinkIndex = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: actDwnLinkIndex.setStatus('current')
if mibBuilder.loadTexts: actDwnLinkIndex.setDescription('Actual down link index.')
expDwnFragCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 10), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: expDwnFragCount.setStatus('current')
if mibBuilder.loadTexts: expDwnFragCount.setDescription('Expected Fragment Count.')
actDwnFragCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 11), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: actDwnFragCount.setStatus('current')
if mibBuilder.loadTexts: actDwnFragCount.setDescription('Actual Fragment Count')
upLinkEff = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 12), Integer32()).setUnits('%').setMaxAccess("readonly")
if mibBuilder.loadTexts: upLinkEff.setStatus('current')
if mibBuilder.loadTexts: upLinkEff.setDescription('Up link efficiency.')
expUpFragCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 13), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: expUpFragCount.setStatus('current')
if mibBuilder.loadTexts: expUpFragCount.setDescription('Uplink expected Fragment Count.')
actUpFragCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 14), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: actUpFragCount.setStatus('current')
if mibBuilder.loadTexts: actUpFragCount.setDescription('Actual uplink Fragment Count.')
maxUpLinkIndex = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: maxUpLinkIndex.setStatus('current')
if mibBuilder.loadTexts: maxUpLinkIndex.setDescription('For link test results, the maximum possible uplink efficiency percentage (always 100%).')
actUpLinkIndex = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: actUpLinkIndex.setStatus('current')
if mibBuilder.loadTexts: actUpLinkIndex.setDescription('Actual Up link index.')
fragments1xDwnLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments1xDwnLinkVertical.setStatus('current')
if mibBuilder.loadTexts: fragments1xDwnLinkVertical.setDescription('Number of fragments received on down link at 1X (QPSK). For Gen II OFDM and forward. For MIMO this is the vertical path.')
fragments2xDwnLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments2xDwnLinkVertical.setStatus('current')
if mibBuilder.loadTexts: fragments2xDwnLinkVertical.setDescription('Number of fragments received on down link at 2X (16-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
fragments3xDwnLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments3xDwnLinkVertical.setStatus('current')
if mibBuilder.loadTexts: fragments3xDwnLinkVertical.setDescription('Number of fragments received on down link at 3X (64-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
fragments4xDwnLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments4xDwnLinkVertical.setStatus('current')
if mibBuilder.loadTexts: fragments4xDwnLinkVertical.setDescription('Number of fragments received on down link at 4X (256-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
fragments1xUpLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments1xUpLinkVertical.setStatus('current')
if mibBuilder.loadTexts: fragments1xUpLinkVertical.setDescription('Number of fragments received on up link at 1X (QPSK). For Gen II OFDM and forward. For MIMO this is the vertical path.')
fragments2xUpLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments2xUpLinkVertical.setStatus('current')
if mibBuilder.loadTexts: fragments2xUpLinkVertical.setDescription('Number of fragments received on up link at 2X (16-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
fragments3xUpLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 23), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments3xUpLinkVertical.setStatus('current')
if mibBuilder.loadTexts: fragments3xUpLinkVertical.setDescription('Number of fragments received on up link at 3X (64-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
fragments4xUpLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments4xUpLinkVertical.setStatus('current')
if mibBuilder.loadTexts: fragments4xUpLinkVertical.setDescription('Number of fragments received on up link at 4X (256-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
bitErrorsCorrected1xDwnLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 25), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected1xDwnLinkVertical.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected1xDwnLinkVertical.setDescription('Number of bit errors corrected on average per fragment on down link at 1X (QPSK). For Gen II OFDM and forward. For MIMO this is the vertical path.')
bitErrorsCorrected2xDwnLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 26), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected2xDwnLinkVertical.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected2xDwnLinkVertical.setDescription('Number of bit errors corrected on average per fragment on down link at 2X (16-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
bitErrorsCorrected3xDwnLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 27), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected3xDwnLinkVertical.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected3xDwnLinkVertical.setDescription('Number of bit errors corrected on average per fragment on down link at 3X (64-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
bitErrorsCorrected4xDwnLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 28), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected4xDwnLinkVertical.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected4xDwnLinkVertical.setDescription('Number of bit errors corrected on average per fragment on down link at 4X (256-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
bitErrorsCorrected1xUpLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 29), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected1xUpLinkVertical.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected1xUpLinkVertical.setDescription('Number of bit errors corrected on average per fragment on up link at 1X (QPSK). For Gen II OFDM and forward. For MIMO this is the vertical path.')
bitErrorsCorrected2xUpLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 30), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected2xUpLinkVertical.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected2xUpLinkVertical.setDescription('Number of bit errors corrected on average per fragment on up link at 2X (16-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
bitErrorsCorrected3xUpLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 31), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected3xUpLinkVertical.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected3xUpLinkVertical.setDescription('Number of bit errors corrected on average per fragment on up link at 3X (64-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
bitErrorsCorrected4xUpLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 32), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected4xUpLinkVertical.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected4xUpLinkVertical.setDescription('Number of bit errors corrected on average per fragment on up link at 4X (256-QAM). For Gen II OFDM and forward. For MIMO this is the vertical path.')
signalToNoiseRatioDownLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 33), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: signalToNoiseRatioDownLinkVertical.setStatus('current')
if mibBuilder.loadTexts: signalToNoiseRatioDownLinkVertical.setDescription('Estimated Signal to Noise Ratio in dB for the down link. For Gen II OFDM and forward. For MIMO this is the vertical path.')
signalToNoiseRatioUpLinkVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 34), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: signalToNoiseRatioUpLinkVertical.setStatus('current')
if mibBuilder.loadTexts: signalToNoiseRatioUpLinkVertical.setDescription('Estimated Signal to Noise Ratio in dB for the up link. For Gen II OFDM and forward. For MIMO this is the vertical path.')
fragments1xDwnLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 35), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments1xDwnLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: fragments1xDwnLinkHorizontal.setDescription('Number of fragments received on down link at 1X (QPSK). For MIMO only. For MIMO this is the horizontal path.')
fragments2xDwnLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 36), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments2xDwnLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: fragments2xDwnLinkHorizontal.setDescription('Number of fragments received on down link at 2X (16-QAM). For MIMO only. For MIMO this is the horizontal path.')
fragments3xDwnLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 37), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments3xDwnLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: fragments3xDwnLinkHorizontal.setDescription('Number of fragments received on down link at 3X (64-QAM). For MIMO only. For MIMO this is the horizontal path.')
fragments4xDwnLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 38), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments4xDwnLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: fragments4xDwnLinkHorizontal.setDescription('Number of fragments received on down link at 4X (256-QAM). For MIMO only. For MIMO this is the horizontal path.')
fragments1xUpLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 39), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments1xUpLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: fragments1xUpLinkHorizontal.setDescription('Number of fragments received on up link at 1X (QPSK). For MIMO only. For MIMO this is the horizontal path.')
fragments2xUpLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 40), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments2xUpLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: fragments2xUpLinkHorizontal.setDescription('Number of fragments received on up link at 2X (16-QAM). For MIMO only. For MIMO this is the horizontal path.')
fragments3xUpLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 41), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments3xUpLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: fragments3xUpLinkHorizontal.setDescription('Number of fragments received on up link at 3X (64-QAM). For MIMO only. For MIMO this is the horizontal path.')
fragments4xUpLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 42), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fragments4xUpLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: fragments4xUpLinkHorizontal.setDescription('Number of fragments received on up link at 4X (256-QAM). For MIMO only. For MIMO this is the horizontal path.')
bitErrorsCorrected1xDwnLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 43), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected1xDwnLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected1xDwnLinkHorizontal.setDescription('Number of bit errors corrected on average per fragment on down link at 1X (QPSK). For MIMO and forward. For MIMO this is the horizontal path.')
bitErrorsCorrected2xDwnLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 44), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected2xDwnLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected2xDwnLinkHorizontal.setDescription('Number of bit errors corrected on average per fragment on down link at 2X (16-QAM). For MIMO and forward. For MIMO this is the horizontal path.')
bitErrorsCorrected3xDwnLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 45), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected3xDwnLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected3xDwnLinkHorizontal.setDescription('Number of bit errors corrected on average per fragment on down link at 3X (64-QAM). For MIMO and forward. For MIMO this is the horizontal path.')
bitErrorsCorrected4xDwnLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 46), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected4xDwnLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected4xDwnLinkHorizontal.setDescription('Number of bit errors corrected on average per fragment on down link at 4X (256-QAM). For MIMO and forward. For MIMO this is the horizontal path.')
bitErrorsCorrected1xUpLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 47), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected1xUpLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected1xUpLinkHorizontal.setDescription('Number of bit errors corrected on average per fragment on up link at 1X (QPSK). For MIMO and forward. For MIMO this is the horizontal path.')
bitErrorsCorrected2xUpLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 48), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected2xUpLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected2xUpLinkHorizontal.setDescription('Number of bit errors corrected on average per fragment on up link at 2X (16-QAM). For MIMO and forward. For MIMO this is the horizontal path.')
bitErrorsCorrected3xUpLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 49), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected3xUpLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected3xUpLinkHorizontal.setDescription('Engineering use only. Number of bit errors corrected on average per fragment on up link at 3X (64-QAM). For MIMO and forward. For MIMO this is the horizontal path.')
bitErrorsCorrected4xUpLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 50), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bitErrorsCorrected4xUpLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: bitErrorsCorrected4xUpLinkHorizontal.setDescription('Number of bit errors corrected on average per fragment on up link at 4X (256-QAM). For MIMO and forward. For MIMO this is the horizontal path.')
signalToNoiseRatioDownLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 51), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: signalToNoiseRatioDownLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: signalToNoiseRatioDownLinkHorizontal.setDescription('Estimated Signal to Noise Ratio in dB for the down link. For MIMO and forward. For MIMO this is the horizontal path.')
signalToNoiseRatioUpLinkHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 2, 2, 52), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: signalToNoiseRatioUpLinkHorizontal.setStatus('current')
if mibBuilder.loadTexts: signalToNoiseRatioUpLinkHorizontal.setDescription('Estimated Signal to Noise Ratio in dB for the up link. For Gen II OFDM and forward. For MIMO this is the horizontal path.')
whispGPSStats = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("gpsSynchronized", 1), ("gpsLostSync", 2), ("generatingSync", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: whispGPSStats.setStatus('current')
if mibBuilder.loadTexts: whispGPSStats.setDescription('This shows whether the AP is synchrinized to the GPS timer.')
gpsSyncSource = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsSyncSource.setStatus('current')
if mibBuilder.loadTexts: gpsSyncSource.setDescription('Source of GPS Sync Pulse.')
gpsSyncStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsSyncStatus.setStatus('current')
if mibBuilder.loadTexts: gpsSyncStatus.setDescription('Current Live value of Sync Status.')
gpsTrackingMode = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsTrackingMode.setStatus('current')
if mibBuilder.loadTexts: gpsTrackingMode.setDescription('GPS tracking mode.')
gpsTime = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsTime.setStatus('current')
if mibBuilder.loadTexts: gpsTime.setDescription('GPS time.')
gpsDate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsDate.setStatus('current')
if mibBuilder.loadTexts: gpsDate.setDescription('GPS date.')
gpsSatellitesTracked = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsSatellitesTracked.setStatus('current')
if mibBuilder.loadTexts: gpsSatellitesTracked.setDescription('Current number of satellites GPS is tracking.')
gpsSatellitesVisible = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 8), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsSatellitesVisible.setStatus('current')
if mibBuilder.loadTexts: gpsSatellitesVisible.setDescription('Number of satellites the GPS sees')
gpsHeight = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsHeight.setStatus('current')
if mibBuilder.loadTexts: gpsHeight.setDescription('GPS height.')
gpsAntennaConnection = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 10), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsAntennaConnection.setStatus('current')
if mibBuilder.loadTexts: gpsAntennaConnection.setDescription('Antenna Connection status.')
gpsLatitude = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 11), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsLatitude.setStatus('current')
if mibBuilder.loadTexts: gpsLatitude.setDescription('GPS Latitude.')
gpsLongitude = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 12), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsLongitude.setStatus('current')
if mibBuilder.loadTexts: gpsLongitude.setDescription('GPS Longitude.')
gpsInvalidMsg = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 13), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsInvalidMsg.setStatus('current')
if mibBuilder.loadTexts: gpsInvalidMsg.setDescription('Number of invalid messages.')
gpsRestartCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsRestartCount.setStatus('current')
if mibBuilder.loadTexts: gpsRestartCount.setDescription('Number of GPS unit restarts.')
gpsReInitCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsReInitCount.setStatus('current')
if mibBuilder.loadTexts: gpsReInitCount.setDescription('GPS ReInit counts. The number of times we have done a complete re-initialization of the GPS device.')
gpsReceiverInfo = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 16), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsReceiverInfo.setStatus('current')
if mibBuilder.loadTexts: gpsReceiverInfo.setDescription('A textual string contains information on GPS receiver.')
gpsFreeRun = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: gpsFreeRun.setStatus('current')
if mibBuilder.loadTexts: gpsFreeRun.setDescription('This variable is deprecated. Setting this value to false will set AutoSync. Setting this value to true will set AutoSync plus Free Run.')
autoSyncStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 3, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("noSync", 0), ("onBoardGPSSync", 1), ("timingPortUGPSSync", 2), ("onBoardGPSAndTimingPortUGPSSync", 3), ("powrPortSync", 4), ("onBoardGPSAndPowrPortSync", 5), ("timingPortUGPSAndPowrPortSync", 6), ("onBoardGPSAndTimingPortUGPSAndPowrPortSync", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: autoSyncStatus.setStatus('current')
if mibBuilder.loadTexts: autoSyncStatus.setDescription('Current Live value of Sync Status. Following values represent what sources have sync. (0) No Sync (1) On-board GPS Sync (2) Timing Port/UGPS Sync (3) On-board GPS and Timing Port/UGPS Sync (4) Power Port Sync (5) On-board GPS and Power Port Sync (6) Timing Port/UGPS and Power Port Sync (7) On-board GPS, Timing Port/UGPS and Power Port Sync')
whispRegComplete = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 1, 1)).setObjects(("WHISP-APS-MIB", "linkLUID"), ("WHISP-APS-MIB", "linkPhysAddress"))
if mibBuilder.loadTexts: whispRegComplete.setStatus('current')
if mibBuilder.loadTexts: whispRegComplete.setDescription('Signals registration complete.')
whispRegLost = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 1, 2)).setObjects(("WHISP-APS-MIB", "linkLUID"), ("WHISP-APS-MIB", "linkPhysAddress"))
if mibBuilder.loadTexts: whispRegLost.setStatus('current')
if mibBuilder.loadTexts: whispRegLost.setDescription('Signals registration lost.')
whispRegFailure = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 1, 3)).setObjects(("WHISP-APS-MIB", "regFailESN"), ("WHISP-APS-MIB", "regGrantReason"))
if mibBuilder.loadTexts: whispRegFailure.setStatus('current')
if mibBuilder.loadTexts: whispRegFailure.setDescription('Signals a registration failure has occured.')
whispDefKeyUsed = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 1, 4)).setObjects(("WHISP-APS-MIB", "linkLUID"), ("WHISP-APS-MIB", "linkPhysAddress"))
if mibBuilder.loadTexts: whispDefKeyUsed.setStatus('current')
if mibBuilder.loadTexts: whispDefKeyUsed.setDescription('Signals Default Key used for encryptiont.')
whispGPSInSync = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 2, 1)).setObjects(("WHISP-APS-MIB", "whispGPSStats"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn"))
if mibBuilder.loadTexts: whispGPSInSync.setStatus('current')
if mibBuilder.loadTexts: whispGPSInSync.setDescription('Signals a transition from not-synchronized to synchronized.')
whispGPSOutSync = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 2, 2)).setObjects(("WHISP-APS-MIB", "gpsStatus"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn"))
if mibBuilder.loadTexts: whispGPSOutSync.setStatus('current')
if mibBuilder.loadTexts: whispGPSOutSync.setDescription('Signals a transition from synchronized to not-synchronized.')
whispRadarDetected = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 3, 1)).setObjects(("WHISP-APS-MIB", "dfsStatus"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn"))
if mibBuilder.loadTexts: whispRadarDetected.setStatus('current')
if mibBuilder.loadTexts: whispRadarDetected.setDescription('Radar detected transmit stopped.')
whispRadarEnd = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 3, 2)).setObjects(("WHISP-APS-MIB", "dfsStatus"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn"))
if mibBuilder.loadTexts: whispRadarEnd.setStatus('current')
if mibBuilder.loadTexts: whispRadarEnd.setDescription('Radar ended back to normal transmit.')
regulatoryApCheckInvalidChanFailed = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 4, 1)).setObjects(("WHISP-APS-MIB", "regulatoryStatus"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn"))
if mibBuilder.loadTexts: regulatoryApCheckInvalidChanFailed.setStatus('current')
if mibBuilder.loadTexts: regulatoryApCheckInvalidChanFailed.setDescription('Regulatory Check failed for the unit due to a invalid channel for the configured region. regulatoryStatus - Text description for the failure. physAddress - the MAC address of the unit.')
regulatoryCheckFailedNoRegionAp = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 4, 2)).setObjects(("WHISP-BOX-MIBV2-MIB", "whispBoxEsn"))
if mibBuilder.loadTexts: regulatoryCheckFailedNoRegionAp.setStatus('current')
if mibBuilder.loadTexts: regulatoryCheckFailedNoRegionAp.setDescription('Regulatory Check failed because a valid region has not be configured. physAddress - the MAC address of the unit.')
regulatoryApCheckInvalidChBwFailed = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 4, 3)).setObjects(("WHISP-APS-MIB", "regulatoryStatus"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn"))
if mibBuilder.loadTexts: regulatoryApCheckInvalidChBwFailed.setStatus('current')
if mibBuilder.loadTexts: regulatoryApCheckInvalidChBwFailed.setDescription('Regulatory Check failed due to an invalid channel bandwidth for the configured region. regulatoryStatus - Text description for the failure. physAddress - the MAC address of the unit.')
rfLinkOverloadCondition = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 5, 5, 1)).setObjects(("WHISP-APS-MIB", "rfOutDiscardRate"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn"))
if mibBuilder.loadTexts: rfLinkOverloadCondition.setStatus('current')
if mibBuilder.loadTexts: rfLinkOverloadCondition.setDescription('AP has exceeded the preset discard percentage in the RF Downlink Direction. rfOutDiscardRate - Current discard Rate. physAddress - the MAC address of the unit.')
whispLinkTestGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 6, 1)).setObjects(("WHISP-APS-MIB", "linkTestLUID"), ("WHISP-APS-MIB", "linkTestDuration"), ("WHISP-APS-MIB", "linkTestAction"), ("WHISP-APS-MIB", "linkTestPktLength"), ("WHISP-APS-MIB", "testLUID"), ("WHISP-APS-MIB", "linkTestStatus"), ("WHISP-APS-MIB", "linkTestError"), ("WHISP-APS-MIB", "testDuration"), ("WHISP-APS-MIB", "downLinkRate"), ("WHISP-APS-MIB", "upLinkRate"), ("WHISP-APS-MIB", "downLinkEff"), ("WHISP-APS-MIB", "maxDwnLinkIndex"), ("WHISP-APS-MIB", "actDwnLinkIndex"), ("WHISP-APS-MIB", "expDwnFragCount"), ("WHISP-APS-MIB", "actDwnFragCount"), ("WHISP-APS-MIB", "upLinkEff"), ("WHISP-APS-MIB", "expUpFragCount"), ("WHISP-APS-MIB", "actUpFragCount"), ("WHISP-APS-MIB", "maxUpLinkIndex"), ("WHISP-APS-MIB", "actUpLinkIndex"), ("WHISP-APS-MIB", "fragments1xDwnLinkVertical"), ("WHISP-APS-MIB", "fragments2xDwnLinkVertical"), ("WHISP-APS-MIB", "fragments3xDwnLinkVertical"), ("WHISP-APS-MIB", "fragments4xDwnLinkVertical"), ("WHISP-APS-MIB", "fragments1xUpLinkVertical"), ("WHISP-APS-MIB", "fragments2xUpLinkVertical"), ("WHISP-APS-MIB", "fragments3xUpLinkVertical"), ("WHISP-APS-MIB", "fragments4xUpLinkVertical"), ("WHISP-APS-MIB", "fragments1xDwnLinkHorizontal"), ("WHISP-APS-MIB", "fragments2xDwnLinkHorizontal"), ("WHISP-APS-MIB", "fragments3xDwnLinkHorizontal"), ("WHISP-APS-MIB", "fragments4xDwnLinkHorizontal"), ("WHISP-APS-MIB", "fragments1xUpLinkHorizontal"), ("WHISP-APS-MIB", "fragments2xUpLinkHorizontal"), ("WHISP-APS-MIB", "fragments3xUpLinkHorizontal"), ("WHISP-APS-MIB", "fragments4xUpLinkHorizontal"), ("WHISP-APS-MIB", "bitErrorsCorrected1xDwnLinkVertical"), ("WHISP-APS-MIB", "bitErrorsCorrected2xDwnLinkVertical"), ("WHISP-APS-MIB", "bitErrorsCorrected3xDwnLinkVertical"), ("WHISP-APS-MIB", "bitErrorsCorrected4xDwnLinkVertical"), ("WHISP-APS-MIB", "bitErrorsCorrected1xUpLinkVertical"), ("WHISP-APS-MIB", "bitErrorsCorrected2xUpLinkVertical"), ("WHISP-APS-MIB", "bitErrorsCorrected3xUpLinkVertical"), ("WHISP-APS-MIB", "bitErrorsCorrected4xUpLinkVertical"), ("WHISP-APS-MIB", "signalToNoiseRatioDownLinkVertical"), ("WHISP-APS-MIB", "signalToNoiseRatioUpLinkVertical"), ("WHISP-APS-MIB", "bitErrorsCorrected1xDwnLinkHorizontal"), ("WHISP-APS-MIB", "bitErrorsCorrected2xDwnLinkHorizontal"), ("WHISP-APS-MIB", "bitErrorsCorrected3xDwnLinkHorizontal"), ("WHISP-APS-MIB", "bitErrorsCorrected4xDwnLinkHorizontal"), ("WHISP-APS-MIB", "bitErrorsCorrected1xUpLinkHorizontal"), ("WHISP-APS-MIB", "bitErrorsCorrected2xUpLinkHorizontal"), ("WHISP-APS-MIB", "bitErrorsCorrected3xUpLinkHorizontal"), ("WHISP-APS-MIB", "bitErrorsCorrected4xUpLinkHorizontal"), ("WHISP-APS-MIB", "signalToNoiseRatioDownLinkHorizontal"), ("WHISP-APS-MIB", "signalToNoiseRatioUpLinkHorizontal"), ("WHISP-APS-MIB", "linkTestSNRCalculation"), ("WHISP-APS-MIB", "linkTestWithDualPath"), ("WHISP-APS-MIB", "linkTestMode"), ("WHISP-APS-MIB", "linkTestNumPkt"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
whispLinkTestGroup = whispLinkTestGroup.setStatus('current')
if mibBuilder.loadTexts: whispLinkTestGroup.setDescription('WHiSP APs link test group.')
whispApsConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 6, 2)).setObjects(("WHISP-APS-MIB", "gpsInput"), ("WHISP-APS-MIB", "rfFreqCarrier"), ("WHISP-APS-MIB", "dwnLnkData"), ("WHISP-APS-MIB", "highPriorityUpLnkPct"), ("WHISP-APS-MIB", "numUAckSlots"), ("WHISP-APS-MIB", "uAcksReservHigh"), ("WHISP-APS-MIB", "numDAckSlots"), ("WHISP-APS-MIB", "dAcksReservHigh"), ("WHISP-APS-MIB", "numCtlSlots"), ("WHISP-APS-MIB", "numCtlSlotsReserveHigh"), ("WHISP-APS-MIB", "upLnkMaxBurstDataRate"), ("WHISP-APS-MIB", "upLnkDataRate"), ("WHISP-APS-MIB", "upLnkLimit"), ("WHISP-APS-MIB", "dwnLnkMaxBurstDataRate"), ("WHISP-APS-MIB", "dwnLnkDataRate"), ("WHISP-APS-MIB", "dwnLnkLimit"), ("WHISP-APS-MIB", "sectorID"), ("WHISP-APS-MIB", "maxRange"), ("WHISP-APS-MIB", "asIP1"), ("WHISP-APS-MIB", "asIP2"), ("WHISP-APS-MIB", "asIP3"), ("WHISP-APS-MIB", "asIP4"), ("WHISP-APS-MIB", "asIP5"), ("WHISP-APS-MIB", "lanIpAp"), ("WHISP-APS-MIB", "lanMaskAp"), ("WHISP-APS-MIB", "defaultGwAp"), ("WHISP-APS-MIB", "privateIp"), ("WHISP-APS-MIB", "gpsTrap"), ("WHISP-APS-MIB", "regTrap"), ("WHISP-APS-MIB", "txSpreading"), ("WHISP-APS-MIB", "apBeaconInfo"), ("WHISP-APS-MIB", "authMode"), ("WHISP-APS-MIB", "authKeyAp"), ("WHISP-APS-MIB", "authKeyOptionAP"), ("WHISP-APS-MIB", "encryptionMode"), ("WHISP-APS-MIB", "ntpServerIp"), ("WHISP-APS-MIB", "multicastRetryCount"), ("WHISP-APS-MIB", "encryptDwBroadcast"), ("WHISP-APS-MIB", "updateAppAddress"), ("WHISP-APS-MIB", "dfsConfig"), ("WHISP-APS-MIB", "vlanEnable"), ("WHISP-APS-MIB", "configSource"), ("WHISP-APS-MIB", "apRateAdapt"), ("WHISP-APS-MIB", "numCtlSlotsHW"), ("WHISP-APS-MIB", "displayAPEval"), ("WHISP-APS-MIB", "smIsolation"), ("WHISP-APS-MIB", "bridgeFloodUnknownsEnable"), ("WHISP-APS-MIB", "ipAccessFilterEnable"), ("WHISP-APS-MIB", "allowedIPAccess1"), ("WHISP-APS-MIB", "allowedIPAccess2"), ("WHISP-APS-MIB", "allowedIPAccess3"), ("WHISP-APS-MIB", "allowedIPAccessNMLength1"), ("WHISP-APS-MIB", "allowedIPAccessNMLength2"), ("WHISP-APS-MIB", "allowedIPAccessNMLength3"), ("WHISP-APS-MIB", "rfTelnetAccess"), ("WHISP-APS-MIB", "rfPPPoEPADIForwarding"), ("WHISP-APS-MIB", "tslBridging"), ("WHISP-APS-MIB", "untranslatedArp"), ("WHISP-APS-MIB", "limitFreqBand900"), ("WHISP-APS-MIB", "txPwrLevel"), ("WHISP-APS-MIB", "rfFreqCaralt1"), ("WHISP-APS-MIB", "rfFreqCaralt2"), ("WHISP-APS-MIB", "scheduleWhitening"), ("WHISP-APS-MIB", "remoteSpectrumAnalysisDuration"), ("WHISP-APS-MIB", "remoteSpectrumAnalyzerLUID"), ("WHISP-APS-MIB", "bhReReg"), ("WHISP-APS-MIB", "dlnkBcastCIR"), ("WHISP-APS-MIB", "dlnkMcastCIR"), ("WHISP-APS-MIB", "verifyGPSChecksum"), ("WHISP-APS-MIB", "qinqEthType"), ("WHISP-APS-MIB", "multicastVCDataRate"), ("WHISP-APS-MIB", "colorCodeRescanTimer"), ("WHISP-APS-MIB", "colorCodeRescanIdleTimer"), ("WHISP-APS-MIB", "fskSMTxPwrCntl"), ("WHISP-APS-MIB", "fskSMRcvTargetLvl"), ("WHISP-APS-MIB", "berModSelect"), ("WHISP-APS-MIB", "lastSesStatsReset"), ("WHISP-APS-MIB", "resetSesStats"), ("WHISP-APS-MIB", "syslogDomainNameAppend"), ("WHISP-APS-MIB", "syslogServerAddr"), ("WHISP-APS-MIB", "syslogServerPort"), ("WHISP-APS-MIB", "syslogXmitAP"), ("WHISP-APS-MIB", "syslogXmitSMs"), ("WHISP-APS-MIB", "uGPSPower"), ("WHISP-APS-MIB", "gpsOutputEn"), ("WHISP-APS-MIB", "radioMode"), ("WHISP-APS-MIB", "authSharedSecret1"), ("WHISP-APS-MIB", "authSharedSecret2"), ("WHISP-APS-MIB", "authSharedSecret3"), ("WHISP-APS-MIB", "radiusPort"), ("WHISP-APS-MIB", "radiusAcctPort"), ("WHISP-APS-MIB", "rfOLEnable"), ("WHISP-APS-MIB", "rfOLTrap"), ("WHISP-APS-MIB", "rfOLThreshold"), ("WHISP-APS-MIB", "remoteSpectrumAnalyzerScanBandwidth"), ("WHISP-APS-MIB", "apConfigAdjacentChanSupport"), ("WHISP-APS-MIB", "ofdmSMRcvTargetLvl"), ("WHISP-APS-MIB", "apRxDelay"), ("WHISP-APS-MIB", "apVlanOverride"), ("WHISP-APS-MIB", "dhcpRelayAgentEnable"), ("WHISP-APS-MIB", "dhcpRelayAgentSrvrIP"), ("WHISP-APS-MIB", "onlyAllowVer95OrAbove"), ("WHISP-APS-MIB", "whispWebUseAuthServer"), ("WHISP-APS-MIB", "whispUsrAuthSharedSecret1"), ("WHISP-APS-MIB", "whispUsrAuthSharedSecret2"), ("WHISP-APS-MIB", "whispUsrAuthSharedSecret3"), ("WHISP-APS-MIB", "whispUsrAcctSvr1"), ("WHISP-APS-MIB", "whispUsrAcctSvr2"), ("WHISP-APS-MIB", "whispUsrAcctSvr3"), ("WHISP-APS-MIB", "whispUsrAuthPhase1"), ("WHISP-APS-MIB", "accountingInterimUpdateInterval"), ("WHISP-APS-MIB", "accountingSmReAuthInterval"), ("WHISP-APS-MIB", "dropSession"), ("WHISP-APS-MIB", "timeZone"), ("WHISP-APS-MIB", "actionListFilename"), ("WHISP-APS-MIB", "enableAutoupdate"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
whispApsConfigGroup = whispApsConfigGroup.setStatus('current')
if mibBuilder.loadTexts: whispApsConfigGroup.setDescription('WHiSP APs configuration group.')
whispApsLinkTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 6, 3)).setObjects(("WHISP-APS-MIB", "linkLUID"), ("WHISP-APS-MIB", "linkDescr"), ("WHISP-APS-MIB", "linkPhysAddress"), ("WHISP-APS-MIB", "linkManagementIP"), ("WHISP-APS-MIB", "linkFragmentsReceived1XVertical"), ("WHISP-APS-MIB", "linkFragmentsReceived2XVertical"), ("WHISP-APS-MIB", "linkFragmentsReceived3XVertical"), ("WHISP-APS-MIB", "linkFragmentsReceived4XVertical"), ("WHISP-APS-MIB", "signalToNoiseRatioVertical"), ("WHISP-APS-MIB", "linkFragmentsReceived1XHorizontal"), ("WHISP-APS-MIB", "linkFragmentsReceived2XHorizontal"), ("WHISP-APS-MIB", "linkFragmentsReceived3XHorizontal"), ("WHISP-APS-MIB", "linkFragmentsReceived4XHorizontal"), ("WHISP-APS-MIB", "signalToNoiseRatioHorizontal"), ("WHISP-APS-MIB", "linkSignalStrengthRatio"), ("WHISP-APS-MIB", "linkRadioDbmHorizontal"), ("WHISP-APS-MIB", "linkRadioDbmVertical"), ("WHISP-APS-MIB", "maxSMTxPwr"), ("WHISP-APS-MIB", "productType"), ("WHISP-APS-MIB", "linkAdaptRateLowPri"), ("WHISP-APS-MIB", "linkAdaptRateHighPri"), ("WHISP-APS-MIB", "autoUpdateStatus"), ("WHISP-APS-MIB", "linkMtu"), ("WHISP-APS-MIB", "linkSpeed"), ("WHISP-APS-MIB", "linkOperStatus"), ("WHISP-APS-MIB", "linkInOctets"), ("WHISP-APS-MIB", "linkInUcastPkts"), ("WHISP-APS-MIB", "linkInNUcastPkts"), ("WHISP-APS-MIB", "linkInDiscards"), ("WHISP-APS-MIB", "linkInError"), ("WHISP-APS-MIB", "linkInUnknownProtos"), ("WHISP-APS-MIB", "linkOutOctets"), ("WHISP-APS-MIB", "linkOutUcastPkts"), ("WHISP-APS-MIB", "linkOutNUcastPkts"), ("WHISP-APS-MIB", "linkOutDiscards"), ("WHISP-APS-MIB", "linkOutError"), ("WHISP-APS-MIB", "linkOutQLen"), ("WHISP-APS-MIB", "linkSessState"), ("WHISP-APS-MIB", "linkESN"), ("WHISP-APS-MIB", "linkRSSI"), ("WHISP-APS-MIB", "linkAveJitter"), ("WHISP-APS-MIB", "linkLastJitter"), ("WHISP-APS-MIB", "linkAirDelay"), ("WHISP-APS-MIB", "linkRegCount"), ("WHISP-APS-MIB", "linkReRegCount"), ("WHISP-APS-MIB", "linkTimeOut"), ("WHISP-APS-MIB", "linkLastRSSI"), ("WHISP-APS-MIB", "sessionCount"), ("WHISP-APS-MIB", "softwareVersion"), ("WHISP-APS-MIB", "softwareBootVersion"), ("WHISP-APS-MIB", "fpgaVersion"), ("WHISP-APS-MIB", "linkSiteName"), ("WHISP-APS-MIB", "avgPowerLevel"), ("WHISP-APS-MIB", "lastPowerLevel"), ("WHISP-APS-MIB", "sesDownLinkRate"), ("WHISP-APS-MIB", "sesDownLinkLimit"), ("WHISP-APS-MIB", "sesUpLinkRate"), ("WHISP-APS-MIB", "sesUpLinkLimit"), ("WHISP-APS-MIB", "adaptRate"), ("WHISP-APS-MIB", "sesLoUpCIR"), ("WHISP-APS-MIB", "sesLoDownCIR"), ("WHISP-APS-MIB", "sesHiUpCIR"), ("WHISP-APS-MIB", "sesHiDownCIR"), ("WHISP-APS-MIB", "platformVer"), ("WHISP-APS-MIB", "smSessionTmr"), ("WHISP-APS-MIB", "smSessionSeqNumMismatch"), ("WHISP-APS-MIB", "dataVCNum"), ("WHISP-APS-MIB", "hiPriQEn"), ("WHISP-APS-MIB", "dataVCNumHiQ"), ("WHISP-APS-MIB", "linkInOctetsHiQ"), ("WHISP-APS-MIB", "linkInUcastPktsHiQ"), ("WHISP-APS-MIB", "linkInNUcastPktsHiQ"), ("WHISP-APS-MIB", "linkInDiscardsHiQ"), ("WHISP-APS-MIB", "linkInErrorHiQ"), ("WHISP-APS-MIB", "linkInUnknownProtosHiQ"), ("WHISP-APS-MIB", "linkOutOctetsHiQ"), ("WHISP-APS-MIB", "linkOutUcastPktsHiQ"), ("WHISP-APS-MIB", "linkOutNUcastPktsHiQ"), ("WHISP-APS-MIB", "linkOutDiscardsHiQ"), ("WHISP-APS-MIB", "linkOutErrorHiQ"), ("WHISP-APS-MIB", "vcQOverflow"), ("WHISP-APS-MIB", "vcQOverflowHiQ"), ("WHISP-APS-MIB", "p7p8HiPriQEn"), ("WHISP-APS-MIB", "p7p8HiPriQ"), ("WHISP-APS-MIB", "linkAirDelayns"), ("WHISP-APS-MIB", "linkQualityAPData"), ("WHISP-APS-MIB", "radiusReplyMsg"), ("WHISP-APS-MIB", "radiusFramedIPAddress"), ("WHISP-APS-MIB", "radiusFramedIPNetmask"), ("WHISP-APS-MIB", "radiusDefaultGateway"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
whispApsLinkTableGroup = whispApsLinkTableGroup.setStatus('current')
if mibBuilder.loadTexts: whispApsLinkTableGroup.setDescription('WHiSP APs Link Table group.')
whispApsNotifGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 6, 4)).setObjects(("WHISP-APS-MIB", "whispRegComplete"), ("WHISP-APS-MIB", "whispRegLost"), ("WHISP-APS-MIB", "whispRegFailure"), ("WHISP-APS-MIB", "whispDefKeyUsed"), ("WHISP-APS-MIB", "whispGPSInSync"), ("WHISP-APS-MIB", "whispGPSOutSync"), ("WHISP-APS-MIB", "whispRadarDetected"), ("WHISP-APS-MIB", "whispRadarEnd"), ("WHISP-APS-MIB", "regulatoryApCheckInvalidChanFailed"), ("WHISP-APS-MIB", "regulatoryCheckFailedNoRegionAp"), ("WHISP-APS-MIB", "regulatoryApCheckInvalidChBwFailed"), ("WHISP-APS-MIB", "rfLinkOverloadCondition"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
whispApsNotifGroup = whispApsNotifGroup.setStatus('current')
if mibBuilder.loadTexts: whispApsNotifGroup.setDescription('WHiSP APs notification group.')
whispApsFailedRegTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 6, 5)).setObjects(("WHISP-APS-MIB", "regGrantReason"), ("WHISP-APS-MIB", "regFailESN"), ("WHISP-APS-MIB", "regFailTime"), ("WHISP-APS-MIB", "regFailSeqNum"), ("WHISP-APS-MIB", "regFailReasonText"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
whispApsFailedRegTableGroup = whispApsFailedRegTableGroup.setStatus('current')
if mibBuilder.loadTexts: whispApsFailedRegTableGroup.setDescription('WHiSP APs Failed Registration Table group.')
regCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: regCount.setStatus('current')
if mibBuilder.loadTexts: regCount.setDescription('Number of registered SMs.')
gpsStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gpsStatus.setStatus('current')
if mibBuilder.loadTexts: gpsStatus.setDescription('GPS status.')
radioSlicingAp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: radioSlicingAp.setStatus('obsolete')
if mibBuilder.loadTexts: radioSlicingAp.setDescription('The variable is deprecated.')
radioTxGainAp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: radioTxGainAp.setStatus('current')
if mibBuilder.loadTexts: radioTxGainAp.setDescription('Radio transmit gain setting.')
dataSlotDwn = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dataSlotDwn.setStatus('current')
if mibBuilder.loadTexts: dataSlotDwn.setDescription('Number of data slot down.')
dataSlotUp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dataSlotUp.setStatus('current')
if mibBuilder.loadTexts: dataSlotUp.setDescription('Number of data slot up.')
dataSlotUpHi = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 7), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dataSlotUpHi.setStatus('current')
if mibBuilder.loadTexts: dataSlotUpHi.setDescription('Number of high priority data slot up.')
upLnkAckSlot = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 8), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: upLnkAckSlot.setStatus('current')
if mibBuilder.loadTexts: upLnkAckSlot.setDescription('Uplink ack slots.')
upLnkAckSlotHi = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 9), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: upLnkAckSlotHi.setStatus('current')
if mibBuilder.loadTexts: upLnkAckSlotHi.setDescription('Hige priority uplink ack slots.')
dwnLnkAckSlot = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 10), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dwnLnkAckSlot.setStatus('current')
if mibBuilder.loadTexts: dwnLnkAckSlot.setDescription('Downlink ack slots.')
dwnLnkAckSlotHi = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 11), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dwnLnkAckSlotHi.setStatus('current')
if mibBuilder.loadTexts: dwnLnkAckSlotHi.setDescription('Hige priority downlink ack slots.')
numCtrSlot = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 12), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: numCtrSlot.setStatus('current')
if mibBuilder.loadTexts: numCtrSlot.setDescription('Number of control slots.')
numCtrSlotHi = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 13), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: numCtrSlotHi.setStatus('current')
if mibBuilder.loadTexts: numCtrSlotHi.setDescription('High priority control slot.')
dfsStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 14), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dfsStatus.setStatus('current')
if mibBuilder.loadTexts: dfsStatus.setDescription('Dynamic frequency shifting status.')
dfsStatusPrimary = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 15), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dfsStatusPrimary.setStatus('current')
if mibBuilder.loadTexts: dfsStatusPrimary.setDescription('Dynamic frequency shifting status for Primary Channel.')
dfsStatusAlt1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 16), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dfsStatusAlt1.setStatus('current')
if mibBuilder.loadTexts: dfsStatusAlt1.setDescription('Dynamic frequency shifting status for Alternate Channel 1')
dfsStatusAlt2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 17), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dfsStatusAlt2.setStatus('current')
if mibBuilder.loadTexts: dfsStatusAlt2.setDescription('Dynamic frequency shifting status for Alternate Channel 2')
maxRegSMCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: maxRegSMCount.setStatus('current')
if mibBuilder.loadTexts: maxRegSMCount.setDescription('Maximum number of unique Subscriber Modules registered with this AP at once')
systemTime = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 19), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemTime.setStatus('current')
if mibBuilder.loadTexts: systemTime.setDescription('Displays the system time of the unit')
lastNTPTime = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 20), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lastNTPTime.setStatus('current')
if mibBuilder.loadTexts: lastNTPTime.setDescription('Displays the last NTP time acquired by the AP')
regulatoryStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 21), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: regulatoryStatus.setStatus('current')
if mibBuilder.loadTexts: regulatoryStatus.setDescription('The current status of the regulatory check on the AP.')
dhcpRlyAgntStat_reqRecvd = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 22), Counter32()).setLabel("dhcpRlyAgntStat-reqRecvd").setMaxAccess("readonly")
if mibBuilder.loadTexts: dhcpRlyAgntStat_reqRecvd.setStatus('current')
if mibBuilder.loadTexts: dhcpRlyAgntStat_reqRecvd.setDescription('Number of DHCP Requests received by the DHCP Relay.')
dhcpRlyAgntStat_reqRelayed = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 23), Counter32()).setLabel("dhcpRlyAgntStat-reqRelayed").setMaxAccess("readonly")
if mibBuilder.loadTexts: dhcpRlyAgntStat_reqRelayed.setStatus('current')
if mibBuilder.loadTexts: dhcpRlyAgntStat_reqRelayed.setDescription('Number of DHCP Requests relayed by the DHCP Relay.')
dhcpRlyAgntStat_reqDiscards = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 24), Counter32()).setLabel("dhcpRlyAgntStat-reqDiscards").setMaxAccess("readonly")
if mibBuilder.loadTexts: dhcpRlyAgntStat_reqDiscards.setStatus('current')
if mibBuilder.loadTexts: dhcpRlyAgntStat_reqDiscards.setDescription('Number of DHCP Requests discarded by the DHCP Relay.')
dhcpRlyAgntStat_respRecvd = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 25), Counter32()).setLabel("dhcpRlyAgntStat-respRecvd").setMaxAccess("readonly")
if mibBuilder.loadTexts: dhcpRlyAgntStat_respRecvd.setStatus('current')
if mibBuilder.loadTexts: dhcpRlyAgntStat_respRecvd.setDescription('Number of DHCP Replies received by the DHCP Relay.')
dhcpRlyAgntStat_respRelayed = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 26), Counter32()).setLabel("dhcpRlyAgntStat-respRelayed").setMaxAccess("readonly")
if mibBuilder.loadTexts: dhcpRlyAgntStat_respRelayed.setStatus('current')
if mibBuilder.loadTexts: dhcpRlyAgntStat_respRelayed.setDescription('Number of DHCP Replies relayed by the DHCP Relay.')
dhcpRlyAgntStat_respDiscards = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 27), Counter32()).setLabel("dhcpRlyAgntStat-respDiscards").setMaxAccess("readonly")
if mibBuilder.loadTexts: dhcpRlyAgntStat_respDiscards.setStatus('current')
if mibBuilder.loadTexts: dhcpRlyAgntStat_respDiscards.setDescription('Number of DHCP Replies discarded by the DHCP Relay.')
dhcpRlyAgntStat_untrustedDiscards = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 28), Counter32()).setLabel("dhcpRlyAgntStat-untrustedDiscards").setMaxAccess("readonly")
if mibBuilder.loadTexts: dhcpRlyAgntStat_untrustedDiscards.setStatus('current')
if mibBuilder.loadTexts: dhcpRlyAgntStat_untrustedDiscards.setDescription('Number of untrusted messages discarded by the DHCP Relay.')
dhcpRlyAgntStat_maxHopDiscards = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 29), Counter32()).setLabel("dhcpRlyAgntStat-maxHopDiscards").setMaxAccess("readonly")
if mibBuilder.loadTexts: dhcpRlyAgntStat_maxHopDiscards.setStatus('current')
if mibBuilder.loadTexts: dhcpRlyAgntStat_maxHopDiscards.setDescription('Number of messages discarded by the DHCP Relay due to exceeded max hop.')
dhcpRlyAgntStat_pktTooBig = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 30), Counter32()).setLabel("dhcpRlyAgntStat-pktTooBig").setMaxAccess("readonly")
if mibBuilder.loadTexts: dhcpRlyAgntStat_pktTooBig.setStatus('current')
if mibBuilder.loadTexts: dhcpRlyAgntStat_pktTooBig.setDescription('Number of messages forwarded without relay information by the DHCP Relay due to relay information exceeding max message size.')
dhcpRlyAgntStat_invalidGiaddrDiscards = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 31), Counter32()).setLabel("dhcpRlyAgntStat-invalidGiaddrDiscards").setMaxAccess("readonly")
if mibBuilder.loadTexts: dhcpRlyAgntStat_invalidGiaddrDiscards.setStatus('current')
if mibBuilder.loadTexts: dhcpRlyAgntStat_invalidGiaddrDiscards.setDescription('Number of messages discarded by the DHCP Relay due to invalid giaddr in packet.')
regFailureCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 32), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: regFailureCount.setStatus('current')
if mibBuilder.loadTexts: regFailureCount.setDescription('The Total number or Registration Grant Failures.')
ntpLogSNMP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 33), EventString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntpLogSNMP.setStatus('current')
if mibBuilder.loadTexts: ntpLogSNMP.setDescription('NTP Log')
uGPSPowerStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 34), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: uGPSPowerStatus.setStatus('current')
if mibBuilder.loadTexts: uGPSPowerStatus.setDescription('Current UGPS Power Status (UGPS capable APs only).')
rfOutDiscardRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rfOutDiscardRate.setStatus('current')
if mibBuilder.loadTexts: rfOutDiscardRate.setDescription('Percentage of OutDiscards on the RF link (RF Overload %) in the last minute.')
autoUpdateGlobalStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 36), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: autoUpdateGlobalStatus.setStatus('current')
if mibBuilder.loadTexts: autoUpdateGlobalStatus.setDescription('Status of the Auto-Update Command')
currentRadioFreqCarrier = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 7, 37), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: currentRadioFreqCarrier.setStatus('current')
if mibBuilder.loadTexts: currentRadioFreqCarrier.setDescription('Current Radio Frequency Carrier')
ntpDomainNameAppend = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disableDomain", 0), ("appendDomain", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpDomainNameAppend.setStatus('current')
if mibBuilder.loadTexts: ntpDomainNameAppend.setDescription("Select whether to append the configured management domain name to the configured trap names. For example, if dnsMgmtDomainName is set to 'example.com', ntpServer is set to 'ntp', and ntpDomainNameAppend is set to appendDomain, the ntpServer name used would be 'ntp.example.com'.")
ntpServer1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 2), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpServer1.setStatus('current')
if mibBuilder.loadTexts: ntpServer1.setDescription('NTP Server 1 Address. Format is either an IP address or DNS name.')
ntpServer2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 3), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpServer2.setStatus('current')
if mibBuilder.loadTexts: ntpServer2.setDescription('NTP Server 2 Address. Format is either an IP address or DNS name.')
ntpServer3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 4), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpServer3.setStatus('current')
if mibBuilder.loadTexts: ntpServer3.setDescription('NTP Server 3 Address. Format is either an IP address or DNS name.')
dhcprDomainNameAppend = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disableDomain", 0), ("appendDomain", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dhcprDomainNameAppend.setStatus('current')
if mibBuilder.loadTexts: dhcprDomainNameAppend.setDescription("Select whether to append the configured management domain name to the configured trap names. For example, if dnsMgmtDomainName is set to 'example.com', dhcprServer is set to 'dhcpr', and dhcprDomainNameAppend is set to appendDomain, the dhcprServer name used would be 'dhcpr.example.com'.")
dhcprServer = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 6), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dhcprServer.setStatus('current')
if mibBuilder.loadTexts: dhcprServer.setDescription('DHCP Server IP which will be used for forwarding DHCP messages by the DHCP Relay Agent in the MultiPoint AP. - Format is either an IP address or DNS name. - Default is 255.255.255.255 (broadcast).')
authDomainNameAppend = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disableDNSDomain", 0), ("enableDNSDomain", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authDomainNameAppend.setStatus('current')
if mibBuilder.loadTexts: authDomainNameAppend.setDescription("Select whether to append the configured management domain name to the configured trap names. For example, if dnsMgmtDomainName is set to 'example.com', authServer1 is set to 'auth1', and authDomainNameAppend is set to appendDomain, the authServer1 name used would be 'auth1.example.com'.")
authServer1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 8), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authServer1.setStatus('current')
if mibBuilder.loadTexts: authServer1.setDescription('Authentication Server 1. Format is either an IP address or DNS name.')
authServer2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 9), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authServer2.setStatus('current')
if mibBuilder.loadTexts: authServer2.setDescription('Authentication Server 2. Format is either an IP address or DNS name.')
authServer3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 10), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authServer3.setStatus('current')
if mibBuilder.loadTexts: authServer3.setDescription('Authentication Server 3. Format is either an IP address or DNS name.')
authServer4 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 11), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authServer4.setStatus('current')
if mibBuilder.loadTexts: authServer4.setDescription('Authentication Server 4. Format is either an IP address or DNS name.')
authServer5 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 12), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: authServer5.setStatus('current')
if mibBuilder.loadTexts: authServer5.setDescription('Authentication Server 5. Format is either an IP address or DNS name.')
acctDomainNameAppend = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 9, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disableDomain", 0), ("appendDomain", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: acctDomainNameAppend.setStatus('obsolete')
if mibBuilder.loadTexts: acctDomainNameAppend.setDescription('Obsoleted. Use whispApsDNS.authDomainNameAppend.')
clearLinkTableStats = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 11, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: clearLinkTableStats.setStatus('current')
if mibBuilder.loadTexts: clearLinkTableStats.setDescription('Setting this to a nonzero value will clear the link table stats.')
whispApsRFConfigRadios = MibTable((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 10, 1), )
if mibBuilder.loadTexts: whispApsRFConfigRadios.setStatus('current')
if mibBuilder.loadTexts: whispApsRFConfigRadios.setDescription('Radio configuration table.')
whispApsRFConfigRadioEntry = MibTableRow((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 10, 1, 1), )
whispBoxRFPhysicalRadioEntry.registerAugmentions(("WHISP-APS-MIB", "whispApsRFConfigRadioEntry"))
whispApsRFConfigRadioEntry.setIndexNames(*whispBoxRFPhysicalRadioEntry.getIndexNames())
if mibBuilder.loadTexts: whispApsRFConfigRadioEntry.setStatus('current')
if mibBuilder.loadTexts: whispApsRFConfigRadioEntry.setDescription('Radio configuration entry.')
radioFreqCarrier = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 10, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0))).clone(namedValues=NamedValues(("wired", 0)))).setUnits('kHz').setMaxAccess("readwrite")
if mibBuilder.loadTexts: radioFreqCarrier.setStatus('current')
if mibBuilder.loadTexts: radioFreqCarrier.setDescription('RF Frequency. Please see the whispBoxRFPhysicalRadioFrequencies SNMP table for a list of available frequencies. 0: wired.')
radioDownlinkPercent = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 10, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setUnits('%').setMaxAccess("readwrite")
if mibBuilder.loadTexts: radioDownlinkPercent.setStatus('current')
if mibBuilder.loadTexts: radioDownlinkPercent.setDescription('This is the percentage of frame data space allocated for downlink.')
radioMaxRange = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 10, 1, 1, 3), Integer32()).setUnits('miles').setMaxAccess("readwrite")
if mibBuilder.loadTexts: radioMaxRange.setStatus('current')
if mibBuilder.loadTexts: radioMaxRange.setDescription('Access point max range.')
radioControlSlots = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 10, 1, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radioControlSlots.setStatus('current')
if mibBuilder.loadTexts: radioControlSlots.setDescription('Total number of control slots for HW Scheduling Point-to-Mulitpoint mode (Not applicable for PtoP radios). For PMP450 the minimum is 1 control slot, others minimum is zero. Maximum control slots is 15.')
radioTransmitOutputPower = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 10, 1, 1, 5), Integer32()).setUnits('dBm').setMaxAccess("readwrite")
if mibBuilder.loadTexts: radioTransmitOutputPower.setStatus('current')
if mibBuilder.loadTexts: radioTransmitOutputPower.setDescription('Transmitter output power.')
radioColorCode = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 10, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radioColorCode.setStatus('current')
if mibBuilder.loadTexts: radioColorCode.setDescription('Color code.')
whispLinkTable = MibTable((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4), )
if mibBuilder.loadTexts: whispLinkTable.setStatus('current')
if mibBuilder.loadTexts: whispLinkTable.setDescription('List of link test results')
whispLinkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1), ).setIndexNames((0, "WHISP-APS-MIB", "linkLUID"))
if mibBuilder.loadTexts: whispLinkEntry.setStatus('current')
if mibBuilder.loadTexts: whispLinkEntry.setDescription('List of link test results')
linkLUID = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkLUID.setStatus('current')
if mibBuilder.loadTexts: linkLUID.setDescription('LUID number.')
linkDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkDescr.setStatus('current')
if mibBuilder.loadTexts: linkDescr.setDescription('A textual string containing information about the unit. This string should include the name of the manufacturer, the product name and the version of the hardware interface.')
linkPhysAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 3), PhysAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkPhysAddress.setStatus('current')
if mibBuilder.loadTexts: linkPhysAddress.setDescription('Physical Address of the unit.')
linkMtu = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkMtu.setStatus('current')
if mibBuilder.loadTexts: linkMtu.setDescription('The size of the largest datagram which can be sent/received on the interface, specified in octets. For interfaces that are used for transmitting network datagrams, this is the size of the largest network datagram that can be sent on the interface.')
linkSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 5), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkSpeed.setStatus('current')
if mibBuilder.loadTexts: linkSpeed.setDescription("An estimate of the interface's current bandwidth in bits per second. For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth.")
linkOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOperStatus.setStatus('obsolete')
if mibBuilder.loadTexts: linkOperStatus.setDescription('This variable is not used.')
linkInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInOctets.setStatus('current')
if mibBuilder.loadTexts: linkInOctets.setDescription('The total number of octets received on the interface, including framing characters.')
linkInUcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInUcastPkts.setStatus('current')
if mibBuilder.loadTexts: linkInUcastPkts.setDescription('The number of subnetwork-unicast packets delivered to a higher-layer protocol.')
linkInNUcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInNUcastPkts.setStatus('current')
if mibBuilder.loadTexts: linkInNUcastPkts.setDescription('The number of non-unicast (i.e., subnetwork- broadcast or subnetwork-multicast) packets delivered to a higher-layer protocol.')
linkInDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInDiscards.setStatus('current')
if mibBuilder.loadTexts: linkInDiscards.setDescription('The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space.')
linkInError = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInError.setStatus('current')
if mibBuilder.loadTexts: linkInError.setDescription('The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.')
linkInUnknownProtos = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInUnknownProtos.setStatus('current')
if mibBuilder.loadTexts: linkInUnknownProtos.setDescription('The number of packets received via the interface which were discarded because of an unknown or unsupported protocol.')
linkOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutOctets.setStatus('current')
if mibBuilder.loadTexts: linkOutOctets.setDescription('The total number of octets transmitted out of the interface, including framing characters.')
linkOutUcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutUcastPkts.setStatus('current')
if mibBuilder.loadTexts: linkOutUcastPkts.setDescription('The total number of packets that higher-level protocols requested be transmitted to a subnetwork-unicast address, including those that were discarded or not sent.')
linkOutNUcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutNUcastPkts.setStatus('current')
if mibBuilder.loadTexts: linkOutNUcastPkts.setDescription('The total number of packets that higher-level protocols requested be transmitted to a non- unicast (i.e., a subnetwork-broadcast or subnetwork-multicast) address, including those that were discarded or not sent.')
linkOutDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutDiscards.setStatus('current')
if mibBuilder.loadTexts: linkOutDiscards.setDescription('The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space.')
linkOutError = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutError.setStatus('current')
if mibBuilder.loadTexts: linkOutError.setDescription('The number of outbound packets that could not be transmitted because of errors.')
linkOutQLen = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 18), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutQLen.setStatus('current')
if mibBuilder.loadTexts: linkOutQLen.setDescription('Number of packets in output packet queue.')
linkSessState = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("idle", 0), ("inSession", 1), ("clearing", 2), ("reRegDnRst", 3), ("authChal", 4), ("registering", 5), ("notInUse", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkSessState.setStatus('current')
if mibBuilder.loadTexts: linkSessState.setDescription('Current operational state of an interface. 0 = Idle 1 = In Session 2 = Clearing 3 = Re-registration downlink reset 4 = Authentication Challenge 5 = Registering 6 = Not in use')
linkESN = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 20), PhysAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkESN.setStatus('current')
if mibBuilder.loadTexts: linkESN.setDescription('Link Electronic serial number. It is MAC address.')
linkRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkRSSI.setStatus('current')
if mibBuilder.loadTexts: linkRSSI.setDescription('The average RSSI reading of all packets received from an SM. Applicable to FSK radios only.')
linkAveJitter = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 22), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAveJitter.setStatus('current')
if mibBuilder.loadTexts: linkAveJitter.setDescription('The average Jitter reading of all packets received from an SM. Applicable to FSK radios only.')
linkLastJitter = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 23), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkLastJitter.setStatus('current')
if mibBuilder.loadTexts: linkLastJitter.setDescription('Last jitter value. Applicable to FSK radios only.')
linkAirDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAirDelay.setStatus('current')
if mibBuilder.loadTexts: linkAirDelay.setDescription('The current round trip air delay in bits measured between the AP and SM.')
linkRegCount = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 25), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkRegCount.setStatus('current')
if mibBuilder.loadTexts: linkRegCount.setDescription('The number of times an SM has registered to an AP.')
linkReRegCount = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 26), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkReRegCount.setStatus('current')
if mibBuilder.loadTexts: linkReRegCount.setDescription('The number of times an SM has tried to register with the AP while it still has an active session with the AP.')
linkTimeOut = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 27), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkTimeOut.setStatus('current')
if mibBuilder.loadTexts: linkTimeOut.setDescription('Link time out.')
linkLastRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 28), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkLastRSSI.setStatus('current')
if mibBuilder.loadTexts: linkLastRSSI.setDescription('The last RSSI reading of all packets received from an SM. Applicable to FSK radios only.')
sessionCount = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 29), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sessionCount.setStatus('current')
if mibBuilder.loadTexts: sessionCount.setDescription('How many times has this mac been in/out of session.')
softwareVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 30), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: softwareVersion.setStatus('current')
if mibBuilder.loadTexts: softwareVersion.setDescription('The software version of registered SM.')
softwareBootVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 31), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: softwareBootVersion.setStatus('current')
if mibBuilder.loadTexts: softwareBootVersion.setDescription('The software boot version of registered SM.')
fpgaVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 32), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fpgaVersion.setStatus('current')
if mibBuilder.loadTexts: fpgaVersion.setDescription('The FPGA version of registered SM.')
linkSiteName = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 33), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkSiteName.setStatus('current')
if mibBuilder.loadTexts: linkSiteName.setDescription('The site name of the registered SM.')
avgPowerLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 34), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: avgPowerLevel.setStatus('current')
if mibBuilder.loadTexts: avgPowerLevel.setDescription("The average power level of registered SM. For systems that support power control, this value can read 'NA' when the AP adjusts the transmit power of a SM until new packets are received from the SM with it transmitting at its new power level. For MIMO this is the combined receive power.")
lastPowerLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 35), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lastPowerLevel.setStatus('current')
if mibBuilder.loadTexts: lastPowerLevel.setDescription('The last power level of registered SM. For MIMO radios this is the combined receive power.')
sesDownLinkRate = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 36), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sesDownLinkRate.setStatus('current')
if mibBuilder.loadTexts: sesDownLinkRate.setDescription('Down link rate.')
sesDownLinkLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 37), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sesDownLinkLimit.setStatus('current')
if mibBuilder.loadTexts: sesDownLinkLimit.setDescription('Down link limit.')
sesUpLinkRate = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 38), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sesUpLinkRate.setStatus('current')
if mibBuilder.loadTexts: sesUpLinkRate.setDescription('Uplink rate.')
sesUpLinkLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 39), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sesUpLinkLimit.setStatus('current')
if mibBuilder.loadTexts: sesUpLinkLimit.setDescription('Uplink limit.')
adaptRate = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 40), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adaptRate.setStatus('current')
if mibBuilder.loadTexts: adaptRate.setDescription('Adapt rate of registered SM.')
sesLoUpCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 41), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sesLoUpCIR.setStatus('current')
if mibBuilder.loadTexts: sesLoUpCIR.setDescription('Low priority up link CIR.')
sesLoDownCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 42), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sesLoDownCIR.setStatus('current')
if mibBuilder.loadTexts: sesLoDownCIR.setDescription('Low priority down link CIR.')
sesHiUpCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 43), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sesHiUpCIR.setStatus('current')
if mibBuilder.loadTexts: sesHiUpCIR.setDescription('High priority up link CIR.')
sesHiDownCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 44), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sesHiDownCIR.setStatus('current')
if mibBuilder.loadTexts: sesHiDownCIR.setDescription('High priority down link CIR.')
platformVer = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 45), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: platformVer.setStatus('current')
if mibBuilder.loadTexts: platformVer.setDescription('Platform Version.')
smSessionTmr = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 46), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: smSessionTmr.setStatus('current')
if mibBuilder.loadTexts: smSessionTmr.setDescription('SM session uptime')
smSessionSeqNumMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 47), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: smSessionSeqNumMismatch.setStatus('current')
if mibBuilder.loadTexts: smSessionSeqNumMismatch.setDescription('The count of how many sequence number mismatch between the AP/BHM and the SM/BHS during the authentication challenge and authentication response messages. This status is only valid in a system where encryption is enabled and no authentication server is configured.')
dataVCNum = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 48), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dataVCNum.setStatus('current')
if mibBuilder.loadTexts: dataVCNum.setDescription('The normal priority Data VC number in use for this link.')
hiPriQEn = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hiPriQEn.setStatus('current')
if mibBuilder.loadTexts: hiPriQEn.setDescription('Returns whether High Priority channel is enabled. On P7/P8 devices will return 0 always. Use p7p8HiPriQEn OID for P7/P8 radios.')
dataVCNumHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 50), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dataVCNumHiQ.setStatus('current')
if mibBuilder.loadTexts: dataVCNumHiQ.setDescription('The high priority Data VC number in use for this link, if any. If 0, no High Priority channel is in place.')
linkInOctetsHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 51), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInOctetsHiQ.setStatus('current')
if mibBuilder.loadTexts: linkInOctetsHiQ.setDescription('The total number of octets received on High Priority Queue, including framing characters.')
linkInUcastPktsHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 52), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInUcastPktsHiQ.setStatus('current')
if mibBuilder.loadTexts: linkInUcastPktsHiQ.setDescription('The number of subnetwork-unicast packets on High Priority Queue delivered to a higher-layer protocol.')
linkInNUcastPktsHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 53), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInNUcastPktsHiQ.setStatus('current')
if mibBuilder.loadTexts: linkInNUcastPktsHiQ.setDescription('The number of non-unicast (i.e., subnetwork- broadcast or subnetwork-multicast) packets on High Priority Queue delivered to a higher-layer protocol.')
linkInDiscardsHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 54), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInDiscardsHiQ.setStatus('current')
if mibBuilder.loadTexts: linkInDiscardsHiQ.setDescription('The number of inbound packets on High Priority Queue which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space.')
linkInErrorHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 55), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInErrorHiQ.setStatus('current')
if mibBuilder.loadTexts: linkInErrorHiQ.setDescription('The number of inbound packets on High Priority Queue that contained errors preventing them from being deliverable to a higher-layer protocol.')
linkInUnknownProtosHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 56), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInUnknownProtosHiQ.setStatus('current')
if mibBuilder.loadTexts: linkInUnknownProtosHiQ.setDescription('The number of packets received on High Priority Queue via the interface which were discarded because of an unknown or unsupported protocol.')
linkOutOctetsHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 57), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutOctetsHiQ.setStatus('current')
if mibBuilder.loadTexts: linkOutOctetsHiQ.setDescription('The total number of octets on High Priority Queue transmitted out of the interface, including framing characters.')
linkOutUcastPktsHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 58), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutUcastPktsHiQ.setStatus('current')
if mibBuilder.loadTexts: linkOutUcastPktsHiQ.setDescription('The total number of packets on High Priority Queue that higher-level protocols requested be transmitted to a subnetwork-unicast address, including those that were discarded or not sent.')
linkOutNUcastPktsHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 59), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutNUcastPktsHiQ.setStatus('current')
if mibBuilder.loadTexts: linkOutNUcastPktsHiQ.setDescription('The total number of packets on High Priority Queue that higher-level protocols requested be transmitted to a non- unicast (i.e., a subnetwork-broadcast or subnetwork-multicast) address, including those that were discarded or not sent.')
linkOutDiscardsHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 60), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutDiscardsHiQ.setStatus('current')
if mibBuilder.loadTexts: linkOutDiscardsHiQ.setDescription('The number of outbound packets on High Priority Queue which were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space.')
linkOutErrorHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 61), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOutErrorHiQ.setStatus('current')
if mibBuilder.loadTexts: linkOutErrorHiQ.setDescription('The number of outbound packets on High Priority Queue that could not be transmitted because of errors.')
vcQOverflow = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 62), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vcQOverflow.setStatus('current')
if mibBuilder.loadTexts: vcQOverflow.setDescription('The number of packets dropped due to Queue overflow on VC.')
vcQOverflowHiQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 63), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vcQOverflowHiQ.setStatus('current')
if mibBuilder.loadTexts: vcQOverflowHiQ.setDescription('The number of packets dropped due to Queue overflow on High Priority VC, if enabled.')
p7p8HiPriQEn = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 64), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled-or-NA", 0), ("enabled", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: p7p8HiPriQEn.setStatus('current')
if mibBuilder.loadTexts: p7p8HiPriQEn.setDescription('Returns whether P7/P8 hi priority channel is enabled. On non-P7/P8 devices will return 0 always.')
p7p8HiPriQ = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 65), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: p7p8HiPriQ.setStatus('current')
if mibBuilder.loadTexts: p7p8HiPriQ.setDescription('Hi Priority Queue statistics for P7 or P8 radios, if enabled. If not enabled, or not a P7 or P8, will return 0.')
linkAirDelayns = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 66), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAirDelayns.setStatus('current')
if mibBuilder.loadTexts: linkAirDelayns.setDescription('The current round trip air delay in nanoseconds measured between the AP and SM.')
linkQualityAPData = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 67), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkQualityAPData.setStatus('current')
if mibBuilder.loadTexts: linkQualityAPData.setDescription("The current link quality of the SM's data from the AP. This is relative to the current modulation rate (1X, 2X, 3X, etc).")
linkManagementIP = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 69), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkManagementIP.setStatus('current')
if mibBuilder.loadTexts: linkManagementIP.setDescription('Management IP Address of the unit. 0 indicates SM is not publically addressable.')
linkFragmentsReceived1XVertical = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 70), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkFragmentsReceived1XVertical.setStatus('current')
if mibBuilder.loadTexts: linkFragmentsReceived1XVertical.setDescription('Engineering use only. Number of fragments received in 1x (QPSK) modulation. For GenII OFDM and forward. For MIMO this is the vertical path.')
linkFragmentsReceived2XVertical = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 71), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkFragmentsReceived2XVertical.setStatus('current')
if mibBuilder.loadTexts: linkFragmentsReceived2XVertical.setDescription('Engineering use only. Number of fragments received in 2x (16-QAM) modulation. For GenII OFDM and forward. For MIMO this is the vertical path.')
linkFragmentsReceived3XVertical = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 72), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkFragmentsReceived3XVertical.setStatus('current')
if mibBuilder.loadTexts: linkFragmentsReceived3XVertical.setDescription('Engineering use only. Number of fragments received in 3x (64-QAM) modulation. For GenII OFDM and forward. For MIMO this is the vertical path.')
linkFragmentsReceived4XVertical = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 73), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkFragmentsReceived4XVertical.setStatus('current')
if mibBuilder.loadTexts: linkFragmentsReceived4XVertical.setDescription('Engineering use only. Number of fragments received in 4x (256-QAM) modulation. For GenII OFDM and forward. For MIMO this is the vertical path.')
signalToNoiseRatioVertical = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 74), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: signalToNoiseRatioVertical.setStatus('current')
if mibBuilder.loadTexts: signalToNoiseRatioVertical.setDescription('Estimate of the receive signal to noise ratio in dB. For GenII OFDM and forward. For MIMO this is the vertical path.')
radiusReplyMsg = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 75), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: radiusReplyMsg.setStatus('current')
if mibBuilder.loadTexts: radiusReplyMsg.setDescription('The RADIUS Reply-Msg populated for the SM. This is only valid when using a backen AAA server.')
autoUpdateStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 76), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: autoUpdateStatus.setStatus('current')
if mibBuilder.loadTexts: autoUpdateStatus.setDescription('status of the auto update process')
radiusFramedIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 77), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: radiusFramedIPAddress.setStatus('current')
if mibBuilder.loadTexts: radiusFramedIPAddress.setDescription('This Attribute indicates the IP address to be configured for the SM management interface.')
radiusFramedIPNetmask = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 78), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: radiusFramedIPNetmask.setStatus('current')
if mibBuilder.loadTexts: radiusFramedIPNetmask.setDescription('This Attribute indicates the netmask to be configured for the SM management interface.')
radiusDefaultGateway = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 79), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: radiusDefaultGateway.setStatus('current')
if mibBuilder.loadTexts: radiusDefaultGateway.setDescription('This Attribute indicates the default gateway to be configured for the SM management interface.')
linkFragmentsReceived1XHorizontal = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 80), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkFragmentsReceived1XHorizontal.setStatus('current')
if mibBuilder.loadTexts: linkFragmentsReceived1XHorizontal.setDescription('Engineering use only. Number of fragments received in 1x (QPSK) modulation. For MIMO only. For MIMO this is the horizontal path.')
linkFragmentsReceived2XHorizontal = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 81), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkFragmentsReceived2XHorizontal.setStatus('current')
if mibBuilder.loadTexts: linkFragmentsReceived2XHorizontal.setDescription('Engineering use only. Number of fragments received in 2x (16-QAM) modulation. For MIMO only. For MIMO this is the horizontal path.')
linkFragmentsReceived3XHorizontal = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 82), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkFragmentsReceived3XHorizontal.setStatus('current')
if mibBuilder.loadTexts: linkFragmentsReceived3XHorizontal.setDescription('Engineering use only. Number of fragments received in 3x (64-QAM) modulation. For MIMO only. For MIMO this is the horizontal path.')
linkFragmentsReceived4XHorizontal = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 83), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkFragmentsReceived4XHorizontal.setStatus('current')
if mibBuilder.loadTexts: linkFragmentsReceived4XHorizontal.setDescription('Engineering use only. Number of fragments received in 4x (256-QAM) modulation. For MIMO only. For MIMO this is the horizontal path.')
signalToNoiseRatioHorizontal = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 84), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: signalToNoiseRatioHorizontal.setStatus('current')
if mibBuilder.loadTexts: signalToNoiseRatioHorizontal.setDescription('Estimate of the receive signal to noise ratio in dB. MIMO radios only. For MIMO this is the horizontal path.')
linkSignalStrengthRatio = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 86), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkSignalStrengthRatio.setStatus('current')
if mibBuilder.loadTexts: linkSignalStrengthRatio.setDescription('Signal Strength Ratio in dB is the power received by the vertical antenna input (dB) - power received by the horizontal antenna input (dB). MIMO radios only.')
linkRadioDbmHorizontal = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 87), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkRadioDbmHorizontal.setStatus('current')
if mibBuilder.loadTexts: linkRadioDbmHorizontal.setDescription('Receive power level of the horizontal antenna in dBm. MIMO radios only.')
linkRadioDbmVertical = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 88), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkRadioDbmVertical.setStatus('current')
if mibBuilder.loadTexts: linkRadioDbmVertical.setDescription('Receive power level of the vertical antenna in dBm. MIMO radios only.')
maxSMTxPwr = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 89), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: maxSMTxPwr.setStatus('current')
if mibBuilder.loadTexts: maxSMTxPwr.setDescription('Returns whether SM is transmitting at its configured max power level.')
productType = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 90), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("unknown", 0), ("pmp450MIMOOFDM", 1), ("pmp430SISOOFDM", 2), ("pmp450SISOOFDM", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: productType.setStatus('current')
if mibBuilder.loadTexts: productType.setDescription('Returns which type of product the SM is. PMP450 APs only.')
linkAdaptRateLowPri = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 91), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 6, 8))).clone(namedValues=NamedValues(("noSession", 0), ("rate1X", 1), ("rate2X", 2), ("rete3X", 3), ("rate4X", 4), ("rate6X", 6), ("rate8X", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAdaptRateLowPri.setStatus('current')
if mibBuilder.loadTexts: linkAdaptRateLowPri.setDescription('The current transmitting rate of the low priority VC. 0 : SM is not in session 1 : 1X QPSK SISO 2 : 2X 16-QAM SISO or QPSK MIMO 3 : 3X 64-QAM SISO 4 : 4X 256-QAM SISO or 16-QAM MIMO 6 : 6X 64-QAM MIMO 8 : 8X 256-QAM MIMO')
linkAdaptRateHighPri = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 4, 1, 92), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(-1, 0, 1, 2, 3, 4, 6, 8))).clone(namedValues=NamedValues(("noHighPriorityChannel", -1), ("noSession", 0), ("rate1X", 1), ("rate2X", 2), ("rete3X", 3), ("rate4X", 4), ("rate6X", 6), ("rate8X", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAdaptRateHighPri.setStatus('current')
if mibBuilder.loadTexts: linkAdaptRateHighPri.setDescription('The current transmitting rate of the high priority VC. -1 : High Priority Channel not configured 0 : SM is not in session 1 : 1X QPSK SISO 2 : 2X 16-QAM SISO or QPSK MIMO 3 : 3X 64-QAM SISO 4 : 4X 256-QAM SISO or 16-QAM MIMO 6 : 6X 64-QAM MIMO 8 : 8X 256-QAM MIMO')
whispFailedRegTable = MibTable((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 8), )
if mibBuilder.loadTexts: whispFailedRegTable.setStatus('current')
if mibBuilder.loadTexts: whispFailedRegTable.setDescription('List of link test results')
whispFailedRegEntry = MibTableRow((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 8, 1), ).setIndexNames((0, "WHISP-APS-MIB", "regFailSeqNum"))
if mibBuilder.loadTexts: whispFailedRegEntry.setStatus('current')
if mibBuilder.loadTexts: whispFailedRegEntry.setDescription('List of Failed ESNs')
regGrantReason = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 8, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("reggnt-valid", 0), ("reggnt-outofrange", 1), ("reggnt-nolUIDS", 2), ("reggnt-rerange", 3), ("reggnt-authfail", 4), ("reggnt-encryptfail", 5), ("reggnt-poweradjust", 6), ("reggnt-novcs", 7), ("reggnt-failvcreserve", 8), ("reggnt-failvcactive", 9), ("reggnt-failhivcdata", 10), ("reggnt-failsmlimit", 11), ("reggnt-fail95orabove", 12)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: regGrantReason.setStatus('current')
if mibBuilder.loadTexts: regGrantReason.setDescription('The registration failure reason')
regFailESN = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 8, 1, 2), PhysAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: regFailESN.setStatus('current')
if mibBuilder.loadTexts: regFailESN.setDescription('The ESN that failed to register')
regFailTime = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 8, 1, 3), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: regFailTime.setStatus('current')
if mibBuilder.loadTexts: regFailTime.setDescription('The number of ticks that occurred when the ESN failed to register')
regFailSeqNum = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 8, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: regFailSeqNum.setStatus('current')
if mibBuilder.loadTexts: regFailSeqNum.setDescription('The sequence when the register failure was given.')
regFailReasonText = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 1, 8, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: regFailReasonText.setStatus('current')
if mibBuilder.loadTexts: regFailReasonText.setDescription('The text description of the failure.')
mibBuilder.exportSymbols("WHISP-APS-MIB", whispApsConfigGroup=whispApsConfigGroup, radioMaxRange=radioMaxRange, linkOutNUcastPktsHiQ=linkOutNUcastPktsHiQ, regFailESN=regFailESN, dataSlotUp=dataSlotUp, linkOutQLen=linkOutQLen, linkInDiscards=linkInDiscards, authMode=authMode, sesLoUpCIR=sesLoUpCIR, gpsSatellitesTracked=gpsSatellitesTracked, regFailReasonText=regFailReasonText, fragments2xDwnLinkVertical=fragments2xDwnLinkVertical, sesHiDownCIR=sesHiDownCIR, bitErrorsCorrected2xUpLinkVertical=bitErrorsCorrected2xUpLinkVertical, apLinkSpeed=apLinkSpeed, smIsolation=smIsolation, linkInNUcastPkts=linkInNUcastPkts, upLinkEff=upLinkEff, allowedIPAccessNMLength1=allowedIPAccessNMLength1, rfFreqCaralt2=rfFreqCaralt2, whispUsrAuthSharedSecret2=whispUsrAuthSharedSecret2, linkFragmentsReceived3XVertical=linkFragmentsReceived3XVertical, dataVCNum=dataVCNum, whispApsEvent=whispApsEvent, dhcpRelayAgentEnable=dhcpRelayAgentEnable, radiusReplyMsg=radiusReplyMsg, testLUID=testLUID, allowedIPAccess2=allowedIPAccess2, whispUsrAuthSharedSecret1=whispUsrAuthSharedSecret1, signalToNoiseRatioDownLinkHorizontal=signalToNoiseRatioDownLinkHorizontal, upLnkLimit=upLnkLimit, whispUsrAuthPhase1=whispUsrAuthPhase1, linkTestNumPkt=linkTestNumPkt, linkInUcastPktsHiQ=linkInUcastPktsHiQ, fragments2xDwnLinkHorizontal=fragments2xDwnLinkHorizontal, ntpServerIp=ntpServerIp, fskSMTxPwrCntl=fskSMTxPwrCntl, dhcpRlyAgntStat_untrustedDiscards=dhcpRlyAgntStat_untrustedDiscards, radioControlSlots=radioControlSlots, bitErrorsCorrected3xDwnLinkVertical=bitErrorsCorrected3xDwnLinkVertical, actionListFilename=actionListFilename, syslogServerPort=syslogServerPort, dlnkMcastCIR=dlnkMcastCIR, linkLastRSSI=linkLastRSSI, signalToNoiseRatioDownLinkVertical=signalToNoiseRatioDownLinkVertical, syslogDomainNameAppend=syslogDomainNameAppend, autoSyncStatus=autoSyncStatus, whispApsConfig=whispApsConfig, linkInUnknownProtosHiQ=linkInUnknownProtosHiQ, linkFragmentsReceived2XVertical=linkFragmentsReceived2XVertical, linkQualityAPData=linkQualityAPData, asIP1=asIP1, linkAirDelayns=linkAirDelayns, resetSesStats=resetSesStats, linkOutOctetsHiQ=linkOutOctetsHiQ, remoteSpectrumAnalyzerLUID=remoteSpectrumAnalyzerLUID, radioDownlinkPercent=radioDownlinkPercent, gpsInvalidMsg=gpsInvalidMsg, dlnkBcastCIR=dlnkBcastCIR, linkInOctetsHiQ=linkInOctetsHiQ, avgPowerLevel=avgPowerLevel, linkOutDiscardsHiQ=linkOutDiscardsHiQ, dhcpRlyAgntStat_pktTooBig=dhcpRlyAgntStat_pktTooBig, uGPSPower=uGPSPower, rfOLEnable=rfOLEnable, linkESN=linkESN, broadcastRetryCount=broadcastRetryCount, whispApsDNS=whispApsDNS, authServer3=authServer3, rfOLTrap=rfOLTrap, regFailTime=regFailTime, currentRadioFreqCarrier=currentRadioFreqCarrier, softwareVersion=softwareVersion, ntpServer2=ntpServer2, authKeyAp=authKeyAp, linkOutErrorHiQ=linkOutErrorHiQ, vcQOverflowHiQ=vcQOverflowHiQ, bitErrorsCorrected4xUpLinkVertical=bitErrorsCorrected4xUpLinkVertical, ntpServer3=ntpServer3, dfsStatusPrimary=dfsStatusPrimary, scheduleWhitening=scheduleWhitening, dhcpRlyAgntStat_respRelayed=dhcpRlyAgntStat_respRelayed, dhcpRlyAgntStat_respDiscards=dhcpRlyAgntStat_respDiscards, bitErrorsCorrected1xDwnLinkVertical=bitErrorsCorrected1xDwnLinkVertical, dhcpRlyAgntStat_reqRecvd=dhcpRlyAgntStat_reqRecvd, regFailSeqNum=regFailSeqNum, whispApsLinkTestConfig=whispApsLinkTestConfig, txPwrLevel=txPwrLevel, radiusPort=radiusPort, regGrantReason=regGrantReason, bitErrorsCorrected4xUpLinkHorizontal=bitErrorsCorrected4xUpLinkHorizontal, linkOutError=linkOutError, bitErrorsCorrected4xDwnLinkVertical=bitErrorsCorrected4xDwnLinkVertical, displayAPEval=displayAPEval, softwareBootVersion=softwareBootVersion, systemTime=systemTime, authSharedSecret3=authSharedSecret3, gpsRestartCount=gpsRestartCount, regulatoryStatus=regulatoryStatus, linkPhysAddress=linkPhysAddress, fragments4xDwnLinkHorizontal=fragments4xDwnLinkHorizontal, allowedIPAccess3=allowedIPAccess3, fragments3xUpLinkVertical=fragments3xUpLinkVertical, whispApsRFConfig=whispApsRFConfig, authDomainNameAppend=authDomainNameAppend, untranslatedArp=untranslatedArp, dhcpRlyAgntStat_reqDiscards=dhcpRlyAgntStat_reqDiscards, whispApsControls=whispApsControls, whispUsrAuthSharedSecret3=whispUsrAuthSharedSecret3, regulatoryCheckFailedNoRegionAp=regulatoryCheckFailedNoRegionAp, dwnLnkDataRate=dwnLnkDataRate, linkAveJitter=linkAveJitter, clearLinkTableStats=clearLinkTableStats, expDwnFragCount=expDwnFragCount, radioTransmitOutputPower=radioTransmitOutputPower, whispUsrAcctSvr1=whispUsrAcctSvr1, whispRegStatus=whispRegStatus, downLinkEff=downLinkEff, syslogServerAddr=syslogServerAddr, whispRegLost=whispRegLost, remoteSpectrumAnalysisDuration=remoteSpectrumAnalysisDuration, linkTestWithDualPath=linkTestWithDualPath, dfsStatusAlt2=dfsStatusAlt2, rfTelnetAccess=rfTelnetAccess, dataSlotDwn=dataSlotDwn, dhcpRlyAgntStat_respRecvd=dhcpRlyAgntStat_respRecvd, numCtrSlotHi=numCtrSlotHi, regCount=regCount, ntpLogSNMP=ntpLogSNMP, whispApsFailedRegTableGroup=whispApsFailedRegTableGroup, regulatoryApCheckInvalidChanFailed=regulatoryApCheckInvalidChanFailed, ntpDomainNameAppend=ntpDomainNameAppend, p7p8HiPriQ=p7p8HiPriQ, radiusFramedIPNetmask=radiusFramedIPNetmask, sesLoDownCIR=sesLoDownCIR, numCtlSlotsHW=numCtlSlotsHW, authServer5=authServer5, linkLUID=linkLUID, p7p8HiPriQEn=p7p8HiPriQEn, whispRadarDetected=whispRadarDetected, dhcpRlyAgntStat_reqRelayed=dhcpRlyAgntStat_reqRelayed, ofdmSMRcvTargetLvl=ofdmSMRcvTargetLvl, signalToNoiseRatioUpLinkVertical=signalToNoiseRatioUpLinkVertical, linkInErrorHiQ=linkInErrorHiQ, bitErrorsCorrected2xDwnLinkVertical=bitErrorsCorrected2xDwnLinkVertical, linkTestAction=linkTestAction, fragments4xUpLinkVertical=fragments4xUpLinkVertical, whispApRegulatoryEvent=whispApRegulatoryEvent, linkLastJitter=linkLastJitter, apVlanOverride=apVlanOverride, dataVCNumHiQ=dataVCNumHiQ, dfsStatus=dfsStatus, lastPowerLevel=lastPowerLevel, berModSelect=berModSelect, platformVer=platformVer, whispApRFOverloadEvent=whispApRFOverloadEvent, linkManagementIP=linkManagementIP, fragments2xUpLinkHorizontal=fragments2xUpLinkHorizontal, asIP5=asIP5, qinqEthType=qinqEthType, whispApsLinkTestResult=whispApsLinkTestResult, lanMaskAp=lanMaskAp, whispDefKeyUsed=whispDefKeyUsed, rfPPPoEPADIForwarding=rfPPPoEPADIForwarding, whispRegFailure=whispRegFailure, hiPriQEn=hiPriQEn, bitErrorsCorrected2xDwnLinkHorizontal=bitErrorsCorrected2xDwnLinkHorizontal, whispApsNotifGroup=whispApsNotifGroup, radioSlicingAp=radioSlicingAp, apBeaconInfo=apBeaconInfo, linkTestDuration=linkTestDuration, ipAccessFilterEnable=ipAccessFilterEnable, numCtlSlotsReserveHigh=numCtlSlotsReserveHigh, rfOutDiscardRate=rfOutDiscardRate, uAcksReservHigh=uAcksReservHigh, lanIpAp=lanIpAp, gpsSyncStatus=gpsSyncStatus, apRateAdapt=apRateAdapt, sesHiUpCIR=sesHiUpCIR, whispGPSInSync=whispGPSInSync, linkAirDelay=linkAirDelay, apRxDelay=apRxDelay, gpsLongitude=gpsLongitude, linkSpeed=linkSpeed, maxDwnLinkIndex=maxDwnLinkIndex, linkAdaptRateHighPri=linkAdaptRateHighPri, onlyAllowVer95OrAbove=onlyAllowVer95OrAbove, colorCodeRescanIdleTimer=colorCodeRescanIdleTimer, upLnkAckSlot=upLnkAckSlot, numUAckSlots=numUAckSlots, berMode=berMode, maxRange=maxRange, sectorID=sectorID, gpsSyncSource=gpsSyncSource, fragments3xDwnLinkVertical=fragments3xDwnLinkVertical, upLnkAckSlotHi=upLnkAckSlotHi, gpsReInitCount=gpsReInitCount, maxSMTxPwr=maxSMTxPwr, dwnLnkData=dwnLnkData, linkMtu=linkMtu, linkInDiscardsHiQ=linkInDiscardsHiQ, radiusFramedIPAddress=radiusFramedIPAddress, regFailureCount=regFailureCount, linkAdaptRateLowPri=linkAdaptRateLowPri, sesDownLinkRate=sesDownLinkRate, bitErrorsCorrected3xUpLinkHorizontal=bitErrorsCorrected3xUpLinkHorizontal, fskSMRcvTargetLvl=fskSMRcvTargetLvl, testDuration=testDuration, whispFailedRegEntry=whispFailedRegEntry, fpgaVersion=fpgaVersion, multicastVCDataRate=multicastVCDataRate, allowedIPAccess1=allowedIPAccess1, updateAppAddress=updateAppAddress, asIP2=asIP2, encryptDwBroadcast=encryptDwBroadcast, remoteSpectrumAnalyzerScanBandwidth=remoteSpectrumAnalyzerScanBandwidth, linkTestMode=linkTestMode, radiusAcctPort=radiusAcctPort, numCtrSlot=numCtrSlot, maxUpLinkIndex=maxUpLinkIndex, actUpLinkIndex=actUpLinkIndex, whispLinkTestGroup=whispLinkTestGroup, whispGPSOutSync=whispGPSOutSync, vcQOverflow=vcQOverflow, whispApsGroups=whispApsGroups, rfFreqCarrier=rfFreqCarrier, PYSNMP_MODULE_ID=whispApsMibModule, accountingInterimUpdateInterval=accountingInterimUpdateInterval, linkInError=linkInError, tslBridging=tslBridging, authKeyOptionAP=authKeyOptionAP, timeZone=timeZone, rfFreqCaralt1=rfFreqCaralt1, linkReRegCount=linkReRegCount, upLinkRate=upLinkRate, dhcprServer=dhcprServer, linkRadioDbmHorizontal=linkRadioDbmHorizontal, dwnLnkLimit=dwnLnkLimit, linkTimeOut=linkTimeOut, linkFragmentsReceived1XHorizontal=linkFragmentsReceived1XHorizontal, syslogXmitAP=syslogXmitAP, fragments1xDwnLinkHorizontal=fragments1xDwnLinkHorizontal, autoUpdateStatus=autoUpdateStatus, defaultGwAp=defaultGwAp, linkOutDiscards=linkOutDiscards, signalToNoiseRatioUpLinkHorizontal=signalToNoiseRatioUpLinkHorizontal, whispGPSStats=whispGPSStats, radioColorCode=radioColorCode, regTrap=regTrap, bridgeFloodUnknownsEnable=bridgeFloodUnknownsEnable, multicastRetryCount=multicastRetryCount, radioFreqCarrier=radioFreqCarrier, whispLinkEntry=whispLinkEntry, lastSesStatsReset=lastSesStatsReset)
mibBuilder.exportSymbols("WHISP-APS-MIB", gpsTrackingMode=gpsTrackingMode, linkTestPktLength=linkTestPktLength, enableAutoupdate=enableAutoupdate, gpsTrap=gpsTrap, upLnkMaxBurstDataRate=upLnkMaxBurstDataRate, linkOperStatus=linkOperStatus, whispUsrAcctSvr3=whispUsrAcctSvr3, dhcpRlyAgntStat_maxHopDiscards=dhcpRlyAgntStat_maxHopDiscards, linkTestSNRCalculation=linkTestSNRCalculation, privateIp=privateIp, whispFailedRegTable=whispFailedRegTable, acctDomainNameAppend=acctDomainNameAppend, fragments1xUpLinkHorizontal=fragments1xUpLinkHorizontal, linkRegCount=linkRegCount, dwnLnkMaxBurstDataRate=dwnLnkMaxBurstDataRate, whispApsStatus=whispApsStatus, adaptRate=adaptRate, linkOutNUcastPkts=linkOutNUcastPkts, fragments1xUpLinkVertical=fragments1xUpLinkVertical, linkSessState=linkSessState, maxRegSMCount=maxRegSMCount, highPriorityUpLnkPct=highPriorityUpLnkPct, whispApsRegEvent=whispApsRegEvent, dataSlotUpHi=dataSlotUpHi, whispWebUseAuthServer=whispWebUseAuthServer, bitErrorsCorrected3xUpLinkVertical=bitErrorsCorrected3xUpLinkVertical, radiusDefaultGateway=radiusDefaultGateway, linkFragmentsReceived1XVertical=linkFragmentsReceived1XVertical, whispApsMibModule=whispApsMibModule, whispApsDfsEvent=whispApsDfsEvent, actDwnFragCount=actDwnFragCount, apConfigAdjacentChanSupport=apConfigAdjacentChanSupport, dwnLnkAckSlot=dwnLnkAckSlot, linkOutUcastPktsHiQ=linkOutUcastPktsHiQ, linkRSSI=linkRSSI, dAcksReservHigh=dAcksReservHigh, linkSiteName=linkSiteName, linkSignalStrengthRatio=linkSignalStrengthRatio, linkOutOctets=linkOutOctets, smSessionTmr=smSessionTmr, gpsFreeRun=gpsFreeRun, fragments4xUpLinkHorizontal=fragments4xUpLinkHorizontal, linkInUcastPkts=linkInUcastPkts, actDwnLinkIndex=actDwnLinkIndex, linkTestStatus=linkTestStatus, gpsReceiverInfo=gpsReceiverInfo, limitFreqBand900=limitFreqBand900, whispUsrAcctSvr2=whispUsrAcctSvr2, fragments3xDwnLinkHorizontal=fragments3xDwnLinkHorizontal, authServer1=authServer1, numCtlSlots=numCtlSlots, sessionCount=sessionCount, fragments1xDwnLinkVertical=fragments1xDwnLinkVertical, smSessionSeqNumMismatch=smSessionSeqNumMismatch, whispApsGPS=whispApsGPS, actUpFragCount=actUpFragCount, productType=productType, upLnkDataRate=upLnkDataRate, verifyGPSChecksum=verifyGPSChecksum, fragments2xUpLinkVertical=fragments2xUpLinkVertical, syslogXmitSMs=syslogXmitSMs, authServer2=authServer2, sesUpLinkRate=sesUpLinkRate, fragments4xDwnLinkVertical=fragments4xDwnLinkVertical, gpsSatellitesVisible=gpsSatellitesVisible, dfsStatusAlt1=dfsStatusAlt1, authServer4=authServer4, linkDescr=linkDescr, linkFragmentsReceived3XHorizontal=linkFragmentsReceived3XHorizontal, allowedIPAccessNMLength3=allowedIPAccessNMLength3, radioTxGainAp=radioTxGainAp, txSpreading=txSpreading, gpsStatus=gpsStatus, linkFragmentsReceived4XHorizontal=linkFragmentsReceived4XHorizontal, bitErrorsCorrected1xUpLinkVertical=bitErrorsCorrected1xUpLinkVertical, uGPSPowerStatus=uGPSPowerStatus, whispApsRFConfigRadioEntry=whispApsRFConfigRadioEntry, expUpFragCount=expUpFragCount, colorCodeRescanTimer=colorCodeRescanTimer, bitErrorsCorrected1xDwnLinkHorizontal=bitErrorsCorrected1xDwnLinkHorizontal, dfsConfig=dfsConfig, gpsTime=gpsTime, linkInOctets=linkInOctets, asIP4=asIP4, gpsHeight=gpsHeight, radioMode=radioMode, airLinkSecurity=airLinkSecurity, whispApsLinkTableGroup=whispApsLinkTableGroup, whispRadarEnd=whispRadarEnd, lastNTPTime=lastNTPTime, gpsOutputEn=gpsOutputEn, accountingSmReAuthInterval=accountingSmReAuthInterval, linkFragmentsReceived4XVertical=linkFragmentsReceived4XVertical, fragments3xUpLinkHorizontal=fragments3xUpLinkHorizontal, configSource=configSource, bitErrorsCorrected2xUpLinkHorizontal=bitErrorsCorrected2xUpLinkHorizontal, rfOLThreshold=rfOLThreshold, authSharedSecret1=authSharedSecret1, dhcprDomainNameAppend=dhcprDomainNameAppend, downLinkRate=downLinkRate, dropSession=dropSession, gpsDate=gpsDate, authSharedSecret2=authSharedSecret2, linkFragmentsReceived2XHorizontal=linkFragmentsReceived2XHorizontal, whispRegComplete=whispRegComplete, bitErrorsCorrected1xUpLinkHorizontal=bitErrorsCorrected1xUpLinkHorizontal, allowedIPAccessNMLength2=allowedIPAccessNMLength2, linkTestError=linkTestError, gpsAntennaConnection=gpsAntennaConnection, encryptionMode=encryptionMode, linkRadioDbmVertical=linkRadioDbmVertical, numDAckSlots=numDAckSlots, asIP3=asIP3, linkInNUcastPktsHiQ=linkInNUcastPktsHiQ, sesDownLinkLimit=sesDownLinkLimit, signalToNoiseRatioVertical=signalToNoiseRatioVertical, dwnLnkAckSlotHi=dwnLnkAckSlotHi, linkInUnknownProtos=linkInUnknownProtos, bitErrorsCorrected4xDwnLinkHorizontal=bitErrorsCorrected4xDwnLinkHorizontal, bhReReg=bhReReg, whispApsLink=whispApsLink, linkTestLUID=linkTestLUID, bitErrorsCorrected3xDwnLinkHorizontal=bitErrorsCorrected3xDwnLinkHorizontal, regulatoryApCheckInvalidChBwFailed=regulatoryApCheckInvalidChBwFailed, sesUpLinkLimit=sesUpLinkLimit, vlanEnable=vlanEnable, autoUpdateGlobalStatus=autoUpdateGlobalStatus, whispGPSEvent=whispGPSEvent, signalToNoiseRatioHorizontal=signalToNoiseRatioHorizontal, whispLinkTable=whispLinkTable, whispApsRFConfigRadios=whispApsRFConfigRadios, ntpServer1=ntpServer1, gpsInput=gpsInput, dhcpRelayAgentSrvrIP=dhcpRelayAgentSrvrIP, dhcpRlyAgntStat_invalidGiaddrDiscards=dhcpRlyAgntStat_invalidGiaddrDiscards, gpsLatitude=gpsLatitude, linkOutUcastPkts=linkOutUcastPkts, rfLinkOverloadCondition=rfLinkOverloadCondition)
|
from django.conf.urls import url
from . import api
urlpatterns = [
url(r'district/$', api.GetDistrictView.as_view()),
]
|
from osbot_browser.javascript.ArrayExpression import ArrayExpression
from osbot_browser.javascript.AssignmentExpression import AssignmentExpression
from osbot_browser.javascript.BinaryExpression import BinaryExpression
from osbot_browser.javascript.BlockStatement import BlockStatement
from osbot_browser.javascript.BreakStatement import BreakStatement
from osbot_browser.javascript.CallExpression import CallExpression
from osbot_browser.javascript.CatchClause import CatchClause
from osbot_browser.javascript.ConditionalExpression import ConditionalExpression
from osbot_browser.javascript.DoWhileStatement import DoWhileStatement
from osbot_browser.javascript.EmptyStatement import EmptyStatement
from osbot_browser.javascript.ExpressionStatement import ExpressionStatement
from osbot_browser.javascript.ForInStatement import ForInStatement
from osbot_browser.javascript.ForStatement import ForStatement
from osbot_browser.javascript.FunctionDeclaration import FunctionDeclaration
from osbot_browser.javascript.FunctionExpression import FunctionExpression
from osbot_browser.javascript.Identifier import Identifier
from osbot_browser.javascript.IfStatement import IfStatement
from osbot_browser.javascript.Literal import Literal
from osbot_browser.javascript.LogicalExpression import LogicalExpression
from osbot_browser.javascript.MemberExpression import MemberExpression
from osbot_browser.javascript.NewExpression import NewExpression
from osbot_browser.javascript.Not_Supported_Type import Not_Supported_Type
from osbot_browser.javascript.ObjectExpression import ObjectExpression
from osbot_browser.javascript.Program import Program
from osbot_browser.javascript.Property import Property
from osbot_browser.javascript.ReturnStatement import ReturnStatement
from osbot_browser.javascript.SequenceExpression import SequenceExpression
from osbot_browser.javascript.SwitchCase import SwitchCase
from osbot_browser.javascript.SwitchStatement import SwitchStatement
from osbot_browser.javascript.ThisExpression import ThisExpression
from osbot_browser.javascript.ThrowStatement import ThrowStatement
from osbot_browser.javascript.TryStatement import TryStatement
from osbot_browser.javascript.UnaryExpression import UnaryExpression
from osbot_browser.javascript.UpdateExpression import UpdateExpression
from osbot_browser.javascript.VariableDeclaration import VariableDeclaration
from osbot_browser.javascript.VariableDeclarator import VariableDeclarator
from osbot_browser.javascript.WhileStatement import WhileStatement
NOT_SUPPORTED_TYPE = "Not_Supported_Type"
supported_types = { "AssignmentExpression" : AssignmentExpression ,
"ArrayExpression" : ArrayExpression ,
"BinaryExpression" : BinaryExpression ,
"BlockStatement" : BlockStatement ,
"BreakStatement" : BreakStatement ,
"CallExpression" : CallExpression ,
"CatchClause" : CatchClause ,
"ConditionalExpression" : ConditionalExpression ,
"DoWhileStatement" : DoWhileStatement ,
"EmptyStatement" : EmptyStatement ,
"ExpressionStatement" : ExpressionStatement ,
"ForStatement" : ForStatement ,
"FunctionDeclaration" : FunctionDeclaration ,
"FunctionExpression" : FunctionExpression ,
"Identifier" : Identifier ,
"IfStatement" : IfStatement ,
"ForInStatement" : ForInStatement ,
"Literal" : Literal ,
"LogicalExpression" : LogicalExpression ,
"MemberExpression" : MemberExpression ,
"NewExpression" : NewExpression ,
"ObjectExpression" : ObjectExpression ,
"SequenceExpression" : SequenceExpression ,
"SwitchCase" : SwitchCase ,
"SwitchStatement" : SwitchStatement ,
"ReturnStatement" : ReturnStatement ,
"ThisExpression" : ThisExpression ,
"ThrowStatement" : ThrowStatement ,
"TryStatement" : TryStatement ,
"UnaryExpression" : UnaryExpression ,
"UpdateExpression" : UpdateExpression ,
"VariableDeclaration" : VariableDeclaration ,
"VariableDeclarator" : VariableDeclarator ,
"Program" : Program ,
"Property" : Property ,
"WhileStatement" : WhileStatement ,
NOT_SUPPORTED_TYPE : Not_Supported_Type # special one to capture the notes currently not supported
}
|
@pytest.mark.skip(reason="no way of currently testing this")
def test_the_unknown():
pass
def test_1():
if True:
pytest.skip("unsupported configuration")
@pytest.mark.skipif(
"sys.version_info < (3,8)", reason="requires python3.8 or higher"
)
def test_2(): pass
@pytest.mark.skipif('os.environ.get("TEST_LEVEL") != "unit"')
def test_3(): pass
|
from abc import abstractmethod, ABCMeta
class Controller(object, metaclass=ABCMeta):
@abstractmethod
def initialize(self):
pass
@abstractmethod
def act(self, observations, actions):
pass
@abstractmethod
def train(self, rollouts, train_step):
pass
|
import jupytext
import textwrap
import mistune
class Render(mistune.Renderer):
def __init__(self, gen):
super().__init__()
self.gen = gen
def header(self, text, level, raw=None):
if level == 1:
self.gen.gen(f"__toc.title('{text}')")
if level == 2:
self.gen.gen(f"__toc.header('{text}')")
if level == 3:
self.gen.gen(f"__toc.subheader('{text}')")
return ""
class Generate:
def __init__(self, out_stream):
self.out_stream = out_stream
self.all_markdown = ""
def gen(self, l):
print(l, file=self.out_stream)
def markdown(self, source):
self.all_markdown += source + "\n"
self.gen('__st.markdown("""%s""")' % source)
def code(self, source):
wrapper = textwrap.TextWrapper(
initial_indent="\t", subsequent_indent="\t", width=5000
)
if not source.strip():
return
self.gen("with __st.echo(), streambook.st_stdout('info'):")
for l in source.splitlines():
self.gen(wrapper.fill(l))
header = """
import streamlit as __st
import streambook
__toc = streambook.TOC_Sidebar()"""
footer = """
__toc.generate()"""
class Generator:
def __init__(self):
pass
def generate(self, in_file, out_stream):
gen = Generate(out_stream)
markdown = mistune.Markdown(renderer=Render(gen))
gen.gen(header)
for i, cell in enumerate(jupytext.read(in_file)["cells"]):
if cell["cell_type"] == "markdown":
gen.markdown(cell["source"])
else:
gen.code(cell["source"])
markdown(gen.all_markdown)
gen.gen(footer)
if __name__ == "__main__":
import argparse, os, sys
parser = argparse.ArgumentParser(description="Stream book options.")
parser.add_argument("file", help="file to run", type=os.path.abspath)
args = parser.parse_args()
Generator().generate(args.file, sys.stdout)
|
from enum import Enum
from pydantic import Field
from uuid import UUID
from .base import BaseModel
class ReportState(Enum):
NotApplicable = 'not-applicable'
Good = 'good'
Monitor = 'monitor'
Repair = 'repair'
Retire = 'retire'
class ReportElement(BaseModel):
id: UUID = Field(...)
title: str = Field(...)
description: str = Field(...)
class ReportElementInWrite(BaseModel):
title: str = Field(...)
description: str = Field(...)
|
import os
import sys
sys.path.append(os.path.abspath(os.path.join(__file__, "../../../..")))
import argparse
import json
import v1.lib.s3.rgw as rgw_lib
import v1.utils.log as log
import yaml
from v1.lib.io_info import AddIOInfo
from v1.lib.s3.rgw import Config
from v1.utils.test_desc import AddTestInfo
def test_exec(config):
test_info = AddTestInfo("create users")
add_io_info = AddIOInfo()
add_io_info.initialize()
try:
test_info.started_info()
all_user_details = rgw_lib.create_users(config.user_count, config.cluster_name)
# dump the list of users into a file
with open("user_details", "w") as fout:
json.dump(all_user_details, fout)
test_info.success_status("user creation completed")
sys.exit(0)
except AssertionError as e:
log.error(e)
test_info.failed_status("user creation failed: %s" % e)
sys.exit(1)
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="RGW Automation")
parser.add_argument("-c", dest="config", help="RGW Test yaml configuration")
parser.add_argument(
"-p", dest="port", default="8080", help="port number where RGW is running"
)
args = parser.parse_args()
yaml_file = args.config
config = Config()
if yaml_file is None:
config.cluster_name = "ceph"
config.user_count = 2
else:
with open(yaml_file, "r") as f:
doc = yaml.load(f)
config.cluster_name = doc["config"]["cluster_name"]
config.user_count = doc["config"]["user_count"]
log.info("user_count:%s\n" % (config.user_count))
test_exec(config)
|
import datetime
from django.shortcuts import render, get_object_or_404, HttpResponseRedirect
from django.views import generic
from django.utils import timezone
from django.urls import reverse
from django.core.paginator import Paginator
from .models_posts import Post, PostComment
from .models import Category, Partner
from .forms import PostCommentForm
def set_context(request, context, search=True):
context['c_user'] = request.user
context['atposts'] = True
context['search'] = search
context['partners'] = Partner.objects.filter(active=True)
context['categories'] = Category.objects.all()
def index(request):
template_name = "posts/index.html"
posts = Post.objects.filter(status=1).order_by('-created_on')
context = {
'posts': posts,
'title': 'Posts'
}
paginator = Paginator(posts, 20) # Show 20 per page.
page_number = request.GET.get('page')
page_obj = paginator.get_page(page_number)
context['page_obj'] = page_obj
set_context(request, context)
return render(request, template_name, context)
def detail(request, slug):
template_name = "posts/detail.html"
post = get_object_or_404(Post, slug=slug)
context = {
'post': post,
'title': post.title,
}
comments = post.comments.filter(active=True).order_by('created_on')
paginator = Paginator(comments, 15)
page_number = request.GET.get('page')
page_obj = paginator.get_page(page_number)
context['page_obj'] = page_obj
set_context(request, context, False)
new_comment = None
if request.method == 'POST':
comment_form = PostCommentForm(data = request.POST)
# check if there are some comments with the same details
# email and textmust be unique for every comment
comments = PostComment.objects.filter(
body=request.POST['body'],
email=request.POST['email'])
if comments: # comments are found, redirect
return HttpResponseRedirect(reverse('blog:posts_detail', args=(post.slug,)))
if comment_form.is_valid():
new_comment = comment_form.save(commit=False)
new_comment.post = post
new_comment.save()
else:
comment_form = PostCommentForm()
context['new_comment'] = new_comment
context['form'] = comment_form
return render(request, template_name, context)
def last_posts(request, days):
template_name = "posts/index.html"
time = timezone.now() - datetime.timedelta(days=days)
posts = Post.objects.filter(
created_on__gte=time, created_on__lte=timezone.now(),
status=1
).order_by('-created_on')
context = {}
paginator = Paginator(posts, 20)
page_number = request.GET.get('page')
page_obj = paginator.get_page(page_number)
context['page_obj'] = page_obj
context['title'] = 'Posts from Last ' + str(days) + ' day(s)'
set_context(request, context)
return render(request, template_name, context)
def category_detail(request, pk):
template_name = "posts/category_detail.html"
category = get_object_or_404(Category, pk=pk)
context = {
'category': category,
'title': category.name,
}
set_context(request, context)
posts = category.posts.filter(status=1).order_by('-created_on')
paginator = Paginator(posts, 20) # Show 20 per page.
page_number = request.GET.get('page')
page_obj = paginator.get_page(page_number)
context['page_obj'] = page_obj
return render(request, template_name, context) |
from days.day21 import get_goodfood_count
from days.day21 import get_badfood
from utils.reading_data import get_string_input_array
input = get_string_input_array(path="2020/test/data/day21.txt")
def test_get_goodfood_count():
expected = 5
actual = get_goodfood_count(input)
assert expected == actual
def test_get_badfood():
expected = "mxmxvkd,sqjhc,fvjkl"
actual = get_badfood(input)
assert expected == actual
|
import cv2 as cv
import sys
import numpy as np
import matplotlib.pyplot as plt
img = cv.imread("img/test.png")
if img is None:
sys.exit("Could not read the image.")
cv.imshow("image", img)
hsv = cv.cvtColor(img,cv.COLOR_BGR2HSV)
hist = cv.calcHist([hsv], [0, 1], None, [180, 256], [0, 180, 0, 256])
plt.imshow(hist, interpolation = 'nearest')
plt.show()
k = cv.waitKey(0)
|
''' Auto Response Module '''
from modules.parser.models import (ChildMetadataType, CompoundMetadataType,
MetadataType, get_child_objects)
class AutoResponseRule(CompoundMetadataType):
''' AutoResponseRule Child Metadata Implementation '''
TAG_NAME = 'autoResponseRule'
PACKAGE_NAME = 'AutoResponseRule'
ID_ATTRIBUTE = 'fullName'
def __hash__(self):
return hash(str(self))
class RuleEntry(ChildMetadataType):
''' RuleEntry - AutoResponseRule implementation '''
TAG_NAME = 'ruleEntry'
class CriteriaItems(ChildMetadataType):
''' CriteriaItems - RuleEntry implementation '''
TAG_NAME = 'criteriaItems'
ID_ATTRIBUTE = 'field'
CHILD_OBJECTS = {'criteriaItems': CriteriaItems}
CHILD_OBJECTS = {'ruleEntry': RuleEntry}
class AutoResponseRules(MetadataType):
''' AutoResponseRules Metadata Implementation '''
TAG_NAME = 'AutoResponseRules'
PACKAGE_NAME = 'AutoResponseRules'
CHILD_OBJECTS = get_child_objects(__name__)
FOLDER_NAME = 'autoResponseRules'
EXTENSION_NAME = 'autoResponseRules'
CHILD_SEPARATOR = '.'
|
import os
import marmot
def ConlluToConll2009(conllu2016Path):
with open(conllu2016Path) as corpusFile:
lines = corpusFile.readlines()
Conll2009Text = ''
for line in lines:
if len(line) > 0 and line.endswith('\n'):
line = line[:-1]
if line.startswith('#'):
continue
if line == '':
Conll2009Text += line + '\n'
continue
lineParts = line.split('\t')
if '-' in lineParts[0]:
continue
if len(lineParts) != 10 or '-' in lineParts[0]:
print 'Error: not-well formatted line: file: ', str(os.path.basename(conllu2016Path)), ', line:', line
continue
Conll2009Text += lineParts[0] + '\t' + lineParts[1] + '\t' + lineParts[2] + '\t' + lineParts[2] + '\t' + \
lineParts[3] + '\t' + lineParts[3] + '\t' + lineParts[5] \
+ '\t' + lineParts[5] + '\t' + lineParts[6] + '\t' + lineParts[6] + '\t' + lineParts[
7] + '\t' + lineParts[7] + '\t_\t' + lineParts[8] + '\t' + lineParts[8] + '\t_'
idx = 0
while idx < 14:
Conll2009Text += '\t_'
idx += 1
Conll2009Text += '\n'
mateFile = open(conllu2016Path + '.conllu2009', 'w+')
mateFile.write(Conll2009Text)
def conllu2009Toconllu(autoDep2009, conllFile, autoPos2016, desConll2016Path):
with open(autoPos2016, 'r') as autoPos2016File:
autoPOSLines = autoPos2016File.readlines()
with open(autoDep2009, 'r') as autoDepFile:
lines9 = autoDepFile.readlines()
with open(conllFile, 'r') as Conll2016File:
lines2016 = Conll2016File.readlines()
Conll2016Text = ''
autoPosIdx, idx = 0, 0
for line in lines2016:
if len(line) > 0 and line.endswith('\n'):
line = line[:-1]
if line.startswith('#'): #or (line.split('\t') and '-' in line.split('\t')[0])
autoPosIdx += 1
Conll2016Text += line + '\n'
continue
if not line.strip():
idx += 1
autoPosIdx += 1
Conll2016Text += line + '\n'
continue
lineParts16 = line.split('\t')
if lineParts16[0].find('-') != -1:
Conll2016Text += line + '\n'
continue
lineParts09 = lines9[idx].split('\t')
autoPOSLineParts = autoPOSLines[autoPosIdx].split('\t')
line16 = '{0}\t{1}\t{2}\t{3}\t{4}\t{5}\t{6}\t{7}\t{8}\t{9}\n'.format(
lineParts16[0],lineParts16[1],lineParts16[2],autoPOSLineParts[3],autoPOSLineParts[4],
lineParts16[5],lineParts09[9],lineParts09[11],lineParts16[8],lineParts16[9])
idx += 1
autoPosIdx += 1
# line = ''
# for linePart in lineParts16:
# line += linePart + '\t'
# line = line[:-1] + '\n'
Conll2016Text += line16
mateFile = open(desConll2016Path , 'w+')
mateFile.write(Conll2016Text)
def jackknife(foldNum, langName):
corpusPath = '/Users/halsaied/PycharmProjects/TextAnnotation/sharedTask/' + langName + '/train.conllu.autoPOS.conllu2009'
with open(corpusPath) as corpusFile:
lines = corpusFile.readlines()
foldSize = len(lines) / foldNum
ResultPath = '/Users/halsaied/PycharmProjects/TextAnnotation/Mate/' + langName + '/Jackkniffing/'
for i in xrange(0, foldNum):
trainPath = os.path.join(ResultPath, str(i) + '.train.jck.txt')
testPath = os.path.join(ResultPath, str(i) + '.test.jck.txt')
startCuttingIdx = i * foldSize
startCuttingiIdx = marmot.approximateCuttingIdx(startCuttingIdx, lines)
endCuttingIdx = (i + 1) * foldSize
endCuttingIdx = marmot.approximateCuttingIdx(endCuttingIdx, lines)
testLines = lines[startCuttingiIdx: endCuttingIdx]
if startCuttingIdx == 0:
trainLines = lines[endCuttingIdx:]
elif endCuttingIdx == len(lines) - 1:
trainLines = lines[: startCuttingIdx]
else:
trainLines = lines[:startCuttingiIdx] + lines[endCuttingIdx:]
createMateFile(trainLines, trainPath)
createMateFile(testLines, testPath)
def createMateFile(lines, path):
trainCorpus = ''
for line in lines:
trainCorpus += line
marmotTrainFile = open(path, 'w+')
marmotTrainFile.write(trainCorpus)
def createMateBatchJCK(foldNum, langList):
batch = '#!/bin/bash\n'
outPutPath = '/Users/halsaied/PycharmProjects/TextAnnotation/Mate/srl/lib/'
for lang in langList.split(','):
jackPath = '/Users/halsaied/PycharmProjects/TextAnnotation/Mate/{0}/Jackkniffing/'.format(lang)
for f in xrange(0, foldNum):
trainFile = os.path.join(jackPath, str(f) + '.train.jck.txt')
modelFile = os.path.join(jackPath, str(f) + '.model.jck.txt')
batch += 'java -cp anna-3.3.jar is2.parser.Parser -train ' + trainFile + ' -model ' + modelFile + '\n'
testFile = os.path.join(jackPath, str(f) + '.test.jck.txt')
outputFile = os.path.join(jackPath, str(f) + '.output.jck.txt')
batch += 'java -cp anna-3.3.jar is2.parser.Parser -model ' + modelFile + ' -test ' + testFile + ' -out ' + outputFile + '\n'
batchFile = open(outPutPath + '{0}.dep.jck.batch.sh'.format(lang), 'w+')
batchFile.write(batch)
#
# def mergeConlluFiles(outfilesPath, outputFileName):
# lines = ''
# for subdir, dirs, files in os.walk(outfilesPath):
# for file in files:
# with open(os.path.join(outfilesPath, file)) as conlluFile:
# jckOutLines = conlluFile.readlines()
# jckOutLines = marmot.removeFinalEmptyLines(jckOutLines)
# for line in jckOutLines:
# lines += line
# outFile = open(os.path.join(outfilesPath, outputFileName), 'w')
# outFile.write(lines)
#ConlluToConll2009('/Users/halsaied/PycharmProjects/TextAnnotation/sharedtask/FR/train.conllu.autoPOS')
#jackknife(10, 'FR')
#createMateBatchJCK(10, 'FR')
# conllu2009Toconllu('/Users/halsaied/PycharmProjects/TextAnnotation/sharedtask/HU/train.conllu.autoPOS.conllu2009', '/Users/halsaied/PycharmProjects/TextAnnotation/sharedtask/HU/train.conllu.autoPOS')
# ConlluToConll2009('/Users/halsaied/PycharmProjects/TextAnnotation/sharedtask/HU/test.conllu.autoPOS')
#ConlluToConll2009('/Users/halsaied/PycharmProjects/TextAnnotation/sharedtask/FR/test.conllu.autoPOS')
# mergeConlluFiles('/Users/halsaied/PycharmProjects/TextAnnotation/mateTools/SPMRL/','spmrl.conllu')
#for filename in os.listdir('../MateJackkniffing/FR/'):
#if filename.endswith('output.jck.txt'):
if __name__ == '__main__':
conllu2009Toconllu('/Users/halsaied/PycharmProjects/TextAnnotation/Mate/Jackkniffing/FR/train.conll.2009.jck.autoDep.txt',
'/Users/halsaied/PycharmProjects/TextAnnotation/SharedTask/FR/train.conllu',
'/Users/halsaied/PycharmProjects/TextAnnotation/SharedTask/FR/train.conllu.autoPOS',
'/Users/halsaied/PycharmProjects/TextAnnotation/SharedTask/FR/train.conllu.autoPOS.autoDep') |
from EvaMap.Metrics.metric import metric
def duplicatedRules(g_onto, liste_map, g_map, raw_data, g_link) :
result = metric()
result['name'] = "Duplicated rules"
result['score'] = 1
if len(liste_map) > len(g_map):
result['score'] = len(g_map)/len(liste_map) # Propriété d'un graph RDF
result['feedbacks'].append(f"{str(len(liste_map) - len(g_map))} rules are duplicated")
return result
|
'''
configs & settings are defined in this file
'''
from os.path import join
from os.path import abspath
from os.path import dirname
from os import pardir
from datetime import datetime
import numpy as np
class Config(object):
# directory paths
CURRENT_DIR = abspath(dirname(__file__))
ROOT_DIR = abspath(join(CURRENT_DIR, pardir))
DATA_DIR = abspath(join(ROOT_DIR, 'data'))
LOGS_DIR = abspath(join(ROOT_DIR, 'logs'))
# data file paths
TWEETS_PATH = abspath(join(DATA_DIR, 'tweets.csv'))
INFECTED_PATH = abspath(join(DATA_DIR,
'time_series_covid19_confirmed_global.csv'))
DEATHS_PATH = abspath(join(DATA_DIR,
'time_series_covid19_deaths_global.csv'))
# time window of the analysis
start_date = '2020-01-22' # inclusive
end_date = '2020-03-18' # inclusive
date_diff = datetime.strptime(
end_date, '%Y-%m-%d') - datetime.strptime(start_date, '%Y-%m-%d')
n_days = date_diff.days + 1
tweet_column_shortener_dict = {
'lat': 'Lat',
'long': 'Long',
'Country/Region': 'Location'
}
countries = ['Italy', 'Spain', 'Germany', 'France', 'Switzerland',
'United Kingdom', 'Netherlands', 'Norway', 'Austria',
'Belgium', 'Sweden', 'Denmark']
n_countries = len(countries)
# sentiment detection
sentiment_tokenizer_model = 'distilbert-base-uncased'
sentiment_model = 'distilbert-base-uncased-finetuned-sst-2-english'
# country stats
population = {
'Austria': 8.955,
'Belgium': 11.539,
'Czechia': 10.689,
'Denmark': 5.772,
'Finland': 5.532,
'France': 65.130,
'Germany': 83.517,
'Greece': 10.473,
'Italy': 60.550,
'Netherlands': 17.097,
'Norway': 5.379,
'Portugal': 10.226,
'Spain': 46.737,
'Sweden': 10.036,
'Switzerland': 8.591,
'United Kingdom': 67.530,
} # pop/km2 - source: wikipedia
# https://en.wikipedia.org/wiki/List_of_countries_by_population_(United_Nations)
population_cutoffs = [np.median([i[1] for i in population.items()])]
over_65 = {
'Austria': 19.002,
'Belgium': 18.789,
'Czechia': 19.421,
'Denmark': 19.813,
'Finland': 21.721,
'France': 20.035,
'Germany': 21.462,
'Greece': 21.655,
'Italy': 22.752,
'Netherlands': 19.196,
'Norway': 17.049,
'Portugal': 21.954,
'Spain': 19.379,
'Sweden': 20.096,
'Switzerland': 18.623,
'United Kingdom': 18.396,
} # percentage
# https://data.worldbank.org/indicator/sp.pop.65up.to.zs?end=2018&start=1960
over_65_cutoffs = [np.median([i[1] for i in over_65.items()])]
twitter_usage = {
'Austria': 7.2,
'Belgium': 8.7,
'Czechia': 17.2,
'Denmark': 10.7,
'Finland': 16.7,
'France': 10.5,
'Germany': 9.8,
'Greece': 2.12,
'Italy': 7.7,
'Netherlands': 10.6,
'Norway': 14.6,
'Portugal': 5.35,
'Spain': 4.6,
'Sweden': 9.6,
'Switzerland': 12.0,
'United Kingdom': 37.1,
} # % people in February 2020 - source:
# https://gs.statcounter.com/social-media-stats/all/united-kingdom
twitter_usage_cutoffs = [np.median([i[1] for i in twitter_usage.items()])]
single_household = {
'Austria': 37.2,
'Belgium': 35.0,
'Czechia': 28.7,
'Denmark': 43.9,
'Finland': 44.7,
'France': 36.2,
'Germany': 41.7,
'Greece': 25.7,
'Italy': 32.6,
'Netherlands': 38.3,
'Norway': 45.8,
'Portugal': 23.1,
'Spain': 25.5,
'Sweden': 42.5,
'Switzerland': 38.1,
'United Kingdom': 30.5,
} # % single person households - source:
# https://appsso.eurostat.ec.europa.eu/nui/show.do?dataset=ilc_lvph02&lang=en
single_household_cutoffs = [
np.median([i[1] for i in single_household.items()])]
cut_offs = {
'twitter_usage': twitter_usage_cutoffs,
'over_65': over_65_cutoffs,
'single_household': single_household_cutoffs
}
country_abbr = {
'CN': 'Mainland China',
'US': 'US',
'GB': 'United Kingdom',
'FR': 'France',
'PS': 'Palestine',
'CA': 'Canada',
'GH': 'Ghana',
'GU': 'Guam',
'GY': 'Guyana',
'GP': 'Guadeloupe',
'AG': 'Guadeloupe',
'LC': 'Saint Lucia',
'BJ': 'Benin',
'AU': 'Australia',
'VI': 'Virgin Islands',
'ZM': 'Zambia',
'TT': 'Trinidad and Tobago',
'KE': 'Kenya',
'CO': 'Colombia',
'PR': 'Puerto Rico',
'ET': 'Ethiopia',
'SO': 'Somalia',
'BS': 'Bahamas',
'NA': 'Namibia',
'KY': 'Cayman Islands',
'SZ': 'Swaziland',
'ME': 'Montenegro',
'CU': 'Cuba',
'UY': 'Uruguay',
'CW': 'Curacao',
'GT': 'Guatemala',
'XK': 'Kosovo',
'SD': 'Sudan',
'LR': 'Liberia',
}
restrictions = {
'Austria': '2020-03-16',
'Belgium': '2020-03-18',
'Czechia': '2020-03-16',
'Denmark': '2020-03-11',
'Finland': '2020-03-27',
'France': '2020-03-17',
'Germany': '2020-03-20',
'Greece': '2020-03-23',
'Italy': '2020-03-09',
'Netherlands': '2020-03-16',
'Norway': '2020-03-12',
'Portugal': '2020-03-19',
'Spain': '2020-03-14',
'United Kingdom': '2020-03-24',
}
# source :
# https://en.wikipedia.org/wiki
# /National_responses_to_the_2019%E2%80%9320_coronavirus_pandemic
# training related
n_observations = n_days * n_countries
splits = np.array(np.array_split(np.arange(n_observations), n_countries))
# discrete labels
percentiles = [75]
n_levels = len(percentiles) + 1
label_dict_two_cat = {0: 'low', 1: 'high'}
numerical_columns = ['infected', 'infected_new', 'infected_perc_change',
'deaths', 'deaths_new', 'deaths_perc_change',
'twitter_activity']
stat_numerical_columns = [
'over_65',
'twitter_usage',
'single_household'
]
tabu_child_nodes = stat_numerical_columns + ['restriction']
tabu_parent_nodes = ['twitter_activity', 'sentiment']
tabu_edges = [
('twitter_usage', 'infected'),
('twitter_usage', 'infected_new'),
('twitter_usage', 'infected_perc_change'),
('twitter_usage', 'deaths'),
('twitter_usage', 'deaths_new'),
('twitter_usage', 'deaths_perc_change'),
('restriction', 'infected'),
('restriction', 'infected_new'),
('restriction', 'infected_perc_change'),
('restriction', 'deaths'),
('restriction', 'deaths_new'),
('restriction', 'deaths_perc_change'),
('over_65', 'twitter_activity'),
('over_65', 'sentiment'),
('single_household', 'twitter_activity'),
('single_household', 'sentiment'),
('twitter_usage', 'sentiment'),
]
edge_threshold = 0.3
config = Config()
|
from django import forms
from django.contrib.auth import authenticate
class AuthenticationForm(forms.Form):
code = forms.CharField(max_length=254)
error_messages = {
'invalid_login': "An error occurred when trying to log in"
}
def __init__(self, request=None, *args, **kwargs):
self.request = request
self.user_cache = None
super(AuthenticationForm, self).__init__(*args, **kwargs)
def clean(self):
code = self.cleaned_data.get('code')
self.user_cache = authenticate(code=code)
if self.user_cache is None:
raise forms.ValidationError(
self.error_messages['invalid_login'],
code='invalid_login',
)
return self.cleaned_data
def get_user(self):
return self.user_cache
|
derived_age_to_age_start = {
0: "1.1",
32: "1.1",
127: "1.1",
160: "1.1",
173: "1.1",
174: "1.1",
502: "3.0",
506: "1.1",
536: "3.0",
544: "3.2",
545: "4.0",
546: "3.0",
564: "4.0",
567: "4.1",
578: "5.0",
592: "1.1",
681: "3.0",
686: "4.0",
688: "1.1",
735: "3.0",
736: "1.1",
746: "3.0",
751: "4.0",
768: "1.1",
838: "3.0",
847: "3.2",
848: "4.0",
856: "4.1",
861: "4.0",
864: "1.1",
866: "3.0",
867: "3.2",
880: "5.1",
884: "1.1",
886: "5.1",
890: "1.1",
891: "5.0",
894: "1.1",
895: "7.0",
900: "1.1",
908: "1.1",
910: "1.1",
931: "1.1",
975: "5.1",
976: "1.1",
983: "3.0",
984: "3.2",
986: "1.1",
987: "3.0",
988: "1.1",
989: "3.0",
990: "1.1",
991: "3.0",
992: "1.1",
993: "3.0",
994: "1.1",
1012: "3.1",
1014: "3.2",
1015: "4.0",
1020: "4.1",
1024: "3.0",
1025: "1.1",
1037: "3.0",
1038: "1.1",
1104: "3.0",
1105: "1.1",
1117: "3.0",
1118: "1.1",
1159: "5.1",
1160: "3.0",
1162: "3.2",
1164: "3.0",
1168: "1.1",
1221: "3.2",
1223: "1.1",
1225: "3.2",
1227: "1.1",
1229: "3.2",
1231: "5.0",
1232: "1.1",
1260: "3.0",
1262: "1.1",
1270: "4.1",
1272: "1.1",
1274: "5.0",
1280: "3.2",
1296: "5.0",
1300: "5.1",
1316: "5.2",
1318: "6.0",
1320: "7.0",
1329: "1.1",
1369: "1.1",
1376: "11.0",
1377: "1.1",
1416: "11.0",
1417: "1.1",
1418: "3.0",
1421: "7.0",
1423: "6.1",
1425: "2.0",
1442: "4.1",
1443: "2.0",
1456: "1.1",
1466: "5.0",
1467: "1.1",
1476: "2.0",
1477: "4.1",
1488: "1.1",
1519: "11.0",
1520: "1.1",
1536: "4.0",
1540: "6.1",
1541: "7.0",
1542: "5.1",
1547: "4.1",
1548: "1.1",
1549: "4.0",
1558: "5.1",
1563: "1.1",
1564: "6.3",
1566: "4.1",
1567: "1.1",
1568: "6.0",
1569: "1.1",
1595: "5.1",
1600: "1.1",
1619: "3.0",
1622: "4.0",
1625: "4.1",
1631: "6.0",
1632: "1.1",
1646: "3.2",
1648: "1.1",
1720: "3.0",
1722: "1.1",
1727: "3.0",
1728: "1.1",
1743: "3.0",
1744: "1.1",
1757: "1.1",
1758: "1.1",
1774: "4.0",
1776: "1.1",
1786: "3.0",
1791: "4.0",
1792: "3.0",
1807: "3.0",
1808: "3.0",
1837: "4.0",
1840: "3.0",
1869: "4.0",
1872: "4.1",
1902: "5.1",
1920: "3.0",
1969: "3.2",
1984: "5.0",
2045: "11.0",
2048: "5.2",
2096: "5.2",
2112: "6.0",
2142: "6.0",
2144: "10.0",
2208: "6.1",
2209: "7.0",
2210: "6.1",
2221: "7.0",
2227: "8.0",
2230: "9.0",
2238: "13.0",
2259: "11.0",
2260: "9.0",
2274: "9.0",
2275: "8.0",
2276: "6.1",
2303: "7.0",
2304: "5.2",
2305: "1.1",
2308: "4.0",
2309: "1.1",
2362: "6.0",
2364: "1.1",
2382: "5.2",
2383: "6.0",
2384: "1.1",
2389: "5.2",
2390: "6.0",
2392: "1.1",
2417: "5.1",
2419: "6.0",
2424: "7.0",
2425: "5.2",
2427: "5.0",
2429: "4.1",
2430: "5.0",
2432: "7.0",
2433: "1.1",
2437: "1.1",
2447: "1.1",
2451: "1.1",
2474: "1.1",
2482: "1.1",
2486: "1.1",
2492: "1.1",
2493: "4.0",
2494: "1.1",
2503: "1.1",
2507: "1.1",
2510: "4.1",
2519: "1.1",
2524: "1.1",
2527: "1.1",
2534: "1.1",
2555: "5.2",
2556: "10.0",
2558: "11.0",
2561: "4.0",
2562: "1.1",
2563: "4.0",
2565: "1.1",
2575: "1.1",
2579: "1.1",
2602: "1.1",
2610: "1.1",
2613: "1.1",
2616: "1.1",
2620: "1.1",
2622: "1.1",
2631: "1.1",
2635: "1.1",
2641: "5.1",
2649: "1.1",
2654: "1.1",
2662: "1.1",
2677: "5.1",
2678: "11.0",
2689: "1.1",
2693: "1.1",
2700: "4.0",
2701: "1.1",
2703: "1.1",
2707: "1.1",
2730: "1.1",
2738: "1.1",
2741: "1.1",
2748: "1.1",
2759: "1.1",
2763: "1.1",
2768: "1.1",
2784: "1.1",
2785: "4.0",
2790: "1.1",
2800: "6.1",
2801: "4.0",
2809: "8.0",
2810: "10.0",
2817: "1.1",
2821: "1.1",
2831: "1.1",
2835: "1.1",
2858: "1.1",
2866: "1.1",
2869: "4.0",
2870: "1.1",
2876: "1.1",
2884: "5.1",
2887: "1.1",
2891: "1.1",
2901: "13.0",
2902: "1.1",
2908: "1.1",
2911: "1.1",
2914: "5.1",
2918: "1.1",
2929: "4.0",
2930: "6.0",
2946: "1.1",
2949: "1.1",
2958: "1.1",
2962: "1.1",
2969: "1.1",
2972: "1.1",
2974: "1.1",
2979: "1.1",
2984: "1.1",
2990: "1.1",
2998: "4.1",
2999: "1.1",
3006: "1.1",
3014: "1.1",
3018: "1.1",
3024: "5.1",
3031: "1.1",
3046: "4.1",
3047: "1.1",
3059: "4.0",
3072: "7.0",
3073: "1.1",
3076: "11.0",
3077: "1.1",
3086: "1.1",
3090: "1.1",
3114: "1.1",
3124: "7.0",
3125: "1.1",
3133: "5.1",
3134: "1.1",
3142: "1.1",
3146: "1.1",
3157: "1.1",
3160: "5.1",
3162: "8.0",
3168: "1.1",
3170: "5.1",
3174: "1.1",
3191: "12.0",
3192: "5.1",
3200: "9.0",
3201: "7.0",
3202: "1.1",
3204: "11.0",
3205: "1.1",
3214: "1.1",
3218: "1.1",
3242: "1.1",
3253: "1.1",
3260: "4.0",
3262: "1.1",
3270: "1.1",
3274: "1.1",
3285: "1.1",
3294: "1.1",
3296: "1.1",
3298: "5.0",
3302: "1.1",
3313: "5.0",
3328: "10.0",
3329: "7.0",
3330: "1.1",
3332: "13.0",
3333: "1.1",
3342: "1.1",
3346: "1.1",
3369: "6.0",
3370: "1.1",
3386: "6.0",
3387: "10.0",
3389: "5.1",
3390: "1.1",
3396: "5.1",
3398: "1.1",
3402: "1.1",
3406: "6.0",
3407: "9.0",
3412: "9.0",
3415: "1.1",
3416: "9.0",
3423: "8.0",
3424: "1.1",
3426: "5.1",
3430: "1.1",
3440: "5.1",
3446: "9.0",
3449: "5.1",
3457: "13.0",
3458: "3.0",
3461: "3.0",
3482: "3.0",
3507: "3.0",
3517: "3.0",
3520: "3.0",
3530: "3.0",
3535: "3.0",
3542: "3.0",
3544: "3.0",
3558: "7.0",
3570: "3.0",
3585: "1.1",
3647: "1.1",
3713: "1.1",
3716: "1.1",
3718: "12.0",
3719: "1.1",
3721: "12.0",
3722: "1.1",
3724: "12.0",
3725: "1.1",
3726: "12.0",
3732: "1.1",
3736: "12.0",
3737: "1.1",
3744: "12.0",
3745: "1.1",
3749: "1.1",
3751: "1.1",
3752: "12.0",
3754: "1.1",
3756: "12.0",
3757: "1.1",
3770: "12.0",
3771: "1.1",
3776: "1.1",
3782: "1.1",
3784: "1.1",
3792: "1.1",
3804: "1.1",
3806: "6.1",
3840: "2.0",
3913: "2.0",
3946: "3.0",
3947: "5.1",
3953: "2.0",
3980: "6.0",
3984: "2.0",
3990: "3.0",
3991: "2.0",
3993: "2.0",
4014: "3.0",
4017: "2.0",
4024: "3.0",
4025: "2.0",
4026: "3.0",
4030: "3.0",
4046: "5.1",
4047: "3.0",
4048: "4.1",
4050: "5.1",
4053: "5.2",
4057: "6.0",
4096: "3.0",
4130: "5.1",
4131: "3.0",
4136: "5.1",
4137: "3.0",
4139: "5.1",
4140: "3.0",
4147: "5.1",
4150: "3.0",
4154: "5.1",
4160: "3.0",
4186: "5.1",
4250: "5.2",
4254: "5.1",
4256: "1.1",
4295: "6.1",
4301: "6.1",
4304: "1.1",
4343: "3.2",
4345: "4.1",
4347: "1.1",
4348: "4.1",
4349: "6.1",
4352: "1.1",
4442: "5.2",
4447: "1.1",
4515: "5.2",
4520: "1.1",
4602: "5.2",
4608: "3.0",
4615: "4.1",
4616: "3.0",
4679: "4.1",
4680: "3.0",
4682: "3.0",
4688: "3.0",
4696: "3.0",
4698: "3.0",
4704: "3.0",
4743: "4.1",
4744: "3.0",
4746: "3.0",
4752: "3.0",
4783: "4.1",
4784: "3.0",
4786: "3.0",
4792: "3.0",
4800: "3.0",
4802: "3.0",
4808: "3.0",
4815: "4.1",
4816: "3.0",
4824: "3.0",
4847: "4.1",
4848: "3.0",
4879: "4.1",
4880: "3.0",
4882: "3.0",
4888: "3.0",
4895: "4.1",
4896: "3.0",
4935: "4.1",
4936: "3.0",
4957: "6.0",
4959: "4.1",
4961: "3.0",
4992: "4.1",
5024: "3.0",
5109: "8.0",
5112: "8.0",
5120: "5.2",
5121: "3.0",
5751: "5.2",
5760: "3.0",
5792: "3.0",
5873: "7.0",
5888: "3.2",
5902: "3.2",
5920: "3.2",
5952: "3.2",
5984: "3.2",
5998: "3.2",
6002: "3.2",
6016: "3.0",
6109: "4.0",
6112: "3.0",
6128: "4.0",
6144: "3.0",
6158: "3.0",
6160: "3.0",
6176: "3.0",
6264: "11.0",
6272: "3.0",
6314: "5.1",
6320: "5.2",
6400: "4.0",
6429: "7.0",
6432: "4.0",
6448: "4.0",
6464: "4.0",
6468: "4.0",
6512: "4.0",
6528: "4.1",
6570: "5.2",
6576: "4.1",
6608: "4.1",
6618: "5.2",
6622: "4.1",
6624: "4.0",
6656: "4.1",
6686: "4.1",
6688: "5.2",
6752: "5.2",
6783: "5.2",
6800: "5.2",
6816: "5.2",
6832: "7.0",
6847: "13.0",
6912: "5.0",
6992: "5.0",
7040: "5.1",
7083: "6.1",
7086: "5.1",
7098: "6.1",
7104: "6.0",
7164: "6.0",
7168: "5.1",
7227: "5.1",
7245: "5.1",
7296: "9.0",
7312: "11.0",
7357: "11.0",
7360: "6.1",
7376: "5.2",
7411: "6.1",
7415: "10.0",
7416: "7.0",
7418: "12.0",
7424: "4.0",
7532: "4.1",
7620: "5.0",
7627: "5.1",
7655: "7.0",
7670: "10.0",
7675: "9.0",
7676: "6.0",
7677: "5.2",
7678: "5.0",
7680: "1.1",
7835: "2.0",
7836: "5.1",
7840: "1.1",
7930: "5.1",
7936: "1.1",
7960: "1.1",
7968: "1.1",
8008: "1.1",
8016: "1.1",
8025: "1.1",
8027: "1.1",
8029: "1.1",
8031: "1.1",
8064: "1.1",
8118: "1.1",
8134: "1.1",
8150: "1.1",
8157: "1.1",
8178: "1.1",
8182: "1.1",
8192: "1.1",
8203: "1.1",
8208: "1.1",
8232: "1.1",
8239: "3.0",
8240: "1.1",
8263: "3.2",
8264: "3.0",
8270: "3.2",
8275: "4.0",
8277: "4.1",
8279: "3.2",
8280: "4.1",
8287: "3.2",
8288: "3.2",
8292: "5.1",
8294: "6.3",
8298: "1.1",
8304: "1.1",
8305: "3.2",
8308: "1.1",
8336: "4.1",
8341: "6.0",
8352: "1.1",
8363: "2.0",
8364: "2.1",
8365: "3.0",
8368: "3.2",
8370: "4.1",
8374: "5.2",
8377: "6.0",
8378: "6.2",
8379: "7.0",
8382: "8.0",
8383: "10.0",
8400: "1.1",
8418: "3.0",
8420: "3.2",
8427: "4.1",
8428: "5.0",
8432: "5.1",
8448: "1.1",
8505: "3.0",
8507: "4.0",
8508: "4.1",
8509: "3.2",
8524: "4.1",
8525: "5.0",
8527: "5.1",
8528: "5.2",
8531: "1.1",
8579: "3.0",
8580: "5.0",
8581: "5.1",
8585: "5.2",
8586: "8.0",
8592: "1.1",
8683: "3.0",
8692: "3.2",
8704: "1.1",
8946: "3.2",
8960: "1.1",
8961: "3.0",
8962: "1.1",
9083: "3.0",
9084: "3.2",
9085: "3.0",
9115: "3.2",
9167: "4.0",
9169: "4.1",
9180: "5.0",
9192: "5.2",
9193: "6.0",
9204: "7.0",
9211: "9.0",
9215: "10.0",
9216: "1.1",
9253: "3.0",
9280: "1.1",
9312: "1.1",
9451: "3.2",
9471: "4.0",
9472: "1.1",
9622: "3.2",
9632: "1.1",
9712: "3.0",
9720: "3.2",
9728: "1.1",
9748: "4.0",
9750: "3.2",
9752: "4.1",
9753: "3.0",
9754: "1.1",
9840: "3.0",
9842: "3.2",
9854: "4.1",
9856: "3.2",
9866: "4.0",
9874: "4.1",
9885: "5.1",
9886: "5.2",
9888: "4.0",
9890: "4.1",
9906: "5.0",
9907: "5.1",
9917: "5.2",
9920: "5.1",
9924: "5.2",
9934: "6.0",
9935: "5.2",
9954: "6.0",
9955: "5.2",
9956: "6.0",
9960: "5.2",
9984: "7.0",
9985: "1.1",
9989: "6.0",
9990: "1.1",
9994: "6.0",
9996: "1.1",
10024: "6.0",
10025: "1.1",
10060: "6.0",
10061: "1.1",
10062: "6.0",
10063: "1.1",
10067: "6.0",
10070: "1.1",
10071: "5.2",
10072: "1.1",
10079: "6.0",
10081: "1.1",
10088: "3.2",
10102: "1.1",
10133: "6.0",
10136: "1.1",
10160: "6.0",
10161: "1.1",
10175: "6.0",
10176: "4.1",
10183: "5.0",
10187: "6.1",
10188: "5.1",
10189: "6.1",
10190: "6.0",
10192: "3.2",
10220: "5.1",
10224: "3.2",
10240: "3.0",
10496: "3.2",
11008: "4.0",
11022: "4.1",
11028: "5.0",
11035: "5.1",
11040: "5.0",
11044: "5.1",
11085: "7.0",
11088: "5.1",
11093: "5.2",
11098: "7.0",
11126: "7.0",
11159: "13.0",
11160: "7.0",
11194: "11.0",
11197: "7.0",
11209: "12.0",
11210: "7.0",
11218: "10.0",
11219: "11.0",
11244: "8.0",
11248: "11.0",
11263: "12.0",
11264: "4.1",
11312: "4.1",
11360: "5.0",
11373: "5.1",
11376: "5.2",
11377: "5.1",
11380: "5.0",
11384: "5.1",
11390: "5.2",
11392: "4.1",
11499: "5.2",
11506: "6.1",
11513: "4.1",
11559: "6.1",
11565: "6.1",
11568: "4.1",
11622: "6.1",
11631: "4.1",
11632: "6.0",
11647: "6.0",
11648: "4.1",
11680: "4.1",
11688: "4.1",
11696: "4.1",
11704: "4.1",
11712: "4.1",
11720: "4.1",
11728: "4.1",
11736: "4.1",
11744: "5.1",
11776: "4.1",
11800: "5.1",
11804: "4.1",
11806: "5.1",
11825: "5.2",
11826: "6.1",
11836: "7.0",
11843: "9.0",
11845: "10.0",
11850: "11.0",
11855: "12.0",
11856: "13.0",
11904: "3.0",
11931: "3.0",
12032: "3.0",
12272: "3.0",
12288: "1.1",
12344: "3.0",
12347: "3.2",
12350: "3.0",
12351: "1.1",
12353: "1.1",
12437: "3.2",
12441: "1.1",
12447: "3.2",
12449: "1.1",
12543: "3.2",
12549: "1.1",
12589: "5.1",
12590: "10.0",
12591: "11.0",
12593: "1.1",
12688: "1.1",
12704: "3.0",
12728: "6.0",
12731: "13.0",
12736: "4.1",
12752: "5.1",
12784: "3.2",
12800: "1.1",
12829: "4.0",
12832: "1.1",
12868: "5.2",
12880: "4.0",
12881: "3.2",
12896: "1.1",
12924: "4.0",
12926: "4.1",
12927: "1.1",
12977: "3.2",
12992: "1.1",
13004: "4.0",
13008: "1.1",
13055: "12.1",
13056: "1.1",
13175: "4.0",
13179: "1.1",
13278: "4.0",
13280: "1.1",
13311: "4.0",
13312: "3.0",
19894: "13.0",
19904: "4.0",
19968: "1.1",
40870: "4.1",
40892: "5.1",
40900: "5.2",
40908: "6.1",
40909: "8.0",
40918: "10.0",
40939: "11.0",
40944: "13.0",
40960: "3.0",
42128: "3.0",
42146: "3.2",
42148: "3.0",
42164: "3.2",
42165: "3.0",
42177: "3.2",
42178: "3.0",
42181: "3.2",
42182: "3.0",
42192: "5.2",
42240: "5.1",
42560: "5.1",
42592: "6.0",
42594: "5.1",
42612: "6.1",
42620: "5.1",
42648: "7.0",
42654: "8.0",
42655: "6.1",
42656: "5.2",
42752: "4.1",
42775: "5.0",
42779: "5.1",
42784: "5.0",
42786: "5.1",
42893: "6.0",
42895: "8.0",
42896: "6.0",
42898: "6.1",
42900: "7.0",
42912: "6.0",
42922: "6.1",
42923: "7.0",
42926: "9.0",
42927: "11.0",
42928: "7.0",
42930: "8.0",
42936: "11.0",
42938: "12.0",
42946: "12.0",
42951: "13.0",
42997: "13.0",
42999: "7.0",
43000: "6.1",
43002: "6.0",
43003: "5.1",
43008: "4.1",
43052: "13.0",
43056: "5.2",
43072: "5.0",
43136: "5.1",
43205: "9.0",
43214: "5.1",
43232: "5.2",
43260: "8.0",
43262: "11.0",
43264: "5.1",
43359: "5.1",
43360: "5.2",
43392: "5.2",
43471: "5.2",
43486: "5.2",
43488: "7.0",
43520: "5.1",
43584: "5.1",
43600: "5.1",
43612: "5.1",
43616: "5.2",
43644: "7.0",
43648: "5.2",
43739: "5.2",
43744: "6.1",
43777: "6.0",
43785: "6.0",
43793: "6.0",
43808: "6.0",
43816: "6.0",
43824: "7.0",
43872: "8.0",
43876: "7.0",
43878: "12.0",
43880: "13.0",
43888: "8.0",
43968: "5.2",
44016: "5.2",
44032: "2.0",
55216: "5.2",
55243: "5.2",
55296: "2.0",
57344: "1.1",
63744: "1.1",
64046: "6.1",
64048: "3.2",
64107: "5.2",
64112: "4.1",
64256: "1.1",
64275: "1.1",
64285: "3.0",
64286: "1.1",
64312: "1.1",
64318: "1.1",
64320: "1.1",
64323: "1.1",
64326: "1.1",
64434: "6.0",
64467: "1.1",
64848: "1.1",
64914: "1.1",
64976: "3.1",
65008: "1.1",
65020: "3.2",
65021: "4.0",
65024: "3.2",
65040: "4.1",
65056: "1.1",
65060: "5.1",
65063: "7.0",
65070: "8.0",
65072: "1.1",
65093: "3.2",
65095: "4.0",
65097: "1.1",
65108: "1.1",
65128: "1.1",
65136: "1.1",
65139: "3.2",
65140: "1.1",
65142: "1.1",
65279: "1.1",
65281: "1.1",
65375: "3.2",
65377: "1.1",
65474: "1.1",
65482: "1.1",
65490: "1.1",
65498: "1.1",
65504: "1.1",
65512: "1.1",
65529: "3.0",
65532: "2.1",
65533: "1.1",
65534: "1.1",
65536: "4.0",
65549: "4.0",
65576: "4.0",
65596: "4.0",
65599: "4.0",
65616: "4.0",
65664: "4.0",
65792: "4.0",
65799: "4.0",
65847: "4.0",
65856: "4.1",
65931: "7.0",
65933: "9.0",
65936: "5.1",
65948: "13.0",
65952: "7.0",
66000: "5.1",
66176: "5.1",
66208: "5.1",
66272: "7.0",
66304: "3.1",
66335: "7.0",
66336: "3.1",
66349: "10.0",
66352: "3.1",
66384: "7.0",
66432: "4.0",
66463: "4.0",
66464: "4.1",
66504: "4.1",
66560: "3.1",
66598: "4.0",
66600: "3.1",
66638: "4.0",
66720: "4.0",
66736: "9.0",
66776: "9.0",
66816: "7.0",
66864: "7.0",
66927: "7.0",
67072: "7.0",
67392: "7.0",
67424: "7.0",
67584: "4.0",
67592: "4.0",
67594: "4.0",
67639: "4.0",
67644: "4.0",
67647: "4.0",
67648: "5.2",
67671: "5.2",
67680: "7.0",
67751: "7.0",
67808: "8.0",
67828: "8.0",
67835: "8.0",
67840: "5.0",
67866: "5.2",
67871: "5.0",
67872: "5.1",
67903: "5.1",
67968: "6.1",
68028: "8.0",
68030: "6.1",
68032: "8.0",
68050: "8.0",
68096: "4.1",
68101: "4.1",
68108: "4.1",
68117: "4.1",
68121: "4.1",
68148: "11.0",
68152: "4.1",
68159: "4.1",
68168: "11.0",
68176: "4.1",
68192: "5.2",
68224: "7.0",
68288: "7.0",
68331: "7.0",
68352: "5.2",
68409: "5.2",
68440: "5.2",
68472: "5.2",
68480: "7.0",
68505: "7.0",
68521: "7.0",
68608: "5.2",
68736: "8.0",
68800: "8.0",
68858: "8.0",
68864: "11.0",
68912: "11.0",
69216: "5.2",
69248: "13.0",
69291: "13.0",
69296: "13.0",
69376: "11.0",
69424: "11.0",
69552: "13.0",
69600: "12.0",
69632: "6.0",
69714: "6.0",
69759: "7.0",
69760: "5.2",
69821: "5.2",
69822: "5.2",
69837: "11.0",
69840: "6.1",
69872: "6.1",
69888: "6.1",
69942: "6.1",
69956: "11.0",
69959: "13.0",
69968: "7.0",
70016: "6.1",
70089: "8.0",
70093: "7.0",
70094: "13.0",
70096: "6.1",
70106: "7.0",
70107: "8.0",
70113: "7.0",
70144: "7.0",
70163: "7.0",
70206: "9.0",
70272: "8.0",
70280: "8.0",
70282: "8.0",
70287: "8.0",
70303: "8.0",
70320: "7.0",
70384: "7.0",
70400: "8.0",
70401: "7.0",
70405: "7.0",
70415: "7.0",
70419: "7.0",
70442: "7.0",
70450: "7.0",
70453: "7.0",
70459: "11.0",
70460: "7.0",
70471: "7.0",
70475: "7.0",
70480: "8.0",
70487: "7.0",
70493: "7.0",
70502: "7.0",
70512: "7.0",
70656: "9.0",
70746: "13.0",
70747: "9.0",
70749: "9.0",
70750: "11.0",
70751: "12.0",
70752: "13.0",
70784: "7.0",
70864: "7.0",
71040: "7.0",
71096: "7.0",
71114: "8.0",
71168: "7.0",
71248: "7.0",
71264: "9.0",
71296: "6.1",
71352: "12.0",
71360: "6.1",
71424: "8.0",
71450: "11.0",
71453: "8.0",
71472: "8.0",
71680: "11.0",
71840: "7.0",
71935: "7.0",
71936: "13.0",
71945: "13.0",
71948: "13.0",
71957: "13.0",
71960: "13.0",
71991: "13.0",
71995: "13.0",
72016: "13.0",
72096: "12.0",
72106: "12.0",
72154: "12.0",
72192: "10.0",
72272: "10.0",
72324: "12.0",
72326: "10.0",
72349: "11.0",
72350: "10.0",
72384: "7.0",
72704: "9.0",
72714: "9.0",
72760: "9.0",
72784: "9.0",
72816: "9.0",
72850: "9.0",
72873: "9.0",
72960: "10.0",
72968: "10.0",
72971: "10.0",
73018: "10.0",
73020: "10.0",
73023: "10.0",
73040: "10.0",
73056: "11.0",
73063: "11.0",
73066: "11.0",
73104: "11.0",
73107: "11.0",
73120: "11.0",
73440: "11.0",
73648: "13.0",
73664: "12.0",
73727: "12.0",
73728: "5.0",
74607: "7.0",
74649: "8.0",
74752: "5.0",
74851: "7.0",
74864: "5.0",
74868: "7.0",
74880: "8.0",
77824: "5.2",
78896: "12.0",
82944: "8.0",
92160: "6.0",
92736: "7.0",
92768: "7.0",
92782: "7.0",
92880: "7.0",
92912: "7.0",
92928: "7.0",
93008: "7.0",
93019: "7.0",
93027: "7.0",
93053: "7.0",
93760: "11.0",
93952: "6.1",
94021: "12.0",
94031: "12.0",
94032: "6.1",
94079: "12.0",
94095: "6.1",
94176: "9.0",
94177: "10.0",
94178: "12.0",
94180: "13.0",
94192: "13.0",
94208: "9.0",
100333: "11.0",
100338: "12.0",
100352: "9.0",
101107: "13.0",
101632: "13.0",
110592: "6.0",
110594: "10.0",
110928: "12.0",
110948: "12.0",
110960: "10.0",
113664: "7.0",
113776: "7.0",
113792: "7.0",
113808: "7.0",
113820: "7.0",
113824: "7.0",
118784: "3.1",
119040: "3.1",
119081: "5.1",
119082: "3.1",
119155: "3.1",
119163: "3.1",
119262: "8.0",
119296: "4.1",
119520: "11.0",
119552: "4.0",
119648: "5.0",
119666: "11.0",
119808: "3.1",
119894: "3.1",
119966: "3.1",
119970: "3.1",
119973: "3.1",
119977: "3.1",
119982: "3.1",
119995: "3.1",
119997: "3.1",
120001: "4.0",
120002: "3.1",
120005: "3.1",
120071: "3.1",
120077: "3.1",
120086: "3.1",
120094: "3.1",
120123: "3.1",
120128: "3.1",
120134: "3.1",
120138: "3.1",
120146: "3.1",
120484: "4.1",
120488: "3.1",
120778: "5.0",
120782: "3.1",
120832: "8.0",
121499: "8.0",
121505: "8.0",
122880: "9.0",
122888: "9.0",
122907: "9.0",
122915: "9.0",
122918: "9.0",
123136: "12.0",
123184: "12.0",
123200: "12.0",
123214: "12.0",
123584: "12.0",
123647: "12.0",
124928: "7.0",
125127: "7.0",
125184: "9.0",
125259: "12.0",
125264: "9.0",
125278: "9.0",
126065: "11.0",
126209: "12.0",
126464: "6.1",
126469: "6.1",
126497: "6.1",
126500: "6.1",
126503: "6.1",
126505: "6.1",
126516: "6.1",
126521: "6.1",
126523: "6.1",
126530: "6.1",
126535: "6.1",
126537: "6.1",
126539: "6.1",
126541: "6.1",
126545: "6.1",
126548: "6.1",
126551: "6.1",
126553: "6.1",
126555: "6.1",
126557: "6.1",
126559: "6.1",
126561: "6.1",
126564: "6.1",
126567: "6.1",
126572: "6.1",
126580: "6.1",
126585: "6.1",
126590: "6.1",
126592: "6.1",
126603: "6.1",
126625: "6.1",
126629: "6.1",
126635: "6.1",
126704: "6.1",
126976: "5.1",
127024: "5.1",
127136: "6.0",
127153: "6.0",
127167: "7.0",
127169: "6.0",
127185: "6.0",
127200: "7.0",
127232: "5.2",
127243: "7.0",
127245: "13.0",
127248: "5.2",
127279: "11.0",
127280: "6.0",
127281: "5.2",
127282: "6.0",
127293: "5.2",
127294: "6.0",
127295: "5.2",
127296: "6.0",
127298: "5.2",
127299: "6.0",
127302: "5.2",
127303: "6.0",
127306: "5.2",
127311: "6.0",
127319: "5.2",
127320: "6.0",
127327: "5.2",
127328: "6.0",
127338: "6.1",
127340: "12.0",
127341: "13.0",
127344: "6.0",
127353: "5.2",
127354: "6.0",
127355: "5.2",
127357: "6.0",
127359: "5.2",
127360: "6.0",
127370: "5.2",
127374: "6.0",
127376: "5.2",
127377: "6.0",
127387: "9.0",
127405: "13.0",
127462: "6.0",
127488: "5.2",
127489: "6.0",
127504: "5.2",
127538: "6.0",
127547: "9.0",
127552: "5.2",
127568: "6.0",
127584: "10.0",
127744: "6.0",
127777: "7.0",
127789: "8.0",
127792: "6.0",
127798: "7.0",
127799: "6.0",
127869: "7.0",
127870: "8.0",
127872: "6.0",
127892: "7.0",
127904: "6.0",
127941: "7.0",
127942: "6.0",
127947: "7.0",
127951: "8.0",
127956: "7.0",
127968: "6.0",
127985: "7.0",
127992: "8.0",
128000: "6.0",
128063: "7.0",
128064: "6.0",
128065: "7.0",
128066: "6.0",
128248: "7.0",
128249: "6.0",
128253: "7.0",
128255: "8.0",
128256: "6.0",
128318: "7.0",
128320: "6.1",
128324: "7.0",
128331: "8.0",
128336: "6.0",
128360: "7.0",
128378: "9.0",
128379: "7.0",
128420: "9.0",
128421: "7.0",
128507: "6.0",
128512: "6.1",
128513: "6.0",
128529: "6.1",
128530: "6.0",
128533: "6.1",
128534: "6.0",
128535: "6.1",
128536: "6.0",
128537: "6.1",
128538: "6.0",
128539: "6.1",
128540: "6.0",
128543: "6.1",
128544: "6.0",
128550: "6.1",
128552: "6.0",
128556: "6.1",
128557: "6.0",
128558: "6.1",
128560: "6.0",
128564: "6.1",
128565: "6.0",
128577: "7.0",
128579: "8.0",
128581: "6.0",
128592: "7.0",
128640: "6.0",
128710: "7.0",
128720: "8.0",
128721: "9.0",
128723: "10.0",
128725: "12.0",
128726: "13.0",
128736: "7.0",
128752: "7.0",
128756: "9.0",
128759: "10.0",
128761: "11.0",
128762: "12.0",
128763: "13.0",
128768: "6.0",
128896: "7.0",
128981: "11.0",
128992: "12.0",
129024: "7.0",
129040: "7.0",
129104: "7.0",
129120: "7.0",
129168: "7.0",
129200: "13.0",
129280: "10.0",
129292: "13.0",
129293: "12.0",
129296: "8.0",
129305: "9.0",
129311: "10.0",
129312: "9.0",
129320: "10.0",
129328: "9.0",
129329: "10.0",
129331: "9.0",
129343: "12.0",
129344: "9.0",
129356: "10.0",
129357: "11.0",
129360: "9.0",
129375: "10.0",
129388: "11.0",
129393: "12.0",
129394: "13.0",
129395: "11.0",
129399: "13.0",
129402: "11.0",
129403: "12.0",
129404: "11.0",
129408: "8.0",
129413: "9.0",
129426: "10.0",
129432: "11.0",
129443: "13.0",
129445: "12.0",
129451: "13.0",
129454: "12.0",
129456: "11.0",
129466: "12.0",
129472: "8.0",
129473: "11.0",
129475: "12.0",
129483: "13.0",
129485: "12.0",
129488: "10.0",
129511: "11.0",
129536: "12.0",
129632: "11.0",
129648: "12.0",
129652: "13.0",
129656: "12.0",
129664: "12.0",
129667: "13.0",
129680: "12.0",
129686: "13.0",
129712: "13.0",
129728: "13.0",
129744: "13.0",
129792: "13.0",
129940: "13.0",
130032: "13.0",
131070: "2.0",
131072: "3.1",
173783: "13.0",
173824: "5.2",
177984: "6.0",
178208: "8.0",
183984: "10.0",
194560: "3.1",
196606: "2.0",
196608: "13.0",
262142: "2.0",
327678: "2.0",
393214: "2.0",
458750: "2.0",
524286: "2.0",
589822: "2.0",
655358: "2.0",
720894: "2.0",
786430: "2.0",
851966: "2.0",
917502: "2.0",
917505: "3.1",
917536: "3.1",
917760: "4.0",
983038: "2.0",
983040: "2.0",
1048574: "2.0",
1048576: "2.0",
1114110: "2.0",
}
|
from layout import create_image
|
"""
Shared memory across multiple machines to the heavy AJAX lookups.
Select2 uses django.core.cache_ to share fields across
multiple threads and even machines.
Select2 uses the cache backend defined in the setting
``SELECT2_CACHE_BACKEND`` [default=``default``].
It is advised to always setup a separate cache server for Select2.
.. _django.core.cache: https://docs.djangoproject.com/en/dev/topics/cache/
"""
from django.core.cache import caches
from .conf import settings
__all__ = ("cache",)
cache = caches[settings.SELECT2_CACHE_BACKEND]
|
import unittest
import os
import json
from datetime import datetime
from unittest.mock import MagicMock, patch
from src.notifiers.json_entry_writer import JsonEntryWriter, FileType
from src.status_tracker import Status, StatusChange
from src.connection_entry import ConnectionEntry
connection_entry_data = [
{
"time": "2018-08-03 20:35:43",
"result": True,
"status": "UNKNOWN",
"status_change": "WARNING_RESOLVED"
},
{
"time": "2018-08-03 22:35:43",
"result": False,
"status": "ERROR",
"status_change": "NEW_ERROR"
}
]
class TestJsonEntryWriterInitialisation(unittest.TestCase):
def setUp(self):
self.data_file = os.path.join(os.path.dirname(os.path.realpath(__file__)),
"test_data.json")
def tearDown(self):
os.remove(self.data_file)
def test_initiation_creates_file(self):
json_writer = JsonEntryWriter(self.data_file)
self.assertEquals(1, os.path.exists(self.data_file))
self.assertEquals([], json_writer._get_test_data())
def test_initiation_doesnt_override_existing_file(self):
with open(self.data_file, "w+") as new_json_file:
json.dump(connection_entry_data, new_json_file)
JsonEntryWriter(self.data_file)
with open(self.data_file, "r") as blame_data:
data = json.load(blame_data)
self.assertListEqual(connection_entry_data, data)
class TestJsonEntryWriterWithFile(unittest.TestCase):
def setUp(self):
self.data_file = os.path.join(os.path.dirname(os.path.realpath(__file__)),
"test_data.json")
with open(self.data_file, "w+") as new_json_file:
json.dump(connection_entry_data, new_json_file)
self.json_writer = JsonEntryWriter(self.data_file)
def tearDown(self):
os.remove(self.data_file)
def test_write_entry(self):
new_entry = ConnectionEntry(datetime(2018, 9, 24),
True,
Status.WARNING,
StatusChange.ERROR_RESOLVED)
self.json_writer.write_new_entry(new_entry)
final_data = [
{
"time": "2018-08-03 20:35:43",
"result": True,
"status": "UNKNOWN",
"status_change": "WARNING_RESOLVED"
},
{
"time": "2018-08-03 22:35:43",
"result": False,
"status": "ERROR",
"status_change": "NEW_ERROR"
},
{
"time": "2018-09-24 00:00:00",
"result": True,
"status": "WARNING",
"status_change": "ERROR_RESOLVED"
}
]
with open(self.data_file, "r") as blame_data:
data = json.load(blame_data)
self.assertListEqual(final_data, data)
class TestJsonEntryWriterWithoutFile(unittest.TestCase):
def setUp(self):
# Mock external dependencies
self.patcher = patch("src.notifiers.json_entry_writer.prepare_data_file")
self.addCleanup(self.patcher.stop)
self.mock_prepare_data_file = self.patcher.start()
self.json_writer = JsonEntryWriter("some_invalid_file_path")
# Mock internal functions
self.json_writer._get_test_data = MagicMock(return_value=connection_entry_data)
self.json_writer._save_test_data = MagicMock()
def test_create_blame_entry(self):
new_entry = ConnectionEntry(datetime(2018, 9, 24),
True,
Status.WARNING,
StatusChange.ERROR_RESOLVED)
self.json_writer.write_new_entry(new_entry)
final_data = [
{
"time": "2018-08-03 20:35:43",
"result": True,
"status": "UNKNOWN",
"status_change": "WARNING_RESOLVED"
},
{
"time": "2018-08-03 22:35:43",
"result": False,
"status": "ERROR",
"status_change": "NEW_ERROR"
},
{
"time": "2018-09-24 00:00:00",
"result": True,
"status": "WARNING",
"status_change": "ERROR_RESOLVED"
}
]
self.mock_prepare_data_file.assert_called_with("some_invalid_file_path", FileType.JSON_LIST)
self.json_writer._get_test_data.assert_called()
self.json_writer._save_test_data.assert_called_with(final_data)
|
from sapextractor.algo import ap_ar, o2c, p2p, factory
|
import unittest
from rocktype.rocktype import Rocktype
class RocktypeTest(unittest.TestCase):
def test_something(self):
assert str(Rocktype()) == "Rocktype"
|
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'BatchProcessing.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_BatchProcessing(object):
def setupUi(self, BatchProcessing):
BatchProcessing.setObjectName("BatchProcessing")
BatchProcessing.resize(897, 637)
self.centralwidget = QtWidgets.QWidget(BatchProcessing)
self.centralwidget.setObjectName("centralwidget")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.gridLayout_2 = QtWidgets.QGridLayout()
self.gridLayout_2.setObjectName("gridLayout_2")
self.p_video_dir_root = QtWidgets.QLineEdit(self.centralwidget)
self.p_video_dir_root.setObjectName("p_video_dir_root")
self.gridLayout_2.addWidget(self.p_video_dir_root, 0, 2, 1, 1)
self.pushButton_videosDir = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_videosDir.setObjectName("pushButton_videosDir")
self.gridLayout_2.addWidget(self.pushButton_videosDir, 0, 1, 1, 1)
self.p_tmp_dir_root = QtWidgets.QLineEdit(self.centralwidget)
self.p_tmp_dir_root.setObjectName("p_tmp_dir_root")
self.gridLayout_2.addWidget(self.p_tmp_dir_root, 5, 2, 1, 1)
self.p_videos_list = QtWidgets.QLineEdit(self.centralwidget)
self.p_videos_list.setEnabled(True)
self.p_videos_list.setObjectName("p_videos_list")
self.gridLayout_2.addWidget(self.p_videos_list, 1, 2, 1, 1)
self.p_mask_dir_root = QtWidgets.QLineEdit(self.centralwidget)
self.p_mask_dir_root.setObjectName("p_mask_dir_root")
self.gridLayout_2.addWidget(self.p_mask_dir_root, 2, 2, 1, 1)
self.pushButton_tmpDir = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_tmpDir.setObjectName("pushButton_tmpDir")
self.gridLayout_2.addWidget(self.pushButton_tmpDir, 5, 1, 1, 1)
self.pushButton_txtFileList = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_txtFileList.setEnabled(True)
self.pushButton_txtFileList.setObjectName("pushButton_txtFileList")
self.gridLayout_2.addWidget(self.pushButton_txtFileList, 1, 1, 1, 1)
self.pushButton_masksDir = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_masksDir.setObjectName("pushButton_masksDir")
self.gridLayout_2.addWidget(self.pushButton_masksDir, 2, 1, 1, 1)
self.p_results_dir_root = QtWidgets.QLineEdit(self.centralwidget)
self.p_results_dir_root.setObjectName("p_results_dir_root")
self.gridLayout_2.addWidget(self.p_results_dir_root, 3, 2, 1, 1)
self.pushButton_paramFile = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_paramFile.setObjectName("pushButton_paramFile")
self.gridLayout_2.addWidget(self.pushButton_paramFile, 4, 1, 1, 1)
self.pushButton_resultsDir = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_resultsDir.setObjectName("pushButton_resultsDir")
self.gridLayout_2.addWidget(self.pushButton_resultsDir, 3, 1, 1, 1)
self.checkBox_txtFileList = QtWidgets.QCheckBox(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_txtFileList.sizePolicy().hasHeightForWidth())
self.checkBox_txtFileList.setSizePolicy(sizePolicy)
self.checkBox_txtFileList.setText("")
self.checkBox_txtFileList.setObjectName("checkBox_txtFileList")
self.gridLayout_2.addWidget(self.checkBox_txtFileList, 1, 0, 1, 1)
self.checkBox_tmpDir = QtWidgets.QCheckBox(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_tmpDir.sizePolicy().hasHeightForWidth())
self.checkBox_tmpDir.setSizePolicy(sizePolicy)
self.checkBox_tmpDir.setText("")
self.checkBox_tmpDir.setObjectName("checkBox_tmpDir")
self.gridLayout_2.addWidget(self.checkBox_tmpDir, 5, 0, 1, 1)
self.p_json_file = QtWidgets.QComboBox(self.centralwidget)
self.p_json_file.setEditable(True)
self.p_json_file.setObjectName("p_json_file")
self.gridLayout_2.addWidget(self.p_json_file, 4, 2, 1, 1)
self.verticalLayout.addLayout(self.gridLayout_2)
self.verticalLayout_2.addLayout(self.verticalLayout)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.gridLayout_3 = QtWidgets.QGridLayout()
self.gridLayout_3.setObjectName("gridLayout_3")
self.p_is_debug = QtWidgets.QCheckBox(self.centralwidget)
self.p_is_debug.setObjectName("p_is_debug")
self.gridLayout_3.addWidget(self.p_is_debug, 5, 2, 1, 1)
self.label_numMaxProc = QtWidgets.QLabel(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_numMaxProc.sizePolicy().hasHeightForWidth())
self.label_numMaxProc.setSizePolicy(sizePolicy)
self.label_numMaxProc.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.label_numMaxProc.setWordWrap(True)
self.label_numMaxProc.setObjectName("label_numMaxProc")
self.gridLayout_3.addWidget(self.label_numMaxProc, 2, 1, 1, 1)
self.label = QtWidgets.QLabel(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.label.setObjectName("label")
self.gridLayout_3.addWidget(self.label, 0, 3, 1, 1)
self.p_force_start_point = QtWidgets.QComboBox(self.centralwidget)
self.p_force_start_point.setObjectName("p_force_start_point")
self.gridLayout_3.addWidget(self.p_force_start_point, 1, 3, 1, 3)
self.p_copy_unfinished = QtWidgets.QCheckBox(self.centralwidget)
self.p_copy_unfinished.setObjectName("p_copy_unfinished")
self.gridLayout_3.addWidget(self.p_copy_unfinished, 5, 1, 1, 1)
self.p_max_num_process = QtWidgets.QSpinBox(self.centralwidget)
self.p_max_num_process.setObjectName("p_max_num_process")
self.gridLayout_3.addWidget(self.p_max_num_process, 3, 1, 1, 1)
self.p_pattern_exclude = QtWidgets.QLineEdit(self.centralwidget)
self.p_pattern_exclude.setObjectName("p_pattern_exclude")
self.gridLayout_3.addWidget(self.p_pattern_exclude, 1, 2, 1, 1)
self.label_2 = QtWidgets.QLabel(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
self.label_2.setSizePolicy(sizePolicy)
self.label_2.setObjectName("label_2")
self.gridLayout_3.addWidget(self.label_2, 2, 3, 1, 1)
self.p_end_point = QtWidgets.QComboBox(self.centralwidget)
self.p_end_point.setObjectName("p_end_point")
self.gridLayout_3.addWidget(self.p_end_point, 3, 3, 1, 3)
self.p_pattern_include = QtWidgets.QLineEdit(self.centralwidget)
self.p_pattern_include.setObjectName("p_pattern_include")
self.gridLayout_3.addWidget(self.p_pattern_include, 1, 1, 1, 1)
self.label_patternExc = QtWidgets.QLabel(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_patternExc.sizePolicy().hasHeightForWidth())
self.label_patternExc.setSizePolicy(sizePolicy)
self.label_patternExc.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.label_patternExc.setWordWrap(True)
self.label_patternExc.setObjectName("label_patternExc")
self.gridLayout_3.addWidget(self.label_patternExc, 0, 2, 1, 1)
self.label_patternIn = QtWidgets.QLabel(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_patternIn.sizePolicy().hasHeightForWidth())
self.label_patternIn.setSizePolicy(sizePolicy)
self.label_patternIn.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.label_patternIn.setWordWrap(True)
self.label_patternIn.setObjectName("label_patternIn")
self.gridLayout_3.addWidget(self.label_patternIn, 0, 1, 1, 1)
self.p_is_copy_video = QtWidgets.QCheckBox(self.centralwidget)
self.p_is_copy_video.setObjectName("p_is_copy_video")
self.gridLayout_3.addWidget(self.p_is_copy_video, 6, 1, 1, 1)
self.p_unmet_requirements = QtWidgets.QCheckBox(self.centralwidget)
self.p_unmet_requirements.setObjectName("p_unmet_requirements")
self.gridLayout_3.addWidget(self.p_unmet_requirements, 6, 2, 1, 1)
self.p_only_summary = QtWidgets.QCheckBox(self.centralwidget)
self.p_only_summary.setObjectName("p_only_summary")
self.gridLayout_3.addWidget(self.p_only_summary, 7, 1, 1, 1)
self.pushButton_start = QtWidgets.QPushButton(self.centralwidget)
font = QtGui.QFont()
font.setPointSize(18)
self.pushButton_start.setFont(font)
self.pushButton_start.setObjectName("pushButton_start")
self.gridLayout_3.addWidget(self.pushButton_start, 5, 3, 3, 1)
self.horizontalLayout_2.addLayout(self.gridLayout_3)
self.verticalLayout_2.addLayout(self.horizontalLayout_2)
BatchProcessing.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(BatchProcessing)
self.menubar.setGeometry(QtCore.QRect(0, 0, 897, 22))
self.menubar.setObjectName("menubar")
BatchProcessing.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(BatchProcessing)
self.statusbar.setObjectName("statusbar")
BatchProcessing.setStatusBar(self.statusbar)
self.retranslateUi(BatchProcessing)
QtCore.QMetaObject.connectSlotsByName(BatchProcessing)
def retranslateUi(self, BatchProcessing):
_translate = QtCore.QCoreApplication.translate
BatchProcessing.setWindowTitle(_translate("BatchProcessing", "Batch Processing"))
self.pushButton_videosDir.setText(_translate("BatchProcessing", "Original Videos Dir"))
self.pushButton_tmpDir.setText(_translate("BatchProcessing", "Temporary Dir"))
self.pushButton_txtFileList.setText(_translate("BatchProcessing", "Individual Files List"))
self.pushButton_masksDir.setText(_translate("BatchProcessing", "Masked Videos Dir"))
self.pushButton_paramFile.setText(_translate("BatchProcessing", "Parameters File"))
self.pushButton_resultsDir.setText(_translate("BatchProcessing", "Tracking Results Dir"))
self.p_is_debug.setText(_translate("BatchProcessing", "Print debug information"))
self.label_numMaxProc.setText(_translate("BatchProcessing", "Maximum Number of Processes"))
self.label.setText(_translate("BatchProcessing", "Analysis Start Point"))
self.p_copy_unfinished.setText(_translate("BatchProcessing", "Copy Unfinished Analysis"))
self.label_2.setText(_translate("BatchProcessing", "Analysis End Point"))
self.label_patternExc.setText(_translate("BatchProcessing", "File Pattern to Exclude"))
self.label_patternIn.setText(_translate("BatchProcessing", "File Pattern to Include"))
self.p_is_copy_video.setText(_translate("BatchProcessing", "Copy Raw Videos to Temp Dir"))
self.p_unmet_requirements.setText(_translate("BatchProcessing", "Print Unmet Requirements"))
self.p_only_summary.setText(_translate("BatchProcessing", "Only Display Progress Summary"))
self.pushButton_start.setText(_translate("BatchProcessing", "START"))
|
# -*- coding: utf-8 -*-
"""
Created on Mon Jun 19 10:09:38 2017
@author: tih
"""
import os
import watertools.General.raster_conversions as RC
import watertools.General.data_conversions as DC
import numpy as np
import pandas as pd
def Calc_Humidity(Temp_format, P_format, Hum_format, output_format, Startdate, Enddate, freq ="D"):
folder_dir_out = os.path.dirname(output_format)
if not os.path.exists(folder_dir_out):
os.makedirs(folder_dir_out)
Dates = pd.date_range(Startdate, Enddate, freq = freq)
for Date in Dates:
try:
print(Date)
Day = Date.day
Month = Date.month
Year = Date.year
Hour = Date.hour
Minute = Date.minute
Tempfile_one = Temp_format.format(yyyy = Year, mm = Month, dd = Day, HH = Hour, MM = Minute)
Presfile_one = P_format.format(yyyy = Year, mm = Month, dd = Day, HH = Hour, MM = Minute)
Humfile_one = Hum_format.format(yyyy = Year, mm = Month, dd = Day, HH = Hour, MM = Minute)
out_folder_one = output_format.format(yyyy = Year, mm = Month, dd = Day, HH = Hour, MM = Minute)
geo_out, proj, size_X, size_Y = RC.Open_array_info(Tempfile_one)
Tdata = RC.Open_tiff_array(Tempfile_one)
Tdata[Tdata<-900]=-9999
Pdata = RC.Open_tiff_array(Presfile_one)
Hdata = RC.Open_tiff_array(Humfile_one)
Pdata[Pdata<0]=-9999
Hdata[Hdata<0]=-9999
# gapfilling
Tdata = RC.gap_filling(Tdata,-9999)
Pdata = RC.gap_filling(Pdata,-9999)
Hdata = RC.gap_filling(Hdata,-9999)
if "_K_" in Temp_format:
Tdata = Tdata - 273.15
Esdata = 0.6108*np.exp((17.27*Tdata)/(Tdata+237.3))
HumData = np.minimum((1.6077717*Hdata*Pdata/Esdata),1)*100
HumData = HumData.clip(0,100)
DC.Save_as_tiff(out_folder_one,HumData,geo_out,"WGS84")
print("FINISHED relative humidity for %s" %Date)
except:
print("NO relative humidity for %s" %Date)
return() |
class SimIo:
def __init__(self, sim, name, getter, setter):
self.sim = sim
self.name = name
self.getter = getter
self.setter = setter
def get(self):
if self.getter is None:
raise NotImplementedError
return self.getter()
def set(self, val):
if self.setter is None:
raise NotImplementedError
self.setter(val)
|
#!/usr/bin/env python3
# Copyright (c) 2015-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Utilities for manipulating blocks and transactions."""
from .mininode import *
from .script import CScript, OP_TRUE, OP_CHECKSIG
# Create a block (with regtest difficulty)
def create_block(hashprev, coinbase, nTime=None):
block = CBlock()
if nTime is None:
import time
block.nTime = int(time.time()+600)
else:
block.nTime = nTime
block.hashPrevBlock = hashprev
block.nBits = 0x207fffff # Will break after a difficulty adjustment...
block.vtx.append(coinbase)
block.hashMerkleRoot = block.calc_merkle_root()
block.calc_sha256()
return block
def serialize_script_num(value):
r = bytearray(0)
if value == 0:
return r
neg = value < 0
absvalue = -value if neg else value
while (absvalue):
r.append(int(absvalue & 0xff))
absvalue >>= 8
if r[-1] & 0x80:
r.append(0x80 if neg else 0)
elif neg:
r[-1] |= 0x80
return r
# Create a coinbase transaction, assuming no miner fees.
# If pubkey is passed in, the coinbase output will be a P2PK output;
# otherwise an anyone-can-spend output.
def create_coinbase(height, pubkey = None, dip4_activated=False):
coinbase = CTransaction()
coinbase.vin.append(CTxIn(COutPoint(0, 0xffffffff),
ser_string(serialize_script_num(height)), 0xffffffff))
coinbaseoutput = CTxOut()
coinbaseoutput.nValue = 500 * COIN
halvings = int(height/150) # regtest
coinbaseoutput.nValue >>= halvings
if (pubkey != None):
coinbaseoutput.scriptPubKey = CScript([pubkey, OP_CHECKSIG])
else:
coinbaseoutput.scriptPubKey = CScript([OP_TRUE])
coinbase.vout = [ coinbaseoutput ]
if dip4_activated:
coinbase.nVersion = 3
coinbase.nType = 5
cbtx_payload = CCbTx(2, height, 0, 0)
coinbase.vExtraPayload = cbtx_payload.serialize()
coinbase.calc_sha256()
return coinbase
# Create a transaction.
# If the scriptPubKey is not specified, make it anyone-can-spend.
def create_transaction(prevtx, n, sig, value, scriptPubKey=CScript()):
tx = CTransaction()
assert(n < len(prevtx.vout))
tx.vin.append(CTxIn(COutPoint(prevtx.sha256, n), sig, 0xffffffff))
tx.vout.append(CTxOut(value, scriptPubKey))
tx.calc_sha256()
return tx
def get_legacy_sigopcount_block(block, fAccurate=True):
count = 0
for tx in block.vtx:
count += get_legacy_sigopcount_tx(tx, fAccurate)
return count
def get_legacy_sigopcount_tx(tx, fAccurate=True):
count = 0
for i in tx.vout:
count += i.scriptPubKey.GetSigOpCount(fAccurate)
for j in tx.vin:
# scriptSig might be of type bytes, so convert to CScript for the moment
count += CScript(j.scriptSig).GetSigOpCount(fAccurate)
return count
# Identical to GetMasternodePayment in C++ code
def get_masternode_payment(nHeight, blockValue, nReallocActivationHeight):
ret = int(blockValue / 5)
nMNPIBlock = 350
nMNPIPeriod = 10
if nHeight > nMNPIBlock:
ret += int(blockValue / 20)
if nHeight > nMNPIBlock+(nMNPIPeriod* 1):
ret += int(blockValue / 20)
if nHeight > nMNPIBlock+(nMNPIPeriod* 2):
ret += int(blockValue / 20)
if nHeight > nMNPIBlock+(nMNPIPeriod* 3):
ret += int(blockValue / 40)
if nHeight > nMNPIBlock+(nMNPIPeriod* 4):
ret += int(blockValue / 40)
if nHeight > nMNPIBlock+(nMNPIPeriod* 5):
ret += int(blockValue / 40)
if nHeight > nMNPIBlock+(nMNPIPeriod* 6):
ret += int(blockValue / 40)
if nHeight > nMNPIBlock+(nMNPIPeriod* 7):
ret += int(blockValue / 40)
if nHeight > nMNPIBlock+(nMNPIPeriod* 9):
ret += int(blockValue / 40)
if nHeight < nReallocActivationHeight:
# Block Reward Realocation is not activated yet, nothing to do
return ret
nSuperblockCycle = 10
# Actual realocation starts in the cycle next to one activation happens in
nReallocStart = nReallocActivationHeight - nReallocActivationHeight % nSuperblockCycle + nSuperblockCycle
if nHeight < nReallocStart:
# Activated but we have to wait for the next cycle to start realocation, nothing to do
return ret
# Periods used to reallocate the masternode reward from 50% to 60%
vecPeriods = [
513, # Period 1: 51.3%
526, # Period 2: 52.6%
533, # Period 3: 53.3%
540, # Period 4: 54%
546, # Period 5: 54.6%
552, # Period 6: 55.2%
557, # Period 7: 55.7%
562, # Period 8: 56.2%
567, # Period 9: 56.7%
572, # Period 10: 57.2%
577, # Period 11: 57.7%
582, # Period 12: 58.2%
585, # Period 13: 58.5%
588, # Period 14: 58.8%
591, # Period 15: 59.1%
594, # Period 16: 59.4%
597, # Period 17: 59.7%
599, # Period 18: 59.9%
600 # Period 19: 60%
]
nReallocCycle = nSuperblockCycle * 3
nCurrentPeriod = min(int((nHeight - nReallocStart) / nReallocCycle), len(vecPeriods) - 1)
return int(blockValue * vecPeriods[nCurrentPeriod] / 1000)
|
from abc import ABC
from workflow.ui import get_path_folder
from workflow.ms_sql_handler import ms_sql_handler
from workflow.ssh_handler import ssh_handler
from workflow.reader import read_json
from workflow.ui import get_path
from workflow.ui import get_path_folder
from workflow.writer import write_json
import time
import os
class workflow_obj(ABC):
def get_json(self, wf):
print("Importing data from cache...")
# get relative path to json cache file
dirname = os.path.dirname(os.path.abspath(__file__))
folders = dirname.split("/")
top_pkg_folder = "/".join(folders[0:-2])
path_to_static_cache = top_pkg_folder + "/data/static_cache.json"
full_static_cache = read_json(path_to_static_cache)
# only select today's workflow, check that static data is present
if wf >= 0:
workflow = "workflow" + str(wf)
else:
if wf == -1:
workflow = 'epi_isl'
elif wf == -2:
workflow = 'gisaid'
elif wf == -3:
workflow = 'outside_lab'
elif wf == -4:
workflow = 'query'
elif wf == -5:
workflow = 'refresh'
elif wf == -6:
workflow = 'plotter'
elif wf == -7:
workflow= 'gisaid_submit'
working_static_cache = full_static_cache[workflow]
gen_static_cache = full_static_cache['all_workflows']
for k, v in working_static_cache.items():
if "query" in str(k):
if not hasattr(self, k):
setattr(self, k, " ".join(v))
else:
if not hasattr(self, k):
setattr(self, k, v)
self.avg_depth_cutoff = gen_static_cache['avg_depth_cutoff']
self.percent_cvg_cutoff = gen_static_cache['percent_cvg_cutoff']
self.neg_percent_cvg_cutoff = gen_static_cache['neg_percent_cvg_cutoff']
self.col_func_map = gen_static_cache['col_func_map']
# search for private data. If empty, gather from user (first time use)
path_to_private_cache = top_pkg_folder + "/data/private_cache.json"
# if the file doesn't exist, create it
if os.path.isfile(path_to_private_cache) and os.access(path_to_private_cache, os.R_OK):
pass
else:
print("\nPrivate cache does not exist, creating file...")
private_start_dict = dict.fromkeys(full_static_cache.keys(), {})
write_json(path_to_private_cache, private_start_dict)
full_private_cache = read_json(path_to_private_cache)
try:
working_private_cache = full_private_cache[workflow]
except KeyError:
full_private_cache[workflow] = {}
write_json(path_to_private_cache, full_private_cache)
working_private_cache = full_private_cache[workflow]
gen_private_cache = full_private_cache['all_workflows']
try:
need_sql=True
self.sql_user = gen_private_cache['sql_user']
self.sql_pass = gen_private_cache['sql_pass']
self.sql_server = gen_private_cache['sql_server']
self.sql_db = gen_private_cache['sql_db']
need_sql=False
need_reportable = True
self.reportable = gen_private_cache['reportable']
need_reportable = False
include_controls = True
self.include_controls = gen_private_cache['include_controls']
include_controls = False
need_analysis_pathway = True
need_ssh = True
self.analysis_pathway = gen_private_cache['analysis_pathway']
need_analysis_pathway = False
if self.analysis_pathway == "cli":
self.ssh_ip = gen_private_cache['ssh_ip']
self.ssh_user = gen_private_cache['ssh_user']
self.ssh_pwd = gen_private_cache['ssh_pwd']
self.ssh_port = gen_private_cache['ssh_port']
self.ssh_dest = gen_private_cache['ssh_dest']
need_ssh = False
need_cl_data = True
self.cl_user = gen_private_cache['cl_user']
self.cl_pwd = gen_private_cache['cl_pwd']
need_cl_data = False
need_ctrls = True
self.neg_ctrl_lot = gen_private_cache['neg_ctrl_lot']
self.neg_ctrl_exp = gen_private_cache['neg_ctrl_exp']
self.pos_ctrl_lot = gen_private_cache['pos_ctrl_lot']
self.pos_ctrl_exp = gen_private_cache['pos_ctrl_exp']
need_ctrls = False
if wf == 0:
self.fasta_file_download_path = working_private_cache['fasta_file_download_path']
if wf == 1:
self.priority_path = working_private_cache['priority_path']
self.lims_conn = working_private_cache['lims_conn']
if wf == 4:
self.fasta_file_path = working_private_cache['fasta_file_path']
if wf == 5:
self.fasta_file_path = working_private_cache['fasta_file_path']
if wf == -2:
self.default_state = working_private_cache['default_state']
self.folderpathbase = working_private_cache['folderpathbase']
self.authors = working_private_cache['authors']
self.lab_name = working_private_cache['lab_name']
self.lab_addr = working_private_cache['lab_addr']
self.user = working_private_cache['user']
if abs(wf) == 3:
self.fasta_file_path = working_private_cache['fasta_file_path']
if wf == 7:
self.destination = working_private_cache['destination']
self.location = working_private_cache['location']
self.port = working_private_cache['port']
self.sftp_user = working_private_cache['sftp_user']
self.sftp_pwd = working_private_cache['sftp_pwd']
if wf == -4:
self.folder_path_base = working_private_cache['folder_path_base']
if wf == 6:
self.lab = working_private_cache['lab']
self.p_lab = working_private_cache['p_lab']
self.folderpathbase = working_private_cache['folderpathbase']
if wf == -5:
self.base_path = working_private_cache['base_path']
self.new_base_path = working_private_cache['new_base_path']
if wf == -6:
self.base_path = working_private_cache['base_path']
if wf == 9:
self.base_path = working_private_cache['base_path']
if wf == -7:
self.user = working_private_cache['user']
self.user_client_ID = working_private_cache['user_client_ID']
self.token_path = working_private_cache['token_path']
self.current_gis_path = working_private_cache['current_gis_path']
self.log_path = working_private_cache['log_path']
except KeyError:
print("Looks like this is your first time using the script!")
print("\nPlease fill out the following questions (we'll store \
results on-device so you won't have to enter them again).")
if wf == 0:
print("Please select the path to the folder where downloads should be stored.")
self.fasta_file_download_path = get_path()
if wf == 1:
print("Please select the path to the .txt document containing the list of priority samples")
self.priority_path = get_path()
self.lims_conn = input("\nPlease enter the string for the LIMS connection \
(ie <user>/<password>@<db_tablename>\n-->")
if wf == -2:
print("Please select the folder you'd like to contain the finished file")
self.folderpathbase = get_path_folder()
self.default_state = input("\nPlease type the state you'd like unknown sample locations to default to \
on reports.\n--> ")
self.authors = input("\nPlease type the authors of the document\n--> ")
self.lab_name = input("\nPlease type the name of the lab submitting the report\n--> ")
self.lab_addr = input("\nPlease type the address of the lab submitting the report\n--> ")
self.user = input("\nWho should be the default user for this report?\n--> ")
if wf == 7:
self.destination = input("\nType the relative path of the destination folder\n--> ")
self.location = input("\nType the address of the final location of sftp transfer\n--> ")
self.port = input("\nType the port to be used in transfer (typically 22)\n--> ")
self.sftp_user = input("\nType the username for sftp access\n--> ")
self.sftp_pwd = input("\nType the password for sftp access\n--> ")
if wf == -4:
print("\nPlease select the path to the folder where you would like the \
queries to be stored.")
self.folder_path_base = get_path()
if wf == 6:
self.lab = input("\nType the name of the lab submitting the report\n--> ")
self.p_lab = input("\nType the name of the lab performing the tests to appear on this report\n-->")
print("\nPlease select the path to the Results folder where the reports should be saved.")
self.folderpathbase = get_path_folder()
if wf == -5:
print("\nPlease select the path to the folder where ClearLabs \
Downloads used to be stored.")
self.base_path = get_path_folder()
print("\nPlease select the path to the folder where ClearLabs \
Downloads are now stored.")
self.new_base_path = get_path_folder()
if wf == -6:
print("\nPlease select the path to the folder where the \
Plots should be stored")
self.base_path = get_path_folder()
if wf == 9:
print("\nPlease select the path to the folder where the \
passing fasta files should be stored")
self.base_path = get_path_folder()
if need_sql:
self.sql_user = input("\nPlease enter the username for the sql database:\n-->")
self.sql_pass = input("\nPlease enter the password for the sql database:\n-->")
self.sql_server = input("\nPlease enter the server name for the sql database:\n-->")
self.sql_db = input("\nPlease enter the name for the sql database:\n-->")
if need_analysis_pathway:
self.analysis_pathway = input("\nPlease enter 'online' if you plan to perform the nextclade and pangolin analysis \
using the online tools.\nPlease enter 'cli' if you plan to perform the nextclade and pangolin analysis using a separate system\n--> ")
if need_ssh:
self.ssh_ip = input("\nPlease type the ip address of the server you'd like to access (if you will run the pangolin/nextclade \
analysis on the current computer, use '127.0.0.1')\n--> ")
self.ssh_user = input("\nPlease enter the user name of the server to be used for the pangolin/nextclade analysis\n--> ")
self.ssh_pwd = input("\nPlease enter the password of the server to be used for the pangolin/nextclade analysis\n--> ")
self.ssh_port = input("\nPlease enter the port number to use for communication with the server for pangolin/nextclade analysis \
(typically port '8080' or '8088' will work fine.)\n--> ")
self.ssh_dest = input("\nPlease type the location of the nextclade package on the server.\n--> ")
if need_ctrls:
self.neg_ctrl_lot = input("\nPlease type the lot number for the negative control (something like 'AF29484103')\n--> ")
self.neg_ctrl_exp = input("\nPlease type the expiration date for the negative control, formatted YYYY-MM-DD (something like '2021-02-19')\n--> ")
self.pos_ctrl_lot = input("\nPlease type the lot number for the positive control (something like 'AF29484103')\n--> ")
self.pos_ctrl_exp = input("\nPlease type the expiration date for the positive control, formatted YYYY-MM-DD (something like '2021-02-19')\n--> ")
if include_controls:
self.include_controls = int(input("\nPlease type 0 if there are no controls included on this run, and 1 if there are controls included.\n--> "))
if need_reportable:
self.reportable = int(input("\nPlease type 0 if you don't want the results to be reportable and 1 if you would like the results to be reportable.\n--> "))
if need_cl_data:
self.cl_user = input("\nPlease enter the email used to access the ClearLabs website:\n--> ")
self.cl_pwd = input("\nPlease enter the password used to access the ClearLabs website:\n--> ")
print("\nFinished! If you need to change these values in the \
future for any reason, modify the cache file: daily_workflow/data/private_cache.json")
if wf == 0:
full_private_cache[workflow]['fasta_file_download_path'] = self.fasta_file_download_path
if wf == 1:
full_private_cache[workflow]['priority_path'] = self.priority_path
full_private_cache[workflow]['lims_conn'] = self.lims_conn
if wf == -2:
full_private_cache[workflow]['default_state'] = self.default_state
full_private_cache[workflow]['folderpathbase'] = self.folderpathbase
full_private_cache[workflow]['authors'] = self.authors
full_private_cache[workflow]['lab_name'] = self.lab_name
full_private_cache[workflow]['lab_addr'] = self.lab_addr
full_private_cache[workflow]['user'] = self.user
if wf == 7:
full_private_cache[workflow]['destination'] = self.destination
full_private_cache[workflow]['location'] = self.location
full_private_cache[workflow]['port'] = self.port
full_private_cache[workflow]['sftp_user'] = self.sftp_user
full_private_cache[workflow]['sftp_pwd'] = self.sftp_pwd
if wf == -4:
full_private_cache[workflow]['folder_path_base'] = self.folder_path_base
if wf == 6:
full_private_cache[workflow]['lab'] = self.lab
full_private_cache[workflow]['p_lab'] = self.p_lab
full_private_cache[workflow]['folderpathbase'] = self.folderpathbase
if wf == -6:
full_private_cache[workflow]['base_path'] = self.base_path
if wf == 9:
full_private_cache[workflow]['base_path'] = self.base_path
full_private_cache["all_workflows"]['sql_user'] = self.sql_user
full_private_cache["all_workflows"]['sql_pass'] = self.sql_pass
full_private_cache["all_workflows"]['sql_server'] = self.sql_server
full_private_cache["all_workflows"]['sql_db'] = self.sql_db
full_private_cache["all_workflows"]['analysis_pathway'] = self.analysis_pathway
full_private_cache["all_workflows"]['ssh_ip'] = self.ssh_ip
full_private_cache["all_workflows"]['ssh_user'] = self.ssh_user
full_private_cache["all_workflows"]['ssh_pwd'] = self.ssh_pwd
full_private_cache["all_workflows"]['ssh_port'] = self.ssh_port
full_private_cache["all_workflows"]['ssh_dest'] = self.ssh_dest
full_private_cache["all_workflows"]['neg_ctrl_lot'] = self.neg_ctrl_lot
full_private_cache["all_workflows"]['neg_ctrl_exp'] = self.neg_ctrl_exp
full_private_cache["all_workflows"]['pos_ctrl_lot'] = self.pos_ctrl_lot
full_private_cache["all_workflows"]['pos_ctrl_exp'] = self.pos_ctrl_exp
full_private_cache["all_workflows"]['reportable'] = self.reportable
full_private_cache["all_workflows"]['cl_user'] = self.cl_user
full_private_cache["all_workflows"]['cl_pwd'] = self.cl_pwd
print("\nStoring data for future use...")
res = write_json(path_to_private_cache, full_private_cache)
if res != 0:
raise ValueError("workflow_obj write to json failed!")
# with open(path_to_cache, mode='w') as cache_file:
# json.dump(full_cache, cache_file, indent=4)
print("\nContinuing the script in 5 seconds.")
time.sleep(5)
def setup_db(self):
self.db_handler = ms_sql_handler(self)
self.db_handler.establish_db()
def setup_ssh(self):
self.ssh_handler = ssh_handler(self)
# client_ssh is for sending commands to server
self.ssh_handler.establish_client_ssh()
|
import math
from math import floor
import numpy as np
import torch
import torch.nn as nn
from cross_correlation import xcorr_torch
from spectral_tools import gen_mtf
def net_scope(kernel_size):
"""
Compute the network scope.
Parameters
----------
kernel_size : List[int]
A list containing the kernel size of each layer of the network.
Return
------
scope : int
The scope of the network
"""
scope = 0
for i in range(len(kernel_size)):
scope += math.floor(kernel_size[i] / 2)
return scope
def local_corr_mask(img_in, ratio, sensor, device, kernel=8):
"""
Compute the threshold mask for the structural loss.
Parameters
----------
img_in : Torch Tensor
The test image, already normalized and with the MS part upsampled with ideal interpolator.
ratio : int
The resolution scale which elapses between MS and PAN.
sensor : str
The name of the satellites which has provided the images.
device : Torch device
The device on which perform the operation.
kernel : int
The semi-width for local cross-correlation computation.
(See the cross-correlation function for more details)
Return
------
mask : PyTorch Tensor
Local correlation field stack, composed by each MS and PAN. Dimensions: Batch, B, H, W.
"""
I_PAN = torch.unsqueeze(img_in[:, -1, :, :], dim=1)
I_MS = img_in[:, :-1, :, :]
MTF_kern = gen_mtf(ratio, sensor)[:, :, 0]
MTF_kern = np.expand_dims(MTF_kern, axis=(0, 1))
MTF_kern = torch.from_numpy(MTF_kern).type(torch.float32)
pad = floor((MTF_kern.shape[-1] - 1) / 2)
padding = nn.ReflectionPad2d(pad)
depthconv = nn.Conv2d(in_channels=1,
out_channels=1,
groups=1,
kernel_size=MTF_kern.shape,
bias=False)
depthconv.weight.data = MTF_kern
depthconv.weight.requires_grad = False
I_PAN = padding(I_PAN)
I_PAN = depthconv(I_PAN)
mask = xcorr_torch(I_PAN, I_MS, kernel, device)
mask = 1.0 - mask
return mask
|
from test_common import *
init_common_redis("192.168.0.11", "192.168.0.22", "192.168.0.33")
compare_all()
|
#
#
# Author: Mahmoud Bassiouny <mbassiouny@vmware.com>
from device import Device
from window import Window
from actionresult import ActionResult
from menu import Menu
class SelectDisk(object):
def __init__(self, maxy, maxx, install_config):
self.install_config = install_config
self.menu_items = []
self.maxx = maxx
self.maxy = maxy
self.win_width = 70
self.win_height = 16
self.win_starty = (self.maxy - self.win_height) // 2
self.win_startx = (self.maxx - self.win_width) // 2
self.menu_starty = self.win_starty + 6
self.menu_height = 5
self.disk_buttom_items = []
self.disk_buttom_items.append(('<Custom>', self.custom_function, False))
self.disk_buttom_items.append(('<Auto>', self.auto_function, False))
self.window = Window(self.win_height, self.win_width, self.maxy, self.maxx,
'Select a disk', True,
items=self.disk_buttom_items, menu_helper=self.save_index,
position=2, tab_enabled=False)
self.devices = Device.refresh_devices()
def display(self):
self.window.addstr(0, 0, 'Please select a disk and a method how to partition it:\n' +
'Auto - single partition for /, no swap partition.\n' +
'Custom - for customized partitioning')
self.disk_menu_items = []
# Fill in the menu items
for index, device in enumerate(self.devices):
#if index > 0:
self.disk_menu_items.append(
(
'{2} - {1} @ {0}'.format(device.path, device.size, device.model),
self.save_index,
index
))
self.disk_menu = Menu(self.menu_starty, self.maxx, self.disk_menu_items,
self.menu_height, tab_enable=False)
self.disk_menu.can_save_sel(True)
self.window.set_action_panel(self.disk_menu)
return self.window.do_action()
def save_index(self, device_index):
self.install_config['disk'] = self.devices[device_index].path
return ActionResult(True, None)
def auto_function(self): #default is no partition
self.install_config['autopartition'] = True
return ActionResult(True, None)
def custom_function(self): #custom minimize partition number is 1
self.install_config['autopartition'] = False
return ActionResult(True, None)
|
"""take meta argument and run the injection infrastructure"""
import os, sys, time, glob
sys.path.append("..")
from ctest_const import *
from program_input import p_input
from parse_input import *
from inject import inject_config
from run_test import run_test_seperate
run_mode = p_input["run_mode"]
mapping = parse_mapping(p_input["mapping_path"])
project = p_input["project"]
def main():
print(">>>>[ctest_core] running project {}".format(project))
s = time.time()
os.makedirs(os.path.join(GENCTEST_TR_DIR, project), exist_ok=True)
if run_mode == "generate_ctest":
test_input = parse_value_file(p_input["param_value_tsv"])
test_value_pair(test_input)
else:
sys.exit(">>>>[ctest_core] invalid run_mode")
print(">>>>[ctest_core] total time: {} seconds".format(time.time() - s))
def test_value_pair(test_input):
for param, values in test_input.items():
tr_file = open(os.path.join(GENCTEST_TR_DIR, project, TR_FILE.format(id=param)), "w")
mt_file = open(os.path.join(GENCTEST_TR_DIR, project, MT_FILE.format(id=param)), "w")
associated_tests = mapping[param] if param in mapping else []
if len(mapping[param]) != 0:
for value in values:
tr = run_test_seperate(param, value, associated_tests)
ran_tests = set()
for tup in tr.ran_tests_and_time:
test, mvntime = tup.split("\t")
ran_tests.add(test)
result = FAIL if test in tr.failed_tests else PASS
row = [param, test, value, result, str(mvntime)]
tr_file.write("\t".join(row) + "\n")
tr_file.flush()
subheader = [project, param, value]
mt_file.write(">>>>[ctest_core] missing test for {}\n".format("\t".join(subheader)))
for test in associated_tests:
if test not in ran_tests:
mt_file.write("{}\n".format(test))
mt_file.flush()
print(">>>>[ctest_core] param {} failed {} tests with value {}".format(param, len(tr.failed_tests), value))
else:
print(">>>>[ctest_core] no test for param {} in mapping {}".format(param, p_input["mapping_path"]))
tr_file.close()
mt_file.close()
if __name__ == '__main__':
main()
|
#!/usr/bin/env python
# coding: utf-8
from __future__ import absolute_import, division, print_function, unicode_literals
import os, sys, unittest, tempfile, json, io, platform, subprocess
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from yq import yq, cli # noqa
USING_PYTHON2 = True if sys.version_info < (3, 0) else False
USING_PYPY = True if platform.python_implementation() == "PyPy" else False
yaml_with_tags = """
foo: !vault |
$ANSIBLE_VAULT;1.1;AES256
3766343436323632623130303
xyz: !!mytag
foo: bar
baz: 1
xyzzt: !binary
- 1
- 2
- 3
scalar-red: !color FF0000
scalar-orange: !color FFFF00
mapping-red: !color-mapping {r: 255, g: 0, b: 0}
mapping-orange:
!color-mapping
r: 255
g: 255
b: 0
"""
class TestYq(unittest.TestCase):
def run_yq(self, input_data, args, expect_exit_codes={os.EX_OK}, input_format="yaml"):
stdin, stdout = sys.stdin, sys.stdout
try:
sys.stdin = io.StringIO(input_data)
sys.stdout = io.BytesIO() if USING_PYTHON2 else io.StringIO()
cli(args, input_format=input_format)
except SystemExit as e:
self.assertIn(e.code, expect_exit_codes)
finally:
result = sys.stdout.getvalue()
if USING_PYTHON2:
result = result.decode("utf-8")
sys.stdin, sys.stdout = stdin, stdout
return result
def test_yq(self):
for input_format in "yaml", "xml", "toml":
try:
cli(["--help"], input_format=input_format)
except SystemExit as e:
self.assertEqual(e.code, 0)
self.assertEqual(self.run_yq("{}", ["."]), "")
self.assertEqual(self.run_yq("foo:\n bar: 1\n baz: {bat: 3}", [".foo.baz.bat"]), "")
self.assertEqual(self.run_yq("[1, 2, 3]", ["--yaml-output", "-M", "."]), "- 1\n- 2\n- 3\n")
self.assertEqual(self.run_yq("foo:\n bar: 1\n baz: {bat: 3}", ["-y", ".foo.baz.bat"]), "3\n...\n")
self.assertEqual(self.run_yq("[aaaaaaaaaa bbb]", ["-y", "."]), "- aaaaaaaaaa bbb\n")
self.assertEqual(self.run_yq("[aaaaaaaaaa bbb]", ["-y", "-w", "8", "."]), "- aaaaaaaaaa\n bbb\n")
self.assertEqual(self.run_yq('{"понедельник": 1}', ['.["понедельник"]']), "")
self.assertEqual(self.run_yq('{"понедельник": 1}', ["-y", '.["понедельник"]']), "1\n...\n")
self.assertEqual(self.run_yq("- понедельник\n- вторник\n", ["-y", "."]), "- понедельник\n- вторник\n")
def test_yq_err(self):
err = ('yq: Error running jq: ScannerError: while scanning for the next token\nfound character \'%\' that '
'cannot start any token\n in "<file>", line 1, column 3.')
self.run_yq("- %", ["."], expect_exit_codes={err, 2})
def test_yq_arg_passthrough(self):
self.assertEqual(self.run_yq("{}", ["--arg", "foo", "bar", "--arg", "x", "y", "--indent", "4", "."]), "")
self.assertEqual(self.run_yq("{}", ["--arg", "foo", "bar", "--arg", "x", "y", "-y", "--indent", "4", ".x=$x"]),
"x: y\n")
err = "yq: Error running jq: {}Error: [Errno 32] Broken pipe{}".format("IO" if USING_PYTHON2 else "BrokenPipe",
": '<fdopen>'." if USING_PYPY else ".")
self.run_yq("{}", ["--indent", "9", "."], expect_exit_codes={err, 2})
with tempfile.NamedTemporaryFile() as tf, tempfile.TemporaryFile() as tf2:
tf.write(b'.a')
tf.seek(0)
tf2.write(b'{"a": 1}')
for arg in "--from-file", "-f":
tf2.seek(0)
self.assertEqual(self.run_yq("", ["-y", arg, tf.name, self.fd_path(tf2)]), '1\n...\n')
@unittest.skipIf(subprocess.check_output(["jq", "--version"]) < b"jq-1.6", "Test options introduced in jq 1.6")
def test_jq16_arg_passthrough(self):
self.assertEqual(self.run_yq("{}", ["--indentless", "-y", ".a=$ARGS.positional", "--args", "a", "b"]),
"a:\n- a\n- b\n")
self.assertEqual(self.run_yq("{}", ["-y", ".a=$ARGS.positional", "--args", "a", "b"]), "a:\n - a\n - b\n")
self.assertEqual(self.run_yq("{}", [".", "--jsonargs", "a", "b"]), "")
def test_short_option_separation(self):
# self.assertEqual(self.run_yq('{"a": 1}', ["-yCcC", "."]), "a: 1\n") - Fails on 2.7 and 3.8
self.assertEqual(self.run_yq('{"a": 1}', ["-CcCy", "."]), "a: 1\n")
self.assertEqual(self.run_yq('{"a": 1}', ["-y", "-CS", "."]), "a: 1\n")
self.assertEqual(self.run_yq('{"a": 1}', ["-y", "-CC", "."]), "a: 1\n")
self.assertEqual(self.run_yq('{"a": 1}', ["-y", "-cC", "."]), "a: 1\n")
self.assertEqual(self.run_yq('{"a": 1}', ["-x", "-cC", "."]), "<a>1</a>\n")
self.assertEqual(self.run_yq('{"a": 1}', ["-C", "."]), "")
self.assertEqual(self.run_yq('{"a": 1}', ["-Cc", "."]), "")
def fd_path(self, fh):
return "/dev/fd/{}".format(fh.fileno())
def test_multidocs(self):
self.assertEqual(self.run_yq("---\na: b\n---\nc: d", ["-y", "."]), "a: b\n---\nc: d\n")
with tempfile.TemporaryFile() as tf, tempfile.TemporaryFile() as tf2:
tf.write(b'{"a": "b"}')
tf.seek(0)
tf2.write(b'{"a": 1}')
tf2.seek(0)
self.assertEqual(self.run_yq("", ["-y", ".a", self.fd_path(tf), self.fd_path(tf2)]), 'b\n--- 1\n...\n')
def test_datetimes(self):
self.assertEqual(self.run_yq("- 2016-12-20T22:07:36Z\n", ["."]), "")
self.assertEqual(self.run_yq("- 2016-12-20T22:07:36Z\n", ["-y", "."]), "- '2016-12-20T22:07:36'\n")
self.assertEqual(self.run_yq("2016-12-20", ["."]), "")
self.assertEqual(self.run_yq("2016-12-20", ["-y", "."]), "'2016-12-20'\n")
def test_unrecognized_tags(self):
self.assertEqual(self.run_yq("!!foo bar\n", ["."]), "")
self.assertEqual(self.run_yq("!!foo bar\n", ["-y", "."]), "bar\n...\n")
self.assertEqual(self.run_yq("x: !foo bar\n", ["-y", "."]), "x: bar\n")
self.assertEqual(self.run_yq("x: !!foo bar\n", ["-y", "."]), "x: bar\n")
with tempfile.TemporaryFile() as tf:
tf.write(yaml_with_tags.encode())
tf.seek(0)
self.assertEqual(self.run_yq("", ["-y", ".xyz.foo", self.fd_path(tf)]), 'bar\n...\n')
def test_roundtrip_yaml(self):
cfn_filename = os.path.join(os.path.dirname(__file__), "cfn.yml")
with io.open(cfn_filename) as fh:
self.assertEqual(self.run_yq("", ["-Y", ".", cfn_filename]), fh.read())
@unittest.skipIf(sys.version_info < (3, 5), "Skipping feature incompatible with Python 2")
def test_in_place(self):
with tempfile.NamedTemporaryFile() as tf, tempfile.NamedTemporaryFile() as tf2:
tf.write(b"- foo\n- bar\n")
tf.seek(0)
tf2.write(b"- foo\n- bar\n")
tf2.seek(0)
self.run_yq("", ["-i", "-y", ".[0]", tf.name, tf2.name])
self.assertEqual(tf.read(), b'foo\n...\n')
self.assertEqual(tf2.read(), b'foo\n...\n')
# Files do not get overwritten on error (DeferredOutputStream logic)
self.run_yq("", ["-i", "-y", tf.name, tf2.name], expect_exit_codes=[3])
tf.seek(0)
tf2.seek(0)
self.assertEqual(tf.read(), b'foo\n...\n')
self.assertEqual(tf2.read(), b'foo\n...\n')
@unittest.expectedFailure
def test_times(self):
"""
Timestamps are parsed as sexagesimals in YAML 1.1 but not 1.2. No PyYAML support for YAML 1.2 yet. See issue 10
"""
self.assertEqual(self.run_yq("11:12:13", ["."]), "")
self.assertEqual(self.run_yq("11:12:13", ["-y", "."]), "'11:12:13'\n")
def test_xq(self):
self.assertEqual(self.run_yq("<foo/>", ["."], input_format="xml"), "")
self.assertEqual(self.run_yq("<foo/>", ["-x", ".foo.x=1"], input_format="xml"),
'<foo>\n <x>1</x>\n</foo>\n')
with tempfile.TemporaryFile() as tf, tempfile.TemporaryFile() as tf2:
tf.write(b'<a><b/></a>')
tf.seek(0)
tf2.write(b'<a><c/></a>')
tf2.seek(0)
self.assertEqual(self.run_yq("", ["-x", ".a", self.fd_path(tf), self.fd_path(tf2)], input_format="xml"),
'<b></b>\n<c></c>\n')
err = ("yq: Error converting JSON to XML: cannot represent non-object types at top level. "
"Use --xml-root=name to envelope your output with a root element.")
self.run_yq("[1]", ["-x", "."], expect_exit_codes=[err])
def test_xq_dtd(self):
with tempfile.TemporaryFile() as tf:
tf.write(b'<a><b c="d">e</b><b>f</b></a>')
tf.seek(0)
self.assertEqual(self.run_yq("", ["-x", ".a", self.fd_path(tf)], input_format="xml"),
'<b c="d">e</b><b>f</b>\n')
tf.seek(0)
self.assertEqual(self.run_yq("", ["-x", "--xml-dtd", ".", self.fd_path(tf)], input_format="xml"),
'<?xml version="1.0" encoding="utf-8"?>\n<a>\n <b c="d">e</b>\n <b>f</b>\n</a>\n')
tf.seek(0)
self.assertEqual(
self.run_yq("", ["-x", "--xml-dtd", "--xml-root=g", ".a", self.fd_path(tf)], input_format="xml"),
'<?xml version="1.0" encoding="utf-8"?>\n<g>\n <b c="d">e</b>\n <b>f</b>\n</g>\n'
)
def test_tq(self):
self.assertEqual(self.run_yq("", ["."], input_format="toml"), "")
self.assertEqual(self.run_yq("", ["-t", ".foo.x=1"], input_format="toml"),
'[foo]\nx = 1\n')
self.assertEqual(self.run_yq("[input]\n"
"test_val = 1234\n",
["-t", ".input"], input_format="toml"),
"test_val = 1234\n")
err = "yq: Error converting JSON to TOML: cannot represent non-object types at top level."
self.run_yq('[1]', ["-t", "."], expect_exit_codes=[err])
@unittest.skipIf(sys.version_info < (3, 5),
"argparse option abbreviation interferes with opt passthrough, can't be disabled until Python 3.5")
def test_abbrev_opt_collisions(self):
with tempfile.TemporaryFile() as tf, tempfile.TemporaryFile() as tf2:
self.assertEqual(
self.run_yq("", ["-y", "-e", "--slurp", ".[0] == .[1]", "-", self.fd_path(tf), self.fd_path(tf2)]),
"true\n...\n"
)
if __name__ == '__main__':
unittest.main()
|
a,b = [int(i) for i in input().split()]
diff = {}
m = 0
for i in range(1,a+1):
for j in range(1,b+1):
k = i+j
if not k in diff:
diff[k] = 1
else:
diff[k] += 1
m = max(m,diff[k])
for n in diff.keys():
if diff[n] == m:
print(n)
|
# coding: utf-8
"""
Logic module for locations and object location assignments.
Locations are fully user-defined using a name and a description. Users with
WRITE permissions for an object can assign it to a location with an optional
description for details on where the object is stored.
"""
import collections
import datetime
import typing
from .. import db
from . import user_log, object_log, objects, users, errors, languages
from .notifications import create_notification_for_being_assigned_as_responsible_user
from ..models import locations
class Location(collections.namedtuple('Location', ['id', 'name', 'description', 'parent_location_id'])):
"""
This class provides an immutable wrapper around models.locations.Location.
"""
def __new__(cls, id: int, name: dict, description: dict, parent_location_id: typing.Optional[int] = None):
self = super(Location, cls).__new__(cls, id, name, description, parent_location_id)
return self
@classmethod
def from_database(cls, location: locations.Location) -> 'Location':
return Location(
id=location.id,
name=location.name,
description=location.description,
parent_location_id=location.parent_location_id
)
class ObjectLocationAssignment(collections.namedtuple('ObjectLocationAssignment', ['id', 'object_id', 'location_id', 'user_id', 'description', 'utc_datetime', 'responsible_user_id', 'confirmed'])):
"""
This class provides an immutable wrapper around models.locations.ObjectLocationAssignment.
"""
def __new__(cls, id: int, object_id: int, location_id: int, user_id: int, description: dict, utc_datetime: datetime.datetime, responsible_user_id: int, confirmed: bool):
self = super(ObjectLocationAssignment, cls).__new__(cls, id, object_id, location_id, user_id, description, utc_datetime, responsible_user_id, confirmed)
return self
@classmethod
def from_database(cls, object_location_assignment: locations.ObjectLocationAssignment) -> 'ObjectLocationAssignment':
return ObjectLocationAssignment(
id=object_location_assignment.id,
object_id=object_location_assignment.object_id,
location_id=object_location_assignment.location_id,
responsible_user_id=object_location_assignment.responsible_user_id,
user_id=object_location_assignment.user_id,
description=object_location_assignment.description,
utc_datetime=object_location_assignment.utc_datetime,
confirmed=object_location_assignment.confirmed
)
def create_location(name: typing.Union[str, dict], description: typing.Union[str, dict], parent_location_id: typing.Optional[int], user_id: int) -> Location:
"""
Create a new location.
:param name: the names for the new location in a dict. Keys are the language codes and values are the names.
:param description: the descriptions for the new location.
Keys are the language code and values are the descriptions.
:param parent_location_id: the optional parent location ID for the new location
:param user_id: the ID of an existing user
:return: the created location
:raise errors.LocationDoesNotExistError: when no location with the given
parent location ID exists
:raise errors.UserDoesNotExistError: when no user with the given user ID
exists
"""
if isinstance(name, str):
name = {
'en': name
}
if isinstance(description, str):
description = {
'en': description
}
allowed_language_codes = {
language.lang_code
for language in languages.get_languages(only_enabled_for_input=True)
}
for language_code, name_text in list(name.items()):
if language_code not in allowed_language_codes:
raise errors.LanguageDoesNotExistError()
if not name_text:
del name[language_code]
for language_code, description_text in list(description.items()):
if language_code not in allowed_language_codes:
raise errors.LanguageDoesNotExistError()
if not description_text:
del description[language_code]
if 'en' not in name:
raise errors.MissingEnglishTranslationError()
# ensure the user exists
users.get_user(user_id)
if parent_location_id is not None:
# ensure parent location exists
get_location(parent_location_id)
location = locations.Location(
name=name,
description=description,
parent_location_id=parent_location_id
)
db.session.add(location)
db.session.commit()
user_log.create_location(user_id, location.id)
return Location.from_database(location)
def update_location(location_id: int, name: dict, description: dict, parent_location_id: typing.Optional[int], user_id: int) -> None:
"""
Update a location's information.
:param location_id: the ID of the location to update
:param name: the new names for the location in a dict. Keys are the language codes and the values the new names
:param description: the descriptions for the location.
Keys are the language code and the values the new descriptions.
:param parent_location_id: the optional parent location id for the location
:param user_id: the ID of an existing user
:raise errors.LocationDoesNotExistError: when no location with the given
location ID or parent location ID exists
:raise errors.CyclicLocationError: when location ID is an ancestor of
parent location ID
:raise errors.UserDoesNotExistError: when no user with the given user ID
exists
:raise errors.MissingEnglishTranslationError: if no english name is given
:raise errors.LanguageDoesNotExistError: if an unknown language code is
used
"""
allowed_language_codes = {
language.lang_code
for language in languages.get_languages(only_enabled_for_input=True)
}
for language_code, name_text in list(name.items()):
if language_code not in allowed_language_codes:
raise errors.LanguageDoesNotExistError()
if not name_text:
del name[language_code]
for language_code, description_text in list(description.items()):
if language_code not in allowed_language_codes:
raise errors.LanguageDoesNotExistError()
if not description_text:
del description[language_code]
if 'en' not in name:
raise errors.MissingEnglishTranslationError()
# ensure the user exists
users.get_user(user_id)
location = locations.Location.query.filter_by(id=location_id).first()
if location is None:
raise errors.LocationDoesNotExistError()
if parent_location_id is not None:
if location_id == parent_location_id or location_id in _get_location_ancestors(parent_location_id):
raise errors.CyclicLocationError()
location.name = name
location.description = description
location.parent_location_id = parent_location_id
db.session.add(location)
db.session.commit()
user_log.update_location(user_id, location.id)
def get_location(location_id: int) -> Location:
"""
Get a location.
:param location_id: the ID of an existing location
:raise errors.LocationDoesNotExistError: when no location with the given
parent location ID exists
:return: the location with the given location ID
"""
location = locations.Location.query.filter_by(id=location_id).first()
if location is None:
raise errors.LocationDoesNotExistError()
return Location.from_database(location)
def get_locations() -> typing.List[Location]:
"""
Get the list of all locations.
:return: the list of all locations
"""
return [
Location.from_database(location)
for location in locations.Location.query.all()
]
def get_locations_tree() -> typing.Tuple[typing.Dict[int, Location], typing.Any]:
"""
Get the list of locations as a tree.
:return: the list of all locations and the locations tree
"""
locations = get_locations()
locations_map = {
location.id: location
for location in locations
}
locations_tree = {}
locations_tree_helper = {None: locations_tree}
unvisited_locations = locations
while unvisited_locations:
locations = unvisited_locations
unvisited_locations = []
for location in locations:
if location.parent_location_id in locations_tree_helper:
locations_subtree = locations_tree_helper[location.parent_location_id]
locations_subtree[location.id] = {}
locations_tree_helper[location.id] = locations_subtree[location.id]
else:
unvisited_locations.append(location)
return locations_map, locations_tree
def _get_location_ancestors(location_id: int) -> typing.List[int]:
"""
Get the list of all ancestor location IDs.
:param location_id: the ID of an existing location
:return: the list of all ancestor location IDs
:raise errors.LocationDoesNotExistError: when no location with the given
location ID exists
"""
ancestor_location_ids = []
while location_id is not None:
ancestor_location_ids.append(location_id)
location_id = get_location(location_id).parent_location_id
return ancestor_location_ids[1:]
def assign_location_to_object(object_id: int, location_id: typing.Optional[int], responsible_user_id: typing.Optional[int], user_id: int, description: typing.Union[str, dict]) -> None:
"""
Assign a location to an object.
:param object_id: the ID of an existing object
:param location_id: the ID of an existing location
:param responsible_user_id: the ID of an existing user
:param user_id: the ID of an existing user
:param description: a description of where the object was stored in a dict.
The keys are the lang codes and the values are the descriptions.
:raise errors.ObjectDoesNotExistError: when no object with the given
object ID exists
:raise errors.LocationDoesNotExistError: when no location with the given
location ID exists
:raise errors.UserDoesNotExistError: when no user with the given user ID
or responsible user ID exists
"""
if isinstance(description, str):
description = {
'en': description
}
# ensure the object exists
objects.get_object(object_id)
if location_id is not None:
# ensure the location exists
get_location(location_id)
# ensure the user exists
users.get_user(user_id)
object_location_assignment = locations.ObjectLocationAssignment(
object_id=object_id,
location_id=location_id,
responsible_user_id=responsible_user_id,
user_id=user_id,
description=description,
utc_datetime=datetime.datetime.utcnow(),
confirmed=(user_id == responsible_user_id)
)
db.session.add(object_location_assignment)
db.session.commit()
if responsible_user_id is not None:
users.get_user(responsible_user_id)
if user_id != responsible_user_id:
create_notification_for_being_assigned_as_responsible_user(object_location_assignment.id)
object_log.assign_location(user_id, object_id, object_location_assignment.id)
user_log.assign_location(user_id, object_location_assignment.id)
def get_object_location_assignments(object_id: int) -> typing.List[ObjectLocationAssignment]:
"""
Get a list of all object location assignments for an object.
:param object_id: the ID of an existing object
:return: the list of object location assignments
:raise errors.ObjectDoesNotExistError: when no object with the given
object ID exists
"""
# ensure the object exists
objects.get_object(object_id)
object_location_assignments = locations.ObjectLocationAssignment.query.filter_by(object_id=object_id).order_by(locations.ObjectLocationAssignment.utc_datetime).all()
return [
ObjectLocationAssignment.from_database(object_location_assignment)
for object_location_assignment in object_location_assignments
]
def get_current_object_location_assignment(object_id: int) -> typing.Optional[ObjectLocationAssignment]:
"""
Get the current location assignment for an object.
:param object_id: the ID of an existing object
:return: the object location assignment
:raise errors.ObjectDoesNotExistError: when no object with the given
object ID exists
"""
# ensure the object exists
objects.get_object(object_id)
object_location_assignment = locations.ObjectLocationAssignment.query.filter_by(object_id=object_id).order_by(locations.ObjectLocationAssignment.utc_datetime.desc()).first()
if object_location_assignment is not None:
object_location_assignment = ObjectLocationAssignment.from_database(object_location_assignment)
return object_location_assignment
def get_object_location_assignment(object_location_assignment_id: int) -> ObjectLocationAssignment:
"""
Get an object location assignment with a given ID.
:param object_location_assignment_id: the ID of an existing object location
assignment
:return: the object location assignment
:raise errors.ObjectLocationAssignmentDoesNotExistError: when no object
location assignment with the given object location assignment ID exists
"""
object_location_assignment = locations.ObjectLocationAssignment.query.filter_by(id=object_location_assignment_id).first()
if object_location_assignment is None:
raise errors.ObjectLocationAssignmentDoesNotExistError()
return object_location_assignment
def get_object_ids_at_location(location_id: int) -> typing.Set[int]:
"""
Get a list of all objects currently assigned to a location.
:param location_id: the ID of an existing location
:return: the list of object IDs assigned to the location
:raise errors.LocationDoesNotExistError: when no location with the given
location ID exists
"""
# ensure the location exists
get_location(location_id)
object_location_assignments = locations.ObjectLocationAssignment.query.filter_by(location_id=location_id).all()
object_ids = set()
for object_location_assignment in object_location_assignments:
object_id = object_location_assignment.object_id
if get_current_object_location_assignment(object_id).location_id == location_id:
object_ids.add(object_id)
return object_ids
def confirm_object_responsibility(object_location_assignment_id: int) -> None:
"""
Confirm an object location assignment.
:param object_location_assignment_id: the ID of an existing object location
assignment
:raise errors.ObjectLocationAssignmentDoesNotExistError: when no object
location assignment with the given object location assignment ID exists
"""
object_location_assignment = locations.ObjectLocationAssignment.query.filter_by(id=object_location_assignment_id).first()
object_location_assignment.confirmed = True
db.session.add(object_location_assignment)
db.session.commit()
|
from django.conf.urls import include, url
from provisioner.views import ProvisionStatus, login
urlpatterns = [
url(r'^$', ProvisionStatus, name='home'),
url(r'login.*', login),
url(r'^events/', include('events.urls')),
url(r'^provisioner/', include('provisioner.urls')),
]
|
from .cachedir import *
|
"""
This file is part of the TheLMA (THe Laboratory Management Application) project.
See LICENSE.txt for licensing, CONTRIBUTORS.txt for contributor information.
Trac tools dealing with ISO Trac tickets.
AAB, Mar 2012
"""
from StringIO import StringIO
from tractor import AttachmentWrapper
from tractor import create_wrapper_for_ticket_creation
from tractor import create_wrapper_for_ticket_update
from tractor.ticket import RESOLUTION_ATTRIBUTE_VALUES
from tractor.ticket import SEVERITY_ATTRIBUTE_VALUES
from tractor.ticket import STATUS_ATTRIBUTE_VALUES
from tractor.ticket import TYPE_ATTRIBUTE_VALUES
from thelma.tools.semiconstants import EXPERIMENT_SCENARIOS
from thelma.tools.base import BaseTool
from thelma.tools.stock.base import STOCKMANAGEMENT_USER
from thelma.tools.tracbase import BaseTracTool
from thelma.entities.experiment import ExperimentMetadata
from thelma.entities.iso import ISO_STATUS
from thelma.entities.iso import IsoRequest
from thelma.entities.user import User
__docformat__ = 'reStructuredText en'
__all__ = ['IsoRequestTicketCreator',
'IsoRequestTicketUpdateTool',
'IsoRequestTicketDescriptionRemover',
'IsoRequestTicketDescriptionUpdater',
'IsoRequestTicketDescriptionBuilder',
'IsoRequestTicketActivator',
'IsoRequestTicketAccepter',
'IsoRequestTicketReassigner']
class IsoRequestTicketCreator(BaseTracTool):
"""
Creates an ISO request trac ticket for a new experiment metadata object.
**Return Value:** ticket ID
"""
NAME = 'ISO Request Ticket Creator'
#: The value for the ticket summary (title).
SUMMARY = 'Internal Sample Order Request'
#: The description for the empty ticket.
DESCRIPTION_TEMPLATE = 'Autogenerated ticket for experiment ' \
'metadata \'\'\'%s\'\'\' (type: %s).\n\n'
#: The value for ticket type.
TYPE = TYPE_ATTRIBUTE_VALUES.TASK
#: The value for the ticket's severity.
SEVERITY = SEVERITY_ATTRIBUTE_VALUES.NORMAL
#: The value for the ticket's component.
COMPONENT = 'Logistics'
def __init__(self, requester, experiment_metadata, parent=None):
"""
Constructor.
:param experiment_metadata_label: The new experiment metadata.
:type experiment_metadata_label:
:class:`thelma.entities.experiment.ExperimentMetadata`
:param requester: The user who will be owner and reporter of the ticket.
:type requester: :class:`thelma.entities.user.User`
"""
BaseTracTool.__init__(self, parent=parent)
#: The user creating the experiment metadata is also reporter and
#: and owner of the ticket.
self.requester = requester
#: The new experiment metadata.
self.experiment_metadata = experiment_metadata
#: The ticket wrapper storing the value applied to the ticket.
self._ticket = None
def reset(self):
"""
Resets all value except for the instantiation arguments.
"""
BaseTracTool.reset(self)
self._ticket = None
def get_ticket_id(self):
"""
Sends a request and returns the ticket ID generated by the trac.
"""
self.run()
return self.return_value
def run(self):
self.reset()
self.add_info('Create ISO request ticket ...')
self.__check_input()
if not self.has_errors():
self.__create_ticket_wrapper()
if not self.has_errors():
self.__submit_request()
def __check_input(self):
"""
Checks the initialisation values.
"""
self.add_debug('Check input ...')
self._check_input_class('requester', self.requester, User)
self._check_input_class('experiment metadata',
self.experiment_metadata, ExperimentMetadata)
def __create_ticket_wrapper(self):
# Creates the ticket wrapper to be sent.
self.add_debug('Create ticket wrapper ...')
emt_name = \
self.experiment_metadata.experiment_metadata_type.display_name
description = self.DESCRIPTION_TEMPLATE \
% (self.experiment_metadata.label, emt_name)
self._ticket = create_wrapper_for_ticket_creation(
summary=self.SUMMARY,
description=description,
reporter=self.requester.directory_user_id,
owner=self.requester.directory_user_id,
component=self.COMPONENT,
type=self.TYPE,
severity=self.SEVERITY)
def __submit_request(self):
# Submits the request to the trac.
self.add_debug('Send request ...')
kw = dict(notify=self.NOTIFY, ticket_wrapper=self._ticket)
ticket_id = self._submit(self.tractor_api.create_ticket, kw)
if not self.has_errors():
self.return_value = ticket_id
self.add_info('Ticket created (ID: %i).' % (ticket_id))
self.was_successful = True
class IsoRequestTicketUpdateTool(BaseTracTool):
"""
A super class for all ISO request ticket updating processes.
**Return Value:** The updated ticket.
"""
#: A comment for the update.
BASE_COMMENT = None
def __init__(self, id_providing_entity, parent=None):
"""
Constructor.
:param id_providing_entity: The entity providing the ticket ID.
:type id_providing_entity:
:class:`thelma.entities.experiment.ExperimentMetadata` or
:class:`thelma.entities.iso.IsoRequest`
"""
BaseTracTool.__init__(self, parent=parent)
#: The experiment metadata or ISO request object the ticket belongs to.
self.id_providing_entity = id_providing_entity
#: The ticket ID.
self._ticket_id = None
#: The wrapper for the ticket update.
self._update_wrapper = None
#: A comment for the update. If the comment is not set, it will
#: replaced by the :attr:`BASE_COMMENT`.
self._comment = None
def reset(self):
"""
Resets all value except for the instantiation arguments.
"""
BaseTracTool.reset(self)
self._ticket_id = None
self._update_wrapper = None
self._comment = None
def run(self):
self.reset()
self.add_info('Start preparation ...')
self._check_input()
if not self.has_errors():
self._set_ticket_id()
if not self.has_errors():
self._prepare_update_wrapper()
if not self.has_errors():
self._submit_request()
def _check_input(self):
"""
Checks the initialisation values.
"""
pass
def _set_ticket_id(self):
"""
Sets the ticket ID.
"""
self.add_debug('Set ticket ID.')
if isinstance(self.id_providing_entity, ExperimentMetadata):
self._ticket_id = self.id_providing_entity.ticket_number
elif isinstance(self.id_providing_entity, IsoRequest):
self._ticket_id = self.id_providing_entity.experiment_metadata.\
ticket_number
else:
msg = 'Unknown ID-providing entity. The entity must either ' \
'be an ExperimentMetadata or an IsoRequest object ' \
'(obtained: %s).' \
% (self.id_providing_entity.__class__.__name__)
self.add_error(msg)
if not self.has_errors():
self._check_input_class('ticket ID', self._ticket_id, int)
def _prepare_update_wrapper(self):
"""
Creates the ticket wrapper containing the update information.
You can also use this method to set the :attr:`_comment.`
"""
self.add_error('Abstract method: _prepare_update_wrapper()')
def _submit_request(self):
"""
Submits the request.
"""
self.add_debug('Send request ...')
if self._comment is None: self._comment = self.BASE_COMMENT
kw = dict(ticket_wrapper=self._update_wrapper, comment=self._comment,
notify=self.NOTIFY)
updated_ticket = self._submit(self.tractor_api.update_ticket, kw)
if not self.has_errors():
self.return_value = updated_ticket
self.add_info('Ticket %i has been updated.' % (self._ticket_id))
self.was_successful = True
class IsoRequestTicketDescriptionRemover(IsoRequestTicketUpdateTool):
"""
Removes the description of an ISO request ticket after change of the
number of replicates or the experiment metadata type.
**Return Value:** The updated ticket.
"""
NAME = 'ISO Request Ticket Description Remover'
#: Comment template. The first place holder will contain the attribute
#: name, the second the new value.
BASE_COMMENT = 'The %s of the experiment metadata has been changed to ' \
'"%s".'
#: The last line of the comment explaining that all type-dependend data
#: has been removed from the ticket.
REMOVE_COMMENT = ' All type-dependent data (incl. experiment design and ' \
'ISO request data) has been removed.'
def __init__(self, experiment_metadata, changed_num_replicates,
changed_em_type, parent=None):
"""
Constructor.
:param bool changed_num_replicates: Flag indicating if the number of
replicates has changed.
:param bool changed_em_type: Flag indicating if the experiment
metadata type has changed.
"""
IsoRequestTicketUpdateTool.__init__(self, experiment_metadata,
parent=parent)
#: The new experiment metadata type (if the type has changed).
self.changed_em_type = changed_em_type
#: The new number of replicates (if the number has changed).
self.changed_num_replicates = changed_num_replicates
def _check_input(self):
self._check_input_class('"changed experiment metadata type" flag',
self.changed_em_type, bool)
self._check_input_class('"changed number replicates type" flag',
self.changed_num_replicates, bool)
def _prepare_update_wrapper(self):
"""
The description is reverted to the state directly after creation,
whereas the comment lists the changed elements.
"""
em_type = self.id_providing_entity.experiment_metadata_type
description = IsoRequestTicketCreator.DESCRIPTION_TEMPLATE % (
self.id_providing_entity.label, em_type.display_name)
self._comment = ''
if self.changed_em_type:
comment_em = self.BASE_COMMENT % ('experiment metadata type',
em_type.display_name)
self._comment += comment_em
if self.changed_num_replicates:
comment_nr = self.BASE_COMMENT % ('number_replicates',
self.id_providing_entity.number_replicates)
self._comment += comment_nr
if len(self._comment) < 1:
msg = 'Neither the number of replicates nor the experiment ' \
'metadata type have changed. The ticket description does ' \
'not need to be removed.'
self.add_error(msg)
else:
self._comment += self.REMOVE_COMMENT
self._update_wrapper = create_wrapper_for_ticket_update(
ticket_id=self._ticket_id,
description=description)
class IsoRequestTicketDescriptionUpdater(IsoRequestTicketUpdateTool):
"""
Updates an ISO request ticket (in case of changes that have not been
caused by a metadata file upload).
**Return Value:** The updated ticket.
"""
NAME = 'ISO Request Ticket Updater'
#: A comment for the change.
BASE_COMMENT = 'Experiment metadata update.'
def __init__(self, experiment_metadata, experiment_metadata_link,
iso_request_link, parent=None):
"""
Constructor.
:param str experiment_metadata_link: Link to the experiment metadata
in TheLMA.
:param str iso_request_link: Link to the ISO request in TheLMA.
"""
IsoRequestTicketUpdateTool.__init__(self, experiment_metadata,
parent=parent)
#: Link to the experiment metadata in TheLMA.
self.experiment_metadata_link = experiment_metadata_link
#: Link to the ISO request in TheLMA.
self.iso_request_link = iso_request_link
#: The value for the new ticket description.
self.__ticket_description = None
def reset(self):
"""
Resets all value except for the instantiation arguments.
"""
IsoRequestTicketUpdateTool.reset(self)
self.__ticket_description = None
def _check_input(self):
"""
Checks the initialization values.
"""
self._check_input_class('experiment metadata link',
self.experiment_metadata_link, basestring)
self._check_input_class('ISO request link',
self.iso_request_link, basestring)
def _prepare_update_wrapper(self):
"""
Creates the ticket wrapper containing the update information.
"""
if not self.has_errors(): self.__generate_ticket_description()
if not self.has_errors():
self._update_wrapper = create_wrapper_for_ticket_update(
ticket_id=self._ticket_id,
description=self.__ticket_description)
def __generate_ticket_description(self):
"""
Generates a new ticket description.
"""
desc_builder = IsoRequestTicketDescriptionBuilder(
self.id_providing_entity,
self.experiment_metadata_link,
self.iso_request_link,
parent=self)
self.__ticket_description = desc_builder.get_result()
if self.__ticket_description is None:
msg = 'Error when trying to generate ticket description.'
self.add_error(msg)
class IsoRequestTicketDescriptionBuilder(BaseTool):
"""
Creates or updates descriptions for ISO request tickets.
"""
NAME = 'ISO Ticket Description Builder'
#: The description for the empty ticket.
HEAD_LINE = "Autogenerated Ticket for experiment metadata '''%s'''.\n\n"
#: The title for the delivery date row.
DELIVERY_DATE_TITLE = 'Delivery Date'
#: The titles for the comment row.
COMMENT_TITLE = 'Comment'
#: The title for the project leader row.
PROJECT_LEADER_TITLE = 'Project Leader'
#: The title for the project row.
PROJECT_TITLE = 'Project'
#: The title for subproject row.
SUBPROJECT_TITLE = 'Subproject'
#: The title for the plate set label row.
PLATE_SET_LABEL_TITLE = 'Plate Set Label'
#: The title for the requester row.
REQUESTER_TITLE = 'Requester'
#: The title for the number of plates row.
NUMBER_PLATES_TITLE = 'Number of Plates'
#: The title for the number of aliquots.
NUMBER_ALIQUOTS_TITLE = 'Number of Aliquots'
#: The title for the aliquot plate rack shape.
ISO_RACK_SHAPE_TITLE = 'ISO Plate Format'
#: The title for the ISO plate specs row.
ISO_RACK_SPECS_TITLE = 'ISO Plate Specs'
#: The title for the experiment cell plate rack shape.
EXP_RACK_SHAPE_TITLE = 'Cell Plate Format'
#: The title for the experiment type.
EXPERIMENT_TYPE_TITLE = 'Experiment Type'
#: The title for the robot support flag.
ROBOT_SUPPORT_TITLE = 'Robot support (mastermix)'
#: Placeholder for unknown values.
UNKNOWN_MARKER = 'not specified'
#: These tables fields always occur (regardless of the experiment type).
COMMON_TITLES = [EXPERIMENT_TYPE_TITLE, PROJECT_TITLE, PROJECT_LEADER_TITLE,
SUBPROJECT_TITLE]
#: These table fields occur, if there is an ISO request at the experiment
#: metadata.
ISO_REQUEST_TITLES = [REQUESTER_TITLE, PLATE_SET_LABEL_TITLE,
NUMBER_PLATES_TITLE, NUMBER_ALIQUOTS_TITLE,
ISO_RACK_SHAPE_TITLE, ISO_RACK_SPECS_TITLE,
DELIVERY_DATE_TITLE, COMMENT_TITLE]
#: These table fields occur if there is an experiment design at the
#: experiment metadata.
EXPERIMENT_DESIGN_TITLES = [EXP_RACK_SHAPE_TITLE, ROBOT_SUPPORT_TITLE]
#: The template for each table row.
BASE_TABLE_ROW = "|| '''%s: '''||%s||\n"
#: The character used to generated the table field borders.
BORDER_CHAR = '||'
#: The link section of the description.
LINK_SECTION = 'Link to experiment metadata:\n %s\n\n' \
'Link to ISO Request: \n %s \n\n'
def __init__(self, experiment_metadata, experiment_metadata_link,
iso_request_link, parent=None):
"""
Constructor.
:param experiment_metadata: The update experiment metadata.
:type experiment_metadata:
:class:`thelma.entities.experiment.ExperimentMetadata`
:param str experiment_metadata_link: Link to the experiment metadata
in TheLMA.
:param str iso_request_link: Link to the ISO request in TheLMA.
"""
BaseTool.__init__(self, parent=parent)
#: The experiment metadata object the ticket belongs to.
self.experiment_metadata = experiment_metadata
#: Link to the experiment metadata in TheLMA.
self.experiment_metadata_link = experiment_metadata_link
#: Link to the ISO request in TheLMA.
self.iso_request_link = iso_request_link
#: The completed table part of the description.
self.__wiki_table = None
def reset(self):
"""
Resets all attributes except for the initialization values.
"""
BaseTool.reset(self)
self.__wiki_table = None
def run(self):
self.reset()
self.add_info('Build description ...')
self.__check_input()
if not self.has_errors():
self.__build_wiki_table()
if not self.has_errors():
self.__assemble_description()
def __check_input(self):
# Checks the initialization values.
self.add_debug('Check input ...')
self._check_input_class('experiment metadata', self.experiment_metadata,
ExperimentMetadata)
self._check_input_class('experiment metadata link',
self.experiment_metadata_link, basestring)
self._check_input_class('ISO request link',
self.iso_request_link, basestring)
def __build_wiki_table(self):
# Builds the table for the wiki.
self.__wiki_table = ''
table_values = self.__collect_table_values()
titles = self.COMMON_TITLES + self.EXPERIMENT_DESIGN_TITLES \
+ self.ISO_REQUEST_TITLES
for title in titles:
if not table_values.has_key(title):
continue
value = table_values[title]
table_line = self.BASE_TABLE_ROW % (title, value)
self.__wiki_table += table_line
self.__wiki_table += '\n\n'
def __collect_table_values(self):
# Generates a dictionary for the table values. Not all possible table
# fields must occur.
table_values = dict()
# common values
table_values[self.EXPERIMENT_TYPE_TITLE] = self.experiment_metadata.\
experiment_metadata_type.display_name
subproject = self.experiment_metadata.subproject
table_values[self.SUBPROJECT_TITLE] = subproject.label
project = subproject.project
table_values[self.PROJECT_TITLE] = project.label
project_leader = project.leader
table_values[self.PROJECT_LEADER_TITLE] = project_leader.username
# experiment design values
experiment_design = self.experiment_metadata.experiment_design
if not experiment_design is None:
shape_name = self.experiment_metadata.experiment_design.\
rack_shape.name
table_values[self.EXP_RACK_SHAPE_TITLE] = shape_name
self.__set_robot_support_value(table_values)
#: ISO request values
iso_request = self.experiment_metadata.lab_iso_request
if not iso_request is None:
requester = iso_request.requester
table_values[self.REQUESTER_TITLE] = requester.username
table_values[self.NUMBER_PLATES_TITLE] = \
'%i' % (iso_request.expected_number_isos)
table_values[self.NUMBER_ALIQUOTS_TITLE] = \
'%i' % (iso_request.number_aliquots)
table_values[self.PLATE_SET_LABEL_TITLE] = \
str(iso_request.label)
del_date = iso_request.delivery_date
if del_date:
del_date_value = del_date.strftime("%a %b %d %Y")
else:
del_date_value = self.UNKNOWN_MARKER
table_values[self.DELIVERY_DATE_TITLE] = del_date_value
shape_name = iso_request.rack_layout.shape.name
table_values[self.ISO_RACK_SHAPE_TITLE] = shape_name
iso_plate_specs = iso_request.iso_plate_reservoir_specs
table_values[self.ISO_RACK_SPECS_TITLE] = iso_plate_specs.name
comment_value = self.experiment_metadata.lab_iso_request.comment
if comment_value is None:
comment_value = ' '
table_values[self.COMMENT_TITLE] = comment_value
return table_values
def __set_robot_support_value(self, table_values):
# The robot-support is a little harder o set. Some experiment types
# do not offer robot-support at all, some enforce it and in some it
# is optional (for these, the availablity can be retrieved from the
# length of the experiment design worklist series).
em_type = self.experiment_metadata.experiment_metadata_type
design_series = self.experiment_metadata.experiment_design.\
worklist_series
if design_series is None:
mastermix_support = 'no'
elif em_type.id == EXPERIMENT_SCENARIOS.OPTIMISATION:
if len(design_series) == 2:
mastermix_support = 'yes'
else:
mastermix_support = 'no'
elif em_type.id == EXPERIMENT_SCENARIOS.SCREENING:
if len(design_series) == 4:
mastermix_support = 'yes'
else:
mastermix_support = 'no'
elif em_type.id == EXPERIMENT_SCENARIOS.LIBRARY:
mastermix_support = 'yes'
table_values[self.ROBOT_SUPPORT_TITLE] = mastermix_support
def __assemble_description(self):
# Assembles the description.
desc = ''
head_line = self.HEAD_LINE % (self.experiment_metadata.label)
desc += head_line
desc += self.__wiki_table
link_section = self.LINK_SECTION % (self.experiment_metadata_link,
self.iso_request_link)
desc += link_section
self.return_value = desc
class IsoRequestTicketActivator(IsoRequestTicketUpdateTool):
"""
Assigns a ticket to the stock management.
**Return Value:** The updated ticket.
"""
NAME = 'ISO Request Ticket Activator'
#: A comment for the change.
BASE_COMMENT = 'The ticket has been assigned to the stock management.'
def _prepare_update_wrapper(self):
"""
Creates the ticket wrapper containing the update information.
"""
self._update_wrapper = create_wrapper_for_ticket_update(
ticket_id=self._ticket_id,
owner=STOCKMANAGEMENT_USER)
class IsoRequestTicketAccepter(IsoRequestTicketUpdateTool):
"""
Assigns an ISO request ticket to a particular member of the stock
management.
**Return Value:** The updated ticket.
"""
NAME = 'ISO Request Ticket Accepter'
#: A comment for the change.
BASE_COMMENT = 'The ticket was accepted by %s.'
def __init__(self, iso_request, username, parent=None):
"""
Constructor.
:param str username: Name of the user accepting the ticket.
"""
IsoRequestTicketUpdateTool.__init__(self, iso_request, parent=parent)
#: The user name of the user who has accepted the ticket.
self.username = username
def _check_input(self):
"""
Checks the initialisation values.
"""
self._check_input_class('user name', self.username, basestring)
def _prepare_update_wrapper(self):
"""
Creates the ticket wrapper containing the update information.
"""
self._update_wrapper = create_wrapper_for_ticket_update(
ticket_id=self._ticket_id,
owner=self.username,
cc=STOCKMANAGEMENT_USER)
self._comment = self.BASE_COMMENT % (self.username)
class IsoRequestTicketReassigner(IsoRequestTicketUpdateTool):
"""
Assigns an ISO request ticket back to requester and optionally closes
the ticket.
**Return Value:** The updated ticket, the comment and the generated file
stream.
"""
NAME = 'ISO Request Ticket Reassigner'
BASE_COMMENT = 'The ticket has been assigned back to the requester (%s).'
#: The completed remark.
COMPLETED_TEXT = 'The ISO request has been completed.'
#: In case of completion there might molecule design IDs which have
#: not been added to an ISO.
MISSING_POOLS_ADDITION = '\n\nAttention! There are some sample molecule ' \
'design pools left which have not been used in any ISO: %s.'
#: The name for the file with the missing molecule designs.
MISSING_POOLS_FILE_NAME = 'missing_molecule_design_pools.csv'
#: The file description for the missing molecule design file.
MISSING_POOLS_DESCRIPTION = 'Floating molecule design pools which have ' \
'not been added to at least 1 completed ISO.'
def __init__(self, iso_request, completed=True, parent=None):
"""
Constructor.
:param iso_request: The ISO request to be accepted.
:type iso_request: :class:`thelma.entities.iso.IsoRequest`
:param bool completed: Flag indicating if the ISO was completed.
"""
IsoRequestTicketUpdateTool.__init__(self, iso_request, parent=parent)
#: Indicates whether the ISO was completed.
self.completed = completed
#: If there are molecule design pools left (in case of completion) an
#: additional file is uploaded.
self.__missing_pools_stream = None
def reset(self):
"""
Resets all values except for the initialisation values.
"""
IsoRequestTicketUpdateTool.reset(self)
self.__missing_pools_stream = None
def _check_input(self):
"""
Checks the initialisation values.
"""
self._check_input_class('completed flag', self.completed, bool)
def _prepare_update_wrapper(self):
"""
Creates the ticket wrapper containing the update information.
In addition, it assembles the comment.
"""
reporter = self.id_providing_entity.requester.directory_user_id
project_leader = self.id_providing_entity.experiment_metadata.\
subproject.project.leader.directory_user_id
self._update_wrapper = create_wrapper_for_ticket_update(owner=reporter,
cc=project_leader, ticket_id=self._ticket_id)
comment = self.BASE_COMMENT % (reporter)
if self.completed:
self._comment = '%s %s' % (comment, self.COMPLETED_TEXT)
self._update_wrapper.status = STATUS_ATTRIBUTE_VALUES.CLOSED
self._update_wrapper.resolution = RESOLUTION_ATTRIBUTE_VALUES.FIXED
self.__add_missing_molecule_design_pools()
else:
self._comment = comment
def __add_missing_molecule_design_pools(self):
# Finds missing molecule design pools, add them to the comment and
# creates a file if necessary.
missing_pools = self.__find_missing_molecule_design_pools()
if len(missing_pools) > 0:
missing_pool_str = ', '.join(missing_pools)
comment_addition = self.MISSING_POOLS_ADDITION % (missing_pool_str)
self._comment += comment_addition
self.__missing_pools_stream = StringIO()
for pool_id in missing_pools:
self.__missing_pools_stream.write('%s\n' % (pool_id))
self.__missing_pools_stream.seek(0)
def __find_missing_molecule_design_pools(self):
# Finds missing molecule design pools.
self.add_debug('Find missing molecule design pools ...')
pool_set = self.id_providing_entity \
.experiment_metadata.molecule_design_pool_set
if pool_set is None:
result = []
elif len(pool_set) < 1:
result = []
else:
used_pool_ids = set()
for iso in self.id_providing_entity.isos:
if not iso.status == ISO_STATUS.DONE:
continue
for md_pool in iso.molecule_design_pool_set:
used_pool_ids.add(md_pool.id)
missing_pools = []
for md_pool in pool_set:
if not md_pool.id in used_pool_ids:
missing_pools.append(md_pool.id)
missing_pools.sort()
str_pools = [] # string concatenation requires strings
for pool_id in missing_pools:
str_pools.append('%i' % (pool_id))
result = str_pools
return result
def _submit_request(self):
"""
Submits the request.
"""
self.add_debug('Send request ...')
if self._comment is None:
self._comment = self.BASE_COMMENT
kw1 = dict(ticket_wrapper=self._update_wrapper, comment=self._comment,
notify=self.NOTIFY)
updated_ticket = self._submit(self.tractor_api.update_ticket, kw1)
if not self.__missing_pools_stream is None and not self.has_errors():
attachment_wrapper = AttachmentWrapper(
content=self.__missing_pools_stream,
file_name=self.MISSING_POOLS_FILE_NAME,
description=self.MISSING_POOLS_DESCRIPTION)
kw2 = dict(ticket_id=self._ticket_id, attachment=attachment_wrapper,
replace_existing=False)
try:
self._submit(self.tractor_api.add_attachment, kw2)
finally:
self.__missing_pools_stream.seek(0)
if not self.has_errors():
self.return_value = updated_ticket, self._comment, \
self.__missing_pools_stream
self.add_info('Ticket %i has been updated.' % (self._ticket_id))
self.was_successful = True
class IsoRequestTicketReopener(IsoRequestTicketUpdateTool):
"""
Reopens an ISO request ticket and assigns it to the person who has
requested the reopening.
**Return Value:** The updated ticket.
"""
NAME = 'ISO Request Ticket Reopener'
BASE_COMMENT = 'The ticket has been reopened by %s.'
def __init__(self, iso_request, username, parent=None):
"""
Constructor.
:param str username: The name of the user reopening the ticket.
"""
IsoRequestTicketUpdateTool.__init__(self, iso_request, parent=parent)
#: The name of the user the ticket shall be assigned to.
self.username = username
def _check_input(self):
"""
Checks the initialisation values.
"""
self._check_input_class('user name', self.username, basestring)
def _prepare_update_wrapper(self):
"""
Creates the ticket wrapper containing the update information.
In addition, it assembles the comment.
"""
self._comment = self.BASE_COMMENT % (self.username)
self._update_wrapper = create_wrapper_for_ticket_update(
ticket_id=self._ticket_id,
cc=STOCKMANAGEMENT_USER,
owner=self.username,
status=STATUS_ATTRIBUTE_VALUES.REOPENED)
|
from floodsystem.stationdata import build_station_list
from floodsystem.geo import stations_within_radius
from floodsystem.utils import sorted_by_key
def run():
"""Requirements for Task 1C"""
# Build list of stations
all_stations = build_station_list()
#cambridge centre
centre = (52.2053, 0.1218)
stations = (stations_within_radius(all_stations, centre, 10))
print(f'The stations within 10km are: {sorted_by_key(stations, 0)}')
if __name__ == "__main__":
print("*** Task 1C: CUED Part IA Flood Warning System ***")
run() |
# Copyright (C) 2019 Yanwei Fu, Chen Liu, Fudan University
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.
# The ASF licenses this file to You 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 torch
import torch.nn as nn
import torch.nn.functional as F
class Net(nn.Module):
def __init__(self):
super(Net, self).__init__()
self.conv1 = nn.Conv2d(1, 6, kernel_size=5, padding=2)
self.conv2 = nn.Conv2d(6, 16, kernel_size=5)
self.conv3 = nn.Conv2d(16, 120, kernel_size=5)
self.fc1 = nn.Linear(120, 84)
self.fc2 = nn.Linear(84, 10)
def forward(self, x):
x = F.max_pool2d(F.relu(self.conv1(x)), 2)
x = F.max_pool2d(F.relu(self.conv2(x)), 2)
x = F.relu(self.conv3(x))
x = x.view(-1, 120)
x = F.relu(self.fc1(x))
x = self.fc2(x)
return F.log_softmax(x, dim=1)
|
import unittest
import igraph
import collections
import json
from h3.tree import Tree
"""
Customized print tree to terminal
Note: implemented by recursion, not scalable to a large number of nodes,
only suitable for a small number of nodes
"""
def print_tree(tree, node_id, depth=0):
children = tree.nodes[node_id].children
total_children_area = 0
for child in children:
total_children_area += tree.nodes[child.node_id].area
print "\t" * tree.nodes[node_id].depth, \
"{0}, radius: {1}, parent: {2}, area: {3}, total_children_area: {4}" \
.format(node_id,
tree.nodes[node_id].radius,
tree.nodes[node_id].parent,
tree.nodes[node_id].area,
total_children_area)
for child in children:
print_tree(tree, child.node_id, depth)
if __name__ == '__main__':
edges = ((child, parent) for parent, child in igraph.Graph.Tree(40, 3).get_edgelist())
tree = Tree(edges)
print_tree(tree, 0)
|
import logging
import paddle
UNK = 0
logger = logging.getLogger("paddle")
logger.setLevel(logging.INFO)
def mode_attr_name(mode):
return mode.upper() + "_MODE"
def create_attrs(cls):
for id, mode in enumerate(cls.modes):
setattr(cls, mode_attr_name(mode), id)
def make_check_method(cls):
"""
create methods for classes.
"""
def method(mode):
def _method(self):
return self.mode == getattr(cls, mode_attr_name(mode))
return _method
for id, mode in enumerate(cls.modes):
setattr(cls, "is_" + mode, method(mode))
def make_create_method(cls):
def method(mode):
@staticmethod
def _method():
key = getattr(cls, mode_attr_name(mode))
return cls(key)
return _method
for id, mode in enumerate(cls.modes):
setattr(cls, "create_" + mode, method(mode))
def make_str_method(cls, type_name="unk"):
def _str_(self):
for mode in cls.modes:
if self.mode == getattr(cls, mode_attr_name(mode)):
return mode
def _hash_(self):
return self.mode
setattr(cls, "__str__", _str_)
setattr(cls, "__repr__", _str_)
setattr(cls, "__hash__", _hash_)
cls.__name__ = type_name
def _init_(self, mode, cls):
if isinstance(mode, int):
self.mode = mode
elif isinstance(mode, cls):
self.mode = mode.mode
else:
raise Exception("A wrong mode type, get type: %s, value: %s." %
(type(mode), mode))
def build_mode_class(cls):
create_attrs(cls)
make_str_method(cls)
make_check_method(cls)
make_create_method(cls)
class TaskType(object):
modes = "train test infer".split()
def __init__(self, mode):
_init_(self, mode, TaskType)
class ModelType:
modes = "classification rank regression".split()
def __init__(self, mode):
_init_(self, mode, ModelType)
class ModelArch:
modes = "fc cnn rnn".split()
def __init__(self, mode):
_init_(self, mode, ModelArch)
build_mode_class(TaskType)
build_mode_class(ModelType)
build_mode_class(ModelArch)
def sent2ids(sent, vocab):
"""
transform a sentence to a list of ids.
"""
return [vocab.get(w, UNK) for w in sent.split()]
def load_dic(path):
"""
The format of word dictionary : each line is a word.
"""
dic = {}
with open(path) as f:
for id, line in enumerate(f):
w = line.strip()
dic[w] = id
return dic
def display_args(args):
logger.info("The arguments passed by command line is :")
for k, v in sorted(v for v in vars(args).items()):
logger.info("{}:\t{}".format(k, v))
|
#!/usr/bin/env python
import argparse
from bioblend import galaxy
import json
def main():
"""
This script uses bioblend to import .ga workflow files into a running instance of Galaxy
"""
parser = argparse.ArgumentParser()
parser.add_argument("-w", "--workflow_path", help='Path to workflow file')
parser.add_argument("-g", "--galaxy",
dest="galaxy_url",
help="Target Galaxy instance URL/IP address (required "
"if not defined in the tools list file)",)
parser.add_argument("-a", "--apikey",
dest="api_key",
help="Galaxy admin user API key (required if not "
"defined in the tools list file)",)
args = parser.parse_args()
gi = galaxy.GalaxyInstance(url=args.galaxy_url, key=args.api_key)
with open(args.workflow_path, 'r') as wf_file:
import_uuid = json.load(wf_file).get('uuid')
existing_uuids = [d.get('latest_workflow_uuid') for d in gi.workflows.get_workflows()]
if import_uuid not in existing_uuids:
gi.workflows.import_workflow_from_local_path(args.workflow_path)
if __name__ == '__main__':
main()
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.