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.4.tar.gz (30.5 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.4-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for isdreader-0.0.4.tar.gz
Algorithm Hash digest
SHA256 fcc9879097ec5433d363162bcf833bfc23ee377541076304e0cbe9b3d3c2b671
MD5 274b3561066717fe0535ee7578f90199
BLAKE2b-256 3e30af15a9a381ae8158611a7a02a64d378240bee3515d92b5a47aa908524ddd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for isdreader-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 247bf3783e883c8efd05f11cae98d8d886341f3935216ca551cb4f8c33932453
MD5 90227c2c1a0052f96c889712aedff8f3
BLAKE2b-256 fba843719b69a018247cc5a0b6d26618531d469799ac0f8985e21150d9790f39

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