register

sbpy.bib.register(task, citations)[source]

Register a citation with the sbpy bibliography tracker.

Parameters:
taskstring or function

The source requesting a citation.

citationsdict

A dictionary of NASA Astrophysics Data System (ADS) bibcodes, DOIs, or free-form strings to cite. The key is the aspect that requires citation.

Examples

>>> register('sbpy.thermal.neatm', {
...     'method': '1998Icar..131..291H',
...     'parameter: beaming': '2013Icar..226.1138F'
... })

Citations may also be a list.

>>> register('user task', {
...     'classification': ['1950BAN....11...91O',
...                        '1978M&P....19..305W']
... })