Closed mschwamb closed 1 year ago
we actually talked about this problem at the beginning of the LINCC project! an idea we were playing with was creating a python dunder/builtin method that would spit out a list of citations and acknowledgements! something like sorcha.__acknowledge__()
or sorcha.__ack__()
. in my mind this would be something that has larger adoption in the python community as well... awesome to know that other packages are working on this!
Cool. So sounds like we definitely want this, but it's icing on the cake for the incubator.
Renamed this ticket so this functionality can be added in later
So I spent the afternoon and evening grabbing all the relevant bibtex for the papers and acknowledgement lines. I've put them in a python script that prints out to the screen. I'm not sure how best to implement this into sorcha, but I think it would be pretty straight forward to take what I have and put into the appropriate function/.py file. Here's a link to the python script.
I am not sure if this would be easy to do for sorcha, but given we have the config file maybe this is straight forward. Maybe it's not. The rebound integrator has this .cite() capability that based on the simulation tells you how and what papers to cite.
@ARTICLE{rebound, author = {{Rein}, H. and {Liu}, S. -F.}, title = "{REBOUND: an open-source multi-purpose N-body code for collisional dynamics}", journal = {\aap}, keywords = {methods: numerical, planets and satellites: rings, protoplanetary disks, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics, Mathematics - Dynamical Systems, Physics - Computational Physics}, year = 2012, month = jan, volume = {537}, eid = {A128}, pages = {A128}, doi = {10.1051/0004-6361/201118085}, archivePrefix = {arXiv}, eprint = {1110.4876}, primaryClass = {astro-ph.EP}, adsurl = {https://ui.adsabs.harvard.edu/abs/2012A&A...537A.128R}, adsnote = {Provided by the SAO/NASA Astrophysics Data System} } @ARTICLE{reboundias15, author = {{Rein}, Hanno and {Spiegel}, David S.}, title = "{IAS15: a fast, adaptive, high-order integrator for gravitational dynamics, accurate to machine precision over a billion orbits}", journal = {\mnras}, keywords = {gravitation, methods: numerical, planets and satellites: dynamical evolution and stability, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics, Astrophysics - Solar and Stellar Astrophysics, Mathematics - Numerical Analysis}, year = 2015, month = jan, volume = {446}, number = {2}, pages = {1424-1437}, doi = {10.1093/mnras/stu2164}, archivePrefix = {arXiv}, eprint = {1409.4779}, primaryClass = {astro-ph.EP}, adsurl = {https://ui.adsabs.harvard.edu/abs/2015MNRAS.446.1424R}, adsnote = {Provided by the SAO/NASA Astrophysics Data System} }