|
| 1 | +===================== |
| 2 | +Example Feature Lists |
| 3 | +===================== |
| 4 | + |
| 5 | +Fairly complex imaging sequences can be created by chaining together multiple |
| 6 | +features. Here are a few examples of feature lists that can be used to create custom |
| 7 | +acquisition protocols. |
| 8 | + |
| 9 | + |
| 10 | +Multi-Position Imaging with Automated Autofocus |
| 11 | +------------------------------------------------ |
| 12 | + |
| 13 | +Large volumes are often acquired in a tiling format, where the sample is imaged at |
| 14 | +multiple positions. In some cases, if the sample is not perfectly transparent, the focus |
| 15 | +may need to be adjusted at each position. This can be done automatically using the |
| 16 | +autofocus feature. |
| 17 | +#. You can load customized functions in the software by selecting the menu |
| 18 | + |
| 19 | +Here, we begin by moving to the first position of the multi-position table, then move to |
| 20 | +the first z-position, measure the autofocus, set the F_Start position, move to the last |
| 21 | +z-position, measure the autofocus, set the F_End position, and image the full z-stack |
| 22 | +prior to moving to the next position in the multi-position table. |
| 23 | + |
| 24 | +.. code-block:: python |
| 25 | +
|
| 26 | + [ |
| 27 | + {"name": PrepareNextChannel,}, |
| 28 | + ( |
| 29 | + {"name": MoveToNextPositionInMultiPositionTable,"args": (None,None,None,),}, |
| 30 | + {"name": CalculateFocusRange,}, |
| 31 | + {"name": ZStackAcquisition,"args": (True,True,"z-stack",),}, |
| 32 | + {"name": WaitToContinue,}, |
| 33 | + {"name": LoopByCount,"args": ("experiment.MicroscopeState.multiposition_count",),}, |
| 34 | + ), |
| 35 | + ] |
| 36 | +
|
| 37 | +
|
| 38 | +----------- |
| 39 | + |
| 40 | +Time-Lapse Imaging with Automated Autofocus |
| 41 | +-------------------------------------------- |
| 42 | + |
| 43 | +Time-lapse imaging is a common technique used to monitor changes in samples over time |
| 44 | +. If you do not have a hardware solution for maintaining the focus of the specimen, a |
| 45 | +common technique for maintaining the focus of a microscope is to intermittently measure |
| 46 | +the focus using the image as a metric. |
| 47 | + |
| 48 | +.. code-block:: python |
| 49 | +
|
| 50 | + [ |
| 51 | + ( |
| 52 | + {"name": PrepareNextChannel, }, |
| 53 | + ( |
| 54 | + {"name": Snap, "args": (True,),}, |
| 55 | + {"name": LoopByCount, "args": (10,),}, |
| 56 | + ), |
| 57 | + {"name": LoopByCount, "args": (2,),},), |
| 58 | + {"name": PrepareNextChannel, }, |
| 59 | + {"name": WaitToContinue, }, |
| 60 | + ( |
| 61 | + {"name": Autofocus, "args": ("stage","z",),}, |
| 62 | + ( |
| 63 | + {"name": Snap, "args": (True,),}, |
| 64 | + {"name": LoopByCount, "args": (5,),}, |
| 65 | + ), |
| 66 | + {"name": StackPause, "args": ("experiment.MicroscopeState.timepoints",),}, |
| 67 | + {"name": LoopByCount, "args": (10,),}, |
| 68 | + ), |
| 69 | + ), |
| 70 | + ] |
0 commit comments