This file contains 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/env python | |
import subprocess | |
import os | |
import shutil | |
from glob import glob | |
from pathlib import Path | |
import time | |
import argparse |
This file has been truncated, but you can view the full file.
This file contains 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
Instructions: Draw 3 cards from the Tarot deck. | |
Each column below corresponds to one of the cards | |
you drew. Major Arcana cards are referred to only | |
by their number (i.e. "0" is The Fool) and minor | |
arcana cards have a suit and a number (for example | |
the King of Cups is c14). The third column has two | |
options (e.g. 2/3 in the first entry) because there | |
are twice as many possible 3-card draws as there are | |
words in this word list. |
This file contains 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
from KinMS import KinMS | |
import numpy as np | |
import KinMS_testsuite as kstest | |
#set very simple parameter values for testing | |
xs=1 | |
ys=1 | |
vs=800 | |
nchan=80 | |
cellsize=0.01 | |
dv=vs/nchan |
This file contains 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
class animatedplot(): | |
def __init__(self,size): | |
self.size=size | |
self.utiliz=np.ones(self.size)*np.nan | |
self.timearr=np.ones(self.size)*np.nan | |
self.fig = plt.figure() | |
self.ax = self.fig.add_subplot(1,1,1) | |
self.ln, = plt.plot(self.utiliz,self.timearr) | |
self.anim = FuncAnimation(self.fig,self.update,frames = np.arange(1000), |