Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Programming \ Python implementation Bursa transition model     - MongoDB query statistics grouping remove duplicate records (Database)

- Linux system on how to use rsync to synchronize data (Server)

- About Hibernate cache, you want the latest data have trouble even session.clear (Database)

- Linux SVN account password to save your settings (Linux)

- Java input and output common class Scanner (Programming)

- Linux Demo dd IO test (Linux)

- Ubuntu 14.04 Solution login interface infinite loop (Linux)

- How to install MySQL on Linux Dock (Database)

- Linux performance monitoring (Linux)

- How to contribute code on GitHub uploads (Linux)

- How to configure SNMPv3 on Ubuntu, CentOS and Cisco systems (Linux)

- CentOS install Redis (Database)

- Orabbix binding Python send graphical reports (Linux)

- Distributed Firewall Design on Linux platform (Linux)

- Forwarding module with Apache reverse proxy server (Server)

- Getting Started with Java NIO (Programming)

- ImageMagick Tutorial: How to cut images in Linux command line (Linux)

- libnet list of functions (Programming)

- Ubuntu 14.04 / 12.04 subscribe users to install software Liferea 1.10.10 (Linux)

- Four Methods of Self - Learning Linux (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
- PostgreSQL Stream Configuration (Database)
- Setup Qt development environment under Linux (Linux)
- Use window.name + iframe cross-domain access to data Detailed (Programming)
- Linux password file security issues detailed usage (Linux)
- By creating a personal technology blog Detailed GitHub (Linux)
- C ++ function object (Programming)
- Try the command ip, ifconfig is obsolete under Linux (Linux)
- Ubuntu Gitolite management Git Server code base permissions (Server)
- Oracle metadata Reconstruction experiments (Database)
- RabbitMQ user roles and access control (Linux)
- You can not ignore the seven Git tips (Linux)
- Java threads in the life cycle (Programming)
- Linux operating system security tools of the Logs (Linux)
- Linux 10 useful examples of command-line completion (Linux)
- Linux find and xargs (Linux)
- Ubuntu 14.04 jdk Installation and Configuration (Linux)
- Linux NIC configuration (Linux)
- Alien Magic: RPM and DEB Mutual Convert (Linux)
- Unable to start the network after restart clone a virtual machine (Linux)
- Linux, see picture not resolve the problem (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.