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 numba as nb | |
import numpy as np | |
from tqdm.auto import tqdm | |
import dask.array as da | |
@nb.njit([nb.float64[:](nb.float64[:, :]),]) | |
def g(x): | |
res = np.zeros(x.shape[0], dtype=np.float64) | |
for i in range(res.shape[0]): |
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
from pathlib import Path | |
import numpy as np | |
import numba as nb | |
import scipy | |
import pickle | |
import matplotlib.pyplot as plt | |
from matplotlib.collections import PatchCollection | |
from collections import Counter | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
extends Camera2D | |
const MIN_ZOOM: float = 1.0 | |
const MAX_ZOOM: float = 16.0 | |
const PAN_SPEED: float = 2000 | |
const ZOOM_SPEED: float = 1.1 | |
const ZOOM_INTERVAL: float = 0.1 | |
var zoom_tween: Tween |
OlderNewer