我正在编写一个DigitalMicrograph脚本来获取从ADF探测器等获得的散射电子强度的映射数据,在各种入射束流条件下由手工脚本控制。但是,不幸的是,我不知道在非STEM模式下(由DigiScan控制)获得STEM检测器信号的命令。在这种情况下,我应该使用什么命令?
如果你能分享一些智慧,我们会很感激的。先谢谢你。。
发布于 2016-02-23 07:40:46
由于STEM检测器信号是由DigiScan单元处理的,因此无法独立地读取检测器的“信号”。
另外:您不能在时间上以“流”的形式接收信号,而是通过DigiScan来计时。也就是说,你必须用DigiScan开始一个获取,并且不能只“听”检测器而不需要一个。
然而,DigiScan的收购并不与处于STEM模式有关。当处于透射电镜模式时,您可以启动DigiScan获取。你可以选择这样的参数,获取‘图像’只是在很小的范围内扫描光束,这样光束就会变成准平稳的。也许这能帮到你?
这里有一个例子说明了我的意思:然而,我还没有在硬件上测试过这一点:
// Create "Scan" parameters for an overview
// This image will stay as survey. Its content is not important
// as you're in TEM mode, but we need it as reference
number paramID
number width = 1024 // pixel
number height = 1024 // pixel
number rotation = 0 // degree
number pixelTime= 2 // microseconds
number lSynch = 0 // no-linesync
paramID = DSCreateParameters( width, height, rotation, pixelTime, lSynch )
number signalIndex, dataDepth, selected, imageID
signalIndex = 0 // HAADF (most likely) ?
dataDepth = 4 // 4 byte data
selected = 1 // acquire this signal
imageID = 0 // create new image
DSSetParametersSignal( paramID, signalIndex, dataDepth, selected, imageID )
number continuous = 0 // 0 = single frame, 1 = continuous
number synchronous = 1 // 0 = return immediately, 1 = return when finished
// Capture the "survey" image
DSStartAcquisition( paramID, continuous, synchronous )
image survey := DSGetLastAcquiredImage( signalIndex )
survey.SetName("Survey")
if ( !DSIsValidDSImage( survey ) ) Throw( "Something wrong..")
DSDeleteParameters( paramID ) // remove parameters from memory
// Now we create a "subscan" image for a quasi-stationary beam...
// The size has a minimum size (16x16?) but as we keep the beam
// "stationary" this will rather define your "time-resolution" of
// data. Scan 'speed' is taken from our reference...
number sizeX = 1024
number sizeY = 1024
image Static := IntegerImage( "Static", dataDepth, 0, sizeX, sizeY )
Static.ShowImage()
// defeine "ROI" on the survey. Just the center pixel!
number t,l,b,r
t = height/2
l = width/2
b = t + 1
r = l + 1
DSScanSubRegion( survey, Static, t, l, b, r )
https://stackoverflow.com/questions/35570450
复制相似问题