From ef8adc6c0aca9de82cd04325447016f846184825 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Mon, 31 Mar 2014 13:01:51 +0200 Subject: [PATCH] doc strings corrected --- pylot/__init__.py | 6 +++--- pylot/core/__init__.py | 1 - pylot/core/read/data.py | 16 ++++++++-------- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/pylot/__init__.py b/pylot/__init__.py index 788a394f..c724596b 100755 --- a/pylot/__init__.py +++ b/pylot/__init__.py @@ -3,9 +3,9 @@ # Purpose: Convience imports for PyLoT # ''' +================================================ PyLoT - the Python picking and Localization Tool - -The Python picking and Localisation Tool +================================================ This python library contains a graphical user interfaces for picking seismic phases. This software needs ObsPy (http://github.com/obspy/obspy/wiki) @@ -20,7 +20,7 @@ benefit a lot compared to the former MatLab version. The development of PyLoT is part of the joint research project MAGS2. :copyright: - The PyLoT-Development Team + The PyLoT Development Team :license: GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html) diff --git a/pylot/core/__init__.py b/pylot/core/__init__.py index 4287ca86..e69de29b 100755 --- a/pylot/core/__init__.py +++ b/pylot/core/__init__.py @@ -1 +0,0 @@ -# \ No newline at end of file diff --git a/pylot/core/read/data.py b/pylot/core/read/data.py index cd84f9fc..711971d2 100644 --- a/pylot/core/read/data.py +++ b/pylot/core/read/data.py @@ -31,16 +31,16 @@ class GenericDataBase(object): class SeiscompDataStructure(object): + ''' + Dictionary containing the data acces information for an SDS data archive: + + :param str dataType: Desired data type. Default: ``'waveform'`` + :param date: Either date string or an instance of + :class:`obspy.core.utcdatetime.UTCDateTime. Default: ``None`` + :type date: str or UTCDateTime or None + ''' def __init__(self, dataType='waveform', date=None, **kwargs): - ''' - Object initialization method: - - :param str dataType: Desired data type. Default: ``'waveform'`` - :param date: Either date string or an instance of - obspy.core.utcdatetime.UTCDateTime. Default: ``None`` - :type date: str or UTCDateTime or None - ''' # imports from obspy.core import UTCDateTime