Skip to content

Commit

Permalink
Update probabilistic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
molarana authored May 16, 2019
1 parent 20d2b10 commit c46ccd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UrbanHeatPro/Functions/probabilistic.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""
probabilistic.py
AMC @ TUM ENS
A. Molar-Cruz @ TUM ENS
"""

import numpy as np
from datetime import datetime
from scipy import interpolate
from scipy import interpolate

# --------------------------------------------------------------------------------
def create_normal_distribution(x, mean, sigma):
Expand Down Expand Up @@ -42,4 +42,4 @@ def create_interpolated_cdf(x, p):
cdf = interpolate.interp1d(cdf, x,
fill_value = (x[0], x[-1]), bounds_error = False)

return cdf
return cdf

0 comments on commit c46ccd7

Please sign in to comment.