PlotSpectrumNiceAndEasy
PlotSpectrumNiceAndEasy - this module is a Python library for the N-PLS1 regression with L2-regularization.
Installation
Install the current version with PyPI:
pip install PlotSpectrumNiceAndEasy
Ubuntu:
pip3 install PlotSpectrumNiceAndEasy
Or from Github:
pip install https://github.com/89605502155/PlotSpectrumNiceAndEasy/main.zip
Usage
You can plot a very nice spectrum and theory lines of elements. But you can plot an other plots like this. It is an extension of the matplotlib library.
from PlotSpectrumNiceAndEasy import PlotSpectrumNiceAndEasy
a=[1,2,3,4,5,6,7]
b=[0.02,2,-5,0,9,6,1]
model=PlotSpectrumNiceAndEasy(name_plot="Spectrum",save_name="test_plot",y_name="Intensity",x_name="lambda, nm")
result=model.main(a,b,save=True,Pb=[1,1,0,5,"red"],Hf=[2,2,1,3,"orange"])
Example
You can see an example of the plot in test_plot.png and test_plot.svg files on the repository of this library.
Metadata
Release files for PlotSpectrumNiceAndEasy 0.0.3
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 |
|---|---|---|---|---|
| PlotSpectrumNiceAndEasy-0.0.3.tar.gz | 15.5 kB | Without provenance | Details for PlotSpectrumNiceAndEasy-0.0.3.tar.gz |
Release files / PlotSpectrumNiceAndEasy-0.0.3.tar.gz
| Download URL | PlotSpectrumNiceAndEasy-0.0.3.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de45b3597d048b3f7215e23fd46167fdb2b1776ba5e8ddf954dd5dc37b292f67
|
|
BLAKE2b-256 checksum How to use checksums |
6d3d94ab74fb8500facccaa84021f26c522ffed6bc7f825fc965b18169813846
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for PlotSpectrumNiceAndEasy 0.0.3
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.