Module Expr Str Import alias Import alias identifier ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad ListLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore IfExp NameLoad AttributeLoad NameLoad attr ListLoad If Call NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad Call Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assert AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad keyword NameLoad decorator_list AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assert Call NameLoad NameLoad NameLoad Assert CompareGtE NameLoad Num Return Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Return ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad Num BinOpFloorDiv NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad attr Assign NameStore BinOpMult NameLoad SubscriptLoad NameLoad ExtSlice Slice Index AttributeLoad NameLoad attr Slice Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr IfExp UnaryOpNot NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpUSub NameLoad UnaryOpUAdd NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Call NameLoad BinOpFloorDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Return ListLoad Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Slice Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareIn NameLoad TupleLoad Num Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr Call NameLoad NameLoad comprehension NameStore NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad NameLoad Assign NameStore BinOpPow BinOpSub NameLoad NameLoad Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad NameLoad Assign NameStore BinOpPow Call AttributeLoad NameLoad attr NameLoad keyword Num Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr Return ListComp TupleLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad kwarg body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword BoolOpOr NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list decorator_list
N/A N/A Controller: model -> views. N/A logging N/A numpy np phy.cluster.manual.gui_component ManualClustering phy.cluster.manual.views WaveformView TraceView FeatureView CorrelogramView select_traces extract_spikes phy.gui GUI phy.io.array _get_data_lim concat_per_cluster phy.io Context Selector phy.plot.transform _normalize phy.stats.clusters mean get_waveform_amplitude phy.utils Bunch load_master_config get_plugin EventEmitter N/A logger N/A N/A logging getLogger __name__ Controller N/A EventEmitter N/A N/A Take data out of the model and feeds it to views.

    Events
    ------

    init()
    create_gui(gui)
    add_view(gui, view)

     N/A gui_name N/A n_spikes_waveforms 100 N/A n_spikes_waveforms_lim 100 N/A n_spikes_masks 100 N/A n_spikes_features 5000 N/A n_spikes_background_features 5000 N/A n_spikes_features_lim 100 N/A n_spikes_close_clusters 100 __init__ N/A N/A self plugins config_dir N/A None None N/A N/A N/A N/A N/A super Controller self __init__ N/A N/A self config_dir config_dir N/A N/A N/A self _init_data N/A N/A N/A self _init_selector N/A N/A N/A self _init_context N/A N/A N/A self _set_manual_clustering N/A N/A self n_spikes N/A len N/A self spike_times N/A plugins N/A plugins N/A N/A config N/A load_master_config config_dir config_dir N/A c N/A N/A config get N/A N/A self gui_name N/A N/A self __class__ __name__ N/A default_plugins N/A c N/A c plugins N/A N/A N/A len default_plugins N/A N/A plugins N/A default_plugins plugins N/A plugin plugins N/A N/A N/A N/A N/A N/A get_plugin plugin attach_to_controller self N/A N/A N/A self emit init N/A _init_data N/A N/A self N/A N/A N/A N/A self cache_dir None N/A N/A self spike_times None N/A N/A self spike_clusters None N/A N/A self cluster_groups None N/A N/A self cluster_ids None N/A N/A self channel_positions None N/A N/A self n_samples_waveforms None N/A N/A self n_channels None N/A N/A self n_features_per_channel None N/A N/A self sample_rate None N/A N/A self duration None N/A N/A self all_masks None N/A N/A self all_waveforms None N/A N/A self all_features None N/A N/A self all_traces None N/A _init_selector N/A N/A self N/A N/A N/A N/A self selector N/A Selector N/A self spikes_per_cluster N/A _init_context N/A N/A self N/A N/A N/A N/A self cache_dir N/A N/A self context N/A Context N/A self cache_dir N/A ctx N/A self context N/A N/A self get_masks N/A concat_per_cluster N/A N/A ctx cache N/A self get_masks N/A N/A self get_features N/A concat_per_cluster N/A N/A ctx cache N/A self get_features N/A N/A self get_waveforms N/A concat_per_cluster N/A N/A ctx cache N/A self get_waveforms N/A N/A self get_background_features N/A N/A ctx cache N/A self get_background_features N/A N/A self get_mean_masks N/A N/A ctx memcache N/A self get_mean_masks N/A N/A self get_mean_features N/A N/A ctx memcache N/A self get_mean_features N/A N/A self get_mean_waveforms N/A N/A ctx memcache N/A self get_mean_waveforms N/A N/A self get_waveforms_amplitude N/A N/A ctx memcache N/A self get_waveforms_amplitude N/A N/A self get_waveform_lims N/A N/A ctx memcache N/A self get_waveform_lims N/A N/A self get_feature_lim N/A N/A ctx memcache N/A self get_feature_lim N/A N/A self get_close_clusters N/A N/A ctx memcache N/A self get_close_clusters N/A N/A self get_probe_depth N/A N/A ctx memcache N/A self get_probe_depth N/A N/A self spikes_per_cluster N/A N/A ctx memcache N/A self spikes_per_cluster N/A _set_manual_clustering N/A N/A self N/A N/A N/A new_cluster_id N/A N/A N/A N/A N/A self context load new_cluster_id get new_cluster_id None N/A mc N/A ManualClustering N/A self spike_clusters N/A self spikes_per_cluster best_channel N/A self get_best_channel similarity N/A self similarity cluster_groups N/A self cluster_groups new_cluster_id new_cluster_id on_cluster N/A N/A up N/A N/A N/A new_cluster_id N/A N/A N/A mc clustering new_cluster_id N/A N/A N/A logger debug Save the new cluster id: %d new_cluster_id N/A N/A N/A N/A self context save new_cluster_id N/A dict new_cluster_id new_cluster_id N/A N/A N/A mc clustering connect N/A N/A self manual_clustering mc N/A N/A N/A mc add_column N/A self get_probe_depth name depth N/A _select_spikes N/A N/A self cluster_id n_max N/A None N/A N/A N/A isinstance cluster_id int N/A N/A cluster_id 0 N/A N/A N/A N/A self selector select_spikes N/A cluster_id n_max N/A _select_data N/A N/A self cluster_id arr n_max N/A None N/A N/A spike_ids N/A N/A self _select_spikes cluster_id n_max N/A b N/A Bunch N/A N/A b data N/A arr N/A spike_ids N/A N/A b spike_ids spike_ids N/A N/A b spike_clusters N/A N/A self spike_clusters N/A spike_ids N/A N/A b masks N/A N/A self all_masks N/A spike_ids N/A b N/A _data_lim N/A N/A self arr n_max N/A None N/A N/A N/A _get_data_lim arr n_spikes n_max N/A get_masks N/A N/A self cluster_id N/A N/A N/A N/A N/A self _select_data cluster_id N/A self all_masks N/A self n_spikes_masks N/A get_mean_masks N/A N/A self cluster_id N/A N/A N/A N/A mean N/A N/A N/A self get_masks cluster_id data N/A get_waveforms N/A N/A self cluster_id N/A N/A N/A data N/A N/A self _select_data cluster_id N/A self all_waveforms N/A self n_spikes_waveforms N/A N/A m M N/A N/A self get_waveform_lims N/A N/A data data N/A _normalize N/A data data m M N/A N/A data N/A get_mean_waveforms N/A N/A self cluster_id N/A N/A N/A N/A mean N/A N/A N/A N/A self get_waveforms cluster_id N/A 0 data N/A get_waveform_lims N/A N/A self N/A N/A N/A n_spikes N/A self n_spikes_waveforms_lim N/A arr N/A self all_waveforms N/A n N/A N/A arr shape N/A 0 N/A k N/A max 1 N/A n n_spikes N/A arr N/A arr N/A k N/A masks N/A N/A N/A N/A self all_masks N/A k copy N/A arr N/A arr N/A masks N/A N/A N/A N/A np newaxis N/A N/A m N/A N/A np percentile arr 0.05 N/A M N/A N/A np percentile arr 99.95 N/A N/A m M N/A get_waveforms_amplitude N/A N/A self cluster_id N/A N/A N/A mm N/A N/A self get_mean_masks cluster_id N/A mw N/A N/A self get_mean_waveforms cluster_id N/A N/A N/A mw ndim 2 N/A N/A get_waveform_amplitude mm mw N/A get_features N/A N/A self cluster_id load_all N/A False N/A N/A data N/A N/A self _select_data cluster_id N/A self all_features N/A N/A load_all N/A self n_spikes_features None N/A m N/A N/A self get_feature_lim N/A N/A data data N/A _normalize N/A N/A N/A data data copy N/A m N/A m N/A data N/A get_background_features N/A N/A self N/A N/A N/A k N/A max 1 N/A int N/A N/A self n_spikes N/A self n_spikes_background_features N/A spike_ids N/A slice None None k N/A b N/A Bunch N/A N/A b data N/A N/A self all_features N/A spike_ids N/A N/A b spike_ids spike_ids N/A N/A b spike_clusters N/A N/A self spike_clusters N/A spike_ids N/A N/A b masks N/A N/A self all_masks N/A spike_ids N/A b N/A get_mean_features N/A N/A self cluster_id N/A N/A N/A N/A mean N/A N/A N/A self get_features cluster_id data N/A get_feature_lim N/A N/A self N/A N/A N/A N/A N/A self _data_lim N/A self all_features N/A self n_spikes_features_lim N/A get_traces N/A N/A self interval N/A N/A N/A tr N/A select_traces N/A self all_traces interval sample_rate N/A self sample_rate N/A N/A N/A Bunch traces tr N/A get_spikes_traces N/A N/A self interval traces N/A N/A N/A traces N/A N/A traces N/A 0 traces N/A b N/A extract_spikes traces interval sample_rate N/A self sample_rate spike_times N/A self spike_times spike_clusters N/A self spike_clusters cluster_groups N/A self cluster_groups all_masks N/A self all_masks n_samples_waveforms N/A self n_samples_waveforms N/A b N/A get_best_channel N/A N/A self cluster_id N/A N/A N/A wa N/A N/A self get_waveforms_amplitude cluster_id N/A N/A int N/A N/A wa argmax N/A get_best_channels N/A N/A self cluster_ids N/A N/A N/A channels N/A N/A N/A self get_best_channel cluster_id N/A cluster_id cluster_ids N/A N/A list N/A set channels N/A get_channels_by_amplitude N/A N/A self cluster_ids N/A N/A N/A wa N/A N/A self get_waveforms_amplitude N/A cluster_ids N/A 0 N/A N/A N/A N/A N/A N/A np argsort wa N/A -1 tolist N/A get_best_channel_position N/A N/A self cluster_id N/A N/A N/A cha N/A N/A self get_best_channel cluster_id N/A N/A tuple N/A N/A self channel_positions N/A cha N/A get_probe_depth N/A N/A self cluster_id N/A N/A N/A N/A N/A N/A self get_best_channel_position cluster_id N/A 1 N/A get_close_clusters N/A N/A self cluster_id N/A N/A N/A N/A isinstance cluster_id int N/A pos0 N/A N/A self get_best_channel_position cluster_id N/A n N/A len pos0 N/A N/A n N/A 2 3 N/A clusters N/A self cluster_ids N/A pos N/A N/A np vstack N/A N/A N/A self get_best_channel_position N/A int clu N/A clu clusters N/A N/A N/A pos shape N/A N/A len clusters n N/A dist N/A N/A pos pos0 2 N/A N/A N/A dist shape N/A N/A len clusters n N/A dist N/A N/A N/A np sum dist axis 1 0.5 N/A N/A N/A dist shape N/A N/A len clusters N/A ind N/A N/A np argsort dist N/A ind N/A ind N/A N/A self n_spikes_close_clusters N/A N/A N/A N/A int N/A clusters N/A i N/A float N/A dist N/A i N/A i ind N/A spikes_per_cluster N/A N/A self cluster_id N/A N/A N/A N/A N/A N/A np nonzero N/A N/A self spike_clusters cluster_id N/A 0 N/A _add_view N/A N/A self gui view N/A N/A N/A N/A N/A view attach gui N/A N/A N/A self emit add_view gui view N/A view N/A add_waveform_view N/A N/A self gui N/A N/A N/A v N/A WaveformView waveforms N/A self get_waveforms channel_positions N/A self channel_positions best_channels N/A self get_best_channels N/A N/A N/A self _add_view gui v N/A add_trace_view N/A N/A self gui N/A N/A N/A v N/A TraceView traces N/A self get_traces spikes N/A self get_spikes_traces sample_rate N/A self sample_rate duration N/A self duration n_channels N/A self n_channels N/A N/A N/A self _add_view gui v N/A add_feature_view N/A N/A self gui N/A N/A N/A v N/A FeatureView features N/A self get_features background_features N/A N/A self get_background_features spike_times N/A self spike_times n_channels N/A self n_channels n_features_per_channel N/A self n_features_per_channel feature_lim N/A N/A self get_feature_lim best_channels N/A self get_channels_by_amplitude N/A N/A N/A self _add_view gui v N/A add_correlogram_view N/A N/A self gui N/A N/A N/A v N/A CorrelogramView spike_times N/A self spike_times spike_clusters N/A self spike_clusters sample_rate N/A self sample_rate N/A N/A N/A self _add_view gui v N/A similarity N/A N/A self cluster_id N/A N/A N/A N/A N/A self get_close_clusters cluster_id N/A create_gui N/A N/A self name subtitle config_dir add_default_views N/A None None None True kwargs N/A N/A Create a manual clustering GUI. N/A config_dir N/A config_dir N/A self config_dir N/A gui N/A GUI name N/A name N/A self gui_name subtitle subtitle config_dir config_dir kwargs N/A N/A gui controller self N/A N/A N/A N/A self manual_clustering attach gui N/A add_default_views N/A N/A N/A N/A self add_correlogram_view gui N/A N/A N/A self all_features None N/A N/A N/A N/A self add_feature_view gui N/A N/A N/A self all_waveforms None N/A N/A N/A N/A self add_waveform_view gui N/A N/A N/A self all_traces None N/A N/A N/A N/A self add_trace_view gui N/A N/A N/A self emit create_gui gui N/A gui N/A N/A