smart_arrays_sample_data 2.0.3 smart_arrays_sample_data: ^2.0.3 copied to clipboard
Creates 1D and 2D arrays representing functions such as sine, cosine and others to be used as easily accessible sample data for many purposes.
Smart Arrays Sample Data #
What the package can do for you #
It is often the case that one needs sample data for testing software, for presentations and other purposes. This package computes one and two-dimensional arrays representing functions such a sine, cosine, and more.
Example #
- The provided example can be directly executed via https://smart.specpad.bplaced.net/smart_arrays_sample_data/example.html.
- Or, download the package and execute the file
example/example.html
in your browser.
The major API functionalities #
Each function is represented by its own class in this package. Examples:
-
Class
sine1D
to compute a sine wave with various parameters, including white noise to simulate measurement data. -
Class
sinc
to compute a sine cardinal ("sinc") wave with various parameters.. -
Class
XsinYcos2D
to compute a 2D mixture of sine and linear components.
Related packages #
smart_arrays_base
: Basic functions for 1D and 2D arrays
smart_arrays_numerics
: Numerics with 1D and 2D arrays
smart_arrays_compress
: Compress 1D and 2D arrays to a smaller size.
smart_arrays_dbstore
: Stores 1D and 2D arrays along with metadata on the local device.
smart_arrays_plot_polyline
: Plots 1D arrays as polyline along with axes and more.
smart_arrays_peaks
: Detect peaks in 1D and 2D arrays.
smart_lorentz_gauss
: Compute Lorentz-Gauss (pseudo-Voigt) line shapes.
smart_signal_processing
: Fourier transform and more of arrays.