Page 1 of 1

Convert LIR to RAW format

Posted: Mon Sep 12, 2022 4:51 pm
by marcvivet
How can I convert from LIR format to Raw format?

I have this problem since the application only allows you to export the LIR values into a library ... (to avoid copy and paste for each command) so I can automatize the process for make the code more generic.

Re: Convert LIR to RAW format

Posted: Mon Sep 12, 2022 6:29 pm
by AnalysIR
Hi
If you had a copy of AnalysIR, you could do this in bulk.

Other wise the main option would be to use The LearnIR app as you know.

I could email you a python script that will convert from LIR to RAW. You can easily adjust this, if you know a little Python.

I guess you could also port it to C if inclined.

Let me know.

Re: Convert LIR to RAW format

Posted: Mon Sep 12, 2022 8:12 pm
by marcvivet
The python script would be fantastic!

Re: Convert LIR to RAW format

Posted: Tue Sep 13, 2022 2:00 pm
by AnalysIR
OK - will send you an email shortly.

Re: Convert LIR to RAW format

Posted: Tue Sep 13, 2022 2:23 pm
by marcvivet
Thanks!!

Re: Convert LIR to RAW format

Posted: Wed Mar 22, 2023 9:02 am
by ekchatzi
Can I also get the script, please?

A short description of the format would be sufficient also

Re: Convert LIR to RAW format

Posted: Wed Mar 22, 2023 2:13 pm
by AnalysIR
Sure, I will email it to you. The format is described in the LearnIR user guide (via the help menu).

Re: Convert LIR to RAW format

Posted: Wed Mar 22, 2023 2:22 pm
by AnalysIR
We have just published it on Github:

https://github.com/AnalysIR/LIR2RAW