0.1.0 • Published 2 years ago

histpdf v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Join the chat at https://gitter.im/satzbeleg/community

histpdf

Approximate the density (PDF) from a histogram for given bins

Usage

  1. Install
yarn add histpdf@0.1.0
  1. Load package
import { histpdf } from 'histpdf';

const data = Array.from({length: 40}, () => Math.random())
const bin_edges = [.1, .25, .5, .75, 9.].sort()
const probas = histpdf(data, bin_edges)

Appendix

Misc commands

  • Login into yarn: yarn login
  • Publish the package: yarn publish

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Acknowledgements

This work was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) - 433249742. Project duration: 2020-2023.