libhydro.core.courbecorrection (version 0.1, 2017-06-21)
index
/home/seb/PHyC_source/libhydro3/libhydro/core/courbecorrection.py

Module courbecorrection.
 
Ce module contient les classes:
    # PivotCC
    # CourbeCorrection

 
Modules
       
libhydro.core._composant
libhydro.core.sitehydro

 
Classes
       
builtins.object
CourbeCorrection
PivotCC

 
class CourbeCorrection(builtins.object)
    Classe CourbeCorrection
 
Classe pour manipuler une courbe de correction
Proprietes:
    station (sitehydro.Station)
    libelle (string ou None) = libellé
    commentaire (string ou None)
    pivots= Liste de points pivots
    dtmaj (datetime.datetime) = date de mise à jour
    tri_pivots (bool) = tri de spoints pivots par hauteur si True
 
  Methods defined here:
__init__(self, station=None, libelle=None, commentaire=None, pivots=None, dtmaj=None, tri_pivots=True, strict=True)
Initialize self.  See help(type(self)) for accurate signature.
__str__(self)
Return string representation from __unicode__ method.
__unicode__(self)
Return unicode representation.
get_actived_pivots(self)
remove pivots which dtdesactivation is not None
remove_deactived_pivots(self)
remove pivots which dtdesactivation is not None

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
dtmaj
Class Datefromeverything.
 
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
pivots
Return capteurs.
station
Return code courbe tarage.

 
class PivotCC(builtins.object)
    Classe PivotCC
 
Classe pour manipuler les points pivots d'une courbe de correction
 
Proprietes:
    dte (datetime.datetime) = date du point pivot
    deltah (float) = delta de hauteur
    dtactivation (string, defaut None) = date d'activation
    dtdesactivation (datetime.datetime) = date de désactivation
    strict (bool, defaut True) = strict or fuzzy mode
 
  Methods defined here:
__gt__(self, other)
Return self>value.
__init__(self, dte=None, deltah=None, dtactivation=None, dtdesactivation=None, strict=True)
Constructor.
 
Arguments:
    dte (datetime.datetime) = date du point pivot
    deltah (float) = delta de hauteur
    dtactivation (string, defaut None) = date d'activation
    dtdesactivation (datetime.datetime) = date de désactivation
    strict (bool, defaut True) = strict or fuzzy mode
__lt__(self, other)
Return self<value.
__str__(self)
Return string representation from __unicode__ method.
__unicode__(self)
Return unicode representation.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
deltah
Return deltah.
dtactivation
Class Datefromeverything.
 
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
dtdesactivation
Class Datefromeverything.
 
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
dte
Class Datefromeverything.
 
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.

 
Author
        Sebastien ROMON