Exemplo n.º 1
0
 def templateVisualizerNoFailures(self, size, velocity, ccore_flag):
     net = sync_network(size, ccore = ccore_flag);
     output_dynamic = net.simulate_dynamic(solution = solve_type.FAST, collect_dynamic = True);
     
     sync_visualizer.animate(output_dynamic);
     sync_visualizer.animate_correlation_matrix(output_dynamic, velocity);
     sync_visualizer.animate_output_dynamic(output_dynamic, velocity);
     sync_visualizer.animate_phase_matrix(output_dynamic, 1, size, velocity);
     sync_visualizer.show_correlation_matrix(output_dynamic);
     sync_visualizer.show_output_dynamic(output_dynamic);
     sync_visualizer.show_phase_matrix(output_dynamic, 1, size);
Exemplo n.º 2
0
 def templateVisualizerNoFailures(size, velocity, ccore_flag):
     net = sync_network(size, ccore = ccore_flag);
     output_dynamic = net.simulate_dynamic(solution = solve_type.FAST, collect_dynamic = True);
     
     sync_visualizer.animate(output_dynamic);
     sync_visualizer.animate_correlation_matrix(output_dynamic, velocity);
     sync_visualizer.animate_output_dynamic(output_dynamic, velocity);
     sync_visualizer.animate_phase_matrix(output_dynamic, 1, size, velocity);
     sync_visualizer.show_correlation_matrix(output_dynamic);
     sync_visualizer.show_output_dynamic(output_dynamic);
     sync_visualizer.show_phase_matrix(output_dynamic, 1, size);
     sync_visualizer.show_order_parameter(output_dynamic);
     sync_visualizer.show_local_order_parameter(output_dynamic, net);