DM Script to import a 2D image in text (CSV) format
问题 Using the built-in "Import Data..." functionality we can import a properly formatted text file (like CSV and/or tab-delimited) as an image. It is rather straight forward to write a script to do so. However, my scripting approach is not efficient - which requires me to loop through each raw (use the "StreamReadTextLine" function) so it takes a while to get a 512x512 image imported. Is there a better way or an "undocumented" script function that I can tap in? 回答1: DigitalMicrograph offers an