NMGRL / pychron

Data acquisition and processing framework for Ar-Ar geochronology and noble gas mass spectrometry
http://pychron.readthedocs.org/en/latest/
Apache License 2.0
26 stars 26 forks source link

Tabular Data View #661

Closed jirhiker closed 8 years ago

jirhiker commented 8 years ago

Add ability to display data from a figure in tabular form. Two mechanisms should be implemented

  1. TabularViewAction - add a toolbar action to trigger a tabular editor (tab)
  2. PlotterOptions - add a toggle in the PlotterOptions to automatically open a tabular editor.

Things to consider. Should the tabular view be configurable, i.e. user can select which columns are displayed? Should the columns be based on which Auxiliary Plots are displayed?

There is also already a TableNode. should this remain?

jirhiker commented 8 years ago

Added Tabular View action to Pipeline Task toolbar

Feedback request from @wcmcintosh @mjz1983 on how to move forward.

Known issues.

  1. no link between the figure and the table
  2. only works for ideogram (Spectrum readily added but waiting for feedback)
  3. name of the tab should be improved. Currently named based on the sample, Labnumber based naming likely preferable.
  4. Column widths not optimized
jirhiker commented 8 years ago
  1. Make InterpretedAge node. Use this node to select a set of interpreted ages. At first its for making summary tables, but eventually could be used for make summary ideograms. Need to modify browser so that instead of Analyses in the RH column it displays a list of interpreted ages. Will need ability to name interpreted ages.
  2. Make SummaryTable node. Configuration for node includes, list of column traits, save format, save location, name/autogenerate name
Column(HasTraits):
    display = Bool
    sigfigs = Int

need some mechanism to make the columns reorderable. Can this be done with a TableEditor or does it have to be a TabularEditor. TabularEditor can reorder but can't have checkboxes.

  1. Make SaveSummaryTable node. simply saves the tableeditor to file. table fileformat defined in SummaryTableNode
jirhiker commented 8 years ago

Remove the Table Editor from Analysis Table pipeline, just export the file for now. The large number of columns is making the GUI unresponsive

jirhiker commented 8 years ago

For testing, open the editor, just don't display the analysis table. This fits much better with the current work flow.