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.
- 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.htmlin your browser.
The major API functionalities #
Each function is represented by its own class in this package. Examples:
sine1Dto compute a sine wave with various parameters, including white noise to simulate measurement data.
sincto compute a sine cardinal ("sinc") wave with various parameters..
XsinYcos2Dto compute a 2D mixture of sine and linear components.