All Projects → bsipos → Thist

bsipos / Thist

Licence: mit
A go package for generating online histograms and plotting them in the terminal and PDFs

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Thist

Histogram
Fast multi-dimensional generalized histogram with convenient interface for C++14
Stars: ✭ 243 (+153.13%)
Mutual labels:  statistics, histogram
Mongoeye
Schema and data analyzer for MongoDB written in Go.
Stars: ✭ 113 (+17.71%)
Mutual labels:  statistics, histogram
Weightedcalcs
Pandas-based utility to calculate weighted means, medians, distributions, standard deviations, and more.
Stars: ✭ 83 (-13.54%)
Mutual labels:  statistics
Ethzcheatsheets
Stars: ✭ 92 (-4.17%)
Mutual labels:  statistics
Mazu Editor
a minimalist text editor with syntax highlight, copy/paste, and search
Stars: ✭ 88 (-8.33%)
Mutual labels:  terminal-based
Memcache Info
Simple and efficient way to show information about Memcache.
Stars: ✭ 84 (-12.5%)
Mutual labels:  statistics
Zelig
A statistical framework that serves as a common interface to a large range of models
Stars: ✭ 89 (-7.29%)
Mutual labels:  statistics
Awesome time series in python
This curated list contains python packages for time series analysis
Stars: ✭ 1,245 (+1196.88%)
Mutual labels:  statistics
Shellpic
ASCII-art is so 2013
Stars: ✭ 94 (-2.08%)
Mutual labels:  terminal-based
Opencv image comparator
图片相似度计算(直方图、峰值信噪比、结构相似性、感知哈希算法)、轮廓检测、直线检测、圆检测、角点检测、直线交点计算、旋转角度矫正、图像匹配的对应相似处连线、灰度、二值化、直方图均衡化。
Stars: ✭ 87 (-9.37%)
Mutual labels:  histogram
Scikit Fda
Functional Data Analysis Python package
Stars: ✭ 91 (-5.21%)
Mutual labels:  statistics
Pypistats
Command-line interface to PyPI Stats API to get download stats for Python packages
Stars: ✭ 86 (-10.42%)
Mutual labels:  statistics
Pumas.jl
Pharmaceutical Modeling and Simulation for Nonlinear Mixed Effects (NLME), Quantiative Systems Pharmacology (QsP), Physiologically-Based Pharmacokinetics (PBPK) models mixed with machine learning
Stars: ✭ 84 (-12.5%)
Mutual labels:  statistics
Scalac Profiling
Implementation of SCP-010.
Stars: ✭ 90 (-6.25%)
Mutual labels:  statistics
Dstat
Versatile resource statistics tool (the real one, not the Red Hat clone)
Stars: ✭ 1,255 (+1207.29%)
Mutual labels:  statistics
Tyche
Statistics utilities for the JVM - in Scala!
Stars: ✭ 93 (-3.12%)
Mutual labels:  statistics
Orgstat
Statistics visualizer for org-mode
Stars: ✭ 83 (-13.54%)
Mutual labels:  statistics
Cacher Cli
The command line interface to Cacher.
Stars: ✭ 85 (-11.46%)
Mutual labels:  terminal-based
Simplestatistics
🎲 Simple statistical functions implemented in readable Python.
Stars: ✭ 88 (-8.33%)
Mutual labels:  statistics
Probflow
A Python package for building Bayesian models with TensorFlow or PyTorch
Stars: ✭ 95 (-1.04%)
Mutual labels:  statistics

thist - a go package for calculating online histograms with plotting to the terminal and images

Documentation Go Report Card Join the chat at https://gitter.im/bsiposkj/thist

Check out the watch subcommands from the csvtk and seqkit tools to see the code in action.

Example

package main

import (
        "fmt"
        "github.com/bsipos/thist"
        "math/rand"
        "time"
)

// randStream return a channel filled with endless normal random values
func randStream() chan float64 {
        c := make(chan float64)
        go func() {
                for {
                        c <- rand.NormFloat64()
                }
        }()
        return c
}

func main() {
        // create new histogram
        h := thist.NewHist(nil, "Example histogram", "auto", -1, true)
        c := randStream()

        i := 0
        for {
                // add data point to hsitogram
                h.Update(<-c)
                if i%50 == 0 {
                        // draw histogram
                        fmt.Println(h.Draw())
                        time.Sleep(time.Second)
                }
                i++
        }
}

demo video

TODO

  • Add more details on online histogram generation.
  • Add separate object for online estimation of moments.
  • Maybe add tcell as a back-end?
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].