Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Programming \ Python implementation Bursa transition model     - Oracle 11g on Linux system boot from the startup settings (Database)

- Xtrabackup creates a slave node without downtime (Database)

- Xshell key authentication mechanism using a remote login Linux (Linux)

- Getting the Linux shell variable test (Programming)

- Win8 mount disk partitions under Ubuntu (Linux)

- Linux operating system Start Tutorial: Xmanager Remote Access Linux graphical interface (Linux)

- JavaScript in this usage (Programming)

- PXE + Kickstart automatically install CentOS 6.5 (Linux)

- Spring AOP custom annotation way to achieve log management (Programming)

- Linux terminal interface font color settings (Linux)

- To install and configure the Jetty server and JDK under Ubuntu 14.04.2 (Server)

- MySQL monitoring tool -Innotop (Database)

- Linux install the Java Runtime Environment and the output Hello World under (CentOS) (Linux)

- Python: Finding meet the conditions specified in the file directory (Programming)

- Under CentOS 7 installation and deployment environment Ceph (Server)

- C ++ why we chose to use the smart pointer (Programming)

- Understand the security restore accidentally deleted critical system files (Linux)

- Use 3G wireless network card under Linux (Linux)

- Ubuntu 14.04, 13.10 install OpenCV 2.4.9 (Linux)

- Changes in C # asynchronous programming model (Programming)

 
         
  Python implementation Bursa transition model
     
  Add Date : 2018-11-21      
         
         
         
  The core issue

1. Because it is the same accuracy and mutually independent observations, final weight matrix should be used for the matrix P (3m * 3m), m is the number of known points.

p = np.eye (n) # Unit weight matrix 3n * 3n

2. The program implements all known points of XYZ coordinate read into the corresponding columns of the matrix, the coefficient matrix B also need this operation (V = BX-L). When numpy process can be expressed as:

for i in range (vector_count):
        matrix_source.append (vector3d_list_source [i] .X)
        matrix_source.append (vector3d_list_source [i] .Y)
        matrix_source.append (vector3d_list_source [i] .Z)
        matrix_dest.append (vector3d_list_dest [i] .X)
        matrix_dest.append (vector3d_list_dest [i] .Y)
        matrix_dest.append (vector3d_list_dest [i] .Z)
        matrix_B.append ([1, 0, 0, 0, -vector3d_list_source [i] .Z, vector3d_list_source [i] .Y, vector3d_list_source [i] .X])
        matrix_B.append ([0, 1, 0, vector3d_list_source [i] .Z, 0, -vector3d_list_source [i] .X, vector3d_list_source [i] .Y])
        matrix_B.append ([0, 0, 1, -vector3d_list_source [i] .Y, vector3d_list_source [i] .X, 0, vector3d_list_source [i] .Z])
    matrix_source = np.array (matrix_source) .reshape (1, -1) .T
    matrix_dest = np.array (matrix_dest) .reshape (1, -1) .T
    matrix_B = np.array (matrix_B)
    L = matrix_dest - matrix_source

3. The value of the parameter matrix (column matrix)

X = np.dot (np.linalg.inv (np.dot (matrix_B.T, matrix_B)), np.dot (matrix_B.T, L))

4. The error equation

V = np.dot (matrix_B, X) - L # error equation

5. Accuracy Assessment

standard_deviation = math.sqrt (np.dot (np.dot (V.T, p), V) / r) # conversion error
     
         
         
         
  More:      
 
- MySQL root password reset under CentOS (Database)
- Linux kernel RCU (Read Copy Update) lock Brief - prequel (Linux)
- Linux, MySQL / MariaDB Galera Cluster Setup Process (Database)
- MBR partitions under Linux (Linux)
- JavaScript in this usage (Programming)
- Fedora 19/20 and Debian Jessie / Sid users to install FFmpeg 2.3.2 (Linux)
- Linux kernel boot to retain large memory method summary (Linux)
- C ++ sequence containers basics summary (Programming)
- Running into the site-wide HTTPS (Server)
- Linux distributed message queue RocketMQ deployment and monitoring - Dual Master (Server)
- Linux linux system security (Linux)
- Linux Shell Understanding and Learning (Linux)
- Oracle Enterprise Linux 64-bit install apache-tomcat-7.0.53 step (Server)
- Mutt - an email client that sends messages through the terminal (Linux)
- Understanding Java classes (Programming)
- Windows 7 hard disk to install Ubuntu 14.10 (Linux)
- Oracle restrict certain IP, the malicious user actions on important table (Database)
- How to install Zephyr Test Management Tools on CentOS 7.x (Server)
- Tecplot Installation under Linux (Linux)
- Linux Network Programming - non-blocking program (Programming)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.