Re: Proposal for a new feature: import data wizard

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 12 May 2008 18:25:19 +0200


Antonio,

Note that you can specify the branch descriptor   -either as the first line of the ascii file   -or as the second argument of TTeee::ReadFile see: http://root.cern.ch/root/html/TTree.html#TTree:ReadFile

of course one could provide a GUI for this, but a simple string has the advantage that you apply it
to more than one input file.

Rene Brun

Antonio Bulgheroni wrote:
> More or less, but I think I don't need all the features of a spreadsheet.
>
> I just would like to have a sort of display able to show me how the
> data are organized, the possibility to choose the variable name to
> assign to each column and nothing else.
>
> Just as an example, you can see the import data wizard of matlab (if
> you have it).
>
> Thanks!
>
> Best regards,
>
> Antonio
>
> On Mon, May 12, 2008 at 5:52 PM, Fine, Valeri <fine_at_bnl.gov
> <mailto:fine_at_bnl.gov>> wrote:
>
> I the other words you want for "SpreadSheet" –like (for example,
> eXcel) interface ?
>
>
>
>
>
> Best Regards
>
> Valeri Fine
>
> ---------------
>
> Brookhaven National Laboratory
>
> Upton, NY 11973, USA
>
> Phone: +1 631 344 7806
>
> Fax: +1 631 344 4206
>
> E-mail: fine_at_bnl.gov <mailto:fine_at_bnl.gov>
>
> -----Original Message-----
> *From:* owner-roottalk_at_root.cern.ch
> <mailto:owner-roottalk_at_root.cern.ch>
> [mailto:owner-roottalk_at_root.cern.ch
> <mailto:owner-roottalk_at_root.cern.ch>] *On Behalf Of *Antonio
> Bulgheroni
> *Sent:* Monday, May 12, 2008 4:35 AM
> *To:* ROOT Talk
> *Subject:* [ROOT] Proposal for a new feature: import data wizard
>
>
>
> Dear all,
>
> I would like to draw your attention to a new feature I'd like
> to have. In the everyday life, we often have experimental results
> in the form of an ASCII file with data in columns. To put these
> data into a ROOT tree is enough to write myTree->ReadFile(...) but
> this requires to remember by heart the data structure of the file.
> I think that having a graphical import data wizard, showing the
> data structure of the ASCII file and allowing the user to select
> the name and the type for each column would help a lot.
>
> What do you think?
>
>
> Thanks for helping,
>
> Antonio
>
> --
> Antonio Bulgheroni, PhD
> http://unico-lab.blogspot.com
>
> Computers have a lot in common with air conditioners:
> Once you open WINDOWS, they stop working properly.
>
>
>
>
> --
> Antonio Bulgheroni, PhD
> http://unico-lab.blogspot.com
>
> Computers have a lot in common with air conditioners:
> Once you open WINDOWS, they stop working properly.
Received on Mon May 12 2008 - 18:25:28 CEST

This archive was generated by hypermail 2.2.0 : Mon May 12 2008 - 23:50:01 CEST