Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Computes the arXiv usage rates as a function of journal. | |
| This is a rough script used for the sake of providing the numbers for one tweet: | |
| https://twitter.com/GeertHub/status/705788341531201537 | |
| I may turn this into a webservice that reports on the use of arXiv every month? | |
| What do you think? | |
| """ | |
| import ads | |
| import json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2015ApJ...803...27P Prognosis of Gles of Relativistic Solar Protons | |
| 2015ApJ...803L...7L Radial and Azimuthal Oscillations of Halo Coronal Mass Ejections in the Sun | |
| 2015ApJS..217...10M A Laboratory Study of C<SUB>3</SUB>H<SUP>+</SUP> and the C<SUB>3</SUB>H Radical in Three New Vibrationally Excited <SUP>2</SUP>Σ States Using a Pin-Hole Nozzle Discharge Source | |
| 2015ApJ...799...31F Modulation of Galactic Cosmic Rays Observed at L1 in Solar Cycle 23 | |
| 2015ApJ...800...32L Hercules X-1: Using Eclipse to Measure the X-Ray Corona | |
| 2015ApJ...798...72S Benzene Formation on Interstellar Icy Mantles Containing Propargyl Alcohol | |
| 2015ApJ...798...36S Observations of Warm Carbon Chain Chemistry in NGC 3576 | |
| 2015ApJ...799...80G Diffusive Shock Acceleration of High-energy Charged Particles at Fast Interplanetary Shocks: A Parameter Survey | |
| 2015ApJ...800...87C Whistler Turbulence Forward Cascade versus Inverse Cascade: Three-dimensional Particle-in-cell Simulations | |
| 2015ApJ...807..164N Properties of Cyclotron Lines in a Line-forming R |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import math | |
| import numpy | |
| import BeautifulSoup # pip install --user BeautifulSoup | |
| # The purpose of this lib is to fix X3D files exported via the `vtkExporter`, | |
| # for example using mayavi, in order to feed them to `x3dom.js`. | |
| # Tasks : | |
| # - `add_axes()` | |
| # Create axes with labels and ticks (works best if you have an outline) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ~/.ipython/profile_default/startup/10-mystartup.py | |
| import numpy as np | |
| ip = get_ipython() | |
| def import_astropy(self, arg): | |
| ip.ex('import astropy') | |
| ip.ex('print(astropy.__version__)') | |
| ip.ex('from astropy.io import ascii') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from __future__ import division, print_function | |
| """ | |
| This script takes in the URL to the JSON version of an ADS private library, and outputs a bibtex file suitable for importing into ORCiD | |
| """ | |
| import json | |
| import urllib2 | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| Convert an Astropy table (an instance of astropy.table.Table) to a | |
| Machine Readable Table (MRT) by scraping ApJ's machine readable table creator | |
| web site (http://authortools.aas.org/MRT/upload.html). | |
| See also: | |
| https://aas.org/authors/online-only-materials-guidelines | |
| http://vizier.u-strasbg.fr/doc/catstd.htx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install MacTex: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg | |
| $ sudo chown -R `whoami` /usr/local/texlive | |
| $ tlmgr update --self | |
| $ tlmgr install ucs | |
| $ tlmgr install etoolbox | |
| # Install pandoc view homebrew |
NewerOlder