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
all: earth.png | |
earth.png: out/color.png | |
convert $< \ | |
-resize 2972x1820\> \ | |
-size 3072x1920 xc:black +swap \ | |
-gravity center \ | |
-composite $@ | |
out/color.png: full_disk.py data/full_disk.nc |
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 matplotlib.pyplot as plt | |
import numpy as np | |
import torch | |
from matplotlib import animation | |
from simplex import Composition | |
import operator | |
dim = 4 | |
n = 20 | |
logits = torch.tensor( |