Skip to content
This repository was archived by the owner on Jun 7, 2025. It is now read-only.

ppizarror/arias-intensity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arias Intensity

Arias Intensity

Function in matlab to calculate AI (Arias Intensity) parameter from a seismic accelerogram

@ppizarror GPL V2.0

Usage

The arias intensity function is defined by:

ai = arias_intensity(t, acc)

Where:

Variable Description
t Time of the seismic accelerogram
acc Acceleration (g) of the seismic accelerogram

Example

Lets suppose that a seismic registry is stored on data/CNV_APED_201604162359_N_100.txt, the file structure is like:

0.000000	-6.329500
0.010000	2.539600
0.020000	12.822900
0.030000	9.435300
0.040000	-5.397100
0.050000	-14.233900
...

Then:

ai = arias_intensity(t, acc);
>> ai = 0.198232

License

This project is licensed under GPLv2 [https://www.gnu.org/licenses/gpl-2.0.html]

Author

Pablo Pizarro R. | 2017