Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(19) | Call(19) | Derive(0) | Import(0)
src/h/e/Helmholtz-0.2.0/helmholtz/analysis/tools/examples/test_contrast_response.py Helmholtz(Download)
for spikelist in filtered_results[:MAX_COL]: plot_spike_hist(filtered_fig, spikelist, with_variables=True) filtered_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_filtered.png") # merge, then f1f0_ratios merged_results = Benchmarks.analysis.merge_trials(filtered_results, relative_times=False) if display: plot_spike_hist(merged_fig, merged_results, with_variables=True) merged_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_merged.png")
panel = curve_fig.next_panel() panel.plot1(xdata, ydata, 'bo', xfit, yfit, 'r-') curve_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_curves.png") pprint(fitting_result)
hist_fig = SimpleMultiplot(1, 1, xlabel="Exponent (n)", ylabel="Number of cells") hist_fig.next_panel().plot(exponent_hist[1], exponent_hist[0]) hist_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_histogram.png") # ==> Do the same stuff with the Component Framework ===
for spikelist in pipeline.filtered.potential[:MAX_COL]: plot_spike_hist(filtered_fig, spikelist, with_variables=True) filtered_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_filtered_component.png") if display:
src/h/e/Helmholtz-0.2.0/helmholtz/analysis/tools/examples/component_generator.py Helmholtz(Download)
for spikelist in filtered_results[:MAX_COL]: plot_spike_hist(filtered_fig, spikelist, with_variables=True) filtered_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_filtered.png") # merge, then f1f0_ratios merged_results = Benchmarks.analysis.merge_trials(filtered_results, relative_times=False) if display: plot_spike_hist(merged_fig, merged_results, with_variables=True) merged_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_merged.png")
panel = curve_fig.next_panel() panel.plot1(xdata, ydata, 'bo', xfit, yfit, 'r-') curve_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_curves.png") pprint(fitting_result)
hist_fig = SimpleMultiplot(1, 1, xlabel="Exponent (n)", ylabel="Number of cells") hist_fig.next_panel().plot(exponent_hist[1], exponent_hist[0]) hist_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_histogram.png") # ==> Do the same stuff with the Component Framework ===
for spikelist in pipeline.filtered.potential[:MAX_COL]: plot_spike_hist(filtered_fig, spikelist, with_variables=True) filtered_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_filtered_component.png") if display:
src/h/e/Helmholtz-0.2.0/helmholtz/analysis/tools/examples/test_f1f0.py Helmholtz(Download)
if display and i < MAX_COL: plot_spike_hist(spike_fig, spike_list) spike_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_f1f0_spikes.png") i += 1
for spikelist in filtered_results[:MAX_COL]: plot_spike_hist(filtered_fig, spikelist, with_variables=False) filtered_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_f1f0_filtered.png") i += 1
if display: plot_spike_hist(merged_fig, merged_results, with_variables=False) merged_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_f1f0_merged.png") f1f0_ratios = Benchmarks.analysis.f1f0_ratio(merged_results, bin_size, f_stim)