Skip to main content

It is a Python library for build a very nice spectrum and theory lines of elements. But you can plot an other plots. It is an extension of the matplotlib library

Project description

PlotSpectrumNiceAndEasy

PyPI Python 3.8, 3.9, 3.10, 3.11, 3.12 GitHub Pull Requests License Forks

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PlotSpectrumNiceAndEasy-0.0.2.tar.gz (15.5 kB view details)

Uploaded Source

File details

Details for the file PlotSpectrumNiceAndEasy-0.0.2.tar.gz.

File metadata

  • Download URL: PlotSpectrumNiceAndEasy-0.0.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for PlotSpectrumNiceAndEasy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e2787a5fdfa51183c14e9c4563dc691f0e33b7b1e961c01716c9d7d7046f6dc8
MD5 a56187aea0e66fd34b77f68c04538701
BLAKE2b-256 f5376f656a30a499d44433813ca8f645ee642daf14870ec2197da6c369d4c417

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page