From 0f121e014b10a5862b65841a3cfe582a68a285b2 Mon Sep 17 00:00:00 2001
From: Raul Infante-Sainz <infantesainz@gmail.com>
Date: Mon, 27 May 2019 14:13:57 +0100
Subject: Added paper citation of Imfit

Until this commit, `imfit' paper was not included into the
acknowledgements.

With this commit, a bib tex file for `imfit' has been added. So, now it
is properly cited into the final paper.
---
 reproduce/software/bibtex/imfit.tex   | 24 ++++++++++++++++++++++++
 reproduce/software/make/high-level.mk |  3 ++-
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 reproduce/software/bibtex/imfit.tex

(limited to 'reproduce')

diff --git a/reproduce/software/bibtex/imfit.tex b/reproduce/software/bibtex/imfit.tex
new file mode 100644
index 0000000..bdd840b
--- /dev/null
+++ b/reproduce/software/bibtex/imfit.tex
@@ -0,0 +1,24 @@
+%% Copyright (C) 2019 Raul Infante-Sainz <infantesainz@gmail.com>
+%%
+%% Copying and distribution of this file, with or without modification,
+%% are permitted in any medium without royalty provided the copyright
+%% notice and this notice are preserved.  This file is offered as-is,
+%% without any warranty.
+
+@ARTICLE{imfit2015,
+   author = {{Erwin}, P.},
+    title = "{IMFIT: A Fast, Flexible New Program for Astronomical Image Fitting}",
+  journal = {ApJ},
+archivePrefix = "arXiv",
+   eprint = {1408.1097},
+ primaryClass = "astro-ph.IM",
+ keywords = {galaxies: bulges, galaxies: photometry, galaxies: structure, methods: data analysis, techniques: image processing, techniques: photometric },
+     year = 2015,
+    month = feb,
+   volume = 799,
+      eid = {226},
+    pages = {226},
+      doi = {10.1088/0004-637X/799/2/226},
+   adsurl = {https://ui.adsabs.harvard.edu/abs/2015ApJ...799..226E},
+  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
+}
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index ae0a857..7950c5d 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -640,7 +640,8 @@ $(ibidir)/imfit: $(tdir)/imfit-$(imfit-version).tar.gz \
 	&& scons --no-openmp --no-nlopt --header-path=$(idir)/inlcude \
 		 --lib-path=$(idir)/lib makeimage \
 	&& cp makeimage $(ibdir) \
-	&& echo "Imfit $(imfit-version)" > $@
+	&& cp $(dtexdir)/imfit.tex $(ictdir)/ \
+	&& echo "Imfit $(imfit-version) \citep{imfit2015}" > $@
 
 # Netpbm is a prerequisite of Astrometry-net, it contains a lot of programs.
 # This program has a crazy dialogue installation which is override using the
-- 
cgit v1.2.1