diff --git a/notebooks/References Notebook.ipynb b/notebooks/References Notebook.ipynb index 1dcadb0..4a9b8b4 100644 --- a/notebooks/References Notebook.ipynb +++ b/notebooks/References Notebook.ipynb @@ -29,7 +29,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -85,7 +85,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -107,15 +107,15 @@ }, { "cell_type": "code", - "execution_count": 99, + "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Enter DOI Here: 10.1016/j.jqsrt.2019.04.040\n", - "2019JQSRT.232...35H\n" + "Enter DOI Here: 10.1016/j.jqsrt.2019.106711\n", + "2020JQSRT.24106711C\n" ] } ], @@ -256,22 +256,22 @@ }, { "cell_type": "code", - "execution_count": 100, + "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "authors: Hargreaves, R. J., I. E. Gordon, L. S. Rothman, S. A. Tashkun, V. I. Perevalov, A. A. Lukashevskaya, S. N. Yurchenko, J. Tennyson, and H. S. P. Müller\n", - "title: Spectroscopic line parameters of NO, NO2, and N2O for the HITEMP database\n", + "authors: Conway, E. K., I. E. Gordon, A. A. Kyuberis, O. L. Polyansky, J. Tennyson, and N. F. Zobov\n", + "title: Calculated line lists for H216O and H218O with extensive comparisons to theoretical and experimental sources including the HITRAN2016 database\n", "journal: Journal of Quantitative Spectroscopy and Radiative Transfer\n", - "volume: 232\n", - "start-page: 35\n", - "end-page: 53\n", - "year: 2019\n", - "doi: 10.1016/j.jqsrt.2019.04.040\n", - "bibcode: https://ui.adsabs.harvard.edu/abs/2019JQSRT.232...35H\n" + "volume: 241\n", + "start-page: 106711\n", + "end-page: %P\n", + "year: 2020\n", + "doi: 10.1016/j.jqsrt.2019.106711\n", + "bibcode: https://ui.adsabs.harvard.edu/abs/2020JQSRT.24106711C\n" ] } ], @@ -315,22 +315,22 @@ }, { "cell_type": "code", - "execution_count": 101, + "execution_count": 6, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "authors: Hargreaves, R.~J., I.~E. Gordon, L.~S. Rothman, S.~A. Tashkun, V.~I. Perevalov, A.~A. Lukashevskaya, S.~N. Yurchenko, J. Tennyson, and H.~S.~P. M{\"u}ller\n", - "title: Spectroscopic line parameters of NO, NO$_{2}$, and N$_{2}$O for the HITEMP database\n", + "authors: Conway, E.~K., I.~E. Gordon, A.~A. Kyuberis, O.~L. Polyansky, J. Tennyson, and N.~F. Zobov\n", + "title: Calculated line lists for H$_{2}$$^{16}$O and H$_{2}$$^{18}$O with extensive comparisons to theoretical and experimental sources including the HITRAN2016 database\n", "journal: Journal of Quantitative Spectroscopy and Radiative Transfer\n", - "volume: 232\n", - "start-page: 35\n", - "end-page: 53\n", - "year: 2019\n", - "doi: 10.1016/j.jqsrt.2019.04.040\n", - "bibcode: https://ui.adsabs.harvard.edu/abs/2019JQSRT.232...35H\n" + "volume: 241\n", + "start-page: 106711\n", + "end-page: %P\n", + "year: 2020\n", + "doi: 10.1016/j.jqsrt.2019.106711\n", + "bibcode: https://ui.adsabs.harvard.edu/abs/2020JQSRT.24106711C\n" ] } ], @@ -375,22 +375,22 @@ }, { "cell_type": "code", - "execution_count": 102, + "execution_count": 7, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "authors: Hargreaves, R. J., I. E. Gordon, L. S. Rothman, S. A. Tashkun, V. I. Perevalov, A. A. Lukashevskaya, S. N. Yurchenko, J. Tennyson, and H. S. P. Müller\n", - "title: Spectroscopic line parameters of NO, NO<SUB>2</SUB>, and N<SUB>2</SUB>O for the HITEMP database\n", + "authors: Conway, E. K., I. E. Gordon, A. A. Kyuberis, O. L. Polyansky, J. Tennyson, and N. F. Zobov\n", + "title: Calculated line lists for H<SUB>2</SUB><SUP>16</SUP>O and H<SUB>2</SUB><SUP>18</SUP>O with extensive comparisons to theoretical and experimental sources including the HITRAN2016 database\n", "journal: Journal of Quantitative Spectroscopy and Radiative Transfer\n", - "volume: 232\n", - "start-page: 35\n", - "end-page: 53\n", - "year: 2019\n", - "doi: 10.1016/j.jqsrt.2019.04.040\n", - "bibcode: https://ui.adsabs.harvard.edu/abs/2019JQSRT.232...35H\n" + "volume: 241\n", + "start-page: 106711\n", + "end-page: %P\n", + "year: 2020\n", + "doi: 10.1016/j.jqsrt.2019.106711\n", + "bibcode: https://ui.adsabs.harvard.edu/abs/2020JQSRT.24106711C\n" ] } ], @@ -436,28 +436,29 @@ }, { "cell_type": "code", - "execution_count": 103, + "execution_count": 13, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Authors: R. J. Hargreaves, I. E. Gordon, L. S. Rothman, S. A. Tashkun, V. I. Perevalov, A. A. Lukashevskaya, S. N. Yurchenko, J. Tennyson, H. S.P. Müller \n", - "Title: Spectroscopic line parameters of NO, NO2, and N2O for the HITEMP database \n", - "Journal: Journal of Quantitative Spectroscopy and Radiative Transfer \n", - "Volume: 232 \n", - "Year: 2019 \n", - "Page Start: 35 \n", - "Page End: 53 \n", + "Enter doi Here: 10.1093/mnras/stt1971\n", + "Authors: S. Recchi, F. Calura, B. K. Gibson, P. Kroupa \n", + "Title: The [ /Fe] ratios of very metal-poor stars within the integrated galactic initial mass function theory \n", + "Journal: Monthly Notices of the Royal Astronomical Society \n", + "Volume: 437 \n", + "Year: 2013 \n", + "Page Start: 994 \n", + "Page End: 1008 \n", "Article Number: \n", - "DOI: 10.1016/j.jqsrt.2019.04.040 \n", - "URL: http://dx.doi.org/10.1016/j.jqsrt.2019.04.040 \n" + "DOI: 10.1093/mnras/stt1971 \n", + "URL: http://dx.doi.org/10.1093/mnras/stt1971 \n" ] } ], "source": [ - "#doi = input(\"Enter doi Here: \")\n", + "doi = input(\"Enter doi Here: \")\n", "doi_fetched = get_source_from_doi('{}'.format(doi))\n", "\n", "# Below are the parameters for searching your citation\n", @@ -486,16 +487,16 @@ }, { "cell_type": "code", - "execution_count": 104, + "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "'('R. J. Hargreaves, I. E. Gordon, L. S. Rothman, S. A. Tashkun, V. I. Perevalov, A. A. Lukashevskaya, S. N. Yurchenko, J. Tennyson, H. S.P. Müller', 'Spectroscopic line parameters of NO, NO2, and N2O for the HITEMP database', 'Journal of Quantitative Spectroscopy and Radiative Transfer', '232', 2019, '35', '53', '10.1016/j.jqsrt.2019.04.040', 'http://dx.doi.org/10.1016/j.jqsrt.2019.04.040', '')'" + "'('S. Recchi, F. Calura, B. K. Gibson, P. Kroupa', 'The [\\\\xa0/Fe] ratios of very metal-poor stars within the integrated galactic initial mass function theory', 'Monthly Notices of the Royal Astronomical Society', '437', 2013, '994', '1008', '10.1093/mnras/stt1971', 'http://dx.doi.org/10.1093/mnras/stt1971', '')'" ] }, - "execution_count": 104, + "execution_count": 14, "metadata": {}, "output_type": "execute_result" } @@ -517,18 +518,22 @@ }, { "cell_type": "code", - "execution_count": 110, + "execution_count": 15, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "@article{tanintroduction,\n", - " title={Introduction of water-vapor broadening parameters and their temperature-dependence exponents into the HITRAN database, Part I: CO2, N2O, CO, CH4, O2, NH3, and H2S},\n", - " author={Tan, Y and Kochanov, RV and Rothman, LS and Gordon, IE},\n", - " journal={Journal of Geophysical Research: Atmospheres},\n", - " publisher={Wiley Online Library}\n", + "@article{recchi2013alpha,\n", + " title={The [$\\alpha$/Fe] ratios of very metal-poor stars within the integrated galactic initial mass function theory},\n", + " author={Recchi, S and Calura, F and Gibson, Brad K and Kroupa, P},\n", + " journal={Monthly Notices of the Royal Astronomical Society},\n", + " volume={437},\n", + " number={1},\n", + " pages={994--1008},\n", + " year={2013},\n", + " publisher={The Royal Astronomical Society}\n", "}\n" ] } @@ -655,6 +660,13 @@ "bib = bib.getGScholar()\n", "print(bib)" ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { @@ -673,10 +685,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.3" + "version": "3.6.9" } }, "nbformat": 4, "nbformat_minor": 2 } - diff --git a/pyref/pyref/local_settings-TEMPLATE.py b/pyref/pyref/local_settings-TEMPLATE.py new file mode 100644 index 0000000..fa17bb0 --- /dev/null +++ b/pyref/pyref/local_settings-TEMPLATE.py @@ -0,0 +1,21 @@ +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = '<<< SECRET_KEY >>>' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +ADS_TOKEN = '<<< ADS_TOKEN >>>' + +ALLOWED_HOSTS = [] + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.mysql', + 'NAME': '<<< DATABASE NAME >>>', + 'USER': '<<< DATABASE USER >>>', + 'PASSWORD': '<<< DATABASE USER PASSWORD >>>', + 'HOST': '', + 'PORT': '', + } +} +