Skip to main content

failure diagnosis

Project description

phm-diagnosis

介绍

故障诊断

使用上海九章云极公司的开源工具包-ylearn,实现故障诊断任务 ylearn主要依托,华为诺亚的gCastle推理包,torch,networkx完成以上任务, 在传参数时,尽可能使用**kwargs,如有不便于理解之处,可以直接阅读ylearn源码及注释。

包括:

  • 基于数据,生成故障树
  • [x]
  • [x]
  • [x]
  • [x]

软件架构

软件架构说明

.
├── build
│   ├── bdist.linux-x86_64
│   └── lib
│       └── phm_feature
│           └── __init__.py
├── dist
│   ├── phm_feature-0.0.2-py3-none-any.whl
│   └── phm_feature-0.0.2.tar.gz
├── LICENSE
├── phm_feature
│   ├── __init__.py
├── phm_feature.egg-info
│   ├── dependency_links.txt
│   ├── PKG-INFO
│   ├── SOURCES.txt
│   └── top_level.txt
├── README.md
├── setup.py
└── test.py

安装教程

使用pip进行安装

pip install phm-feature

使用说明

  1. 获得振动信号的特征值
import phm_feature
from phm_feature import *
enable_parallel(processnum=None) # 开启多线程模式
disable_parallel() # 开启单线程模式
feature_t(data) # 获取时间域特征
# feature_f # 获取频率域特征
fft(data, 50) # 快速离散傅里叶变换
power(data, 50) # 功率谱
ifft(data, 50) # 快速离散逆傅里叶变换
cepstrum(data, 50) # 倒谱
envelope(data) # 包络谱
window(data, 'hamming') # 加窗-汉明窗
divide(data, 50, 25) # 分帧

参与贡献

  1. 2022-07-04 v0.0.1
pypi上传初版本
pypi上传phm-feature初版本
  1. 2022-07-04 v0.0.2
新增多线程模式

特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. Gitee 官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
  4. GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
  5. Gitee 官方提供的使用手册 https://gitee.com/help
  6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/

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

phm_diagnosis-0.0.2.tar.gz (8.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: phm_diagnosis-0.0.2.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for phm_diagnosis-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b1d227185ea9d04f79905ffb3663e663259df570f783119729b9a7b638f09790
MD5 bf4dd174dff7cffb69395b93581136c0
BLAKE2b-256 78075d66a15ec633f4810a6a190db2d4926d063926dd887fc8ab584b45353c0c

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