Skip to content

Commit f36c3dd

Browse files
committed
better pubs
1 parent 695319c commit f36c3dd

File tree

6 files changed

+52
-19
lines changed

6 files changed

+52
-19
lines changed

publications.tex

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@
88

99
\begin{document}
1010

11-
%\input{pubs_summary}
11+
\begin{center}
12+
\vspace*{-0.15in}
13+
\input{pubs_summary}
14+
\end{center}
1215

1316
\begin{minipage}[l]{\linewidth}
1417
\hspace{-0.15in}
1518
\rotatebox[origin=c]{90}{\textcolor{grey}{$\Lsh$}}
16-
\raisebox{0.3em}{\textcolor{grey}{\footnotesize citations}}
19+
\raisebox{0.3em}{\textcolor{grey}{\footnotesize \# of citations}}
1720

1821
\end{minipage}\hfill
1922

pubs.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"Heng, K.",
3737
"Queloz, D."
3838
],
39-
"citations": 12,
39+
"citations": 13,
4040
"doctype": "article",
4141
"doi": "10.1038/s41550-017-0129",
4242
"page": 129,
@@ -59,7 +59,7 @@
5959
"Deitrick, R.",
6060
"Barnes, R."
6161
],
62-
"citations": 5,
62+
"citations": 6,
6363
"doctype": "article",
6464
"doi": "10.3847/1538-4357/aa6040",
6565
"page": 63,
@@ -130,7 +130,7 @@
130130
"Foreman-Mackey, D.",
131131
"Deming, D."
132132
],
133-
"citations": 29,
133+
"citations": 31,
134134
"doctype": "article",
135135
"doi": "10.3847/0004-6256/152/4/100",
136136
"page": 100,
@@ -159,7 +159,7 @@
159159
"Quinn, T.",
160160
"Crisp, D."
161161
],
162-
"citations": 19,
162+
"citations": 20,
163163
"doctype": "eprint",
164164
"doi": null,
165165
"page": null,
@@ -189,7 +189,7 @@
189189
"Lustig-Yaeger, J.",
190190
"Schwieterman, E."
191191
],
192-
"citations": 19,
192+
"citations": 21,
193193
"doctype": "eprint",
194194
"doi": null,
195195
"page": null,

pubs.tex

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
\item[{\color{numcolor}\scriptsize12}] \textbf{Luger, R.}, Sestovic, M., Kruse, E., Grimm, S., \etal, 2017, \doi{10.1038/s41550-017-0129}{A Seven-Planet Resonant Chain in TRAPPIST-1}, Nature Astronomy, \textbf{1}, 129
1+
\item[{\color{numcolor}\scriptsize}] \textbf{Luger, R.}, Foreman-Mackey, D., \& Hogg, D. W., 2017, \emph{Linear models for systematics and nuisances}, AAS Research Notes
22

3-
\item[{\color{numcolor}\scriptsize5}] \textbf{Luger, R.}, Lustig-Yaeger, J., Fleming, D., Tilley, M., \etal, 2017, \doi{10.3847/1538-4357/aa6040}{The Pale Green Dot: A Method to Characterize Proxima Centauri B Using Exo-Aurorae}, \apj, \textbf{837}, 63
3+
\item[{\color{numcolor}\scriptsize13}] \textbf{Luger, R.}, Sestovic, M., Kruse, E., Grimm, S., \etal, 2017, \doi{10.1038/s41550-017-0129}{A Seven-Planet Resonant Chain in TRAPPIST-1}, Nature Astronomy, \textbf{1}, 129
4+
5+
\item[{\color{numcolor}\scriptsize6}] \textbf{Luger, R.}, Lustig-Yaeger, J., Fleming, D., Tilley, M., \etal, 2017, \doi{10.3847/1538-4357/aa6040}{The Pale Green Dot: A Method to Characterize Proxima Centauri B Using Exo-Aurorae}, \apj, \textbf{837}, 63
46

57
\item[{\color{numcolor}\scriptsize6}] \textbf{Luger, R.}, Kruse, E., Foreman-Mackey, D., Agol, E., \& Saunders, N., 2017, \arxiv{1702.05488}{An Update to the EVEREST K2 Pipeline: Short Cadence, Saturated Stars, and Kepler-Like Photometry Down to Kp = 15}, ArXiv:1702.05488
68

7-
\item[{\color{numcolor}\scriptsize29}] \textbf{Luger, R.}, Agol, E., Kruse, E., Barnes, R., \etal, 2016, \doi{10.3847/0004-6256/152/4/100}{EVEREST: Pixel Level Decorrelation of K2 Light Curves}, \aj, \textbf{152}, 100
9+
\item[{\color{numcolor}\scriptsize31}] \textbf{Luger, R.}, Agol, E., Kruse, E., Barnes, R., \etal, 2016, \doi{10.3847/0004-6256/152/4/100}{EVEREST: Pixel Level Decorrelation of K2 Light Curves}, \aj, \textbf{152}, 100
810

9-
\item[{\color{numcolor}\scriptsize19}] Meadows, V., Arney, G., Schwieterman, E., Lustig-Yaeger, J., \etal\ (including\ \textbf{Luger, R.}), 2016, \arxiv{1608.08620}{The Habitability of Proxima Centauri B: II: Environmental States and Observational Discriminants}, ArXiv:1608.08620
11+
\item[{\color{numcolor}\scriptsize20}] Meadows, V., Arney, G., Schwieterman, E., Lustig-Yaeger, J., \etal\ (including\ \textbf{Luger, R.}), 2016, \arxiv{1608.08620}{The Habitability of Proxima Centauri B: II: Environmental States and Observational Discriminants}, ArXiv:1608.08620
1012

11-
\item[{\color{numcolor}\scriptsize19}] Barnes, R., Deitrick, R., \textbf{Luger, R.}, Driscoll, P., \etal, 2016, \arxiv{1608.06919}{The Habitability of Proxima Centauri B I: Evolutionary Scenarios}, ArXiv:1608.06919
13+
\item[{\color{numcolor}\scriptsize21}] Barnes, R., Deitrick, R., \textbf{Luger, R.}, Driscoll, P., \etal, 2016, \arxiv{1608.06919}{The Habitability of Proxima Centauri B I: Evolutionary Scenarios}, ArXiv:1608.06919
1214

1315
\item[{\color{numcolor}\scriptsize20}] Schwieterman, E., Meadows, V., Domagal-Goldman, S., Deming, D., \etal\ (including\ \textbf{Luger, R.}), 2016, \doi{10.3847/2041-8205/819/1/L13}{Identifying Planetary Biosignature Impostors: Spectral Features of CO and O$_4$ Resulting From Abiotic O$_2$/O$_3$ Production}, \apj, \textbf{819}
1416

pubs_manual.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[
2+
{
3+
"arxiv": null,
4+
"authors": [
5+
"Luger, R.",
6+
"Foreman-Mackey, D.",
7+
"Hogg, D. W."
8+
],
9+
"citations": 0,
10+
"doctype": "article",
11+
"doi": null,
12+
"page": null,
13+
"pub": "AAS Research Notes",
14+
"pubdate": "2017-10-28",
15+
"volume": null,
16+
"title": "Linear models for systematics and nuisances",
17+
"year": "2017"
18+
}
19+
]

pubs_summary.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
\textbf{Refereed:} 7 / \textbf{First Author:} 6 / \textbf{Citations:} 215 / \textbf{h-index:} 8
1+
\textbf{Total:} 11 $\bigg|$ \textbf{Refereed:} 8 $\bigg|$ \textbf{First Author:} 7 $\bigg|$ \textbf{Citations:} 222 $\bigg|$ \textbf{h-index:} 8

write_tex.py

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@
2121

2222
def format_pub(args):
2323
ind, pub = args
24-
fmt = "\\item[{{\\color{{numcolor}}\\scriptsize{0}}}] ".format(
25-
pub["citations"])
24+
25+
cites = pub["citations"]
26+
if cites == 0:
27+
cites = ""
28+
fmt = "\\item[{{\\color{{numcolor}}\\scriptsize{0}}}] ".format(cites)
2629
n = [i for i in range(len(pub["authors"]))
2730
if "Luger, R" in pub["authors"][i]][0]
2831
pub["authors"][n] = "\\textbf{Luger, R.}"
@@ -65,21 +68,27 @@ def format_pub(args):
6568
if __name__ == "__main__":
6669
with open("pubs.json", "r") as f:
6770
pubs = json.load(f)
68-
pubs = sorted(pubs, key=itemgetter("pubdate"), reverse=True)
71+
with open("pubs_manual.json", "r") as f:
72+
pubs_manual = json.load(f)
73+
pubs = sorted(pubs + pubs_manual, key=itemgetter("pubdate"), reverse=True)
6974
pubs = [p for p in pubs if p["doctype"] in ["article", "eprint"]]
7075
ref = [p for p in pubs if p["doctype"] == "article"]
7176
unref = [p for p in pubs if p["doctype"] == "eprint"]
7277

7378
# Compute citation stats
79+
ntotal = len(ref) + len(unref)
7480
npapers = len(ref)
7581
nfirst = sum(1 for p in pubs if "Luger, R" in p["authors"][0])
7682
cites = sorted((p["citations"] for p in pubs), reverse=True)
7783
ncitations = sum(cites)
7884
hindex = sum(c >= i for i, c in enumerate(cites))
7985

80-
summary = (("\\textbf{{Refereed:}} {0} / \\textbf{{First Author:}} {1} / \\textbf{{Citations:}} {2} / "
81-
"\\textbf{{h-index:}} {3}")
82-
.format(npapers, nfirst, ncitations, hindex))
86+
summary = (("\\textbf{{Total:}} {0} $\\bigg|$ "
87+
"\\textbf{{Refereed:}} {1} $\\bigg|$ "
88+
"\\textbf{{First Author:}} {2} $\\bigg|$ "
89+
"\\textbf{{Citations:}} {3} $\\bigg|$ "
90+
"\\textbf{{h-index:}} {4}")
91+
.format(ntotal, npapers, nfirst, ncitations, hindex))
8392
with open("pubs_summary.tex", "w") as f:
8493
f.write(summary)
8594

0 commit comments

Comments
 (0)