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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.