dotTHzTAG / CaTx

Cambridge Terahertz Converter
MIT License
1 stars 1 forks source link

Python and Rust support #1

Open hacknus opened 1 year ago

hacknus commented 1 year ago

Hi there, I came along this project at the IRMMWTHz in Montréal. My name is Linus and I'm a PhD student working with THz TDS at the University of Bern in Switzerland. I was wondering what the status is on the python support for this? I'd be happy to help out/contribute. Best, Linus

CamTHz commented 1 year ago

Hi Linus, thanks for getting in touch and for stopping by at the poster. Python support is definitely high on the list for us to add in future.

The Adelaide group has offered to look into coming up with a Python version of CaTx to convert raw data into the .thz format and our colleagues in Leeds are exploring whether they might even be able to contribute a LabView VI for saving raw data directly into the .thz format.

We will also try and provide a few simple scripts that can be used as a starting point to read data from the .thz files in Python. It should be really straightforward though and maybe you could experiment with it following the steps outlined e.g. here. If you are keen to give it a go it would be brilliant if you could share some sample scripts on our repository to help others on their way.

Axel

hacknus commented 2 weeks ago

Sorry for the long wait... I'm planning on creating a python and rust library. Let me know if I should keep the repository separate or if it could also be integrated in this GitHub repo here?

Rust crate will be called dotthz-rs and the the Python library probably pydotThz? (open for inputs for the naming convention)

hacknus commented 1 week ago

pydotthz and dotthz-rs are ready to use. If you want, we can migrate them into this project, let me know.