Skip to main content
Fig. 3 | Advanced Structural and Chemical Imaging

Fig. 3

From: An open-source software ecosystem for the interactive exploration of ultrafast electron scattering data

Fig. 3

Performance characterization of the npstreams package in comparison with numpy. The task was to average sequences of 2D arrays (representing scattering patterns). a Wall time of averaging for a sequence of 10 arrays (solid) superimposed with maximum memory usage (dashed). The vertical-dashed line marks the array size of \(2048 \times 2048\), equivalent to a scattering pattern of 4 megapixels. b Speed-up of using npstreams vs. numpy for averaging a sequence of arrays of size \(512 \times 512\) elements

Back to article page