在连续图像采集期间,是否有 DM 脚本命令控制 STEM 图像光栅旋转?

Is there a DM script command controlling the STEM image raster rotation during continuous image acquisitions?

提问人:kachigusa 提问时间:11/1/2023 更新时间:11/3/2023 访问量:27

问:

我想编写一个 DM 脚本,用于使用 DigiScan 连续采集 STEM 图像,同时将单个 STEM 图像的光栅旋转角度改变,例如,每帧改变 10 度。

我目前正在编写一个 DM 脚本,如下所示:

Number paramID

Number width     = 512 // pixels
Number height    = 512 // pixels
Number rotation  = 0   // degrees
Number pixelTime = 3.2 // microseconds
Number lSynch = 0

paramID = DSCreateParameters( width, height, rotation, pixelTime, lSynch )

Number signalIndex = 0
Number dataDepth = 4 // bytes
Number selected = 1
Number dataDepth

Image dsImage
Number imageID

dsImage := IntegerImage( DSGetSignalName( signalIndex ), dataDepth, 0, width, height )
dsImage.ShowImage( )
imageID = dsImage.GetImageID( )

DSSetParametersSignal( paramID, signalIndex, dataDepth, selected, imageID )

Number continuous = 0
Number synchronous = 1 - continuous
Number nFrame = 10

while( iFrame < nFrame ){
    DSStartAcquisition( paramID, continuous, synchronous )
    DSwaitUntilFinished( )

    // How to rotate STEM images here?
}

dsImage.DeleteImage( )
DSDeleteParameters( paramID )

但是,我不确定如何修改脚本以在连续成像期间完成每次帧采集后将光栅旋转角度增加 10 度。

我知道控制光栅旋转角度的命令,但我不确定是否有办法在连续采集期间更改角度。

如果有人在这方面有任何知识,我将不胜感激。

硬件 DM-script

评论


答:

0赞 BmyGuest 11/3/2023 #1

没有。旋转更改(也通过UI)会启动DigiScan的新扫描。