scholarmetrics.gindex¶
- scholarmetrics.gindex(arr: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) int[source]¶
Calculate g-index for an author.
An g-index of x means that the author’s top x publications together accumulated at least \(x^2\) citations.
- Parameters:
arr (array-like) – Array of citations.
- Returns:
gi – g-index of the author for the given citations.
- Return type:
int
Examples
>>> from scholarmetrics import gindex >>> citations = [6, 10, 5, 46, 0, 2] >>> gindex(citations) 6
Notes
The g-index was originally proposed by Leo Egghe [g]. It excludes uncited publications. nan values are silently treated as zero values.
References
[g]Egghe, L. (2006): “Theory and practise of the g-index”, Scientometrics, 69(1), pp. 131–152. DOI: 10.1007/s11192-006-0144-7