scholarmetrics.hindex¶
-
scholarmetrics.
hindex
(arr, ignore_nan=True)[source]¶ Calculate h-index for an author.
An h-index of x means that the author has at least x publications that have been cited at least x times.
Parameters: - arr (array-like) – Array of citations.
- ignore_nan (bool (optional, default=True)) – If True, ignore nan values and return 0 if all values are nan.
Returns: hi – H-index of the author for the given citations.
Return type: int
Examples
>>> from scholarmetrics import hindex >>> citations = [6, 10, 5, 46, 0, 2] >>> hindex(citations) 4
Notes
The h-index was originally proposed by Jorge E. Hirsch [h].
References
[h] Hirsch, J. E. (2005): “An index to quantify an individual’s scientific research output”, National Academy of Sciences of the USA 102(46). DOI: 10.1073/pnas.0507655102