NeuroPAL_ID GUI Handling (Legacy)¶
GUI Controller¶
- class Program.GUIHandling¶
Functions responsible for handling our dynamic GUI solutions.
- Property Summary
- activity_components¶
- channel_map¶
- channel_names¶
- cm_exclusive_gui¶
- device_lists¶
NWB components
- id_components¶
- neuron_components¶
- optical_fields¶
- pos_prefixes¶
Processing components
- proc_components¶
- Method Summary
- static activity_format_stack(app)¶
- static activity_update_x_ticks(app, framerate)¶
Get the x-axis data
- static app()¶
- static cache(mode, label, contents)¶
- static channel_handler(app, action, channel)¶
- static check_channels(app)¶
- static crop_routine(app)¶
- static current_frame()¶
- static device_handler(app, action, device)¶
- static drag_manager(app, mode, event)¶
Manages all click & drag events.
- static dropper(message, display, image, z)¶
- static event2struct(varargin)¶
- static fade_log(t, hLabel)¶
- static flat_rotate(pos, theta, offset)¶
- static get_active_volume(app, varargin)¶
- static get_child_properties(component, property)¶
Get the value of the given property for all children of a component.
- static get_parent_app(component)¶
Get the application a given component belongs to.
- static get_rgb()¶
- static get_time_string(start_time, count, total)¶
- static global_grab(window, var)¶
Fulfills requests for local variables across AppDesigner apps.
- static grab_land(app, figure, pos, parent_class, parent_tag, class, tag)¶
Check if drag & drop ended up on target component.
- static gui_init(app)¶
Resize the figure to fit most of the screen size.
- static gui_lock(app, action, group, event)¶
- static histogram_handler(app, mode, image)¶
- static init_click_states(app)¶
Initialize the mouse click states (a hack to detect double clicks). Note: initialization is performed by startupFcn due construction issues.
- static init_neuron_marker(app)¶
Initialize the neuron marker GUI attributes. Note: initialization is performed by startupFcn due construction issues.
- static loaded_file_check(app, tree)¶
Checks which of the files that NeuroPAL_ID can load have been loaded and checks their associated nodes in the passed uitree.
- static mouse_poll(app, click_state)¶
- static mutually_exclusive(event, counterparts, property)¶
Ensures that the GUI component that triggered this function call always expresses the opposite boolean property of all GUI components in the counterparts cell array.
- static nwb_init(app)¶
- static proc_save_prompt(app, action)¶
- static read_gui(app)¶
- static rect_to_freehand(roi)¶
RECT_TO_FREEHAND This function converts rectangle ROIs to freehand ROIs. This is useful in cases where rectangle ROIs require rotating, which MATLAB does not support outside of a certain workarounds (e.g. rotate, hgtransform) which all come with various trade-offs.
Inputs: - roi: Rectangle ROI.
Outputs: - freehand_roi: Freehand roi.
- static restore_pointer(app)¶
Restore the mouse pointer. Hack: Matlab App Designer!!!
- static send_focus(ui_element)¶
Send focus to a UI element. Hack: Matlab App Designer!!!
- static set_gui_limits(app, mode, dims)¶
- static set_thresholds(app, max_val)¶
- static shorten_knob_labels(app)¶
- static swap_volumes(app, event)¶
- static sync_channels(event)¶
- static window_fig()¶