SITE microscopy ingestion, metadata, visualization, and analysis platform.
Project description
sitelab
Early refactor scaffold for the Serial Imaging of Tumor and microEnvironment platform.
This package is intentionally small at first. Its first job is to make raw microscopy data inspectable and to capture channel meaning in a human-readable manifest before downstream analysis starts.
First milestone
- Inspect an
.nd2file without loading the full image into memory. - Extract axes, sizes, voxel/time metadata, and raw channel names when available.
- Create a project manifest that maps raw channels to biological roles.
- Launch a napari viewer from the same backend manifest.
Install in a scientific Python environment
The Codex runtime used for editing may not include microscopy/GUI libraries. Install this package in the environment where you run napari and analysis:
cd path\to\sitelab
python -m pip install -e ".[nd2,viewer]"
For backend-only schema work:
python -m pip install -e .
Inspect an ND2 file
python -m sitelab inspect-nd2 `
"..\..\data_sample\T2_40X_sample20260513_crop.nd2" `
--out "..\..\data_sample\T2_40X_sample20260513_crop.site.json"
The output manifest is deliberately editable JSON. The first generated channel
labels are placeholders; users should define biological meanings such as
tumor_reporter, macrophages, lymphoid, nuclear_label, or
brightfield_context.
Launch napari
python -m sitelab view-nd2 `
"..\..\data_sample\T2_40X_sample20260513_crop.nd2" `
--manifest "..\..\data_sample\T2_40X_sample20260513_crop.site.json"
This is the beginning of the hybrid GUI/scripting platform: the GUI should call the same importable Python objects that scripts, notebooks, and batch workflows use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sitelab-0.0.1.tar.gz.
File metadata
- Download URL: sitelab-0.0.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcf88c55f933cc69d87ba8724b00c1c4442e8d81072b73b543ac735632d3e14c
|
|
| MD5 |
c1f4e7921fa0f8c0b1e3000575582b38
|
|
| BLAKE2b-256 |
36bf55b17a0b57a23163f2557d5a71a6ff7d45482e4e8ec63f6a202ebd6fe58d
|
File details
Details for the file sitelab-0.0.1-py3-none-any.whl.
File metadata
- Download URL: sitelab-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
756ce90c237bc084ff07f2ba19e573d2fc4346fd05c776fe66f5bacdb93f2e28
|
|
| MD5 |
ca2e8a62842b6d8edc475274170af5ef
|
|
| BLAKE2b-256 |
716f2c2838666b2cf1b95d43365ab83c8bb98b7c8567c037e59a36ab241eb9d1
|