nFkt
This commit is contained in:
parent
9d971b44e5
commit
a151ebd886
@ -23,3 +23,14 @@ def gaussian(x, mu, sig):
|
|||||||
y = np.exp(-np.power(x - mu, 2.) / (2 * np.power(sig, 2.)))
|
y = np.exp(-np.power(x - mu, 2.) / (2 * np.power(sig, 2.)))
|
||||||
return y
|
return y
|
||||||
|
|
||||||
|
def map_keys(input):
|
||||||
|
df_map = {}
|
||||||
|
for k in input.keys():
|
||||||
|
df = k[1]
|
||||||
|
ch = k[3]
|
||||||
|
if df in df_map.keys():
|
||||||
|
df_map[df].append(k)
|
||||||
|
else:
|
||||||
|
df_map[df] = [k]
|
||||||
|
return df_map
|
||||||
|
print(ch)
|
||||||
|
Loading…
Reference in New Issue
Block a user