Skip to main content

Isd Reader Library for parsing ISD folder and loading binary images

Project description

isdreader

isdreader

License: MIT

isdreader is a Python library for parsing ISD folders and loading binary inspection image data as NumPy arrays.

Installation

pip install isdreader

Quick Start

from isdreader import IsdReader

# Load ISD folder
isd = IsdReader(isd_path="/path/to/your.isd")

# Get channel and data gate
ch = isd.GetCh(1)
gate = ch.GetDataGate(2)

# Load image
img = gate.GetImage("AP", slice_no=2)
arr = img.load_image()

# Access metadata
print(f"Size: {img.WidthPixel}x{img.HeightPixel}")
print(f"Material Velocity: {img.MaterialVelocity}")

arr is returned as a 2D NumPy array with a dtype derived from the source image data.

Documentation

Full API documentation: https://insightkk.net/isdreader/

License

MIT License - see LICENSE file for details

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

isdreader-0.0.2.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

isdreader-0.0.2-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file isdreader-0.0.2.tar.gz.

File metadata

  • Download URL: isdreader-0.0.2.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for isdreader-0.0.2.tar.gz
Algorithm Hash digest
SHA256 155b5b67146c0906f1bd8375c81afa652ceaf8d2469ece46a0c6ee6116aed219
MD5 ef2c4799151f646a11aff6b660aecaf6
BLAKE2b-256 c3cc695309c13cf01fd3186412b1e6ba6fb901c607abfd217a546a73c28bebc9

See more details on using hashes here.

File details

Details for the file isdreader-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: isdreader-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for isdreader-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 03df0d8efd5be174716ef3d7366875b57a93cdbc1258d1c05ad61b54a5b2e063
MD5 a364eee3d950ac0ddf820b9589cbd19d
BLAKE2b-256 718dc61a9c4564585b18e4fdf6c5b3146825600febc896135c40fab075652ba6

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