Skip to content

Instantly share code, notes, and snippets.

View tritemio's full-sized avatar

Antonino Ingargiola tritemio

View GitHub Profile
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@tritemio
tritemio / nsALEX - Old LV format
Last active August 29, 2015 13:57
An IPython Notebook that shows how to read the old LabView .sm format for nsALEX and save it in an HDF5 file.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@tritemio
tritemio / nsALEX - BH parameters from .set files
Last active August 29, 2015 13:57
An IPython Notebook that shows how to decode .set files from Becker & Hickl boards.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@tritemio
tritemio / seaborn_fontsize_issue
Last active August 29, 2015 14:00
Seaborn fontsize issue
{
"metadata": {
"name": "",
"signature": "sha256:b831c65c39ae1487614e2d20cfbb244a6eea2f552ae5221987fe357497b31aa5"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": "",
"signature": "sha256:dd9ac9500d76bd6e4f223aa5277e5008fc30d9ad1df9ccab4997b0cbe52860c7"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@tritemio
tritemio / decay_fit.py
Last active August 29, 2015 14:02
Exponential decay fit - lmfit issues
'''
This script fits 1D noisy data (function of time) to a model function that has
2 shape parameters (lifetime or exponetial decay: `tau`, amplitude: `ampl`)
and one `offset` parameter for the translation in time.
'''
#%%
import numpy as np
import scipy
import scipy.stats
@tritemio
tritemio / 2-Gaussian mixture fit Bayes vs NLS.ipynb
Created October 14, 2014 18:48
2-Gaussian mixture fit Bayes vs NLS
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tritemio
tritemio / matplotlib spectrogram
Last active August 29, 2015 14:15
matplotlib spectrogram
{
"metadata": {
"name": "",
"signature": "sha256:f2f3593c1d178e2336d96bcb978c3642ce5e0a5943dbf554e24448310bff2a7b"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="python.exe" FILTER="CMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="python.exe" SIZE="40960" CHECKSUM="0xBCD8C813" MODULE_TYPE="WIN32" PE_CHECKSUM="0xA500" LINKER_VERSION="0x0" LINK_DATE="03/06/2015 18:06:11" UPTO_LINK_DATE="03/06/2015 18:06:11" EXE_WRAPPER="0x0" />
<MATCHING_FILE NAME="python34.dll" SIZE="4058624" CHECKSUM="0xDAC8FABC" BIN_FILE_VERSION="3.4.3150.1013" BIN_PRODUCT_VERSION="3.4.3150.1013" PRODUCT_VERSION="3.4.3" FILE_DESCRIPTION="Python Core" COMPANY_NAME="Python Software Foundation" PRODUCT_NAME="Python" FILE_VERSION="3.4.3" ORIGINAL_FILENAME="python34.dll" INTERNAL_NAME="Python DLL" LEGAL_COPYRIGHT="Copyright © 2001-2015 Python Software Foundation. Copyright © 2000 BeOpen.com. Copyright © 1995-2001 CNRI. Copyright © 1991-1995 SMC." VERDATEHI="0x0" VERDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x3EDF55" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="3.4.3150.1013" UPTO_BIN_PRODUCT_VERSION="3.
<?xml version="1.0" encoding="UTF-16"?>
<WERReportMetadata>
<OSVersionInformation>
<WindowsNTVersion>6.1</WindowsNTVersion>
<Build>7601 Service Pack 1</Build>
<Product>(0x4): Windows 7 Enterprise</Product>
<Edition>Enterprise</Edition>
<BuildString>7601.18933.amd64fre.win7sp1_gdr.150715-0600</BuildString>
<Revision>1130</Revision>
<Flavor>Multiprocessor Free</Flavor>