Array programming with NumPy
Charles R. Harris,K. Jarrod Millman,Stefan van der Walt,Stefan van der Walt,Ralf Gommers,Pauli Virtanen,David Cournapeau,Eric Wieser,Julian Taylor,Sebastian Berg,Nathaniel J. Smith,Robert Kern,Matti Picus,Stephan Hoyer,Marten H. van Kerkwijk,Matthew Brett,Matthew Brett,Allan Haldane,Jaime Fernández del Río,Mark Wiebe,Mark Wiebe,Pearu Peterson,Pierre Gérard-Marchant,Kevin Sheppard,Tyler Reddy,Warren Weckesser,Hameer Abbasi,Christoph Gohlke,Travis E. Oliphant +28 more
Reads0
Chats0
TLDR
In this paper, the authors review how a few fundamental array concepts lead to a simple and powerful programming paradigm for organizing, exploring and analysing scientific data, and their evolution into a flexible interoperability layer between increasingly specialized computational libraries is discussed.Abstract:
Array programming provides a powerful, compact and expressive syntax for accessing, manipulating and operating on data in vectors, matrices and higher-dimensional arrays. NumPy is the primary array programming library for the Python language. It has an essential role in research analysis pipelines in fields as diverse as physics, chemistry, astronomy, geoscience, biology, psychology, materials science, engineering, finance and economics. For example, in astronomy, NumPy was an important part of the software stack used in the discovery of gravitational waves1 and in the first imaging of a black hole2. Here we review how a few fundamental array concepts lead to a simple and powerful programming paradigm for organizing, exploring and analysing scientific data. NumPy is the foundation upon which the scientific Python ecosystem is constructed. It is so pervasive that several projects, targeting audiences with specialized needs, have developed their own NumPy-like interfaces and array objects. Owing to its central position in the ecosystem, NumPy increasingly acts as an interoperability layer between such array computation libraries and, together with its application programming interface (API), provides a flexible framework to support the next decade of scientific and industrial analysis. NumPy is the primary array programming library for Python; here its fundamental concepts are reviewed and its evolution into a flexible interoperability layer between increasingly specialized computational libraries is discussed.read more
Citations
More filters
Journal ArticleDOI
Rapid Variability of Sgr A* across the Electromagnetic Spectrum
G. Witzel,Gregory D. Martinez,Steven P. Willner,E. E. Becklin,Hope Boyce,Tuan Do,Andreas Eckart,Andreas Eckart,Giovanni G. Fazio,Andrea M. Ghez,Mark Gurwell,Daryl Haggard,Rubén Herrero-Illana,Joseph L. Hora,Zhiyuan Li,Jun Liu,Nicola Marchili,Mark Morris,Howard A. Smith,M. Subroweit,J. A. Zensus,J. A. Zensus +21 more
TL;DR: In this paper, an approximate Bayesian computation (ABC) fit to the X-ray first-order structure function was proposed to reproduce the observed flux densities at all wavelengths, the statistical properties of all light curves, and the time lags between bands.
Posted Content
GraphBLAST: A High-Performance Linear Algebra-based Graph Framework on the GPU
TL;DR: Yang et al. as mentioned in this paper proposed GraphBLAST, the first high-performance linear algebra-based graph framework on NVIDIA GPUs that is open-source, exploiting input sparsity, which allows users to write graph algorithms without specifying push and pull direction.
Journal ArticleDOI
Evaluating seismic beamforming capabilities of distributed acoustic sensing arrays
TL;DR: One strategy demonstrated here is to convert the DAS strain rates to particle velocities by spatial integration using the nodal seismometer recordings as a reference, which dramatically improves waveform coherence and beamforming performance and warrants new types of “hybrid” array design that combine dense DAS arrays with sparse seismometer arrays.
Journal ArticleDOI
The shallow structure of Mars at the InSight landing site from inversion of ambient vibrations.
Manuel Hobiger,Manuel Hobiger,M. Hallo,Cedric Schmelzbach,Simon Stähler,Donat Fäh,Domenico Giardini,Matthew P. Golombek,John Clinton,Nikolaj Dahmen,Géraldine Zenhäusern,Brigitte Knapmeyer-Endrun,Sebastián Carrasco,Constantinos Charalambous,K. Hurst,Sharon Kedar,William B. Banerdt +16 more
TL;DR: In this paper, the authors apply a classical seismological technique of inverting Rayleigh wave ellipticity curves extracted from ambient seismic vibrations to resolve, for the first time on Mars, the shallow subsurface to around 200m depth.
Journal ArticleDOI
Early Release Science of the exoplanet WASP-39b with JWST NIRSpec G395H
L. Alderson,Hannah R. Wakeford,Munazza K. Alam,Natasha E. Batalha,Joshua D. Lothringer,J. A. Redai,S. Barat,Jonathan Brande,Mario Damiano,Tansu Daylan,Néstor Espinoza,Laura Flagg,Jayesh M. Goyal,D. A. Grant,Renyu Hu,Julie Inglis,Elspeth K. H. Lee,Thomas Mikal-Evans,L. Ramos-Rosado,P. Roy,Nicole Wallack,Natalie M. Batalha,Jacob L. Bean,Björn Benneke,Zachory K. Berta-Thompson,Aarynn L. Carter,Quentin Changeat,Knicole D. Col'on,Ian J. M. Crossfield,J. D'esert,Daniel Foreman-Mackey,Neale P. Gibson,Laura Kreidberg,Michael R. Line,M. L'opez-Morales,Karan Molaverdikhani,Sarah E. Moran,Giuseppe Morello,Julianne I. Moses,Sagnick Mukherjee,Everett Schlawin,David K. Sing,Kevin B. Stevenson,Jake R. Taylor,Keshav Aggarwal,E. Ahrer,N. Allen,Joanna K. Barstow,Taylor J. Bell,Jasmina Blecic,Sarah L. Casewell,Katy L. Chubb,Nicolas Crouzet,Patricio E. Cubillos,Leen Decin,Adina D. Feinstein,Joanthan J. Fortney,Joseph Harrington,Kevin Heng,Nicolas Iro,Eliza M.-R. Kempton,James Kirk,Heather Knutson,Jessica Krick,Jérémy Leconte,Monika Lendl,Ryan J. MacDonald,Luigi Mancini,Megan Mansfield,E. M. May,Nathan J. Mayne,Yamila Miguel,Nikolay Nikolov,Kazumasa Ohno,Enric Palle,Vivien Parmentier,D. P. D. D. L. Roche,Caroline Piaulet,Diana Powell,Benjamin V. Rackham,Seth Redfield,Laura K. Rogers,Zafar Rustamkulov,Xianyu Tan,Pascal Tremblin,Shang-Min Tsai,Jake D. Turner,Miguel De Val-Borro,Olivia Venot,Luis Welbanks,Peter J. Wheatley,Xi Zhang +91 more
TL;DR: In this paper , the authors report the medium-resolution (R ≈ 600) transmission spectrum of an exoplanet atmosphere between 3 and 5 μm covering several absorption features for the Saturn-mass ex-oplanet WASP-39b (ref. 9), obtained with the NIRSpec G395H grating of JWST.
References
More filters
Journal Article
Scikit-learn: Machine Learning in Python
Fabian Pedregosa,Gaël Varoquaux,Alexandre Gramfort,Vincent Michel,Bertrand Thirion,Olivier Grisel,Mathieu Blondel,Peter Prettenhofer,Ron Weiss,Vincent Dubourg,Jake Vanderplas,Alexandre Passos,David Cournapeau,Matthieu Brucher,Matthieu Perrot,Edouard Duchesnay +15 more
TL;DR: Scikit-learn is a Python module integrating a wide range of state-of-the-art machine learning algorithms for medium-scale supervised and unsupervised problems, focusing on bringing machine learning to non-specialists using a general-purpose high-level language.
Posted Content
Scikit-learn: Machine Learning in Python
Fabian Pedregosa,Gaël Varoquaux,Alexandre Gramfort,Vincent Michel,Bertrand Thirion,Olivier Grisel,Mathieu Blondel,Andreas Müller,Joel Nothman,Gilles Louppe,Peter Prettenhofer,Ron Weiss,Vincent Dubourg,Jake Vanderplas,Alexandre Passos,David Cournapeau,Matthieu Brucher,Matthieu Perrot,Edouard Duchesnay +18 more
TL;DR: Scikit-learn as mentioned in this paper is a Python module integrating a wide range of state-of-the-art machine learning algorithms for medium-scale supervised and unsupervised problems.
Journal ArticleDOI
Matplotlib: A 2D Graphics Environment
TL;DR: 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.
Journal ArticleDOI
SciPy 1.0--Fundamental Algorithms for Scientific Computing in Python
Pauli Virtanen,Ralf Gommers,Travis E. Oliphant,Matt Haberland,Matt Haberland,Tyler Reddy,David Cournapeau,Evgeni Burovski,Pearu Peterson,Warren Weckesser,Jonathan Bright,Stefan van der Walt,Matthew Brett,Joshua Wilson,K. Jarrod Millman,Nikolay Mayorov,Andrew Nelson,Eric Jones,Robert Kern,Eric B. Larson,CJ Carey,Ilhan Polat,Yu Feng,Eric Moore,Jake Vanderplas,Denis Laxalde,Josef Perktold,Robert Cimrman,Ian Henriksen,Ian Henriksen,E. A. Quintero,Charles R. Harris,Anne M. Archibald,Antônio H. Ribeiro,Fabian Pedregosa,Paul van Mulbregt,SciPy . Contributors +36 more
TL;DR: SciPy as discussed by the authors is an open source scientific computing library for the Python programming language, which includes functionality spanning clustering, Fourier transforms, integration, interpolation, file I/O, linear algebra, image processing, orthogonal distance regression, minimization algorithms, signal processing, sparse matrix handling, computational geometry, and statistics.
Proceedings ArticleDOI
TensorFlow: a system for large-scale machine learning
Martín Abadi,Paul Barham,Jianmin Chen,Zhifeng Chen,Andy Davis,Jeffrey Dean,Matthieu Devin,Sanjay Ghemawat,Geoffrey Irving,Michael Isard,Manjunath Kudlur,Josh Levenberg,Rajat Monga,Sherry Moore,Derek G. Murray,Benoit Steiner,Paul A. Tucker,Vijay K. Vasudevan,Pete Warden,Martin Wicke,Yuan Yu,Xiaoqiang Zheng +21 more
TL;DR: TensorFlow as mentioned in this paper is a machine learning system that operates at large scale and in heterogeneous environments, using dataflow graphs to represent computation, shared state, and the operations that mutate that state.
Related Papers (5)
SciPy 1.0: fundamental algorithms for scientific computing in Python.
Pauli Virtanen,Ralf Gommers,Travis E. Oliphant,Matt Haberland,Matt Haberland,Tyler Reddy,David Cournapeau,Evgeni Burovski,Pearu Peterson,Warren Weckesser,Jonathan Bright,Stefan van der Walt,Matthew Brett,Joshua Wilson,K. Jarrod Millman,Nikolay Mayorov,Andrew Nelson,Eric Jones,Robert Kern,Eric B. Larson,CJ Carey,Ilhan Polat,Yu Feng,Eric Moore,Jake Vanderplas,Denis Laxalde,Josef Perktold,Robert Cimrman,Ian Henriksen,Ian Henriksen,E. A. Quintero,Charles R. Harris,Anne M. Archibald,Antônio H. Ribeiro,Fabian Pedregosa,Paul van Mulbregt,SciPy . Contributors +36 more
Astropy: A community Python package for astronomy
Thomas P. Robitaille,Erik Tollerud,Perry Greenfield,Michael Droettboom,Erik Bray,Tom Aldcroft,Matt Davis,Adam Ginsburg,Adrian M. Price-Whelan,Wolfgang Kerzendorf,A. Conley,Neil H. M. Crighton,Kyle Barbary,Demitri Muna,Henry C. Ferguson,Frédéric Grollier,Madhura Parikh,Prasanth H. Nair,Hans Moritz Günther,Christoph Deil,Julien Woillez,Simon Conseil,Roban Kramer,J. Turner,Leo Singer,R. T. Fox,Benjamin A. Weaver,Victor Zabalza,Zachary I. Edwards,K. Azalee Bostroem,Douglas Burke,Andrew R. Casey,Steven M. Crawford,Nadia Dencheva,Justin Ely,Tim Jenness,Kathleen Labrie,Pey Lian Lim,Francesco Pierfederici,Andrew Pontzen,Andy Ptak,Brian L. Refsdal,Mathieu Servillat,Ole Streicher +43 more