Code Monkey home page Code Monkey logo

iso17123-9_calculation's Introduction

ISO 17123-9 Calculation Automatisation

This is a CLI application to automate the calculatons needed for the simple and full test procedure according to the ISO 17123-9:2018 standard. This repository does not describe or explain how to perform the test. For this purpose access to the ISO document is required.

This software was written as part of my BSc thesis.

Installation

git clone https://github.com/Sinrai/ISO17123-9_calculation.git
cd ISO17123-9_calculation

# Create environment (encouraged) venv, conda, etc
pip install -r requirements.txt

To create a PDF report, a working LaTeX processor needs to be installed additonally to pylatex.

pip install pylatex

Usage

Export target coordinates from the manufacurers processing software in a txt file.

python iso17123-9.py [options]

Positional Arguments

  • data_directory: Path to the files with target center coordinates.
  • format: Which format the files are in. Currently supported: leica.

Options

  • -h, --help: Show this help message and exit.
  • -ff: Fast-Forward (no interactive shell, files are treated to be in the correct order).
  • -ftp: Perform the full test procedure.
  • -stp: Perform the simplified test procedure.
  • -alpha ALPHA: Confidence interval (default: 0.05).

Simplified Test Procedure

  • -u_t U_T: Uncertainty quantity u_t for a target's center (in mm).

Full Test Procedure

  • -case CASE: Which case for a target uncertainty should be used (see 8.5.1 in the ISO document).
  • -u_ms U_MS: Manufacturer specified target center uncertainty (in mm).
  • -u_p U_P: Derived target center uncertainty from other sources (in mm).

Output Information

  • -metadata METADATA: Path to metadata.yaml.
  • -pdf PDF: Output Path to save generated PDF report.
  • -csv CSV: Output Path to save results in CSV (appending if already existing).

Examples

Perform Simplified Test Procedure

python iso17123-9.py /path/to/data leica -stp -u_t 0.1

Perform Full Test Procedure with PDF report

python iso17123-9.py /path/to/data leica -ftp -case A -u_ms 5 -metadata /path/to/metadata.yaml -pdf /path/to/report.pdf

Supported formats

  • (Leica) Cyclone Register 360

iso17123-9_calculation's People

Contributors

sinrai avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.