Abstract Classes

class blenderneuron.commnode.CommNode(server_end, on_client_connected=None, on_server_setup=None, coverage=False)[source]
compress(obj)[source]
decompress(compressed)[source]
find_free_port()[source]
Returns:

A random available port

get_end_address_file(end)[source]
init_task_queue()[source]
load_config()[source]
print_safe(value)[source]
read_client_address_file()[source]

Read from a file in tmp folder that contains the address of the other node’s XML-RCP server :return: The address of the other end’s XML-RCP server

save_server_address_file()[source]

Create a file in tmp folder that contains the address of this node’s XML-RCP server :return: Nothing

server_types = {'Blender': 'NEURON', 'Control-Blender': 'Blender', 'Control-NEURON': 'NEURON', 'NEURON': 'Blender', 'Package': 'Blender'}
service_queue_loop()[source]
setup_server()[source]
sm_end_code_coverage()[source]
sm_enqueue_command(command_string)[source]
sm_get_task_error(task_id)[source]
sm_get_task_result(task_id)[source]
sm_get_task_status(task_id)[source]
sm_ping()[source]
sm_run_command(command_string)[source]
sm_stop()[source]

A method that, when called by a client of the node server, will stop the server :return:

stop_server()[source]
try_setup_client(warn=True)[source]
work_on_queue_tasks()[source]
class blenderneuron.rootgroup.RootGroup[source]
clear_activity()[source]
to_dict(include_activity=False, include_root_children=False, include_coords_and_radii=False)[source]
Parameters:
  • include_activity

  • include_root_children

  • include_coords_and_radii

Returns:

class blenderneuron.section.Section[source]
clear_3d_segment_activity()[source]
clear_activity(recursive)[source]
to_dict(include_activity=True, include_children=True, include_coords_and_radii=True)[source]
class blenderneuron.activity.Activity[source]
clear()[source]
from_dict(source)[source]
simplify(epsilon=0.0)[source]
to_dict()[source]