This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ImageJ macro making a movie (stack) of zooming on selected rectangle (ROI) | |
//v2 Eugene Katrukha katpyxa at gmail.com | |
//v2a Andrey Aristov: aaristov at pasteur.fr | |
requires("1.48h"); | |
//check if there is rectangular selection | |
if(selectionType() ==0) | |
{ | |
sTitle=getTitle(); | |
sMovieTitle=sTitle+"_zoom_movie"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Andrey Aristov 2018 | |
// [email protected] | |
// Institut Pasteur | |
// | |
// Select folder containing the data | |
// Select calibration file for ZOLA PSF | |
// Specify parameters of localization in the dialog | |
// Specify prefix for the folders containing super resolution data | |
// The script will recursively search for folders with prefix and try to find ome.tiff stacks | |
// Once files are found it will create ZOLA.lock file to prevent concurrent scripts from processing the same data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<docs lang="markdown"> | |
You need to install Python Engine first https://github.com/oeway/ImJoy-Python | |
Then create a new plugin and paste this code to it. | |
The plugin will configure Python automatically with all dependencies. | |
Click on the BFDC to run the plugin. | |
You'll see the file dialog to select zstack, roi and movie. | |
Then the plugin will launch Python package to process the files and output the drift table. | |
It will also show the drift plot in the separate window. | |
</docs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Servo.h> | |
Servo myservo; // create servo object to control a servo | |
// twelve servo objects can be created on most boards | |
int pos = 0; // variable to store the servo position | |
int max_pos = 150; | |
int cur_pos = 0; |