您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
gridlock/gridlock
Jan Petykiewicz 73d07bbfe0 disaambiguate some variables for typing purposes 2 年前
..
examples typing and formatting updates 2 年前
test typing and formatting updates 2 年前
LICENSE.md move to hatch-based builds 2 年前
README.md move to hatch-based builds 2 年前
__init__.py bump version to v1.1 2 年前
direction.py add all files 8 年前
draw.py disaambiguate some variables for typing purposes 2 年前
error.py simplify GridError definition 3 年前
grid.py typing and formatting updates 2 年前
position.py typing and formatting updates 2 年前
py.typed add py.typed 3 年前
read.py typing and formatting updates 2 年前

README.md

Gridlock README

Gridlock is a Python module for drawing on coupled grids.

Gridlock is used primarily for 'painting' shapes in 3D on multiple grids which represent the same spatial region, but are offset from each other. It does straightforward natural <-> grid unit conversion and can handle non-uniform rectangular grids (the entire grid is generated based on the coordinates of the boundary points along each axis).

Installation

Requirements:

  • python 3 (written and tested with 3.9)
  • numpy
  • float_raster
  • matplotlib (optional, used for visualization functions)
  • mpl_toolkits.mplot3d (optional, used for isosurface visualization)
  • skimage (optional, used for isosurface visualization)

Install with pip:

pip3 install gridlock

Alternatively, install via git

pip3 install git+https://mpxd.net/code/jan/float_raster.git@release
pip3 install git+https://mpxd.net/code/jan/gridlock.git@release