我試圖將.gda文件讀入IDL以進行繪圖。我對格式不熟悉,我的研究表明它是一個未格式化的二進制數據文件類型。不管怎樣,下面是我在做什麼: pro omidi_contour
openr, 1, 'data.gda'
a = fltarr(128,128,128)
readu, 1, a
close, 1
end
然而,當我看到在IDL的左側面板中的變量定義,它表明是「未定義」。當我嘗
我想完全按照Jim Lewis在下面的帖子中的解釋(請參閱鏈接)解釋每個文件包含不同的文件樣本數量。 Jim表示這可以使用PTR_NEW完成。答案中顯示瞭如何在循環中使用PTR_NEW的任何想法? 感謝, 的Catia How to declare variables in for loop? (IDL)
我正在尋找等效於IDL#操作員的Python numpy。 這裏是# operator做什麼: Computes array elements by multiplying the columns of the first array by the rows of the second array. The second array must have the same number of col