Skip to content
Permalink
Browse files

modified README

  • Loading branch information...
klunk386 committed Jul 23, 2019
1 parent 8f1b354 commit 116b8d171b57fe570de0572736e4f47c83dee5d0
Showing with 53 additions and 11 deletions.
  1. +17 −0 README.md
  2. +4 −2 quakelab/signals/io.py
  3. +0 −2 quakelab/signals/iolibs/sac.py
  4. +5 −2 quakelab/signals/waveform.py
  5. +22 −0 quakelab/structures/fragility.py
  6. +5 −5 setup.py
@@ -6,12 +6,29 @@

QuakeLab is an opensource project with the goal of providing a set of free and opensource tools for seismologists dealing with most common enngineering problems

### Installation

QuakeLab can be installed using pip directly from the GitHub repository:
```console
sudo -H python3.6 -m pip install git+https://github.com/klunk386/QuakeLab.git
```

To update an existing installation:

sudo -H python3.6 -m pip install --upgrade git+https://github.com/klunk386/QuakeLab.git

If you are a developer, you can simply install the locally cloned GIT repository using:

sudo -H python3.6 -m pip install --upgrade --editable QuakeLab


### Dependencies

QuakeLab requires the following dependencies:

* [NumPy/Scipy](http://www.scipy.org/)
* [Matplotlib](http://matplotlib.org/)
* [Shapely](https://pypi.org/project/Shapely/)

### License

@@ -1,4 +1,5 @@
# -----------------------------------------------------------------------------
# ============================================================================
#
# Copyright (C) 2019 Valerio Poggi.
# This file is part of QuakeLab.
#
@@ -14,7 +15,8 @@
#
# You should have received a copy of the GNU Affero General Public License
# with this download. If not, see <http://www.gnu.org/licenses/>
# -----------------------------------------------------------------------------
#
# ============================================================================
"""
"""
@@ -30,8 +30,6 @@
from os.path import isfile


# =============================================================================

class Sac(object):

def __init__(self, file=[], byte_order='le'):
@@ -1,4 +1,4 @@
# =============================================================================
# ============================================================================
#
# Copyright (C) 2019 Valerio Poggi.
# This file is part of QuakeLab.
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU Affero General Public License
# with this download. If not, see <http://www.gnu.org/licenses/>
#
# =============================================================================
# ============================================================================
"""
Module for basic waveform analysis
"""
@@ -36,3 +36,6 @@ def __init__(self):
'units' : ''}
self.data = {0 : None}




@@ -1,3 +1,25 @@
# ============================================================================
#
# Copyright (C) 2019 Valerio Poggi.
# This file is part of QuakeLab.
#
# QuakeLab is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License,
# or (at your option) any later version.
#
# QuakeLab is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# with this download. If not, see <http://www.gnu.org/licenses/>
#
# ============================================================================
"""
"""

import json as _json
import numpy as _np
import scipy.stats as _stat
@@ -22,9 +22,9 @@
],
install_requires=[
'setuptools',
'numpy >=1.14, <1.17',
'scipy >=1.0.1, <1.4',
'shapely >=1.3, <1.7',
'matplotlib >=1.5, <3.2'
'numpy',
'scipy',
'shapely',
'matplotlib'
]
)
)

0 comments on commit 116b8d1

Please sign in to comment.
You can’t perform that action at this time.