Skip to main content

Модуль для просмотра ВАХ

Настраиваемый PyQt-виджет для отображения Вольт-Амперных Характеристик (ВАХ). Виджет умеет выводить несколько ВАХ на график и при необходимости обновлять их.

Установка

Установка возможна только на Python версии >=3.6 и <=3.8.

python -m pip install ivviewer

Проверка установки

python -m ivviewer 	# при успешной установке создаст окно с графиком 

Пример использования

import sys
from PyQt5.QtGui import QColor
from PyQt5.QtWidgets import QApplication
import ivviewer

app = QApplication(sys.argv)
window = ivviewer.Viewer()
window.plot.set_x_axis_title("Название оси X")
window.plot.set_y_axis_title("Название оси Y")
window.plot.set_scale(6.0, 15.0)

x_test = [-2.5, 0, 2.5]
y_test = [-0.005, 0, 0.005]
test_curve = window.plot.add_curve()
test_curve.set_curve(ivviewer.Curve(x_test, y_test))
test_curve.set_curve_params(QColor("red"))

x_ref = [-2.5, 0, 2.5]
y_ref = [-0.003, 0, 0.0033]
reference_curve = window.plot.add_curve()
reference_curve.set_curve(ivviewer.Curve(x_ref, y_ref))
reference_curve.set_curve_params(QColor("green"))

window.resize(600, 600)
window.show()
app.exec()

Metadata

Release files for ivviewer 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ivviewer 1.0.1
File Size Uploaded
ivviewer-1.0.1.tar.gz 6.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ivviewer 1.0.1
File Interpreter ABI Platform
ivviewer-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 MB

Release files / ivviewer-1.0.1.tar.gz

Download URL ivviewer-1.0.1.tar.gz
Size 6.5 MB
Tags Source
SHA-256 checksum
How to use checksums
2a3dd995e8019c1c126fa99481cba1153dcba546b5dd944d62600cacc44e2f49
BLAKE2b-256 checksum
How to use checksums
a38997a6dc88b0d41c2ff25fde1b255f60a8376a78f6dce89e191a6413738758
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

Release files / ivviewer-1.0.1-py3-none-any.whl

Download URL ivviewer-1.0.1-py3-none-any.whl
Size 33.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1703ea2246bf5b7854caf608d315aa44bfcc8ea6b521e5d59a6c7a1688ef3954
BLAKE2b-256 checksum
How to use checksums
132023134042a1986299789b4051349a81ce762e884238699a3b96e13a2dfb19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

0.1.7

7 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page