From: Kai R. <kr...@ce...> - 2004-10-13 07:20:45
|
Dear Linus, the data element in the current version of mzData (1.04) contains two=20 attributes: precision and endian. The documentation to <mzArrayBinary>=20 and <intenArrayBinary> in the XML Schema says: "The array is stored as a base64 encoded binary. The only type allowed=20 is IEEE-754 floating point; the precision must be specified as either=20 32- or 64-bit; endianess must also be specified." This documentation can be browsed in the generated documentation at: http://psidev.sourceforge.net/ms/xml/mzdata/mzdata.html Behind, for example, the element mzArrayBinary is a small questionmark=20 on a yellow background. A click on this questionmark opens a little=20 window that contains additional documentation to this element. These=20 popups are generated from the xs:annotation/xs:documentation elements in=20 the XML schema. But no worries, I also missed these questionmarks the first couple of=20 times looking the documentation... Cheers Kai Linus G=F6ransson wrote: > Hi all, > I am working on coverting mass spectrum data into the mzData format, an= d > have some problems understanding the way intensity and mass values are > stored. According to the mzData schema, these two arrays should be stor= ed > as base64binary elements. Correct me if I am wrong here, but wouldn't t= hat > make the data incompatible between different systems? I am working in > Java, and if I encode my arrays into base64binary format they will make > sense only to me. To conlude: Is there some definition in mzData on how= an > array of floats should be transformed into base64binary format? >=20 > cheers, > Linus G=F6ransson >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJourna= l > Use IT products in your business? Tell us what you think of them. Give = us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Psidev-ms-dev mailing list > Psi...@li... > https://lists.sourceforge.net/lists/listinfo/psidev-ms-dev >=20 --=20 Real cats don't need names. But they often get called them. "Yaargeroffoutofityarbastard" does nicely. Terry Pratchett - The Unadulterated Cat ********************************************************************* * email: kr...@ce... * * Universit=E4t Bielefeld * CeBiTec * 33594 Bielefeld * Germany ********************************************************************* |