scispace - formally typeset
Open AccessJournal ArticleDOI

Array programming with NumPy

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

Content maybe subject to copyright    Report

Citations
More filters
Journal ArticleDOI

Spatiotemporal Gait Measurement With a Side-View Depth Sensor Using Human Joint Proposals

TL;DR: The presented system directly calculates gait parameters from individual foot positions while previous side-view systems relied on indirect measures.
Journal ArticleDOI

ordpy: A Python package for data analysis with permutation entropy and ordinal network methods.

TL;DR: Ordpy as discussed by the authors is a Python module that implements permutation entropy and several of the principal methods related to Bandt and Pompe's framework to analyze time series and two-dimensional data.
Posted ContentDOI

Predicting continuous ground reaction forces from accelerometers during uphill and downhill running: A recurrent neural network solution

TL;DR: In this paper, a recurrent neural network was used to predict the ground reaction forces (GRF) waveform from accelerometers located on the sacrum and shoe of the human foot.
Journal ArticleDOI

The Role of Adaptive Ray Tracing in Analyzing Black Hole Structure

TL;DR: In this paper, a prescription for adaptive ray tracing is presented, which enables efficient computation of extremely high resolution images of black holes using the polarized ray-tracing code ipole, and images can be reproduced with mean squared error of less than 0.1% even after tracing 12x fewer rays.
Journal ArticleDOI

Novel constraints on neutrino physics beyond the standard model from the CONUS experiment

TL;DR: In this article , the authors derived competitive limits for neutrino-quark mediators from the C onus experiment at ionization energies below 1 keV, where the expected standard model CE ν NS process and the vector non-standard interactions (NSIs) were considered.
References
More filters
Journal Article

Scikit-learn: Machine Learning in Python

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.
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

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

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)