suraida is a lightweight package facilitating
interactive plotting similar to Mathematica's Manipulate.
Do you want to visualize a function and "play" with its parameters?
Jump into a jupyter notebook, import suraida and use
its Manipulate class like this:
import suraida as sr
import numpy as np
def func(z, amplitude, omega, phase):
return amplitude * np.sin(omega * z + phase)
sr.Manipulate(func, # the numerical function we wish to plot and manipulate parameters via sliders
var_def=["z", 0, 7, 0.1], # definition of the variable against which to plot `func`, specifying min, max and step
param_defs=[
["phase", [i*np.pi/5 for i in range(5)]], # phase as list of allowed values
["amplitude", 0, 2, 0.1], # amplitude with min, max and step, default initial value is midpoint between min and max
["omega", 0, 4, 0.1, 1.0] # omega with min, max, step, ini
]
)
Metadata
Release files for suraida 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| suraida-1.0.0.tar.gz | 3.1 MB | Without provenance | Details for suraida-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| suraida-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for suraida-1.0.0-py3-none-any.whl |
Total release size: 3.1 MB
Release files / suraida-1.0.0.tar.gz
| Download URL | suraida-1.0.0.tar.gz |
|---|---|
| Size | 3.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9e9532b7ab6a137ca1e3b67a1b74f273fdc338cdc5483f6d71f96bef55ca720
|
|
BLAKE2b-256 checksum How to use checksums |
128b44357b668bce5722506c100c02cb0ada92bbbb2bd684273c72ccf4f58647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / suraida-1.0.0-py3-none-any.whl
| Download URL | suraida-1.0.0-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64aeb73a6a6ae5da071161b80b02fc98c99bce60937de97619ae5d95607ab646
|
|
BLAKE2b-256 checksum How to use checksums |
80c1a2096e4af47740a86395a954a5ee59a58874d7f3365abe6249d9f15c78cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for suraida 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.