全向地震动反应谱生成程序
Project description
全方位地震动反应谱生成
安装
pip install omnispectrum
例程
spectrum
import omnispectrum
# acc加速度时程,dt,是否进行基线修正
spect = omnispectrum.spectrum(ew, t, False)
# 计算反应谱,start,end,step(开始周期,结束周期,步长)
spect.get_sa(0, 2, 0.1)
print(spect.sa)
omnispectrum
import omnispectrum
# csv为三向地震动,格式参照实例文件
omni = omnispectrum.OmniSpectrum('022DLB.csv')
omni.any_angle_spectrum()
批量转换生成word报告
import omnispectrum
csv2docx(path, output, baseline_correction=False)
作为模块使用
python -m omnispectrum.omnispectrum --i path
python -m omnispectrum.omnispectrum --help
Example
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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
File details
Details for the file omnispectrum-0.7-py3-none-any.whl.
File metadata
- Download URL: omnispectrum-0.7-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3793934fc59fe1d63b49b02cf2606f2b6599e8b523126adecf0b9ef340c8c518
|
|
| MD5 |
3dfebd93b54def8a4d06ddaea6e4ec9d
|
|
| BLAKE2b-256 |
40ef14c35fb6633524a26dbbd1079c6f1d7eb44f107652d6ff05e4038120115c
|