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 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