Skip to content

Instantly share code, notes, and snippets.

View piti118's full-sized avatar

Piti Ongmongkolkul piti118

  • Mahidol University International College
  • Nakorn Pathom, Thailand
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"metadata": {
"name": "Untitled0"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@piti118
piti118 / Transmission Coefficient.ipynb.json
Created October 25, 2013 23:58
Effect of index of reflection on transmission coeff
{
"metadata": {
"name": "Transmission Coefficient"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@piti118
piti118 / quick peak finding.ipynb.json
Created October 11, 2013 17:25
quick peak finding
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "quick peak finding"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@piti118
piti118 / parabolic smooth.ipynb.json
Created October 4, 2013 18:41
parabolic smooth
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "parabolic smooth"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "Untitled1"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@piti118
piti118 / Example
Created September 28, 2013 14:28
global continuous least square parabolic smoothing
x = np.linspace(0.,7,20000)
y0 = np.sin(x)
y = sin(x) + 2*randn(20000)
plot(x,y,'x',alpha=0.8)
plot(x, y0, lw=3,alpha=0.2)
s = global_parabolic_smooth(y,2000)
plot(x,s,lw=2)
#ylim(-1,1)
@piti118
piti118 / PMTvsAPD comparison.ipynb.json
Created September 27, 2013 16:59
PMTvsAPD comparison
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "PMTvsAPD comparison"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@piti118
piti118 / quick_and_dirty
Created December 7, 2012 19:22
quick and dirty unblind
{
"metadata": {
"name": "quick_and_dirty"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{