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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hirsch-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 47a9b363677ab00df43b98e1385bb52ac8f8c5408c619bf3e7cffc5a71e7ae96
MD5 f7828d8f55309e011da18c9cd9c6e8c2
BLAKE2b-256 d2ff2efd0394283bc99c51f4c8b7731f59083a5380d39d1f16f9e95ca44b067d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hirsch-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e2872d0968d80129480319136784a5246e2bcf5de72078ac570d52444a7f347
MD5 73800e3395ba6873f3d45d05816a39a0
BLAKE2b-256 d23095193f3047e7157e76c1a6e4c47d8a91a5bb4d172949627b9c4a90febf0a

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