Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Programming \ Python implementation Bursa transition model     - RHEL 6.4 installed MySQL 5.6.27 (Database)

- Linux common network tools: ping host sweep (Linux)

- About Linux iptables firewall interview questions and answers (Linux)

- CentOS7 install MySQL 5.5 (Database)

- Wireshark basic introduction and learning TCP three-way handshake (Linux)

- Will Laravel become the most successful PHP framework? (Programming)

- grep command Series: grep command to search for multiple words (Linux)

- Linux Creating a new user error Creating mailbox file: File exists (Linux)

- Linux source code analysis tool (Linux)

- Iptables small summary (Linux)

- Deb package installation method under ubuntu (Linux)

- java.net.NoRouteToHostException of Hadoop problem: no route to host (Server)

- MySQL function: group_concat () function (Database)

- OpenCV cvFindCornerSubPix () to find sub-pixel Corner (Programming)

- CentOS 6 kernel upgrade to Kernel 3.x (Linux)

- Installation Eduspec university management systems 17 Linux Mint (Server)

- Common data structures and functions of Linux process scheduling (Programming)

- Ubuntu users Steam controller does not work solutions (Linux)

- Java transient keyword (Programming)

- Oracle view object space usage show_space (Database)

 
         
  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:      
 
- Java executable file to read information from a database copy (Programming)
- Windows and Ubuntu dual system, repair of two ways UEFI boot (Linux)
- Android Studio commonly used shortcuts and how to follow the Eclipse Shortcuts (Linux)
- Running the open-source Swift under Linux platform (Linux)
- SHELL script to use anti SSH brute force and vsftpd (Linux)
- Gentoo: !!! existing preserved libs problem (Linux)
- ImportTsv-HBase data import tool (Database)
- CentOS yum source deployment (Linux)
- Three methods easy data encryption on Linux (Linux)
- To remove those IP is prohibited Fail2ban on CentOS 6/7 (Server)
- MySQL partition table Comments (Database)
- Intruder tools Knark Analysis and Prevention Linux environment (Linux)
- Use mysqldump MySQL database backup - Linux Shell Scripting (Database)
- Linux crontab command format example (Linux)
- True and false in Perl (Programming)
- Getting Started with Linux system to learn: How do I know which processes are running on the CPU core (Linux)
- Arrow keys, backspace key garbled in Python-2.7.5 Interactive Mode under CentOS 5.8 (Linux)
- SteamOS installation under Ubuntu 14.04 (Linux)
- Linux Programming memory mapping (Programming)
- Java Set and List in the relationship and difference (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.