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
""" | |
Generates an stl of the Smith aperiodic monotile | |
https://cs.uwaterloo.ca/~csk/hat/ | |
https://www.sciencenews.org/article/mathematicians-discovered-einstein-tile | |
""" | |
import cadquery as cq | |
from cadquery import exporters |
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
name: plots | |
channels: | |
- conda-forge | |
- defaults | |
dependencies: | |
- python=3.11.0 | |
- tqdm | |
- numpy | |
- matplotlib | |
- colorcet |
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
name: compton | |
channels: | |
- conda-forge | |
- defaults | |
dependencies: | |
- xraylib | |
- mayavi | |
- jupyterlab | |
- matplotlib | |
- scipy |
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
''' | |
Converts the filenames written by MPC Beats' Auto Sampler to ones recognised by the | |
modwave Sample Builder. Copy this file to where the samples are and run it there | |
python flat_to_sharp.py | |
OR | |
python -m flat_to_sharp.main | |
Gary Ruben 2022-01-22 |
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
The following is untested but should work for getting the logue-sdk working in wsl. | |
1. Install wsl and the Ubuntu image from Windows Store | |
2. Run wsl | |
3. I want to use vscode. I have it installed in Windows already. Run vscode from Linux commandline | |
$ code | |
## This runs VSCode and prompts to install the "remote wsl" extension in VSCode which I did | |
4. Install qemu | |
## This is necessary to be able to run ELF 32-bit LSB executables, of which the arm gcc compiler tools are an example. | |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Fri Dec 20 11:31:51 2019 | |
@author: grub0002 | |
""" | |
import napari | |
import h5py | |
import dask | |
import dask.array as da |
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
import turtle as t | |
t.setworldcoordinates(0,300,300,0) | |
t.pensize(6) | |
nodelists = { | |
0: [(30,53),(47,79),(66,60),(108,21),(151,61),(175,73),(193,52)], | |
1: [(99,50)], | |
2: [(116,50)], | |
3: [(92,68),(107,82),(123,68)], |
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 | |
from __future__ import with_statement | |
import sys | |
import numpy as np | |
from numpy import array, fromfile, dstack, exp, abs, sin, cos, angle, dot, arccos, pi | |
from enthought.mayavi import mlab, modules | |
from lxml import etree, objectify | |
import ConfigParser | |
import matplotlib.pyplot as plt |
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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:0a60a5b27e96dc522f5afeefd5a64d68ccbba9a8de9cbbde76fc531a18120e2f" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:7c13bb28fce5c55dc995a8b5578f104452c534755021b94f1727f67984199872" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
NewerOlder