-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* set `grid_file_out` even if file does not exist * * calculate seed before updating base name * return count as integer * allow specifying seed list in the recipe * set default value for randomness seed in recipe * * automatically specify seeds for multiple packings * add sphere mesh objects for tests * add recipe for nested mesh testing * refactor seed list processing * * add option to save grid data as image * move voxelization code to environment * add voxelization function for gradient distances and weights * refactor image writer export code * add recipe and config for testing * formatting * remove defaults from config file * add gradient image save option to defaults in config loader
- Loading branch information
Showing
7 changed files
with
97 additions
and
36 deletions.
There are no files selected for viewing
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
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
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
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
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
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
14 changes: 14 additions & 0 deletions
14
cellpack/tests/packing-configs/test_gradient_data_image.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "test_gradient_data_image", | ||
"save_analyze_result": true, | ||
"show_grid_plot": true, | ||
"spacing": 0.25, | ||
"show_sphere_trees": false, | ||
"load_from_grid_file": true, | ||
"save_gradient_data_as_image": true, | ||
"image_export_options": { | ||
"hollow": false, | ||
"voxel_size": [1,1,1], | ||
"projection_axis": "z" | ||
} | ||
} |