[Kalzium] XML-Format for (chemical) spectra

Carsten Niehaus cniehaus at gmx.de
Sat Oct 8 12:13:15 CEST 2005


Moin moin

In Kalzium we have data for spectra (emmission and absorbtion). I invented the 
format and as I don't know that much about XML I am confident that you have 
some good ideas. I am currently writing a XML-reader/writer for those spectra 
so that several KDE-apps can make use of that XML (Kalzium, the new 
SpectrumManager, perhaps KStars). This reader/writer will be in libkdeedu for 
starters.
As I want to merge Kalziums data with BO it would be smart to define a good 
common format now :-)

This is the current format:

<spectra>
            <spectrum intensity="50" wavelength="949.7430" aki="0.34375" 
energy1="0.0000" energy2="105291.6443" electronconfig1="1s" 
electronconfig2="5p" term1="2S" term2="2P&deg;" J1="1/2" J2="1/2.3/2" />
</spectra>

The 2P&deg; means
  
  2P°

&deg; is defined as ° somewhere in Kalzium.

If possible a quick answer would be nice so that I can continue my work ;-)

Carsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kalzium/attachments/20051008/694eabc2/attachment.pgp


More information about the Kalzium mailing list