Hi,
I looked at the astro_root code (again .
All the FITS format reading/writing "magick" is
done with CFITSIO library:
http://heasarc.gsfc.nasa.gov/docs/software/fitsio/f
itsio.html
I will add (after the coming pro-release) support of the
FITS image format
by using the ROOT plug-in mechanism.
Just few words for Andy (against his ROOT "Monolithic
design" criticism) about
ROOT "plug-in mechanism" (http://root.cern.ch/root/htmldoc//TPluginManager.html).
It's based on the power of CINT and allows to
"plug" external modules at runtime.
The activation of plug-in module is done via modification of
a single line
in ROOT resource file.
There are many examples of its usage inside ROOT:
- ROOT SQL database drivers.
- ROOT PostScript driver.
- Qt low level graphics interface (probably the most
sophisticated example).
- ROOT canvas graphical editors (TGedXXX classes).
- ROOT GuiBuilder.
- from the very recent examples - FFT module
- ... etc.
Concerning reading/writing images in different file formats,
look at
ht
tp://root.cern.ch/root/htmldoc/TImagePlugin.html, which
is used
to plug "image driver" for reading/writing file
in "some image format".
It's used, for example, to display PostScript and PDF files
in ROOT TCanvas.
Regards. Valeriy
-----Original Message-----
From: Leif Hendrik Wilden [mailto:wilden slac.stanford.edu]
Sent: Mon 7/3/2006 8:04 PM
To: Valeri Onuchin
Cc: andy.buckley durham.ac.uk; roottalk (Mailing list
discussing all aspects of the ROOT system)
Subject: Re: [ROOT] Re: Wikipedia criticism about root
Hi,
Valeri Onuchin wrote:
> Do we really urgently need to support FITS format?
> as far as I know FITS format is an image format used by
astronomical community
> for data interchange and archival storage. It is not
used in HEP (correct me).
> If ROOT users request for FITS format support we will
provide it asap.
The LSST community is also using the FITS format as its
standard image
data format. Quite a few former HEP people are now working
with LSST.
Having native support for the fits file format in ROOT would
help the
adoption of ROOT in the astrophysics community and in LSST.
Cheers,
- Leif.
>
> Regards. Valeriy
>
>
> -----Original Message-----
> From: owner-roottalk pcroot.cern.ch on behalf of
Andy Buckley
> Sent: Wed 6/28/2006 8:02 PM
> To: roottalk (Mailing list discussing all aspects of
the ROOT system)
> Subject: Re: [ROOT] Re: Wikipedia criticism about root
>
> Fine, Valeri wrote:
>
>>Hello Andy,
>>
>>Would you mind to introduce yourself?
>
>
> I'm a HEP researcher at the IPPP phenomenology group
in Durham, UK.
> Previously I was a PhD student in the Cambridge, UK
LHCb group. Nowadays
> most of my work is on MC generator interfacing, tuning
etc. (CEDAR,
> Rivet, HepML, ...) and HepData.
>
>
>>Does your statement
>>
>>
>>>Please CC me on any ROOTtalk discussion about
this: I'm not a
>>>subscriber.
>>
>>indicates that you are not aware about the current
status of ROOT and
>>the ROOT progress?
>
>
> No, I just don't use ROOT any more and so don't have
any need to read
> what's on this list. I've temporarily re-subscribed
for this discussion.
>
> Other than what I saw presented at PhyStat05, CHEP06
and generally being
> in touch with people who use(d) ROOT, I'm not actively
tracking ROOT's
> development. I'm happy to be corrected and would be
over the moon to
> hear if issues I've raised have been fixed.
>
>
>>Before starting any discussion, it would be nice to
know where your
>>information about ROOT coming from.
>>It may have spared us a lot of talking hours.
>>
>>Are you an active ROOT user / developer for example
?
>
>
> I *was* an active user and made a couple of very minor
development
> contributions (a bug fix in hadd, maybe something
else). Nowadays I just
> keep as up to date as possible through indirect
channels. As far as I
> can see, though, my criticisms are still valid.
>
> Andy
>
>
>
|