Plesty Lightfield Spectrometer Device
Setup the server
On the Windows PC where LightField is installed (camera via USB — PIXIS — or
GigE — PyLoN-IR), close all LightField apps, including LightField.exe and
AddInProcess.exe. Then in a Terminal/PowerShell:
git clone https://gitlab.com/plesty/hub/devices/princeton_instruments/lightfield_spectrometer.git
cd lightfield_spectrometer
uv sync
copy .env.example .env
:: edit .env — at least DEVICE_DATA_PATH (where frames go, steerable by clients)
uv run python -m plesty.lightfield_spectrometer --tcp-port 5555
Run the server from a normal (non-elevated) desktop shell — not over SSH: Windows OpenSSH gives administrator accounts an elevated token, and LightField's automation IPC refuses mismatched privilege levels. The preflight warns when it detects this.
A GigE camera needs no configuration: the preflight finds the link-local
neighbour on the camera NIC, verifies it with a ping, and pins it to .env
as CAMERA_HOST.
How to regenerate manuals
cd project_root
.\.venv\Scripts\activate
plesty manual generate . --with-pdf
Run pytest
cd project_root
.\.venv\Scripts\activate
python -m pytest -v
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 plesty_lightfield_spectrometer-0.1.0.tar.gz.
File metadata
- Download URL: plesty_lightfield_spectrometer-0.1.0.tar.gz
- Upload date:
- Size: 193.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a542545a033334beedb854dad863fc5618fbaca08f137113de0cf55021fe0ccd
|
|
| MD5 |
e491f970c0d541a78c0ed3cf393e9c34
|
|
| BLAKE2b-256 |
f69a03f8f249176b530828223dc3ad2c1ef3155a5e14f29a69673f061ca11748
|
File details
Details for the file plesty_lightfield_spectrometer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: plesty_lightfield_spectrometer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 51.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a72f487a4ea36b83ed263511102ccea863507f7b9b2c51dd11e657e6739319d
|
|
| MD5 |
3e1f1f9c229b3f63db3e819aa70daa8b
|
|
| BLAKE2b-256 |
4d41492eac5e25d99238a4043b11dbf0b3536003fd5d1f830552b1bd7bd05279
|