Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Programming \ Python implementation Bursa transition model     - Forwarding module with Apache reverse proxy server (Server)

- Fatal: unable to connect to github.com problem solving (Linux)

- Oracle database online redo logs are several methods of recovery of deleted (Database)

- MySQL my.cnf sql_mode schema modifications (Database)

- Thinking in Java study notes - Generics (Programming)

- Linux disk partition, format, mount the directory (Linux)

- Install Websphere MB required system rpm package under Linux (Linux)

- Dockerfile use to build a mirror-based CentOS 7 (Linux)

- Use FFmpeg processing high quality GIF (Programming)

- 11 you Linux Terminal Command (Linux)

- MySQL log from the library than the main library (Database)

- Linux file content inspection - cat, tac, no, more, less, head, tail, od (Linux)

- How to fix the Ubuntu Error script returned error exit status 1 (Linux)

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

- Android source code compiled fatal error solutions (Programming)

- Linux automatic installation and implementation (Linux)

- Repair after installing Ubuntu no boot device error (Linux)

- Programmer editor Vim (Linux)

- MySQL and MariaDB traditional master-slave cluster configuration (Database)

- Github Getting Started Basic Course (Linux)

 
         
  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:      
 
- Oracle LONG RAW BLOB CLOB type of presentation (Database)
- STL source code analysis - iterator each container classification (Programming)
- Configuration based on open source Lucene Java development environment (Server)
- Git uses a small mind (Linux)
- How to Use Nmap security scanner tool on Linux (Linux)
- The istgt PSD on ported to Mac OS X (Linux)
- Ubuntu 14.10 Apache installation and configuration (Server)
- The basic principle of pointers in C ++ (Programming)
- The Java ThreadLocal (Programming)
- Linux Nginx installation and configuration instructions (Server)
- Ubuntu is expected to allow you to install the latest Nvidia Linux drivers easier (Linux)
- impdp error ORA-39001, ORA-39000, ORA-31619 (Database)
- Linux IO redirection (Linux)
- Hadoop 2.7.1 Installation and Configuration under RedHat Linux 6.5 (Server)
- linux remote control software (Linux)
- Build the first ASP.NET 5 Web project in Mac OS X Yosemite 10.10.3 (Server)
- Zombie process under Linux (Linux)
- Linux System Getting Started Learning: On Linux how to convert text files to PDF (Linux)
- Lua4.0 interpreter entrance (Programming)
- Under CentOS 7 installation and deployment environment Ceph (Server)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.