def default_traits_view(self): return View( Item('name', editor=TextEditor(auto_set=False)), Item('channel', editor=EnumEditor(name='context.previous.channels'), label="Channel"), Item('scale'), VGroup(Item('num_components', editor=TextEditor(auto_set=False), label="Num\nComponents"), Item('sigma', editor=TextEditor(auto_set=False)), Item('by', editor=CheckListEditor( cols=2, name='context.previous.conditions_names'), label='Group\nEstimates\nBy', style='custom'), VGroup(Item('subset_dict', show_label=False, editor=SubsetEditor( conditions="context.previous.conditions")), label="Subset", show_border=False, show_labels=False), Item('context.do_estimate', editor=ButtonEditor(value=True, label="Estimate!"), show_label=False), label="Estimation parameters", show_border=False), shared_op_traits)
def default_traits_view(self): return View(Item('object.name'), Heading('THE HEXBIN PLUGIN IS BROKEN.'), Item('object.xchannel', editor=EnumEditor(name='handler.channels'), label = "X Channel"), Item('object.xscale', label = "X Scale"), Item('object.ychannel', editor=EnumEditor(name='handler.channels'), label = "Y Channel"), Item('object.yscale', label = "Y Scale"), Item('object.xfacet', editor=EnumEditor(name='handler.conditions'), label = "Horizontal\nFacet"), Item('object.yfacet', editor=EnumEditor(name='handler.conditions'), label = "Vertical\nFacet"), Item('object.huefacet', editor=EnumEditor(name='handler.conditions'), label="Color\nFacet"), Item('_'), Item('object.subset', label="Subset", editor = SubsetEditor(experiment = "handler.wi.result")), shared_view_traits)
def default_traits_view(self): return View( VGroup(Item('controls_list', editor=ListEditor(editor=InstanceEditor( view=self.control_traits_view()), style='custom', mutable=False), style='custom'), Item('handler.add_control', editor=ButtonEditor(value=True, label="Add a control")), Item('handler.remove_control', editor=ButtonEditor(value=True, label="Remove a control")), label="Controls", show_labels=False), Item('mixture_model', label="Use mixture\nmodel?"), VGroup(Item( 'subset_dict', show_label=False, editor=SubsetEditor( conditions="context.previous.conditions", metadata="context.previous.metadata", when="'experiment' not in vars() or not experiment")), label="Subset", show_border=False, show_labels=False), Item('context.do_estimate', editor=ButtonEditor(value=True, label="Estimate!"), show_label=False), shared_op_traits)
def default_traits_view(self): return View( VGroup( VGroup(Item('name', style='readonly'), Item('xchannel', label="X Channel", style='readonly'), Item('xscale', label="X Scale"), Item('ychannel', label="Y Channel", style='readonly'), Item('yscale', label="Y Scale"), Item('huefacet', editor=ExtendableEnumEditor( name='context.previous.conditions_names', extra_items={"None": ""}), label="Color\nFacet"), label="2D Range Setup View", show_border=False), VGroup(Item('subset_dict', show_label=False, editor=SubsetEditor( conditions="context.previous.conditions")), label="Subset", show_border=False, show_labels=False), Item('context.view_warning', resizable=True, visible_when='context.view_warning', editor=ColorTextEditor(foreground_color="#000000", background_color="#ffff99")), Item('context.view_error', resizable=True, visible_when='context.view_error', editor=ColorTextEditor(foreground_color="#000000", background_color="#ff9191"))))
def default_traits_view(self): return View( VGroup( VGroup(Item('name', style='readonly'), Item('channel', style='readonly'), Item('huefacet', style='readonly'), label="Binning Default Plot", show_border=False)), VGroup(Item( 'subset_dict', show_label=False, editor=SubsetEditor(conditions="context.previous.conditions")), label="Subset", show_border=False, show_labels=False), Item('context.view_warning', resizable=True, visible_when='context.view_warning', editor=ColorTextEditor(foreground_color="#000000", background_color="#ffff99")), Item('context.view_error', resizable=True, visible_when='context.view_error', editor=ColorTextEditor(foreground_color="#000000", background_color="#ff9191")))
def default_traits_view(self): return View( VGroup( VGroup( Item('name'), Item('xstatistic', editor=EnumEditor(name='context.statistics_names'), label="X Statistic"), Item('xscale', label="X Scale"), Item('ystatistic', editor=EnumEditor(name='context.statistics_names'), label="Y Statistic"), Item('yscale', label="Y Scale"), Item('variable', editor=EnumEditor(name='handler.numeric_indices')), Item('xfacet', editor=ExtendableEnumEditor(name='handler.indices', extra_items={"None": ""}), label="Horizontal\nFacet"), Item('yfacet', editor=ExtendableEnumEditor(name='handler.indices', extra_items={"None": ""}), label="Vertical\nFacet"), Item('huefacet', editor=ExtendableEnumEditor(name='handler.indices', extra_items={"None": ""}), label="Color\nFacet"), Item('huescale', label="Hue\nScale"), Item('x_error_statistic', editor=ExtendableEnumEditor( name='context.statistics_names', extra_items={"None": ("", "")}), label="X Error\nStatistic"), Item('y_error_statistic', editor=ExtendableEnumEditor( name='context.statistics_names', extra_items={"None": ("", "")}), label="Y Error\nStatistic"), label="Two-Dimensional Statistics Plot", show_border=False), VGroup(Item('subset_dict', show_label=False, editor=SubsetEditor(conditions="handler.levels")), label="Subset", show_border=False, show_labels=False), Item('context.view_warning', resizable=True, visible_when='context.view_warning', editor=ColorTextEditor(foreground_color="#000000", background_color="#ffff99")), Item('context.view_error', resizable=True, visible_when='context.view_error', editor=ColorTextEditor(foreground_color="#000000", background_color="#ff9191"))))
def default_traits_view(self): return View(Item('object.name', style = 'readonly'), Item('object.channel', style = 'readonly'), Item('object.huefacet', style = 'readonly'), Item('_'), Item('object.subset', label = "Subset", editor = SubsetEditor(experiment = 'handler.wi.previous.result')), shared_view_traits)
def default_traits_view(self): return View( Item('object.name', style="readonly"), Item('object.channel', label="Channel", style="readonly"), Item('object.scale'), Item('object.huefacet', editor=EnumEditor(name='handler.conditions'), label="Color\nFacet"), Item('_'), Item('object.subset', label="Subset", editor=SubsetEditor(experiment='handler.wi.previous.result')), shared_view_traits)
def default_traits_view(self): return View( VGroup( VGroup(Heading("WARNING: Very slow!"), Item('name'), Item('xchannel', editor=EnumEditor(name='context.channels'), label="X Channel"), Item('xscale', label="X Scale"), Item('ychannel', editor=EnumEditor(name='context.channels'), label="Y Channel"), Item('yscale', label="Y Scale"), Item('xfacet', editor=ExtendableEnumEditor( name='context.conditions_names', extra_items={"None": ""}), label="Horizontal\nFacet"), Item('yfacet', editor=ExtendableEnumEditor( name='context.conditions_names', extra_items={"None": ""}), label="Vertical\nFacet"), Item('huefacet', editor=ExtendableEnumEditor( name='context.conditions_names', extra_items={"None": ""}), label="Color\nFacet"), Item('plotfacet', editor=ExtendableEnumEditor( name='context.conditions_names', extra_items={"None": ""}), label="Tab\nFacet"), label="2D Kernel Density Estimate", show_border=False), VGroup(Item( 'subset_dict', show_label=False, editor=SubsetEditor(conditions="context.conditions")), label="Subset", show_border=False, show_labels=False), Item('context.view_warning', resizable=True, visible_when='context.view_warning', editor=ColorTextEditor(foreground_color="#000000", background_color="#ffff99")), Item('context.view_error', resizable=True, visible_when='context.view_error', editor=ColorTextEditor(foreground_color="#000000", background_color="#ff9191"))))
def default_traits_view(self): return View( VGroup( VGroup( Item('name'), Item('statistic', editor=EnumEditor(name='context.statistics_names'), label="Statistic"), Item('row_facet', editor=ExtendableEnumEditor(name='handler.indices', extra_items={"None": ""}), label="Rows"), Item('subrow_facet', editor=ExtendableEnumEditor(name='handler.indices', extra_items={"None": ""}), label="Subrows"), Item('column_facet', editor=ExtendableEnumEditor(name='handler.indices', extra_items={"None": ""}), label="Columns"), Item('subcolumn_facet', editor=ExtendableEnumEditor(name='handler.indices', extra_items={"None": ""}), label="Subcolumn"), Item('export', editor=ButtonEditor(label="Export..."), enabled_when='result is not None'), label="Table View", show_border=False), VGroup(Item('subset_dict', show_label=False, editor=SubsetEditor(conditions="handler.levels")), label="Subset", show_border=False, show_labels=False), Item('context.view_warning', resizable=True, visible_when='context.view_warning', editor=ColorTextEditor(foreground_color="#000000", background_color="#ffff99")), Item('context.view_error', resizable=True, visible_when='context.view_error', editor=ColorTextEditor(foreground_color="#000000", background_color="#ff9191"))))
def default_traits_view(self): return View( Item('object.name'), Item('object.channel', editor=EnumEditor(name='handler.channels'), label="Channel"), Item('object.scale'), Item('object.xfacet', editor=EnumEditor(name='handler.conditions'), label="Horizontal\nFacet"), Item('object.yfacet', editor=EnumEditor(name='handler.conditions'), label="Vertical\nFacet"), Item('object.huefacet', editor=EnumEditor(name='handler.conditions'), label="Color\nFacet"), Item('_'), Item('object.subset', label="Subset", editor=SubsetEditor(experiment="handler.wi.result")), shared_view_traits)
def default_traits_view(self): return View( Item('name', editor=TextEditor(auto_set=False)), Item('statistic', editor=EnumEditor(name='handler.prev_statistics'), label="Statistic"), Item('statistic_name', editor=EnumEditor(values=transform_functions.keys()), label="Function"), Item('by', editor=CheckListEditor(cols=2, name='handler.indices'), label='Group\nBy', style='custom'), VGroup(Item('subset_dict', show_label=False, editor=SubsetEditor(conditions="handler.levels")), label="Subset", show_border=False, show_labels=False), shared_op_traits)
def default_traits_view(self): return View( Item('blank_file', width=-125), Item('channels', editor=CheckListEditor(cols=2, name='context.previous.channels'), style='custom'), VGroup(Item( 'subset_dict', show_label=False, editor=SubsetEditor( conditions="context.previous.conditions", metadata="context.previous.metadata", when="'experiment' not in vars() or not experiment")), label="Subset", show_border=False, show_labels=False), Item('context.do_estimate', editor=ButtonEditor(value=True, label="Estimate!"), show_label=False), shared_op_traits)
def default_traits_view(self): return View( Item('object.name'), Item('object.channel', editor=EnumEditor(name='handler.channels'), label="Channel"), Item('object.variable', editor=EnumEditor(name='handler.conditions'), label="Variable"), Item('object.function', editor=EnumEditor(name='handler.summary_functions'), label="Summary\nFunction"), # TODO - waiting on seaborn v0.6 # Item('object.orientation') # Item('object.error_bars', # editor = EnumEditor(values = {None : "", # "data" : "Data", # "summary" : "Summary"}), # label = "Error bars?"), # Item('object.error_function', # editor = EnumEditor(name='handler.spread_functions'), # label = "Error bar\nfunction", # visible_when = 'object.error_bars is not None'), # Item('object.error_var', # editor = EnumEditor(name = 'handler.conditions'), # label = "Error bar\nVariable", # visible_when = 'object.error_bars == "summary"'), Item('object.xfacet', editor=EnumEditor(name='handler.conditions'), label="Horizontal\nFacet"), Item('object.yfacet', editor=EnumEditor(name='handler.conditions'), label="Vertical\nFacet"), Item('object.huefacet', editor=EnumEditor(name='handler.conditions'), label="Color\nFacet"), Item('_'), Item('object.subset', label="Subset", editor=SubsetEditor(experiment="handler.wi.result")), shared_view_traits)
def default_traits_view(self): return View( Item('name', editor=TextEditor(auto_set=False)), Item('channel', editor=EnumEditor(name='context.previous.channels'), label="Channel"), Item('statistic_name', editor=EnumEditor(values=summary_functions.keys()), label="Function"), Item('by', editor=CheckListEditor( cols=2, name='context.previous.conditions_names'), label='Group\nBy', style='custom'), VGroup(Item( 'subset_dict', show_label=False, editor=SubsetEditor(conditions="context.previous.conditions")), label="Subset", show_border=False, show_labels=False), shared_op_traits)
def default_traits_view(self): return View(Item("channels", editor = CheckListEditor(cols = 2, name = 'context.previous.channels'), style = 'custom'), VGroup( Item('blank_file'), label = "Autofluorescence"), VGroup( Item('bleedthrough_list', editor = ListEditor(editor = InstanceEditor(view = self.bleedthrough_traits_view()), style = 'custom', mutable = False), style = 'custom'), label = "Bleedthrough Correction", show_border = False, show_labels = False), VGroup( Item('beads_name', editor = EnumEditor(name = 'handler.beads_name_choices'), label = "Beads", width = -125), Item('beads_file'), Item('beads_unit', editor = EnumEditor(name = 'handler.beads_units')), Item('bead_peak_quantile', label = "Peak\nQuantile"), Item('bead_brightness_threshold', label = "Peak\nThreshold "), Item('bead_brightness_cutoff', label = "Peak\nCutoff"), label = "Bead Calibration", show_border = False), VGroup( Item('to_channel', editor = EnumEditor(name = 'object.channels')), Item('mixture_model', label = "Use mixture\nmodel?"), label = "Color Translation"), VGroup( Item('translation_list', editor = ListEditor(editor = InstanceEditor(view = self.translation_traits_view()), style = 'custom', mutable = False), style = 'custom'), show_labels = False), VGroup(Item('subset_dict', show_label = False, editor = SubsetEditor(conditions = "context.previous.conditions", metadata = "context.previous.metadata", when = "'experiment' not in vars() or not experiment")), label = "Subset", show_border = False, show_labels = False), Heading("WARNING: Very slow!"), Heading("Give it a few minutes..."), Item('context.do_estimate', editor = ButtonEditor(value = True, label = "Estimate!"), show_label = False), shared_op_traits)