Skip to content
Snippets Groups Projects
Commit fa53e01d authored by gospodnetic's avatar gospodnetic
Browse files

Remove comments

parent 2d32265d
No related branches found
No related tags found
No related merge requests found
......@@ -110,10 +110,10 @@ class Vis:
troughs.append(min_val)
elif i < min_length:
troughs.append(min_val)
# Plots minimum curve using all the coverages.
# else:
# troughs.append(troughs[-1])
return peaks,troughs
# Cumulative values can not fall, and falling peaks will appear if some methods
......
......@@ -55,34 +55,3 @@ def main():
if __name__ == "__main__":
main()
# per_method_coverage = []
# for filename in ovp_paths:
# with open(filename) as OVP_file:
# ovp_data = json.load(OVP_file)
# if ovp_data["Log"]["CoveragePerVP"] is None:
# print("No coverage")
# continue
# per_method_coverage.append(
# convert_to_percentage(
# convert_cumulative(np.array(ovp_data["Log"]["CoveragePerVP"]))))
# y = np.array(per_method_coverage[-1])
# x = np.array(range(len(y)))
# plt.plot(x, y, c="0.4", alpha=0.2)
# peaks, troughs = stacked_coverage_find_peaks_and_troughs(per_method_coverage)
# peaks = filter_falling_peaks(peaks)
# # plt.plot(peaks, c="#009e28", ls="--", lw=2, alpha=0.5)
# plt.plot(peaks, c="blue", ls="--", lw=2, alpha=0.5)
# plt.plot(troughs, c="#e36120", ls="--", lw=2, alpha=0.7)
# plt.xlim(0,45)
# plt.ylim(0,100)
# plt.xlabel("Number of viewpoints")
# plt.ylabel("Coverage [%]")
# # plt.show()
# plt.savefig(graph_name)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment