You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
this is a rather stupid question, but I was wondering, if there is a simple way to do a step-scan with only one point?
I was not able to realize that with a simpe ascan, I always got two point.
I guess, I could use the ascan macro as a template and change it accordingly, but maybe you have a better advice?
The reason for my request is, that especially when worling with 2D detectors, I would like to write an alternative to a simple ct in order save also all meta data for an acquired image.
So instead of doing a ct and writing down the filename and all motor positons for that image in my labbook, I would like to do a onepointscan, or name it capture, which creates a full scan entry in the data file, including the snapshot, but with only one scan point, ideally with a dummy or the time as the movable.
The text was updated successfully, but these errors were encountered:
A comment regarding naming: IMHO the resulting macro's name should be more related to "ct" than to "scan" regardless of it being eventually implemented as a one-point scan. In other words: the name should reflect the function, not the implementation.
I'd suggest something like "meas/measurement", "exp/expose" or "acq/acquire" which is what happens at each point of the scan. And it could include the position/s where this measure should take place.
Hi,
I wrote a "hook" that uses the data produced by ct and calls pyplot. It is a customized code for my situation.
I'll be happy to share a snippet if you are interested.Here is a result:
An alternative could be to have ct write to Recorder(s) a "ct_record". The show_scan GUI could pick it up and show it.
Due to the potential amount of data I would propose to encode this with a more interesting codec like msgpack + msgpack_numpy instead of json
As discussed in #1501 we will go for allowing the ascanct and timescan to acquire one point less. So, timescan 1 0.1 would acquire just one point over 0.1 s. I think this is what @dschick asks for?
this is a rather stupid question, but I was wondering, if there is a simple way to do a step-scan with only one point?
I was not able to realize that with a simpe
ascan
, I always got two point.I guess, I could use the
ascan
macro as a template and change it accordingly, but maybe you have a better advice?The reason for my request is, that especially when worling with 2D detectors, I would like to write an alternative to a simple
ct
in order save also all meta data for an acquired image.So instead of doing a
ct
and writing down the filename and all motor positons for that image in my labbook, I would like to do aonepointscan
, or name itcapture
, which creates a full scan entry in the data file, including the snapshot, but with only one scan point, ideally with a dummy or the time as the movable.The text was updated successfully, but these errors were encountered: