Skip to content

Instantly share code, notes, and snippets.

Genevieve Buckley GenevieveBuckley

  • Monash University
  • Melbourne
Block or report user

Report or block GenevieveBuckley

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ekatrukha
ekatrukha / 3D_tilt_stack_v1.ijm
Created Feb 7, 2019
ImageJ macro making a tilted movie out of Z-stack
View 3D_tilt_stack_v1.ijm
//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
View file_processes.py
import pandas as pd
import os
import re
from sklearn.decomposition import PCA
from microscopium import io
from microscopium.preprocess import montage_stream
from microscopium.preprocess import correct_multiimage_illumination
from microscopium.preprocess import find_background_illumination
@acbetter
acbetter / QImageViewer.py
Last active Jun 13, 2019
Image Viewer Example by PyQt5 and Python 3
View QImageViewer.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QImage, QPixmap, QPalette, QPainter
from PyQt5.QtPrintSupport import QPrintDialog, QPrinter
from PyQt5.QtWidgets import QLabel, QSizePolicy, QScrollArea, QMessageBox, QMainWindow, QMenu, QAction, \
qApp, QFileDialog
View bokeh_tricks.py
import bokeh
from bokeh.io import output_notebook, push_notebook
output_notebook()
##
import numpy as np
from ipywidgets import interact, widgets
from bokeh.plotting import figure, show
@althonos
althonos / setup.cfg
Last active Jun 7, 2019
A `setup.cfg` template for my Python projects
View setup.cfg
# https://gist.github.com/althonos/6914b896789d3f2078d1e6237642c35c
[metadata]
name = {name}
version = {version}
author = Martin Larralde
author-email = martin.larralde@ens-paris-saclay.fr
home-page = https://github.com/althonos/{name}
description = {description}
long-description = file: README.rst, CHANGELOG.rst
@kb1lqc
kb1lqc / test_serial.py
Created Feb 12, 2018
Unit Testing Serial Ports | Serial Port Unit Tests
View test_serial.py
import pytest
import sliplib
import string
from faradayio import faraday
from tests.serialtestclass import SerialTestClass
def test_socketOne():
"""Simple test to make sure loopback serial port created successfully"""
@charlesreid1
charlesreid1 / imread
Created Nov 9, 2017
Results from using different imread() functions
View imread
In [1]: from skimage.io import imread as skimage_imread
In [2]: from matplotlib.pyplot import imread as plt_imread
In [3]: from scipy.ndimage import imread as scipy_imread
In [4]: skimage_imread('bulk_water_000.png')
Out[4]:
array([[[146, 125, 54, 255],
[146, 125, 54, 255],
@andreasonny83
andreasonny83 / .gitignore
Last active Jun 14, 2019
Gitignore template for JavaScript projects
View .gitignore
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# Runtime data
pids
*.pid
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active Jun 8, 2019
How to add a collapsible section in markdown.
View markdown-details-collapsible.md

A collapsible section with markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets
@dela3499
dela3499 / bokeh_tooltips.py
Created May 18, 2017
Bokeh scatterplot with tooltips in the Jupyter notebook
View bokeh_tooltips.py
from bokeh.plotting import figure, output_file, show, ColumnDataSource
from bokeh.models import HoverTool
from bokeh.io import output_notebook
output_notebook()
source = ColumnDataSource(
data=dict(
x=[1, 2, 3, 4, 5],
y=[2, 5, 8, 2, 7],
desc=['A', 'b', 'C', 'd', 'E'],
You can’t perform that action at this time.