CPR可视化工具包
Project description
CPR可视化工具包
一个用于CPR(圈点圆)可视化的Python工具包,基于Plotly构建。
功能特点
- 实时CPR波形可视化
- 种类繁多的花形可视化
- 交互式数据展示
- 自定义图表样式
- 导出图片功能
安装
pip install cprdspy
快速开始
from cprdspy import wave_circle_geometric
# 创建可视化器实例
fig=wave_circle_geometric(1.2, 2, 12)
# 显示波形
fig.show()
from cprdspy import config, set_theme,flowers_flower_by_petal_multi
# 设置主题
set_theme("dark")
# 自定义配置
config.line_width = 3
config.opacity = 0.8
# config.show_grid = True
# config.show_legend = False
# config.show_axis = False
config.axis_mirror = False
# 绘图时应用配置
fig = flowers_flower_by_petal_multi(
[0, 0], 1, 1, 4, np.sqrt(2), 3, 12, color="red", width=2, opacity=0.5
)
config.apply_to_figure(fig)
fig.update_layout(xaxis=dict(visible=False), yaxis=dict(visible=False))
文档
详细的文档请访问:文档链接
许可证
本项目采用 MIT 许可证 - 详见 LICENSE 文件
贡献
欢迎提交 Pull Request 或创建 Issue!
联系方式
如有问题,请通过以下方式联系我们:
- 提交 Issue
- 发送邮件至:lbylzk8@outlook.com
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
cprdspy-0.2.0.tar.gz
(50.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cprdspy-0.2.0-py3-none-any.whl
(66.5 kB
view details)
File details
Details for the file cprdspy-0.2.0.tar.gz.
File metadata
- Download URL: cprdspy-0.2.0.tar.gz
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f14dbe48ce62cfddc15bd68bfafe7e936abfd09a4fd47ea6817e4f4b68db7d22
|
|
| MD5 |
b0963674c8ce410e61b81c3aeb053cd4
|
|
| BLAKE2b-256 |
617956e4e0560ed2ea1b30f59f3a9b98f5420ef7e12479a688fa6eb3b20770b7
|
File details
Details for the file cprdspy-0.2.0-py3-none-any.whl.
File metadata
- Download URL: cprdspy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 66.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e389cad20bd35053987b352891dfff9305629bce1d5b662b628ffa635a13fdf9
|
|
| MD5 |
c4ca73c4e346c970b01fa80d8748d84d
|
|
| BLAKE2b-256 |
a2ebdaa76808c145d7e4b61c58ebcbeb80a3286dd71be4a631776cacf4dc4a45
|