Skip to main content

quakeio

Project description

quake-io

PyPI Version Build status Commits since latest release

Formats

  • CSMIP
  • PEER NGA
  • plain.tsv
  • plain.csv
  • mdof
  • SimCenter Event

Examples

Command line

$ quakeio -a rot:30 chan001.v2 -t html

Rotate and calculate Husid series.

$ quakeio -c 'rot:30;husid;' chan001.v2 
$ cat chan001.v2 | quakeio -a rot:30 -f csmip.v2 -t html | pandoc -f html -t pdf
$ cat chan001.v2 \
    | quakeio -a rot:30 -f csmip.v2 -t html -x [*].data \
    | pandoc -f html -t pdf

Library

import quakeio

csmip_event = quakeio.read("event.zip")
csmip_event["channel-01"].accel.plot()
csmip_event["chan001"].plot()
csmip_event["chan001"].plot_spect()

Command Line Interface

usage: quakeio [OPTIONS] [FILE]
Options:
-c/--calculate COMMAND

-a/--apply  

-t/--to FORMAT

-x/--exclude FIELD

-M/--metadata=KEY[:VALUE]

Commands:
  husid;
  scale:SCALE;
  rotate:cs=ANGLE;
  filter:<freq>;
  spect;

Formats:
  html
  csmip[.v1,.v2,.v3]
  nga

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

quakeio-0.0.1.tar.gz (10.7 kB view hashes)

Uploaded Source

Built Distribution

quakeio-0.0.1-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page