Finding valeriepieris circles
Project description
valeriepieris
Find valeriepieris circles.
Expects 2d-numpy arrays from e.g. SEDAC
import numpy as np
input_data = np.loadtxt("gpw_v4_population_count_rev11_2020_1_deg.asc", skiprows=6 )
input_data[ input_data < 0] = 0
Then call
from valeriepieris import valeriepieris
data_bounds = [ -90,90, -180,180 ]
target_fracs = [0.25, 0.5, 1]
rmin, smin, best_latlon, data, new_bounds = valeriepieris(input_data, data_bounds, target_fracs)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
valeriepieris-0.1.1.tar.gz
(215.3 kB
view hashes)
Built Distribution
Close
Hashes for valeriepieris-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db388b01540a8dd6dd1d367c408d4e10862de5f041c859c30f6e81868e8dbddb |
|
MD5 | 0d8e7bea9eda5cff39109dc943eec83d |
|
BLAKE2b-256 | 4bd7e4aa6d6e96dd065dec10128ed9f554dca96a5af29565e3c679e308f2a305 |