8 buildPythonPackage rec {
11 format = "setuptools";
14 inherit pname version;
15 hash = "sha256-+lHr6GTqk1WyaDDif91qQdWli0GfqNS0fjuLgHGNbiE=";
18 propagatedBuildInputs = [ numpy ];
20 # no tests defined upstream
23 pythonImportsCheck = [ "isosurfaces" ];
26 homepage = "https://github.com/jared-hughes/isosurfaces";
27 description = "Construct isolines/isosurfaces of a 2D/3D scalar field defined by a function";
29 Construct isolines/isosurfaces of a 2D/3D scalar field defined by a
30 function, i.e. curves over which f(x,y)=0 or surfaces over which
31 f(x,y,z)=0. Most similar libraries use marching squares or similar over a
32 uniform grid, but this uses a quadtree to avoid wasting time sampling
33 many far from the implicit surface.
35 license = licenses.mit;