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
Posted Content

Current observations are insufficient to confidently associate the binary black hole merger GW190521 with AGN J124942.3+344929

TL;DR: In this paper, the authors provide a re-analysis of the multi-messenger coincidence significance based on the localisation overlap and find that the odds of a common source for GW190521 and ZTF19abanrhr range between 1 and 12 depending on the waveform model used.
Journal ArticleDOI

Physical approach to the marginalization of LIGO calibration uncertainties

TL;DR: In this article, a new approach to account for calibration errors during the source characterization step, which directly uses all the information available about the instrument calibration process, is presented, and applied to the compact binaries detected by LIGO and Virgo during the second observation run, as well as to simulated binary neutron stars for which the sky position and distance are known exactly.
Journal ArticleDOI

ScanNet: an interpretable geometric deep learning model for structure-based protein binding site prediction

TL;DR: In this paper , an end-to-end, interpretable geometric deep learning model that learns features directly from 3D structures is proposed for functional site prediction tasks, which can detect protein-protein and protein-antibody binding sites, demonstrate its accuracy and interpret the filters learned.
Posted ContentDOI

DNA-loop extruding SMC complexes can traverse one another in vivo

TL;DR: It is posited that SMC complexes traversing one another is part of a larger phenomenon of bypassing large steric barriers which enables these loop extruders to spatially organize a functional and busy genome.
Journal ArticleDOI

3D simulations of photochemical hazes in the atmosphere of hot Jupiter HD 189733b

TL;DR: In this article, the authors present 3D simulations of the hot Jupiter HD 189733b to study how photochemical hazes are transported by atmospheric circulation, including spherical, constant-size hazes particles that gravitationally settle and are transported as passive tracers, with particle radii ranging from 1 nm to 300 $m.
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)