Skip to main content

reads SIM and HSR files produced by eQUEST simulations

Project description

eqparse

Python processing for eQUEST SIM, HSR, and INP files

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installing

Use pip to install this package (you can always clone and manually import it as well):

pip install eqparse

to Load a SIM file, use LoadSim and do not use a file extension:

''' mysim = eq.LoadSim('C:/myinputfile') '''

This allows access to 'sim', 'hsr', and 'inp' modules (inp module is currently a work in progress. Support will be added to handle running simulations and creating ECMs.

Most reports can be accessed like this, returning Pandas Dataframes:

mysim.sim.bepu() mysim.sim.ssa()

HSR files can be accessed like this:

df = mysim.hsr.df

There are also some plotting functions, using Plotly, optimized for eQUEST HSR files:

mysim.hsr.plot.line(df) mysim.hsr.plot.heatmap(df, 0) # < 0 refers to column number

Authors

Michael Sweeney (github.com/michaelsweeney)

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Thanks to Santosh Philip and his excellent Eppy project for inspiration!

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

eqparse-0.0.2-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

Details for the file eqparse-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: eqparse-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 36.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for eqparse-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ddf8c742d35b786f38f6cfaa4b25b2727478b47b20bece60d78dd02e4a30a9f4
MD5 e4c6d0736415262ae3c2a93891a78bb1
BLAKE2b-256 b0cb03d6fdbfc202eb9fbcda5c937e3da7e510b64b619720f910dbadf9b0ed30

See more details on using hashes here.

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