Skip to content

Instantly share code, notes, and snippets.

View aaristov's full-sized avatar

Andrey Aristov aaristov

View GitHub Profile
@aaristov
aaristov / tea.ino
Created December 16, 2020 19:56
Arduino code for Tea Maker by Andrey Aristov
#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;
@aaristov
aaristov / BFDC.imjoy.html
Last active October 5, 2018 18:30
BFDC-Imjoy plugin.
<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>
@aaristov
aaristov / zola_batch.ijm
Last active July 5, 2018 09:35
ZOLA batch processing
// Andrey Aristov 2018
// aaristov@pasteur.fr
// 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
@aaristov
aaristov / zoom_movie_ImageJ_v2a.ijm
Last active October 30, 2023 04:26 — forked from ekatrukha/zoom_movie_ImageJ_v2.ijm
Improved ImageJ macro making a movie (stack) of zooming on selected rectangle (ROI) now with logarithmic approach and dynamic scalebar
//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";