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
# MIF 2.1 | |
# MIF Example File: ellipsoid.mif | |
# Description: Hysteresis loop of an ellipsoidal particle. | |
# This example uses an Oxs_EllipsoidAtlas to define the | |
# ellipsoid volume. This example is exactly equivalent | |
# to ellipsoid-atlasproc.mif and ellipsoid-fieldproc.mif. | |
set pi [expr {4*atan(1.0)}] | |
set mu0 [expr {4*$pi*1e-7}] | |
set theta 270 |
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
import folium | |
points_a = [[1,50], [1.2,50.3], [1.23, 50.7]] | |
points_z = [[1,51], [1.2,51.3], [1.23, 51.7]] | |
# Load map centred on average coordinates | |
ave_lat = sum(p[0] for p in points_a)/len(points_a) | |
ave_lon = sum(p[1] for p in points_a)/len(points_a) | |
my_map = folium.Map(location=[ave_lat, ave_lon], zoom_start=9) |
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
# Baudot | |
import random | |
import string | |
# Taken from https://www.cryptomuseum.com/ref/ita2/index.htm | |
baudot = { 'a': '0b00011', | |
'b': '0b11001', | |
'c': '0b01110', | |
'd': '0b01001', | |
'e': '0b00001', |
OlderNewer