colour-science / colour

Colour Science for Python
https://www.colour-science.org
BSD 3-Clause "New" or "Revised" License
2.08k stars 259 forks source link

Implement support for "JCAMP-DX" and "CxF" xml file formats. #259

Open Ron024 opened 8 years ago

Ron024 commented 8 years ago

Add support for JCAMP-DX and CxF XML imports.

KelSolaar commented 8 years ago

Hi @Ron024, any more details / specs on those file formats?

Ron024 commented 8 years ago

Yes, I have been working on adding JCAMP support and was going take a stab at the CxF format.

KelSolaar commented 8 years ago

Great thanks!

KelSolaar commented 8 years ago

References

Ampersandme commented 6 years ago

Hi, I was curious to where this had got to? As I have a interest, currently trying import and parse .mif , .cxf , .qtx , .jb5 file formats to use with the Colour package. My current version of xrite iQC supports exports in these formats unless there is a trick to convert to .txt that I do not know. Apologies if it's a bit noob, still learning. Cheers.

KelSolaar commented 6 years ago

Hi @Ampersandme,

I haven't work on this at all not sure if @Ron024 did any progress on that either.

Cheers,

Thomas

Ron024 commented 6 years ago

I have some jcamp implementation using another library. Since there is intrest in this feature I will work on adding CxF support.

Ron024 commented 6 years ago

@Ampersandme if you copy the measurement to the clipboard by right clicking on left hand side where they are all displayed and picking copy sample to clipboard. You can then paste it into excel and format it to use the CSV import pretty easily.

Ampersandme commented 6 years ago

@Ron024 Hi! Thank you, yeah I have interest in this feature but that interest is not specific to the format .exp more so in extracting more of the raw information from the .ejob itself when read as a .txt file or .csv . The formats I listed seem to pull relevant information out of the ejob for an intended purpose i.e. imaging software. Currently for my purposes the average that went into the initial measurement is of interest, if specifically that information can be extracted or was retained.

That CSV import method sounds great! I will most certainly use it in the future, as I acquaint myself with Colour further. I will happily also offer a solution too if I find one.