ShakerMaker | Easily create physically-realistic earthquake ground motions
kandi X-RAY | ShakerMaker Summary
kandi X-RAY | ShakerMaker Summary
ShakerMaker is a Python library. ShakerMaker has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.
ShakerMaker is intended to provide a simple tool allowing earthquake engineers and seismologists to easily use the frequency-wavenumber method (FK) to produce ground-motion datasets for analysis using the Domain Reduction Method (DRM). DRM motions are stored directly into the H5DRM format. The FK method, the core of ShakerMaker, is implemented in fortran (originally from with several modifications), and interfaced with python through f2py wrappers. Classes are built on top of this wrapper to simplify common modeling tasks such as crustal model specification, generation of source faults (from simple point sources to full kinematic rupturespecifications), generating single recording stations, grids and other arrays of recording stations and stations arranged to meet the requirements of the DRM. Filtering and simple plotting tools are provided to ease model setup. Finally, computation of motion traces is done by pairing all sources and all receivers, which is parallelized using MPI. This means that ShakerMaker can run on simple personal computers all the way up to large supercomputing clusters.
ShakerMaker is intended to provide a simple tool allowing earthquake engineers and seismologists to easily use the frequency-wavenumber method (FK) to produce ground-motion datasets for analysis using the Domain Reduction Method (DRM). DRM motions are stored directly into the H5DRM format. The FK method, the core of ShakerMaker, is implemented in fortran (originally from with several modifications), and interfaced with python through f2py wrappers. Classes are built on top of this wrapper to simplify common modeling tasks such as crustal model specification, generation of source faults (from simple point sources to full kinematic rupturespecifications), generating single recording stations, grids and other arrays of recording stations and stations arranged to meet the requirements of the DRM. Filtering and simple plotting tools are provided to ease model setup. Finally, computation of motion traces is done by pairing all sources and all receivers, which is parallelized using MPI. This means that ShakerMaker can run on simple personal computers all the way up to large supercomputing clusters.
Support
Quality
Security
License
Reuse
Support
ShakerMaker has a low active ecosystem.
It has 11 star(s) with 4 fork(s). There are 6 watchers for this library.
It had no major release in the last 12 months.
ShakerMaker has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of ShakerMaker is 1.3
Quality
ShakerMaker has 0 bugs and 0 code smells.
Security
ShakerMaker has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
ShakerMaker code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
ShakerMaker does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
ShakerMaker releases are available to install and integrate.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
It has 1250 lines of code, 100 functions and 29 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed ShakerMaker and discovered the below as its top functions. This is intended to give you an instant insight into ShakerMaker implemented functionality, and help decide if they suit your requirements.
- Run the builder
- Split the layer at a given depth
- Get layer index
- Calls the core function
- Create MRM positions
- Create a new station
- Add a station
- Create a new DRM plane
- Generate the ZENT plot
- Get response data
- Creates a Crust model
- Adds a new layer
- Calculate the properties at a given z
- Time series data
- Set the dt
- Generate the data
- Writes the given station list to the stream
- Write a station to the HDF5 file
- Constructs a Crust model
- Writes a station
- Generate a Crustal LF
- Save the model to a numpy array
- Create a Crust model
- Load the station data
- Add a new layer
- Get data
Get all kandi verified functions for this library.
ShakerMaker Key Features
No Key Features are available at this moment for ShakerMaker.
ShakerMaker Examples and Code Snippets
Copy
from shakermaker.shakermaker import ShakerMaker
from shakermaker.crustmodel import CrustModel
from shakermaker.pointsource import PointSource
from shakermaker.faultsource import FaultSource
from shakermaker.station import Station
from shakermaker.st
Copy
git clone git@github.com:jaabell/ShakerMaker.git
sudo python setup.py install
sudo python setup.py install --user
Copy
sudo pip install mpi4py h5py f2py numpy scipy matplotlib
sudo pip install --user mpi4py f2py h5py numpy scipy matplotlib
Community Discussions
Trending Discussions on ShakerMaker
QUESTION
Scraping data with a lack of classes / ids on elements
Asked 2018-Feb-27 at 11:15
I'm trying to scrape data to build an object which looks like;
...ANSWER
Answered 2018-Feb-27 at 11:15You can do this using find_next_siblings()
.
Code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ShakerMaker
For now, only though the git repo::.
Using ShakerMaker is simple. You need to specify a :class:CrustModel (choose from the available predefined models or create your own), a :class:SourceModel (from a simple :class:PointSource to a complex fully-customizable extended source with :class:MathyFaultPlane) and, finally, a :class:Receiver specifying a place to record motions (and store them in memory or text format).
Using ShakerMaker is simple. You need to specify a :class:CrustModel (choose from the available predefined models or create your own), a :class:SourceModel (from a simple :class:PointSource to a complex fully-customizable extended source with :class:MathyFaultPlane) and, finally, a :class:Receiver specifying a place to record motions (and store them in memory or text format).
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page