Package for Exploratory Ground Motion Analysis
Project description
PEGMA: Package for Exploratory Ground Motion Analysis
This is a package for seismologists and earthquake engineers for exploratory analysis of ground motions. It can help in analyzing and selecting the ground motions based on their characteristics.
Installation and usage
Installation is straight forward using pip
. The package requires python version >= 3.6
. To check the version of the python available on your system, open the terminal (Linux/Mac) or command prompt (windows) and enter the following commands to check the version.
python --version
If the above command returns python version number above 3.6, you can replace python3
from following commands to python
.
Linux/Mac
Create and activate a virtual environment (Optional but highly recommended)
Open terminal and enter following commands
python3 -m venv $HOME/trypegma # Give any name of your choice instead of trypegma
source $HOME/trypegma/bin/activate
This will create a directory named trypegma
in your $HOME
directory and source the new virtual environmant for you to use. Following step must be executed in the same terminal instance without closing it (and not in any other terminal instance).
Install PEGMA
python3 -m pip install pegma
Use
Once the installation is successful, you can launch pegma
using command pegma
. But every time you should first activate the virtual environment (if you followed the first optional step). So you need to use following two commands (if you followed first optional step), or only the second command (if you did not follow the first optional step)
source $HOME/trypegma/bin/activate
pegma
Windows
Create and activate a virtual environment (Optional but highly recommended)
Open terminal and enter following commands
python3 -m venv trypegma # Give any name of your choice instead of trypegma
trypegma\Scripts\activate.bat
This will create a directory named trypegma
in your current working directory and source the new virtual environmant for you to use. The following step must be must be executed in the same command prompt instance without closing it (and not in any other command prompt instance).
Install PEGMA
python3 -m pip install pegma
Use
Once the installation is successful, you can launch pegma
using command pegma
. But every time you should first activate the virtual environment (if you followed the first optional step). So you need to use following two commands (if you followed first optional step), or only the second command (if you did not follow the first optional step)
trypegma\Scripts\activate.bat
pegma
Removing PEGMA
In case you need to remove PEGMA
, simply delete the trypegma
directory (if you followed the first optional step) or pip uninstall pegma
(if you did not follow the first optional step).
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.
Source Distribution
Built Distribution
File details
Details for the file pegma-1.0.11.tar.gz
.
File metadata
- Download URL: pegma-1.0.11.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3205d173ae559ce00abe36cbf1210a695800db14aea2c3ee4740febea132f0fd |
|
MD5 | aa38aab0aa680a9e3ea0e0c4673379cd |
|
BLAKE2b-256 | 7794b7cdbc474c6abea6d5e2d619e63610cecbd76649af24d725f6a7e9a2c781 |
File details
Details for the file pegma-1.0.11-py3-none-any.whl
.
File metadata
- Download URL: pegma-1.0.11-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 731fdbff8a74ccc036d52b34608a3d717e488a5a36c64ac592a37af8c51c4a9c |
|
MD5 | 2af60fa201e8fcbc3024832142fb2386 |
|
BLAKE2b-256 | 791baeb2cf74ce707caaa3e5d0e42221ced969cb136ff4c6ddd1a0b830baf123 |