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.3.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.3-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: isdreader-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 e8f28684e6cb7beda6c94f176c6675e579a007e80fd79281dad01bd32aedb28c
MD5 cae7a72df396cac02da64cc39776e9bc
BLAKE2b-256 bc2a1a1e7c1fecf2a03e1a2fcaa8ede2a307e082e566ef9d705abaf91162c393

See more details on using hashes here.

File details

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

File metadata

  • Download URL: isdreader-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c18df0b4d82e0e71d51b90a423ce7be0a11b90e21e608c6af4d44a392a73066
MD5 c32abe77442536d14fec16e7e1dc504c
BLAKE2b-256 40d99743ced2319cc0f344681eb5cb3746262e9276523f47332a6d7297442079

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