Skip to main content

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

plesty_lightfield_spectrometer-0.1.0.tar.gz (193.2 kB view details)

Uploaded Source

Built Distribution

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

plesty_lightfield_spectrometer-0.1.0-py3-none-any.whl (51.7 kB view details)

Uploaded Python 3

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

Hashes for plesty_lightfield_spectrometer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a542545a033334beedb854dad863fc5618fbaca08f137113de0cf55021fe0ccd
MD5 e491f970c0d541a78c0ed3cf393e9c34
BLAKE2b-256 f69a03f8f249176b530828223dc3ad2c1ef3155a5e14f29a69673f061ca11748

See more details on using hashes here.

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

Hashes for plesty_lightfield_spectrometer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a72f487a4ea36b83ed263511102ccea863507f7b9b2c51dd11e657e6739319d
MD5 3e1f1f9c229b3f63db3e819aa70daa8b
BLAKE2b-256 4d41492eac5e25d99238a4043b11dbf0b3536003fd5d1f830552b1bd7bd05279

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.1

2 files

0.2.0

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page