Skip to content

Conversation

@bkeryan
Copy link
Collaborator

@bkeryan bkeryan commented May 7, 2025

What does this Pull Request accomplish?

Add a new subpackage, nitypes.complex, containing:

  • A NumPy structured data type, ComplexInt32DType, representing a complex integer equivalent to NIComplexI16.
  • A convert_complex function that can be used to convert NumPy arrays or scalars of complex numbers, including ComplexInt32DType.

Why should this Pull Request be merged?

Required for complex waveform support.

AB#3093661 - Define NumPy-compatible complex integer types

What testing has been done?

Wrote new unit tests and doctests.

@bkeryan bkeryan requested a review from csjall as a code owner May 7, 2025 02:34
@github-actions
Copy link
Contributor

github-actions bot commented May 7, 2025

Test Results

   10 files  ±  0     10 suites  ±0   25s ⏱️ -5s
  532 tests + 21    532 ✅ + 21  0 💤 ±0  0 ❌ ±0 
5 320 runs  +210  5 320 ✅ +210  0 💤 ±0  0 ❌ ±0 

Results for commit 1eaa28d. ± Comparison against base commit e8cbf0d.

♻️ This comment has been updated with latest results.

@bkeryan bkeryan merged commit 4dbdf64 into main May 7, 2025
14 checks passed
@bkeryan bkeryan deleted the users/bkeryan/complexint32 branch May 7, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants