Skip to content

Instantly share code, notes, and snippets.

View canavandl's full-sized avatar

Luke Canavan canavandl

  • Austin, TX
View GitHub Profile

Efficiency Determination at Temperature of Nanomaterials

The efficiency of our materials at application temperatures is a metric of high importance at PLT. To understand their efficiency, nicknamed PLQY for photoluminescent quantum yield, we temperature cycle the materials to characterization the PLQY change with respect to temperature.

This script calculates the sample PLQY at designated 'temperatures of merit' from the raw measurement files.

The measurement films from the instrument are saved in the TDMS format, a binary file format from National Instruments that is similar in structure to a Mongo BSON.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@canavandl
canavandl / static_rgba_plot.html
Created May 29, 2015 16:49
Static slider interaction example for Bokeh
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<style>
/* BEGIN /home/canavandl/anaconda/envs/bokeh-prod/lib/python3.4/site-packages/bokeh/server/static/css/bokeh.min.css */
.bk-bs-container,.bk-bs-container-fluid{margin-left:auto;padding-left:15px;padding-right:15px;margin-right:auto}.bk-bs-btn,.bk-toolbar-button{-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.bk-bs-btn,.bk-bs-btn-danger.bk-bs-active,.bk-bs-btn-danger:active,.bk-bs-btn-default.bk-bs-active,.bk-bs-btn-default:active,.bk-bs-btn-info.bk-bs-active,.bk-bs-btn-info:active,.bk-bs-btn-success.bk-bs-active,.bk-bs-btn-success:active,.bk-bs-btn-warning.bk-bs-active,.bk-bs-btn-warning:active,.bk-bs-btn.bk-bs-active,.bk-bs-btn:active,.bk-bs-dropdown-menu>.bk-bs-disabled>a:focus,.bk-bs-dropdown-menu>.bk-bs-disabled>a:hover,.bk-bs-form-control,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-danger,.bk-bs-open .bk-bs-
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@canavandl
canavandl / TapTool.ipynb
Created June 10, 2015 18:02
demo of TapTool callback
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@canavandl
canavandl / named_objects_example.ipynb
Last active August 29, 2015 14:23
named_objects_example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
_ = require "underscore"
HasParent = require "../../common/has_parent"
PlotWidget = require "../../common/plot_widget"
properties = require "../../common/properties"
class ArrowView extends PlotWidget
initialize: (options) ->
super(options)
@fill_props = new properties.Fill({obj: @model, prefix: ''})
(bokeh-dev)➜ bokehjs git:(master) ✗ gulp
[12:29:08] Using gulpfile ~/dev/bokeh/bokehjs/gulpfile.js
[12:29:08] Starting 'default'...
[12:29:08] Building BokehJS for developer mode ...
[12:29:08] Starting 'build'...
[12:29:08] Starting 'scripts'...
[12:29:08] Starting 'scripts:build'...
[12:29:09] Starting 'styles'...
[12:29:09] Starting 'styles:build'...
[12:29:17] Finished 'styles:build' after 8.4 s