I have a complex 2D numpy array and I would like to save it as a tiff file to import it into IDL.
What would be the best way to do this?
Thanks!
I have a complex 2D numpy array and I would like to save it as a tiff file to import it into IDL.
What would be the best way to do this?
Thanks!
May be it is interesintg for you to save directly a .sav file (IDL format) from numpy using the package pIDLy (https://github.com/anthonyjsmith/pIDLy).
For me, it works like that:
#starting IDL
idl = pidly.IDL()
#save the file with the save method of idle
idl.pro('save',variable,FILENAME=name_file)
#clossing IDL session
idl.close()