A python package for processing 3d volumetric data to build meshes for the Sand Atlas data repository
Project description
Sand Atlas
Documentation here, or compile it yourself following the details below.
Installation
First, install ffmpeg
and blender
on your system. Both of these need to be available in your system path (so that running ffmpeg
and blender
in the command line works).
This package can then be installed via pip install sand-atlas
. If installing from github, try cloning and then running:
pip install -e .
If you make any changes to the source code, re-run those two lines to have your changes reflected in your installed package.
Usage
If you are interested in reproducing a dataset that is available in the Sand Atlas, you can use the installed script sand_atlas_process
, like so:
sand_atlas_process <path_to_json_file> --label <path_to_labelled_image> --raw <path_to_raw_image>
If you supply only the raw image, the script will attempt to label the image for you. If you supply the labelled image, the script will use that to generate the dataset. The json
file contains the metadata for the dataset you are interested in. The json
files for the datasets in the Sand Atlas are available here.
Documentation
We use sphinx
to manage the docs. Update documentation with:
cd docs
make html
Once these are built, you can commit and push the changes to github to have them refreshed on github pages. You can also view them locally.
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
Built Distribution
File details
Details for the file sand_atlas-1.0.0.tar.gz
.
File metadata
- Download URL: sand_atlas-1.0.0.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b46ba904a704e9894263cb61b3ec47f75077f3cafdb420ed0207dabdc281ba40 |
|
MD5 | 4d53046c66a278f42ddeb76a39d85338 |
|
BLAKE2b-256 | 157229abb784546c157930ac6ceaccf6b96764a93854cd97a18ddc4dce368710 |
File details
Details for the file sand_atlas-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: sand_atlas-1.0.0-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71960472f154b4d3fe46c41a76245ade6c7ce21506d7ae6fb7b3ffd9f9e039d |
|
MD5 | 418f50a4ba090c4c6f931b00aa29e3c2 |
|
BLAKE2b-256 | 6a30a2f3d6484f3d364c2ab701d266350bf134e55b57295dda0a7ae2736343c0 |