Skip to main content

全向地震动反应谱生成程序

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 Distribution

omnispectrum-0.4.tar.gz (7.6 kB view details)

Uploaded Source

File details

Details for the file omnispectrum-0.4.tar.gz.

File metadata

  • Download URL: omnispectrum-0.4.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.3

File hashes

Hashes for omnispectrum-0.4.tar.gz
Algorithm Hash digest
SHA256 014d3ebe9407cec8f1b7316f223ab7e9fc513ea8080a5255356aac1a123ae46f
MD5 64ff0e37d3617bc2405bc47ffa4739e7
BLAKE2b-256 834d1c626ce6a710c45309ea5fcf54ef6eabb8983d3a1780d8874243cdafef6c

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