Skip to main content

Abstracted, continuous, and normalised of version of the Hirsch index (h-index) from academic writing for use as a statistical measure of even distribution

Project description

Hirsch 🦌

Abstracted, continuous, and normalised of version of the Hirsch index (h-index) from academic writing for use as a statistical measure of even distribution

Installation

pip install hirsch

Usage

Get the h-index of some discrete data, e.g. the number of citations an author has received on their papers:

from hirsch import hirsch
citations = [0, 1, 1, 2, 1, 6, 5, 13, 14, 10, 59, 145, 68]
h = hirsch(citations)

Calculate a continuous h-index for some normalised and binned data, e.g. fractional populations:

from hirsch import hirsch
fractions = [0.1,0.5,0.6,0.3,0.2,0.5,0.4]
h = hirsch(fractions, x_max=1, precision=0.01)

Calculate a continuous h-index for a set of samples from known populations:

from hirsch import hirsch
samples = [1,2,3,4,10,20,10]
populations = [10,10,10,10,20,30,40]
h = hirsch(samples, populations)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hirsch-0.0.4.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

hirsch-0.0.4-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file hirsch-0.0.4.tar.gz.

File metadata

  • Download URL: hirsch-0.0.4.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for hirsch-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1a3d4ae179fb79de751a18bfe12f8fb53a13d8ff81ec31fb0a76e03553ac7b7a
MD5 fdc671fbc0830476503a461844e38cba
BLAKE2b-256 f27536a0fb6aecbec8b30a5604a44c534a8bac694d670b586767616a21764fc6

See more details on using hashes here.

File details

Details for the file hirsch-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: hirsch-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for hirsch-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 31e30c67b3e26b67ac764d1b512ef92d8316af2eefda004124a5c4a322c9235e
MD5 32e86a1074f2d3c76c626d11c02570a9
BLAKE2b-256 54d16045bccba06a869486ed2f79fff355f1fe4607127b9eb22b031dfdbf00a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page