Skip to content

Instantly share code, notes, and snippets.

View alexcarisey's full-sized avatar
🔬
Working somewhere dark

Alexandre Carisey alexcarisey

🔬
Working somewhere dark
View GitHub Profile
@stenuto
stenuto / timelapse.sh
Created June 18, 2024 20:56
Timelapse script
#!/bin/bash
# Check if interval argument is provided
if [ -z "$1" ]; then
echo "Usage: $0 -int <interval_in_seconds>"
exit 1
fi
# Extract the interval value
interval=$2
@ekatrukha
ekatrukha / 3D_tilt_stack_v1.ijm
Created February 7, 2019 18:03
ImageJ macro making a tilted movie out of Z-stack
//ImageJ macro making a tilted movie out of stack
//uses shear transform + rotation
//Eugene Katrukha katpyxa at gmail.com
requires("1.48h");
sTitle=getTitle();
sMovieTitle=sTitle+"_tilt_movie";
setBatchMode(true);
//Dialog
@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";
# function to do a dodged half-boxplot and jittered points next to each other
#
# data_in should be a data frame
# factor_col should be a bare column name (not a string)
# although it will work if that column is factor or a character type
# numeric_col is the y axis continuous variable
# offset is the width of the boxplots and jittered point cloud
#
# the basic approach is to draw a boxplot without the tails
# (e.g. only the interquartile range) and then use segments to add the
@ekatrukha
ekatrukha / zoom_movie_ImageJ_v2.ijm
Last active July 13, 2022 16:19
ImageJ macro making a movie (stack) of zooming on selected rectangle (ROI)
//ImageJ macro making a movie (stack) of zooming on selected rectangle (ROI)
//Eugene Katrukha katpyxa at gmail.com
requires("1.48h");
//check if there is rectangular selection
if(selectionType() ==0)
{
sTitle=getTitle();
sMovieTitle=sTitle+"_zoom_movie";
setBatchMode(true);
@mcnees
mcnees / graph paper.tex
Last active February 16, 2024 08:34
Make your own quadrille, graph, hex, etc paper! Uses the pgf/TikZ package for LaTeX, which should be part of any modern TeX installation.
%%-----------------------------------------------------------------------
%% Make your own quadrille, graph, hex, etc paper!
%% Uses the pgf/TikZ package for LaTeX, which should be part of
%% any modern TeX installation.
%% Email: [email protected]
%% Twitter: @mcnees
%%-----------------------------------------------------------------------
\documentclass[11pt]{article}