Skip to main content

coreDAQ

coreDAQ is a smart photonic data acquisition system for optical power measurement, programmable capture, and Python-driven lab automation.

On initialization, the API configures the instrument to 500 Hz sample rate and OS 1. You can change those global settings later with set_sample_rate_hz(...) and set_oversampling(...).

The runtime ships with embedded InGaAs and silicon responsivity curves, defaults to watt readings, and exposes a clean package import:

from py_coreDAQ import coreDAQ

Install

pip install .

For editable local development:

pip install -e .

Quick Start

from py_coreDAQ import coreDAQ

with coreDAQ("/dev/tty.usbmodemXXXX") as meter:
    print(meter.identify())
    print(meter.frontend(), meter.detector())

    meter.set_wavelength_nm(1550.0)
    meter.set_reading_unit("w")
    power_w = meter.read_channel(0, n_samples=8)
    capture = meter.get_data(frames=1024, unit="w")

    print(power_w)
    print(capture.trace(0)[:5])

Main User APIs

  • read_all() and read_channel() for live powermeter readings
  • read_all_full() and read_channel_full() when you want the full measurement object
  • get_data() and get_data_channel() for DAQ traces, including trigger=True external-trigger capture
  • get_ranges(), get_range_all(), set_range(), set_range_power(), and set_ranges()
  • capture_channel_mask(), set_capture_channel_mask(), capture_channels(), and set_capture_channels() for DAQ masking
  • set_sample_rate_hz() and set_oversampling() for global read settings
  • set_reading_unit("w" | "dbm" | "v" | "mv" | "adc")
  • autoRange=True by default on all read*() methods, with autoRange=False available for fixed-range reads
  • zero_dark() and restore_factory_zero()
  • is_clipped() and signal_status()

Documentation Map

Documentation

The docs site is configured for Read the Docs:

https://py-coredaq.readthedocs.io/

Metadata

Release files for py-coreDAQ 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-coreDAQ 1.0.1
File Size Uploaded Provenance Actions
py_coredaq-1.0.1.tar.gz 36.0 kB Without provenance Details for py_coredaq-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-coreDAQ 1.0.1
File Interpreter ABI Platform Actions
py_coredaq-1.0.1-py3-none-any.whl Python 3 none any Details for py_coredaq-1.0.1-py3-none-any.whl

Total release size: 66.6 kB

Release files / py_coredaq-1.0.1.tar.gz

Download URL py_coredaq-1.0.1.tar.gz
Size 36.0 kB
Tags Source
SHA-256 checksum
How to use checksums
134ad001a2cbdcdaed3ab569ca4de0002a8ad5e659e88d7d8169becfd67d3097
BLAKE2b-256 checksum
How to use checksums
f26096b7db141eb9ad529519281397f5773b50df1dcfb068eb1c08122a369e91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / py_coredaq-1.0.1-py3-none-any.whl

Download URL py_coredaq-1.0.1-py3-none-any.whl
Size 30.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4c0a6350bea70635fa9bfcbb7f2f08f6912627b7442b1e0baaf421f96598603
BLAKE2b-256 checksum
How to use checksums
c84f4051e7342aa6c98592e7bab353200cc22a466e5d98d15f6af35089908757
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for py-coreDAQ 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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