diff --git a/papers/chris_calloway/banner.png b/papers/chris_calloway/banner.png new file mode 100644 index 0000000000..e6a793bd6c Binary files /dev/null and b/papers/chris_calloway/banner.png differ diff --git a/papers/chris_calloway/figure1.png b/papers/chris_calloway/figure1.png new file mode 100644 index 0000000000..cd768ee933 Binary files /dev/null and b/papers/chris_calloway/figure1.png differ diff --git a/papers/chris_calloway/figure2.png b/papers/chris_calloway/figure2.png new file mode 100644 index 0000000000..2ff94d5a6b Binary files /dev/null and b/papers/chris_calloway/figure2.png differ diff --git a/papers/chris_calloway/main.md b/papers/chris_calloway/main.md new file mode 100644 index 0000000000..b36ce88ff2 --- /dev/null +++ b/papers/chris_calloway/main.md @@ -0,0 +1,271 @@ +--- +# Ensure that this title is the same as the one in `myst.yml` +title: A Numerical Perspective to Terraforming a Desert +abstract: | + A short version of the long version that is way too long to be written as a + short version anyway. Still, when considering the facts from first + principles, we find that the outcomes of this introspective approach is + compatible with the guidelines previously established. + + In such an experiment it is then clear that the potential for further + development not only depends on previous relationships found but also on + connections made during exploitation of this novel new experimental + protocol. +--- + +## Introduction + +Twelve hundred years ago — in a galaxy just across the hill... + +This document should be rendered with MyST Markdown [mystmd.org](https://mystmd.org), +which is a markdown variant inspired by reStructuredText. This uses the `mystmd` +CLI for scientific writing which can be [downloaded here](https://mystmd.org/guide/quickstart). +When you have installed `mystmd`, run `myst start` in this folder and +follow the link for a live preview, any changes to this file will be +reflected immediately. + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum sapien +tortor, bibendum et pretium molestie, dapibus ac ante. Nam odio orci, interdum +sit amet placerat non, molestie sed dui. Pellentesque eu quam ac mauris +tristique sodales. Fusce sodales laoreet nulla, id pellentesque risus convallis +eget. Nam id ante gravida justo eleifend semper vel ut nisi. Phasellus +adipiscing risus quis dui facilisis fermentum. Duis quis sodales neque. Aliquam +ut tellus dolor. Etiam ac elit nec risus lobortis tempus id nec erat. Morbi eu +purus enim. Integer et velit vitae arcu interdum aliquet at eget purus. Integer +quis nisi neque. Morbi ac odio et leo dignissim sodales. Pellentesque nec nibh +nulla. Donec faucibus purus leo. Nullam vel lorem eget enim blandit ultrices. +Ut urna lacus, scelerisque nec pellentesque quis, laoreet eu magna. Quisque ac +justo vitae odio tincidunt tempus at vitae tortor. + +## Bibliographies, citations and block quotes + +Bibliography files and DOIs are automatically included and picked up by `mystmd`. +These can be added using pandoc-style citations `[@doi:10.1109/MCSE.2007.55]` +which fetches the citation information automatically and creates: [@doi:10.1109/MCSE.2007.55]. +Additionally, you can use any key in the BibTeX file using `[@citation-key]`, +as in [@hume48] (which literally is `[@hume48]` in accordance with +the `hume48` cite-key in the associated `mybib.bib` file). +Read more about [citations in the MyST documentation](https://mystmd.org/guide/citations). + +If you wish to have a block quote, you can just indent the text, as in: + +> When it is asked, What is the nature of all our reasonings concerning matter of fact? the proper answer seems to be, that they are founded on the relation of cause and effect. When again it is asked, What is the foundation of all our reasonings and conclusions concerning that relation? it may be replied in one word, experience. But if we still carry on our sifting humor, and ask, What is the foundation of all conclusions from experience? this implies a new question, which may be of more difficult solution and explication. +> +> -- @hume48 + +Other typography information can be found in the [MyST documentation](https://mystmd.org/guide/typography). + +### DOIs in bibliographies + +In order to include a DOI in your bibliography, add the DOI to your bibliography +entry as a string. For example: + +```{code-block} bibtex +:emphasize-lines: 7 +:linenos: +@book{hume48, + author = "David Hume", + year = {1748}, + title = "An enquiry concerning human understanding", + address = "Indianapolis, IN", + publisher = "Hackett", + doi = "10.1017/CBO9780511808432", +} +``` + +### Citing software and websites + +Any paper relying on open-source software would surely want to include citations. +Often you can find a citation in BibTeX format via a web search. +Authors of software packages may even publish guidelines on how to cite their work. + +For convenience, citations to common packages such as +Jupyter [@jupyter], +Matplotlib [@matplotlib], +NumPy [@numpy], +pandas [@pandas1; @pandas2], +scikit-learn [@sklearn1; @sklearn2], and +SciPy [@scipy] +are included in this paper's `.bib` file. + +In this paper we not only terraform a desert using the package terradesert [@terradesert], we also catch a sandworm with it. +To cite a website, the following BibTeX format plus any additional tags necessary for specifying the referenced content is recommended. +If you are citing a team, ensure that the author name is wrapped in additional braces `{Team Name}`, so it is not treated as an author's first and last names. + +```{code-block} bibtex +:emphasize-lines: 2 +:linenos: +@misc{terradesert, + author = {{TerraDesert Team}}, + title = {Code for terraforming a desert}, + year = {2000}, + url = {https://terradesert.com/code/}, + note = {Accessed 1 Jan. 2000} +} +``` + +## Source code examples + +No paper would be complete without some source code. +Code highlighting is completed if the name is given: + +```python +def sum(a, b): + """Sum two numbers.""" + + return a + b +``` + +Use the `{code-block}` directive if you are getting fancy with line numbers or emphasis. For example, line-numbers in `C` looks like: + +```{code-block} c +:linenos: true + +int main() { + for (int i = 0; i < 10; i++) { + /* do something */ + } + return 0; +} +``` + +Or a snippet from the above code, starting at the correct line number, and emphasizing a line: + +```{code-block} c +:linenos: true +:lineno-start: 2 +:emphasize-lines: 3 + for (int i = 0; i < 10; i++) { + /* do something */ + } +``` + +You can read more about code formatting in the [MyST documentation](https://mystmd.org/guide/code). + +## Figures, Equations and Tables + +It is well known that Spice grows on the planet Dune [@Atr03]. +Test some maths, for example $e^{\pi i} + 3 \delta$. +Or maybe an equation on a separate line: + +```{math} +g(x) = \int_0^\infty f(x) dx +``` + +or on multiple, aligned lines: + +```{math} +\begin{aligned} +g(x) &= \int_0^\infty f(x) dx \\ + &= \ldots +\end{aligned} +``` + +The area of a circle and volume of a sphere are given as + +```{math} +:label: circarea + +A(r) = \pi r^2. +``` + +```{math} +:label: spherevol + +V(r) = \frac{4}{3} \pi r^3 +``` + +We can then refer back to Equation {ref}`circarea` or +{ref}`spherevol` later. +The `{ref}` role is another way to cross-reference in your document, which may be familiar to users of Sphinx. +See complete documentation on [cross-references](https://mystmd.org/guide/cross-references). + +Mauris purus enim, volutpat non dapibus et, gravida sit amet sapien. In at +consectetur lacus. Praesent orci nulla, blandit eu egestas nec, facilisis vel +lacus. Fusce non ante vitae justo faucibus facilisis. Nam venenatis lacinia +turpis. Donec eu ultrices mauris. Ut pulvinar viverra rhoncus. Vivamus +adipiscing faucibus ligula, in porta orci vehicula in. Suspendisse quis augue +arcu, sit amet accumsan diam. Vestibulum lacinia luctus dui. Aliquam odio arcu, +faucibus non laoreet ac, condimentum eu quam. Quisque et nunc non diam +consequat iaculis ut quis leo. Integer suscipit accumsan ligula. Sed nec eros a +orci aliquam dictum sed ac felis. Suspendisse sit amet dui ut ligula iaculis +sollicitudin vel id velit. Pellentesque hendrerit sapien ac ante facilisis +lacinia. Nunc sit amet sem sem. In tellus metus, elementum vitae tincidunt ac, +volutpat sit amet mauris. Maecenas[^footnote-1] diam turpis, placerat[^footnote-2] at adipiscing ac, +pulvinar id metus. + +[^footnote-1]: On the one hand, a footnote. +[^footnote-2]: On the other hand, another footnote. + +:::{figure} figure1.png +:label: fig:stream +This is the caption, sandworm vorticity based on storm location in a pleasing stream plot. Based on example in [matplotlib](https://matplotlib.org/stable/plot_types/arrays/streamplot.html). +::: + +:::{figure} figure2.png +:label: fig:em +This is the caption, electromagnetic signature of the sandworm based on remote sensing techniques. Based on example in [matplotlib](https://matplotlib.org/stable/plot_types/stats/hist2d.html). +::: + +As you can see in @fig:stream and @fig:em, this is how you reference auto-numbered figures. +To refer to a sub figure use the syntax `@label [a]` in text or `[@label a]` for a parenhetical citation (i.e. @fig:stream [a] vs [@fig:stream a]). +For even more control, you can simply link to figures using `[Figure %s](#label)`, the `%s` will get filled in with the number, for example [Figure %s](#fig:stream). +See complete documentation on [cross-references](https://mystmd.org/guide/cross-references). + +```{list-table} This is the caption for the materials table. +:label: tbl:materials +:header-rows: 1 +* - Material + - Units +* - Stone + - 3 +* - Water + - 12 +* - Cement + - {math}`\alpha` +``` + +We show the different quantities of materials required in +@tbl:materials. + +Unfortunately, markdown can be difficult for defining tables, so if your table is more complex you can try embedding HTML: + +:::{table} Area Comparisons (written in html) +:label: tbl:areas-html + + + + + + + + +
ProjectionArea in square miles
Large Horizontal AreaLarge Vertical AreaSmaller Square Area
Albers Equal Area 7,498.7 10,847.3 35.8
Web Mercator 13,410.0 18,271.4 63.0
Difference 5,911.3 7,424.1 27.2
Percent Difference 44% 41% 43%
+::: + +or if you prefer LaTeX you can try `tabular` or `longtable` environments: + +```{raw} latex +\begin{table*} + \begin{longtable*}{|l|r|r|r|} + \hline + \multirow{2}{*}{\bf Projection} & \multicolumn{3}{c|}{\bf Area in square miles} \\ + \cline{2-4} + & \textbf{Large Horizontal Area} & \textbf{Large Vertical Area} & \textbf{Smaller Square Area} \\ + \hline + Albers Equal Area & 7,498.7 & 10,847.3 & 35.8 \\ + Web Mercator & 13,410.0 & 18,271.4 & 63.0 \\ + Difference & 5,911.3 & 7,424.1 & 27.2 \\ + Percent Difference & 44\% & 41\% & 43\% \\ + \hline + \end{longtable*} + + \caption{Area Comparisons (written in LaTeX) \label{tbl:areas-tex}} +\end{table*} +``` + +Perhaps we want to end off with a quote by Lao Tse[^footnote-3]: + +> Muddy water, let stand, becomes clear. + +[^footnote-3]: $\mathrm{e^{-i\pi}}$ diff --git a/papers/chris_calloway/mybib.bib b/papers/chris_calloway/mybib.bib new file mode 100644 index 0000000000..9c1fa0275a --- /dev/null +++ b/papers/chris_calloway/mybib.bib @@ -0,0 +1,130 @@ +# Feel free to delete these first few references, which are specific to the template: + +@book{hume48, + author = "David Hume", + year = "1748", + title = "An enquiry concerning human understanding", + address = "Indianapolis, IN", + publisher = "Hackett", + doi = {https://doi.org/10.1017/CBO9780511808432}, +} + +@article{Atr03, + author = "P Atreides", + year = "2003", + title = "How to catch a sandworm", + journal = "Transactions on Terraforming", + volume = 21, + issue = 3, + pages = {261-300} +} + +@misc{terradesert, + author = {{TerraDesert Team}}, + title = {Code for terraforming a desert}, + year = {2000}, + url = {https://terradesert.com/code/}, + note = {Accessed 1 Jan. 2000} +} + +# These references may be helpful: + +@inproceedings{jupyter, + abstract = {It is increasingly necessary for researchers in all fields to write computer code, and in order to reproduce research results, it is important that this code is published. We present Jupyter notebooks, a document format for publishing code, results and explanations in a form that is both readable and executable. We discuss various tools and use cases for notebook documents.}, + author = {Kluyver, Thomas and Ragan-Kelley, Benjamin and Pérez, Fernando and Granger, Brian and Bussonnier, Matthias and Frederic, Jonathan and Kelley, Kyle and Hamrick, Jessica and Grout, Jason and Corlay, Sylvain and Ivanov, Paul and Avila, Damián and Abdalla, Safia and Willing, Carol and {Jupyter development team}}, + editor = {Loizides, Fernando and Scmidt, Birgit}, + location = {Netherlands}, + publisher = {IOS Press}, + url = {https://eprints.soton.ac.uk/403913/}, + booktitle = {Positioning and Power in Academic Publishing: Players, Agents and Agendas}, + year = {2016}, + pages = {87--90}, + title = {Jupyter Notebooks - a publishing format for reproducible computational workflows}, +} + +@article{matplotlib, + abstract = {Matplotlib is a 2D graphics package used for Python for application development, interactive scripting, and publication-quality image generation across user interfaces and operating systems.}, + author = {Hunter, J. D.}, + publisher = {IEEE COMPUTER SOC}, + year = {2007}, + doi = {https://doi.org/10.1109/MCSE.2007.55}, + journal = {Computing in Science \& Engineering}, + number = {3}, + pages = {90--95}, + title = {Matplotlib: A 2D graphics environment}, + volume = {9}, +} + +@article{numpy, + author = {Harris, Charles R. and Millman, K. Jarrod and van der Walt, Stéfan J. and Gommers, Ralf and Virtanen, Pauli and Cournapeau, David and Wieser, Eric and Taylor, Julian and Berg, Sebastian and Smith, Nathaniel J. and Kern, Robert and Picus, Matti and Hoyer, Stephan and van Kerkwijk, Marten H. and Brett, Matthew and Haldane, Allan and del Río, Jaime Fernández and Wiebe, Mark and Peterson, Pearu and Gérard-Marchant, Pierre and Sheppard, Kevin and Reddy, Tyler and Weckesser, Warren and Abbasi, Hameer and Gohlke, Christoph and Oliphant, Travis E.}, + publisher = {Springer Science and Business Media {LLC}}, + doi = {https://doi.org/10.1038/s41586-020-2649-2}, + date = {2020-09}, + year = {2020}, + journal = {Nature}, + number = {7825}, + pages = {357--362}, + title = {Array programming with {NumPy}}, + volume = {585}, +} + +@misc{pandas1, + author = {{The Pandas Development Team}}, + title = {pandas-dev/pandas: Pandas}, + month = feb, + year = {2020}, + publisher = {Zenodo}, + version = {latest}, + url = {https://doi.org/10.5281/zenodo.3509134}, +} + +@inproceedings{pandas2, + author = {Wes McKinney}, + title = {{D}ata {S}tructures for {S}tatistical {C}omputing in {P}ython}, + booktitle = {{P}roceedings of the 9th {P}ython in {S}cience {C}onference}, + pages = {56 - 61}, + year = {2010}, + editor = {{S}t\'efan van der {W}alt and {J}arrod {M}illman}, + doi = {https://doi.org/10.25080/Majora-92bf1922-00a}, +} + +@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 Millman, K. Jarrod and + Mayorov, Nikolay and Nelson, Andrew R. J. and Jones, Eric and + Kern, Robert and Larson, Eric and Carey, C J and + Polat, {\.I}lhan and Feng, Yu and Moore, Eric W. and + {VanderPlas}, Jake and Laxalde, Denis and Perktold, Josef and + Cimrman, Robert and Henriksen, Ian and Quintero, E. A. and + Harris, Charles R. and Archibald, Anne M. and + Ribeiro, Ant{\^o}nio H. and Pedregosa, Fabian and + {van Mulbregt}, Paul and {SciPy 1.0 Contributors}}, + title = {{{SciPy} 1.0: Fundamental Algorithms for Scientific + Computing in Python}}, + journal = {Nature Methods}, + year = {2020}, + volume = {17}, + pages = {261--272}, + adsurl = {https://rdcu.be/b08Wh}, + doi = {https://doi.org/10.1038/s41592-019-0686-2}, +} + +@article{sklearn1, + author = {Pedregosa, F. and Varoquaux, G. and Gramfort, A. and Michel, V. and Thirion, B. and Grisel, O. and Blondel, M. and Prettenhofer, P. and Weiss, R. and Dubourg, V. and Vanderplas, J. and Passos, A. and Cournapeau, D. and Brucher, M. and Perrot, M. and Duchesnay, E.}, + year = {2011}, + journal = {Journal of Machine Learning Research}, + pages = {2825--2830}, + title = {Scikit-learn: Machine Learning in {P}ython}, + volume = {12}, +} + +@inproceedings{sklearn2, + author = {Buitinck, Lars and Louppe, Gilles and Blondel, Mathieu and Pedregosa, Fabian and Mueller, Andreas and Grisel, Olivier and Niculae, Vlad and Prettenhofer, Peter and Gramfort, Alexandre and Grobler, Jaques and Layton, Robert and VanderPlas, Jake and Joly, Arnaud and Holt, Brian and Varoquaux, Gaël}, + booktitle = {ECML PKDD Workshop: Languages for Data Mining and Machine Learning}, + year = {2013}, + pages = {108--122}, + title = {{API} design for machine learning software: experiences from the scikit-learn project}, +} diff --git a/papers/chris_calloway/myst.yml b/papers/chris_calloway/myst.yml new file mode 100644 index 0000000000..424dce70f3 --- /dev/null +++ b/papers/chris_calloway/myst.yml @@ -0,0 +1,55 @@ +version: 1 +project: + # Update this to match `scipy-2024-` the folder should be `` + id: scipy-2024-00_chris_calloway + # Ensure your title is the same as in your `main.md` + title: A Numerical Perspective to Terraforming a Desert + subtitle: MyST Markdown edition + # Authors should have affiliations, emails and ORCIDs if available + authors: + - name: Gaius Caesar + email: jj@rome.it + orcid: 0000-0000-0000-0000 + affiliations: + - Senate House, S.P.Q.R. + - Egyptian Embassy, S.P.Q.R. + - name: Mark Anthony + email: mark37@rome.it + affiliations: + - Egyptian Embassy, S.P.Q.R. + - name: Jarrod Millman + email: millman@rome.it + affiliations: + - Egyptian Embassy, S.P.Q.R. + - Yet another place, S.P.Q.R. + corresponding: true + - name: Cleopatra + email: cleopatra@rome.it + affiliation: Ptolemaic Kingdom + keywords: + - terraforming + - desert + - numerical perspective + # Add the abbreviations that you use in your paper here + abbreviations: + MyST: Markedly Structured Text + # It is possible to explicitly ignore the `doi-exists` check for certain citation keys + error_rules: + - rule: doi-exists + severity: ignore + keys: + - Atr03 + - terradesert + - jupyter + - sklearn1 + - sklearn2 + # A banner will be generated for you on publication, this is a placeholder + banner: banner.png + # The rest of the information shouldn't be modified + subject: Research Article + open_access: true + license: CC-BY-4.0 + venue: Scipy 2024 + date: 2024-07-10 +site: + template: article-theme