OK, this seems to be new. So far I haven't seen a successful attempt for this. Could you please share a bit more details? What did you ask it to do and what was the output? I think in general AI understands C code well, which is reasonably close to Igor code, but it lacks in the details. I wonder if this can be overcome with the limited exposure available.
I asked CGPT to write an Igor Pro snippet to round an integer to the nearest even integer, and it wrote it perfectly. Seemed to know about Igor Pro programming and saved me 5 minutes!
OK, so now I asked Perplexity.ai to write Igor Pro code to simulate N particles in a 2D space subject to a central force, using periodic boundary conditions and viscous drag so that the velocity is proportional to the net (non-drag) force. It wrote a 112-line code that appears to work perfectly. It seems work by finding some relevant Python code and then effectively translating it into Igor Pro. I did have to give it one more hint to make the code compile, but then it worked.
OK, this seems to be new. So far I haven't seen a successful attempt for this. Could you please share a bit more details? What did you ask it to do and what was the output? I think in general AI understands C code well, which is reasonably close to Igor code, but it lacks in the details. I wonder if this can be overcome with the limited exposure available.
February 2, 2025 at 11:03 pm - Permalink
I asked CGPT to write an Igor Pro snippet to round an integer to the nearest even integer, and it wrote it perfectly. Seemed to know about Igor Pro programming and saved me 5 minutes!
February 28, 2025 at 06:26 pm - Permalink
OK, so now I asked Perplexity.ai to write Igor Pro code to simulate N particles in a 2D space subject to a central force, using periodic boundary conditions and viscous drag so that the velocity is proportional to the net (non-drag) force. It wrote a 112-line code that appears to work perfectly. It seems work by finding some relevant Python code and then effectively translating it into Igor Pro. I did have to give it one more hint to make the code compile, but then it worked.
March 10, 2025 at 05:58 pm - Permalink