From: Eduardo M. <mog...@gm...> - 2006-10-22 17:37:41
|
so, here is a small example of the eaSDIF library in Python. This module reads many different types of sdif files and returns them in a way that makes sense. Also implemented is a parser to convert between 1TRC, RBEP (Loris) and the binary format from ATS (I don't include this yet, needs some testing). To be able to make the interaction more tight I would really appreciate having access to Pm2 for Linux since i'm now doing all the work there I also attach a revised version of the wrapper eaSDIF.py with most of the documentation in it, so you can use python's clever pydoc. I have only one question. I don't get to see any function to access all the data in a Row at the same time, so a have to read element by element. this is not very effective. But there are actually many functions that are not totally usable in Python because of many pointer issues where there is no type conversion implemented. That might be the reason. for instance. in the documentation of eaSDIF there seems to be a function GetRow which is not wrapped. cheers, Eduardo |