This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Author: Nicholas Nell | |
| # email: nicholas.nell@lasp.colorado.edu | |
| # | |
| # MetroPro DAT file extraction script -- this program extracts the | |
| # basic header and intensity/phase information contained in a MetroPro | |
| # DAT binary file. | |
| # | |
| # File information from "MetroPro Reference Guide" section 12 for the | |
| # "MetroPro Binary Data File Format" | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import sys | |
| import serial | |
| import time | |
| import numpy as np | |
| import matplotlib.pyplot as mp | |
| import matplotlib.cm as cm | |
| #48 bytes rows (384 pixels) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Nicholas Nell -- http://casa.colorado.edu/~nell | |
| import gizeh as gz | |
| import cairocffi as cairo | |
| class PDFS: | |
| """Simple class to allow gizeh to create pdf figures""" | |
| def __init__(self, name, width, height, bg_color=None): | |
| self.width = width | |
| self.height = height |