Skip to main content

Convert QEMSCAN data to a Zarr V3 image pyramid with OME-Zarr metadata

Project description

anu_ctlab_qemscan_bse_to_zarr3

Convert QEMSCAN data to the Zarr V3 storage format with OME-Zarr metadata. Supports BSE and classification-results image pyramids.

Unlike the export functionality available in nanomin, this method retains the original data type (e.g. 16-bit).

Installation

pip install anu-ctlab-qemscan-bse-to-zarr3

Usage (CLI)

 Usage: qemscan_bse_to_zarr3 [OPTIONS] INPUT OUTPUT

 Convert QEMSCAN data to a Zarr V3 image pyramid with OME-Zarr metadata.
 By default, outputs the BSE image. Specify a path in Data/classification-results to output that data.

╭─ Arguments ────────────────────────────────────────────────────────────────────╮
│ *    input       PATH  Input QEMSCAN data directory [default: None] [required] │
│ *    output      PATH  Input Zarr V3 directory [default: None] [required]      │
╰────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────╮
│ --debug    --no-debug      Print debug information [default: no-debug]         │
│ --help                     Show this message and exit.                         │
╰────────────────────────────────────────────────────────────────────────────────╯

This tool expects input structured as follows:

SAMPLE_NAME
├── BSE from Nanomin.tif
├── Data
│   ├── BSE
│   ├── classification-results
│   ├── XRayData.db
│   ├── XRayData.isdx
│   └── XRayData.isdx.idx
└── SAMPLE_NAME.MapsMinData

If given the SAMPLE_NAME path, the tool will automatically convert the data in the BSE directory. For example:

qemscan_bse_to_zarr3 SAMPLE_NAME output.zarr

This tool can also convert images in classification-results if the full path is specified. For example:

qemscan_bse_to_zarr3 "SAMPLE_NAME/Data/classification-results/Element\ 8" output.zarr

Multi-channel image pyramids are not currently supported, such as those in SAMPLE_NAME/Data/Merged Results.

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

anu_ctlab_qemscan_bse_to_zarr3-0.1.2.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file anu_ctlab_qemscan_bse_to_zarr3-0.1.2.tar.gz.

File metadata

File hashes

Hashes for anu_ctlab_qemscan_bse_to_zarr3-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d00c40322c7360aa8ccb40b2934e62460bcbf14a34bda31876b7fb307d26a592
MD5 cdfa042b36e1748769de40da01c8c63a
BLAKE2b-256 f8a3a67236e2cc03c852dc3c085f0736495f499e8878636f91f9a13b27bc6294

See more details on using hashes here.

Provenance

The following attestation bundles were made for anu_ctlab_qemscan_bse_to_zarr3-0.1.2.tar.gz:

Publisher: cd.yml on MaterialsPhysicsANU/anu_ctlab_qemscan_bse_to_zarr3

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anu_ctlab_qemscan_bse_to_zarr3-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for anu_ctlab_qemscan_bse_to_zarr3-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5847ae810d34d377bbec135a3f1baf9a23a07073053aa4637b20b1605affe515
MD5 6a0c6112570f3f802e992d22406db2e6
BLAKE2b-256 363a49948f02c645fc2896fe21d2146c398600624d84a71e935ea8bc1a40745b

See more details on using hashes here.

Provenance

The following attestation bundles were made for anu_ctlab_qemscan_bse_to_zarr3-0.1.2-py3-none-any.whl:

Publisher: cd.yml on MaterialsPhysicsANU/anu_ctlab_qemscan_bse_to_zarr3

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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