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)

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.3.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

hirsch-0.0.3-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hirsch-0.0.3.tar.gz
  • Upload date:
  • Size: 15.3 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.3.tar.gz
Algorithm Hash digest
SHA256 626b296399a4274379d01e63f5c69ddeda02997243270ccf977061125669aa73
MD5 1acf9b0c57fda2e3f383bb3f59af27b3
BLAKE2b-256 dd8f5ee395989e6b5761372b6865771cad6006f3ae51fdf9781c495ab90facf7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hirsch-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b76d82b1cd586794c3a06ba8e4ff2ff496e3e1d50d1dcde689b32c5ebeb74d65
MD5 88fc05fa8d80813bea960ee07dfb148a
BLAKE2b-256 fb5e40ef69d13e1a4d8d50afd2a522eb840fe64496fa6fcd8fbd3dd26f560e76

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