---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-9cd64140528e> in <module>()
----> 1 HProcessor.process_histogram("http://space.astro.cz/bolidozor/OBSUPICE/OBSUPICE-R1/data/", 6)
/home/kaklik/git/MeteorDataAnalyser/iPython/HProcessor.py in process_histogram(url_meteors, x)
140
141 def process_histogram(url_meteors, x):
--> 142 plt.hist(get_values(url_meteors, x), bins=100)
143 plt.title("Histogram for observations in the past six hours") #change title if necessary
144 plt.xlabel("Frequency (Hz)")
/home/kaklik/git/MeteorDataAnalyser/iPython/HProcessor.py in get_values(url_meteors, x)
135
136 for f in range(len(data)):
--> 137 x=[int(round(i)) for i in data[f]["c"]]
138 freq_data=freq_data+x
139 return freq_data
TypeError: a float is required