prose.Sequence.citations#

Sequence.citations()#

Citations aggregated from all blocks

Returns:

  • str – LaTex string to cite sequence block dependencies

  • str – LaTex bibtex items

Example

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"
    ),
])

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}, 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 ...