pyspc.model.socose.build_hydrograph
- pyspc.model.socose.build_hydrograph(start=0, end=0, scale=None)[source]
Construire un hydrogramme unitaire.
- Paramètres:
start (int) – Premier instant.
end (int) – Dernier instant.
scale (int) – Temps de réponse/montée.
- Renvoie:
df – Hydrogramme unitaire
- Type renvoyé:
pandas.DataFrame
Voir aussi
Exemples
>>> from pyspc.model.socose import build_hydrograph >>> start = 0 >>> end = 24 >>> scale = 6 >>> df = build_hydrograph(start=start, end=end, scale=scale) >>> df SOCOSE 0 0.000000 1 0.001543 2 0.024688 3 0.124514 4 0.380226 5 0.782518 6 1.000000 7 0.835981 8 0.575225 9 0.380226 10 0.254918 11 0.175661 12 0.124514 13 0.090567 14 0.067395 15 0.051166 16 0.039535 17 0.031027 18 0.024688 19 0.019887 20 0.016199 21 0.013327 22 0.011064 23 0.009262 24 0.007812