Skip to main content

A simple CLI for sampling point clouds from large volumetric datasets

Project description

CLI for Point Cloud Sampling

pip install nps

Get started

(nps-v2)   nps git:(main)  nps --help
Usage: nps [OPTIONS]

Options:
  --cv-path TEXT                  Path to CloudVolume data.  [required]
  --mip INTEGER                   MIP level to use.  [default: 0]
  --timestamp INTEGER             Optional timestamp for the dataset version
                                  (graphene only).
  --sample_svids                  Sample SVIDs in addition to points (default:
                                  False).
  -o, --output-dir DIRECTORY      Output directory.  [default: ./nps_output]
  --worker-type [LocalWorker|LSFWorker|SlurmWorker]
                                  Type of worker to use for sampling.
                                  [default: LocalWorker]
  --num-workers INTEGER           Number of workers for blockwise sampling.
                                  [default: 8]
  --cpus-per-worker INTEGER       Number of CPUs per worker.  [default: 4]
  --queue TEXT                    Queue name (for LSF backend).  [default:
                                  local]
  --fraction FLOAT                Fraction of points to sample [0.0, 1.0].
                                  [default: 0.001]
  --block-size INTEGER...         Block size in voxels (X Y Z).  [default:
                                  128, 128, 128]
  -h, --help                      Show this message and exit.
nps --cv-path precomputed://gs://neuroglancer-janelia-flyem-hemibrain/v1.0/segmentation

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

nps_cli-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nps_cli-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file nps_cli-0.1.0.tar.gz.

File metadata

  • Download URL: nps_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for nps_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a22c0213a449caad63f235339474b44527197396b66559ec83301c2251ee401
MD5 f1fda13adeaf86ddf52d688cc3e6f00e
BLAKE2b-256 1690d12f372d213c8d391363f56f115f7b05781d6944d0b99944f8c14a111054

See more details on using hashes here.

File details

Details for the file nps_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nps_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for nps_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae500c58adbcb3d93e764a345fcc42d85ab024b939ce93b72779c32ee129f6ec
MD5 0b763fc68b48c41f3a2897d5d29d82c6
BLAKE2b-256 3448716da4932863345fa9a66198acc6c37d5cbe65975d0668cab18e20da9684

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page