Acknowledgement#

prose depends on a lot of Python packages and published methods. When using prose in your research, you can generate an aknowledgment sentence (and associated BibTeX entries) based on Sequence blocks

Let’s define an example Sequence

[1]:
from prose import Sequence, blocks

sequence = Sequence([
    blocks.psf.Moffat2D(),
    blocks.detection.LimitStars(min=3),
    blocks.Set(stars_coords=None),
    blocks.AffineTransform(data=False, inverse=True),
    blocks.BalletCentroid(),
    blocks.PhotutilsAperturePhotometry(scale=1.),
    blocks.Peaks(),
    blocks.XArray(
        ("time", "jd_utc"),
        ("time", "bjd_tdb"),
        ("time", "flip"),
        ("time", "fwhm"),
        ("time", "fwhmx"),
        name="xarray"
    ),
])

to extract the citations from packages used by its blocks:

[2]:
tex, bib = sequence.citations()

print(tex)
print(bib[0:500], "...")
This research made use of \textsf{prose} \citep{prose} and its dependencies (scipy \citep{scipy},scikit-image \citep{scikit-image},tensorflow \citep{tensorflow},photutils \citep{photutils},xarray \citep{xarray} and astropy \citep{astropy}).

@article{scipy,
       author = {{Virtanen}, Pauli and {Gommers}, Ralf and {Oliphant},
         Travis E. and {Haberland}, Matt and {Reddy}, Tyler and
         {Cournapeau}, David and {Burovski}, Evgeni and {Peterson}, Pearu
         and {Weckesser}, Warren and {Bright}, Jonathan and {van der Walt},
         St{'e}fan J.  and {Brett}, Matthew and {Wilson}, Joshua and
         {Jarrod Millman}, K.  and {Mayorov}, Nikolay and {Nelson}, Andrew
         R.~J. and {Jones}, Eric and {Kern}, Robert an ...

texcontains the aknowledgment sentence and bib the necessary BibTex entries