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

A semisupervised machine learning search for never-seen gravitational-wave sources

TL;DR: A search for unmodeled GW signals using semi-supervised machine learning is presented, and it is shown that this search can detect spectrograms containing unusual or unexpected GW patterns, and the waveforms and amplitudes for which a $50\% detection rate is achieved.
Journal ArticleDOI

Lesion location and lesion creation affect outcomes after focused ultrasound thalamotomy.

TL;DR: In this article, a clinical-radiological analysis of 123 cases of MRI-guided focused ultrasound thalamotomy, and explore the relationships between treatment parameters, lesion characteristics and outcomes.
Journal ArticleDOI

Star Formation Regulation and Self-pollution by Stellar Wind Feedback

TL;DR: In this paper, the authors simulate star formation with wind feedback in turbulent, self-gravitating clouds, and show that star formation and residual gas dispersal is complete within 2 - 8 initial cloud free-fall times.
Journal ArticleDOI

Optimization of model independent gravitational wave search for binary black hole mergers using machine learning

TL;DR: In this paper, a machine learning-enhanced coherent waveburst (cWB) search algorithm was proposed to optimize the pipeline sensitivity to binary black hole (BBH) mergers.
Journal ArticleDOI

An upper limit on [O iii] 88μm and 1.2 mm continuum emission from a JWST z ~ 12-13 galaxy candidate with ALMA

TL;DR: In this paper , the authors propose a solution to solve the problem of the problem: this paper ] of "uniformity" and "uncertainty" of the solution.
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)