Skip to main content

Utility library for consuming and manipulating x-ray data in RAW format

Project description

Utility library for consuming and manipulating x-ray volume data in .raw format.

Features

  • Convert float32, uint16, and uint8 versions of .raw XRT volume data

  • Extract image slices from .raw files

  • Read, parse, and generate metadata files (.dat) for XRT data

  • Convert proprietary .nsihdr files into .raw format (Windows only). Batch conversion supported as CLI and minimal GUI.

  • Generate previews of XRT volumes for quality control (e.g., maximum density projections, midslice extraction, etc.)

Planned Features

  • Generate dummy .raw files for testing downstream pipelines

  • Batch conversion of .nsihdr on Linux systems

  • Density adjustment (similar to automated adjustment MATLAB scripts for rootseg)

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.3.0 (2021-07-18)

Added

  • License

  • Basic tests on core functionality for scaling data

Changed

  • Updated URL for any references to GitHub repo

  • Updated docstring header for raw2img module

  • Updated README to be more descriptive

0.2.0 (2021-01-04)

  • Added efX-SDK library

  • Added module to export/convert nsihdr files to uint raw files using the efX-SDK (Windows only)

  • Tentatively implemented a GUI for the nsihdr2raw export tool

  • Tweaked logging path for log files generated relative to input data for nsihdr2raw

0.1.4 (2020-10-27)

  • Code clean up, remove unnecessary transposing of data, improved debug statements and logging

0.1.3 (2020-10-26)

  • Fixed font file missing when installing via pip

0.1.2 (2020-09-25)

  • Fix typo in log messages when checking expected file size to actual file size (.raw)

0.1.0 (2020-06-19)

  • Initial version

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

rawtools-0.5.0.tar.gz (38.5 MB view details)

Uploaded Source

Built Distribution

rawtools-0.5.0-py2.py3-none-any.whl (24.4 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file rawtools-0.5.0.tar.gz.

File metadata

  • Download URL: rawtools-0.5.0.tar.gz
  • Upload date:
  • Size: 38.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for rawtools-0.5.0.tar.gz
Algorithm Hash digest
SHA256 f690732bbf27012a5ece9bdd3677183751ff12dcfa66497e61d83bb25ed6de90
MD5 1a3861190fd3300d7096bf285822753a
BLAKE2b-256 cd71e0a98f012d8ebe7fd693d790553603a43fbb654e06a8fadc75f3678fe92c

See more details on using hashes here.

File details

Details for the file rawtools-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: rawtools-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.4 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for rawtools-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2012c949942a8fb5ff723b643a56eb6ffac33a7e6f44f27be9b37e899ca23272
MD5 152ed17608aa530a8a7133e08a32c5da
BLAKE2b-256 47e62707b3c342efce5ead413f89bee5ae91bdbc7efeef284793894ceb07e28b

See more details on using hashes here.

Supported by

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