gtc

The GUM Tree Calculator for Python

https://github.com/mslnz/gtc

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.1%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

The GUM Tree Calculator for Python

Basic Info
  • Host: GitHub
  • Owner: MSLNZ
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 2.12 MB
Statistics
  • Stars: 14
  • Watchers: 3
  • Forks: 4
  • Open Issues: 1
  • Releases: 16
Created almost 8 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License Authors

README.rst

===
GTC
===

|docs| |github tests| |pypi| |zenodo|

The GUM Tree Calculator is a Python package for processing data with measurement uncertainty.

Python objects, called uncertain numbers, are used to encapsulate information about measured
quantities. Calculations of derived quantities that involve uncertain numbers will propagate this
information automatically. So, data processing results are always accompanied by uncertainties. 

GTC follows international guidelines on the evaluation of measurement data and measurement
uncertainty (the so-called `GUM `_).
It has been developed for use in the context of metrology, test and calibration work.

Example: an electrical circuit
==============================

Suppose the DC electrical current flowing in a circuit and the voltage across a circuit
element have both been measured. 

The values obtained were 0.1 V, for the voltage, and 15 mA for the current. These values have
the associated standard uncertainties 0.001 V and 0.5 mA, respectively. 

Uncertain numbers for voltage and current can be defined using the function `ureal()` 

.. code-block:: pycon

   >>> V = ureal(0.1,1E-3)
   >>> I = ureal(15E-3,0.5E-3)

The resistance of the circuit element can then be calculated directly using Ohm's law

.. code-block:: pycon

   >>> R = V/I
   >>> print(R)
   6.67(23)
    
The uncertain number `R` represents the resistance of the circuit element. The value 6.67 ohm
is an estimate (or approximation) of the actual resistance. The standard uncertainty associated
with this value, is 0.23 ohm.

Installation
============

**GTC** is available as a `PyPI package `_. It can be installed
using pip

.. code-block:: console

   pip install gtc

Dependencies
------------
* Python 2.7, 3.5+
* `scipy `_

Documentation
=============

The documentation for **GTC** can be found `here `_.

.. |docs| image:: https://readthedocs.org/projects/gtc/badge/?version=latest
    :target: https://gtc.readthedocs.io/en/stable/
    :alt: Documentation Status

.. |github tests| image:: https://github.com/MSLNZ/GTC/actions/workflows/run-tests.yml/badge.svg
   :target: https://github.com/MSLNZ/GTC/actions/workflows/run-tests.yml

.. |pypi| image:: https://badge.fury.io/py/GTC.svg
    :target: https://badge.fury.io/py/GTC

.. |zenodo| image:: https://zenodo.org/badge/147150740.svg
   :target: https://zenodo.org/badge/latestdoi/147150740

Owner

  • Name: Measurement Standards Laboratory of New Zealand
  • Login: MSLNZ
  • Kind: organization
  • Location: New Zealand

Data acquisition, storage, analysis and visualization tools for metrology

GitHub Events

Total
  • Watch event: 1
  • Push event: 11
  • Commit comment event: 4
Last Year
  • Watch event: 1
  • Push event: 11
  • Commit comment event: 4

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 658
  • Total Committers: 4
  • Avg Commits per committer: 164.5
  • Development Distribution Score (DDS): 0.498
Past Year
  • Commits: 11
  • Committers: 2
  • Avg Commits per committer: 5.5
  • Development Distribution Score (DDS): 0.364
Top Committers
Name Email Commits
jborbely j****y@g****m 330
Blair Hall b****l@g****m 156
Blair Hall 3****l 93
Blair Hall b****l@m****z 79
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 21
  • Total pull requests: 27
  • Average time to close issues: 3 months
  • Average time to close pull requests: 1 day
  • Total issue authors: 4
  • Total pull request authors: 3
  • Average comments per issue: 2.24
  • Average comments per pull request: 0.52
  • Merged pull requests: 26
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 13
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.62
  • Merged pull requests: 13
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jborbely (14)
  • BlairDHall (5)
  • PeterPirog (1)
  • JensReimann (1)
Pull Request Authors
  • jborbely (44)
  • BlairDHall (2)
  • PeterPirog (1)
Top Labels
Issue Labels
enhancement (1) question (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 266 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 17
  • Total maintainers: 2
pypi.org: gtc

The GUM Tree Calculator for Python

  • Versions: 17
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 266 Last month
Rankings
Dependent packages count: 10.0%
Downloads: 11.0%
Stargazers count: 15.6%
Average: 16.2%
Dependent repos count: 21.7%
Forks count: 22.6%
Maintainers (2)
Last synced: 11 months ago

Dependencies

.github/workflows/run-tests.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
setup.py pypi
  • numpy >=1.13.0
  • scipy *