Skip to content

Instantly share code, notes, and snippets.

View tritemio's full-sized avatar

Antonino Ingargiola tritemio

View GitHub Profile
@tritemio
tritemio / Pandas resample spline interpolation.ipynb
Last active May 8, 2019 07:20
Pandas resample spline interpolation.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tritemio
tritemio / PSF and particle positions at photon emission times.ipynb
Last active April 2, 2022 00:50
PSF and particle positions at photon emission times.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tritemio
tritemio / Overflow bug in SPC-630 board.ipynb
Last active December 3, 2018 09:41
Overflow bug in SPC-630 board.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tritemio
tritemio / loader_smfret_noalex.py
Created August 1, 2017 03:52
Load in FRETBursts single-laser smFRET files from SM files
def sm_noalex(fname):
print(" - Loading '%s' ... " % fname)
ph_times_t, det_t, labels = loader.load_sm(fname, return_labels=True)
print(" [DONE]\n")
a_em = (det_t == 1)
dx = Data(fname=fname, clk_p=12.5e-9, nch=1,
ALEX=False, lifetime=False, alternated=False,
meas_type='smFRET',
ph_times_m=[ph_times_t], det_donor_accept=(0, 1), A_em=[a_em],
@tritemio
tritemio / FRETBursts - smFRET lifetime example.ipynb
Created November 9, 2016 20:38
FRETBursts - smFRET lifetime example.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tritemio
tritemio / pybroom-example.ipynb
Created July 11, 2016 06:52
Simple pybroom example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tritemio
tritemio / pybroom-example-multi-datasets.ipynb
Last active July 11, 2016 07:40
Example of using pybroom with multiple datatsets and models
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tritemio
tritemio / Decoding PTU files.ipynb
Last active November 8, 2016 20:15
Jupyter Notebook for decoding PicoQuant PTU files in python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tritemio
tritemio / Example - 2CDE Method.ipynb
Last active March 16, 2016 00:22
A FRETBursts notebooks implementing the 2CDE method.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tritemio
tritemio / notebook_runner.py
Created November 10, 2015 18:06
Run notebooks from another notebook, with input parameters
def run_notebook(notebook_name):
"""Runs the notebook `notebook_name` (file name with no extension).
This function executes notebook with name `notebook_name` (no extension)
and saves the fully executed notebook in a new file appending "-out"
to the original file name.
It also displays links to the original and executed notebooks.
"""
nb_name_full = notebook_name + '.ipynb'