cmars / pystdf

Python module for working with STDF files
GNU General Public License v2.0
150 stars 84 forks source link

use pystdf script to convert stdf to excel #54

Open katecchahaha opened 5 months ago

katecchahaha commented 5 months ago

hi i've installed pystdf on my anaconda; i'd like to convert my stdf file to csv or excel format and i saw there's 'stdf2excel.py' under scripts directory. may i ask if there's any where i can find example about how to use stdf2excel.py? or if can teach me how to use it? thank you very much

xenomorphxx131 commented 5 months ago

I wrote another wrapper layer for pystdf which is over in our PyICe repo. PyICe is a Python stack that can be used to evaluate IC's and interact with test equipment at the same time. The wrapper seems to work for Eagle Tests Systems stdf files but it doesn't work with all systems, even if they are fully stdf compliant. I haven't had a chance to fix it.

Nevertheless it may work for you. It won't just do the conversion you are looking for but it is fairly well documented and you may be able to code up what you want with 10 or 20 lines of Python.

See the wrapper here: https://github.com/PyICe-ADI/PyICe/blob/main/PyICe/data_utils/stdf_utils.py

katecchahaha commented 5 months ago

I wrote another wrapper layer for pystdf which is over in our PyICe repo. PyICe is a Python stack that can be used to evaluate IC's and interact with test equipment at the same time. The wrapper seems to work for Eagle Tests Systems stdf files but it doesn't work with all systems, even if they are fully stdf compliant. I haven't had a chance to fix it.

Nevertheless it may work for you. It won't just do the conversion you are looking for but it is fairly well documented and you may be able to code up what you want with 10 or 20 lines of Python.

See the wrapper here: https://github.com/PyICe-ADI/PyICe/blob/main/PyICe/data_utils/stdf_utils.py

Thank you very much! i will definitely try this :)