Skip to content

Instantly share code, notes, and snippets.

View lukasz-migas's full-sized avatar
:octocat:
👨‍💻

Lukasz Migas lukasz-migas

:octocat:
👨‍💻
View GitHub Profile
@Swarchal
Swarchal / czi2tif.py
Created November 13, 2019 06:24
Convert multi-{channel, z} czi files to simple single tif
import os
import czifile
import skimage.io
import numpy as np
def read_czi(fname):
"""shape: [1, 1, channel, z, x, y, 1]"""
return fname, czifile.imread(fname)
@abridgland
abridgland / gaussian-processes-1.ipynb
Last active February 19, 2025 00:55
A Jupyter notebook to accompany Intro to Gaussian Processes - Part I at http://bridg.land/posts/gaussian-processes-1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anttilipp
anttilipp / temperatureCircle.py
Created August 2, 2017 21:50
Code to reproduce the "Temperature Circle" visualization.
#
# Hi all,
# this is the Python code I used to make the visualization "Temperature circle"
# (https://twitter.com/anttilip/status/892318734244884480).
# Please be aware that originally I wrote this for my tests only so the
# code was not ment to be published and is a mess and has no comments.
# Feel free to improve, modify, do whatever you want with it. If you decide
# to use the code, make an improved version of it, or it is useful for you
# in some another way I would be happy to know about it. You can contact me
# for example in Twitter (@anttilip). Unchecked demo data (no quarantees)
@jakevdp
jakevdp / CategoricalCMAP.ipynb
Last active June 8, 2025 22:34
Example of a categorical color map in matplotlib
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.